Implement comprehensive localization framework with English and Finnish support
- Add flutter_localizations dependency and l10n configuration - Create ARB files for English (en) and Finnish (fi) translations - Localize UI strings across all major components: * Navigation drawer and page titles * Scoring interface (arrows per end, ruleset names) * Scorecard headers (End, Arrows, Sum of 3/6, Accumulative) * Keypad functional buttons (CLEAR/TYHJENNÄ, CLOSE/SULJE) * Settings page placeholder content * Dialog messages and confirmation prompts - Preserve universal archery scoring notation (X, 10, 9, M remain unlocalised) - Use authentic Finnish archery terminology throughout - Configure main app with proper localization delegates and supported locales - Generate localization classes automatically via flutter_localizations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"@@locale": "en",
|
||||
|
||||
"appTitle": "Archery Bookkeeper",
|
||||
"appVersion": "Alpha 0.1",
|
||||
|
||||
"navMainScorer": "Main (Scorer)",
|
||||
"navSettings": "Settings",
|
||||
|
||||
"arrowsPerEnd": "Arrows per end",
|
||||
"ruleset": "Ruleset",
|
||||
"rulesetIndoor": "Indoor",
|
||||
"rulesetOutdoor": "Outdoor",
|
||||
"endsCount": "{count} ends",
|
||||
"@endsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int",
|
||||
"example": "10"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"headerEnd": "End",
|
||||
"headerArrows": "Arrows",
|
||||
"headerSumOf3": "Sum of 3",
|
||||
"headerSumOf6": "Sum of 6",
|
||||
"headerAccumulative": "Accumulative",
|
||||
"headerXCount": "X",
|
||||
"header10Count": "10",
|
||||
"header9Count": "9",
|
||||
"scoreTotal": "Total",
|
||||
|
||||
"keypadClear": "CLEAR",
|
||||
"keypadClose": "CLOSE",
|
||||
|
||||
"dialogClearScoresTitle": "Clear scores",
|
||||
"dialogClearScoresMessage": "This will clear all scores for the current session. Continue?",
|
||||
"dialogArrowChangeTitle": "Change arrow count",
|
||||
"dialogArrowChangeMessage": "Changing arrow count will clear existing scores. Continue?",
|
||||
"dialogPreserveScores": "Preserve existing scores when possible?",
|
||||
"dialogCancel": "Cancel",
|
||||
"dialogContinue": "Continue",
|
||||
"dialogYes": "Yes",
|
||||
"dialogNo": "No",
|
||||
|
||||
"settingsTitle": "Settings",
|
||||
"settingsAppearance": "Appearance",
|
||||
"settingsScoring": "Scoring",
|
||||
"settingsExport": "Export",
|
||||
"settingsAbout": "About",
|
||||
|
||||
"settingsPlaceholder": "This is a placeholder settings page.",
|
||||
"settingsFutureWillInclude": "Future settings will include:",
|
||||
"settingsColorScheme": "• Color scheme preferences",
|
||||
"settingsDefaultArrows": "• Default arrow counts",
|
||||
"settingsScoreInput": "• Score input preferences",
|
||||
"settingsExportOptions": "• Export settings",
|
||||
"settingsSessionManagement": "• Session management",
|
||||
|
||||
"dialogKeepScoresTitle": "Keep scores?",
|
||||
|
||||
"devTodoLocalization": "REPLACE ALL THESE TEXTS WITH LOCALISATION MARKERS!!"
|
||||
}
|
||||
Reference in New Issue
Block a user