mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Extracting translation information does not help if you don't actually
use it to translate the message. (Note that this is presently used only for XHTML output.) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38405 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4b5a58dca9
commit
a436c20c3d
@ -587,7 +587,8 @@ docstring Counters::prettyCounter(docstring const & name,
|
||||
Counter const & ctr = it->second;
|
||||
|
||||
docstring const value = theCounter(name, lang);
|
||||
docstring const & format = ctr.prettyFormat();
|
||||
docstring const & format =
|
||||
translateIfPossible(ctr.prettyFormat(), lang);
|
||||
if (format.empty())
|
||||
return value;
|
||||
return subst(format, from_ascii("##"), value);
|
||||
|
Loading…
Reference in New Issue
Block a user