Updated strings

This commit is contained in:
2025-08-22 14:47:55 +02:00
parent 6b2651a396
commit 25274ed914
6 changed files with 23 additions and 35 deletions

View File

@@ -162,6 +162,6 @@
"wiki": "Wiki", "wiki": "Wiki",
"app_version": "App-Version", "app_version": "App-Version",
"privacy_policy": "Datenschutzerklärung", "privacy_policy": "Datenschutzerklärung",
"loading": "Lädt...", "loading_games": "Lade Spiele ...",
"build": "Build-Nr." "build": "Build-Nr."
} }

View File

@@ -162,6 +162,6 @@
"wiki": "Wiki", "wiki": "Wiki",
"app_version": "App Version", "app_version": "App Version",
"privacy_policy": "Privacy Policy", "privacy_policy": "Privacy Policy",
"loading": "Loading...", "loading_games": "Loading Games ...",
"build": "Build No." "build": "Build No."
} }

View File

@@ -63,7 +63,7 @@ import 'app_localizations_en.dart';
/// property. /// property.
abstract class AppLocalizations { abstract class AppLocalizations {
AppLocalizations(String locale) AppLocalizations(String locale)
: localeName = intl.Intl.canonicalizedLocale(locale.toString()); : localeName = intl.Intl.canonicalizedLocale(locale.toString());
final String localeName; final String localeName;
@@ -86,16 +86,16 @@ abstract class AppLocalizations {
/// of delegates is preferred or required. /// of delegates is preferred or required.
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
<LocalizationsDelegate<dynamic>>[ <LocalizationsDelegate<dynamic>>[
delegate, delegate,
GlobalMaterialLocalizations.delegate, GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
GlobalWidgetsLocalizations.delegate, GlobalWidgetsLocalizations.delegate,
]; ];
/// A list of this localizations delegate's supported locales. /// A list of this localizations delegate's supported locales.
static const List<Locale> supportedLocales = <Locale>[ static const List<Locale> supportedLocales = <Locale>[
Locale('de'), Locale('de'),
Locale('en'), Locale('en')
]; ];
/// No description provided for @app_name. /// No description provided for @app_name.
@@ -487,11 +487,7 @@ abstract class AppLocalizations {
/// In de, this message translates to: /// In de, this message translates to:
/// **'{playerCount, plural, =1{{names} hat exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommt deshalb {bonusPoints} Punkte abgezogen!} other{{names} haben exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommen deshalb jeweils {bonusPoints} Punkte abgezogen!}}'** /// **'{playerCount, plural, =1{{names} hat exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommt deshalb {bonusPoints} Punkte abgezogen!} other{{names} haben exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommen deshalb jeweils {bonusPoints} Punkte abgezogen!}}'**
String bonus_points_message( String bonus_points_message(
int playerCount, int playerCount, String names, int pointLimit, int bonusPoints);
String names,
int pointLimit,
int bonusPoints,
);
/// No description provided for @end_of_game_title. /// No description provided for @end_of_game_title.
/// ///
@@ -739,11 +735,11 @@ abstract class AppLocalizations {
/// **'Datenschutzerklärung'** /// **'Datenschutzerklärung'**
String get privacy_policy; String get privacy_policy;
/// No description provided for @loading. /// No description provided for @loading_games.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
/// **'Lädt...'** /// **'Lade Spiele ...'**
String get loading; String get loading_games;
/// No description provided for @build. /// No description provided for @build.
/// ///
@@ -779,9 +775,8 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
} }
throw FlutterError( throw FlutterError(
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
'an issue with the localizations generation tool. Please file an issue ' 'an issue with the localizations generation tool. Please file an issue '
'on GitHub with a reproducible sample app and the gen-l10n configuration ' 'on GitHub with a reproducible sample app and the gen-l10n configuration '
'that was used.', 'that was used.');
);
} }

View File

@@ -214,11 +214,7 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String bonus_points_message( String bonus_points_message(
int playerCount, int playerCount, String names, int pointLimit, int bonusPoints) {
String names,
int pointLimit,
int bonusPoints,
) {
String _temp0 = intl.Intl.pluralLogic( String _temp0 = intl.Intl.pluralLogic(
playerCount, playerCount,
locale: localeName, locale: localeName,
@@ -370,7 +366,7 @@ class AppLocalizationsDe extends AppLocalizations {
String get privacy_policy => 'Datenschutzerklärung'; String get privacy_policy => 'Datenschutzerklärung';
@override @override
String get loading => 'Lädt...'; String get loading_games => 'Lade Spiele ...';
@override @override
String get build => 'Build-Nr.'; String get build => 'Build-Nr.';

View File

@@ -211,11 +211,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String bonus_points_message( String bonus_points_message(
int playerCount, int playerCount, String names, int pointLimit, int bonusPoints) {
String names,
int pointLimit,
int bonusPoints,
) {
String _temp0 = intl.Intl.pluralLogic( String _temp0 = intl.Intl.pluralLogic(
playerCount, playerCount,
locale: localeName, locale: localeName,
@@ -367,7 +363,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get privacy_policy => 'Privacy Policy'; String get privacy_policy => 'Privacy Policy';
@override @override
String get loading => 'Loading...'; String get loading_games => 'Loading Games...';
@override @override
String get build => 'Build No.'; String get build => 'Build No.';

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile app for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.5.8+674 version: 0.5.8+685
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4
@@ -35,6 +35,7 @@ dependencies:
google_fonts: ^6.3.0 google_fonts: ^6.3.0
drift: ^2.26.1 drift: ^2.26.1
drift_flutter: ^0.2.4 drift_flutter: ^0.2.4
provider: ^6.1.5+1
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: