Updated strings, added wiki button

This commit is contained in:
2025-07-09 17:41:54 +02:00
parent aba4bf9c0b
commit 55f3da8052
7 changed files with 42 additions and 19 deletions

View File

@@ -82,7 +82,7 @@
"point_limit": "Punkte-Limit", "point_limit": "Punkte-Limit",
"point_limit_subtitle": "... hier ist Schluss", "point_limit_subtitle": "... hier ist Schluss",
"reset_to_default": "Auf Standard zurücksetzen", "reset_to_default": "Auf Standard zurücksetzen",
"data": "Daten", "game_data": "Spieldaten",
"import_data": "Spieldaten importieren", "import_data": "Spieldaten importieren",
"export_data": "Spieldaten exportieren", "export_data": "Spieldaten exportieren",
"app": "App", "app": "App",
@@ -98,10 +98,12 @@
"export_error_title": "Fehler", "export_error_title": "Fehler",
"export_error_message": "Datei konnte nicht exportiert werden", "export_error_message": "Datei konnte nicht exportiert werden",
"error_found": "Fehler gefunden?", "error_found": "Fehler gefunden?",
"create_issue": "Issue erstellen", "create_issue": "Issue erstellen",
"wiki": "Wiki",
"app_version": "App-Version", "app_version": "App-Version",
"build": "Build", "build": "Build-Nr.",
"loading": "Lädt...", "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! " "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! "

View File

@@ -82,7 +82,7 @@
"point_limit": "Point Limit", "point_limit": "Point Limit",
"point_limit_subtitle": "... the game ends here.", "point_limit_subtitle": "... the game ends here.",
"reset_to_default": "Reset to Default", "reset_to_default": "Reset to Default",
"data": "Data", "game_data": "Game Data",
"import_data": "Import Data", "import_data": "Import Data",
"export_data": "Export Data", "export_data": "Export Data",
"app": "App", "app": "App",
@@ -100,9 +100,10 @@
"export_error_message": "Could not export file", "export_error_message": "Could not export file",
"error_found": "Found a bug?", "error_found": "Found a bug?",
"create_issue": "Create Issue", "create_issue": "Create Issue",
"wiki": "Wiki",
"app_version": "App Version", "app_version": "App Version",
"loading": "Loading...", "loading": "Loading...",
"build": "Build", "build": "Build No.",
"about_text": "Hey :) Thanks for being one of the first users of my app! Ive 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!" "about_text": "Hey :) Thanks for being one of the first users of my app! Ive 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!"
} }

View File

@@ -458,11 +458,11 @@ abstract class AppLocalizations {
/// **'Auf Standard zurücksetzen'** /// **'Auf Standard zurücksetzen'**
String get reset_to_default; String get reset_to_default;
/// No description provided for @data. /// No description provided for @game_data.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
/// **'Daten'** /// **'Spieldaten'**
String get data; String get game_data;
/// No description provided for @import_data. /// No description provided for @import_data.
/// ///
@@ -554,6 +554,12 @@ abstract class AppLocalizations {
/// **'Issue erstellen'** /// **'Issue erstellen'**
String get create_issue; 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. /// No description provided for @app_version.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
@@ -563,7 +569,7 @@ abstract class AppLocalizations {
/// No description provided for @build. /// No description provided for @build.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
/// **'Build'** /// **'Build-Nr.'**
String get build; String get build;
/// No description provided for @loading. /// No description provided for @loading.

View File

@@ -200,7 +200,7 @@ class AppLocalizationsDe extends AppLocalizations {
String get reset_to_default => 'Auf Standard zurücksetzen'; String get reset_to_default => 'Auf Standard zurücksetzen';
@override @override
String get data => 'Daten'; String get game_data => 'Spieldaten';
@override @override
String get import_data => 'Spieldaten importieren'; String get import_data => 'Spieldaten importieren';
@@ -250,11 +250,14 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String get create_issue => 'Issue erstellen'; String get create_issue => 'Issue erstellen';
@override
String get wiki => 'Wiki';
@override @override
String get app_version => 'App-Version'; String get app_version => 'App-Version';
@override @override
String get build => 'Build'; String get build => 'Build-Nr.';
@override @override
String get loading => 'Lädt...'; String get loading => 'Lädt...';

View File

@@ -197,7 +197,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get reset_to_default => 'Reset to Default'; String get reset_to_default => 'Reset to Default';
@override @override
String get data => 'Data'; String get game_data => 'Game Data';
@override @override
String get import_data => 'Import Data'; String get import_data => 'Import Data';
@@ -247,11 +247,14 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String get create_issue => 'Create Issue'; String get create_issue => 'Create Issue';
@override
String get wiki => 'Wiki';
@override @override
String get app_version => 'App Version'; String get app_version => 'App Version';
@override @override
String get build => 'Build'; String get build => 'Build No.';
@override @override
String get loading => 'Loading...'; String get loading => 'Loading...';

View File

@@ -101,7 +101,7 @@ class _SettingsViewState extends State<SettingsView> {
Padding( Padding(
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0), padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text( child: Text(
AppLocalizations.of(context).data, AppLocalizations.of(context).game_data,
style: CustomTheme.rowTitle, style: CustomTheme.rowTitle,
), ),
), ),
@@ -145,16 +145,24 @@ class _SettingsViewState extends State<SettingsView> {
suffixWidget: const CupertinoListTileChevron(), suffixWidget: const CupertinoListTileChevron(),
), ),
CustomFormRow( CustomFormRow(
prefixText: 'App-Version', prefixText: AppLocalizations.of(context).wiki,
prefixIcon: CupertinoIcons.info, 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, onPressed: null,
suffixWidget: Text(VersionService.getVersion(), suffixWidget: Text(VersionService.getVersion(),
style: TextStyle( style: TextStyle(
color: CustomTheme.primaryColor, color: CustomTheme.primaryColor,
))), ))),
CustomFormRow( CustomFormRow(
prefixText: 'Build-Nr.', prefixText: AppLocalizations.of(context).build,
prefixIcon: CupertinoIcons.info, prefixIcon: CupertinoIcons.number,
onPressed: null, onPressed: null,
suffixWidget: Text(VersionService.getBuildNumber(), suffixWidget: Text(VersionService.getBuildNumber(),
style: TextStyle( style: TextStyle(

View File

@@ -1,8 +1,8 @@
name: cabo_counter name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile game_data for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.4.0+376 version: 0.4.0+378
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4