2
0
Эх сурвалжийг харах

Show debug message instead of warning if no .qm file for selected language exists

Alexander Wilms 1 жил өмнө
parent
commit
187b7b0517

+ 1 - 1
launcher/mainwindow_moc.cpp

@@ -243,7 +243,7 @@ void MainWindow::updateTranslation()
 
 	if(!QFile::exists(translationFileResourcePath))
 	{
-		logGlobal->warn("Translation file %s does not exist", translationFileResourcePath.toStdString());
+		logGlobal->debug("Translation file %s does not exist", translationFileResourcePath.toStdString());
 		return;
 	}
 

+ 1 - 1
mapeditor/mainwindow.cpp

@@ -140,7 +140,7 @@ void MainWindow::loadTranslation()
 
 	if(!QFile::exists(translationFileResourcePath))
 	{
-		logGlobal->warn("Translation file %s does not exist", translationFileResourcePath.toStdString());
+		logGlobal->debug("Translation file %s does not exist", translationFileResourcePath.toStdString());
 		return;
 	}