translatable new string in validator.cpp

This commit is contained in:
MichalZr6
2025-05-13 12:51:40 +02:00
parent e3a661f91a
commit 15b134b522
+3 -5
View File
@@ -174,14 +174,12 @@ std::set<Validator::Issue> Validator::validate(const CMap * map)
{
QString submod;
if(!mod.second.parent.empty())
submod = " (submod of '"+ QString::fromStdString(mod.second.parent) +"')";
submod = " ("+ tr("submod of") +" "+ QString::fromStdString(mod.second.parent) + ")";
issues.insert({
tr("Map contains object(s) from mod '%1'%2, but the mod is missing from the map's required mods list."
" Add it to the map's required mods in Map->General settings.", "be consistent with Map->General menu entry translation")
.arg(QString::fromStdString(LIBRARY->modh->getModInfo(mod.first).getVerificationInfo().name)), submod),
true
});
" Add it to the map's required mods in Map->General settings.", "should be consistent with Map->General menu entry translation")
.arg(QString::fromStdString(LIBRARY->modh->getModInfo(mod.first).getVerificationInfo().name), submod), true });
}
}
}