Browse Source

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

Alexander Wilms 1 year ago
parent
commit
187b7b0517
2 changed files with 2 additions and 2 deletions
  1. 1 1
      launcher/mainwindow_moc.cpp
  2. 1 1
      mapeditor/mainwindow.cpp

+ 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;
 	}