mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
* GuiDocument.cpp (less_textclass_avail_desc):
- fix bug 5410 (use translateIfPossible() instead of _() for strings that come from layout files). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
189c535fca
commit
57e1ab3e63
@ -169,7 +169,8 @@ public:
|
||||
LayoutFile const & tc2 = LayoutFileList::get()[rhs];
|
||||
return (tc1.isTeXClassAvailable() && !tc2.isTeXClassAvailable()) ||
|
||||
(tc1.isTeXClassAvailable() == tc2.isTeXClassAvailable() &&
|
||||
_(tc1.description()) < _(tc2.description()));
|
||||
translateIfPossible(from_utf8(tc1.description()))
|
||||
< translateIfPossible(from_utf8(tc2.description())));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user