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:
Richard Heck 2011-09-24 18:35:44 +00:00
parent e1b2466faf
commit d57f507f51

View File

@ -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());
}