mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Better diagnostic message when not finding translations
This way we know where the program was looking for the files. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e5a2e025d7
commit
344fc98bfc
1 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,8 @@ void init_ui(int *argcp, char ***argvp)
|
|||
if (qtTranslator->load(loc,"qt", "_", QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
|
||||
application->installTranslator(qtTranslator);
|
||||
} else {
|
||||
qDebug() << "can't find Qt localization for locale" << uiLang;
|
||||
qDebug() << "can't find Qt localization for locale" << uiLang <<
|
||||
"searching in" << QLibraryInfo::location(QLibraryInfo::TranslationsPath);
|
||||
}
|
||||
ssrfTranslator = new QTranslator;
|
||||
if (ssrfTranslator->load(loc,"subsurface", "_") ||
|
||||
|
|
Loading…
Add table
Reference in a new issue