File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -521,6 +521,10 @@ int main( int argc, char *argv[] )
521
521
{
522
522
myApp.installTranslator ( &qgistor );
523
523
}
524
+ else
525
+ {
526
+ qWarning ( " loading of qgis translation failed [%s]" , QString ( " %1/qgis_%2" ).arg ( i18nPath ).arg ( myTranslationCode ).toLocal8Bit ().constData () );
527
+ }
524
528
525
529
/* Translation file for Qt.
526
530
* The strings from the QMenuBar context section are used by Qt/Mac to shift
@@ -532,6 +536,10 @@ int main( int argc, char *argv[] )
532
536
{
533
537
myApp.installTranslator ( &qttor );
534
538
}
539
+ else
540
+ {
541
+ qWarning ( " loading of qt translation failed [%s]" , QString ( " %1/qt_%2" ).arg ( QLibraryInfo::location ( QLibraryInfo::TranslationsPath ) ).arg ( myTranslationCode ).toLocal8Bit ().constData () );
542
+ }
535
543
536
544
// set up splash screen
537
545
QString mySplashPath ( QgsApplication::splashPath () );
You can’t perform that action at this time.
0 commit comments