From c45424adaae5dcb50fbff2ce1899bf29a3798408 Mon Sep 17 00:00:00 2001 From: celsoazevedo Date: Tue, 24 Nov 2026 02:27:22 +0000 Subject: [PATCH 1/2] Settings actions: theme colours and filled confirm buttons Reboot and Delete All Paths rows use scheme.tertiary and scheme.error instead of fixed palette colours. Their dialogs use showConfirmClearDialog, which gains confirmLabel and warning options. Co-Authored-By: Claude Opus 5.5 --- documentation/design.md | 2 +- documentation/settings.md | 2 +- lib/screens/settings_screen.dart | 80 +++++++++------------------ lib/widgets/confirm_clear_dialog.dart | 44 ++++++++------- test/screens/settings_pages_test.dart | 49 ++++++++++++++++ 5 files changed, 103 insertions(+), 74 deletions(-) diff --git a/documentation/design.md b/documentation/design.md index a5fcfa9f..e3f5b7fb 100644 --- a/documentation/design.md +++ b/documentation/design.md @@ -156,7 +156,7 @@ Icon sizes in use: 24 for tile and banner icons, 20 for menu icons and small act - `FilledButton.tonal`: a secondary action that still needs weight (rare). - `OutlinedButton(.icon)`: secondary actions next to a filled one. - `TextButton`: Cancel and low-emphasis actions in dialogs; inline actions in cards. -- Destructive confirm: `FilledButton` with `backgroundColor: scheme.error`, `foregroundColor: scheme.onError` (`showConfirmClearDialog` in `widgets/confirm_clear_dialog.dart`), or a `TextButton` with `foregroundColor: scheme.error` when it is not the primary action. +- Destructive confirm: `FilledButton` with `backgroundColor: scheme.error`, `foregroundColor: scheme.onError` (`showConfirmClearDialog` in `widgets/confirm_clear_dialog.dart`), or a `TextButton` with `foregroundColor: scheme.error` when it is not the primary action. Use `showConfirmClearDialog(confirmLabel:)` for any confirm dialog; `warning: true` makes the button `scheme.tertiary` for disruptive, non-destructive actions (Reboot in Settings). - Dialog action order: Cancel first, primary last. - Avoid `ElevatedButton` in new code. diff --git a/documentation/settings.md b/documentation/settings.md index 0bb7a47c..bdd2e323 100644 --- a/documentation/settings.md +++ b/documentation/settings.md @@ -210,7 +210,7 @@ One-tap device operations: | Sync Time | Sends current Unix timestamp to the device | | Refresh Contacts | Re-requests the full contact list | | Reboot Device | Confirmation dialog → reboots the device (shown in warning color) | -| Delete All Paths | Confirmation dialog → clears all stored routing paths (shown in alert color) | +| Delete All Paths | Confirmation dialog → clears all stored routing paths (shown in error color) | --- diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dart index fb4bd1f4..f5c54c4c 100644 --- a/lib/screens/settings_screen.dart +++ b/lib/screens/settings_screen.dart @@ -7,6 +7,7 @@ import '../connector/meshcore_protocol.dart'; import '../l10n/l10n.dart'; import '../theme/mesh_theme.dart'; import '../helpers/snack_bar_builder.dart'; +import '../widgets/confirm_clear_dialog.dart'; import '../widgets/mesh_nav_tile.dart'; import '../widgets/adaptive_app_bar_title.dart'; import '../widgets/mesh_ui.dart'; @@ -621,6 +622,7 @@ class _SettingsScreenState extends State { MeshCoreConnector connector, ) { final l10n = context.l10n; + final scheme = Theme.of(context).colorScheme; final connected = connector.isConnected; final offline = l10n.settings_requiresConnection; return Column( @@ -643,8 +645,8 @@ class _SettingsScreenState extends State { icon: Icons.restart_alt, title: l10n.settings_rebootDevice, subtitle: connected ? l10n.settings_rebootDeviceSubtitle : offline, - titleColor: MeshPalette.warn, - iconColor: MeshPalette.warn, + titleColor: scheme.tertiary, + iconColor: scheme.tertiary, onTap: connected ? () => _confirmReboot(context, connector) : null, ), const Divider(height: 1, indent: 16), @@ -652,8 +654,8 @@ class _SettingsScreenState extends State { icon: Icons.delete_outline, title: l10n.settings_deleteAllPaths, subtitle: l10n.settings_deleteAllPathsSubtitle, - titleColor: MeshPalette.alert, - iconColor: MeshPalette.alert, + titleColor: scheme.error, + iconColor: scheme.error, onTap: () => _confirmDeleteAllPaths(context, connector), ), ], @@ -717,62 +719,34 @@ class _SettingsScreenState extends State { } } - void _confirmDeleteAllPaths( + Future _confirmDeleteAllPaths( BuildContext context, MeshCoreConnector connector, - ) { + ) async { final l10n = context.l10n; - showDialog( - context: context, - builder: (context) => AlertDialog( - title: Text(l10n.settings_deleteAllPaths), - content: Text(l10n.settings_deleteAllPathsSubtitle), - actions: [ - TextButton( - onPressed: () => Navigator.pop(context), - child: Text(l10n.common_cancel), - ), - TextButton( - onPressed: () { - Navigator.pop(context); - connector.deleteAllPaths(); - }, - child: Text( - l10n.common_deleteAll, - style: TextStyle(color: Theme.of(context).colorScheme.error), - ), - ), - ], - ), + final confirmed = await showConfirmClearDialog( + context, + title: l10n.settings_deleteAllPaths, + message: l10n.settings_deleteAllPathsSubtitle, + confirmLabel: l10n.common_deleteAll, ); + if (confirmed) connector.deleteAllPaths(); } - void _confirmReboot(BuildContext context, MeshCoreConnector connector) { + Future _confirmReboot( + BuildContext context, + MeshCoreConnector connector, + ) async { final l10n = context.l10n; - final screenContext = context; - showDialog( - context: context, - builder: (context) => AlertDialog( - title: Text(l10n.settings_rebootDevice), - content: Text(l10n.settings_rebootDeviceConfirm), - actions: [ - TextButton( - onPressed: () => Navigator.pop(context), - child: Text(l10n.common_cancel), - ), - TextButton( - onPressed: () { - Navigator.pop(context); - if (!_ensureConnected(screenContext, connector)) return; - connector.rebootDevice(); - }, - child: Text( - l10n.common_reboot, - style: TextStyle(color: Theme.of(context).colorScheme.tertiary), - ), - ), - ], - ), + final confirmed = await showConfirmClearDialog( + context, + title: l10n.settings_rebootDevice, + message: l10n.settings_rebootDeviceConfirm, + confirmLabel: l10n.common_reboot, + warning: true, ); + if (!confirmed || !context.mounted) return; + if (!_ensureConnected(context, connector)) return; + connector.rebootDevice(); } } diff --git a/lib/widgets/confirm_clear_dialog.dart b/lib/widgets/confirm_clear_dialog.dart index d1d046e8..384efbb5 100644 --- a/lib/widgets/confirm_clear_dialog.dart +++ b/lib/widgets/confirm_clear_dialog.dart @@ -2,34 +2,40 @@ import 'package:flutter/material.dart'; import '../l10n/l10n.dart'; -/// Asks the user to confirm clearing a log or history. Resolves to true only -/// when the user taps Clear. +/// Asks the user to confirm a destructive action (Clear by default). Resolves +/// to true only when the user taps the confirm button. [warning] uses the +/// amber warning colour instead of red. Future showConfirmClearDialog( BuildContext context, { required String title, required String message, + String? confirmLabel, + bool warning = false, }) async { final l10n = context.l10n; final confirmed = await showDialog( context: context, - builder: (dialogContext) => AlertDialog( - title: Text(title), - content: Text(message), - actions: [ - TextButton( - onPressed: () => Navigator.pop(dialogContext, false), - child: Text(l10n.common_cancel), - ), - FilledButton( - onPressed: () => Navigator.pop(dialogContext, true), - style: FilledButton.styleFrom( - backgroundColor: Theme.of(dialogContext).colorScheme.error, - foregroundColor: Theme.of(dialogContext).colorScheme.onError, + builder: (dialogContext) { + final scheme = Theme.of(dialogContext).colorScheme; + return AlertDialog( + title: Text(title), + content: Text(message), + actions: [ + TextButton( + onPressed: () => Navigator.pop(dialogContext, false), + child: Text(l10n.common_cancel), ), - child: Text(l10n.common_clear), - ), - ], - ), + FilledButton( + onPressed: () => Navigator.pop(dialogContext, true), + style: FilledButton.styleFrom( + backgroundColor: warning ? scheme.tertiary : scheme.error, + foregroundColor: warning ? scheme.onTertiary : scheme.onError, + ), + child: Text(confirmLabel ?? l10n.common_clear), + ), + ], + ); + }, ); return confirmed == true; } diff --git a/test/screens/settings_pages_test.dart b/test/screens/settings_pages_test.dart index 51d5713b..03cffb93 100644 --- a/test/screens/settings_pages_test.dart +++ b/test/screens/settings_pages_test.dart @@ -281,6 +281,55 @@ void main() { await tester.pumpWidget(const SizedBox()); }); + testWidgets('Reboot and Delete All Paths use theme colours and confirm', ( + tester, + ) async { + final connector = await _connectedConnector(tester); + Future settle() async { + for (var i = 0; i < 8; i++) { + await tester.pump(const Duration(milliseconds: 100)); + } + } + + await tester.pumpWidget(_app(connector, const SettingsScreen())); + await settle(); + final scheme = Theme.of( + tester.element(find.byType(SettingsScreen)), + ).colorScheme; + + final rows = { + _l10n.settings_rebootDevice: (_l10n.common_reboot, scheme.tertiary), + _l10n.settings_deleteAllPaths: (_l10n.common_deleteAll, scheme.error), + }; + for (final MapEntry(key: title, value: (label, color)) in rows.entries) { + await tester.scrollUntilVisible( + find.text(title), + 200, + scrollable: find + .descendant( + of: find.byType(ListView), + matching: find.byType(Scrollable), + ) + .first, + ); + await settle(); + expect(tester.widget(find.text(title)).style?.color, color); + + await tester.tap(find.text(title)); + await settle(); + final confirm = tester.widget( + find.widgetWithText(FilledButton, label), + ); + expect(confirm.style?.backgroundColor?.resolve({}), color, reason: title); + + // Cancel, so the review radio isn't rebooted. + await tester.tap(find.text(_l10n.common_cancel)); + await settle(); + expect(find.byType(AlertDialog), findsNothing, reason: title); + } + await tester.pumpWidget(const SizedBox()); + }); + testWidgets('Radio Settings shows Save only while something differs', ( tester, ) async { From 5b74383d105f144c1c13e5f68b0675456e5f65eb Mon Sep 17 00:00:00 2001 From: celsoazevedo Date: Tue, 24 Nov 2026 04:47:13 +0000 Subject: [PATCH 2/2] Settings actions: messages and radio progress Every action ends with a short message: Sync Time ("Time sent to the radio"), Refresh Contacts, Reboot and Delete All Paths. While Refresh Contacts or Reboot wait for the radio, the row shows a spinner (MeshNavTile busy) and the app bar the shared progress bar. Delete All Paths now says it clears the app's path history. Co-Authored-By: Claude Opus 5.5 --- documentation/design.md | 6 +- documentation/settings.md | 8 +- lib/l10n/app_bg.arb | 8 +- lib/l10n/app_cs.arb | 8 +- lib/l10n/app_de.arb | 8 +- lib/l10n/app_en.arb | 8 +- lib/l10n/app_es.arb | 8 +- lib/l10n/app_fr.arb | 8 +- lib/l10n/app_hu.arb | 8 +- lib/l10n/app_it.arb | 8 +- lib/l10n/app_ja.arb | 8 +- lib/l10n/app_ko.arb | 8 +- lib/l10n/app_localizations.dart | 32 +++++++- lib/l10n/app_localizations_bg.dart | 17 ++++- lib/l10n/app_localizations_cs.dart | 16 +++- lib/l10n/app_localizations_de.dart | 17 ++++- lib/l10n/app_localizations_en.dart | 16 +++- lib/l10n/app_localizations_es.dart | 17 ++++- lib/l10n/app_localizations_fr.dart | 17 ++++- lib/l10n/app_localizations_hu.dart | 17 ++++- lib/l10n/app_localizations_it.dart | 17 ++++- lib/l10n/app_localizations_ja.dart | 16 +++- lib/l10n/app_localizations_ko.dart | 16 +++- lib/l10n/app_localizations_nl.dart | 17 ++++- lib/l10n/app_localizations_pl.dart | 16 +++- lib/l10n/app_localizations_pt.dart | 34 ++++++++- lib/l10n/app_localizations_ru.dart | 17 ++++- lib/l10n/app_localizations_sk.dart | 16 +++- lib/l10n/app_localizations_sl.dart | 17 ++++- lib/l10n/app_localizations_sv.dart | 16 +++- lib/l10n/app_localizations_uk.dart | 17 ++++- lib/l10n/app_localizations_zh.dart | 16 +++- lib/l10n/app_nl.arb | 8 +- lib/l10n/app_pl.arb | 8 +- lib/l10n/app_pt.arb | 8 +- lib/l10n/app_pt_PT.arb | 8 +- lib/l10n/app_ru.arb | 8 +- lib/l10n/app_sk.arb | 8 +- lib/l10n/app_sl.arb | 8 +- lib/l10n/app_sv.arb | 8 +- lib/l10n/app_uk.arb | 8 +- lib/l10n/app_zh.arb | 8 +- lib/screens/settings_screen.dart | 101 +++++++++++++++++++++++-- lib/widgets/mesh_nav_tile.dart | 21 ++++- lib/widgets/sync_progress_overlay.dart | 12 ++- test/screens/settings_pages_test.dart | 69 +++++++++++++++++ 46 files changed, 637 insertions(+), 104 deletions(-) diff --git a/documentation/design.md b/documentation/design.md index e3f5b7fb..4b07c26d 100644 --- a/documentation/design.md +++ b/documentation/design.md @@ -146,7 +146,7 @@ Icon sizes in use: 24 for tile and banner icons, 20 for menu icons and small act | Empty list | `EmptyState(icon:, title:, subtitle:, action:)` | Scrolls rather than overflowing at large text | | Inline error with retry | `ErrorRetryCard(message:, onRetry:, retryLabel:)` | Pass `retryLabel: context.l10n.common_retry` | | Radio offline on a remote-node screen | `RadioDisconnectedBanner` | Renders nothing while connected | -| Progress bar | `MeshProgressBar`; `MeshProgressAppBarBottom` as an app bar `bottom`; `SyncProgressAppBarBottom` for the app syncs (`widgets/sync_progress_overlay.dart`) | See [Progress bars](#progress-bars) | +| Progress bar | `MeshProgressBar`; `MeshProgressAppBarBottom` as an app bar `bottom`; `SyncProgressAppBarBottom` for the app syncs, with `busy: true` while the screen waits for the radio (Settings actions) (`widgets/sync_progress_overlay.dart`) | See [Progress bars](#progress-bars) | | Toast message | `showDismissibleSnackBar(context, content: Text(...))` | Tap to dismiss, replaces the current snackbar, safe after an async gap | | List item entrance | `ListEntrance(index:)` | Optional. Plays only for rows built while the list is at rest at the top; rows scrolled into view appear at once | @@ -290,7 +290,7 @@ That is the Contacts list and its group member picker, Discovery, Map node searc | State | How to show it | |---|---| | Loading, nothing to show yet | `Center(child: CircularProgressIndicator())`, only until the first data arrives; then show partial data (`channels_screen.dart`). | -| Loading in place | Swap the control's icon for an 18×18 `CircularProgressIndicator(strokeWidth: 2)` and disable it (`_buildRefreshButton` in `repeater_settings_screen.dart`). | +| Loading in place | Swap the control's icon for an 18×18 `CircularProgressIndicator(strokeWidth: 2)` and disable it (`_buildRefreshButton` in `repeater_settings_screen.dart`). A settings row that runs a radio command keeps its chevron and uses `MeshNavTile(busy: true)` while it waits: the chevron becomes the spinner and taps are ignored, with `SyncProgressAppBarBottom(busy: true)` in the app bar (Settings actions). | | Background sync | `SyncProgressAppBarBottom`. | | Waiting for the radio | The control's 18×18 spinner and the screen's top bar, moving. See [Progress bars](#progress-bars). | | Empty | `EmptyState` with an icon, a short title, and an action when there is an obvious next step. Use a separate "no results" state (`Icons.search_off`) when a search or filter hides everything. | @@ -352,7 +352,7 @@ The current code does not yet follow this page everywhere: - **Menu rows not using `MeshMenuItemRow`.** `channel_chat_screen.dart` bulk-select menu (Select all / Copy) puts a `ListTile` inside `PopupMenuItem`. `widgets/list_filter_widget.dart` and the group menu in `contacts_screen.dart` use plain `Text` items, which is acceptable for icon-less lists but does not limit wrapping. - **Tile titles without `MeshSettingsTileTheme`.** Backup & Restore (`CheckboxListTile`) and Themes (`SwitchListTile`) do not wrap their body in it, so those titles are not semibold like the other settings rows. - **Bars inside content.** The map cache download bar (`map_cache_screen.dart`) uses a fixed `MeshPalette.blue`. -- **Radio waits not shown yet.** In Settings actions, Sync Time and Reboot show nothing while sending, and Refresh Contacts shows only the sync bar. `SaveToRadioPage` pages show the Save spinner but no top bar. Other radio actions are not reviewed yet. +- **Radio waits not shown yet.** `SaveToRadioPage` pages show the Save spinner but no top bar. Other radio actions are not reviewed yet. - **`ErrorRetryCard` is unused** and its fallback label is the hard-coded English `'Retry'` (`mesh_ui.dart`); screens show load errors in their own ways. - **Fixed-width label boxes.** `chat_screen.dart` `_buildInfoRow` (80px), `line_of_sight_map_screen.dart` endpoint label (54px, `fontSize: 12`), `channel_message_path_screen.dart` (72px, upper-cased `accentLabel` at its 11px default). - **11px text.** `MeshTheme.accentLabel()` without `fontSize` gives 11px in `channel_message_path_screen.dart`. The type scale's `labelSmall` (11) is used in `list_filter_widget.dart` section titles. diff --git a/documentation/settings.md b/documentation/settings.md index bdd2e323..03049e10 100644 --- a/documentation/settings.md +++ b/documentation/settings.md @@ -203,14 +203,14 @@ On the Settings screen, below App Settings, **Message filter** opens a page to h ## Actions -One-tap device operations: +One-tap device operations. While an action waits for the radio, its row shows a spinner and the app bar a progress bar. Each action ends with a short message. | Action | Description | |---|---| -| Sync Time | Sends current Unix timestamp to the device | +| Sync Time | Sends the phone's time to the radio | | Refresh Contacts | Re-requests the full contact list | -| Reboot Device | Confirmation dialog → reboots the device (shown in warning color) | -| Delete All Paths | Confirmation dialog → clears all stored routing paths (shown in error color) | +| Reboot Device | Confirmation dialog → reboots the device; a message confirms the command was sent (shown in warning color) | +| Delete All Paths | Confirmation dialog → clears the app's path history for all contacts, not the paths stored on the radio (shown in error color) | --- diff --git a/lib/l10n/app_bg.arb b/lib/l10n/app_bg.arb index 90b8c6fe..7543d896 100644 --- a/lib/l10n/app_bg.arb +++ b/lib/l10n/app_bg.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Режим на поверителност е деактивиран", "settings_actions": "Действия", "settings_deleteAllPaths": "Изтрий всички пътища", - "settings_deleteAllPathsSubtitle": "Изчисти всички данни за пътищата от контактите", + "settings_deleteAllPathsSubtitle": "Изчисти историята на пътищата в приложението за всички контакти", + "settings_allPathsDeleted": "Пътищата са изтрити", + "settings_contactsRefreshed": "Контактите са презаредени", + "settings_rebootSent": "Рестартирането е изпратено. Радиото ще прекъсне връзката.", "settings_sendAdvertisement": "Изпрати обява", "settings_sendAdvertisementSubtitle": "Излъчи присъствието сега", "settings_advertisementSent": "Обявата е изпратена", "settings_syncTime": "Време за синхронизация", "settings_syncTimeSubtitle": "Задайте часовника на устройството да отговаря на времето на телефона", - "settings_timeSynchronized": "Синхронизирано във времето", + "settings_timeSent": "Часът е изпратен към радиото", + "settings_radioNoReply": "Няма отговор от радиото", "settings_refreshContacts": "Презареди контакти", "settings_refreshContactsSubtitle": "Презареди списъка с контакти от устройството", "settings_rebootDevice": "Рестартирай устройството", diff --git a/lib/l10n/app_cs.arb b/lib/l10n/app_cs.arb index 507e4a3e..27474262 100644 --- a/lib/l10n/app_cs.arb +++ b/lib/l10n/app_cs.arb @@ -288,13 +288,17 @@ "settings_telemetryModeUpdated": "Režim telemetrie aktualizován", "settings_actions": "Akce", "settings_deleteAllPaths": "Smazat všechny cesty", - "settings_deleteAllPathsSubtitle": "Vymazat všechna data cest z kontaktů", + "settings_deleteAllPathsSubtitle": "Vymazat historii cest v aplikaci pro všechny kontakty", + "settings_allPathsDeleted": "Cesty smazány", + "settings_contactsRefreshed": "Kontakty obnoveny", + "settings_rebootSent": "Restart odeslán. Rádio se odpojí.", "settings_sendAdvertisement": "Odeslat advert", "settings_sendAdvertisementSubtitle": "Ihned oznámit svou přítomnost", "settings_advertisementSent": "Advert odeslán", "settings_syncTime": "Synchronizovat čas", "settings_syncTimeSubtitle": "Nastavit hodiny zařízení podle času telefonu", - "settings_timeSynchronized": "Čas synchronizován", + "settings_timeSent": "Čas odeslán do rádia", + "settings_radioNoReply": "Rádio neodpovídá", "settings_refreshContacts": "Obnovit kontakty", "settings_refreshContactsSubtitle": "Znovu načíst seznam kontaktů ze zařízení", "settings_rebootDevice": "Restartovat zařízení", diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index 19fd6939..04b7274f 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Privatsphärenmodus deaktiviert", "settings_actions": "Aktionen", "settings_deleteAllPaths": "Alle Pfade löschen", - "settings_deleteAllPathsSubtitle": "Alle Pfaddaten aus den Kontakten entfernen", + "settings_deleteAllPathsSubtitle": "Pfadverlauf der App für alle Kontakte löschen", + "settings_allPathsDeleted": "Pfade gelöscht", + "settings_contactsRefreshed": "Kontakte aktualisiert", + "settings_rebootSent": "Neustart gesendet. Das Funkgerät trennt die Verbindung.", "settings_sendAdvertisement": "Ankündigung senden", "settings_sendAdvertisementSubtitle": "Präsenz jetzt senden", "settings_advertisementSent": "Ankündigung gesendet", "settings_syncTime": "Zeit synchronisieren", "settings_syncTimeSubtitle": "Geräteuhr auf die Zeit des Telefons setzen", - "settings_timeSynchronized": "Zeit synchronisiert", + "settings_timeSent": "Zeit an das Funkgerät gesendet", + "settings_radioNoReply": "Keine Antwort vom Funkgerät", "settings_refreshContacts": "Kontakte aktualisieren", "settings_refreshContactsSubtitle": "Kontaktliste vom Gerät neu laden", "settings_rebootDevice": "Gerät neu starten", diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 1a6893be..1c31bef5 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -365,13 +365,17 @@ "settings_telemetryModeUpdated": "Telemetry mode updated", "settings_actions": "Actions", "settings_deleteAllPaths": "Delete All Paths", - "settings_deleteAllPathsSubtitle": "Clear all path data from contacts", + "settings_deleteAllPathsSubtitle": "Clear the app's path history for all contacts", + "settings_allPathsDeleted": "Paths deleted", + "settings_contactsRefreshed": "Contacts refreshed", + "settings_rebootSent": "Reboot sent. The radio will disconnect.", "settings_sendAdvertisement": "Send Advertisement", "settings_sendAdvertisementSubtitle": "Broadcast presence now", "settings_advertisementSent": "Advertisement sent", "settings_syncTime": "Sync Time", "settings_syncTimeSubtitle": "Set device clock to phone time", - "settings_timeSynchronized": "Time synchronized", + "settings_timeSent": "Time sent to the radio", + "settings_radioNoReply": "No reply from the radio", "settings_refreshContacts": "Refresh Contacts", "settings_refreshContactsSubtitle": "Reload contact list from device", "settings_rebootDevice": "Reboot Device", diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb index ff107824..9fba4593 100644 --- a/lib/l10n/app_es.arb +++ b/lib/l10n/app_es.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Modo de privacidad desactivado", "settings_actions": "Acciones", "settings_deleteAllPaths": "Eliminar todas las rutas", - "settings_deleteAllPathsSubtitle": "Borrar todos los datos de ruta de los contactos", + "settings_deleteAllPathsSubtitle": "Borrar el historial de rutas de la app para todos los contactos", + "settings_allPathsDeleted": "Rutas eliminadas", + "settings_contactsRefreshed": "Contactos actualizados", + "settings_rebootSent": "Reinicio enviado. La radio se desconectará.", "settings_sendAdvertisement": "Enviar anuncio", "settings_sendAdvertisementSubtitle": "Difundir la presencia ahora", "settings_advertisementSent": "Anuncio enviado", "settings_syncTime": "Sincronizar hora", "settings_syncTimeSubtitle": "Establecer la hora del dispositivo con la del teléfono", - "settings_timeSynchronized": "Hora sincronizada", + "settings_timeSent": "Hora enviada a la radio", + "settings_radioNoReply": "Sin respuesta de la radio", "settings_refreshContacts": "Actualizar contactos", "settings_refreshContactsSubtitle": "Recargar lista de contactos del dispositivo", "settings_rebootDevice": "Reiniciar dispositivo", diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index 393797fb..6d5bfccf 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Mode de confidentialité désactivé", "settings_actions": "Actions", "settings_deleteAllPaths": "Supprimer tous les chemins", - "settings_deleteAllPathsSubtitle": "Effacer toutes les données de chemin des contacts", + "settings_deleteAllPathsSubtitle": "Effacer l'historique des chemins de l'app pour tous les contacts", + "settings_allPathsDeleted": "Chemins supprimés", + "settings_contactsRefreshed": "Contacts actualisés", + "settings_rebootSent": "Redémarrage envoyé. La radio va se déconnecter.", "settings_sendAdvertisement": "S'annoncer", "settings_sendAdvertisementSubtitle": "Diffuser la présence maintenant", "settings_advertisementSent": "Annonce envoyée", "settings_syncTime": "Synchroniser l'heure", "settings_syncTimeSubtitle": "Régler l'heure de l'appareil sur celle du téléphone", - "settings_timeSynchronized": "Heure synchronisée", + "settings_timeSent": "Heure envoyée à la radio", + "settings_radioNoReply": "Pas de réponse de la radio", "settings_refreshContacts": "Actualiser les contacts", "settings_refreshContactsSubtitle": "Recharger la liste des contacts depuis l'appareil", "settings_rebootDevice": "Redémarrer l'appareil", diff --git a/lib/l10n/app_hu.arb b/lib/l10n/app_hu.arb index d1db6dc5..01a54f87 100644 --- a/lib/l10n/app_hu.arb +++ b/lib/l10n/app_hu.arb @@ -187,13 +187,17 @@ "settings_privacyModeDisabled": "Az adatvédelmi mód letiltva", "settings_actions": "Akciók", "settings_deleteAllPaths": "Az összes elérési út törlése", - "settings_deleteAllPathsSubtitle": "Törölje az összes elérési utat a névjegyekből", + "settings_deleteAllPathsSubtitle": "Az alkalmazás elérési út előzményeinek törlése minden kapcsolatnál", + "settings_allPathsDeleted": "Elérési utak törölve", + "settings_contactsRefreshed": "Névjegyek frissítve", + "settings_rebootSent": "Újraindítás elküldve. A rádió bontja a kapcsolatot.", "settings_sendAdvertisement": "Hirdetés küldése", "settings_sendAdvertisementSubtitle": "Jelenlét a közvetítésben most", "settings_advertisementSent": "Hirdetés elküldve", "settings_syncTime": "Szinkronizálási idő", "settings_syncTimeSubtitle": "Az eszköz órájának beállítása a telefon idejére", - "settings_timeSynchronized": "Idő szinkronizálva", + "settings_timeSent": "Idő elküldve a rádiónak", + "settings_radioNoReply": "Nincs válasz a rádiótól", "settings_refreshContacts": "Névjegyek frissítése", "settings_refreshContactsSubtitle": "Névjegylista újratöltése az eszközről", "settings_rebootDevice": "Eszköz újraindítása", diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arb index 12366623..51486d9c 100644 --- a/lib/l10n/app_it.arb +++ b/lib/l10n/app_it.arb @@ -121,13 +121,17 @@ "settings_privacyModeDisabled": "Modalità privacy disabilitata", "settings_actions": "Azioni", "settings_deleteAllPaths": "Elimina tutti i percorsi", - "settings_deleteAllPathsSubtitle": "Cancella tutti i dati di percorso dai contatti", + "settings_deleteAllPathsSubtitle": "Cancella la cronologia dei percorsi dell'app per tutti i contatti", + "settings_allPathsDeleted": "Percorsi eliminati", + "settings_contactsRefreshed": "Contatti aggiornati", + "settings_rebootSent": "Riavvio inviato. La radio si disconnetterà.", "settings_sendAdvertisement": "Invia annuncio", "settings_sendAdvertisementSubtitle": "Trasmetti ora la presenza", "settings_advertisementSent": "Annuncio inviato", "settings_syncTime": "Sincronizza ora", "settings_syncTimeSubtitle": "Imposta l'orologio del dispositivo sull'ora del telefono", - "settings_timeSynchronized": "Ora sincronizzata", + "settings_timeSent": "Ora inviata alla radio", + "settings_radioNoReply": "Nessuna risposta dalla radio", "settings_refreshContacts": "Aggiorna contatti", "settings_refreshContactsSubtitle": "Ricarica l'elenco dei contatti dal dispositivo", "settings_rebootDevice": "Riavvia dispositivo", diff --git a/lib/l10n/app_ja.arb b/lib/l10n/app_ja.arb index b49fe02d..77a05f17 100644 --- a/lib/l10n/app_ja.arb +++ b/lib/l10n/app_ja.arb @@ -193,13 +193,17 @@ "settings_privacyModeDisabled": "プライバシーモードは無効です", "settings_actions": "操作", "settings_deleteAllPaths": "すべての経路を削除", - "settings_deleteAllPathsSubtitle": "連絡先からすべての経路データを消去します", + "settings_deleteAllPathsSubtitle": "すべての連絡先について、アプリの経路履歴を消去します", + "settings_allPathsDeleted": "経路を削除しました", + "settings_contactsRefreshed": "連絡先を更新しました", + "settings_rebootSent": "再起動を送信しました。ラジオとの接続が切れます。", "settings_sendAdvertisement": "アドバートを送信", "settings_sendAdvertisementSubtitle": "現在の存在を送信します", "settings_advertisementSent": "アドバートを送信しました", "settings_syncTime": "時刻を同期", "settings_syncTimeSubtitle": "デバイスの時刻をスマートフォンに合わせます", - "settings_timeSynchronized": "時刻を同期しました", + "settings_timeSent": "時刻をラジオに送信しました", + "settings_radioNoReply": "ラジオから応答がありません", "settings_refreshContacts": "連絡先を更新", "settings_refreshContactsSubtitle": "デバイスから連絡先リストを再読み込みします", "settings_rebootDevice": "デバイスを再起動", diff --git a/lib/l10n/app_ko.arb b/lib/l10n/app_ko.arb index 9e9b84d1..b4739f42 100644 --- a/lib/l10n/app_ko.arb +++ b/lib/l10n/app_ko.arb @@ -187,13 +187,17 @@ "settings_privacyModeDisabled": "개인 정보 보호 모드 비활성화", "settings_actions": "행동", "settings_deleteAllPaths": "모든 경로 삭제", - "settings_deleteAllPathsSubtitle": "연락처의 모든 경로 데이터를 지웁니다", + "settings_deleteAllPathsSubtitle": "모든 연락처에 대한 앱의 경로 기록을 지웁니다", + "settings_allPathsDeleted": "경로를 삭제했습니다", + "settings_contactsRefreshed": "연락처를 새로고침했습니다", + "settings_rebootSent": "재부팅을 보냈습니다. 라디오 연결이 끊어집니다.", "settings_sendAdvertisement": "어드버트 전송", "settings_sendAdvertisementSubtitle": "현재 존재를 방송합니다.", "settings_advertisementSent": "어드버트가 전송되었습니다.", "settings_syncTime": "시간 동기화", "settings_syncTimeSubtitle": "장치 시계를 휴대폰 시간으로 설정", - "settings_timeSynchronized": "시간이 동기화되었습니다.", + "settings_timeSent": "시간을 라디오로 보냈습니다", + "settings_radioNoReply": "라디오에서 응답이 없습니다", "settings_refreshContacts": "연락처 새로고침", "settings_refreshContactsSubtitle": "장치에서 연락처 목록을 다시 불러오기", "settings_rebootDevice": "장치 재부팅", diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 3e3163ac..b3a5b04d 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -1672,9 +1672,27 @@ abstract class AppLocalizations { /// No description provided for @settings_deleteAllPathsSubtitle. /// /// In en, this message translates to: - /// **'Clear all path data from contacts'** + /// **'Clear the app\'s path history for all contacts'** String get settings_deleteAllPathsSubtitle; + /// No description provided for @settings_allPathsDeleted. + /// + /// In en, this message translates to: + /// **'Paths deleted'** + String get settings_allPathsDeleted; + + /// No description provided for @settings_contactsRefreshed. + /// + /// In en, this message translates to: + /// **'Contacts refreshed'** + String get settings_contactsRefreshed; + + /// No description provided for @settings_rebootSent. + /// + /// In en, this message translates to: + /// **'Reboot sent. The radio will disconnect.'** + String get settings_rebootSent; + /// No description provided for @settings_sendAdvertisement. /// /// In en, this message translates to: @@ -1705,11 +1723,17 @@ abstract class AppLocalizations { /// **'Set device clock to phone time'** String get settings_syncTimeSubtitle; - /// No description provided for @settings_timeSynchronized. + /// No description provided for @settings_timeSent. /// /// In en, this message translates to: - /// **'Time synchronized'** - String get settings_timeSynchronized; + /// **'Time sent to the radio'** + String get settings_timeSent; + + /// No description provided for @settings_radioNoReply. + /// + /// In en, this message translates to: + /// **'No reply from the radio'** + String get settings_radioNoReply; /// No description provided for @settings_refreshContacts. /// diff --git a/lib/l10n/app_localizations_bg.dart b/lib/l10n/app_localizations_bg.dart index 83234cc3..6debe08f 100644 --- a/lib/l10n/app_localizations_bg.dart +++ b/lib/l10n/app_localizations_bg.dart @@ -902,7 +902,17 @@ class AppLocalizationsBg extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Изчисти всички данни за пътищата от контактите'; + 'Изчисти историята на пътищата в приложението за всички контакти'; + + @override + String get settings_allPathsDeleted => 'Пътищата са изтрити'; + + @override + String get settings_contactsRefreshed => 'Контактите са презаредени'; + + @override + String get settings_rebootSent => + 'Рестартирането е изпратено. Радиото ще прекъсне връзката.'; @override String get settings_sendAdvertisement => 'Изпрати обява'; @@ -921,7 +931,10 @@ class AppLocalizationsBg extends AppLocalizations { 'Задайте часовника на устройството да отговаря на времето на телефона'; @override - String get settings_timeSynchronized => 'Синхронизирано във времето'; + String get settings_timeSent => 'Часът е изпратен към радиото'; + + @override + String get settings_radioNoReply => 'Няма отговор от радиото'; @override String get settings_refreshContacts => 'Презареди контакти'; diff --git a/lib/l10n/app_localizations_cs.dart b/lib/l10n/app_localizations_cs.dart index 20439606..85a56f5f 100644 --- a/lib/l10n/app_localizations_cs.dart +++ b/lib/l10n/app_localizations_cs.dart @@ -889,7 +889,16 @@ class AppLocalizationsCs extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Vymazat všechna data cest z kontaktů'; + 'Vymazat historii cest v aplikaci pro všechny kontakty'; + + @override + String get settings_allPathsDeleted => 'Cesty smazány'; + + @override + String get settings_contactsRefreshed => 'Kontakty obnoveny'; + + @override + String get settings_rebootSent => 'Restart odeslán. Rádio se odpojí.'; @override String get settings_sendAdvertisement => 'Odeslat advert'; @@ -909,7 +918,10 @@ class AppLocalizationsCs extends AppLocalizations { 'Nastavit hodiny zařízení podle času telefonu'; @override - String get settings_timeSynchronized => 'Čas synchronizován'; + String get settings_timeSent => 'Čas odeslán do rádia'; + + @override + String get settings_radioNoReply => 'Rádio neodpovídá'; @override String get settings_refreshContacts => 'Obnovit kontakty'; diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index ee3413f2..8691e20d 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -900,7 +900,17 @@ class AppLocalizationsDe extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Alle Pfaddaten aus den Kontakten entfernen'; + 'Pfadverlauf der App für alle Kontakte löschen'; + + @override + String get settings_allPathsDeleted => 'Pfade gelöscht'; + + @override + String get settings_contactsRefreshed => 'Kontakte aktualisiert'; + + @override + String get settings_rebootSent => + 'Neustart gesendet. Das Funkgerät trennt die Verbindung.'; @override String get settings_sendAdvertisement => 'Ankündigung senden'; @@ -919,7 +929,10 @@ class AppLocalizationsDe extends AppLocalizations { 'Geräteuhr auf die Zeit des Telefons setzen'; @override - String get settings_timeSynchronized => 'Zeit synchronisiert'; + String get settings_timeSent => 'Zeit an das Funkgerät gesendet'; + + @override + String get settings_radioNoReply => 'Keine Antwort vom Funkgerät'; @override String get settings_refreshContacts => 'Kontakte aktualisieren'; diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index b14446ff..20fb4f55 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -882,7 +882,16 @@ class AppLocalizationsEn extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Clear all path data from contacts'; + 'Clear the app\'s path history for all contacts'; + + @override + String get settings_allPathsDeleted => 'Paths deleted'; + + @override + String get settings_contactsRefreshed => 'Contacts refreshed'; + + @override + String get settings_rebootSent => 'Reboot sent. The radio will disconnect.'; @override String get settings_sendAdvertisement => 'Send Advertisement'; @@ -900,7 +909,10 @@ class AppLocalizationsEn extends AppLocalizations { String get settings_syncTimeSubtitle => 'Set device clock to phone time'; @override - String get settings_timeSynchronized => 'Time synchronized'; + String get settings_timeSent => 'Time sent to the radio'; + + @override + String get settings_radioNoReply => 'No reply from the radio'; @override String get settings_refreshContacts => 'Refresh Contacts'; diff --git a/lib/l10n/app_localizations_es.dart b/lib/l10n/app_localizations_es.dart index 659221d3..97de6938 100644 --- a/lib/l10n/app_localizations_es.dart +++ b/lib/l10n/app_localizations_es.dart @@ -897,7 +897,17 @@ class AppLocalizationsEs extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Borrar todos los datos de ruta de los contactos'; + 'Borrar el historial de rutas de la app para todos los contactos'; + + @override + String get settings_allPathsDeleted => 'Rutas eliminadas'; + + @override + String get settings_contactsRefreshed => 'Contactos actualizados'; + + @override + String get settings_rebootSent => + 'Reinicio enviado. La radio se desconectará.'; @override String get settings_sendAdvertisement => 'Enviar anuncio'; @@ -917,7 +927,10 @@ class AppLocalizationsEs extends AppLocalizations { 'Establecer la hora del dispositivo con la del teléfono'; @override - String get settings_timeSynchronized => 'Hora sincronizada'; + String get settings_timeSent => 'Hora enviada a la radio'; + + @override + String get settings_radioNoReply => 'Sin respuesta de la radio'; @override String get settings_refreshContacts => 'Actualizar contactos'; diff --git a/lib/l10n/app_localizations_fr.dart b/lib/l10n/app_localizations_fr.dart index acf529d3..8d829fcf 100644 --- a/lib/l10n/app_localizations_fr.dart +++ b/lib/l10n/app_localizations_fr.dart @@ -901,7 +901,17 @@ class AppLocalizationsFr extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Effacer toutes les données de chemin des contacts'; + 'Effacer l\'historique des chemins de l\'app pour tous les contacts'; + + @override + String get settings_allPathsDeleted => 'Chemins supprimés'; + + @override + String get settings_contactsRefreshed => 'Contacts actualisés'; + + @override + String get settings_rebootSent => + 'Redémarrage envoyé. La radio va se déconnecter.'; @override String get settings_sendAdvertisement => 'S\'annoncer'; @@ -921,7 +931,10 @@ class AppLocalizationsFr extends AppLocalizations { 'Régler l\'heure de l\'appareil sur celle du téléphone'; @override - String get settings_timeSynchronized => 'Heure synchronisée'; + String get settings_timeSent => 'Heure envoyée à la radio'; + + @override + String get settings_radioNoReply => 'Pas de réponse de la radio'; @override String get settings_refreshContacts => 'Actualiser les contacts'; diff --git a/lib/l10n/app_localizations_hu.dart b/lib/l10n/app_localizations_hu.dart index 50753f69..eb0904eb 100644 --- a/lib/l10n/app_localizations_hu.dart +++ b/lib/l10n/app_localizations_hu.dart @@ -894,7 +894,17 @@ class AppLocalizationsHu extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Törölje az összes elérési utat a névjegyekből'; + 'Az alkalmazás elérési út előzményeinek törlése minden kapcsolatnál'; + + @override + String get settings_allPathsDeleted => 'Elérési utak törölve'; + + @override + String get settings_contactsRefreshed => 'Névjegyek frissítve'; + + @override + String get settings_rebootSent => + 'Újraindítás elküldve. A rádió bontja a kapcsolatot.'; @override String get settings_sendAdvertisement => 'Hirdetés küldése'; @@ -914,7 +924,10 @@ class AppLocalizationsHu extends AppLocalizations { 'Az eszköz órájának beállítása a telefon idejére'; @override - String get settings_timeSynchronized => 'Idő szinkronizálva'; + String get settings_timeSent => 'Idő elküldve a rádiónak'; + + @override + String get settings_radioNoReply => 'Nincs válasz a rádiótól'; @override String get settings_refreshContacts => 'Névjegyek frissítése'; diff --git a/lib/l10n/app_localizations_it.dart b/lib/l10n/app_localizations_it.dart index 2cf5ddc3..d0d56b59 100644 --- a/lib/l10n/app_localizations_it.dart +++ b/lib/l10n/app_localizations_it.dart @@ -899,7 +899,17 @@ class AppLocalizationsIt extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Cancella tutti i dati di percorso dai contatti'; + 'Cancella la cronologia dei percorsi dell\'app per tutti i contatti'; + + @override + String get settings_allPathsDeleted => 'Percorsi eliminati'; + + @override + String get settings_contactsRefreshed => 'Contatti aggiornati'; + + @override + String get settings_rebootSent => + 'Riavvio inviato. La radio si disconnetterà.'; @override String get settings_sendAdvertisement => 'Invia annuncio'; @@ -918,7 +928,10 @@ class AppLocalizationsIt extends AppLocalizations { 'Imposta l\'orologio del dispositivo sull\'ora del telefono'; @override - String get settings_timeSynchronized => 'Ora sincronizzata'; + String get settings_timeSent => 'Ora inviata alla radio'; + + @override + String get settings_radioNoReply => 'Nessuna risposta dalla radio'; @override String get settings_refreshContacts => 'Aggiorna contatti'; diff --git a/lib/l10n/app_localizations_ja.dart b/lib/l10n/app_localizations_ja.dart index 6639865c..f3000d39 100644 --- a/lib/l10n/app_localizations_ja.dart +++ b/lib/l10n/app_localizations_ja.dart @@ -849,7 +849,16 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_deleteAllPaths => 'すべての経路を削除'; @override - String get settings_deleteAllPathsSubtitle => '連絡先からすべての経路データを消去します'; + String get settings_deleteAllPathsSubtitle => 'すべての連絡先について、アプリの経路履歴を消去します'; + + @override + String get settings_allPathsDeleted => '経路を削除しました'; + + @override + String get settings_contactsRefreshed => '連絡先を更新しました'; + + @override + String get settings_rebootSent => '再起動を送信しました。ラジオとの接続が切れます。'; @override String get settings_sendAdvertisement => 'アドバートを送信'; @@ -867,7 +876,10 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_syncTimeSubtitle => 'デバイスの時刻をスマートフォンに合わせます'; @override - String get settings_timeSynchronized => '時刻を同期しました'; + String get settings_timeSent => '時刻をラジオに送信しました'; + + @override + String get settings_radioNoReply => 'ラジオから応答がありません'; @override String get settings_refreshContacts => '連絡先を更新'; diff --git a/lib/l10n/app_localizations_ko.dart b/lib/l10n/app_localizations_ko.dart index fb2c21f0..682da79c 100644 --- a/lib/l10n/app_localizations_ko.dart +++ b/lib/l10n/app_localizations_ko.dart @@ -851,7 +851,16 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_deleteAllPaths => '모든 경로 삭제'; @override - String get settings_deleteAllPathsSubtitle => '연락처의 모든 경로 데이터를 지웁니다'; + String get settings_deleteAllPathsSubtitle => '모든 연락처에 대한 앱의 경로 기록을 지웁니다'; + + @override + String get settings_allPathsDeleted => '경로를 삭제했습니다'; + + @override + String get settings_contactsRefreshed => '연락처를 새로고침했습니다'; + + @override + String get settings_rebootSent => '재부팅을 보냈습니다. 라디오 연결이 끊어집니다.'; @override String get settings_sendAdvertisement => '어드버트 전송'; @@ -869,7 +878,10 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_syncTimeSubtitle => '장치 시계를 휴대폰 시간으로 설정'; @override - String get settings_timeSynchronized => '시간이 동기화되었습니다.'; + String get settings_timeSent => '시간을 라디오로 보냈습니다'; + + @override + String get settings_radioNoReply => '라디오에서 응답이 없습니다'; @override String get settings_refreshContacts => '연락처 새로고침'; diff --git a/lib/l10n/app_localizations_nl.dart b/lib/l10n/app_localizations_nl.dart index 7d4e1e0c..ad26af34 100644 --- a/lib/l10n/app_localizations_nl.dart +++ b/lib/l10n/app_localizations_nl.dart @@ -893,7 +893,17 @@ class AppLocalizationsNl extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Wis alle padgegevens van contacten'; + 'Wis de padgeschiedenis van de app voor alle contacten'; + + @override + String get settings_allPathsDeleted => 'Paden verwijderd'; + + @override + String get settings_contactsRefreshed => 'Contacten vernieuwd'; + + @override + String get settings_rebootSent => + 'Herstart verzonden. De radio verbreekt de verbinding.'; @override String get settings_sendAdvertisement => 'Advert verzenden'; @@ -912,7 +922,10 @@ class AppLocalizationsNl extends AppLocalizations { 'Stel de apparaatklok in op de tijd van de telefoon'; @override - String get settings_timeSynchronized => 'Tijd gesynchroniseerd'; + String get settings_timeSent => 'Tijd naar de radio verzonden'; + + @override + String get settings_radioNoReply => 'Geen antwoord van de radio'; @override String get settings_refreshContacts => 'Contacten vernieuwen'; diff --git a/lib/l10n/app_localizations_pl.dart b/lib/l10n/app_localizations_pl.dart index 6e5b1625..be730096 100644 --- a/lib/l10n/app_localizations_pl.dart +++ b/lib/l10n/app_localizations_pl.dart @@ -907,7 +907,16 @@ class AppLocalizationsPl extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Wyczyść wszystkie dane ścieżek z kontaktów'; + 'Wyczyść historię ścieżek w aplikacji dla wszystkich kontaktów'; + + @override + String get settings_allPathsDeleted => 'Ścieżki usunięte'; + + @override + String get settings_contactsRefreshed => 'Kontakty odświeżone'; + + @override + String get settings_rebootSent => 'Wysłano restart. Radio się rozłączy.'; @override String get settings_sendAdvertisement => 'Wyślij rozgłoszenie'; @@ -926,7 +935,10 @@ class AppLocalizationsPl extends AppLocalizations { 'Ustaw zegar urządzenia na czas telefonu'; @override - String get settings_timeSynchronized => 'Czas zsynchronizowany'; + String get settings_timeSent => 'Czas wysłany do radia'; + + @override + String get settings_radioNoReply => 'Brak odpowiedzi z radia'; @override String get settings_refreshContacts => 'Odśwież Kontakty'; diff --git a/lib/l10n/app_localizations_pt.dart b/lib/l10n/app_localizations_pt.dart index 0a997079..2d9c5744 100644 --- a/lib/l10n/app_localizations_pt.dart +++ b/lib/l10n/app_localizations_pt.dart @@ -899,7 +899,17 @@ class AppLocalizationsPt extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Limpar todos os dados de caminhos dos contatos'; + 'Limpar o histórico de caminhos do app para todos os contatos'; + + @override + String get settings_allPathsDeleted => 'Caminhos excluídos'; + + @override + String get settings_contactsRefreshed => 'Contatos atualizados'; + + @override + String get settings_rebootSent => + 'Reinício enviado. O rádio vai desconectar.'; @override String get settings_sendAdvertisement => 'Enviar Anúncio'; @@ -919,7 +929,10 @@ class AppLocalizationsPt extends AppLocalizations { 'Definir o relógio do dispositivo para o horário do telefone'; @override - String get settings_timeSynchronized => 'Sincronizado com o tempo'; + String get settings_timeSent => 'Hora enviada ao rádio'; + + @override + String get settings_radioNoReply => 'Sem resposta do rádio'; @override String get settings_refreshContacts => 'Atualizar Contatos'; @@ -9186,7 +9199,17 @@ class AppLocalizationsPtPt extends AppLocalizationsPt { @override String get settings_deleteAllPathsSubtitle => - 'Limpar todos os dados de caminhos dos contactos'; + 'Limpar o histórico de caminhos da app para todos os contactos'; + + @override + String get settings_allPathsDeleted => 'Caminhos eliminados'; + + @override + String get settings_contactsRefreshed => 'Contactos atualizados'; + + @override + String get settings_rebootSent => + 'Reinício enviado. O rádio vai desligar-se.'; @override String get settings_sendAdvertisement => 'Enviar anúncio'; @@ -9205,7 +9228,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt { 'Acertar o relógio do dispositivo pela hora do telemóvel'; @override - String get settings_timeSynchronized => 'Hora sincronizada'; + String get settings_timeSent => 'Hora enviada para o rádio'; + + @override + String get settings_radioNoReply => 'Sem resposta do rádio'; @override String get settings_refreshContacts => 'Atualizar contactos'; diff --git a/lib/l10n/app_localizations_ru.dart b/lib/l10n/app_localizations_ru.dart index af72c48e..baf86d88 100644 --- a/lib/l10n/app_localizations_ru.dart +++ b/lib/l10n/app_localizations_ru.dart @@ -900,7 +900,17 @@ class AppLocalizationsRu extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Очистить все данные путей в контактах'; + 'Очистить историю путей в приложении для всех контактов'; + + @override + String get settings_allPathsDeleted => 'Пути удалены'; + + @override + String get settings_contactsRefreshed => 'Контакты обновлены'; + + @override + String get settings_rebootSent => + 'Перезагрузка отправлена. Радио отключится.'; @override String get settings_sendAdvertisement => 'Отправить анонсирование'; @@ -919,7 +929,10 @@ class AppLocalizationsRu extends AppLocalizations { String get settings_syncTimeSubtitle => 'Синхронизировать время с телефоном'; @override - String get settings_timeSynchronized => 'Время синхронизировано'; + String get settings_timeSent => 'Время отправлено на радио'; + + @override + String get settings_radioNoReply => 'Нет ответа от радио'; @override String get settings_refreshContacts => 'Обновить контакты'; diff --git a/lib/l10n/app_localizations_sk.dart b/lib/l10n/app_localizations_sk.dart index 0e93dbfb..10bf6a11 100644 --- a/lib/l10n/app_localizations_sk.dart +++ b/lib/l10n/app_localizations_sk.dart @@ -893,7 +893,16 @@ class AppLocalizationsSk extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Vymazať všetky údaje o cestách z kontaktov'; + 'Vymazať históriu ciest v aplikácii pre všetky kontakty'; + + @override + String get settings_allPathsDeleted => 'Cesty odstránené'; + + @override + String get settings_contactsRefreshed => 'Kontakty načítané'; + + @override + String get settings_rebootSent => 'Reštart odoslaný. Rádio sa odpojí.'; @override String get settings_sendAdvertisement => 'Odoslať inzerát'; @@ -912,7 +921,10 @@ class AppLocalizationsSk extends AppLocalizations { 'Nastaviť hodiny zariadenia na čas telefónu'; @override - String get settings_timeSynchronized => 'Čas synchronizovaný'; + String get settings_timeSent => 'Čas odoslaný do rádia'; + + @override + String get settings_radioNoReply => 'Rádio neodpovedá'; @override String get settings_refreshContacts => 'Načítať Kontakty'; diff --git a/lib/l10n/app_localizations_sl.dart b/lib/l10n/app_localizations_sl.dart index 8c612210..473d4248 100644 --- a/lib/l10n/app_localizations_sl.dart +++ b/lib/l10n/app_localizations_sl.dart @@ -895,7 +895,17 @@ class AppLocalizationsSl extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Počisti vse podatke o poteh iz stikov'; + 'Počisti zgodovino poti v aplikaciji za vse stike'; + + @override + String get settings_allPathsDeleted => 'Poti izbrisane'; + + @override + String get settings_contactsRefreshed => 'Stiki osveženi'; + + @override + String get settings_rebootSent => + 'Ponovni zagon poslan. Radio se bo odklopil.'; @override String get settings_sendAdvertisement => 'Pošlji Oglas'; @@ -914,7 +924,10 @@ class AppLocalizationsSl extends AppLocalizations { String get settings_syncTimeSubtitle => 'Nastavi uro naprave na čas telefona'; @override - String get settings_timeSynchronized => 'Ura sinhronizirana'; + String get settings_timeSent => 'Čas poslan radiu'; + + @override + String get settings_radioNoReply => 'Ni odgovora radia'; @override String get settings_refreshContacts => 'Ponovno obišči kontakte'; diff --git a/lib/l10n/app_localizations_sv.dart b/lib/l10n/app_localizations_sv.dart index 1110afea..02bbd989 100644 --- a/lib/l10n/app_localizations_sv.dart +++ b/lib/l10n/app_localizations_sv.dart @@ -887,7 +887,16 @@ class AppLocalizationsSv extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Rensa all ruttdata från kontakter'; + 'Rensa appens rutthistorik för alla kontakter'; + + @override + String get settings_allPathsDeleted => 'Rutter raderade'; + + @override + String get settings_contactsRefreshed => 'Kontakter uppdaterade'; + + @override + String get settings_rebootSent => 'Omstart skickad. Radion kopplas från.'; @override String get settings_sendAdvertisement => 'Skicka annons'; @@ -905,7 +914,10 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_syncTimeSubtitle => 'Ställ enheten till telefonens tid'; @override - String get settings_timeSynchronized => 'Tidssynkroniserat'; + String get settings_timeSent => 'Tid skickad till radion'; + + @override + String get settings_radioNoReply => 'Inget svar från radion'; @override String get settings_refreshContacts => 'Uppdatera Kontakter'; diff --git a/lib/l10n/app_localizations_uk.dart b/lib/l10n/app_localizations_uk.dart index 121883c5..81f13806 100644 --- a/lib/l10n/app_localizations_uk.dart +++ b/lib/l10n/app_localizations_uk.dart @@ -895,7 +895,17 @@ class AppLocalizationsUk extends AppLocalizations { @override String get settings_deleteAllPathsSubtitle => - 'Очистити всі дані шляхів у контактах'; + 'Очистити історію шляхів у застосунку для всіх контактів'; + + @override + String get settings_allPathsDeleted => 'Шляхи видалено'; + + @override + String get settings_contactsRefreshed => 'Контакти оновлено'; + + @override + String get settings_rebootSent => + 'Перезавантаження надіслано. Радіо від\'єднається.'; @override String get settings_sendAdvertisement => 'Оголосити себе'; @@ -915,7 +925,10 @@ class AppLocalizationsUk extends AppLocalizations { 'Встановити час пристрою відповідно до часу телефону'; @override - String get settings_timeSynchronized => 'Час синхронізовано'; + String get settings_timeSent => 'Час надіслано на радіо'; + + @override + String get settings_radioNoReply => 'Немає відповіді від радіо'; @override String get settings_refreshContacts => 'Оновити контакти'; diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dart index 9ad419c5..d688b4a2 100644 --- a/lib/l10n/app_localizations_zh.dart +++ b/lib/l10n/app_localizations_zh.dart @@ -832,7 +832,16 @@ class AppLocalizationsZh extends AppLocalizations { String get settings_deleteAllPaths => '删除所有路径'; @override - String get settings_deleteAllPathsSubtitle => '清除联系人中的所有路径数据'; + String get settings_deleteAllPathsSubtitle => '清除应用中所有联系人的路径历史'; + + @override + String get settings_allPathsDeleted => '路径已删除'; + + @override + String get settings_contactsRefreshed => '联系人已刷新'; + + @override + String get settings_rebootSent => '已发送重启命令。无线电将断开连接。'; @override String get settings_sendAdvertisement => '发送广播'; @@ -850,7 +859,10 @@ class AppLocalizationsZh extends AppLocalizations { String get settings_syncTimeSubtitle => '将设备时钟设置为与手机时间一致'; @override - String get settings_timeSynchronized => '时间已同步'; + String get settings_timeSent => '时间已发送到无线电'; + + @override + String get settings_radioNoReply => '无线电无响应'; @override String get settings_refreshContacts => '刷新联系人'; diff --git a/lib/l10n/app_nl.arb b/lib/l10n/app_nl.arb index 21d7f20d..557a188e 100644 --- a/lib/l10n/app_nl.arb +++ b/lib/l10n/app_nl.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Privacy modus is uitgeschakeld", "settings_actions": "Acties", "settings_deleteAllPaths": "Alle paden verwijderen", - "settings_deleteAllPathsSubtitle": "Wis alle padgegevens van contacten", + "settings_deleteAllPathsSubtitle": "Wis de padgeschiedenis van de app voor alle contacten", + "settings_allPathsDeleted": "Paden verwijderd", + "settings_contactsRefreshed": "Contacten vernieuwd", + "settings_rebootSent": "Herstart verzonden. De radio verbreekt de verbinding.", "settings_sendAdvertisement": "Advert verzenden", "settings_sendAdvertisementSubtitle": "Nu aanwezigheid uitzenden", "settings_advertisementSent": "Advert verzonden", "settings_syncTime": "Tijd Synchroniseren", "settings_syncTimeSubtitle": "Stel de apparaatklok in op de tijd van de telefoon", - "settings_timeSynchronized": "Tijd gesynchroniseerd", + "settings_timeSent": "Tijd naar de radio verzonden", + "settings_radioNoReply": "Geen antwoord van de radio", "settings_refreshContacts": "Contacten vernieuwen", "settings_refreshContactsSubtitle": "Contactlijst opnieuw laden van het apparaat", "settings_rebootDevice": "Apparaat opnieuw opstarten", diff --git a/lib/l10n/app_pl.arb b/lib/l10n/app_pl.arb index e0d02776..8a76fce7 100644 --- a/lib/l10n/app_pl.arb +++ b/lib/l10n/app_pl.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Tryb prywatności wyłączony", "settings_actions": "Działania", "settings_deleteAllPaths": "Usuń wszystkie ścieżki", - "settings_deleteAllPathsSubtitle": "Wyczyść wszystkie dane ścieżek z kontaktów", + "settings_deleteAllPathsSubtitle": "Wyczyść historię ścieżek w aplikacji dla wszystkich kontaktów", + "settings_allPathsDeleted": "Ścieżki usunięte", + "settings_contactsRefreshed": "Kontakty odświeżone", + "settings_rebootSent": "Wysłano restart. Radio się rozłączy.", "settings_sendAdvertisement": "Wyślij rozgłoszenie", "settings_sendAdvertisementSubtitle": "Nadaj obecność teraz", "settings_advertisementSent": "Rozgłoszenie wysłane", "settings_syncTime": "Synchronizacja czasu", "settings_syncTimeSubtitle": "Ustaw zegar urządzenia na czas telefonu", - "settings_timeSynchronized": "Czas zsynchronizowany", + "settings_timeSent": "Czas wysłany do radia", + "settings_radioNoReply": "Brak odpowiedzi z radia", "settings_refreshContacts": "Odśwież Kontakty", "settings_refreshContactsSubtitle": "Odśwież listę kontaktów z urządzenia", "settings_rebootDevice": "Zrestartuj Urządzenie", diff --git a/lib/l10n/app_pt.arb b/lib/l10n/app_pt.arb index f3547f3f..d764b81e 100644 --- a/lib/l10n/app_pt.arb +++ b/lib/l10n/app_pt.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Modo de privacidade desativado", "settings_actions": "Ações", "settings_deleteAllPaths": "Excluir todos os caminhos", - "settings_deleteAllPathsSubtitle": "Limpar todos os dados de caminhos dos contatos", + "settings_deleteAllPathsSubtitle": "Limpar o histórico de caminhos do app para todos os contatos", + "settings_allPathsDeleted": "Caminhos excluídos", + "settings_contactsRefreshed": "Contatos atualizados", + "settings_rebootSent": "Reinício enviado. O rádio vai desconectar.", "settings_sendAdvertisement": "Enviar Anúncio", "settings_sendAdvertisementSubtitle": "Presença de transmissão agora", "settings_advertisementSent": "Anúncio enviado", "settings_syncTime": "Tempo de Sincronização", "settings_syncTimeSubtitle": "Definir o relógio do dispositivo para o horário do telefone", - "settings_timeSynchronized": "Sincronizado com o tempo", + "settings_timeSent": "Hora enviada ao rádio", + "settings_radioNoReply": "Sem resposta do rádio", "settings_refreshContacts": "Atualizar Contatos", "settings_refreshContactsSubtitle": "Recarregar a lista de contatos do dispositivo", "settings_rebootDevice": "Reiniciar Dispositivo", diff --git a/lib/l10n/app_pt_PT.arb b/lib/l10n/app_pt_PT.arb index 6f11ba88..0b26717e 100644 --- a/lib/l10n/app_pt_PT.arb +++ b/lib/l10n/app_pt_PT.arb @@ -255,13 +255,17 @@ "settings_telemetryModeUpdated": "Modo de telemetria atualizado", "settings_actions": "Ações", "settings_deleteAllPaths": "Eliminar todos os caminhos", - "settings_deleteAllPathsSubtitle": "Limpar todos os dados de caminhos dos contactos", + "settings_deleteAllPathsSubtitle": "Limpar o histórico de caminhos da app para todos os contactos", + "settings_allPathsDeleted": "Caminhos eliminados", + "settings_contactsRefreshed": "Contactos atualizados", + "settings_rebootSent": "Reinício enviado. O rádio vai desligar-se.", "settings_sendAdvertisement": "Enviar anúncio", "settings_sendAdvertisementSubtitle": "Difundir presença agora", "settings_advertisementSent": "Anúncio enviado", "settings_syncTime": "Sincronizar hora", "settings_syncTimeSubtitle": "Acertar o relógio do dispositivo pela hora do telemóvel", - "settings_timeSynchronized": "Hora sincronizada", + "settings_timeSent": "Hora enviada para o rádio", + "settings_radioNoReply": "Sem resposta do rádio", "settings_refreshContacts": "Atualizar contactos", "settings_refreshContactsSubtitle": "Recarregar a lista de contactos do dispositivo", "settings_rebootDevice": "Reiniciar dispositivo", diff --git a/lib/l10n/app_ru.arb b/lib/l10n/app_ru.arb index f1534715..631e13b7 100644 --- a/lib/l10n/app_ru.arb +++ b/lib/l10n/app_ru.arb @@ -101,13 +101,17 @@ "settings_privacyModeDisabled": "Режим конфиденциальности выключен", "settings_actions": "Действия", "settings_deleteAllPaths": "Удалить все пути", - "settings_deleteAllPathsSubtitle": "Очистить все данные путей в контактах", + "settings_deleteAllPathsSubtitle": "Очистить историю путей в приложении для всех контактов", + "settings_allPathsDeleted": "Пути удалены", + "settings_contactsRefreshed": "Контакты обновлены", + "settings_rebootSent": "Перезагрузка отправлена. Радио отключится.", "settings_sendAdvertisement": "Отправить анонсирование", "settings_sendAdvertisementSubtitle": "Отправить анонсирование о присутствии сейчас", "settings_advertisementSent": "Анонсирование отправлено", "settings_syncTime": "Синхронизация времени", "settings_syncTimeSubtitle": "Синхронизировать время с телефоном", - "settings_timeSynchronized": "Время синхронизировано", + "settings_timeSent": "Время отправлено на радио", + "settings_radioNoReply": "Нет ответа от радио", "settings_refreshContacts": "Обновить контакты", "settings_refreshContactsSubtitle": "Перезагрузить список контактов с устройства", "settings_rebootDevice": "Перезагрузить устройство", diff --git a/lib/l10n/app_sk.arb b/lib/l10n/app_sk.arb index 14b282fa..f586d7e9 100644 --- a/lib/l10n/app_sk.arb +++ b/lib/l10n/app_sk.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Ochranný režim je vypnutý", "settings_actions": "Možné akcie", "settings_deleteAllPaths": "Odstrániť všetky cesty", - "settings_deleteAllPathsSubtitle": "Vymazať všetky údaje o cestách z kontaktov", + "settings_deleteAllPathsSubtitle": "Vymazať históriu ciest v aplikácii pre všetky kontakty", + "settings_allPathsDeleted": "Cesty odstránené", + "settings_contactsRefreshed": "Kontakty načítané", + "settings_rebootSent": "Reštart odoslaný. Rádio sa odpojí.", "settings_sendAdvertisement": "Odoslať inzerát", "settings_sendAdvertisementSubtitle": "Momentálne priezornejšie.", "settings_advertisementSent": "Inzerát odoslaný", "settings_syncTime": "Čas synchronizácie", "settings_syncTimeSubtitle": "Nastaviť hodiny zariadenia na čas telefónu", - "settings_timeSynchronized": "Čas synchronizovaný", + "settings_timeSent": "Čas odoslaný do rádia", + "settings_radioNoReply": "Rádio neodpovedá", "settings_refreshContacts": "Načítať Kontakty", "settings_refreshContactsSubtitle": "Načítať zoznam kontaktov z zariadenia", "settings_rebootDevice": "Restartovať zariadenie", diff --git a/lib/l10n/app_sl.arb b/lib/l10n/app_sl.arb index fc2acb06..fd8c2630 100644 --- a/lib/l10n/app_sl.arb +++ b/lib/l10n/app_sl.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Privatni način je onemogočen.", "settings_actions": "Akcije", "settings_deleteAllPaths": "Izbriši vse poti", - "settings_deleteAllPathsSubtitle": "Počisti vse podatke o poteh iz stikov", + "settings_deleteAllPathsSubtitle": "Počisti zgodovino poti v aplikaciji za vse stike", + "settings_allPathsDeleted": "Poti izbrisane", + "settings_contactsRefreshed": "Stiki osveženi", + "settings_rebootSent": "Ponovni zagon poslan. Radio se bo odklopil.", "settings_sendAdvertisement": "Pošlji Oglas", "settings_sendAdvertisementSubtitle": "Trenutna prisotnost v oddajah", "settings_advertisementSent": "Oglas poslan", "settings_syncTime": "Nastavi uro", "settings_syncTimeSubtitle": "Nastavi uro naprave na čas telefona", - "settings_timeSynchronized": "Ura sinhronizirana", + "settings_timeSent": "Čas poslan radiu", + "settings_radioNoReply": "Ni odgovora radia", "settings_refreshContacts": "Ponovno obišči kontakte", "settings_refreshContactsSubtitle": "Ponovno naloži seznam stikov v napravi", "settings_rebootDevice": "Ponovni zagon naprave", diff --git a/lib/l10n/app_sv.arb b/lib/l10n/app_sv.arb index 68f4d01e..4f99c69e 100644 --- a/lib/l10n/app_sv.arb +++ b/lib/l10n/app_sv.arb @@ -123,13 +123,17 @@ "settings_privacyModeDisabled": "Privatläge är avstängt", "settings_actions": "Åtgärder", "settings_deleteAllPaths": "Radera alla rutter", - "settings_deleteAllPathsSubtitle": "Rensa all ruttdata från kontakter", + "settings_deleteAllPathsSubtitle": "Rensa appens rutthistorik för alla kontakter", + "settings_allPathsDeleted": "Rutter raderade", + "settings_contactsRefreshed": "Kontakter uppdaterade", + "settings_rebootSent": "Omstart skickad. Radion kopplas från.", "settings_sendAdvertisement": "Skicka annons", "settings_sendAdvertisementSubtitle": "Sänd din närvaro nu", "settings_advertisementSent": "Annons skickad", "settings_syncTime": "Synkronisera tid", "settings_syncTimeSubtitle": "Ställ enheten till telefonens tid", - "settings_timeSynchronized": "Tidssynkroniserat", + "settings_timeSent": "Tid skickad till radion", + "settings_radioNoReply": "Inget svar från radion", "settings_refreshContacts": "Uppdatera Kontakter", "settings_refreshContactsSubtitle": "Ladda om kontaktlistan från enheten", "settings_rebootDevice": "Starta om enheten", diff --git a/lib/l10n/app_uk.arb b/lib/l10n/app_uk.arb index 418a62f0..095ac2d2 100644 --- a/lib/l10n/app_uk.arb +++ b/lib/l10n/app_uk.arb @@ -124,13 +124,17 @@ "settings_privacyModeDisabled": "Режим приватності вимкнено", "settings_actions": "Дії", "settings_deleteAllPaths": "Видалити всі шляхи", - "settings_deleteAllPathsSubtitle": "Очистити всі дані шляхів у контактах", + "settings_deleteAllPathsSubtitle": "Очистити історію шляхів у застосунку для всіх контактів", + "settings_allPathsDeleted": "Шляхи видалено", + "settings_contactsRefreshed": "Контакти оновлено", + "settings_rebootSent": "Перезавантаження надіслано. Радіо від'єднається.", "settings_sendAdvertisement": "Оголосити себе", "settings_sendAdvertisementSubtitle": "Транслювати присутність зараз", "settings_advertisementSent": "Оголошення надіслано", "settings_syncTime": "Синхронізація часу", "settings_syncTimeSubtitle": "Встановити час пристрою відповідно до часу телефону", - "settings_timeSynchronized": "Час синхронізовано", + "settings_timeSent": "Час надіслано на радіо", + "settings_radioNoReply": "Немає відповіді від радіо", "settings_refreshContacts": "Оновити контакти", "settings_refreshContactsSubtitle": "Перезавантажити список контактів з пристрою", "settings_rebootDevice": "Перезавантажити пристрій", diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index 56a03ab2..2a3dc710 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -129,13 +129,17 @@ "settings_privacyModeDisabled": "隐私模式已关闭", "settings_actions": "操作", "settings_deleteAllPaths": "删除所有路径", - "settings_deleteAllPathsSubtitle": "清除联系人中的所有路径数据", + "settings_deleteAllPathsSubtitle": "清除应用中所有联系人的路径历史", + "settings_allPathsDeleted": "路径已删除", + "settings_contactsRefreshed": "联系人已刷新", + "settings_rebootSent": "已发送重启命令。无线电将断开连接。", "settings_sendAdvertisement": "发送广播", "settings_sendAdvertisementSubtitle": "立即发送广播", "settings_advertisementSent": "已发送广播", "settings_syncTime": "同步时间", "settings_syncTimeSubtitle": "将设备时钟设置为与手机时间一致", - "settings_timeSynchronized": "时间已同步", + "settings_timeSent": "时间已发送到无线电", + "settings_radioNoReply": "无线电无响应", "settings_refreshContacts": "刷新联系人", "settings_refreshContactsSubtitle": "从设备重新加载联系人列表", "settings_rebootDevice": "重启设备", diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dart index f5c54c4c..92e940c3 100644 --- a/lib/screens/settings_screen.dart +++ b/lib/screens/settings_screen.dart @@ -1,3 +1,5 @@ +import 'dart:async'; + import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; @@ -40,6 +42,9 @@ class SettingsScreen extends StatefulWidget { class _SettingsScreenState extends State { bool _showBatteryVoltage = false; bool _deviceInfoExpanded = false; + // Radio actions waiting on the radio, for the row spinner and app bar. + bool _refreshingContacts = false; + bool _rebooting = false; void _push(BuildContext context, Widget page) { Navigator.push(context, MaterialPageRoute(builder: (_) => page)); } @@ -52,7 +57,7 @@ class _SettingsScreenState extends State { // A plain title: AppBarTitle fills the bar and stays left-aligned. title: AdaptiveAppBarTitle(l10n.settings_title), centerTitle: true, - bottom: const SyncProgressAppBarBottom(), + bottom: SyncProgressAppBarBottom(busy: _rebooting), ), body: SafeArea( top: false, @@ -638,7 +643,8 @@ class _SettingsScreenState extends State { icon: Icons.refresh, title: l10n.settings_refreshContacts, subtitle: connected ? l10n.settings_refreshContactsSubtitle : offline, - onTap: connected ? () => connector.getContacts() : null, + busy: _refreshingContacts && connected, + onTap: connected ? () => _refreshContacts(context, connector) : null, ), const Divider(height: 1, indent: 16), MeshNavTile( @@ -647,6 +653,7 @@ class _SettingsScreenState extends State { subtitle: connected ? l10n.settings_rebootDeviceSubtitle : offline, titleColor: scheme.tertiary, iconColor: scheme.tertiary, + busy: _rebooting && connected, onTap: connected ? () => _confirmReboot(context, connector) : null, ), const Divider(height: 1, indent: 16), @@ -706,10 +713,7 @@ class _SettingsScreenState extends State { try { await connector.syncTime(); if (!context.mounted) return; - showDismissibleSnackBar( - context, - content: Text(l10n.settings_timeSynchronized), - ); + showDismissibleSnackBar(context, content: Text(l10n.settings_timeSent)); } catch (e) { if (!context.mounted) return; showDismissibleSnackBar( @@ -719,6 +723,39 @@ class _SettingsScreenState extends State { } } + Future _refreshContacts( + BuildContext context, + MeshCoreConnector connector, + ) async { + final l10n = context.l10n; + if (!_ensureConnected(context, connector)) return; + setState(() => _refreshingContacts = true); + try { + await connector.getContacts(); + // END_OF_CONTACTS sets hasLoadedContacts; a stalled sync ends without. + await _untilConnector(connector, () => !connector.isLoadingContacts); + } catch (e) { + if (context.mounted) { + showDismissibleSnackBar( + context, + content: Text(l10n.settings_error(e.toString())), + ); + } + return; + } finally { + if (mounted) setState(() => _refreshingContacts = false); + } + if (!context.mounted || !connector.isConnected) return; + showDismissibleSnackBar( + context, + content: Text( + connector.hasLoadedContacts + ? l10n.settings_contactsRefreshed + : l10n.settings_radioNoReply, + ), + ); + } + Future _confirmDeleteAllPaths( BuildContext context, MeshCoreConnector connector, @@ -730,7 +767,12 @@ class _SettingsScreenState extends State { message: l10n.settings_deleteAllPathsSubtitle, confirmLabel: l10n.common_deleteAll, ); - if (confirmed) connector.deleteAllPaths(); + if (!confirmed || !context.mounted) return; + connector.deleteAllPaths(); + showDismissibleSnackBar( + context, + content: Text(l10n.settings_allPathsDeleted), + ); } Future _confirmReboot( @@ -747,6 +789,49 @@ class _SettingsScreenState extends State { ); if (!confirmed || !context.mounted) return; if (!_ensureConnected(context, connector)) return; - connector.rebootDevice(); + try { + await connector.rebootDevice(); + } catch (e) { + if (context.mounted) { + showDismissibleSnackBar( + context, + content: Text(l10n.settings_error(e.toString())), + ); + } + return; + } + if (!context.mounted) return; + showDismissibleSnackBar(context, content: Text(l10n.settings_rebootSent)); + // No reply comes; busy until the radio drops off, at most 15 s. + setState(() => _rebooting = true); + await _untilConnector( + connector, + () => !connector.isConnected, + timeout: const Duration(seconds: 15), + ); + if (mounted) setState(() => _rebooting = false); + } + + /// Completes once [done] is true, checked on each connector change, or + /// after [timeout]. + Future _untilConnector( + MeshCoreConnector connector, + bool Function() done, { + Duration? timeout, + }) async { + final completer = Completer(); + void check() { + if (done() && !completer.isCompleted) completer.complete(); + } + + connector.addListener(check); + check(); + try { + await (timeout == null + ? completer.future + : completer.future.timeout(timeout, onTimeout: () {})); + } finally { + connector.removeListener(check); + } } } diff --git a/lib/widgets/mesh_nav_tile.dart b/lib/widgets/mesh_nav_tile.dart index 584f9d2c..fb1f33f2 100644 --- a/lib/widgets/mesh_nav_tile.dart +++ b/lib/widgets/mesh_nav_tile.dart @@ -44,6 +44,10 @@ class MeshNavTile extends StatelessWidget { final Color? titleColor; final Color? iconColor; final bool showChevron; + + /// Shows the 18px spinner in place of the chevron and ignores taps while + /// the row's action runs (e.g. a radio command). The row isn't dimmed. + final bool busy; final Widget? trailing; final int? subtitleMaxLines; final EdgeInsetsGeometry padding; @@ -58,6 +62,7 @@ class MeshNavTile extends StatelessWidget { this.titleColor, this.iconColor, this.showChevron = true, + this.busy = false, this.trailing, this.subtitleMaxLines, this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12), @@ -104,7 +109,17 @@ class MeshNavTile extends StatelessWidget { ), ), ?trailing, - if (showChevron && trailing == null) + if (busy && trailing == null) + const SizedBox.square( + dimension: 24, + child: Center( + child: SizedBox.square( + dimension: 18, + child: CircularProgressIndicator(strokeWidth: 2), + ), + ), + ) + else if (showChevron && trailing == null) Icon(Icons.chevron_right, color: scheme.onSurfaceVariant, size: 24), ], ); @@ -112,9 +127,9 @@ class MeshNavTile extends StatelessWidget { return MergeSemantics( child: Semantics( button: true, - enabled: enabled, + enabled: enabled && !busy, child: InkWell( - onTap: onTap, + onTap: busy ? null : onTap, child: Padding( padding: padding, // Dimmed rather than recoloured so warn/alert tints still read as diff --git a/lib/widgets/sync_progress_overlay.dart b/lib/widgets/sync_progress_overlay.dart index 481c04ec..c55a9938 100644 --- a/lib/widgets/sync_progress_overlay.dart +++ b/lib/widgets/sync_progress_overlay.dart @@ -45,7 +45,11 @@ class MeshProgressAppBarBottom extends StatelessWidget /// contacts, channels and queued messages, one at a time. class SyncProgressAppBarBottom extends StatelessWidget implements PreferredSizeWidget { - const SyncProgressAppBarBottom({super.key}); + /// Also shows the bar, moving, while the screen waits for the radio and no + /// sync is running. + final bool busy; + + const SyncProgressAppBarBottom({super.key, this.busy = false}); @override Size get preferredSize => const Size.fromHeight(MeshProgressBar.height); @@ -54,7 +58,11 @@ class SyncProgressAppBarBottom extends StatelessWidget Widget build(BuildContext context) { return Consumer( builder: (context, connector, _) { - final state = _SyncProgressState.fromConnector(connector); + final state = + _SyncProgressState.fromConnector(connector) ?? + (busy && connector.isConnected + ? const _SyncProgressState(value: null) + : null); return MeshProgressBar(active: state != null, value: state?.value); }, ); diff --git a/test/screens/settings_pages_test.dart b/test/screens/settings_pages_test.dart index 03cffb93..112de157 100644 --- a/test/screens/settings_pages_test.dart +++ b/test/screens/settings_pages_test.dart @@ -330,6 +330,75 @@ void main() { await tester.pumpWidget(const SizedBox()); }); + testWidgets('Sync Time and Refresh Contacts end with a message', ( + tester, + ) async { + final connector = await _connectedConnector(tester); + await tester.pumpWidget(_app(connector, const SettingsScreen())); + for (var i = 0; i < 8; i++) { + await tester.pump(const Duration(milliseconds: 100)); + } + // Refresh Contacts ends when the review radio sends END_OF_CONTACTS. + final rows = { + _l10n.settings_syncTime: _l10n.settings_timeSent, + _l10n.settings_refreshContacts: _l10n.settings_contactsRefreshed, + }; + for (final MapEntry(key: title, value: message) in rows.entries) { + await tester.scrollUntilVisible( + find.text(title), + 200, + scrollable: find + .descendant( + of: find.byType(ListView), + matching: find.byType(Scrollable), + ) + .first, + ); + await tester.pump(const Duration(milliseconds: 300)); + await tester.tap(find.text(title)); + await tester.pump(); + // Real time lets the reply arrive; pump runs the code waiting for it. + for (var i = 0; i < 200; i++) { + if (find.text(message).evaluate().isNotEmpty) break; + await tester.runAsync( + () => Future.delayed(const Duration(milliseconds: 25)), + ); + await tester.pump(const Duration(milliseconds: 50)); + } + expect(find.text(message), findsOneWidget, reason: title); + } + await tester.pumpWidget(const SizedBox()); + }); + + testWidgets('Delete All Paths confirms with a snackbar', (tester) async { + final connector = await _connectedConnector(tester); + Future settle() async { + for (var i = 0; i < 8; i++) { + await tester.pump(const Duration(milliseconds: 100)); + } + } + + await tester.pumpWidget(_app(connector, const SettingsScreen())); + await settle(); + await tester.scrollUntilVisible( + find.text(_l10n.settings_deleteAllPaths), + 200, + scrollable: find + .descendant( + of: find.byType(ListView), + matching: find.byType(Scrollable), + ) + .first, + ); + await settle(); + await tester.tap(find.text(_l10n.settings_deleteAllPaths)); + await settle(); + await tester.tap(find.widgetWithText(FilledButton, _l10n.common_deleteAll)); + await settle(); + expect(find.text(_l10n.settings_allPathsDeleted), findsOneWidget); + await tester.pumpWidget(const SizedBox()); + }); + testWidgets('Radio Settings shows Save only while something differs', ( tester, ) async {