[LyX/master] Add missing l7n flag

Juergen Spitzmueller spitz at lyx.org
Sun May 3 11:15:35 UTC 2020


commit eebc0d8cf5e68f69559c1a77fd8d01f0c07240c3
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun May 3 13:36:34 2020 +0200

    Add missing l7n flag
---
 src/TextClass.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/TextClass.cpp b/src/TextClass.cpp
index c34f5ca..0f3273e 100644
--- a/src/TextClass.cpp
+++ b/src/TextClass.cpp
@@ -1570,12 +1570,12 @@ bool TextClass::readFloat(Lexer & lexrc)
 		// each float has its own counter
 		counters_.newCounter(from_ascii(type), from_ascii(within),
 				docstring(), docstring(),
-				bformat(_("%1$s (Float)"), from_ascii(name)));
+				bformat(_("%1$s (Float)"), _(name)));
 		// also define sub-float counters
 		docstring const subtype = "sub-" + from_ascii(type);
 		counters_.newCounter(subtype, from_ascii(type),
 				"\\alph{" + subtype + "}", docstring(),
-				 bformat(_("Sub-%1$s (Float)"), from_ascii(name)));
+				 bformat(_("Sub-%1$s (Float)"), _(name)));
 	}
 	return getout;
 }


More information about the lyx-cvs mailing list