浏览代码

Update launcher/firstLaunch/firstlaunch_moc.cpp

Co-authored-by: Andrey Filipenkov <[email protected]>
Laserlicht 1 年之前
父节点
当前提交
5b21c10ba4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      launcher/firstLaunch/firstlaunch_moc.cpp

+ 2 - 2
launcher/firstLaunch/firstlaunch_moc.cpp

@@ -298,8 +298,8 @@ void FirstLaunchView::extractGogData()
 #ifdef ENABLE_INNOEXTRACT
 
 	auto fileSelection = [this](QString type, QString filter, QString startPath = {}) {
-		QString titleSel = tr("Select a ") + filter + tr(" file...");
-		QString titleErr = tr("You have to select a ") + filter + tr(" file!");
+		QString titleSel = tr("Select %1 file...", "param is file extension").arg(filter);
+		QString titleErr = tr("You have to select %1 file!", "param is file extension").arg(filter);
 #if defined(VCMI_MOBILE)
 		filter = "GOG file (*.*)";
 		QMessageBox::information(this, tr("File selection"), titleSel);