Added localization for de & en

This commit is contained in:
2025-06-12 16:22:32 +02:00
parent 58a4c14a36
commit 3d9e04b409
22 changed files with 1239 additions and 273 deletions

84
lib/l10n/app_en.arb Normal file
View File

@@ -0,0 +1,84 @@
{
"@@locale": "en",
"app_name": "Cabo Counter",
"round": "Round",
"rounds": "Rounds",
"mode": "Mode",
"points": "Points",
"unlimited": "Unlimited",
"delete": "Delete",
"cancel": "Cancel",
"game": "Game",
"ok": "OK",
"player": "Player",
"players": "Players",
"name": "Name",
"home": "Home",
"about": "About",
"empty_text_1": "Pretty empty here...",
"empty_text_2": "Add a new round using the button in the top right corner",
"delete_game_title": "Delete game?",
"delete_game_message": "Are you sure you want to delete the game {gameTitle}? This action cannot be undone.",
"@delete_game_message": {
"placeholders": {
"gameTitle": {
"type": "String"
}
}
},
"overview": "Overview",
"new_game": "New Game",
"game_title": "Game Title",
"select_mode": "Select a mode",
"add_player": "Add Player",
"create_game": "Create Game",
"max_players_title": "Maximum reached",
"max_players_message": "A maximum of 5 players can be added.",
"no_gameTitle_title": "No Title",
"no_gameTitle_message": "You must enter a title for the game.",
"no_mode_title": "No Mode",
"no_mode_message": "You must select a game mode.",
"min_players_title": "Too few players",
"min_players_message": "At least 2 players must be added.",
"no_name_title": "No Name",
"no_name_message": "Each player must have a name.",
"select_game_mode": "Select game mode",
"point_limit_description": "The game ends when a player reaches more than {pointLimit} points.",
"@point_limit_description": {
"placeholders": {
"pointLimit": {
"type": "int"
}
}
},
"unlimited_description": "There is no limit. The game continues until you decide to stop.",
"results": "Results",
"who_said_cabo": "Who said CABO?",
"kamikaze": "Kamikaze",
"done": "Done",
"next_round": "Next Round",
"settings": "Settings",
"cabo_penalty": "Cabo Penalty",
"cabo_penalty_subtitle": "... for falsely calling Cabo",
"point_limit": "Point Limit",
"point_limit_subtitle": "... the game ends here",
"reset_to_default": "Reset to Default",
"game_data": "Game Data",
"import_data": "Import Data",
"export_data": "Export Data",
"error": "Error",
"error_import": "Could not import file",
"error_export": "Could not export file",
"error_found": "Found a bug?",
"create_issue": "Create Issue",
"app_version": "App Version",
"load_version": "Loading version...",
"build": "Build",
"about_text": "Hey :) Thanks for being one of the first users of my first app! Ive put a lot of work into this project, and even though I (hopefully) thought of a lot, not everything will work 100% yet. If you discover any bugs or have feedback on the design or usability, please dont hesitate to let me know. Thanks!"
}