Skip to content

Commit

Permalink
Fix & clean up some strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed May 22, 2024
1 parent 1259bb5 commit 79a491f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions lib/Frontend/intn_defs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,21 +158,12 @@ String settingsNewsletterToggleSubTitle() => Intl.message('Automatically receive

String settingsAppColor() => Intl.message('App Color', name: 'settingsAppColor', desc: 'Settings page app color picker button title');

//Move List
String manageDevicesAutoMoveTitle() => Intl.message('Casual Mode', name: 'manageDevicesAutoMoveTitle', desc: 'Auto move toggle title when managing a device');

String manageDevicesAutoMoveSubTitle() => Intl.message('The tail will select a random move, pausing for a random number of seconds between each move', name: 'manageDevicesAutoMoveSubTitle', desc: 'Auto move toggle subtitle when managing a device');

String manageDevicesAutoMoveGroupsTitle() => Intl.message('Move Groups', name: 'manageDevicesAutoMoveGroupsTitle', desc: 'Auto move group selector title when managing a device');

String manageDevicesAutoMoveGroupsFast() => Intl.message('Fast', name: 'manageDevicesAutoMoveGroupsFast', desc: 'Auto move group fast option label when managing a device');

String manageDevicesAutoMoveGroupsCalm() => Intl.message('Calm', name: 'manageDevicesAutoMoveGroupsCalm', desc: 'Auto move group calm option label when managing a device');

String manageDevicesAutoMoveGroupsFrustrated() => Intl.message('Frustrated', name: 'manageDevicesAutoMoveGroupsFrustrated', desc: 'Auto move group frustrated option label when managing a device');

String manageDevicesAutoMovePauseTitle() => Intl.message('Pause between moves', name: 'manageDevicesAutoMovePauseTitle', desc: 'Auto move pause slider title when managing a device');

String manageDevicesBatteryGraphTitle() => Intl.message('Battery Graph', name: 'manageDevicesBatteryGraphTitle', desc: 'battery graph expansion tile title');

String manageDevicesDisconnect() => Intl.message('Disconnect', name: 'manageDevicesDisconnect', desc: 'manage devices disconnect button title when managing a device');
Expand Down
3 changes: 1 addition & 2 deletions lib/Frontend/pages/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ class _SettingsState extends ConsumerState<Settings> {
title: Divider(),
),
ListTile(
//This is handled separately as I was storing settings in a provider, which is unavailable during sentry init
title: Text(settingsAnalyticsToggleTitle()),
title: Text(settingsNewsletterToggleTitle()),
leading: const Icon(Icons.notifications),
subtitle: Text(settingsNewsletterToggleSubTitle()),
trailing: Switch(
Expand Down

0 comments on commit 79a491f

Please sign in to comment.