Skip to content

Commit 5a89555

Browse files
Update logging messages for loading translations
1 parent 0ed3908 commit 5a89555

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ProgramConstants.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ void ProgramConstants::InitializeTranslations()
2020

2121
if (transDir.isEmpty())
2222
{
23-
LOGMSG(TRANSLATIONS_FOLDER + " " + "is empty! Only English language available.");
23+
LOGMSG(TRANSLATIONS_FOLDER + " folder is empty. Only English translation available!");
2424
return;
2525
}
2626

2727
for (const auto& file : transDir.entryInfoList(QStringList( "*.qm" ), QDir::Filter::Files))
2828
{
2929
++i;
30-
LOGMSG("Filtered file: " + file.fileName());
31-
LOGMSG("Inserting: {" + file.completeBaseName().toLower() + ", " + Windows::Locale::LanguageName(file.completeBaseName().toLower()) + "}");
30+
LOGMSG("Listed translation: {" + file.completeBaseName().toLower() + ", " + Windows::Locale::LanguageName(file.completeBaseName().toLower()) + "}");
3231
Languages.insert(i, {file.completeBaseName().toLower(), Windows::Locale::LanguageName(file.completeBaseName().toLower())});
3332
}
3433
}

0 commit comments

Comments
 (0)