mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-19 05:53:35 +00:00
Use buffer language
This commit is contained in:
parent
945251a6c5
commit
81f5fc80b5
@ -674,7 +674,9 @@ void InsetRef::updateStatistics(Statistics & stats) const
|
|||||||
{
|
{
|
||||||
docstring const & ref = getParam("reference");
|
docstring const & ref = getParam("reference");
|
||||||
string const & cmd = params().getCmdName();
|
string const & cmd = params().getCmdName();
|
||||||
docstring const refstring = displayString(ref, cmd);
|
// best we can do here
|
||||||
|
string const & lang = buffer().params().language->lang();
|
||||||
|
docstring const refstring = displayString(ref, cmd, lang);
|
||||||
stats.update(refstring);
|
stats.update(refstring);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user