diff --git a/lib/l10n/arb/app_de.arb b/lib/l10n/arb/app_de.arb index 148c19b..b6339c0 100644 --- a/lib/l10n/arb/app_de.arb +++ b/lib/l10n/arb/app_de.arb @@ -17,11 +17,14 @@ "back": "Zurück", "home": "Home", + "about": "Über", "licenses": "Lizenzen", "license_details": "Lizenzdetails", + "no_license_text": "Keine Lizenz verfügbar", "imprint": "Impressum", + "empty_text_1": "Ganz schön leer hier...", "empty_text_2": "Füge über den Button oben rechts eine neue Runde hinzu", "delete_game_title": "Spiel löschen?", diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 101a847..2e6146e 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -17,10 +17,13 @@ "back": "Back", "home": "Home", + "about": "About", "licenses": "Licenses", "license_details": "License Details", "imprint": "Imprint", + "no_license_text": "No license available", + "empty_text_1": "Pretty empty here...", diff --git a/lib/l10n/generated/app_localizations.dart b/lib/l10n/generated/app_localizations.dart index a5054c9..2546a04 100644 --- a/lib/l10n/generated/app_localizations.dart +++ b/lib/l10n/generated/app_localizations.dart @@ -206,6 +206,12 @@ abstract class AppLocalizations { /// **'Lizenzdetails'** String get license_details; + /// No description provided for @no_license_text. + /// + /// In de, this message translates to: + /// **'Keine Lizenz verfügbar'** + String get no_license_text; + /// No description provided for @imprint. /// /// In de, this message translates to: diff --git a/lib/l10n/generated/app_localizations_de.dart b/lib/l10n/generated/app_localizations_de.dart index 4406605..317fae1 100644 --- a/lib/l10n/generated/app_localizations_de.dart +++ b/lib/l10n/generated/app_localizations_de.dart @@ -62,6 +62,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get license_details => 'Lizenzdetails'; + @override + String get no_license_text => 'Keine Lizenz verfügbar'; + @override String get imprint => 'Impressum'; diff --git a/lib/l10n/generated/app_localizations_en.dart b/lib/l10n/generated/app_localizations_en.dart index 9056c26..d4ace96 100644 --- a/lib/l10n/generated/app_localizations_en.dart +++ b/lib/l10n/generated/app_localizations_en.dart @@ -62,6 +62,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get license_details => 'License Details'; + @override + String get no_license_text => 'No license available'; + @override String get imprint => 'Imprint'; diff --git a/lib/presentation/views/about/licenses/license_view.dart b/lib/presentation/views/about/licenses/license_view.dart index d2ebbcf..d8edaa3 100644 --- a/lib/presentation/views/about/licenses/license_view.dart +++ b/lib/presentation/views/about/licenses/license_view.dart @@ -37,7 +37,8 @@ class LicenseView extends StatelessWidget { CupertinoPageRoute( builder: (_) => LicenseDetailView( title: ossLicenses[index].name, - license: ossLicenses[index].license!, + license: ossLicenses[index].license ?? + AppLocalizations.of(context).no_license_text, ), ), );