From 4f6d5e37d02a2f913d0e048c756aef8a1afd2d94 Mon Sep 17 00:00:00 2001 From: Johannes Teubler Date: Thu, 13 Jan 2022 22:25:39 +0100 Subject: [PATCH] #16 added internationalized messages --- .../main/resources/i18n/messages.properties | 19 +++++++++++++++++++ .../resources/i18n/messages_de.properties | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages.properties b/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages.properties index 4ec905c..861cfad 100644 --- a/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages.properties +++ b/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages.properties @@ -46,6 +46,25 @@ menu.waiting.session_name.label=Session Name menu.waiting.session_uuid.label=Session UUID menu.waiting.session_configuration.label=Configuration +menu.error.malformed_message=Error: Malformed Message +menu.error.unexpected_message=Error: Unexpected Message +menu.error.illegal_argument=Error: Illegal Argument +menu.error.not_found=Error: Not Found +menu.error.session_not_found=Error: Session Not Found +menu.error.player_not_found=Error: Player Not Found +menu.error.player_name_taken=Error: Playername Already Taken +menu.error.player_name_not_allowed=Error: Playername Not Allowed +menu.error.session_name_taken=Error: Sessionname Already Taken +menu.error.session_name_not_allowed=Error: Sessionname Not Allowed +menu.error.illegal_state=Error: Illegal State +menu.error.game_already_started=Error: Game Already Started +menu.error.game_not_yet_started=Error: Game Not Yet Started +menu.error.session_full=Error: Session Is Full +menu.error.already_connected=Error: Already Connected +menu.error.bad_request=Error: Bad Request +menu.error.back=Back + + game.message.literal={0} game.message.play_card.other=It is {0}'s turn to play a card diff --git a/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages_de.properties b/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages_de.properties index bf1920e..4751e1c 100644 --- a/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages_de.properties +++ b/wizard-client/wizard-client-libgdx/core/src/main/resources/i18n/messages_de.properties @@ -46,6 +46,23 @@ menu.waiting.session_name.label=Sitzungsname menu.waiting.session_uuid.label=Sitzungs-ID menu.waiting.session_configuration.label=Spielvariante +menu.error.malformed_message=Fehler: Missgebildete Nachricht +menu.error.unexpected_message=Fehler: Unerwartete Nachricht +menu.error.illegal_argument=Fehler: Illegales Argument +menu.error.not_found=Fehler: Nicht gefunden +menu.error.session_not_found=Fehler: Session nicht gefunden +menu.error.player_not_found=Fehler: Spieler nicht gefunden +menu.error.player_name_taken=Fehler: Spielername bereits vergeben +menu.error.player_name_not_allowed=Fehler: Spielername nicht erlaubt +menu.error.session_name_taken=Fehler: Sessionname bereits vergeben +menu.error.session_name_not_allowed=Fehler: Sessionname nicht erlaubt +menu.error.illegal_state=Fehler: Illegaler Zustand +menu.error.game_already_started=Fehler: Spiel hat bereits begonnen +menu.error.game_not_yet_started=Fehler: Spiel hat noch nicht begonnen +menu.error.session_full=Fehler: Session ist voll +menu.error.already_connected=Fehler: Bereits verbunden +menu.error.bad_request=Fehler: Schlechte Anfrage +menu.error.back=Zurück game.message.play_card.other={0} muss eine Karte spielen game.message.play_card.all=Jeder muss eine Karte spielen