From 2c7ee12c7f3292f9e91f7381fa3cc1cbea1fbfde Mon Sep 17 00:00:00 2001 From: Fabrice Tiercelin Date: Sat, 8 Jul 2023 20:01:44 +0200 Subject: [PATCH] Missing validation translations --- mapeditor/translation/english.ts | 97 ++++++++++++++++++++- mapeditor/translation/french.ts | 135 +++++++++++++++++++++++++---- mapeditor/translation/german.ts | 97 ++++++++++++++++++++- mapeditor/translation/polish.ts | 97 ++++++++++++++++++++- mapeditor/translation/russian.ts | 97 ++++++++++++++++++++- mapeditor/translation/spanish.ts | 97 ++++++++++++++++++++- mapeditor/translation/ukrainian.ts | 97 ++++++++++++++++++++- mapeditor/validator.cpp | 2 +- 8 files changed, 697 insertions(+), 22 deletions(-) diff --git a/mapeditor/translation/english.ts b/mapeditor/translation/english.ts index a758f1cef..59c1f831d 100644 --- a/mapeditor/translation/english.ts +++ b/mapeditor/translation/english.ts @@ -599,10 +599,105 @@ - + + Map is not loaded + + + + + No players allowed to play this map + + + + + Map is allowed for one player and cannot be started + + + + + No human players allowed to play this map + + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + + + + + Object %1 is assigned to non-playable player %2 + + + + Town %1 has undefined owner %2 + + + Prison %1 must be a NEUTRAL + + + + + Hero %1 must have an owner + + + + + Hero %1 is prohibited by map settings + + + + + Hero %1 has duplicate on map + + + + + Hero %1 has an empty type and must be removed + + + + + Spell scroll %1 is prohibited by map settings + + + + + Spell scroll %1 doesn't have instance assigned and must be removed + + + + + Artifact %1 is prohibited by map settings + + + + + Player %1 doesn't have any starting town + + + + + Map name is not specified + + + + + Map description is not specified + + + + + Exception occurs during validation: %1 + + + + + Unknown exception occurs during validation + + WindowNewMap diff --git a/mapeditor/translation/french.ts b/mapeditor/translation/french.ts index 2037b0496..ec6a69c65 100644 --- a/mapeditor/translation/french.ts +++ b/mapeditor/translation/french.ts @@ -6,7 +6,7 @@ Army settings - Paramètres de l'armée + Paramètres de l'armée @@ -64,7 +64,7 @@ Toolbar - Barre d'outils + Barre d'outils @@ -139,7 +139,7 @@ Save as - Enregistrer sous + Enregistrer sous... @@ -185,7 +185,7 @@ Fills the selection with obstacles - Remplir la sélection d'obstacles + Remplir la sélection d'obstacles @@ -236,7 +236,7 @@ Update appearance - Mettre à jour l'apparence + Mettre à jour l'apparence @@ -281,7 +281,7 @@ Export as - Exporter sous + Exporter sous... @@ -427,7 +427,7 @@ Capture artifact - Récupérer l'artefact + Récupérer l'artefact @@ -606,10 +606,105 @@ Résultats de la validation de la carte - + + Map is not loaded + Aucune carte n'est chargée + + + + No players allowed to play this map + Aucun joueur autorisé à jouer sur cette carte + + + + Map is allowed for one player and cannot be started + La carte est autorisée pour un joueur et ne peut pas être démarrée + + + + No human players allowed to play this map + Aucun joueur humain n'est autorisé à jouer sur cette carte + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + L'instance blindée %1 est IMMARQUABLE mais doit avoir un propriétaire NEUTRE ou joueur + + + + Object %1 is assigned to non-playable player %2 + L'objet %1 est attribué au joueur non jouable %2 + + + Town %1 has undefined owner %2 La ville %1 a le propriétaire indéfini %2 + + + Prison %1 must be a NEUTRAL + La prison %1 doit être NEUTRE + + + + Hero %1 must have an owner + Le héros %1 doit avoir un propriétaire + + + + Hero %1 is prohibited by map settings + Le héros %1 est interdit par les paramètres de la carte + + + + Hero %1 has duplicate on map + Le héros %1 a un doublon sur la carte + + + + Hero %1 has an empty type and must be removed + Le héros %1 a un type vide et doit être supprimé + + + + Spell scroll %1 is prohibited by map settings + Le défilement des sorts %1 est interdit par les paramètres de la carte + + + + Spell scroll %1 doesn't have instance assigned and must be removed + Le parchemin de sort %1 n'a pas d'instance assignée et doit être supprimé + + + + Artifact %1 is prohibited by map settings + L'artefact %1 est interdit par les paramètres de la carte + + + + Player %1 doesn't have any starting town + Le joueur %1 n'a pas de ville de départ + + + + Map name is not specified + Le nom de la carte n'est pas spécifié + + + + Map description is not specified + La description de la carte n'est pas spécifiée + + + + Exception occurs during validation: %1 + Une exception se produit lors de la validation : %1 + + + + Unknown exception occurs during validation + Une exception inconnue se produit lors de la validation + WindowNewMap @@ -679,10 +774,10 @@ Humain/Ordinateur + - - - + + Random Aléatoire @@ -691,6 +786,16 @@ Computer only Ordinateur uniquement + + + Human teams + Équipes humaines + + + + Computer teams + Équipes d'ordinateur + Monster strength @@ -763,22 +868,22 @@ Extract original H3 archives into a separate folder. - Extraire les archives H3 d'origine dans un dossier séparé. + Extraire les archives H3 d'origine dans un dossier séparé. From an extracted archive, it Splits TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 and Un44 into individual PNG's. - À partir d'une archive extraite, il divise TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 et Un44 en fichiers PNG individuels. + À partir d'une archive extraite, il divise TwCrPort, CPRSMALL, FlagPort, ITPA, ITPt, Un32 et Un44 en fichiers PNG individuels. From an extracted archive, Converts single Images (found in Images folder) from .pcx to png. - À partir d'une archive extraite, convertit des images uniques (trouvées dans le dossier Images) de .pcx en png. + À partir d'une archive extraite, convertit des images uniques (trouvées dans le dossier Images) de .pcx en png. Delete original files, for the ones splitted / converted. - Supprimer les fichiers d'origine, pour ceux fractionnés/convertis. + Supprimer les fichiers d'origine, pour ceux fractionnés/convertis. diff --git a/mapeditor/translation/german.ts b/mapeditor/translation/german.ts index 0c51db170..87879a780 100644 --- a/mapeditor/translation/german.ts +++ b/mapeditor/translation/german.ts @@ -599,10 +599,105 @@ Ergebnisse der Kartenvalidierung - + + Map is not loaded + + + + + No players allowed to play this map + + + + + Map is allowed for one player and cannot be started + + + + + No human players allowed to play this map + + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + + + + + Object %1 is assigned to non-playable player %2 + + + + Town %1 has undefined owner %2 Stadt %1 hat undefinierten Besitzer %2 + + + Prison %1 must be a NEUTRAL + + + + + Hero %1 must have an owner + + + + + Hero %1 is prohibited by map settings + + + + + Hero %1 has duplicate on map + + + + + Hero %1 has an empty type and must be removed + + + + + Spell scroll %1 is prohibited by map settings + + + + + Spell scroll %1 doesn't have instance assigned and must be removed + + + + + Artifact %1 is prohibited by map settings + + + + + Player %1 doesn't have any starting town + + + + + Map name is not specified + + + + + Map description is not specified + + + + + Exception occurs during validation: %1 + + + + + Unknown exception occurs during validation + + WindowNewMap diff --git a/mapeditor/translation/polish.ts b/mapeditor/translation/polish.ts index 506687163..7ebcf9c38 100644 --- a/mapeditor/translation/polish.ts +++ b/mapeditor/translation/polish.ts @@ -599,10 +599,105 @@ Wynik sprawdzenia mapy - + + Map is not loaded + + + + + No players allowed to play this map + + + + + Map is allowed for one player and cannot be started + + + + + No human players allowed to play this map + + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + + + + + Object %1 is assigned to non-playable player %2 + + + + Town %1 has undefined owner %2 Miasto %1 ma niezdefiniowanego właściciela %2 + + + Prison %1 must be a NEUTRAL + + + + + Hero %1 must have an owner + + + + + Hero %1 is prohibited by map settings + + + + + Hero %1 has duplicate on map + + + + + Hero %1 has an empty type and must be removed + + + + + Spell scroll %1 is prohibited by map settings + + + + + Spell scroll %1 doesn't have instance assigned and must be removed + + + + + Artifact %1 is prohibited by map settings + + + + + Player %1 doesn't have any starting town + + + + + Map name is not specified + + + + + Map description is not specified + + + + + Exception occurs during validation: %1 + + + + + Unknown exception occurs during validation + + WindowNewMap diff --git a/mapeditor/translation/russian.ts b/mapeditor/translation/russian.ts index 00a6ba46b..e691f2e52 100644 --- a/mapeditor/translation/russian.ts +++ b/mapeditor/translation/russian.ts @@ -599,10 +599,105 @@ Результаты проверки карты - + + Map is not loaded + + + + + No players allowed to play this map + + + + + Map is allowed for one player and cannot be started + + + + + No human players allowed to play this map + + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + + + + + Object %1 is assigned to non-playable player %2 + + + + Town %1 has undefined owner %2 У города %1 неопределенный владелец %2 + + + Prison %1 must be a NEUTRAL + + + + + Hero %1 must have an owner + + + + + Hero %1 is prohibited by map settings + + + + + Hero %1 has duplicate on map + + + + + Hero %1 has an empty type and must be removed + + + + + Spell scroll %1 is prohibited by map settings + + + + + Spell scroll %1 doesn't have instance assigned and must be removed + + + + + Artifact %1 is prohibited by map settings + + + + + Player %1 doesn't have any starting town + + + + + Map name is not specified + + + + + Map description is not specified + + + + + Exception occurs during validation: %1 + + + + + Unknown exception occurs during validation + + WindowNewMap diff --git a/mapeditor/translation/spanish.ts b/mapeditor/translation/spanish.ts index d9dfc2022..21fce643a 100644 --- a/mapeditor/translation/spanish.ts +++ b/mapeditor/translation/spanish.ts @@ -601,10 +601,105 @@ Resultados de la validación del mapa - + + Map is not loaded + No se ha cargado ningún mapa + + + + No players allowed to play this map + No hay jugadores autorizados a jugar en este mapa + + + + Map is allowed for one player and cannot be started + El mapa está autorizado para un jugador y no se puede iniciar + + + + No human players allowed to play this map + Ningún jugador humano puede jugar en este mapa + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + La instancia protegida %1 NOSEPUEDEMARCAR, pero debe tener un propietario NEUTRAL o jugador + + + + Object %1 is assigned to non-playable player %2 + El artículo %1 está asignado al jugador no jugable %2 + + + Town %1 has undefined owner %2 La ciudad %1 no tiene un propietario definido %2 + + + Prison %1 must be a NEUTRAL + %1 prisión debe ser NEUTRA + + + + Hero %1 must have an owner + El héroe %1 debe tener un propietario + + + + Hero %1 is prohibited by map settings + El héroe %1 está prohibido por la configuración del mapa + + + + Hero %1 has duplicate on map + El héroe %1 tiene un duplicado en el mapa + + + + Hero %1 has an empty type and must be removed + El héroe %1 tiene un tipo vacío y debe eliminarse + + + + Spell scroll %1 is prohibited by map settings + %1 desplazamiento de hechizos está prohibido por la configuración del mapa + + + + Spell scroll %1 doesn't have instance assigned and must be removed + Pergamino ortográfico %1 no tiene una instancia asignada y debe eliminarse + + + + Artifact %1 is prohibited by map settings + El artefacto %1 está prohibido por la configuración del mapa + + + + Player %1 doesn't have any starting town + El jugador %1 no tiene ciudad inicial + + + + Map name is not specified + No se especifica el nombre del mapa + + + + Map description is not specified + No se especifica la descripción del mapa + + + + Exception occurs during validation: %1 + Se produce una excepción durante la validación: %1 + + + + Unknown exception occurs during validation + Se produce una excepción desconocida durante la validación + WindowNewMap diff --git a/mapeditor/translation/ukrainian.ts b/mapeditor/translation/ukrainian.ts index dea30ccd3..7ec45c5b7 100644 --- a/mapeditor/translation/ukrainian.ts +++ b/mapeditor/translation/ukrainian.ts @@ -599,10 +599,105 @@ Результати валідації карти - + + Map is not loaded + + + + + No players allowed to play this map + + + + + Map is allowed for one player and cannot be started + + + + + No human players allowed to play this map + + + + + Armored instance %1 is UNFLAGGABLE but must have NEUTRAL or player owner + + + + + Object %1 is assigned to non-playable player %2 + + + + Town %1 has undefined owner %2 Місто %1 має невизначеного володаря %2 + + + Prison %1 must be a NEUTRAL + + + + + Hero %1 must have an owner + + + + + Hero %1 is prohibited by map settings + + + + + Hero %1 has duplicate on map + + + + + Hero %1 has an empty type and must be removed + + + + + Spell scroll %1 is prohibited by map settings + + + + + Spell scroll %1 doesn't have instance assigned and must be removed + + + + + Artifact %1 is prohibited by map settings + + + + + Player %1 doesn't have any starting town + + + + + Map name is not specified + + + + + Map description is not specified + + + + + Exception occurs during validation: %1 + + + + + Unknown exception occurs during validation + + WindowNewMap diff --git a/mapeditor/validator.cpp b/mapeditor/validator.cpp index 92950f0d4..f9d011423 100644 --- a/mapeditor/validator.cpp +++ b/mapeditor/validator.cpp @@ -96,7 +96,7 @@ std::list Validator::validate(const CMap * map) if(o->getOwner() != PlayerColor::NEUTRAL && o->getOwner().getNum() < map->players.size()) { 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 if(auto * ins = dynamic_cast(o.get()))