Skip to content
Permalink
Browse files

Fix #8769 - Missing flags for 3 locales

Fixed the images related to servian translations, ignore the 'en'
translation (overrided for 'en_US') in the load of the QsgOptions
dialog.
  • Loading branch information
ahuarte47 committed Oct 7, 2013
1 parent cecfff0 commit 860a2382b20e9f8542499e97319f7d4a860cdcfd
File renamed without changes.
BIN +423 Bytes images/flags/sr_Latn.png
Binary file not shown.
@@ -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>
@@ -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;

0 comments on commit 860a238

Please sign in to comment.
You can’t perform that action at this time.