diff --git a/src/main.cpp b/src/main.cpp index 934cc6b6..7dea11ac 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -555,8 +555,7 @@ int main ( int argc, char** argv ) Q_INIT_RESOURCE(resources); // load translations - QTranslator myappTranslator; - QTranslator myqtTranslator; + QTranslator myappTranslator, myqtTranslator; if ( bUseGUI && bUseTranslation ) { @@ -565,8 +564,8 @@ int main ( int argc, char** argv ) pApp->installTranslator ( &myappTranslator ); } - QString myqtLocation = QLibraryInfo::location( QLibraryInfo::TranslationsPath ); - if ( myqtTranslator.load ( QLocale(), "qt", "_", myqtLocation ) ) + // allows the Qt messages to be translated in the application + if ( myqtTranslator.load ( QLocale(), "qt", "_", QLibraryInfo::location ( QLibraryInfo::TranslationsPath ) ) ) { pApp->installTranslator ( &myqtTranslator ); } diff --git a/src/util.cpp b/src/util.cpp index 9d500c18..77a3cbf8 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -399,6 +399,7 @@ CAboutDlg::CAboutDlg ( QWidget* parent ) : QDialog ( parent ) "

Jos van den Oever (vandenoever)

" "

Tormod Volden (tormodvolden)

" "

Stanislas Michalak (stanislas-m)

" + "

JP Cimalando (jpcima)

" "
" + tr ( "For details on the contributions check out the " ) + "" + tr ( "Github Contributors list" ) + "." );