commit 81f5fc80b5ae4a152835f254c942878db47d5d45
Author: Richard Kimberly Heck <[email protected]>
Date: Thu Dec 5 17:21:40 2024 -0500
Use buffer language
---
src/insets/InsetRef.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp
index 496356ab2e..6c2e233d41 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -674,7 +674,9 @@ void InsetRef::updateStatistics(Statistics & stats) const
{
docstring const & ref = getParam("reference");
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);
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs