1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Merge pull request #2303 from Fabrice-TIERCELIN/missing_validation_translations

Missing validation translations
This commit is contained in:
Ivan Savenko 2023-07-11 14:35:34 +03:00 committed by GitHub
commit cc089c1717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 697 additions and 22 deletions

View File

@ -599,10 +599,105 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>

View File

@ -6,7 +6,7 @@
<message> <message>
<location filename="../inspector/armywidget.ui" line="20"/> <location filename="../inspector/armywidget.ui" line="20"/>
<source>Army settings</source> <source>Army settings</source>
<translation>Paramètres de l'armée</translation> <translation>Paramètres de l&apos;armée</translation>
</message> </message>
<message> <message>
<location filename="../inspector/armywidget.ui" line="162"/> <location filename="../inspector/armywidget.ui" line="162"/>
@ -64,7 +64,7 @@
<message> <message>
<location filename="../mainwindow.ui" line="117"/> <location filename="../mainwindow.ui" line="117"/>
<source>Toolbar</source> <source>Toolbar</source>
<translation>Barre d'outils</translation> <translation>Barre d&apos;outils</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.ui" line="163"/> <location filename="../mainwindow.ui" line="163"/>
@ -139,7 +139,7 @@
<message> <message>
<location filename="../mainwindow.ui" line="921"/> <location filename="../mainwindow.ui" line="921"/>
<source>Save as</source> <source>Save as</source>
<translation>Enregistrer sous</translation> <translation>Enregistrer sous...</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.ui" line="924"/> <location filename="../mainwindow.ui" line="924"/>
@ -185,7 +185,7 @@
<message> <message>
<location filename="../mainwindow.ui" line="1002"/> <location filename="../mainwindow.ui" line="1002"/>
<source>Fills the selection with obstacles</source> <source>Fills the selection with obstacles</source>
<translation>Remplir la sélection d'obstacles</translation> <translation>Remplir la sélection d&apos;obstacles</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.ui" line="1017"/> <location filename="../mainwindow.ui" line="1017"/>
@ -236,7 +236,7 @@
<message> <message>
<location filename="../mainwindow.ui" line="1126"/> <location filename="../mainwindow.ui" line="1126"/>
<source>Update appearance</source> <source>Update appearance</source>
<translation>Mettre à jour l'apparence</translation> <translation>Mettre à jour l&apos;apparence</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.ui" line="1137"/> <location filename="../mainwindow.ui" line="1137"/>
@ -281,7 +281,7 @@
<message> <message>
<location filename="../mainwindow.ui" line="1233"/> <location filename="../mainwindow.ui" line="1233"/>
<source>Export as</source> <source>Export as</source>
<translation>Exporter sous</translation> <translation>Exporter sous...</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.ui" line="1225"/> <location filename="../mainwindow.ui" line="1225"/>
@ -427,7 +427,7 @@
<message> <message>
<location filename="../mapsettings.cpp" line="164"/> <location filename="../mapsettings.cpp" line="164"/>
<source>Capture artifact</source> <source>Capture artifact</source>
<translation>Récupérer l'artefact</translation> <translation>Récupérer l&apos;artefact</translation>
</message> </message>
<message> <message>
<location filename="../mapsettings.cpp" line="165"/> <location filename="../mapsettings.cpp" line="165"/>
@ -606,10 +606,105 @@
<translation>Résultats de la validation de la carte</translation> <translation>Résultats de la validation de la carte</translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation>Aucune carte n&apos;est chargée</translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation>Aucun joueur autorisé à jouer sur cette carte</translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation>La carte est autorisée pour un joueur et ne peut pas être démarrée</translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation>Aucun joueur humain n&apos;est autorisé à jouer sur cette carte</translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation>L&apos;instance blindée %1 est IMMARQUABLE mais doit avoir un propriétaire NEUTRE ou joueur</translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation>L&apos;objet %1 est attribué au joueur non jouable %2</translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation>La ville %1 a le propriétaire indéfini %2</translation> <translation>La ville %1 a le propriétaire indéfini %2</translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation>La prison %1 doit être NEUTRE</translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation>Le héros %1 doit avoir un propriétaire</translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation>Le héros %1 est interdit par les paramètres de la carte</translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation>Le héros %1 a un doublon sur la carte</translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation>Le héros %1 a un type vide et doit être supprimé</translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation>Le défilement des sorts %1 est interdit par les paramètres de la carte</translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation>Le parchemin de sort %1 n&apos;a pas d&apos;instance assignée et doit être supprimé</translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation>L&apos;artefact %1 est interdit par les paramètres de la carte</translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation>Le joueur %1 n&apos;a pas de ville de départ</translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation>Le nom de la carte n&apos;est pas spécifié</translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation>La description de la carte n&apos;est pas spécifiée</translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation>Une exception se produit lors de la validation : %1</translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation>Une exception inconnue se produit lors de la validation</translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>
@ -679,10 +774,10 @@
<translation>Humain/Ordinateur</translation> <translation>Humain/Ordinateur</translation>
</message> </message>
<message> <message>
<location filename="../windownewmap.ui" line="220"/>
<location filename="../windownewmap.ui" line="288"/> <location filename="../windownewmap.ui" line="288"/>
<location filename="../windownewmap.ui" line="357"/> <location filename="../windownewmap.ui" line="442"/>
<location filename="../windownewmap.ui" line="455"/> <location filename="../windownewmap.ui" line="583"/>
<location filename="../windownewmap.ui" line="596"/>
<source>Random</source> <source>Random</source>
<translation>Aléatoire</translation> <translation>Aléatoire</translation>
</message> </message>
@ -691,6 +786,16 @@
<source>Computer only</source> <source>Computer only</source>
<translation>Ordinateur uniquement</translation> <translation>Ordinateur uniquement</translation>
</message> </message>
<message>
<location filename="../windownewmap.ui" line="379"/>
<source>Human teams</source>
<translation>Équipes humaines</translation>
</message>
<message>
<location filename="../windownewmap.ui" line="398"/>
<source>Computer teams</source>
<translation>Équipes d&apos;ordinateur</translation>
</message>
<message> <message>
<location filename="../windownewmap.ui" line="428"/> <location filename="../windownewmap.ui" line="428"/>
<source>Monster strength</source> <source>Monster strength</source>
@ -763,22 +868,22 @@
<message> <message>
<location filename="../mainwindow.cpp" line="101"/> <location filename="../mainwindow.cpp" line="101"/>
<source>Extract original H3 archives into a separate folder.</source> <source>Extract original H3 archives into a separate folder.</source>
<translation>Extraire les archives H3 d'origine dans un dossier séparé.</translation> <translation>Extraire les archives H3 d&apos;origine dans un dossier séparé.</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="102"/> <location filename="../mainwindow.cpp" line="102"/>
<source>From an extracted archive, it Splits TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 and Un44 into individual PNG&apos;s.</source> <source>From an extracted archive, it Splits TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 and Un44 into individual PNG&apos;s.</source>
<translation>À partir d'une archive extraite, il divise TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 et Un44 en fichiers PNG individuels.</translation> <translation>À partir d&apos;une archive extraite, il divise TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 et Un44 en fichiers PNG individuels.</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="103"/> <location filename="../mainwindow.cpp" line="103"/>
<source>From an extracted archive, Converts single Images (found in Images folder) from .pcx to png.</source> <source>From an extracted archive, Converts single Images (found in Images folder) from .pcx to png.</source>
<translation>À partir d'une archive extraite, convertit des images uniques (trouvées dans le dossier Images) de .pcx en png.</translation> <translation>À partir d&apos;une archive extraite, convertit des images uniques (trouvées dans le dossier Images) de .pcx en png.</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="104"/> <location filename="../mainwindow.cpp" line="104"/>
<source>Delete original files, for the ones splitted / converted.</source> <source>Delete original files, for the ones splitted / converted.</source>
<translation>Supprimer les fichiers d'origine, pour ceux fractionnés/convertis.</translation> <translation>Supprimer les fichiers d&apos;origine, pour ceux fractionnés/convertis.</translation>
</message> </message>
</context> </context>
</TS> </TS>

View File

@ -599,10 +599,105 @@
<translation>Ergebnisse der Kartenvalidierung</translation> <translation>Ergebnisse der Kartenvalidierung</translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation>Stadt %1 hat undefinierten Besitzer %2</translation> <translation>Stadt %1 hat undefinierten Besitzer %2</translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>

View File

@ -599,10 +599,105 @@
<translation>Wynik sprawdzenia mapy</translation> <translation>Wynik sprawdzenia mapy</translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation>Miasto %1 ma niezdefiniowanego właściciela %2</translation> <translation>Miasto %1 ma niezdefiniowanego właściciela %2</translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>

View File

@ -599,10 +599,105 @@
<translation>Результаты проверки карты</translation> <translation>Результаты проверки карты</translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation>У города %1 неопределенный владелец %2</translation> <translation>У города %1 неопределенный владелец %2</translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>

View File

@ -601,10 +601,105 @@
<translation>Resultados de la validación del mapa</translation> <translation>Resultados de la validación del mapa</translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation>No se ha cargado ningún mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation>No hay jugadores autorizados a jugar en este mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation>El mapa está autorizado para un jugador y no se puede iniciar</translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation>Ningún jugador humano puede jugar en este mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation>La instancia protegida %1 NOSEPUEDEMARCAR, pero debe tener un propietario NEUTRAL o jugador</translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation>El artículo %1 está asignado al jugador no jugable %2</translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation>La ciudad %1 no tiene un propietario definido %2</translation> <translation>La ciudad %1 no tiene un propietario definido %2</translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation>%1 prisión debe ser NEUTRA</translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation>El héroe %1 debe tener un propietario</translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation>El héroe %1 está prohibido por la configuración del mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation>El héroe %1 tiene un duplicado en el mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation>El héroe %1 tiene un tipo vacío y debe eliminarse</translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation>%1 desplazamiento de hechizos está prohibido por la configuración del mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation>Pergamino ortográfico %1 no tiene una instancia asignada y debe eliminarse</translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation>El artefacto %1 está prohibido por la configuración del mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation>El jugador %1 no tiene ciudad inicial</translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation>No se especifica el nombre del mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation>No se especifica la descripción del mapa</translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation>Se produce una excepción durante la validación: %1</translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation>Se produce una excepción desconocida durante la validación</translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>

View File

@ -599,10 +599,105 @@
<translation>Результати валідації карти</translation> <translation>Результати валідації карти</translation>
</message> </message>
<message> <message>
<location filename="../validator.cpp" line="101"/> <location filename="../validator.cpp" line="50"/>
<source>Map is not loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="73"/>
<source>No players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="75"/>
<source>Map is allowed for one player and cannot be started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="77"/>
<source>No human players allowed to play this map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="93"/>
<source>Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="99"/>
<source>Object %1 is assigned to non-playable player %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="106"/>
<source>Town %1 has undefined owner %2</source> <source>Town %1 has undefined owner %2</source>
<translation>Місто %1 має невизначеного володаря %2</translation> <translation>Місто %1 має невизначеного володаря %2</translation>
</message> </message>
<message>
<location filename="../validator.cpp" line="116"/>
<source>Prison %1 must be a NEUTRAL</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="122"/>
<source>Hero %1 must have an owner</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="127"/>
<source>Hero %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="130"/>
<source>Hero %1 has duplicate on map</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="133"/>
<source>Hero %1 has an empty type and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="144"/>
<source>Spell scroll %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="147"/>
<source>Spell scroll %1 doesn&apos;t have instance assigned and must be removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="153"/>
<source>Artifact %1 is prohibited by map settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="162"/>
<source>Player %1 doesn&apos;t have any starting town</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="166"/>
<source>Map name is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="168"/>
<source>Map description is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="181"/>
<source>Exception occurs during validation: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../validator.cpp" line="185"/>
<source>Unknown exception occurs during validation</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>WindowNewMap</name> <name>WindowNewMap</name>

View File

@ -96,7 +96,7 @@ std::list<Validator::Issue> Validator::validate(const CMap * map)
if(o->getOwner() != PlayerColor::NEUTRAL && o->getOwner().getNum() < map->players.size()) if(o->getOwner() != PlayerColor::NEUTRAL && o->getOwner().getNum() < map->players.size())
{ {
if(!map->players[o->getOwner().getNum()].canAnyonePlay()) if(!map->players[o->getOwner().getNum()].canAnyonePlay())
issues.emplace_back(QString("Object %1 is assinged to non-playable player %2").arg(o->instanceName.c_str(), o->getOwner().getStr().c_str()), true); issues.emplace_back(QString("Object %1 is assigned to non-playable player %2").arg(o->instanceName.c_str(), o->getOwner().getStr().c_str()), true);
} }
//checking towns //checking towns
if(auto * ins = dynamic_cast<CGTownInstance*>(o.get())) if(auto * ins = dynamic_cast<CGTownInstance*>(o.get()))