commit 7ee6b7e603913e66f2dea3d726fa5f6d71f7f5ec
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Jul 26 14:29:32 2025 +0200
Fix mixup of buffer and GUI language
---
src/insets/InsetCaption.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp
index c7f576aa6d..2919a2684f 100644
--- a/src/insets/InsetCaption.cpp
+++ b/src/insets/InsetCaption.cpp
@@ -423,7 +423,7 @@ void InsetCaption::updateBuffer(ParIterator const & it,
UpdateType utype, bool c
// only standard captions allowed in subfloats
type_ = "Standard";
counter = "sub-" + from_utf8(type);
- name = bformat(_("Sub-%1$s"),
+ name = bformat(master.B_("Sub-%1$s"),
master.B_(tclass.floats().getType(type).name()));
}
docstring const lstring = getLayout().labelstring();
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs