Skip to content

Commit

Permalink
Merge pull request #926 from ahuarte47/Issue_8769
Browse files Browse the repository at this point in the history
Fix #8769 - Missing flags for 3 locales
  • Loading branch information
mach0 committed Oct 11, 2013
2 parents 572bda8 + 860a238 commit f4e0c83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
File renamed without changes
Binary file added images/flags/sr_Latn.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion images/images.qrc
Expand Up @@ -39,7 +39,8 @@
<file>flags/sk.png</file>
<file>flags/sl_SI.png</file>
<file>flags/sq_AL.png</file>
<file>flags/sr.png</file>
<file>flags/sr_Cyrl.png</file>
<file>flags/sr_Latn.png</file>
<file>flags/sv.png</file>
<file>flags/sw.png</file>
<file>flags/ta.png</file>
Expand Down
4 changes: 4 additions & 0 deletions src/app/qgsoptions.cpp
Expand Up @@ -1341,6 +1341,10 @@ QStringList QgsOptions::i18nList()
while ( myIterator.hasNext() )
{
QString myFileName = myIterator.next();

// Ignore the 'en' translation file, already added as 'en_US'.
if (myFileName.compare( "qgis_en.qm" )==0) continue;

myList << myFileName.replace( "qgis_", "" ).replace( ".qm", "" );
}
return myList;
Expand Down

0 comments on commit f4e0c83

Please sign in to comment.