-
Committer:
Romain B
-
Author(s):
Thomas Lange
-
Date:
2018-06-10 16:54:47 UTC
-
Revision ID:
git-v1:ffc7a0a8bd63c154563f27c268183576e61c9d24
Allow language-specific keys before language-neutral ones (Bug #13979)
The order of lines in a .desktop file should be irrelevant.
The two examples below should give the same result.
[Desktop Entry]
Name[en]=Foo
Name=Bar
[Desktop Entry]
Name=Bar
Name[en]=Foo
However all localized entries were ignored for example one.
Fix this by using the approach mentioned in the comment:
Set the language-neutral value to the first language-specific
value and overwrite it later.