mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Placeholders fix in map validation
This commit is contained in:
parent
1e74216040
commit
ecf83757ff
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation>魔法卷轴 %1 没有分配任何实例,需要被移除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation>宝物 %1 被地图设置禁止</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation>Le défilement de sort %1 n'a pas d'instance assignée et doit être enlevé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation>L'artéfact %1 est interdit par la configuration de la carte</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -1761,12 +1761,12 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="148"/>
|
||||
<source>Spell scroll % 1 doesn't have instance assigned and must be removed</source>
|
||||
<source>Spell scroll %1 doesn't have instance assigned and must be removed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../validator.cpp" line="154"/>
|
||||
<source>Artifact % 1 is prohibited by map settings</source>
|
||||
<source>Artifact %1 is prohibited by map settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -145,13 +145,13 @@ std::set<Validator::Issue> Validator::validate(const CMap * map)
|
||||
issues.insert({ tr("Spell scroll %1 is prohibited by map settings").arg(ins->storedArtifact->getScrollSpellID().toEntity(VLC->spells())->getNameTranslated().c_str()), false });
|
||||
}
|
||||
else
|
||||
issues.insert({ tr("Spell scroll % 1 doesn't have instance assigned and must be removed").arg(ins->instanceName.c_str()), true });
|
||||
issues.insert({ tr("Spell scroll %1 doesn't have instance assigned and must be removed").arg(ins->instanceName.c_str()), true });
|
||||
}
|
||||
else
|
||||
{
|
||||
if(ins->ID == Obj::ARTIFACT && map->allowedArtifact.count(ins->getArtifact()) == 0)
|
||||
{
|
||||
issues.insert({ tr("Artifact % 1 is prohibited by map settings").arg(ins->getObjectName().c_str()), false });
|
||||
issues.insert({ tr("Artifact %1 is prohibited by map settings").arg(ins->getObjectName().c_str()), false });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user