From a9b2a7285746def6c7378c0c1fbff820fd182825 Mon Sep 17 00:00:00 2001 From: Aggelos Tselios Date: Sat, 23 Dec 2023 20:48:41 +0200 Subject: [PATCH] settings: Translate "color scheme" setting --- lib/settings_screen.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/settings_screen.dart b/lib/settings_screen.dart index e851f9e..014c0ea 100644 --- a/lib/settings_screen.dart +++ b/lib/settings_screen.dart @@ -43,10 +43,8 @@ class _SettingsScreenState extends State { ), ListTile( leading: const Icon(Icons.colorize), - title: const Text("Color scheme"), - subtitle: const Text( - "Select the color scheme used by the application", - ), + title: Text(AppLocalizations.of(context)!.colorScheme), + subtitle: Text(AppLocalizations.of(context)!.selectColorSchemeUsed), onTap: () async { final result = await colorPickerDialog(context); if (result) { @@ -62,7 +60,7 @@ class _SettingsScreenState extends State { borderRadius: BorderRadius.circular(10.0), ), action: SnackBarAction( - label: "Close", + label: AppLocalizations.of(context)!.close, onPressed: () {}, ), );