diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index b83c646..9c88d6a 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -82,7 +82,7 @@ "point_limit": "Punkte-Limit", "point_limit_subtitle": "... hier ist Schluss", "reset_to_default": "Auf Standard zurücksetzen", - "data": "Daten", + "game_data": "Spieldaten", "import_data": "Spieldaten importieren", "export_data": "Spieldaten exportieren", "app": "App", @@ -98,10 +98,12 @@ "export_error_title": "Fehler", "export_error_message": "Datei konnte nicht exportiert werden", + "error_found": "Fehler gefunden?", "create_issue": "Issue erstellen", + "wiki": "Wiki", "app_version": "App-Version", - "build": "Build", + "build": "Build-Nr.", "loading": "Lädt...", "about_text": "Hey :) Danke, dass du als eine:r der ersten User meiner ersten eigenen App dabei bist! Ich hab sehr viel Arbeit in dieses Projekt gesteckt und auch, wenn ich (hoffentlich) an vieles Gedacht hab, wird auf jeden Fall noch nicht alles 100% funktionieren. Solltest du also irgendwelche Fehler entdecken oder Feedback zum Design oder der Benutzerfreundlichkeit haben, teile Sie mir gern über die Testflight App oder auf den dir bekannten Wegen mit. Danke! " diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 1c111e2..60fc593 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -82,7 +82,7 @@ "point_limit": "Point Limit", "point_limit_subtitle": "... the game ends here.", "reset_to_default": "Reset to Default", - "data": "Data", + "game_data": "Game Data", "import_data": "Import Data", "export_data": "Export Data", "app": "App", @@ -100,9 +100,10 @@ "export_error_message": "Could not export file", "error_found": "Found a bug?", "create_issue": "Create Issue", + "wiki": "Wiki", "app_version": "App Version", "loading": "Loading...", - "build": "Build", + "build": "Build No.", "about_text": "Hey :) Thanks for being one of the first users of my app! I’ve put a lot of work into this project, and even though I tried to think of everything, it might not work perfectly just yet. So if you discover any bugs or have feedback on the design or usability, please let me know via the TestFlight app or by sending me a message or email. Thank you very much!" } diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 84295df..9f85aab 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -458,11 +458,11 @@ abstract class AppLocalizations { /// **'Auf Standard zurücksetzen'** String get reset_to_default; - /// No description provided for @data. + /// No description provided for @game_data. /// /// In de, this message translates to: - /// **'Daten'** - String get data; + /// **'Spieldaten'** + String get game_data; /// No description provided for @import_data. /// @@ -554,6 +554,12 @@ abstract class AppLocalizations { /// **'Issue erstellen'** String get create_issue; + /// No description provided for @wiki. + /// + /// In de, this message translates to: + /// **'Wiki'** + String get wiki; + /// No description provided for @app_version. /// /// In de, this message translates to: @@ -563,7 +569,7 @@ abstract class AppLocalizations { /// No description provided for @build. /// /// In de, this message translates to: - /// **'Build'** + /// **'Build-Nr.'** String get build; /// No description provided for @loading. diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index f4a2bbd..23b41ac 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -200,7 +200,7 @@ class AppLocalizationsDe extends AppLocalizations { String get reset_to_default => 'Auf Standard zurücksetzen'; @override - String get data => 'Daten'; + String get game_data => 'Spieldaten'; @override String get import_data => 'Spieldaten importieren'; @@ -250,11 +250,14 @@ class AppLocalizationsDe extends AppLocalizations { @override String get create_issue => 'Issue erstellen'; + @override + String get wiki => 'Wiki'; + @override String get app_version => 'App-Version'; @override - String get build => 'Build'; + String get build => 'Build-Nr.'; @override String get loading => 'Lädt...'; diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index aac55f2..eea3896 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -197,7 +197,7 @@ class AppLocalizationsEn extends AppLocalizations { String get reset_to_default => 'Reset to Default'; @override - String get data => 'Data'; + String get game_data => 'Game Data'; @override String get import_data => 'Import Data'; @@ -247,11 +247,14 @@ class AppLocalizationsEn extends AppLocalizations { @override String get create_issue => 'Create Issue'; + @override + String get wiki => 'Wiki'; + @override String get app_version => 'App Version'; @override - String get build => 'Build'; + String get build => 'Build No.'; @override String get loading => 'Loading...'; diff --git a/lib/presentation/views/settings_view.dart b/lib/presentation/views/settings_view.dart index 2ed422f..0d32971 100644 --- a/lib/presentation/views/settings_view.dart +++ b/lib/presentation/views/settings_view.dart @@ -101,7 +101,7 @@ class _SettingsViewState extends State { Padding( padding: const EdgeInsets.fromLTRB(10, 10, 0, 0), child: Text( - AppLocalizations.of(context).data, + AppLocalizations.of(context).game_data, style: CustomTheme.rowTitle, ), ), @@ -145,16 +145,24 @@ class _SettingsViewState extends State { suffixWidget: const CupertinoListTileChevron(), ), CustomFormRow( - prefixText: 'App-Version', - prefixIcon: CupertinoIcons.info, + prefixText: AppLocalizations.of(context).wiki, + prefixIcon: CupertinoIcons.book, + onPressed: () => launchUrl(Uri.parse( + 'https://github.com/flixcoo/Cabo-Counter/wiki')), + suffixWidget: const CupertinoListTileChevron(), + ), + CustomFormRow( + prefixText: + AppLocalizations.of(context).app_version, + prefixIcon: CupertinoIcons.number, onPressed: null, suffixWidget: Text(VersionService.getVersion(), style: TextStyle( color: CustomTheme.primaryColor, ))), CustomFormRow( - prefixText: 'Build-Nr.', - prefixIcon: CupertinoIcons.info, + prefixText: AppLocalizations.of(context).build, + prefixIcon: CupertinoIcons.number, onPressed: null, suffixWidget: Text(VersionService.getBuildNumber(), style: TextStyle( diff --git a/pubspec.yaml b/pubspec.yaml index 414389d..a692f21 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,8 +1,8 @@ name: cabo_counter -description: "Mobile app for the card game Cabo" +description: "Mobile game_data for the card game Cabo" publish_to: 'none' -version: 0.4.0+376 +version: 0.4.0+378 environment: sdk: ^3.5.4