From 0da5e27830f8bf90d35cf2cd8ddab57ae1cba4ee Mon Sep 17 00:00:00 2001 From: stcb <21@stcb.cc> Date: Fri, 20 Dec 2024 10:31:35 +0000 Subject: [PATCH] Removed French / clean bad english (#21) Reviewed-on: https://git.gmoker.com/icing/G-EIP-700-TLS-7-1-eip-stephane.corbiere/pulls/21 --- dialer/lib/features/settings/settings.dart | 4 ++-- .../lib/features/settings/sim/settings_accounts.dart | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dialer/lib/features/settings/settings.dart b/dialer/lib/features/settings/settings.dart index 9735e1b..3f64e97 100644 --- a/dialer/lib/features/settings/settings.dart +++ b/dialer/lib/features/settings/settings.dart @@ -17,7 +17,7 @@ class SettingsPage extends StatelessWidget { MaterialPageRoute(builder: (context) => const SettingsCallPage()), ); break; - case 'Page of telephone accounts': + case 'Sim settings': Navigator.push( context, MaterialPageRoute(builder: (context) => const SettingsAccountsPage()), @@ -54,7 +54,7 @@ class SettingsPage extends StatelessWidget { return Scaffold( backgroundColor: Colors.black, appBar: AppBar( - title: const Text('settings'), + title: const Text('Settings'), ), body: ListView.builder( itemCount: settingsOptions.length, diff --git a/dialer/lib/features/settings/sim/settings_accounts.dart b/dialer/lib/features/settings/sim/settings_accounts.dart index b8893ab..02e9fbd 100644 --- a/dialer/lib/features/settings/sim/settings_accounts.dart +++ b/dialer/lib/features/settings/sim/settings_accounts.dart @@ -7,13 +7,13 @@ class SettingsAccountsPage extends StatelessWidget { void _navigateToAccountOption(BuildContext context, String option) { switch (option) { - case 'Choisir la SIM': + case 'Chose SIM card': Navigator.push( context, MaterialPageRoute(builder: (context) => const ChooseSimPage()), ); break; - case 'Paramètre SIM': + case 'SIM card parameters': Navigator.push( context, MaterialPageRoute(builder: (context) => const SimParametersPage()), @@ -27,14 +27,14 @@ class SettingsAccountsPage extends StatelessWidget { @override Widget build(BuildContext context) { final accountOptions = [ - 'Choisir la SIM', - 'Paramètre SIM', + 'Chose SIM card', + 'SIM card parameters', ]; return Scaffold( backgroundColor: Colors.black, appBar: AppBar( - title: const Text('Page des comptes téléphoniques'), + title: const Text('Sim settings'), ), body: ListView.builder( itemCount: accountOptions.length,