diff --git a/lib/controls.dart b/lib/controls.dart index 73edd31..19e9260 100644 --- a/lib/controls.dart +++ b/lib/controls.dart @@ -465,7 +465,7 @@ class _VideoButtonsState extends State { context: context, builder: (BuildContext context) { return AlertDialog( - title: const Text('Warning'), + title: Text(AppLocalizations.of(context)!.strWarning), content: Column(mainAxisSize: MainAxisSize.min, children: [ CircleAvatar( radius: 24, @@ -475,15 +475,14 @@ class _VideoButtonsState extends State { color: Colors.white, fontWeight: FontWeight.bold)), ), const SizedBox(height: 10), - const Text( - 'The program you are about to watch contains scenes not recommended for young or sensitive audiences.'), + Text(AppLocalizations.of(context)!.strYouAreAboutToWatch), ]), actions: [ TextButton( style: TextButton.styleFrom( textStyle: Theme.of(context).textTheme.labelLarge, ), - child: const Text('Cancel'), + child: Text(AppLocalizations.of(context)!.strCancel), onPressed: () { Navigator.of(context).pop(false); }, @@ -492,7 +491,7 @@ class _VideoButtonsState extends State { style: TextButton.styleFrom( textStyle: Theme.of(context).textTheme.labelLarge, ), - child: const Text('Continue'), + child: Text(AppLocalizations.of(context)!.strContinue), onPressed: () { Navigator.of(context).pop(true); }, diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index 7e7354a..980e2db 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -65,5 +65,9 @@ "strYes": "Ja", "strNo": "Nein", "strAgeRating": "Altersfreigabe", - "strViewable": "Sichtbar" + "strViewable": "Sichtbar", + "strYouAreAboutToWatch": "Die Sendung, die Sie gerade ansehen, enthält Szenen, die nicht für junge oder sensible Zuschauer geeignet sind.", + "strCancel": "Abbrechen", + "strContinue": "Weiter", + "strWarning": "Warnung" } \ No newline at end of file diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 02448a7..c035244 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -65,5 +65,9 @@ "strYes": "Yes", "strNo": "No", "strAgeRating": "Age Rating", - "strViewable": "Viewable" + "strViewable": "Viewable", + "strYouAreAboutToWatch": "The program you are about to watch contains scenes not recommended for young or sensitive audiences.", + "strCancel": "Cancel", + "strContinue": "Continue", + "strWarning": "Warning" } \ No newline at end of file diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index 5f7e342..bbb47cb 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -65,5 +65,9 @@ "strYes": "Oui", "strNo": "Non", "strAgeRating": "Limite âge", - "strViewable": "Visible" + "strViewable": "Visible", + "strYouAreAboutToWatch": "Le programme que vous vous apprétez à regarder comporte des scènes déconseillées à un public jeune ou sensible.", + "strCancel": "Annuler", + "strContinue": "Continuer", + "strWarning": "Avertissement" }