GNOME Bugzilla – Bug 122935
Mixed up sr and sr@Latn in .desktop files
Last modified: 2004-12-22 21:47:04 UTC
The following problem is already present in Serbian translations. In the following setup: LC_ALL=sr_CS gnome-desktop-2.4.0/libgnome-desktop/test-ditem test.desktop It would always write out the *latter* translation, so if there's: Name[sr]=First name Name[sr@Latn]=Second name even in sr_CS setting, one would get "Second name" with test-ditem. If we turn them around: Name[sr@Latn]=Second name Name[sr]=First name test-ditem would report "First name". With the following patch, test-ditem works correctly in all cases. This problem affected gnome-panel, Nautilus, so it is really major crap to have mixed up latin and cyrillic translations. Here's the description of the problem when I first noticed it: http://mail.gnome.org/archives/desktop-devel-list/2003-September/msg00380.html
Added a "depends on 114322" (that one calls for updating the specs, so these are not duplicates).
Created attachment 20182 [details] [review] Whip the "modifier whacking" parts from the code
Is there any reason why this is not even considered?
Thanks Danilo. Fixed in 2.4.1.1: 2003-10-15 Mark McLoughlin <mark@skynet.ie> Fix for bug #122935 from Danilo Segan. * gnome-desktop-item.c: (insert_key): remove the "modifier whacking" code. This makes the matching conformant to the statement "If LC_MESSAGES does not have a MODIFIER field, then no key with a modifier will be matched" in the desktop-entry-spec.