diff --git a/lib/connector/meshcore_connector.dart b/lib/connector/meshcore_connector.dart index 48d22f78..b46f7240 100644 --- a/lib/connector/meshcore_connector.dart +++ b/lib/connector/meshcore_connector.dart @@ -3252,6 +3252,11 @@ class MeshCoreConnector extends ChangeNotifier { (activeTransport != MeshCoreTransportType.tcp || !tcpManagerConnected); } + /// Sets the self public key so tests can drive the incoming-message path, + /// which bails when no self identity is known. + @visibleForTesting + void setSelfPublicKeyForTest(Uint8List key) => _selfPublicKey = key; + @visibleForTesting static bool shouldResetStateAfterTcpConnectAbort({ required MeshCoreConnectionState state, @@ -8742,6 +8747,16 @@ class MeshCoreConnector extends ChangeNotifier { return; } + // CLI traffic stays in the CLI console only. A CLI reply (type-1) or an + // inbound CLI command (type-3) is correlated by the console through the + // receivedFrames listener; it must never enter the chat thread, bump the + // contact's last-message, or raise unread. CLI and chat are separate + // surfaces - drop CLI out of the message pipeline here (#999). + if (message.isCli || message.isCliCommand) { + _handleQueuedMessageReceived(); + return; + } + final contact = _contacts.cast().firstWhere( (c) => c?.publicKeyHex == message!.senderKeyHex, orElse: () => null, diff --git a/lib/connector/meshcore_protocol.dart b/lib/connector/meshcore_protocol.dart index df6e9611..5b3c9ab8 100644 --- a/lib/connector/meshcore_protocol.dart +++ b/lib/connector/meshcore_protocol.dart @@ -1048,7 +1048,17 @@ const int msgTextOffset = 38; class ParsedContactText { final Uint8List senderPrefix; final String text; - const ParsedContactText({required this.senderPrefix, required this.text}); + + /// The raw TXT type byte (plain 0, CLI_DATA 1, signed 2, CLI_COMMAND 3). + /// Some layouts carry it shifted left by 2; compare with both the raw value + /// and `txtType >> 2`, as the receive path does. + final int txtType; + + const ParsedContactText({ + required this.senderPrefix, + required this.text, + required this.txtType, + }); } ParsedContactText? parseContactMessageText(Uint8List frame) { @@ -1081,7 +1091,11 @@ ParsedContactText? parseContactMessageText(Uint8List frame) { final text = message.readCString(); if (text.isEmpty) return null; - return ParsedContactText(senderPrefix: senderPrefix, text: text); + return ParsedContactText( + senderPrefix: senderPrefix, + text: text, + txtType: textType, + ); } catch (e) { debugPrint('Error parsing contact message text: $e'); return null; diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 4a057fda..bb50680a 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -184,6 +184,10 @@ "device_quickSwitch": "Quick switch", "device_meshcore": "MeshCore", "deviceCli_title": "Device CLI", + "deviceCli_remoteTitle": "Remote CLI", + "@deviceCli_remoteTitle": { + "description": "Title of the CLI console when it targets a remote companion contact (#999); the contact's name is the subtitle." + }, "deviceCli_entrySubtitle": "Run commands on the connected radio", "deviceCli_nameRejected": "Not sent - name can't contain: {chars}", "@deviceCli_nameRejected": { @@ -795,6 +799,10 @@ "contact_teleEnvSubtitle": "Allow sharing environment sensor data", "contact_remoteCli": "Remote CLI", "contact_remoteCliSubtitle": "Let this contact run CLI commands on your radio", + "contact_cliConsole": "CLI console", + "@contact_cliConsole": { + "description": "Chat app-bar menu action on a companion contact that opens the remote CLI console targeting that contact (#999)." + }, "channels_title": "Channels", "channels_noChannelsConfigured": "No channels configured", "channels_addPublicChannel": "Add Public Channel", @@ -930,7 +938,6 @@ "channels_enterHashtag": "Enter hashtag", "channels_hashtagHint": "e.g. #team", "chat_noMessages": "No messages yet", - "chat_remoteCliCommand": "Command for your radio", "chat_sendMessage": "Send message", "chat_sendMessageTo": "Send a message to {contactName}", "@chat_sendMessageTo": { diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 2deb7a31..c43ae07a 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -730,6 +730,12 @@ abstract class AppLocalizations { /// **'Device CLI'** String get deviceCli_title; + /// Title of the CLI console when it targets a remote companion contact (#999); the contact's name is the subtitle. + /// + /// In en, this message translates to: + /// **'Remote CLI'** + String get deviceCli_remoteTitle; + /// No description provided for @deviceCli_entrySubtitle. /// /// In en, this message translates to: @@ -2758,6 +2764,12 @@ abstract class AppLocalizations { /// **'Let this contact run CLI commands on your radio'** String get contact_remoteCliSubtitle; + /// Chat app-bar menu action on a companion contact that opens the remote CLI console targeting that contact (#999). + /// + /// In en, this message translates to: + /// **'CLI console'** + String get contact_cliConsole; + /// No description provided for @channels_title. /// /// In en, this message translates to: diff --git a/lib/l10n/app_localizations_bg.dart b/lib/l10n/app_localizations_bg.dart index 537f058c..6b51c0bc 100644 --- a/lib/l10n/app_localizations_bg.dart +++ b/lib/l10n/app_localizations_bg.dart @@ -346,6 +346,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1543,6 +1546,9 @@ class AppLocalizationsBg extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Канали'; diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index e578c317..b22d5172 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -349,6 +349,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1537,6 +1540,9 @@ class AppLocalizationsDe extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Kanäle'; diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index 72033e2d..cbbde8a6 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -343,6 +343,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1519,6 +1522,9 @@ class AppLocalizationsEn extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Channels'; diff --git a/lib/l10n/app_localizations_es.dart b/lib/l10n/app_localizations_es.dart index aabe439e..31987a90 100644 --- a/lib/l10n/app_localizations_es.dart +++ b/lib/l10n/app_localizations_es.dart @@ -347,6 +347,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1538,6 +1541,9 @@ class AppLocalizationsEs extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Canales'; diff --git a/lib/l10n/app_localizations_fr.dart b/lib/l10n/app_localizations_fr.dart index ce3aa8ad..bd50e9bd 100644 --- a/lib/l10n/app_localizations_fr.dart +++ b/lib/l10n/app_localizations_fr.dart @@ -349,6 +349,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1543,6 +1546,9 @@ class AppLocalizationsFr extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Canaux'; diff --git a/lib/l10n/app_localizations_hu.dart b/lib/l10n/app_localizations_hu.dart index c50ec41c..6fc91104 100644 --- a/lib/l10n/app_localizations_hu.dart +++ b/lib/l10n/app_localizations_hu.dart @@ -346,6 +346,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1544,6 +1547,9 @@ class AppLocalizationsHu extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Csatornák'; diff --git a/lib/l10n/app_localizations_it.dart b/lib/l10n/app_localizations_it.dart index ab072f20..1da6ef8d 100644 --- a/lib/l10n/app_localizations_it.dart +++ b/lib/l10n/app_localizations_it.dart @@ -349,6 +349,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1539,6 +1542,9 @@ class AppLocalizationsIt extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Canali'; diff --git a/lib/l10n/app_localizations_ja.dart b/lib/l10n/app_localizations_ja.dart index 64c4802c..7906941f 100644 --- a/lib/l10n/app_localizations_ja.dart +++ b/lib/l10n/app_localizations_ja.dart @@ -336,6 +336,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1487,6 +1490,9 @@ class AppLocalizationsJa extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'チャンネル'; diff --git a/lib/l10n/app_localizations_ko.dart b/lib/l10n/app_localizations_ko.dart index d55fa0ee..14876b20 100644 --- a/lib/l10n/app_localizations_ko.dart +++ b/lib/l10n/app_localizations_ko.dart @@ -335,6 +335,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1482,6 +1485,9 @@ class AppLocalizationsKo extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => '채널'; diff --git a/lib/l10n/app_localizations_nl.dart b/lib/l10n/app_localizations_nl.dart index b6913e06..53ce60b4 100644 --- a/lib/l10n/app_localizations_nl.dart +++ b/lib/l10n/app_localizations_nl.dart @@ -345,6 +345,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1530,6 +1533,9 @@ class AppLocalizationsNl extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Kanaal'; diff --git a/lib/l10n/app_localizations_pl.dart b/lib/l10n/app_localizations_pl.dart index 4d520776..cbccf347 100644 --- a/lib/l10n/app_localizations_pl.dart +++ b/lib/l10n/app_localizations_pl.dart @@ -350,6 +350,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1549,6 +1552,9 @@ class AppLocalizationsPl extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Kanały'; diff --git a/lib/l10n/app_localizations_pt.dart b/lib/l10n/app_localizations_pt.dart index 207bba15..63b92c74 100644 --- a/lib/l10n/app_localizations_pt.dart +++ b/lib/l10n/app_localizations_pt.dart @@ -348,6 +348,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1539,6 +1542,9 @@ class AppLocalizationsPt extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Canais'; diff --git a/lib/l10n/app_localizations_ru.dart b/lib/l10n/app_localizations_ru.dart index 6ecb48ec..34c09e46 100644 --- a/lib/l10n/app_localizations_ru.dart +++ b/lib/l10n/app_localizations_ru.dart @@ -348,6 +348,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1540,6 +1543,9 @@ class AppLocalizationsRu extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Каналы'; diff --git a/lib/l10n/app_localizations_sk.dart b/lib/l10n/app_localizations_sk.dart index 54d5ac80..a8e8c995 100644 --- a/lib/l10n/app_localizations_sk.dart +++ b/lib/l10n/app_localizations_sk.dart @@ -347,6 +347,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1530,6 +1533,9 @@ class AppLocalizationsSk extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Kanály'; diff --git a/lib/l10n/app_localizations_sl.dart b/lib/l10n/app_localizations_sl.dart index b4555d15..fca89cd3 100644 --- a/lib/l10n/app_localizations_sl.dart +++ b/lib/l10n/app_localizations_sl.dart @@ -345,6 +345,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1527,6 +1530,9 @@ class AppLocalizationsSl extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Kanali'; diff --git a/lib/l10n/app_localizations_sv.dart b/lib/l10n/app_localizations_sv.dart index 54a04dda..954a96f9 100644 --- a/lib/l10n/app_localizations_sv.dart +++ b/lib/l10n/app_localizations_sv.dart @@ -344,6 +344,9 @@ class AppLocalizationsSv extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1521,6 +1524,9 @@ class AppLocalizationsSv extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Kanaler'; diff --git a/lib/l10n/app_localizations_uk.dart b/lib/l10n/app_localizations_uk.dart index 38168108..b7c9806a 100644 --- a/lib/l10n/app_localizations_uk.dart +++ b/lib/l10n/app_localizations_uk.dart @@ -347,6 +347,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1535,6 +1538,9 @@ class AppLocalizationsUk extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => 'Канали'; diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dart index b05498f3..67c40eed 100644 --- a/lib/l10n/app_localizations_zh.dart +++ b/lib/l10n/app_localizations_zh.dart @@ -333,6 +333,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get deviceCli_title => 'Device CLI'; + @override + String get deviceCli_remoteTitle => 'Remote CLI'; + @override String get deviceCli_entrySubtitle => 'Run commands on the connected radio'; @@ -1468,6 +1471,9 @@ class AppLocalizationsZh extends AppLocalizations { String get contact_remoteCliSubtitle => 'Let this contact run CLI commands on your radio'; + @override + String get contact_cliConsole => 'CLI console'; + @override String get channels_title => '频道'; diff --git a/lib/models/contact.dart b/lib/models/contact.dart index ecfd060c..d50acde2 100644 --- a/lib/models/contact.dart +++ b/lib/models/contact.dart @@ -123,6 +123,11 @@ class Contact { bool get isFavorite => (flags & contactFlagFavorite) != 0; + /// A chat node (phone/radio companion), as opposed to a repeater, room + /// server or sensor. Remote CLI (#999) targets companions; repeaters and + /// room servers have their own CLI via the repeater hub. + bool get isCompanion => type == advTypeChat; + Contact copyWith({ Uint8List? publicKey, String? receivedName, diff --git a/lib/screens/chat_screen.dart b/lib/screens/chat_screen.dart index 6835737f..e7aee762 100644 --- a/lib/screens/chat_screen.dart +++ b/lib/screens/chat_screen.dart @@ -38,6 +38,7 @@ import '../widgets/elements_ui.dart'; import '../widgets/mention_autocomplete.dart'; import '../helpers/emoji_shortcodes.dart'; import 'channel_message_path_screen.dart'; +import 'device_cli_screen.dart'; import 'map_screen.dart'; import '../utils/emoji_utils.dart'; import '../widgets/emoji_picker.dart'; @@ -353,6 +354,15 @@ class _ChatScreenState extends State { ), ); } + if (value == 'cliConsole') { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => + DeviceCliScreen(remoteContact: widget.contact), + ), + ); + } if (value == 'clearChat') { connector.clearMessagesForContact(widget.contact); } @@ -402,6 +412,19 @@ class _ChatScreenState extends State { ], ), ), + // Remote CLI is a companion feature (#999): repeaters and + // room servers have their own CLI via the repeater hub. + if (widget.contact.isCompanion) + PopupMenuItem( + value: 'cliConsole', + child: Row( + children: [ + const Icon(Icons.terminal, size: 20), + const SizedBox(width: 12), + Text(context.l10n.contact_cliConsole), + ], + ), + ), PopupMenuItem( value: 'clearChat', child: Row( @@ -1822,24 +1845,6 @@ class _MessageBubble extends StatelessWidget { ), if (gifUrl == null) const SizedBox(height: 4), ], - if (message.isCliCommand) ...[ - Row( - mainAxisSize: MainAxisSize.min, - children: [ - Icon(Icons.terminal, size: 13, color: metaColor), - const SizedBox(width: 4), - Text( - context.l10n.chat_remoteCliCommand, - style: TextStyle( - fontSize: 11, - fontStyle: FontStyle.italic, - color: metaColor, - ), - ), - ], - ), - const SizedBox(height: 4), - ], if (poi != null) _buildPoiMessage( context, diff --git a/lib/screens/device_cli_screen.dart b/lib/screens/device_cli_screen.dart index a657f5ec..0d1cd2cb 100644 --- a/lib/screens/device_cli_screen.dart +++ b/lib/screens/device_cli_screen.dart @@ -1,17 +1,19 @@ -// Device CLI console (#883, interop plan F2/E2.1) - the local-device -// counterpart of RepeaterCliScreen, built to the owner-approved mockup on -// issue #883. Same console pattern, minus everything mesh-specific: no -// path/flood selection, no retries - one frame-66 send per command with a -// frame-level timeout surfaced as its own transcript row. +// CLI console (#883 local, #999 remote; interop plan F2/E2.1 + F3/E3.1). The +// local-device counterpart of RepeaterCliScreen, built to the owner-approved +// mockup on #883, and - with a [remoteContact] - the surface for remote CLI to +// a companion over the mesh. One console, one transcript; the transport +// ([CliConsoleTransport]) is what differs (local frame 66/29 vs remote TXT +// type-3). Same pattern, minus path/flood selection and retries: one send per +// command, a timeout surfaced as its own transcript row. // // Secrecy rule (W3/F4, applied here from day one): a reply to a command that // names a secret (anything containing "pwd"/"password") renders masked and is // only recoverable via long-press-to-copy; its cleartext never enters the // widget tree as selectable text and is never logged by this screen. // -// Population gating is NOT here: offering this screen only where the -// classifier allows frame 66 is #884 (entry point + gate). Until #884 lands, -// nothing navigates to this screen. +// Population gating is NOT here: offering the local console only where the +// classifier allows frame 66 is #884; offering the remote console only on a +// companion contact is the entry point in chat_screen (#999). import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; @@ -20,7 +22,8 @@ import '../connector/meshcore_connector.dart'; import '../helpers/device_name_validator.dart'; import '../helpers/snack_bar_builder.dart'; import '../l10n/l10n.dart'; -import '../services/local_cli_service.dart'; +import '../models/contact.dart'; +import '../services/cli_console_transport.dart'; enum _EntryKind { command, reply, timeout, sendFailed } @@ -67,12 +70,17 @@ class _ConsoleEntry { } class DeviceCliScreen extends StatefulWidget { - const DeviceCliScreen({super.key, this.commandTimeout}); + const DeviceCliScreen({super.key, this.commandTimeout, this.remoteContact}); - /// Per-command reply window; null uses [LocalCliService.defaultTimeout]. - /// Tests shrink it so a timeout row renders without a 10 s pump. + /// Per-command reply window; null uses the transport's default. Tests shrink + /// it so a timeout row renders without a 10 s pump. The remote transport + /// computes its own mesh window and ignores this. final Duration? commandTimeout; + /// When set, the console runs CLI on this remote contact over the mesh + /// (type-3 for a companion, #999) instead of the connected device. + final Contact? remoteContact; + @override State createState() => _DeviceCliScreenState(); } @@ -83,18 +91,22 @@ class _DeviceCliScreenState extends State { final ScrollController _scrollController = ScrollController(); final List<_ConsoleEntry> _entries = []; int _historyIndex = -1; - LocalCliService? _cliService; + CliConsoleTransport? _transport; + + bool get _isRemote => widget.remoteContact != null; @override void initState() { super.initState(); final connector = Provider.of(context, listen: false); - _cliService = LocalCliService(connector); + _transport = widget.remoteContact == null + ? LocalCliTransport(connector) + : RemoteCliTransport(connector, widget.remoteContact!); } @override void dispose() { - _cliService?.dispose(); + _transport?.dispose(); _commandController.dispose(); _commandFocusNode.dispose(); _scrollController.dispose(); @@ -131,8 +143,8 @@ class _DeviceCliScreenState extends State { Future _sendCommand() async { final command = _commandController.text.trim(); if (command.isEmpty) return; - final service = _cliService; - if (service == null) return; + final transport = _transport; + if (transport == null) return; // Mirror the firmware's `set name` character rejection locally: show the // typed command and a rejection row, and never send the frame (#885). @@ -168,7 +180,10 @@ class _DeviceCliScreenState extends State { final stopwatch = Stopwatch()..start(); _ConsoleEntry entry; try { - final reply = await service.run(command, timeout: widget.commandTimeout); + final reply = await transport.run( + command, + timeout: widget.commandTimeout, + ); stopwatch.stop(); entry = _ConsoleEntry.reply( reply.text, @@ -177,7 +192,7 @@ class _DeviceCliScreenState extends State { secret: secret, isError: looksLikeErrorReply(reply.text), ); - } on LocalCliTimeout catch (e) { + } on CliConsoleTimeout catch (e) { if (!mounted) return; entry = _ConsoleEntry.timeout( context.l10n.deviceCli_noReply(command, e.secondsText), @@ -257,12 +272,20 @@ class _DeviceCliScreenState extends State { Widget build(BuildContext context) { final l10n = context.l10n; final connector = context.watch(); - final name = connector.selfName; - final version = connector.firmwareVersion; - final subtitle = [ - if (name != null && name.isNotEmpty) name, - if (version != null && version.isNotEmpty) '($version)', - ].join(' '); + final String title; + final String subtitle; + if (_isRemote) { + title = l10n.deviceCli_remoteTitle; + subtitle = widget.remoteContact!.name; + } else { + title = l10n.deviceCli_title; + final name = connector.selfName; + final version = connector.firmwareVersion; + subtitle = [ + if (name != null && name.isNotEmpty) name, + if (version != null && version.isNotEmpty) '($version)', + ].join(' '); + } return Scaffold( appBar: AppBar( @@ -270,7 +293,7 @@ class _DeviceCliScreenState extends State { crossAxisAlignment: CrossAxisAlignment.start, mainAxisSize: MainAxisSize.min, children: [ - Text(l10n.deviceCli_title), + Text(title), if (subtitle.isNotEmpty) Text( subtitle, diff --git a/lib/services/cli_console_transport.dart b/lib/services/cli_console_transport.dart new file mode 100644 index 00000000..16676fd4 --- /dev/null +++ b/lib/services/cli_console_transport.dart @@ -0,0 +1,165 @@ +// What the CLI console (device_cli_screen) talks to (#999, plan F3/E3.1). The +// console renders the same transcript whether the CLI runs on the connected +// radio (local frame 66/29) or on a remote contact over the mesh (TXT type +// chosen by role, #888/#889). This abstracts the two transports behind one +// run()->CliReply call and one timeout type, so the screen holds no +// transport-specific branches. +// +// No auto-retry on the remote leg: a companion that has not granted us remote +// CLI (contact flag 0x10 on its side) queues our command as a plain message and +// never replies, so retrying only spams the mesh. One send, then a timeout the +// console explains (#891). Repeaters use their own screen and keep their retry +// behavior there. + +import 'dart:async'; +import 'dart:convert'; +import 'dart:typed_data'; + +import '../connector/cli_command_codec.dart'; +import '../connector/meshcore_connector.dart'; +import '../connector/meshcore_protocol.dart'; +import '../models/contact.dart'; +import 'local_cli_service.dart'; +import 'repeater_command_service.dart'; + +/// A CLI command's window closed with no reply, regardless of transport. Both +/// underlying services carry their own timeout type; the console catches only +/// this one so its handling reads the same for a local or a remote command. +class CliConsoleTimeout implements Exception { + const CliConsoleTimeout({required this.command, required this.secondsText}); + + final String command; + + /// The armed window in seconds to one decimal, e.g. `10.0`. + final String secondsText; + + @override + String toString() => 'CLI command timed out after $secondsText s'; +} + +/// One CLI transport for the console: the connected device, or a remote contact. +abstract class CliConsoleTransport { + /// Runs [command] and completes with the correlated reply, or throws + /// [CliConsoleTimeout] when the window closes with no answer. Other failures + /// (codec rejection, send error) surface as their own exceptions. + Future run(String command, {Duration? timeout}); + + void dispose(); +} + +/// CLI on the connected radio, over frame 66/29. +class LocalCliTransport implements CliConsoleTransport { + LocalCliTransport(MeshCoreConnector connector, {LocalCliService? service}) + : _service = service ?? LocalCliService(connector); + + final LocalCliService _service; + + @override + Future run(String command, {Duration? timeout}) async { + try { + return await _service.run(command, timeout: timeout); + } on LocalCliTimeout catch (e) { + throw CliConsoleTimeout(command: command, secondsText: e.secondsText); + } + } + + @override + void dispose() => _service.dispose(); +} + +/// CLI on a remote contact over the mesh. The txt type is chosen by the +/// target's role (#888/#889): a companion gets TXT_TYPE_CLI_COMMAND, a +/// repeater/room server the universal CLI_DATA. The reply returns as a contact +/// message carrying the reflected `cc|` prefix; this listens for it and feeds it +/// to the shared correlation in [RepeaterCommandService]. +class RemoteCliTransport implements CliConsoleTransport { + RemoteCliTransport( + this._connector, + this._target, { + RepeaterCommandService? service, + }) : _service = service ?? RepeaterCommandService(_connector) { + // A companion is a human chat node, so a late/unmatched reply must never + // log its text: a slow `get wifi.pwd` round trip would otherwise write the + // password to the app log, which the console's masking cannot undo. Match + // LocalCliService, which always withholds (#999 review). + _service.redactUnmatchedReplyText = true; + _sub = _connector.receivedFrames.listen(_onFrame); + } + + final MeshCoreConnector _connector; + final Contact _target; + final RepeaterCommandService _service; + StreamSubscription? _sub; + bool _disposed = false; + + void _onFrame(Uint8List frame) { + if (_disposed || frame.isEmpty) return; + if (frame[0] != respCodeContactMsgRecv && + frame[0] != respCodeContactMsgRecvV3) { + return; + } + final parsed = parseContactMessageText(frame); + if (parsed == null) return; + if (!_matchesTargetPrefix(parsed.senderPrefix)) return; + // Only a CLI_DATA reply answers a command. A plain chat message, or an + // inbound type-3 command, from the SAME companion must not complete our + // pending command - without this it would hit handleResponse's unprefixed + // sole-pending fallback and render "hey, you there?" as the CLI reply + // (#999 review). Some layouts carry the type shifted; check both. + final t = parsed.txtType; + if (t != txtTypeCliData && (t >> 2) != txtTypeCliData) return; + // Routes to the waiting command's future (or is logged if its window + // already closed, #589). handleResponse resolves the target from its key, + // so the possibly-stale [_target] is fine here. + _service.handleResponse(_resolveTarget(), parsed.text); + } + + bool _matchesTargetPrefix(Uint8List prefix) { + final key = _target.publicKey; + if (key.length < 6 || prefix.length < 6) return false; + for (var i = 0; i < 6; i++) { + if (prefix[i] != key[i]) return false; + } + return true; + } + + /// The contact's path can be updated after this transport is built, so re-read + /// the live contact by key at send time and fall back to the original. + Contact _resolveTarget() { + for (final c in _connector.contacts) { + if (c.publicKeyHex == _target.publicKeyHex) return c; + } + return _target; + } + + @override + Future run(String command, {Duration? timeout}) async { + // retries: 1 - one send, no auto-retry. See the file header. + try { + final text = await _service.sendCommand( + _resolveTarget(), + command, + retries: 1, + ); + // payloadLength drives CliReply.atReplyBound (the local 165-byte device + // bound). A remote reply is a reassembled mesh message, so that bound is + // not meaningful and truncation cannot be detected here; the stripped + // text length keeps atReplyBound false rather than faking a cut (#999). + return CliReply( + prefix: null, + text: text, + payloadLength: utf8.encode(text).length, + ); + } on RepeaterCommandTimeout catch (e) { + throw CliConsoleTimeout(command: command, secondsText: e.secondsText); + } + } + + @override + void dispose() { + _disposed = true; + _sub?.cancel(); + _sub = null; + _service.dispose(); + } +} diff --git a/lib/services/repeater_command_service.dart b/lib/services/repeater_command_service.dart index 5cdcb2f0..845e4a12 100644 --- a/lib/services/repeater_command_service.dart +++ b/lib/services/repeater_command_service.dart @@ -90,6 +90,13 @@ class RepeaterCommandService { /// them in front of users (#589). void Function(UnmatchedRepeaterResponse)? onUnmatchedResponse; + /// When set, the late/unmatched log withholds the reply text and the command + /// string, logging only lengths. The remote CLI console sets this so a + /// slow `get wifi.pwd` reply never writes the password to the app log, the + /// same guarantee [LocalCliService] gives (#999 review). Default false keeps + /// the repeater path's existing diagnostics. + bool redactUnmatchedReplyText = false; + RepeaterCommandService(this._connector); /// Send a CLI command to a contact (a repeater/room server OR a companion) @@ -255,16 +262,25 @@ class RepeaterCommandService { : DateTime.now().difference(expired.expiredAt); if (expired != null) { + final commandText = redactUnmatchedReplyText + ? '(withheld)' + : '"${expired.command}"'; + final payloadText = redactUnmatchedReplyText + ? '${responsePayload.length} chars, text withheld' + : responsePayload; appLogger.warn( - 'Late reply to "${expired.command}" from $repeaterKey arrived ' + 'Late reply to $commandText from $repeaterKey arrived ' '${sinceTimeout!.inMilliseconds}ms after its window closed: ' - '$responsePayload', + '$payloadText', tag: 'RepeaterCommand', ); } else { + final payloadText = redactUnmatchedReplyText + ? '${responsePayload.length} chars, text withheld' + : responsePayload; appLogger.warn( 'Reply from $repeaterKey matched no pending or recently expired ' - 'command (prefix: ${prefix ?? 'none'}): $responsePayload', + 'command (prefix: ${prefix ?? 'none'}): $payloadText', tag: 'RepeaterCommand', ); } diff --git a/test/connector/build_update_contact_path_frame_test.dart b/test/connector/build_update_contact_path_frame_test.dart index ee3b341e..9d4273b4 100644 --- a/test/connector/build_update_contact_path_frame_test.dart +++ b/test/connector/build_update_contact_path_frame_test.dart @@ -263,7 +263,7 @@ void main() { test('Contact.remoteCliAllowed reflects the 0x10 bit', () { Contact withFlags(int flags) => Contact( publicKey: Uint8List(32), - name: 'X', + receivedName: 'X', type: 1, pathLength: 0, path: Uint8List(0), diff --git a/test/connector/inbound_cli_command_test.dart b/test/connector/inbound_cli_command_test.dart index 7ef1361a..053ceee1 100644 --- a/test/connector/inbound_cli_command_test.dart +++ b/test/connector/inbound_cli_command_test.dart @@ -49,7 +49,7 @@ void main() { connector.contactsForTest.add( Contact( publicKey: pubKey, - name: 'Sender', + receivedName: 'Sender', type: advTypeChat, pathLength: 0, path: Uint8List(0), @@ -90,4 +90,48 @@ void main() { expect(msg!.isCli, isFalse); expect(msg.isCliCommand, isFalse); }); + + group('CLI traffic stays out of the chat thread (#999)', () { + // CLI and chat are separate surfaces: a CLI reply (type-1) or an inbound + // CLI command (type-3) is the CLI console's concern, correlated via the + // receivedFrames listener. It must never land in the contact's + // conversation. The console is tested in cli_console_transport_test. + setUp(() { + // The incoming-message path bails without a self identity; set one + // distinct from the sender so nothing is mistaken for an echo of self. + connector.setSelfPublicKeyForTest( + Uint8List.fromList(List.filled(32, 0xAA)), + ); + }); + + Iterable allMessages() => + connector.conversationsForTest.values.expand((m) => m); + + test('a type-1 CLI reply does not enter the conversation', () async { + connector.handleFrameForTest( + _frame(txtType: txtTypeCliData, pubKey: pubKey, text: 'A1|radio ok'), + ); + await Future.delayed(Duration.zero); + expect(allMessages(), isEmpty); + }); + + test( + 'an inbound type-3 CLI command does not enter the conversation', + () async { + connector.handleFrameForTest( + _frame(txtType: txtTypeCliCommand, pubKey: pubKey, text: 'reboot'), + ); + await Future.delayed(Duration.zero); + expect(allMessages(), isEmpty); + }, + ); + + test('a plain message does enter the conversation', () async { + connector.handleFrameForTest( + _frame(txtType: txtTypePlain, pubKey: pubKey, text: 'hi there'), + ); + await Future.delayed(Duration.zero); + expect(allMessages(), isNotEmpty); + }); + }); } diff --git a/test/models/contact_is_companion_test.dart b/test/models/contact_is_companion_test.dart new file mode 100644 index 00000000..04dbfa8c --- /dev/null +++ b/test/models/contact_is_companion_test.dart @@ -0,0 +1,31 @@ +// #999: remote CLI is a companion-only feature, and the chat-screen entry point +// gates on Contact.isCompanion. These pin that only a chat node reads as a +// companion - a repeater, room server or sensor must not, or the CLI-console +// action would appear where it does not belong. + +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/connector/meshcore_protocol.dart'; +import 'package:meshcore_open/models/contact.dart'; + +Contact _of(int type) => Contact( + publicKey: Uint8List.fromList(List.generate(32, (i) => i)), + receivedName: 'X', + type: type, + pathLength: 0, + path: Uint8List(0), + lastSeen: DateTime.fromMillisecondsSinceEpoch(0), +); + +void main() { + test('a chat node is a companion', () { + expect(_of(advTypeChat).isCompanion, isTrue); + }); + + test('a repeater, room server or sensor is not a companion', () { + expect(_of(advTypeRepeater).isCompanion, isFalse); + expect(_of(advTypeRoom).isCompanion, isFalse); + expect(_of(advTypeSensor).isCompanion, isFalse); + }); +} diff --git a/test/screens/device_cli_screen_test.dart b/test/screens/device_cli_screen_test.dart index 90e55764..834905a0 100644 --- a/test/screens/device_cli_screen_test.dart +++ b/test/screens/device_cli_screen_test.dart @@ -15,7 +15,9 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:meshcore_open/connector/cli_command_codec.dart'; import 'package:meshcore_open/connector/meshcore_connector.dart'; +import 'package:meshcore_open/connector/meshcore_protocol.dart'; import 'package:meshcore_open/l10n/app_localizations.dart'; +import 'package:meshcore_open/models/contact.dart'; import 'package:meshcore_open/screens/device_cli_screen.dart'; import 'package:meshcore_open/storage/drift/blob_store.dart'; import 'package:meshcore_open/storage/drift/offband_database.dart'; @@ -264,4 +266,45 @@ void main() { final field = tester.widget(find.byType(TextField)); expect(field.controller?.text, 'get radio'); }); + + group('remote companion target (#999)', () { + Contact companion() => Contact( + publicKey: Uint8List.fromList(List.generate(32, (i) => i + 1)), + receivedName: 'Pocket Radio', + type: advTypeChat, + pathLength: 0, + path: Uint8List(0), + lastSeen: DateTime.fromMillisecondsSinceEpoch(0), + ); + + Future pumpRemote(WidgetTester tester, Contact target) async { + connector.contactsForTest.add(target); + await tester.pumpWidget( + ChangeNotifierProvider.value( + value: connector, + child: MaterialApp( + localizationsDelegates: AppLocalizations.localizationsDelegates, + supportedLocales: AppLocalizations.supportedLocales, + home: DeviceCliScreen(remoteContact: target), + ), + ), + ); + await tester.pumpAndSettle(); + } + + testWidgets('titles with the remote variant and the contact name', ( + tester, + ) async { + await pumpRemote(tester, companion()); + + // Remote mode titles "Remote CLI" with the contact as the subtitle, + // rather than the local "Device CLI" + self name/version. The send and + // reply correlation over the mesh are covered in + // cli_console_transport_test; the entry-point gating in + // contact_is_companion_test. + expect(find.text('Remote CLI'), findsOneWidget); + expect(find.text('Pocket Radio'), findsOneWidget); + expect(find.text('Device CLI'), findsNothing); + }); + }); } diff --git a/test/services/cli_console_transport_test.dart b/test/services/cli_console_transport_test.dart new file mode 100644 index 00000000..2c180a9a --- /dev/null +++ b/test/services/cli_console_transport_test.dart @@ -0,0 +1,262 @@ +// #999: the CLI console must drive a remote companion the same way it drives +// the local device - one run()->CliReply call, one timeout type. These pin the +// remote transport's wiring (send type-3, correlate the reflected-prefix +// reply), its sender filtering (another contact's reply must not complete our +// command), and that both transports map their service's timeout to the single +// CliConsoleTimeout the console catches. + +import 'dart:async'; +import 'dart:convert'; +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/connector/cli_command_codec.dart'; +import 'package:meshcore_open/connector/meshcore_connector.dart'; +import 'package:meshcore_open/connector/meshcore_protocol.dart'; +import 'package:meshcore_open/models/contact.dart'; +import 'package:meshcore_open/services/cli_console_transport.dart'; +import 'package:meshcore_open/services/local_cli_service.dart'; +import 'package:meshcore_open/services/repeater_command_service.dart'; +import 'package:meshcore_open/storage/prefs_manager.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +Contact _companion() => Contact( + publicKey: Uint8List.fromList(List.generate(32, (i) => i + 1)), + receivedName: 'Companion', + type: advTypeChat, + pathLength: 0, + path: Uint8List(0), + lastSeen: DateTime.fromMillisecondsSinceEpoch(0), +); + +/// A contact-message reply frame carrying [text] from [senderPrefix]: +/// [respCodeContactMsgRecv][prefix x6][path_len][txt_type][ts x4][text][0]. +Uint8List _replyFrame({ + required Uint8List senderPrefix, + required String text, + int txtType = txtTypeCliData, +}) { + final b = BytesBuilder(); + b.addByte(respCodeContactMsgRecv); + b.add(senderPrefix.sublist(0, 6)); + b.addByte(0); // path_len + b.addByte(txtType); // CLI_DATA is the reply type a companion answers with + b.add([0, 0, 0, 0]); // timestamp + b.add(ascii.encode(text)); + b.addByte(0); + return b.toBytes(); +} + +/// Throws a timeout from sendCommand so the mapping can be tested without +/// waiting out a real mesh window. +class _TimingOutRemoteService extends RepeaterCommandService { + _TimingOutRemoteService(super.connector); + + @override + Future sendCommand( + Contact repeater, + String command, { + Function(String)? onResponse, + Function(int)? onAttempt, + int retries = RepeaterCommandService.maxRetries, + }) async { + throw RepeaterCommandTimeout(command: command, timeoutMs: 4300); + } +} + +/// Throws a local timeout from run() so LocalCliTransport's mapping can be +/// tested in isolation. +class _TimingOutLocalService extends LocalCliService { + _TimingOutLocalService(super.connector); + + @override + Future run(String command, {Duration? timeout}) async { + throw LocalCliTimeout( + command: command, + timeout: const Duration(seconds: 10), + ); + } +} + +void main() { + TestWidgetsFlutterBinding.ensureInitialized(); + + setUp(() async { + SharedPreferences.setMockInitialValues({}); + PrefsManager.reset(); + await PrefsManager.initialize(); + }); + + group('RemoteCliTransport', () { + test( + 'sends a type-3 command and completes with the correlated reply', + () async { + final connector = MeshCoreConnector(); + final companion = _companion(); + final sent = []; + final cliSent = Completer(); + connector.sendFrameOverrideForTest = (f) { + sent.add(f); + if (!cliSent.isCompleted && f.isNotEmpty && f[0] == cmdSendTxtMsg) { + cliSent.complete(f); + } + }; + connector.setConnectedForTest(); + connector.contactsForTest.add(companion); + + final transport = RemoteCliTransport(connector, companion); + final future = transport.run('get radio'); + + final frame = await cliSent.future; + // Frame: [cmd][type][attempt][ts x4][pubKey x6][cc| prefix ...]. + expect(frame[1], txtTypeCliCommand, reason: 'a companion gets type 3'); + final prefix = ascii.decode(frame.sublist(13, 16)); + + connector.handleFrameForTest( + _replyFrame( + senderPrefix: companion.publicKey, + text: '${prefix}radio ok', + ), + ); + + final reply = await future; + expect(reply.text, 'radio ok'); + // No auto-retry: exactly one CLI send frame went out (#999/#891). + expect( + sent.where((f) => f.isNotEmpty && f[0] == cmdSendTxtMsg), + hasLength(1), + ); + transport.dispose(); + }, + ); + + test( + 'a plain or type-3 message from the target does not complete the command', + () async { + final connector = MeshCoreConnector(); + final companion = _companion(); + final cliSent = Completer(); + connector.sendFrameOverrideForTest = (f) { + if (!cliSent.isCompleted && f.isNotEmpty && f[0] == cmdSendTxtMsg) { + cliSent.complete(f); + } + }; + connector.setConnectedForTest(); + connector.contactsForTest.add(companion); + + final transport = RemoteCliTransport(connector, companion); + final future = transport.run('get radio'); + final frame = await cliSent.future; + final prefix = ascii.decode(frame.sublist(13, 16)); + + // A companion is a human chat node. A plain chat message (no prefix) + // must NOT complete the command via the unprefixed sole-pending + // fallback, and neither must an inbound type-3 command from them. + connector.handleFrameForTest( + _replyFrame( + senderPrefix: companion.publicKey, + text: 'hey, you there?', + txtType: txtTypePlain, + ), + ); + connector.handleFrameForTest( + _replyFrame( + senderPrefix: companion.publicKey, + text: 'run this on me', + txtType: txtTypeCliCommand, + ), + ); + // Only the real CLI_DATA reply completes it. + connector.handleFrameForTest( + _replyFrame( + senderPrefix: companion.publicKey, + text: '${prefix}radio ok', + ), + ); + + final reply = await future; + expect(reply.text, 'radio ok'); + transport.dispose(); + }, + ); + + test( + 'a reply from another contact does not complete our command', + () async { + final connector = MeshCoreConnector(); + final companion = _companion(); + final cliSent = Completer(); + connector.sendFrameOverrideForTest = (f) { + if (!cliSent.isCompleted && f.isNotEmpty && f[0] == cmdSendTxtMsg) { + cliSent.complete(f); + } + }; + connector.setConnectedForTest(); + connector.contactsForTest.add(companion); + + final transport = RemoteCliTransport(connector, companion); + final future = transport.run('get radio'); + final frame = await cliSent.future; + final prefix = ascii.decode(frame.sublist(13, 16)); + + // A different contact reflects the same prefix - must be ignored. + final otherKey = Uint8List.fromList(List.filled(32, 0xEE)); + connector.handleFrameForTest( + _replyFrame(senderPrefix: otherKey, text: '${prefix}WRONG'), + ); + // The real target's reply must be the one that completes it. + connector.handleFrameForTest( + _replyFrame( + senderPrefix: companion.publicKey, + text: '${prefix}RIGHT', + ), + ); + + final reply = await future; + expect(reply.text, 'RIGHT'); + transport.dispose(); + }, + ); + + test('a timed-out send surfaces as CliConsoleTimeout', () async { + final connector = MeshCoreConnector(); + final transport = RemoteCliTransport( + connector, + _companion(), + service: _TimingOutRemoteService(connector), + ); + await expectLater( + transport.run('get radio'), + throwsA( + isA().having( + (e) => e.secondsText, + 'secondsText', + '4.3', + ), + ), + ); + transport.dispose(); + }); + }); + + group('LocalCliTransport', () { + test('a local timeout surfaces as CliConsoleTimeout', () async { + final connector = MeshCoreConnector(); + final transport = LocalCliTransport( + connector, + service: _TimingOutLocalService(connector), + ); + await expectLater( + transport.run('get radio'), + throwsA( + isA().having( + (e) => e.secondsText, + 'secondsText', + '10.0', + ), + ), + ); + transport.dispose(); + }); + }); +} diff --git a/untranslated.json b/untranslated.json index e845a8e0..62282b06 100644 --- a/untranslated.json +++ b/untranslated.json @@ -1,11 +1,16 @@ { "bg": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -32,6 +37,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -71,8 +112,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -267,16 +316,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "de": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -303,6 +372,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -342,8 +447,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -538,16 +651,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "es": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -574,6 +707,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -613,8 +782,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -809,16 +986,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "fr": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -845,6 +1042,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -884,8 +1117,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -1080,16 +1321,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "hu": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -1116,6 +1377,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -1155,8 +1452,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -1351,16 +1656,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "it": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -1387,6 +1712,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -1426,8 +1787,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -1622,16 +1991,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "ja": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -1658,6 +2047,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -1697,8 +2122,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -1893,16 +2326,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "ko": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -1929,6 +2382,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -1968,8 +2457,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -2164,16 +2661,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "nl": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -2200,6 +2717,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -2239,8 +2792,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -2435,16 +2996,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "pl": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -2471,6 +3052,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -2510,8 +3127,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -2706,16 +3331,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "pt": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -2742,6 +3387,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -2781,8 +3462,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -2977,16 +3666,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "ru": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -3013,6 +3722,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -3052,8 +3797,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -3248,16 +4001,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "sk": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -3284,6 +4057,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -3323,8 +4132,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -3519,16 +4336,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "sl": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -3555,6 +4392,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -3594,8 +4467,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -3790,16 +4671,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "sv": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -3826,6 +4727,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -3865,8 +4802,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -4061,16 +5006,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "uk": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -4097,6 +5062,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -4136,8 +5137,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -4332,16 +5341,36 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ], "zh": [ + "common_stop", + "scanner_reconnecting", + "scanner_reconnectGaveUp", + "connectBusy", "scanner_connectFailedTransient", "scanner_connectFailedTimeout", "scanner_connectFailedGeneric", "scanner_bleReleaseWarning", "scanner_bleReleaseWarningMessage", "deviceCli_title", + "deviceCli_remoteTitle", "deviceCli_entrySubtitle", "deviceCli_nameRejected", "deviceCli_commandHint", @@ -4368,6 +5397,42 @@ "settings_gpsStatusTime", "settings_gpsStatusTapRefresh", "settings_gpsStatusNoResponse", + "settings_locationCategorySubtitle", + "settings_locationCoordinates", + "settings_locationNotSet", + "settings_locationReportInterval", + "settings_locationEveryMinutes", + "settings_locationEverySeconds", + "settings_gpsModeLabel", + "settings_gpsModeOff", + "settings_gpsModeOn", + "settings_gpsModePowerSave", + "settings_gpsActivityOff", + "settings_gpsActivityOn", + "settings_gpsActivitySearching", + "settings_gpsActivitySleeping", + "settings_gpsActivityBackedOff", + "settings_gpsOffDetail", + "settings_gpsNextTryMinutes", + "settings_gpsNextTrySeconds", + "settings_gpsLastFixMinutes", + "settings_gpsSatellites", + "settings_gpsQuery", + "settings_gpsReading", + "settings_gpsSleepTitle", + "settings_gpsSleepDefault", + "settings_gpsSleepFieldLabel", + "settings_gpsSleepFieldHint", + "settings_gpsSleepInvalid", + "settings_buttonActions", + "settings_buttonActionsSubtitle", + "settings_badgeScreen", + "settings_badgeScreenSubtitle", + "settings_badgeBattery", + "settings_badgeBatterySubtitle", + "settings_badgeBatteryReading", + "settings_buzzerTones", + "settings_buzzerTonesSubtitle", "settings_experimental", "settings_experimentalSubtitle", "settings_experimentalDescription", @@ -4407,8 +5472,16 @@ "appSettings_clock24h", "contacts_searchSensors", "contacts_manageSensor", + "contact_rename", + "contact_renameTitle", + "contact_renameHint", + "contact_renameExplain", + "contact_renameClear", + "contact_renameTooLong", + "contact_nodeCallsItself", "contact_remoteCli", "contact_remoteCliSubtitle", + "contact_cliConsole", "channels_notifications", "channels_notifyAll", "channels_notifyMentionsOnly", @@ -4603,6 +5676,21 @@ "setRegionScope_save", "setRegionScope_searchRepeaters", "setRegionScope_pathNote", - "setRegionScope_noPath" + "setRegionScope_noPath", + "storage_title", + "storage_databaseSize", + "storage_staleHint", + "storage_clearStaleNow", + "storage_working", + "storage_resultNothing", + "storage_resultCleared", + "storage_resultRefused", + "storage_confirmTitle", + "storage_confirmBody", + "storage_confirmSafe", + "storage_confirmIrreversible", + "storage_confirmKeptBack", + "storage_confirmAction", + "storage_resultFailed" ] }