some more testing for translations

This commit is contained in:
Volker Fischer 2020-05-02 21:55:25 +02:00
parent 135faf6a7d
commit 27e9bebea3

View file

@ -516,12 +516,14 @@ int main ( int argc, char** argv )
// TODO translation loading does not yet work // TODO translation loading does not yet work
// TODO CONFIG += lrelease embed_translations
// TODO QM_FILES_RESOURCE_PREFIX needed???
// // load translations // // load translations
// if ( bUseGUI ) // if ( bUseGUI )
// { // {
// QTranslator myappTranslator; // QTranslator myappTranslator;
// bool ret = myappTranslator.load ( "src/res/translation_" + QLocale::system().name() ); // bool ret = myappTranslator.load ( "translation_" + QLocale::system().name() );
//qDebug() << "translation successfully loaded: " << ret << " " << "src/res/translation_" + QLocale::system().name(); //qDebug() << "translation successfully loaded: " << ret << " " << "translation_" + QLocale::system().name();
// pApp->installTranslator ( &myappTranslator ); // pApp->installTranslator ( &myappTranslator );
// } // }