mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Partly disable pretty counter output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d853aca254
commit
4dd9a8acf1
@ -553,7 +553,9 @@ docstring Counters::prettyCounter(docstring const & counter,
|
|||||||
return from_ascii("??");
|
return from_ascii("??");
|
||||||
Counter const & ctr = it->second;
|
Counter const & ctr = it->second;
|
||||||
docstring const & format = ctr.prettyFormat();
|
docstring const & format = ctr.prettyFormat();
|
||||||
if (format.empty()) {
|
// FIXME We need to "flatten" the format to get proper output,
|
||||||
|
// but doing so will take a bit of work.
|
||||||
|
if (true || format.empty()) {
|
||||||
docstring cntrname = translateIfPossible(counter, lang);
|
docstring cntrname = translateIfPossible(counter, lang);
|
||||||
return cntrname + " " + theCounter(counter, lang);
|
return cntrname + " " + theCounter(counter, lang);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user