mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #7764 by ordering the formats according to translated strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39753 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e1b2466faf
commit
d57f507f51
@ -82,11 +82,7 @@ private:
|
||||
|
||||
bool operator<(Format const & a, Format const & b)
|
||||
{
|
||||
// use the compare_ascii_no_case instead of compare_no_case,
|
||||
// because in turkish, 'i' is not the lowercase version of 'I',
|
||||
// and thus turkish locale breaks parsing of tags.
|
||||
|
||||
return compare_ascii_no_case(a.prettyname(), b.prettyname()) < 0;
|
||||
return _(a.prettyname()) < _(b.prettyname());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user