From 81f6a13b7c6783fb085506ec3df144ef50005351 Mon Sep 17 00:00:00 2001 From: Jarod42 Date: Mon, 22 Jan 2024 14:58:41 +0100 Subject: [PATCH] Add some translation texts. --- data/languages/ca/maxr.po | 37 +++++++++++++++++- data/languages/de/maxr.po | 37 +++++++++++++++++- data/languages/en/maxr.po | 37 +++++++++++++++++- data/languages/es/maxr.po | 37 +++++++++++++++++- data/languages/fr/maxr.po | 37 +++++++++++++++++- data/languages/hu/maxr.po | 37 +++++++++++++++++- data/languages/maxr.pot | 37 +++++++++++++++++- data/languages/nl/maxr.po | 37 +++++++++++++++++- data/languages/ru/maxr.po | 38 +++++++++++++++++- data/languages/sl/maxr.po | 39 ++++++++++++++++++- data/languages/update_translations.sh | 18 ++++----- .../game/control/gameguicontroller.cpp | 3 +- .../menu/control/initgamepreparation.cpp | 2 +- .../menucontrollermultiplayerclient.cpp | 6 +-- .../control/menucontrollermultiplayerhost.cpp | 4 +- .../menu/dialogs/dialogpreferences.cpp | 2 +- .../windownetworklobby/windownetworklobby.cpp | 7 ++-- src/ui/translations.cpp | 2 +- 18 files changed, 384 insertions(+), 33 deletions(-) diff --git a/data/languages/ca/maxr.po b/data/languages/ca/maxr.po index 992fcad82..f30947bc1 100644 --- a/data/languages/ca/maxr.po +++ b/data/languages/ca/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 22:37+0200\n" "Last-Translator:\n" "Language-Team: Catalan\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "S'han fet ajusts: Producció de combustible incrementada en %s" @@ -320,6 +323,9 @@ msgstr "" msgid "Comp~Working" msgstr "treballant" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Error carregant mapa" @@ -338,6 +344,12 @@ msgstr "Error carregant mapa" msgid "Error_Messages~INFO_Not_Implemented" msgstr "No implementat encara" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -356,6 +368,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Carregant edificis..." @@ -450,6 +465,12 @@ msgstr "Carga de mapa a %s terminada" msgid "Multiplayer~Map_NoSet" msgstr "--mapa no seleccionado--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Las opciones, el mapa, o el guardado no estan disponibles" @@ -474,6 +495,11 @@ msgstr "No se puede cargar el mapa %s. No estás listo." msgid "Multiplayer~No_Response" msgstr "Esperando respuesta de la red del jugador %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" + msgid "Multiplayer~Not_Ready" msgstr "%s no esta listo" @@ -516,6 +542,9 @@ msgstr " Se ha unido %s" msgid "Multiplayer~Player_Left" msgstr " %s ha salido de la partida" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "Nombre de jugador ya utilizado, por favor, elige otro de forma que sea único" @@ -596,6 +625,9 @@ msgstr "Dispers" msgid "Option~TooMuch" msgstr "El màxim" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "Simultáni" @@ -906,6 +938,9 @@ msgstr "Si" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Efectes alpha" diff --git a/data/languages/de/maxr.po b/data/languages/de/maxr.po index b78d2f10e..7ddd0da40 100644 --- a/data/languages/de/maxr.po +++ b/data/languages/de/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 21:55+0200\n" "Last-Translator:\n" "Language-Team: German\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Änderungen vorgenommen: Treibstoffproduktion erhöht um %s" @@ -320,6 +323,9 @@ msgstr "Spieler %s gewinnt" msgid "Comp~Working" msgstr "arbeitend" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Fehler beim Laden der Karte" @@ -335,6 +341,12 @@ msgstr "Fehler beim Schreiben des Spielstands" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Noch nicht umgesetzt" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -353,6 +365,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Lade Gebäude..." @@ -443,6 +458,12 @@ msgstr "Karte wurde zu %s übertragen." msgid "Multiplayer~Map_NoSet" msgstr "--keine Karte ausgewählt--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Karte oder Optionen noch einstellen oder Speicherstand laden." @@ -467,6 +488,11 @@ msgstr "Die Karte %s konnte nicht geladen werden. Daher können Sie nicht losleg msgid "Multiplayer~No_Response" msgstr "Warte auf Netzwerkantwort von Spieler %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" + msgid "Multiplayer~Not_Ready" msgstr "%s ist nicht bereit" @@ -509,6 +535,9 @@ msgstr "%s ist beigetreten" msgid "Multiplayer~Player_Left" msgstr "%s hat das Spiel verlassen" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "Spielername bereits in Verwendung, bitte wählen Sie einen anderen Namen um unverwechselbar zu sein." @@ -593,6 +622,9 @@ msgstr "Dünn" msgid "Option~TooMuch" msgstr "Zuviel" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "Simultane Bewegung" @@ -903,6 +935,9 @@ msgstr "Ja" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Alphaeffekte" diff --git a/data/languages/en/maxr.po b/data/languages/en/maxr.po index b16c202f2..e3c86ec03 100644 --- a/data/languages/en/maxr.po +++ b/data/languages/en/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 21:43+0200\n" "Last-Translator:\n" "Language-Team: English\n" @@ -61,6 +61,9 @@ msgstr "Enable/disable debug information about the sync state of the game data" msgid "ChatCmd~Desc~Trace" msgstr "Enable/disable debug information about the unit currently under the cursor" +msgid "ChatCmd~Unknown_Command" +msgstr "Could not recognize chat command '%s'" + msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Adjustments made: fuel mining decreased by %s" @@ -313,6 +316,9 @@ msgstr "Player %s wins" msgid "Comp~Working" msgstr "working" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "The map \"%s\" does not match the map the game was started with" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Error while loading map" @@ -328,6 +334,12 @@ msgstr "Error while writing save game file" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Not yet implemented" +msgid "Error_Messages~Invalid_Map" +msgstr "The map \"%s\" does not match the map of the server" + +msgid "Error_Messages~Map_Not_Found" +msgstr "Map not found: %s" + msgid "GameOver~BuiltBuildings" msgstr "Buildings built" @@ -346,6 +358,9 @@ msgstr "lost" msgid "GameOver~LostUnits" msgstr "lost" +msgid "GamePreparation~Aborting?" +msgstr "Are you sure you want to abort the game preparation?" + msgid "Init~Buildings" msgstr "Loading buildings..." @@ -436,6 +451,12 @@ msgstr "Map upload to %s finished." msgid "Multiplayer~Map_NoSet" msgstr "--no map selected--" +msgid "Multiplayer~Missing_Host" +msgstr "Unable to start: Host must be part of the saved game" + +msgid "Multiplayer~Missing_Player" +msgstr "Missing player: %s" + msgid "Multiplayer~Missing_Settings" msgstr "Options, map or savegame are not set" @@ -460,6 +481,11 @@ msgstr "Can not load map %s. You can not go ready." msgid "Multiplayer~No_Response" msgstr "Waiting for network response from player %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "One player is not ready..." +msgstr[1] "Not all players are ready..." + msgid "Multiplayer~Not_Ready" msgstr "%s is not ready" @@ -502,6 +528,9 @@ msgstr "%s has joined" msgid "Multiplayer~Player_Left" msgstr "%s has left the game" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "Player %s has quit from game preparation" + msgid "Multiplayer~Player_Name_Taken" msgstr "Playername already in use, please select an other name to be unique" @@ -586,6 +615,9 @@ msgstr "Sparse" msgid "Option~TooMuch" msgstr "Too Much" +msgid "Option~Type_HotSeat" +msgstr "Hot Seat" + msgid "Option~Type_Simu" msgstr "Simultaneous" @@ -895,6 +927,9 @@ msgstr "Yes" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Alphaeffects" diff --git a/data/languages/es/maxr.po b/data/languages/es/maxr.po index ebfe0a228..bf391721c 100644 --- a/data/languages/es/maxr.po +++ b/data/languages/es/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 22:32+0200\n" "Last-Translator:\n" "Language-Team: Spanish\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Se han hecho ajustes: Producción de combustible incrementada en %s" @@ -320,6 +323,9 @@ msgstr "" msgid "Comp~Working" msgstr "trabajando" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Error mientras se cargaba el mapa" @@ -338,6 +344,12 @@ msgstr "Error mientras se cargaba el mapa" msgid "Error_Messages~INFO_Not_Implemented" msgstr "No implementado todavía" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -356,6 +368,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Cargando edificios..." @@ -450,6 +465,12 @@ msgstr "Carga de mapa a %s terminada" msgid "Multiplayer~Map_NoSet" msgstr "--mapa no seleccionado--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Las opciones, el mapa, o el guardado no estan disponibles" @@ -474,6 +495,11 @@ msgstr "No se puede cargar el mapa %s. No estás listo." msgid "Multiplayer~No_Response" msgstr "Esperando respuesta de la red del jugador %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" + msgid "Multiplayer~Not_Ready" msgstr "%s no esta listo" @@ -516,6 +542,9 @@ msgstr " Se ha unido %s" msgid "Multiplayer~Player_Left" msgstr " %s ha salido de la partida" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "Nombre de jugador ya utilizado, por favor, elige otro de forma que sea único" @@ -596,6 +625,9 @@ msgstr "Disperso" msgid "Option~TooMuch" msgstr "El máximo" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "Simultáneo" @@ -906,6 +938,9 @@ msgstr "Si" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Efectos alpha" diff --git a/data/languages/fr/maxr.po b/data/languages/fr/maxr.po index 7157e59c5..f87cf18b7 100644 --- a/data/languages/fr/maxr.po +++ b/data/languages/fr/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 21:42+0200\n" "Last-Translator:\n" "Language-Team: French\n" @@ -61,6 +61,9 @@ msgstr "Active/désactive les informations de debug pour le status de synchronis msgid "ChatCmd~Desc~Trace" msgstr "Active/désactive les informations de debug pour l'unité sous le curseur" +msgid "ChatCmd~Unknown_Command" +msgstr "Commande inconnue : %s" + msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Ajustement effectué : production de carburant diminuée de %s" @@ -313,6 +316,9 @@ msgstr "Joueur %s a gagné" msgid "Comp~Working" msgstr "en fonctionnement" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "La carte '%s' a changé depuis le début de la partie" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Erreur de chargement de la carte" @@ -328,6 +334,12 @@ msgstr "Erreur lors de la sauvegarde" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Pas encore implémenté" +msgid "Error_Messages~Invalid_Map" +msgstr "La carte '%s' n'est pas identique à celle du serveur" + +msgid "Error_Messages~Map_Not_Found" +msgstr "Carte non trouvée : %s" + msgid "GameOver~BuiltBuildings" msgstr "Installations bâties" @@ -346,6 +358,9 @@ msgstr "perdues" msgid "GameOver~LostUnits" msgstr "perdues" +msgid "GamePreparation~Aborting?" +msgstr "Êtes-vous sûr(e) d'annuler la préparation de la partie ?" + msgid "Init~Buildings" msgstr "Chargement des bâtiments..." @@ -436,6 +451,12 @@ msgstr "Envoi de la carte à %s terminé." msgid "Multiplayer~Map_NoSet" msgstr "--pas de carte sélectionnée--" +msgid "Multiplayer~Missing_Host" +msgstr "Impossible de démarrer sans l'hôte" + +msgid "Multiplayer~Missing_Player" +msgstr "Joueur(se) manquant(e): %s" + msgid "Multiplayer~Missing_Settings" msgstr "Sauvegarde du jeu, options ou carte non paramétrées" @@ -460,6 +481,11 @@ msgstr "Impossible de charger la carte %s. Lancement jeu impossible." msgid "Multiplayer~No_Response" msgstr "En attente de réponse réseau du joueur %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "Un(e) joueur(se) n'est pas prêt(e)..." +msgstr[1] "Des joueur(se)s ne sont pas prêt(e)s..." + msgid "Multiplayer~Not_Ready" msgstr "%s n'est pas prêt" @@ -502,6 +528,9 @@ msgstr "%s a rejoint la partie" msgid "Multiplayer~Player_Left" msgstr "%s a quitté la partie" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "%s a quitté la préparation du jeu" + msgid "Multiplayer~Player_Name_Taken" msgstr "Les noms des joueurs doivent être uniques, merci d'en sélectionner un autre" @@ -582,6 +611,9 @@ msgstr "rare" msgid "Option~TooMuch" msgstr "maximum" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "tours simultanés" @@ -891,6 +923,9 @@ msgstr "Oui" msgid "Punctuation~Colon" msgstr " : " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Transparence" diff --git a/data/languages/hu/maxr.po b/data/languages/hu/maxr.po index 93f65ab88..ef079c438 100644 --- a/data/languages/hu/maxr.po +++ b/data/languages/hu/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 22:04+0200\n" "Last-Translator:\n" "Language-Team: Hungarian\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Módosítás történt, nőtt az üzemanyag kitermelés: %s" @@ -320,6 +323,9 @@ msgstr "" msgid "Comp~Working" msgstr "működik" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Hiba a térkép betöltése közben" @@ -338,6 +344,12 @@ msgstr "Hiba a térkép betöltése közben" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Még nincs implementálva" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -356,6 +368,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Épületek betöltése..." @@ -450,6 +465,12 @@ msgstr "" msgid "Multiplayer~Map_NoSet" msgstr "--nincs Térkép kiválasztva--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Nincsenek beállítva a paraméterek, a térkép vagy a játékmentés" @@ -474,6 +495,11 @@ msgstr "A %s térkép nem tölthető be. Így nem indíthatod a játékot." msgid "Multiplayer~No_Response" msgstr "" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" + msgid "Multiplayer~Not_Ready" msgstr "%s nem készült el" @@ -516,6 +542,9 @@ msgstr "%s csatlakozott a játékhoz" msgid "Multiplayer~Player_Left" msgstr "%s elhagyta a játékot" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "" @@ -596,6 +625,9 @@ msgstr "Ritka" msgid "Option~TooMuch" msgstr "Legtöbb" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "Egyidejű" @@ -906,6 +938,9 @@ msgstr "Igen" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Alfaeffektusok" diff --git a/data/languages/maxr.pot b/data/languages/maxr.pot index 2fcef5600..99c0eef1f 100644 --- a/data/languages/maxr.pot +++ b/data/languages/maxr.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -63,6 +63,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + msgid "Comp~Adjustments_Fuel_Decreased" msgstr "" @@ -312,6 +315,9 @@ msgstr "" msgid "Comp~Working" msgstr "" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "" @@ -327,6 +333,12 @@ msgstr "" msgid "Error_Messages~INFO_Not_Implemented" msgstr "" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -345,6 +357,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "" @@ -435,6 +450,12 @@ msgstr "" msgid "Multiplayer~Map_NoSet" msgstr "" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "" @@ -459,6 +480,11 @@ msgstr "" msgid "Multiplayer~No_Response" msgstr "" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" + msgid "Multiplayer~Not_Ready" msgstr "" @@ -501,6 +527,9 @@ msgstr "" msgid "Multiplayer~Player_Left" msgstr "" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "" @@ -579,6 +608,9 @@ msgstr "" msgid "Option~TooMuch" msgstr "" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "" @@ -888,6 +920,9 @@ msgstr "" msgid "Punctuation~Colon" msgstr "" +msgid "Settings~3D" +msgstr "" + msgid "Settings~Alphaeffects" msgstr "" diff --git a/data/languages/nl/maxr.po b/data/languages/nl/maxr.po index eab358d5d..f10fc5afe 100644 --- a/data/languages/nl/maxr.po +++ b/data/languages/nl/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 23:04+0200\n" "Last-Translator:\n" "Language-Team: Dutch\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Aanpassingen gemaakt: Brandstof mijnen verhoogt met %s" @@ -320,6 +323,9 @@ msgstr "" msgid "Comp~Working" msgstr "werkt" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Fout bij inlezen kaart" @@ -338,6 +344,12 @@ msgstr "Fout bij inlezen kaart" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Nog niet geimplementeerd" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -356,6 +368,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Laden gebouwen..." @@ -450,6 +465,12 @@ msgstr "Map upload voltooid" msgid "Multiplayer~Map_NoSet" msgstr "--Geen kaart ingesteld--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Opties, map of savegame zijn niet ingesteld" @@ -474,6 +495,11 @@ msgstr "Kan map %s niet laden. Je kan niet starten." msgid "Multiplayer~No_Response" msgstr "Wachten op netwerk reactie speler %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" + msgid "Multiplayer~Not_Ready" msgstr "%s is niet gereed" @@ -516,6 +542,9 @@ msgstr "%s voegt zich aan het spel" msgid "Multiplayer~Player_Left" msgstr "%s heeft spel verlaten" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "Spelernaam is reeds in gebruik, geef aub een andere naam in" @@ -596,6 +625,9 @@ msgstr "dun" msgid "Option~TooMuch" msgstr "hoogst" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "gelijktijdig" @@ -906,6 +938,9 @@ msgstr "Ja" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Alpha effecten" diff --git a/data/languages/ru/maxr.po b/data/languages/ru/maxr.po index d79520ce7..8b147a22d 100644 --- a/data/languages/ru/maxr.po +++ b/data/languages/ru/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 21:44+0200\n" "Last-Translator:\n" "Language-Team: Russian\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Добыча топлива увеличена на %s" @@ -329,6 +332,9 @@ msgstr "" msgid "Comp~Working" msgstr "работает" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Ошибка при загрузке карты" @@ -347,6 +353,12 @@ msgstr "Ошибка при загрузке карты" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Ещё не реализовано" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -365,6 +377,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Загрузка зданий..." @@ -459,6 +474,12 @@ msgstr "Отправка карты к %s завершена." msgid "Multiplayer~Map_NoSet" msgstr "--не выбана карта--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Опции, карта или сохранённая игра не выбраны" @@ -483,6 +504,12 @@ msgstr "Не могу загрузить карту %s. Вы не готовы." msgid "Multiplayer~No_Response" msgstr "" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + msgid "Multiplayer~Not_Ready" msgstr "%s не готов" @@ -525,6 +552,9 @@ msgstr "%s вступает в игру" msgid "Multiplayer~Player_Left" msgstr "%s покидает игру" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "" @@ -605,6 +635,9 @@ msgstr "низкая" msgid "Option~TooMuch" msgstr "макс" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "Одновременно" @@ -915,6 +948,9 @@ msgstr "Да" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Эффекты прозрачности" diff --git a/data/languages/sl/maxr.po b/data/languages/sl/maxr.po index 1abee49a2..b1c4ed2ed 100644 --- a/data/languages/sl/maxr.po +++ b/data/languages/sl/maxr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Maxr 0.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-19 12:46+0200\n" +"POT-Creation-Date: 2024-01-22 15:15+0100\n" "PO-Revision-Date: 2021-07-29 22:02+0200\n" "Last-Translator:\n" "Language-Team: Slovenian\n" @@ -61,6 +61,9 @@ msgstr "" msgid "ChatCmd~Desc~Trace" msgstr "" +msgid "ChatCmd~Unknown_Command" +msgstr "" + #, fuzzy msgid "Comp~Adjustments_Fuel_Decreased" msgstr "Popravek: črpanje goriva je povečano za %s" @@ -335,6 +338,9 @@ msgstr "" msgid "Comp~Working" msgstr "v delovanju" +msgid "Error_Messages~ERROR_Map_Checksum" +msgstr "" + msgid "Error_Messages~ERROR_Map_Loading" msgstr "Napaka pri nalaganju pokrajine" @@ -353,6 +359,12 @@ msgstr "Napaka pri nalaganju pokrajine" msgid "Error_Messages~INFO_Not_Implemented" msgstr "Funkcija še ni implementirana" +msgid "Error_Messages~Invalid_Map" +msgstr "" + +msgid "Error_Messages~Map_Not_Found" +msgstr "" + msgid "GameOver~BuiltBuildings" msgstr "" @@ -371,6 +383,9 @@ msgstr "" msgid "GameOver~LostUnits" msgstr "" +msgid "GamePreparation~Aborting?" +msgstr "" + msgid "Init~Buildings" msgstr "Nalagam stavbe ..." @@ -465,6 +480,12 @@ msgstr "Nalaganje pokrajine na %s je končano." msgid "Multiplayer~Map_NoSet" msgstr "--brez nastavitev pokrajine--" +msgid "Multiplayer~Missing_Host" +msgstr "" + +msgid "Multiplayer~Missing_Player" +msgstr "" + msgid "Multiplayer~Missing_Settings" msgstr "Možnosti, pokrajina ali shranjena igra ni nastavljena" @@ -489,6 +510,13 @@ msgstr "Ne morem naložiti pokrajine %s. Nisi pripravljen." msgid "Multiplayer~No_Response" msgstr "Čakam na mrežni odziv igralca %s" +msgid "Multiplayer~Not_All_Player(s)_Ready" +msgid_plural "Multiplayer~Not_All_Player(s)_Ready" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + msgid "Multiplayer~Not_Ready" msgstr "%s ni pripravljen" @@ -531,6 +559,9 @@ msgstr "pridružil se je %s" msgid "Multiplayer~Player_Left" msgstr "%s je zapustil igro" +msgid "Multiplayer~Player_Left_Game_Preparation" +msgstr "" + msgid "Multiplayer~Player_Name_Taken" msgstr "Ime igralca je že oddano. Izberite drugačno ime." @@ -617,6 +648,9 @@ msgstr "Redko" msgid "Option~TooMuch" msgstr "Preveč" +msgid "Option~Type_HotSeat" +msgstr "" + msgid "Option~Type_Simu" msgstr "Sočasne poteze" @@ -927,6 +961,9 @@ msgstr "Da" msgid "Punctuation~Colon" msgstr ": " +msgid "Settings~3D" +msgstr "3D" + msgid "Settings~Alphaeffects" msgstr "Alfa efekti" diff --git a/data/languages/update_translations.sh b/data/languages/update_translations.sh index 826b095d9..f23895740 100755 --- a/data/languages/update_translations.sh +++ b/data/languages/update_translations.sh @@ -2,12 +2,12 @@ xgettext --from-code=UTF-8 --c++ -o maxr.pot -s -k -ki18n -kplural:1,1 --no-location `find ../../src "(" -name "*.cpp" -or -name "*.h" ")" -not -wholename "../../src/3rd/*.*"` -msgmerge --update -s --no-location --no-wrap ca/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap de/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap en/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap es/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap fr/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap hu/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap nl/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap ru/maxr.po maxr.pot -msgmerge --update -s --no-location --no-wrap sl/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap ca/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap de/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap en/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap es/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap fr/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap hu/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap nl/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap ru/maxr.po maxr.pot +msgmerge --update -s --no-fuzzy-matching --no-location --no-wrap sl/maxr.po maxr.pot diff --git a/src/ui/graphical/game/control/gameguicontroller.cpp b/src/ui/graphical/game/control/gameguicontroller.cpp index 861361ebd..ce15df9bf 100644 --- a/src/ui/graphical/game/control/gameguicontroller.cpp +++ b/src/ui/graphical/game/control/gameguicontroller.cpp @@ -1600,8 +1600,7 @@ void cGameGuiController::handleChatCommand (const std::string& chatString) return; } } - // TODO: translate - gameGui->getChatBox().addChatEntry (std::make_unique ("Could not recognize chat command '" + chatString + "'")); + gameGui->getChatBox().addChatEntry (std::make_unique (lngPack.i18n ("ChatCmd~Unknown_Command", chatString))); } catch (const std::runtime_error& e) { diff --git a/src/ui/graphical/menu/control/initgamepreparation.cpp b/src/ui/graphical/menu/control/initgamepreparation.cpp index d46685f22..1c52fc330 100644 --- a/src/ui/graphical/menu/control/initgamepreparation.cpp +++ b/src/ui/graphical/menu/control/initgamepreparation.cpp @@ -188,7 +188,7 @@ void cInitGamePreparation::back() //------------------------------------------------------------------------------ void cInitGamePreparation::checkReallyWantsToQuit() { - auto yesNoDialog = application.show (std::make_shared ("Are you sure you want to abort the game preparation?")); // TODO: translate + auto yesNoDialog = application.show (std::make_shared (lngPack.i18n ("GamePreparation~Aborting?"))); signalConnectionManager.connect (yesNoDialog->yesClicked, [this]() { lobbyClient.abortGamePreparation(); diff --git a/src/ui/graphical/menu/control/menucontrollermultiplayerclient.cpp b/src/ui/graphical/menu/control/menucontrollermultiplayerclient.cpp index 1f7b14286..9b9ba80ac 100644 --- a/src/ui/graphical/menu/control/menucontrollermultiplayerclient.cpp +++ b/src/ui/graphical/menu/control/menucontrollermultiplayerclient.cpp @@ -62,7 +62,7 @@ cMenuControllerMultiplayerClient::cMenuControllerMultiplayerClient (cApplication signalConnectionManager.connect (lobbyClient.onPlayerAbortGamePreparation, [this] (const std::string& playerName) { if (windowNetworkLobby != nullptr) { - auto okDialog = application.show (std::make_shared ("Player " + playerName + " has quit from game preparation")); // TODO: translate + auto okDialog = application.show (std::make_shared (lngPack.i18n ("Multiplayer~Player_Left_Game_Preparation", playerName))); signalConnectionManager.connect (okDialog->done, [this]() { application.closeTill (*windowNetworkLobby); @@ -91,10 +91,10 @@ cMenuControllerMultiplayerClient::cMenuControllerMultiplayerClient (cApplication }); signalConnectionManager.connect (lobbyClient.onFailToReconnectGameNoMap, [this] (const std::filesystem::path& mapFilename) { - application.show (std::make_shared ("Map \"" + mapFilename.u8string() + "\" not found")); //TODO: translate + application.show (std::make_shared (lngPack.i18n ("Error_Messages~Map_Not_Found", mapFilename.u8string()))); }); signalConnectionManager.connect (lobbyClient.onFailToReconnectGameInvalidMap, [this] (const std::filesystem::path& mapFilename) { - application.show (std::make_shared ("The map \"" + mapFilename.u8string() + "\" does not match the map of the server")); // TODO: translate + application.show (std::make_shared (lngPack.i18n ("Error_Messages~Invalid_Map", mapFilename.u8string()))); }); } diff --git a/src/ui/graphical/menu/control/menucontrollermultiplayerhost.cpp b/src/ui/graphical/menu/control/menucontrollermultiplayerhost.cpp index f14d49686..c04fde2ef 100644 --- a/src/ui/graphical/menu/control/menucontrollermultiplayerhost.cpp +++ b/src/ui/graphical/menu/control/menucontrollermultiplayerhost.cpp @@ -77,7 +77,7 @@ cMenuControllerMultiplayerHost::cMenuControllerMultiplayerHost (cApplication& ap signalConnectionManager.connect (lobbyClient.onPlayerAbortGamePreparation, [this] (const std::string& playerName) { if (windowNetworkLobby != nullptr) { - auto okDialog = application.show (std::make_shared ("Player " + playerName + " has quit from game preparation")); // TODO: translate + auto okDialog = application.show (std::make_shared (lngPack.i18n ("Multiplayer~Player_Left_Game_Preparation", playerName))); signalConnectionManager.connect (okDialog->done, [this]() { application.closeTill (*windowNetworkLobby); @@ -187,7 +187,7 @@ void cMenuControllerMultiplayerHost::handleSelectSaveGame() } else if (MapDownload::calculateCheckSum (saveGame.mapFilename) != saveGame.mapCrc) { - application.show (std::make_shared ("The map \"" + saveGame.mapFilename.u8string() + "\" does not match the map the game was started with")); // TODO: translate + application.show (std::make_shared (lngPack.i18n ("Error_Messages~ERROR_Map_Checksum", saveGame.mapFilename.u8string()))); return; } } diff --git a/src/ui/graphical/menu/dialogs/dialogpreferences.cpp b/src/ui/graphical/menu/dialogs/dialogpreferences.cpp index 10b33cfc4..5a6df2598 100644 --- a/src/ui/graphical/menu/dialogs/dialogpreferences.cpp +++ b/src/ui/graphical/menu/dialogs/dialogpreferences.cpp @@ -148,7 +148,7 @@ void cDialogPreferences::retranslate() disableMusicCheckBox->setText (lngPack.i18n ("Settings~Disable")); disableEffectsCheckBox->setText (lngPack.i18n ("Settings~Disable")); - effects3DCheckBox->setText ("3D"); // TODO: Missing translation + effects3DCheckBox->setText (lngPack.i18n ("Settings~3D")); disableVoicesCheckBox->setText (lngPack.i18n ("Settings~Disable")); animationCheckBox->setText (lngPack.i18n ("Settings~Animation")); shadowsCheckBox->setText (lngPack.i18n ("Settings~Shadows")); diff --git a/src/ui/graphical/menu/windows/windownetworklobby/windownetworklobby.cpp b/src/ui/graphical/menu/windows/windownetworklobby/windownetworklobby.cpp index 3078f9249..049764bfb 100644 --- a/src/ui/graphical/menu/windows/windownetworklobby/windownetworklobby.cpp +++ b/src/ui/graphical/menu/windows/windownetworklobby/windownetworklobby.cpp @@ -252,12 +252,11 @@ void cWindowNetworkLobby::bindConnections (cLobbyClient& lobbyClient) { addInfoEntry (lngPack.i18n ("Multiplayer~Not_Ready", player.getName())); } - // TODO: missing translations - if (!notReadyPlayers.empty()) addInfoEntry ("Not all players are ready..."); - if (hostNotInSavegame) addInfoEntry ("Unable to start: Host must be part of the saved game"); + if (!notReadyPlayers.empty()) addInfoEntry (lngPack.plural ("Multiplayer~Not_All_Player(s)_Ready", notReadyPlayers.size())); + if (hostNotInSavegame) addInfoEntry(lngPack.i18n ("Multiplayer~Missing_Host")); for (const auto& player : missingPlayers) { - addInfoEntry ("Missing player: " + player.getName()); + addInfoEntry (lngPack.i18n ("Multiplayer~Missing_Player", player.getName())); } if (!missingPlayers.empty()) addInfoEntry (lngPack.i18n ("Multiplayer~Player_Wrong")); }); diff --git a/src/ui/translations.cpp b/src/ui/translations.cpp index 833a0cf9f..d0733b921 100644 --- a/src/ui/translations.cpp +++ b/src/ui/translations.cpp @@ -189,7 +189,7 @@ std::string toTranslatedString (eGameSettingsGameType type) case eGameSettingsGameType::Turns: return lngPack.i18n ("Option~Type_Turns"); case eGameSettingsGameType::HotSeat: - return "Hot Seat"; // TODO: translation?! + return lngPack.i18n ("Option~Type_HotSeat"); } assert (false); return "";