Merge pull request #646 from ericszimmermann/ez_backup-restore
Backup and Restore functionality
This commit is contained in:
42 files changed
+7629
-251
No files matched your search
@@ -17,7 +17,7 @@ MeshCore Open is an open-source Flutter client for MeshCore LoRa mesh networking
|
||||
4. [Chat & Messaging](chat-and-messaging.md) - Direct messages, location sharing, message status, reactions, and retries
|
||||
5. [Channels](channels.md) - Broadcast channels, communities, channel chat, and auto-resend
|
||||
6. [Map & Location](map-and-location.md) - Node map, shared pins, path tracing, line-of-sight, and offline caching
|
||||
7. [Settings](settings.md) - Device settings, app settings, radio configuration, and exports
|
||||
7. [Settings](settings.md) - Device settings, app settings, radio configuration, backup/restore, and exports
|
||||
8. [Notifications](notifications.md) - System notifications, replies from watches and Android Auto, unread badges, and notification preferences
|
||||
9. [Repeater Management](repeater-management.md) - Repeater hub, status, CLI, telemetry, and neighbors
|
||||
10. [Additional Features](additional-features.md) - GIF picker, localization, debug logs, SMAZ compression, and more
|
||||
|
||||
@@ -16,7 +16,7 @@ The settings screen is a scrollable list of cards:
|
||||
3. [Location](#location)
|
||||
4. [App Settings](#app-settings) (link to sub-screen)
|
||||
5. [Actions](#actions)
|
||||
6. [Export](#export)
|
||||
6. [Backup & Restore and Export](#export)
|
||||
7. [Debug](#debug)
|
||||
8. [About](#about)
|
||||
|
||||
@@ -202,7 +202,19 @@ One-tap device operations:
|
||||
|
||||
---
|
||||
|
||||
## Export
|
||||
## Backup & Restore and Export
|
||||
|
||||
The settings card links to **Backup & Restore** and **Export** subpages.
|
||||
|
||||
### Backup & Restore
|
||||
|
||||
Choose individual items to include in a backup or restore. Location settings include the saved coordinates, GPS enable state and interval, contact discovery options, and privacy/adverts settings. When importing, only items found in the selected file can be selected. Backups from the official MeshCore app are supported; those files do not include app preferences, groups, filters, or message history, so those choices are unavailable. A radio connection is required to restore radio settings and contact or channel lists. Restoring contacts or channels replaces the selected list on the radio, then reloads it from the device. If you also restore the radio identity, reconnect afterward to reload its data. Message history and groups are restored in the app.
|
||||
|
||||
The private-key option is off by default because it changes the radio's identity. Select it only when you intend to restore that identity; the app asks for confirmation before proceeding. Some radios do not allow identity backup or restore, and the app will let you know if this feature is unavailable.
|
||||
|
||||
A password protects the backup file. Leave the password blank to create an unprotected file. Backups may contain your radio's private key, channel keys, messages and saved passwords, so store them carefully. Model settings are backed up, but model files are not; after restoring, the app offers to download selected models that are missing. Download progress appears in that prompt, and closing it cancels an active download. Received image files and cached map tiles are not included.
|
||||
|
||||
### GPX Export
|
||||
|
||||
Three GPX export options (not available on web):
|
||||
|
||||
|
||||
@@ -568,6 +568,10 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
bool get isAutoReconnectScheduled =>
|
||||
(_shouldAutoReconnect || _shouldAutoReconnectTcp) &&
|
||||
(_reconnectTimer?.isActive ?? false);
|
||||
|
||||
@visibleForTesting
|
||||
int get reconnectAttemptsForTesting => _reconnectAttempts;
|
||||
|
||||
String? get activeTcpEndpoint => _tcpConnector.activeEndpoint;
|
||||
bool get isTcpTransportConnected =>
|
||||
_state == MeshCoreConnectionState.connected &&
|
||||
@@ -622,6 +626,12 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
return List.unmodifiable(_discoveredContacts);
|
||||
}
|
||||
|
||||
Future<void> reloadDiscoveredContacts() async {
|
||||
if (!isConnected) return;
|
||||
await _loadDiscoveredContactCache();
|
||||
await updateKnownDiscovered();
|
||||
}
|
||||
|
||||
String exportDiscoveredContactsJson() {
|
||||
return _discoveryContactStore.exportContactsJson(_discoveredContacts);
|
||||
}
|
||||
@@ -4464,6 +4474,36 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
} catch (_) {}
|
||||
}
|
||||
|
||||
Future<Uint8List> exportPrivateKey() async {
|
||||
if (!isConnected) throw StateError('Not connected to a MeshCore device');
|
||||
final response = Completer<Uint8List>();
|
||||
final subscription = receivedFrames.listen((frame) {
|
||||
if (frame.isNotEmpty &&
|
||||
frame[0] == respCodePrivateKey &&
|
||||
!response.isCompleted) {
|
||||
response.complete(Uint8List.fromList(frame));
|
||||
}
|
||||
});
|
||||
try {
|
||||
await sendFrame(buildExportPrivateKeyFrame(), waitForGenericAck: true);
|
||||
final frame = await response.future.timeout(const Duration(seconds: 1));
|
||||
if (frame.length != 65) {
|
||||
throw FormatException('Firmware returned an invalid private-key frame');
|
||||
}
|
||||
return Uint8List.fromList(frame.sublist(1));
|
||||
} finally {
|
||||
await subscription.cancel();
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> importPrivateKey(Uint8List keyData) async {
|
||||
if (!isConnected) throw StateError('Not connected to a MeshCore device');
|
||||
await sendFrame(
|
||||
buildImportPrivateKeyFrame(keyData),
|
||||
waitForGenericAck: true,
|
||||
);
|
||||
}
|
||||
|
||||
/// Sends CMD_SET_RADIO_PARAMS (same arguments as [buildSetRadioParamsFrame])
|
||||
/// and waits for the reply. Returns false when the firmware rejects it with
|
||||
/// ERR_ILLEGAL_ARG (values out of range, or [clientRepeat] on a frequency
|
||||
|
||||
@@ -195,6 +195,8 @@ const int cmdImportContact = 18;
|
||||
const int cmdReboot = 19;
|
||||
const int cmdGetBattAndStorage = 20;
|
||||
const int cmdDeviceQuery = 22;
|
||||
const int cmdExportPrivateKey = 23;
|
||||
const int cmdImportPrivateKey = 24;
|
||||
const int cmdSendLogin = 26;
|
||||
const int cmdSendStatusReq = 27;
|
||||
const int cmdGetContactByKey = 30;
|
||||
@@ -259,6 +261,8 @@ const int respCodeNoMoreMessages = 10;
|
||||
const int respCodeExportContact = 11;
|
||||
const int respCodeBattAndStorage = 12;
|
||||
const int respCodeDeviceInfo = 13;
|
||||
const int respCodePrivateKey = 14;
|
||||
const int respCodeDisabled = 15;
|
||||
const int respCodeContactMsgRecvV3 = 16;
|
||||
const int respCodeChannelMsgRecvV3 = 17;
|
||||
const int respCodeChannelInfo = 18;
|
||||
@@ -1087,6 +1091,16 @@ Uint8List buildTraceReq(int tag, int auth, int flag, {Uint8List? payload}) {
|
||||
return writer.toBytes();
|
||||
}
|
||||
|
||||
Uint8List buildExportPrivateKeyFrame() =>
|
||||
Uint8List.fromList([cmdExportPrivateKey]);
|
||||
|
||||
Uint8List buildImportPrivateKeyFrame(Uint8List keyData) {
|
||||
if (keyData.length != 64) {
|
||||
throw ArgumentError.value(keyData.length, 'keyData.length', 'must be 64');
|
||||
}
|
||||
return Uint8List.fromList([cmdImportPrivateKey, ...keyData]);
|
||||
}
|
||||
|
||||
// Build a export contact frame
|
||||
// [cmd][pub_key x32 / if empty exports your contact info]
|
||||
Uint8List buildExportContactFrame(Uint8List pubKey) {
|
||||
|
||||
@@ -63,6 +63,7 @@ int? replyCodeForCommand(Uint8List data) {
|
||||
case cmdRemoveContact:
|
||||
case cmdShareContact:
|
||||
case cmdImportContact:
|
||||
case cmdImportPrivateKey:
|
||||
case cmdSetChannel:
|
||||
case cmdSetOtherParams:
|
||||
case cmdSetCustomVar:
|
||||
@@ -95,6 +96,8 @@ int? replyCodeForCommand(Uint8List data) {
|
||||
return respCodeCurrTime;
|
||||
case cmdExportContact:
|
||||
return respCodeExportContact;
|
||||
case cmdExportPrivateKey:
|
||||
return respCodePrivateKey;
|
||||
case cmdGetBattAndStorage:
|
||||
return respCodeBattAndStorage;
|
||||
case cmdGetChannel:
|
||||
@@ -180,6 +183,19 @@ class PendingCommandReplies {
|
||||
if (frame.isEmpty) return false;
|
||||
_pruneStale();
|
||||
final code = frame[0];
|
||||
if (code == respCodeDisabled) {
|
||||
final index = _queue.indexWhere(
|
||||
(pending) =>
|
||||
pending.commandCode == cmdExportPrivateKey ||
|
||||
pending.commandCode == cmdImportPrivateKey,
|
||||
);
|
||||
if (index < 0) return false;
|
||||
final pending = _queue.removeAt(index);
|
||||
pending.completer?.completeError(
|
||||
UnsupportedError('Private-key transfer is disabled by firmware'),
|
||||
);
|
||||
return true;
|
||||
}
|
||||
if (code == respCodeOk || code == respCodeErr) return false;
|
||||
final key = code == respCodeContact && frame.length >= 1 + pubKeySize
|
||||
? frame.sublist(1, 1 + pubKeySize)
|
||||
|
||||
@@ -190,6 +190,71 @@
|
||||
"settings_deviceInfo": "Device Info",
|
||||
"settings_appSettings": "App Settings",
|
||||
"settings_appSettingsSubtitle": "Notifications, messaging, and map preferences",
|
||||
"settings_export": "Export",
|
||||
"settings_exportSubtitle": "Export contacts and repeaters as GPX",
|
||||
"backupRestore_title": "Backup & Restore",
|
||||
"backupRestore_subtitle": "Save or restore app data and radio settings",
|
||||
"backupRestore_import": "Import",
|
||||
"backupRestore_selectImportFile": "Import File",
|
||||
"backupRestore_password": "Password (optional)",
|
||||
"backupRestore_passwordHelp": "A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.",
|
||||
"backupRestore_importUnavailable": "Check the password or choose a supported backup file.",
|
||||
"backupRestore_items": "Backup and restore items",
|
||||
"backupRestore_nodeSettings": "Node Settings",
|
||||
"backupRestore_nodeSettingsDescription": "Device name, private and public keys, radio settings, and regions",
|
||||
"backupRestore_deviceName": "Device Name",
|
||||
"backupRestore_privateKey": "Private Key (sensitive)",
|
||||
"backupRestore_publicKey": "Public Key",
|
||||
"backupRestore_radioSettings": "Radio Settings",
|
||||
"backupRestore_regions": "Regions",
|
||||
"backupRestore_location": "Location",
|
||||
"backupRestore_contactSettings": "Contact Settings",
|
||||
"backupRestore_privacySettings": "Privacy Settings",
|
||||
"backupRestore_contactsData": "Contacts",
|
||||
"backupRestore_perContactSettings": "Contact Settings and Filters",
|
||||
"backupRestore_contactGroups": "Contact Groups",
|
||||
"backupRestore_contactHistory": "Contact History",
|
||||
"backupRestore_channelsData": "Channels",
|
||||
"backupRestore_channelFilters": "Message Filter Settings",
|
||||
"backupRestore_channelSettings": "Channel Settings",
|
||||
"backupRestore_communities": "Communities",
|
||||
"backupRestore_channelHistory": "Channel History",
|
||||
"backupRestore_locationSettings": "Location Settings",
|
||||
"backupRestore_locationSettingsDescription": "Location, contact settings, and privacy settings",
|
||||
"backupRestore_appSettings": "App Settings",
|
||||
"backupRestore_appSettingsDescription": "App preferences and appearance settings",
|
||||
"backupRestore_ipfsKey": "IPFS API Key (sensitive)",
|
||||
"backupRestore_stadiaMapKey": "Stadia Maps API Key (sensitive)",
|
||||
"backupRestore_contacts": "Contacts",
|
||||
"backupRestore_contactsDescription": "Contacts, per-contact filters and settings, groups, and message history",
|
||||
"backupRestore_discoveredContacts": "Discovered Contacts",
|
||||
"backupRestore_discoveredContactsDescription": "Discovered contacts and their saved details",
|
||||
"backupRestore_channels": "Channels",
|
||||
"backupRestore_channelsDescription": "Channels, channel filters, communities, and message history",
|
||||
"backupRestore_backup": "Create Backup",
|
||||
"backupRestore_restore": "Restore Selected",
|
||||
"backupRestore_backupComplete": "Backup file created.",
|
||||
"backupRestore_restoreComplete": "Restore complete. Reconnect if you restored the radio identity.",
|
||||
"backupRestore_missingModelsTitle": "Models Not Downloaded",
|
||||
"backupRestore_missingModelsMessage": "The restored settings select models that are not available on this device:\n{models}\n\nDownload them now?",
|
||||
"@backupRestore_missingModelsMessage": {
|
||||
"placeholders": {
|
||||
"models": {"type": "String"}
|
||||
}
|
||||
},
|
||||
"backupRestore_downloadModels": "Download Models",
|
||||
"backupRestore_downloading": "Downloading…",
|
||||
"backupRestore_cancelDownload": "Cancel Download",
|
||||
"backupRestore_failed": "Backup operation failed: {error}",
|
||||
"@backupRestore_failed": {
|
||||
"placeholders": {
|
||||
"error": {"type": "String"}
|
||||
}
|
||||
},
|
||||
"backupRestore_fileTooLarge": "Backup file is larger than the 100 MB limit.",
|
||||
"backupRestore_selectAtLeastOne": "Select at least one item.",
|
||||
"backupRestore_replaceIdentityTitle": "Replace radio identity?",
|
||||
"backupRestore_replaceIdentityMessage": "Restoring Node Settings replaces the connected radio's private key and changes its identity. Continue only if this is intended.",
|
||||
"settings_nodeSettings": "Node Settings",
|
||||
"settings_nodeName": "Node Name",
|
||||
"settings_nodeNameNotSet": "Not set",
|
||||
|
||||
@@ -816,6 +816,336 @@ abstract class AppLocalizations {
|
||||
/// **'Notifications, messaging, and map preferences'**
|
||||
String get settings_appSettingsSubtitle;
|
||||
|
||||
/// No description provided for @settings_export.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Export'**
|
||||
String get settings_export;
|
||||
|
||||
/// No description provided for @settings_exportSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Export contacts and repeaters as GPX'**
|
||||
String get settings_exportSubtitle;
|
||||
|
||||
/// No description provided for @backupRestore_title.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Backup & Restore'**
|
||||
String get backupRestore_title;
|
||||
|
||||
/// No description provided for @backupRestore_subtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Save or restore app data and radio settings'**
|
||||
String get backupRestore_subtitle;
|
||||
|
||||
/// No description provided for @backupRestore_import.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Import'**
|
||||
String get backupRestore_import;
|
||||
|
||||
/// No description provided for @backupRestore_selectImportFile.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Import File'**
|
||||
String get backupRestore_selectImportFile;
|
||||
|
||||
/// No description provided for @backupRestore_password.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Password (optional)'**
|
||||
String get backupRestore_password;
|
||||
|
||||
/// No description provided for @backupRestore_passwordHelp.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.'**
|
||||
String get backupRestore_passwordHelp;
|
||||
|
||||
/// No description provided for @backupRestore_importUnavailable.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Check the password or choose a supported backup file.'**
|
||||
String get backupRestore_importUnavailable;
|
||||
|
||||
/// No description provided for @backupRestore_items.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Backup and restore items'**
|
||||
String get backupRestore_items;
|
||||
|
||||
/// No description provided for @backupRestore_nodeSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Node Settings'**
|
||||
String get backupRestore_nodeSettings;
|
||||
|
||||
/// No description provided for @backupRestore_nodeSettingsDescription.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Device name, private and public keys, radio settings, and regions'**
|
||||
String get backupRestore_nodeSettingsDescription;
|
||||
|
||||
/// No description provided for @backupRestore_deviceName.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Device Name'**
|
||||
String get backupRestore_deviceName;
|
||||
|
||||
/// No description provided for @backupRestore_privateKey.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Private Key (sensitive)'**
|
||||
String get backupRestore_privateKey;
|
||||
|
||||
/// No description provided for @backupRestore_publicKey.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Public Key'**
|
||||
String get backupRestore_publicKey;
|
||||
|
||||
/// No description provided for @backupRestore_radioSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Radio Settings'**
|
||||
String get backupRestore_radioSettings;
|
||||
|
||||
/// No description provided for @backupRestore_regions.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Regions'**
|
||||
String get backupRestore_regions;
|
||||
|
||||
/// No description provided for @backupRestore_location.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Location'**
|
||||
String get backupRestore_location;
|
||||
|
||||
/// No description provided for @backupRestore_contactSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contact Settings'**
|
||||
String get backupRestore_contactSettings;
|
||||
|
||||
/// No description provided for @backupRestore_privacySettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Privacy Settings'**
|
||||
String get backupRestore_privacySettings;
|
||||
|
||||
/// No description provided for @backupRestore_contactsData.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contacts'**
|
||||
String get backupRestore_contactsData;
|
||||
|
||||
/// No description provided for @backupRestore_perContactSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contact Settings and Filters'**
|
||||
String get backupRestore_perContactSettings;
|
||||
|
||||
/// No description provided for @backupRestore_contactGroups.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contact Groups'**
|
||||
String get backupRestore_contactGroups;
|
||||
|
||||
/// No description provided for @backupRestore_contactHistory.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contact History'**
|
||||
String get backupRestore_contactHistory;
|
||||
|
||||
/// No description provided for @backupRestore_channelsData.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Channels'**
|
||||
String get backupRestore_channelsData;
|
||||
|
||||
/// No description provided for @backupRestore_channelFilters.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Message Filter Settings'**
|
||||
String get backupRestore_channelFilters;
|
||||
|
||||
/// No description provided for @backupRestore_channelSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Channel Settings'**
|
||||
String get backupRestore_channelSettings;
|
||||
|
||||
/// No description provided for @backupRestore_communities.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Communities'**
|
||||
String get backupRestore_communities;
|
||||
|
||||
/// No description provided for @backupRestore_channelHistory.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Channel History'**
|
||||
String get backupRestore_channelHistory;
|
||||
|
||||
/// No description provided for @backupRestore_locationSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Location Settings'**
|
||||
String get backupRestore_locationSettings;
|
||||
|
||||
/// No description provided for @backupRestore_locationSettingsDescription.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Location, contact settings, and privacy settings'**
|
||||
String get backupRestore_locationSettingsDescription;
|
||||
|
||||
/// No description provided for @backupRestore_appSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'App Settings'**
|
||||
String get backupRestore_appSettings;
|
||||
|
||||
/// No description provided for @backupRestore_appSettingsDescription.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'App preferences and appearance settings'**
|
||||
String get backupRestore_appSettingsDescription;
|
||||
|
||||
/// No description provided for @backupRestore_ipfsKey.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'IPFS API Key (sensitive)'**
|
||||
String get backupRestore_ipfsKey;
|
||||
|
||||
/// No description provided for @backupRestore_stadiaMapKey.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Stadia Maps API Key (sensitive)'**
|
||||
String get backupRestore_stadiaMapKey;
|
||||
|
||||
/// No description provided for @backupRestore_contacts.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contacts'**
|
||||
String get backupRestore_contacts;
|
||||
|
||||
/// No description provided for @backupRestore_contactsDescription.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contacts, per-contact filters and settings, groups, and message history'**
|
||||
String get backupRestore_contactsDescription;
|
||||
|
||||
/// No description provided for @backupRestore_discoveredContacts.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Discovered Contacts'**
|
||||
String get backupRestore_discoveredContacts;
|
||||
|
||||
/// No description provided for @backupRestore_discoveredContactsDescription.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Discovered contacts and their saved details'**
|
||||
String get backupRestore_discoveredContactsDescription;
|
||||
|
||||
/// No description provided for @backupRestore_channels.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Channels'**
|
||||
String get backupRestore_channels;
|
||||
|
||||
/// No description provided for @backupRestore_channelsDescription.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Channels, channel filters, communities, and message history'**
|
||||
String get backupRestore_channelsDescription;
|
||||
|
||||
/// No description provided for @backupRestore_backup.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Create Backup'**
|
||||
String get backupRestore_backup;
|
||||
|
||||
/// No description provided for @backupRestore_restore.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Restore Selected'**
|
||||
String get backupRestore_restore;
|
||||
|
||||
/// No description provided for @backupRestore_backupComplete.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Backup file created.'**
|
||||
String get backupRestore_backupComplete;
|
||||
|
||||
/// No description provided for @backupRestore_restoreComplete.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Restore complete. Reconnect if you restored the radio identity.'**
|
||||
String get backupRestore_restoreComplete;
|
||||
|
||||
/// No description provided for @backupRestore_missingModelsTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Models Not Downloaded'**
|
||||
String get backupRestore_missingModelsTitle;
|
||||
|
||||
/// No description provided for @backupRestore_missingModelsMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The restored settings select models that are not available on this device:\n{models}\n\nDownload them now?'**
|
||||
String backupRestore_missingModelsMessage(String models);
|
||||
|
||||
/// No description provided for @backupRestore_downloadModels.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Download Models'**
|
||||
String get backupRestore_downloadModels;
|
||||
|
||||
/// No description provided for @backupRestore_downloading.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Downloading…'**
|
||||
String get backupRestore_downloading;
|
||||
|
||||
/// No description provided for @backupRestore_cancelDownload.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Cancel Download'**
|
||||
String get backupRestore_cancelDownload;
|
||||
|
||||
/// No description provided for @backupRestore_failed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Backup operation failed: {error}'**
|
||||
String backupRestore_failed(String error);
|
||||
|
||||
/// No description provided for @backupRestore_fileTooLarge.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Backup file is larger than the 100 MB limit.'**
|
||||
String get backupRestore_fileTooLarge;
|
||||
|
||||
/// No description provided for @backupRestore_selectAtLeastOne.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Select at least one item.'**
|
||||
String get backupRestore_selectAtLeastOne;
|
||||
|
||||
/// No description provided for @backupRestore_replaceIdentityTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Replace radio identity?'**
|
||||
String get backupRestore_replaceIdentityTitle;
|
||||
|
||||
/// No description provided for @backupRestore_replaceIdentityMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.'**
|
||||
String get backupRestore_replaceIdentityMessage;
|
||||
|
||||
/// No description provided for @settings_nodeSettings.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
@@ -399,6 +399,187 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Уведомления, съобщения и предпочитания за карта';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Настройки на възела';
|
||||
|
||||
|
||||
@@ -402,6 +402,187 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Benachrichtigungen, Nachrichten und Karten-Einstellungen';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Knoteneinstellungen';
|
||||
|
||||
|
||||
@@ -395,6 +395,187 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notifications, messaging, and map preferences';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Node Settings';
|
||||
|
||||
|
||||
@@ -400,6 +400,187 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notificaciones, mensajes y preferencias de mapa';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Configuración del Nodo';
|
||||
|
||||
|
||||
@@ -402,6 +402,187 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notifications, messagerie et préférences de carte';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Paramètres du nœud';
|
||||
|
||||
|
||||
@@ -398,6 +398,187 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Értesítések, üzenetküldés és térképbeállítások';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Csomópont beállításai';
|
||||
|
||||
|
||||
@@ -402,6 +402,187 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notifiche, messaggi e preferenze della mappa';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Impostazioni Nodo';
|
||||
|
||||
|
||||
@@ -383,6 +383,187 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
@override
|
||||
String get settings_appSettingsSubtitle => '通知、メッセージング、および地図の表示設定';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'ノード設定';
|
||||
|
||||
|
||||
@@ -383,6 +383,187 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
@override
|
||||
String get settings_appSettingsSubtitle => '알림, 메시징, 지도 설정';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => '노드 설정';
|
||||
|
||||
|
||||
@@ -398,6 +398,187 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notificaties, berichten en kaartinstellingen';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Node Instellingen';
|
||||
|
||||
|
||||
@@ -405,6 +405,187 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Powiadomienia, wiadomości i preferencje mapy';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Ustawienia węzła';
|
||||
|
||||
|
||||
@@ -401,6 +401,187 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notificações, mensagens e preferências de mapa';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Configurações do Nó';
|
||||
|
||||
|
||||
@@ -401,6 +401,187 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Уведомления, сообщения и настройки карты';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Настройки ноды';
|
||||
|
||||
|
||||
@@ -401,6 +401,187 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Upozornenia, správy a nastavenia mapy';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Nastavenia uzla';
|
||||
|
||||
|
||||
@@ -400,6 +400,187 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Obveščanja, sporoščanje in zemljevidi.';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Nastavitev časa';
|
||||
|
||||
|
||||
@@ -396,6 +396,187 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Notifieringar, meddelanden och kartinställningar';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Nodinställningar';
|
||||
|
||||
|
||||
@@ -400,6 +400,187 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
String get settings_appSettingsSubtitle =>
|
||||
'Сповіщення, повідомлення та налаштування карти';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => 'Налаштування вузла';
|
||||
|
||||
|
||||
@@ -377,6 +377,187 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get settings_appSettingsSubtitle => '通知、消息和地图偏好';
|
||||
|
||||
@override
|
||||
String get settings_export => 'Export';
|
||||
|
||||
@override
|
||||
String get settings_exportSubtitle => 'Export contacts and repeaters as GPX';
|
||||
|
||||
@override
|
||||
String get backupRestore_title => 'Backup & Restore';
|
||||
|
||||
@override
|
||||
String get backupRestore_subtitle =>
|
||||
'Save or restore app data and radio settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_import => 'Import';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectImportFile => 'Import File';
|
||||
|
||||
@override
|
||||
String get backupRestore_password => 'Password (optional)';
|
||||
|
||||
@override
|
||||
String get backupRestore_passwordHelp =>
|
||||
'A password encrypts the file. Blank saves plaintext that may include private/channel keys, history, and credentials.';
|
||||
|
||||
@override
|
||||
String get backupRestore_importUnavailable =>
|
||||
'Check the password or choose a supported backup file.';
|
||||
|
||||
@override
|
||||
String get backupRestore_items => 'Backup and restore items';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettings => 'Node Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_nodeSettingsDescription =>
|
||||
'Device name, private and public keys, radio settings, and regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_deviceName => 'Device Name';
|
||||
|
||||
@override
|
||||
String get backupRestore_privateKey => 'Private Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_publicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get backupRestore_radioSettings => 'Radio Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_regions => 'Regions';
|
||||
|
||||
@override
|
||||
String get backupRestore_location => 'Location';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactSettings => 'Contact Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_privacySettings => 'Privacy Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsData => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_perContactSettings => 'Contact Settings and Filters';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactGroups => 'Contact Groups';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactHistory => 'Contact History';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsData => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelFilters => 'Message Filter Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelSettings => 'Channel Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_communities => 'Communities';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelHistory => 'Channel History';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettings => 'Location Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_locationSettingsDescription =>
|
||||
'Location, contact settings, and privacy settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettings => 'App Settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_appSettingsDescription =>
|
||||
'App preferences and appearance settings';
|
||||
|
||||
@override
|
||||
String get backupRestore_ipfsKey => 'IPFS API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_stadiaMapKey => 'Stadia Maps API Key (sensitive)';
|
||||
|
||||
@override
|
||||
String get backupRestore_contacts => 'Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_contactsDescription =>
|
||||
'Contacts, per-contact filters and settings, groups, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContacts => 'Discovered Contacts';
|
||||
|
||||
@override
|
||||
String get backupRestore_discoveredContactsDescription =>
|
||||
'Discovered contacts and their saved details';
|
||||
|
||||
@override
|
||||
String get backupRestore_channels => 'Channels';
|
||||
|
||||
@override
|
||||
String get backupRestore_channelsDescription =>
|
||||
'Channels, channel filters, communities, and message history';
|
||||
|
||||
@override
|
||||
String get backupRestore_backup => 'Create Backup';
|
||||
|
||||
@override
|
||||
String get backupRestore_restore => 'Restore Selected';
|
||||
|
||||
@override
|
||||
String get backupRestore_backupComplete => 'Backup file created.';
|
||||
|
||||
@override
|
||||
String get backupRestore_restoreComplete =>
|
||||
'Restore complete. Reconnect if you restored the radio identity.';
|
||||
|
||||
@override
|
||||
String get backupRestore_missingModelsTitle => 'Models Not Downloaded';
|
||||
|
||||
@override
|
||||
String backupRestore_missingModelsMessage(String models) {
|
||||
return 'The restored settings select models that are not available on this device:\n$models\n\nDownload them now?';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_downloadModels => 'Download Models';
|
||||
|
||||
@override
|
||||
String get backupRestore_downloading => 'Downloading…';
|
||||
|
||||
@override
|
||||
String get backupRestore_cancelDownload => 'Cancel Download';
|
||||
|
||||
@override
|
||||
String backupRestore_failed(String error) {
|
||||
return 'Backup operation failed: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get backupRestore_fileTooLarge =>
|
||||
'Backup file is larger than the 100 MB limit.';
|
||||
|
||||
@override
|
||||
String get backupRestore_selectAtLeastOne => 'Select at least one item.';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityTitle => 'Replace radio identity?';
|
||||
|
||||
@override
|
||||
String get backupRestore_replaceIdentityMessage =>
|
||||
'Restoring Node Settings replaces the connected radio\'s private key and changes its identity. Continue only if this is intended.';
|
||||
|
||||
@override
|
||||
String get settings_nodeSettings => '节点设置';
|
||||
|
||||
|
||||
@@ -110,6 +110,7 @@ class AppSettings {
|
||||
final bool mapShowChatNodes;
|
||||
final bool mapShowOtherNodes;
|
||||
final bool mapShowOnlineLinks;
|
||||
final bool mapUseOnlineMapForPaths;
|
||||
final bool mapShowOverlaps;
|
||||
final double mapTimeFilterHours; // 0 = all time
|
||||
final bool mapKeyPrefixEnabled;
|
||||
@@ -263,6 +264,7 @@ class AppSettings {
|
||||
this.mapShowChatNodes = true,
|
||||
this.mapShowOtherNodes = true,
|
||||
this.mapShowOnlineLinks = true,
|
||||
this.mapUseOnlineMapForPaths = false,
|
||||
this.mapShowOverlaps = false,
|
||||
this.mapTimeFilterHours = 168,
|
||||
this.mapKeyPrefixEnabled = false,
|
||||
@@ -359,6 +361,7 @@ class AppSettings {
|
||||
'map_show_chat_nodes': mapShowChatNodes,
|
||||
'map_show_other_nodes': mapShowOtherNodes,
|
||||
'map_show_online_links': mapShowOnlineLinks,
|
||||
'map_use_online_map_for_paths': mapUseOnlineMapForPaths,
|
||||
'map_show_overlaps': mapShowOverlaps,
|
||||
'map_time_filter_hours': mapTimeFilterHours,
|
||||
'map_key_prefix_enabled': mapKeyPrefixEnabled,
|
||||
@@ -492,6 +495,8 @@ class AppSettings {
|
||||
mapShowChatNodes: json['map_show_chat_nodes'] as bool? ?? true,
|
||||
mapShowOtherNodes: json['map_show_other_nodes'] as bool? ?? true,
|
||||
mapShowOnlineLinks: json['map_show_online_links'] as bool? ?? true,
|
||||
mapUseOnlineMapForPaths:
|
||||
json['map_use_online_map_for_paths'] as bool? ?? false,
|
||||
mapShowOverlaps: json['map_show_overlaps'] as bool? ?? false,
|
||||
mapTimeFilterHours:
|
||||
(json['map_time_filter_hours'] as num?)?.toDouble() ?? 168,
|
||||
@@ -666,6 +671,7 @@ class AppSettings {
|
||||
bool? mapShowChatNodes,
|
||||
bool? mapShowOtherNodes,
|
||||
bool? mapShowOnlineLinks,
|
||||
bool? mapUseOnlineMapForPaths,
|
||||
bool? mapShowOverlaps,
|
||||
double? mapTimeFilterHours,
|
||||
bool? mapKeyPrefixEnabled,
|
||||
@@ -746,6 +752,8 @@ class AppSettings {
|
||||
mapShowChatNodes: mapShowChatNodes ?? this.mapShowChatNodes,
|
||||
mapShowOtherNodes: mapShowOtherNodes ?? this.mapShowOtherNodes,
|
||||
mapShowOnlineLinks: mapShowOnlineLinks ?? this.mapShowOnlineLinks,
|
||||
mapUseOnlineMapForPaths:
|
||||
mapUseOnlineMapForPaths ?? this.mapUseOnlineMapForPaths,
|
||||
mapShowOverlaps: mapShowOverlaps ?? this.mapShowOverlaps,
|
||||
mapTimeFilterHours: mapTimeFilterHours ?? this.mapTimeFilterHours,
|
||||
mapKeyPrefixEnabled: mapKeyPrefixEnabled ?? this.mapKeyPrefixEnabled,
|
||||
|
||||
@@ -481,6 +481,19 @@ class ImageCodecModelSpec {
|
||||
maybeAssetFor(ImageCodecAssetRole.entropyGraph) != null &&
|
||||
maybeAssetFor(ImageCodecAssetRole.entropyDecodeGraph) != null &&
|
||||
maybeAssetFor(ImageCodecAssetRole.cdfTables) != null;
|
||||
|
||||
bool hasCompleteInstalledRecord(
|
||||
Iterable<ImageCodecModelRecord> downloadedModels,
|
||||
) => downloadedModels.any(
|
||||
(record) =>
|
||||
record.id == id &&
|
||||
record.bundleVersion >= kImageCodecBundleVersion &&
|
||||
assets.every(
|
||||
(asset) =>
|
||||
record.assetFileNames.contains(asset.fileName) &&
|
||||
record.assetRoles[asset.fileName] == asset.role,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// The set of on-disk paths a codec session needs, replacing the bare
|
||||
|
||||
@@ -832,7 +832,7 @@ class AppSettingsScreen extends StatelessWidget {
|
||||
) {
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final alreadyHave = codec.availableModels.any((m) => m.id == spec.id);
|
||||
final alreadyHave = spec.hasCompleteInstalledRecord(codec.availableModels);
|
||||
// downloadPresetModel throws StateError on a placeholder URL, deliberately,
|
||||
// so the button must not be offerable until the weights are published.
|
||||
final blocked = spec.urlsArePlaceholders;
|
||||
@@ -891,7 +891,7 @@ class AppSettingsScreen extends StatelessWidget {
|
||||
final l10n = context.l10n;
|
||||
try {
|
||||
await codec.downloadPresetModel(spec);
|
||||
} on Exception catch (error) {
|
||||
} catch (error) {
|
||||
messenger.showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(l10n.imageMessages_downloadFailedWithError('$error')),
|
||||
|
||||
@@ -0,0 +1,824 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:file_selector/file_selector.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../models/image_codec_support.dart';
|
||||
import '../models/translation_support.dart';
|
||||
import '../services/app_settings_service.dart';
|
||||
import '../services/backup_service.dart';
|
||||
import '../services/image_codec_service.dart';
|
||||
import '../services/translation_service.dart';
|
||||
import '../services/message_filter/message_filter_service.dart';
|
||||
import '../utils/platform_info.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
import '../widgets/app_bar.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
|
||||
class BackupRestoreScreen extends StatefulWidget {
|
||||
const BackupRestoreScreen({super.key});
|
||||
|
||||
@override
|
||||
State<BackupRestoreScreen> createState() => _BackupRestoreScreenState();
|
||||
}
|
||||
|
||||
class _BackupRestoreScreenState extends State<BackupRestoreScreen> {
|
||||
static const int _maxImportBytes = 100 * 1024 * 1024;
|
||||
static const _backupService = BackupService();
|
||||
static const _fileType = XTypeGroup(
|
||||
label: 'MeshCore backup',
|
||||
extensions: ['json'],
|
||||
mimeTypes: ['application/json'],
|
||||
);
|
||||
static const Set<BackupItem> _defaultUncheckedItems = {
|
||||
BackupItem.privateKey,
|
||||
BackupItem.ipfsKey,
|
||||
BackupItem.stadiaMapKey,
|
||||
};
|
||||
static const Set<BackupItem> _deviceStoredItems = {
|
||||
BackupItem.deviceName,
|
||||
BackupItem.publicKey,
|
||||
BackupItem.radioSettings,
|
||||
BackupItem.location,
|
||||
BackupItem.contactSettings,
|
||||
BackupItem.privacySettings,
|
||||
BackupItem.contacts,
|
||||
BackupItem.channels,
|
||||
};
|
||||
static const Set<BackupItem> _defaultUncheckedOnRestore = {
|
||||
..._defaultUncheckedItems,
|
||||
..._deviceStoredItems,
|
||||
};
|
||||
final _passwordController = TextEditingController();
|
||||
final Set<BackupItem> _selectedItems = BackupItem.values
|
||||
.where((item) => !_defaultUncheckedItems.contains(item))
|
||||
.toSet();
|
||||
Set<BackupItem>? _availableItems;
|
||||
String? _importContents;
|
||||
String? _importFileName;
|
||||
Timer? _inspectionTimer;
|
||||
int _inspectionGeneration = 0;
|
||||
bool _hasInitializedImportSelection = false;
|
||||
bool _busy = false;
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_inspectionTimer?.cancel();
|
||||
_passwordController.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: AppBarTitle(
|
||||
l10n.backupRestore_title,
|
||||
indicators: false,
|
||||
subtitle: false,
|
||||
),
|
||||
centerTitle: true,
|
||||
bottom: const SyncProgressAppBarBottom(),
|
||||
),
|
||||
body: SafeArea(
|
||||
top: false,
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 24),
|
||||
children: [
|
||||
SectionHeader(l10n.backupRestore_import),
|
||||
MeshCard(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
OutlinedButton.icon(
|
||||
onPressed: _busy ? null : _selectImportFile,
|
||||
icon: const Icon(Icons.upload_file_outlined),
|
||||
label: Text(
|
||||
_importFileName ?? l10n.backupRestore_selectImportFile,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
TextField(
|
||||
controller: _passwordController,
|
||||
obscureText: true,
|
||||
autocorrect: false,
|
||||
enableSuggestions: false,
|
||||
onChanged: (_) => _scheduleImportInspection(),
|
||||
decoration: InputDecoration(
|
||||
labelText: l10n.backupRestore_password,
|
||||
helperText:
|
||||
_importContents != null &&
|
||||
_availableItems?.isEmpty == true
|
||||
? l10n.backupRestore_importUnavailable
|
||||
: l10n.backupRestore_passwordHelp,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
SectionHeader(l10n.backupRestore_items),
|
||||
MeshCard(
|
||||
padding: EdgeInsets.zero,
|
||||
child: Column(
|
||||
children: [
|
||||
_groupTile(
|
||||
title: l10n.backupRestore_nodeSettings,
|
||||
icon: Icons.router_outlined,
|
||||
items: [
|
||||
(BackupItem.deviceName, l10n.backupRestore_deviceName),
|
||||
(BackupItem.privateKey, l10n.backupRestore_privateKey),
|
||||
(BackupItem.publicKey, l10n.backupRestore_publicKey),
|
||||
(
|
||||
BackupItem.radioSettings,
|
||||
l10n.backupRestore_radioSettings,
|
||||
),
|
||||
(BackupItem.regions, l10n.backupRestore_regions),
|
||||
],
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
_groupTile(
|
||||
title: l10n.backupRestore_locationSettings,
|
||||
icon: Icons.location_on_outlined,
|
||||
items: [
|
||||
(BackupItem.location, l10n.backupRestore_location),
|
||||
(
|
||||
BackupItem.contactSettings,
|
||||
l10n.backupRestore_contactSettings,
|
||||
),
|
||||
(
|
||||
BackupItem.privacySettings,
|
||||
l10n.backupRestore_privacySettings,
|
||||
),
|
||||
],
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
_groupTile(
|
||||
title: l10n.backupRestore_appSettings,
|
||||
icon: Icons.settings_outlined,
|
||||
items: [
|
||||
(BackupItem.appSettings, l10n.backupRestore_appSettings),
|
||||
(BackupItem.ipfsKey, l10n.backupRestore_ipfsKey),
|
||||
(
|
||||
BackupItem.stadiaMapKey,
|
||||
l10n.backupRestore_stadiaMapKey,
|
||||
),
|
||||
],
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
_groupTile(
|
||||
title: l10n.backupRestore_contacts,
|
||||
icon: Icons.contacts_outlined,
|
||||
items: [
|
||||
(BackupItem.contacts, l10n.backupRestore_contactsData),
|
||||
(
|
||||
BackupItem.perContactSettings,
|
||||
l10n.backupRestore_perContactSettings,
|
||||
),
|
||||
(
|
||||
BackupItem.contactGroups,
|
||||
l10n.backupRestore_contactGroups,
|
||||
),
|
||||
(
|
||||
BackupItem.contactHistory,
|
||||
l10n.backupRestore_contactHistory,
|
||||
),
|
||||
],
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
_itemTile(
|
||||
BackupItem.discoveredContacts,
|
||||
l10n.backupRestore_discoveredContacts,
|
||||
Icons.person_search_outlined,
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
_groupTile(
|
||||
title: l10n.backupRestore_channels,
|
||||
icon: Icons.forum_outlined,
|
||||
items: [
|
||||
(BackupItem.channels, l10n.backupRestore_channelsData),
|
||||
(
|
||||
BackupItem.channelFilters,
|
||||
l10n.backupRestore_channelFilters,
|
||||
),
|
||||
(
|
||||
BackupItem.channelSettings,
|
||||
l10n.backupRestore_channelSettings,
|
||||
),
|
||||
(BackupItem.communities, l10n.backupRestore_communities),
|
||||
(
|
||||
BackupItem.channelHistory,
|
||||
l10n.backupRestore_channelHistory,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 16, 16, 0),
|
||||
child: FilledButton.icon(
|
||||
onPressed:
|
||||
_busy ||
|
||||
_selectedItems.isEmpty ||
|
||||
(_importContents != null && _availableItems == null)
|
||||
? null
|
||||
: _runAction,
|
||||
icon: _busy
|
||||
? const SizedBox.square(
|
||||
dimension: 18,
|
||||
child: CircularProgressIndicator(strokeWidth: 2),
|
||||
)
|
||||
: Icon(
|
||||
_importContents == null
|
||||
? Icons.backup_outlined
|
||||
: Icons.restore_outlined,
|
||||
),
|
||||
label: Text(
|
||||
_importContents == null
|
||||
? l10n.backupRestore_backup
|
||||
: l10n.backupRestore_restore,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _groupTile({
|
||||
required String title,
|
||||
required IconData icon,
|
||||
required List<(BackupItem, String)> items,
|
||||
}) {
|
||||
return ExpansionTile(
|
||||
leading: Icon(icon),
|
||||
title: Text(title),
|
||||
tilePadding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
childrenPadding: EdgeInsets.zero,
|
||||
initiallyExpanded: true,
|
||||
visualDensity: VisualDensity.compact,
|
||||
children: [for (final item in items) _itemTile(item.$1, item.$2)],
|
||||
);
|
||||
}
|
||||
|
||||
Widget _itemTile(BackupItem item, String title, [IconData? icon]) {
|
||||
final available =
|
||||
_availableItems == null || _availableItems!.contains(item);
|
||||
return CheckboxListTile(
|
||||
value: _selectedItems.contains(item),
|
||||
dense: true,
|
||||
visualDensity: VisualDensity.compact,
|
||||
onChanged: _busy || !available
|
||||
? null
|
||||
: (selected) => setState(() {
|
||||
if (selected == true) {
|
||||
_selectedItems.add(item);
|
||||
} else {
|
||||
_selectedItems.remove(item);
|
||||
}
|
||||
}),
|
||||
secondary: icon == null ? null : Icon(icon),
|
||||
title: Text(title),
|
||||
controlAffinity: ListTileControlAffinity.trailing,
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 2),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _selectImportFile() async {
|
||||
final l10n = context.l10n;
|
||||
try {
|
||||
final file = await openFile(acceptedTypeGroups: const [_fileType]);
|
||||
if (file == null) return;
|
||||
if (await file.length() > _maxImportBytes) {
|
||||
_showMessage(l10n.backupRestore_fileTooLarge);
|
||||
return;
|
||||
}
|
||||
final contents = utf8.decode(await file.readAsBytes());
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_importContents = contents;
|
||||
_importFileName = file.name;
|
||||
_availableItems = null;
|
||||
_selectedItems.clear();
|
||||
_hasInitializedImportSelection = false;
|
||||
});
|
||||
await _inspectImport();
|
||||
} catch (error) {
|
||||
if (mounted) {
|
||||
_showMessage(l10n.backupRestore_failed(error.toString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void _scheduleImportInspection() {
|
||||
_inspectionTimer?.cancel();
|
||||
_inspectionTimer = Timer(const Duration(milliseconds: 350), _inspectImport);
|
||||
}
|
||||
|
||||
Future<void> _inspectImport() async {
|
||||
final contents = _importContents;
|
||||
if (contents == null) return;
|
||||
final generation = ++_inspectionGeneration;
|
||||
try {
|
||||
final info = await _backupService.inspectImport(
|
||||
contents: contents,
|
||||
password: _passwordController.text,
|
||||
);
|
||||
if (!mounted || generation != _inspectionGeneration) return;
|
||||
setState(() {
|
||||
_availableItems = info.availableItems;
|
||||
if (!_hasInitializedImportSelection) {
|
||||
_selectedItems
|
||||
..clear()
|
||||
..addAll(
|
||||
info.availableItems.where(
|
||||
(item) => !_defaultUncheckedOnRestore.contains(item),
|
||||
),
|
||||
);
|
||||
_hasInitializedImportSelection = true;
|
||||
} else {
|
||||
_selectedItems.retainAll(info.availableItems);
|
||||
}
|
||||
});
|
||||
} catch (_) {
|
||||
if (!mounted || generation != _inspectionGeneration) return;
|
||||
setState(() {
|
||||
_availableItems = <BackupItem>{};
|
||||
_selectedItems.clear();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _runAction() async {
|
||||
if (_selectedItems.isEmpty) {
|
||||
_showMessage(context.l10n.backupRestore_selectAtLeastOne);
|
||||
return;
|
||||
}
|
||||
if (_importContents != null) {
|
||||
await _restore();
|
||||
} else {
|
||||
await _createBackup();
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _createBackup() async {
|
||||
final l10n = context.l10n;
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
final shareOrigin = shareOriginOf(context);
|
||||
setState(() => _busy = true);
|
||||
try {
|
||||
final contents = await _backupService.createBackup(
|
||||
items: Set<BackupItem>.of(_selectedItems),
|
||||
connector: connector,
|
||||
settings: context.read<AppSettingsService>().settings,
|
||||
password: _passwordController.text,
|
||||
);
|
||||
if (!mounted) return;
|
||||
final deviceName = (connector.selfName ?? '')
|
||||
.trim()
|
||||
.replaceAll(RegExp(r'[<>:"/\\|?*\x00-\x1f]'), '_')
|
||||
.replaceAll(RegExp(r'\s+'), '_')
|
||||
.replaceAll(RegExp(r'^\.+'), '')
|
||||
.replaceAll(RegExp(r'[. ]+$'), '');
|
||||
final filename =
|
||||
'meshcore-open_${deviceName.isEmpty ? 'radio' : deviceName}_backup_${DateTime.now().millisecondsSinceEpoch}.json';
|
||||
final file = XFile.fromData(
|
||||
Uint8List.fromList(utf8.encode(contents)),
|
||||
name: filename,
|
||||
mimeType: 'application/json',
|
||||
);
|
||||
if (PlatformInfo.isWeb) {
|
||||
await file.saveTo(filename);
|
||||
} else if (PlatformInfo.isDesktop) {
|
||||
final location = await getSaveLocation(
|
||||
suggestedName: filename,
|
||||
acceptedTypeGroups: const [_fileType],
|
||||
);
|
||||
if (location == null) return;
|
||||
await file.saveTo(location.path);
|
||||
} else {
|
||||
final result = await SharePlus.instance.share(
|
||||
ShareParams(
|
||||
files: [file],
|
||||
fileNameOverrides: [filename],
|
||||
sharePositionOrigin: shareOrigin,
|
||||
),
|
||||
);
|
||||
if (result.status == ShareResultStatus.dismissed) return;
|
||||
}
|
||||
if (mounted) _showMessage(l10n.backupRestore_backupComplete);
|
||||
} catch (error) {
|
||||
if (mounted) {
|
||||
_showMessage(l10n.backupRestore_failed(error.toString()));
|
||||
}
|
||||
} finally {
|
||||
if (mounted) setState(() => _busy = false);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _restore() async {
|
||||
final l10n = context.l10n;
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
final appSettingsService = context.read<AppSettingsService>();
|
||||
final messageFilterService = context.read<MessageFilterService>();
|
||||
final translationService = context.read<TranslationService>();
|
||||
final imageCodecService = context.read<ImageCodecService>();
|
||||
final needsKeyConfirmation = _selectedItems.contains(BackupItem.privateKey);
|
||||
if (needsKeyConfirmation && !await _confirmIdentityReplacement()) return;
|
||||
setState(() => _busy = true);
|
||||
try {
|
||||
await _backupService.restoreBackup(
|
||||
contents: _importContents!,
|
||||
password: _passwordController.text,
|
||||
items: Set<BackupItem>.of(_selectedItems),
|
||||
connector: connector,
|
||||
appSettingsService: appSettingsService,
|
||||
);
|
||||
if (_selectedItems.any(
|
||||
(item) =>
|
||||
item == BackupItem.appSettings ||
|
||||
item == BackupItem.ipfsKey ||
|
||||
item == BackupItem.stadiaMapKey,
|
||||
)) {
|
||||
await appSettingsService.loadSettings();
|
||||
if (_selectedItems.contains(BackupItem.appSettings)) {
|
||||
await _offerMissingModels(
|
||||
appSettingsService,
|
||||
translationService,
|
||||
imageCodecService,
|
||||
);
|
||||
}
|
||||
}
|
||||
if (_selectedItems.contains(BackupItem.channelFilters)) {
|
||||
await messageFilterService.load();
|
||||
}
|
||||
if (mounted) {
|
||||
_showMessage(l10n.backupRestore_restoreComplete);
|
||||
setState(() {
|
||||
_importContents = null;
|
||||
_importFileName = null;
|
||||
_availableItems = null;
|
||||
_selectedItems
|
||||
..clear()
|
||||
..addAll(
|
||||
BackupItem.values.where(
|
||||
(item) => !_defaultUncheckedItems.contains(item),
|
||||
),
|
||||
);
|
||||
_hasInitializedImportSelection = false;
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
if (mounted) {
|
||||
_showMessage(l10n.backupRestore_failed(error.toString()));
|
||||
}
|
||||
} finally {
|
||||
if (mounted) setState(() => _busy = false);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _offerMissingModels(
|
||||
AppSettingsService appSettingsService,
|
||||
TranslationService translationService,
|
||||
ImageCodecService imageCodecService,
|
||||
) async {
|
||||
if (PlatformInfo.isWeb) return;
|
||||
final settings = appSettingsService.settings;
|
||||
final translationId = settings.translationSelectedModelId;
|
||||
final imageCodecId = settings.imageCodecSelectedModelId;
|
||||
|
||||
TranslationModelRecord? translationModel;
|
||||
for (final model in settings.translationDownloadedModels) {
|
||||
if (model.id == translationId) {
|
||||
translationModel = model;
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (final model in translationPresetModels) {
|
||||
if (model.id == translationId) {
|
||||
translationModel ??= model;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (translationModel == null &&
|
||||
translationId != null &&
|
||||
settings.translationModelSourceUrl != null) {
|
||||
final uri = Uri.tryParse(settings.translationModelSourceUrl!);
|
||||
final pathSegments = uri?.pathSegments ?? const <String>[];
|
||||
final fileName = pathSegments.isEmpty ? null : pathSegments.last;
|
||||
translationModel = TranslationModelRecord(
|
||||
id: translationId,
|
||||
name: fileName?.isNotEmpty == true ? fileName! : translationId,
|
||||
sourceUrl: settings.translationModelSourceUrl!,
|
||||
localPath: '',
|
||||
downloadedAt: DateTime.fromMillisecondsSinceEpoch(0),
|
||||
fileSizeBytes: 0,
|
||||
);
|
||||
}
|
||||
|
||||
ImageCodecModelRecord? imageCodecModel;
|
||||
for (final model in settings.imageCodecDownloadedModels) {
|
||||
if (model.id == imageCodecId) {
|
||||
imageCodecModel = model;
|
||||
break;
|
||||
}
|
||||
}
|
||||
ImageCodecModelSpec? imageCodecSpec;
|
||||
for (final spec in imageCodecPresetModels) {
|
||||
if (spec.id == imageCodecId) {
|
||||
imageCodecSpec = spec;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (imageCodecModel == null && imageCodecSpec != null) {
|
||||
final graph = imageCodecSpec.graph;
|
||||
imageCodecModel = ImageCodecModelRecord(
|
||||
id: imageCodecSpec.id,
|
||||
name: graph.fileName,
|
||||
sourceUrl: graph.sourceUrl,
|
||||
localPath: '',
|
||||
downloadedAt: DateTime.fromMillisecondsSinceEpoch(0),
|
||||
fileSizeBytes: imageCodecSpec.totalSizeBytes,
|
||||
assetFileNames: [
|
||||
for (final asset in imageCodecSpec.assets) asset.fileName,
|
||||
],
|
||||
bundleVersion: kImageCodecBundleVersion,
|
||||
);
|
||||
} else if (imageCodecModel == null &&
|
||||
imageCodecId != null &&
|
||||
settings.imageCodecModelSourceUrl != null) {
|
||||
final uri = Uri.tryParse(settings.imageCodecModelSourceUrl!);
|
||||
final pathSegments = uri?.pathSegments ?? const <String>[];
|
||||
final fileName = pathSegments.isEmpty ? null : pathSegments.last;
|
||||
imageCodecModel = ImageCodecModelRecord(
|
||||
id: imageCodecId,
|
||||
name: fileName?.isNotEmpty == true ? fileName! : imageCodecId,
|
||||
sourceUrl: settings.imageCodecModelSourceUrl!,
|
||||
localPath: '',
|
||||
downloadedAt: DateTime.fromMillisecondsSinceEpoch(0),
|
||||
fileSizeBytes: 0,
|
||||
);
|
||||
}
|
||||
|
||||
await translationService.refreshDownloadedModels(clearMissing: true);
|
||||
await imageCodecService.refreshDownloadedModels(clearMissing: true);
|
||||
|
||||
final translationRequest = translationModel;
|
||||
final translationMissing =
|
||||
translationRequest != null &&
|
||||
!translationService.availableModels.any(
|
||||
(model) =>
|
||||
model.id == translationRequest.id ||
|
||||
model.name == translationRequest.name,
|
||||
);
|
||||
ImageCodecModelRecord? installedCodec;
|
||||
if (imageCodecModel != null) {
|
||||
for (final model in imageCodecService.availableModels) {
|
||||
if (model.id == imageCodecModel.id ||
|
||||
model.name == imageCodecModel.name) {
|
||||
installedCodec = model;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
final codecRequest = imageCodecModel;
|
||||
final installedCodecForCheck = installedCodec;
|
||||
final imageCodecMissing =
|
||||
codecRequest != null &&
|
||||
(imageCodecSpec != null
|
||||
? !imageCodecSpec.hasCompleteInstalledRecord(
|
||||
imageCodecService.availableModels,
|
||||
)
|
||||
: installedCodecForCheck == null);
|
||||
if (!translationMissing && !imageCodecMissing) return;
|
||||
if (!mounted) return;
|
||||
|
||||
await _showModelDownloadDialog(
|
||||
translationModel: translationMissing ? translationRequest : null,
|
||||
imageCodecModel: imageCodecMissing ? codecRequest : null,
|
||||
imageCodecSpec: imageCodecMissing ? imageCodecSpec : null,
|
||||
translationService: translationService,
|
||||
imageCodecService: imageCodecService,
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _showModelDownloadDialog({
|
||||
required TranslationModelRecord? translationModel,
|
||||
required ImageCodecModelRecord? imageCodecModel,
|
||||
required ImageCodecModelSpec? imageCodecSpec,
|
||||
required TranslationService translationService,
|
||||
required ImageCodecService imageCodecService,
|
||||
}) async {
|
||||
final l10n = context.l10n;
|
||||
final modelNames = [
|
||||
if (translationModel != null)
|
||||
translationModelFriendlyName(translationModel),
|
||||
if (imageCodecModel != null)
|
||||
imageCodecSpec?.label ?? imageCodecModel.name,
|
||||
];
|
||||
var starting = false;
|
||||
var cancelRequested = false;
|
||||
var translationDone = translationModel == null;
|
||||
var imageCodecDone = imageCodecModel == null;
|
||||
String? currentModel;
|
||||
String? downloadError;
|
||||
final servicesListenable = Listenable.merge([
|
||||
translationService,
|
||||
imageCodecService,
|
||||
]);
|
||||
|
||||
await showDialog<void>(
|
||||
context: context,
|
||||
barrierDismissible: true,
|
||||
builder: (dialogContext) => StatefulBuilder(
|
||||
builder: (dialogContext, setDialogState) => AnimatedBuilder(
|
||||
animation: servicesListenable,
|
||||
builder: (context, _) {
|
||||
final isDownloading =
|
||||
starting ||
|
||||
translationService.isDownloading ||
|
||||
imageCodecService.isDownloading;
|
||||
final currentProgress = currentModel == translationModel?.name
|
||||
? translationService.downloadProgress
|
||||
: currentModel == imageCodecModel?.name
|
||||
? imageCodecService.downloadProgress
|
||||
: null;
|
||||
final currentFile = currentModel == translationModel?.name
|
||||
? translationService.downloadFileName
|
||||
: currentModel == imageCodecModel?.name
|
||||
? imageCodecService.downloadFileName
|
||||
: null;
|
||||
|
||||
void requestDownloadCancel() {
|
||||
cancelRequested = true;
|
||||
translationService.cancelDownload();
|
||||
imageCodecService.cancelDownload();
|
||||
}
|
||||
|
||||
return PopScope<void>(
|
||||
canPop: !isDownloading,
|
||||
onPopInvokedWithResult: (didPop, _) {
|
||||
if (!didPop && isDownloading) requestDownloadCancel();
|
||||
},
|
||||
child: AlertDialog(
|
||||
title: Text(l10n.backupRestore_missingModelsTitle),
|
||||
content: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
l10n.backupRestore_missingModelsMessage(
|
||||
modelNames.join('\n'),
|
||||
),
|
||||
),
|
||||
if (isDownloading) ...[
|
||||
const SizedBox(height: 16),
|
||||
Text(currentFile ?? currentModel ?? ''),
|
||||
const SizedBox(height: 8),
|
||||
LinearProgressIndicator(value: currentProgress),
|
||||
],
|
||||
if (downloadError != null) ...[
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.backupRestore_failed(downloadError!),
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.error,
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
if (isDownloading) {
|
||||
requestDownloadCancel();
|
||||
} else {
|
||||
Navigator.pop(dialogContext);
|
||||
}
|
||||
},
|
||||
child: Text(
|
||||
isDownloading
|
||||
? l10n.backupRestore_cancelDownload
|
||||
: l10n.common_cancel,
|
||||
),
|
||||
),
|
||||
FilledButton(
|
||||
onPressed: isDownloading
|
||||
? null
|
||||
: () async {
|
||||
setDialogState(() {
|
||||
starting = true;
|
||||
currentModel = translationDone
|
||||
? imageCodecModel?.name
|
||||
: translationModel?.name;
|
||||
downloadError = null;
|
||||
});
|
||||
try {
|
||||
if (!translationDone) {
|
||||
final model = translationModel!;
|
||||
if (model.sourceUrl.isEmpty) {
|
||||
throw StateError(
|
||||
'No download address is available for ${model.name}',
|
||||
);
|
||||
}
|
||||
await translationService.downloadModel(
|
||||
sourceUrl: model.sourceUrl,
|
||||
fileName: model.name,
|
||||
id: model.id,
|
||||
);
|
||||
translationDone = true;
|
||||
setDialogState(() {
|
||||
currentModel = imageCodecModel?.name;
|
||||
});
|
||||
}
|
||||
if (!imageCodecDone) {
|
||||
final model = imageCodecModel!;
|
||||
final spec = imageCodecSpec;
|
||||
if (spec != null) {
|
||||
await imageCodecService.downloadPresetModel(
|
||||
spec,
|
||||
);
|
||||
} else if (model.sourceUrl.isNotEmpty) {
|
||||
await imageCodecService.downloadModel(
|
||||
sourceUrl: model.sourceUrl,
|
||||
fileName: model.name,
|
||||
id: model.id,
|
||||
);
|
||||
} else {
|
||||
throw StateError(
|
||||
'No download address is available for ${model.name}',
|
||||
);
|
||||
}
|
||||
imageCodecDone = true;
|
||||
}
|
||||
if (dialogContext.mounted) {
|
||||
Navigator.pop(dialogContext);
|
||||
}
|
||||
} catch (error) {
|
||||
if (dialogContext.mounted) {
|
||||
if (cancelRequested) {
|
||||
Navigator.pop(dialogContext);
|
||||
} else {
|
||||
setDialogState(() {
|
||||
starting = false;
|
||||
downloadError = error.toString();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
child: Text(
|
||||
isDownloading
|
||||
? l10n.backupRestore_downloading
|
||||
: l10n.backupRestore_downloadModels,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<bool> _confirmIdentityReplacement() async {
|
||||
final l10n = context.l10n;
|
||||
return await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
title: Text(l10n.backupRestore_replaceIdentityTitle),
|
||||
content: Text(l10n.backupRestore_replaceIdentityMessage),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext, false),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
FilledButton(
|
||||
onPressed: () => Navigator.pop(dialogContext, true),
|
||||
child: Text(l10n.backupRestore_restore),
|
||||
),
|
||||
],
|
||||
),
|
||||
) ??
|
||||
false;
|
||||
}
|
||||
|
||||
void _showMessage(String message) {
|
||||
if (!mounted) return;
|
||||
showDismissibleSnackBar(context, content: Text(message));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:meshcore_open/utils/gpx_export.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
import '../widgets/app_bar.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/mesh_nav_tile.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
|
||||
class ExportScreen extends StatelessWidget {
|
||||
const ExportScreen({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: AppBarTitle(
|
||||
l10n.settings_export,
|
||||
indicators: false,
|
||||
subtitle: false,
|
||||
),
|
||||
centerTitle: true,
|
||||
bottom: const SyncProgressAppBarBottom(),
|
||||
),
|
||||
body: SafeArea(
|
||||
top: false,
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 24),
|
||||
children: [
|
||||
SectionHeader(l10n.settings_export),
|
||||
MeshCard(
|
||||
padding: EdgeInsets.zero,
|
||||
child: Column(
|
||||
children: [
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_gpxExportRepeaters,
|
||||
subtitle: l10n.settings_gpxExportRepeatersSubtitle,
|
||||
onTap: () {
|
||||
final exporter = GpxExport(connector)..addRepeaters();
|
||||
_gpxExport(
|
||||
context,
|
||||
exporter,
|
||||
l10n.map_repeater,
|
||||
l10n.settings_gpxExportRepeatersRoom,
|
||||
'meshcore_repeaters_',
|
||||
);
|
||||
},
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_gpxExportContacts,
|
||||
subtitle: l10n.settings_gpxExportContactsSubtitle,
|
||||
onTap: () {
|
||||
final exporter = GpxExport(connector)..addContacts();
|
||||
_gpxExport(
|
||||
context,
|
||||
exporter,
|
||||
l10n.map_repeater,
|
||||
l10n.settings_gpxExportChat,
|
||||
'meshcore_contacts_',
|
||||
);
|
||||
},
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_gpxExportAll,
|
||||
subtitle: l10n.settings_gpxExportAllSubtitle,
|
||||
onTap: () {
|
||||
final exporter = GpxExport(connector)..addAll();
|
||||
_gpxExport(
|
||||
context,
|
||||
exporter,
|
||||
l10n.map_repeater,
|
||||
l10n.settings_gpxExportAllContacts,
|
||||
'meshcore_all_',
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _gpxExport(
|
||||
BuildContext context,
|
||||
GpxExport exporter,
|
||||
String name,
|
||||
String description,
|
||||
String filename,
|
||||
) async {
|
||||
final l10n = context.l10n;
|
||||
final result = await exporter.exportGPX(
|
||||
name,
|
||||
description,
|
||||
filename,
|
||||
l10n.settings_gpxExportShareText,
|
||||
l10n.settings_gpxExportShareSubject,
|
||||
sharePositionOrigin: shareOriginOf(context),
|
||||
);
|
||||
if (!context.mounted) return;
|
||||
final message = switch (result) {
|
||||
gpxExportSuccess => l10n.settings_gpxExportSuccess,
|
||||
gpxExportNoContacts => l10n.settings_gpxExportNoContacts,
|
||||
gpxExportNotAvailable => l10n.settings_gpxExportNotAvailable,
|
||||
gpxExportFailed => l10n.settings_gpxExportError,
|
||||
_ => l10n.settings_gpxExportError,
|
||||
};
|
||||
showDismissibleSnackBar(context, content: Text(message));
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:meshcore_open/utils/gpx_export.dart';
|
||||
import 'package:meshcore_open/widgets/elements_ui.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
@@ -24,7 +23,8 @@ import '../widgets/radio_stats_entry.dart';
|
||||
import 'telemetry_screen.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
import 'region_management_screen.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
import 'backup_restore_screen.dart';
|
||||
import 'export_screen.dart';
|
||||
|
||||
class SettingsScreen extends StatefulWidget {
|
||||
const SettingsScreen({super.key});
|
||||
@@ -164,13 +164,34 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
),
|
||||
),
|
||||
|
||||
// EXPORT section
|
||||
SectionHeader(l10n.settings_gpxExportRepeaters),
|
||||
// BACKUP AND EXPORT
|
||||
SectionHeader(l10n.settings_export),
|
||||
MeshCard(
|
||||
padding: EdgeInsets.zero,
|
||||
child: _buildExportCardContent(
|
||||
context,
|
||||
context.read<MeshCoreConnector>(),
|
||||
child: Column(
|
||||
children: [
|
||||
MeshNavTile(
|
||||
icon: Icons.backup_outlined,
|
||||
title: l10n.backupRestore_title,
|
||||
subtitle: l10n.backupRestore_subtitle,
|
||||
onTap: () => Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (_) => const BackupRestoreScreen(),
|
||||
),
|
||||
),
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_export,
|
||||
subtitle: l10n.settings_exportSubtitle,
|
||||
onTap: () => Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (_) => const ExportScreen()),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -576,33 +597,10 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
? () => pushSelfTelemetryScreen(context)
|
||||
: null,
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
MeshNavTile(
|
||||
icon: Icons.route_outlined,
|
||||
title: l10n.repeater_pathHashMode,
|
||||
subtitle: !connected
|
||||
? offline
|
||||
: !connector.supportsPathHashMode
|
||||
? l10n.settings_requiresFirmware('v1.14')
|
||||
: _pathHashModeSubtitle(context, connector.pathHashByteWidth),
|
||||
onTap: connector.isConnected && connector.supportsPathHashMode
|
||||
? () => _editPathHashMode(context, connector)
|
||||
: null,
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
String _pathHashModeSubtitle(BuildContext context, int pathHashByteWidth) {
|
||||
final l10n = context.l10n;
|
||||
return switch (pathHashByteWidth.clamp(1, 4).toInt()) {
|
||||
1 => l10n.repeater_pathHashModeOption0,
|
||||
2 => l10n.repeater_pathHashModeOption1,
|
||||
3 => l10n.repeater_pathHashModeOption2,
|
||||
_ => l10n.repeater_pathHashModeOption3,
|
||||
};
|
||||
}
|
||||
|
||||
Widget _buildLocationCardContent(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
@@ -682,70 +680,6 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildExportCardContent(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
) {
|
||||
final l10n = context.l10n;
|
||||
return Column(
|
||||
children: [
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_gpxExportRepeaters,
|
||||
subtitle: l10n.settings_gpxExportRepeatersSubtitle,
|
||||
onTap: () async {
|
||||
final exporter = GpxExport(connector);
|
||||
exporter.addRepeaters();
|
||||
_gpxExport(
|
||||
exporter,
|
||||
l10n.map_repeater,
|
||||
l10n.settings_gpxExportRepeatersRoom,
|
||||
'meshcore_repeaters_',
|
||||
l10n.settings_gpxExportShareText,
|
||||
l10n.settings_gpxExportShareSubject,
|
||||
);
|
||||
},
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_gpxExportContacts,
|
||||
subtitle: l10n.settings_gpxExportContactsSubtitle,
|
||||
onTap: () async {
|
||||
final exporter = GpxExport(connector);
|
||||
exporter.addContacts();
|
||||
_gpxExport(
|
||||
exporter,
|
||||
l10n.map_repeater,
|
||||
l10n.settings_gpxExportChat,
|
||||
'meshcore_contacts_',
|
||||
l10n.settings_gpxExportShareText,
|
||||
l10n.settings_gpxExportShareSubject,
|
||||
);
|
||||
},
|
||||
),
|
||||
const Divider(height: 1, indent: 16),
|
||||
MeshNavTile(
|
||||
icon: Icons.download_outlined,
|
||||
title: l10n.settings_gpxExportAll,
|
||||
subtitle: l10n.settings_gpxExportAllSubtitle,
|
||||
onTap: () async {
|
||||
final exporter = GpxExport(connector);
|
||||
exporter.addAll();
|
||||
_gpxExport(
|
||||
exporter,
|
||||
l10n.map_repeater,
|
||||
l10n.settings_gpxExportAllContacts,
|
||||
'meshcore_all_',
|
||||
l10n.settings_gpxExportShareText,
|
||||
l10n.settings_gpxExportShareSubject,
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildDebugCardContent(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
return Column(
|
||||
@@ -816,95 +750,6 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
void _editPathHashMode(BuildContext context, MeshCoreConnector connector) {
|
||||
final l10n = context.l10n;
|
||||
var selectedMode = (connector.pathHashByteWidth - 1).clamp(0, 2).toInt();
|
||||
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (dialogContext) => StatefulBuilder(
|
||||
builder: (builderContext, setDialogState) => AlertDialog(
|
||||
scrollable: true,
|
||||
title: Text(l10n.repeater_pathHashMode),
|
||||
content: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
DropdownButtonFormField<int>(
|
||||
isExpanded: true,
|
||||
initialValue: selectedMode,
|
||||
decoration: InputDecoration(
|
||||
labelText: l10n.repeater_pathHashMode,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
items: [
|
||||
DropdownMenuItem(
|
||||
value: 0,
|
||||
child: Text(
|
||||
l10n.repeater_pathHashModeOption0,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 1,
|
||||
child: Text(
|
||||
l10n.repeater_pathHashModeOption1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 2,
|
||||
child: Text(
|
||||
l10n.repeater_pathHashModeOption2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
],
|
||||
onChanged: (value) {
|
||||
if (value == null) return;
|
||||
setDialogState(() => selectedMode = value);
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.settings_pathHashModeHelper,
|
||||
style: Theme.of(builderContext).textTheme.bodyMedium,
|
||||
),
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
FilledButton(
|
||||
onPressed: () async {
|
||||
Navigator.pop(dialogContext);
|
||||
if (!_ensureConnected(context, connector)) return;
|
||||
try {
|
||||
await connector.setPathHashMode(selectedMode);
|
||||
await connector.refreshDeviceInfo();
|
||||
if (!context.mounted) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_settingsSaved),
|
||||
);
|
||||
} catch (e) {
|
||||
if (!context.mounted) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_error(e.toString())),
|
||||
);
|
||||
}
|
||||
},
|
||||
child: Text(l10n.common_save),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _editLocation(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
@@ -1066,51 +911,6 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _gpxExport(
|
||||
GpxExport exporter,
|
||||
String name,
|
||||
String description,
|
||||
String filename,
|
||||
String shareText,
|
||||
String subject,
|
||||
) async {
|
||||
final l10n = context.l10n;
|
||||
final result = await exporter.exportGPX(
|
||||
name,
|
||||
description,
|
||||
filename,
|
||||
shareText,
|
||||
subject,
|
||||
sharePositionOrigin: shareOriginOf(context),
|
||||
);
|
||||
if (!mounted) return;
|
||||
switch (result) {
|
||||
case gpxExportSuccess:
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_gpxExportSuccess),
|
||||
);
|
||||
case gpxExportNoContacts:
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_gpxExportNoContacts),
|
||||
);
|
||||
break;
|
||||
case gpxExportNotAvailable:
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_gpxExportNotAvailable),
|
||||
);
|
||||
break;
|
||||
case gpxExportFailed:
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_gpxExportError),
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void _editAutoAddConfig(BuildContext context, MeshCoreConnector connector) {
|
||||
final l10n = context.l10n;
|
||||
// The dialog's context is gone once it pops; report through the screen.
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -385,7 +385,7 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec {
|
||||
///
|
||||
/// Call once at startup, next to
|
||||
/// `await translationService.refreshDownloadedModels();` in `main.dart`.
|
||||
Future<void> refreshDownloadedModels() async {
|
||||
Future<void> refreshDownloadedModels({bool clearMissing = false}) async {
|
||||
if (_isDownloading) return;
|
||||
await _settingsStore.load();
|
||||
if (kIsWeb) {
|
||||
@@ -393,7 +393,7 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec {
|
||||
return;
|
||||
}
|
||||
final scanned = await _fileStore.scanDownloadedModels();
|
||||
if (scanned.isEmpty) {
|
||||
if (scanned.isEmpty && !clearMissing) {
|
||||
_notify();
|
||||
return;
|
||||
}
|
||||
@@ -405,6 +405,9 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec {
|
||||
final existingByPath = {
|
||||
for (final model in preferences.downloadedModels) model.localPath: model,
|
||||
};
|
||||
final existingByName = {
|
||||
for (final model in preferences.downloadedModels) model.name: model,
|
||||
};
|
||||
final merged = <ImageCodecModelRecord>[];
|
||||
// Every filename the registry knows about, so a half-installed bundle's
|
||||
// leftovers are never mistaken for standalone models.
|
||||
@@ -457,9 +460,14 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec {
|
||||
// as its own single-file record so a hand-fetched graph is not deleted.
|
||||
for (final model in scanned) {
|
||||
if (claimed.contains(model.name)) continue;
|
||||
final existing = existingByPath[model.localPath];
|
||||
final existing =
|
||||
existingByPath[model.localPath] ?? existingByName[model.name];
|
||||
merged.add(
|
||||
existing?.copyWith(fileSizeBytes: model.fileSizeBytes) ?? model,
|
||||
existing?.copyWith(
|
||||
localPath: model.localPath,
|
||||
fileSizeBytes: model.fileSizeBytes,
|
||||
) ??
|
||||
model,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,14 @@ class MessageFilterService extends ChangeNotifier {
|
||||
@visibleForTesting
|
||||
int get recentCleanCount => _recentClean.length;
|
||||
|
||||
@visibleForTesting
|
||||
bool hasRecentCleanExample(String text) {
|
||||
final key = MessageFilterText.normalize(text);
|
||||
return _recentClean.any(
|
||||
(example) => MessageFilterText.normalize(example.text) == key,
|
||||
);
|
||||
}
|
||||
|
||||
/// Loads persisted state and trains the classifier.
|
||||
Future<void> load() async {
|
||||
try {
|
||||
|
||||
@@ -143,18 +143,25 @@ class TranslationService extends ChangeNotifier {
|
||||
return availableModels.isNotEmpty ? availableModels.first : null;
|
||||
}
|
||||
|
||||
Future<void> refreshDownloadedModels() async {
|
||||
Future<void> refreshDownloadedModels({bool clearMissing = false}) async {
|
||||
if (_isDownloading) return;
|
||||
final scanned = await _fileStore.scanDownloadedModels();
|
||||
if (scanned.isEmpty && !clearMissing) return;
|
||||
if (scanned.isEmpty) {
|
||||
await _appSettingsService.setTranslationDownloadedModels(const []);
|
||||
return;
|
||||
}
|
||||
final existingByPath = {
|
||||
for (final model in _settings.translationDownloadedModels)
|
||||
model.localPath: model,
|
||||
};
|
||||
final existingByName = {
|
||||
for (final model in _settings.translationDownloadedModels)
|
||||
model.name: model,
|
||||
};
|
||||
final merged = scanned.map((model) {
|
||||
final existing = existingByPath[model.localPath];
|
||||
final existing =
|
||||
existingByPath[model.localPath] ?? existingByName[model.name];
|
||||
if (existing == null) {
|
||||
return model;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,26 @@ void main() {
|
||||
});
|
||||
});
|
||||
|
||||
group('private-key backup frames', () {
|
||||
test('uses the firmware command codes and 64-byte identity payload', () {
|
||||
final keyData = Uint8List.fromList(List.generate(64, (index) => index));
|
||||
expect(buildExportPrivateKeyFrame(), [cmdExportPrivateKey]);
|
||||
final frame = buildImportPrivateKeyFrame(keyData);
|
||||
expect(frame.length, 65);
|
||||
expect(frame.first, cmdImportPrivateKey);
|
||||
expect(frame.sublist(1), keyData);
|
||||
expect(respCodePrivateKey, 14);
|
||||
expect(respCodeDisabled, 15);
|
||||
});
|
||||
|
||||
test('rejects identity data with the wrong length', () {
|
||||
expect(
|
||||
() => buildImportPrivateKeyFrame(Uint8List(63)),
|
||||
throwsArgumentError,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
group('BufferWriter.writeCString', () {
|
||||
test('NUL-terminates and truncates on a character boundary', () {
|
||||
final writer = BufferWriter()..writeCString('#${'ё' * 20}', 32);
|
||||
|
||||
@@ -232,7 +232,7 @@ void main() {
|
||||
await _connect();
|
||||
// Nobody called "Ghost" has posted, so the reply keeps its mention.
|
||||
const text = '@[Ghost] cheap radios for sale, message me today';
|
||||
final cleanBefore = _filter.recentCleanCount;
|
||||
const filterText = 'cheap radios for sale, message me today';
|
||||
_connector.handleFrameForTest(
|
||||
ReviewFrames.channelMessage(
|
||||
channelIndex: 2,
|
||||
@@ -241,16 +241,19 @@ void main() {
|
||||
timestampSecs: _nowSecs(),
|
||||
),
|
||||
);
|
||||
await _waitFor(() => _find(2, text) != null);
|
||||
await _waitFor(
|
||||
() => _find(2, text) != null && _filter.hasRecentCleanExample(filterText),
|
||||
);
|
||||
final message = _find(2, text)!;
|
||||
expect(message.text, startsWith('@[Ghost]'));
|
||||
expect(_filter.recentCleanCount, cleanBefore + 1);
|
||||
|
||||
final spamBefore = _filter.spamExampleCount;
|
||||
await _connector.markChannelMessageSpam(_channelAt(2), message);
|
||||
expect(_filter.spamExampleCount, spamBefore + 1);
|
||||
// The clean example recorded on arrival is gone, not contradicted.
|
||||
expect(_filter.recentCleanCount, cleanBefore);
|
||||
// The clean example recorded on arrival is gone, not contradicted. Check
|
||||
// this example directly: other queued messages can teach the filter while
|
||||
// this async test is awaiting the retrain.
|
||||
expect(_filter.hasRecentCleanExample(filterText), isFalse);
|
||||
});
|
||||
|
||||
test('spam actions only touch the message in the chosen channel', () async {
|
||||
|
||||
@@ -51,6 +51,21 @@ void main() {
|
||||
expect(queue.length, 0);
|
||||
});
|
||||
|
||||
test('firmware-disabled private-key transfer fails its waiter', () async {
|
||||
final queue = newQueue();
|
||||
final pending = queue.track(
|
||||
buildExportPrivateKeyFrame(),
|
||||
waitForReply: true,
|
||||
);
|
||||
|
||||
expect(queue.completeReply(frame([respCodeDisabled])), isTrue);
|
||||
await expectLater(
|
||||
pending!.completer!.future,
|
||||
throwsA(isA<UnsupportedError>()),
|
||||
);
|
||||
expect(queue.length, 0);
|
||||
});
|
||||
|
||||
test('untracked commands are not enrolled', () {
|
||||
final queue = newQueue();
|
||||
expect(queue.track(buildSyncNextMessageFrame()), isNull);
|
||||
|
||||
@@ -208,14 +208,13 @@ void main() {
|
||||
_connector.state == MeshCoreConnectionState.disconnected &&
|
||||
_connector.isAutoReconnectScheduled,
|
||||
);
|
||||
await _waitFor(
|
||||
() => !_connector.isAutoReconnectScheduled,
|
||||
pollInterval: const Duration(milliseconds: 1),
|
||||
);
|
||||
// The timer firing proves an attempt started; wait for its failure to
|
||||
// finish and the next backoff to become active.
|
||||
final firstScheduledAttempt = _connector.reconnectAttemptsForTesting;
|
||||
// Wait for the failed attempt to schedule its next backoff. The timer's
|
||||
// inactive window can be shorter than a test poll interval, so observe
|
||||
// the monotonic retry count instead of trying to catch that window.
|
||||
await _waitFor(
|
||||
() =>
|
||||
_connector.reconnectAttemptsForTesting > firstScheduledAttempt &&
|
||||
_connector.state == MeshCoreConnectionState.disconnected &&
|
||||
_connector.isAutoReconnectScheduled,
|
||||
);
|
||||
|
||||
@@ -454,6 +454,42 @@ void main() {
|
||||
expect(sendOnly.isComplete, isFalse);
|
||||
});
|
||||
|
||||
test('only considers a complete bundle installed', () {
|
||||
final spec = imageCodecPresetModels.single;
|
||||
ImageCodecModelRecord record({
|
||||
required int bundleVersion,
|
||||
required List<String> assetFileNames,
|
||||
required Map<String, ImageCodecAssetRole> assetRoles,
|
||||
}) => ImageCodecModelRecord(
|
||||
id: spec.id,
|
||||
name: spec.fileName,
|
||||
sourceUrl: spec.graph.sourceUrl,
|
||||
localPath: '/models/${spec.fileName}',
|
||||
downloadedAt: DateTime.fromMillisecondsSinceEpoch(0),
|
||||
fileSizeBytes: 10,
|
||||
assetFileNames: assetFileNames,
|
||||
assetRoles: assetRoles,
|
||||
bundleVersion: bundleVersion,
|
||||
);
|
||||
|
||||
final completeRecord = record(
|
||||
bundleVersion: kImageCodecBundleVersion,
|
||||
assetFileNames: [for (final asset in spec.assets) asset.fileName],
|
||||
assetRoles: {
|
||||
for (final asset in spec.assets) asset.fileName: asset.role,
|
||||
},
|
||||
);
|
||||
final partialRecord = record(
|
||||
bundleVersion: 0,
|
||||
assetFileNames: [spec.fileName],
|
||||
assetRoles: {spec.fileName: ImageCodecAssetRole.decoderGraph},
|
||||
);
|
||||
|
||||
expect(spec.hasCompleteInstalledRecord([completeRecord]), isTrue);
|
||||
expect(spec.hasCompleteInstalledRecord([partialRecord]), isFalse);
|
||||
expect(spec.hasCompleteInstalledRecord([]), isFalse);
|
||||
});
|
||||
|
||||
test('uses the HuggingFace resolve/main URL shape', () {
|
||||
for (final asset in imageCodecPresetModels.single.assets) {
|
||||
expect(asset.sourceUrl, startsWith('https://huggingface.co/'));
|
||||
|
||||
@@ -0,0 +1,408 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:meshcore_open/connector/meshcore_connector.dart';
|
||||
import 'package:meshcore_open/models/app_settings.dart';
|
||||
import 'package:meshcore_open/models/image_codec_support.dart';
|
||||
import 'package:meshcore_open/models/translation_support.dart';
|
||||
import 'package:meshcore_open/services/app_settings_service.dart';
|
||||
import 'package:meshcore_open/services/image_codec_file_store.dart';
|
||||
import 'package:meshcore_open/services/image_codec_service.dart';
|
||||
import 'package:meshcore_open/services/image_codec_settings_store.dart';
|
||||
import 'package:meshcore_open/services/translation_file_store.dart';
|
||||
import 'package:meshcore_open/services/translation_service.dart';
|
||||
import 'package:meshcore_open/services/backup_service.dart';
|
||||
import 'package:meshcore_open/storage/prefs_manager.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
class _EmptyTranslationFileStore extends TranslationFileStore {
|
||||
@override
|
||||
Future<List<TranslationModelRecord>> scanDownloadedModels() async => const [];
|
||||
}
|
||||
|
||||
class _EmptyImageCodecFileStore extends ImageCodecFileStore {
|
||||
@override
|
||||
Future<List<ImageCodecModelRecord>> scanDownloadedModels() async => const [];
|
||||
}
|
||||
|
||||
class _AppSettingsCodecStore implements ImageCodecSettingsStore {
|
||||
_AppSettingsCodecStore(this.service);
|
||||
|
||||
final AppSettingsService service;
|
||||
|
||||
@override
|
||||
ImageCodecPreferences get preferences => service.settings.imageCodec;
|
||||
|
||||
@override
|
||||
Future<void> load() async {}
|
||||
|
||||
@override
|
||||
Future<void> save(ImageCodecPreferences preferences) =>
|
||||
service.setImageCodecPreferences(preferences);
|
||||
}
|
||||
|
||||
void main() {
|
||||
const payload = <String, Object?>{
|
||||
'format': 'meshcore-open-backup',
|
||||
'version': 1,
|
||||
'sourcePublicKey': '0011223344',
|
||||
'items': ['privateKey'],
|
||||
'sections': {
|
||||
'nodeSettings': {'privateKey': 'private-key-data'},
|
||||
},
|
||||
};
|
||||
|
||||
group('BackupService creation', () {
|
||||
test(
|
||||
'expands stored JSON for readability and retains banner preferences',
|
||||
() async {
|
||||
SharedPreferences.setMockInitialValues({
|
||||
'app_settings': jsonEncode({
|
||||
'theme_mode': 'dark',
|
||||
'map_use_online_map_for_paths': true,
|
||||
'upload_ipfs_api_key': 'ipfs-secret',
|
||||
'map_tile_api_key': 'stadia-secret',
|
||||
'custom_themes': [
|
||||
{'name': 'Example'},
|
||||
],
|
||||
'path_history_sample': {
|
||||
'path_bytes': [1, 16, 255],
|
||||
},
|
||||
}),
|
||||
'node_banner_txt': 'banner text',
|
||||
'node_banner_expires_ms': 123,
|
||||
});
|
||||
PrefsManager.reset();
|
||||
await PrefsManager.initialize();
|
||||
addTearDown(PrefsManager.reset);
|
||||
final connector = MeshCoreConnector();
|
||||
addTearDown(connector.dispose);
|
||||
|
||||
final json = await const BackupService().createBackup(
|
||||
items: {BackupItem.appSettings},
|
||||
connector: connector,
|
||||
settings: AppSettings(),
|
||||
password: '',
|
||||
);
|
||||
final payload = jsonDecode(json) as Map<String, dynamic>;
|
||||
expect(payload['items'], [BackupItem.appSettings.name]);
|
||||
final preferences =
|
||||
(payload['sections'] as Map<String, dynamic>)['appSettings']
|
||||
as Map<String, dynamic>;
|
||||
final values = preferences['preferences'] as Map<String, dynamic>;
|
||||
expect(values['app_settings'], isA<Map<String, dynamic>>());
|
||||
final appSettings = values['app_settings'] as Map<String, dynamic>;
|
||||
expect(appSettings, isNot(contains('upload_ipfs_api_key')));
|
||||
expect(appSettings, isNot(contains('map_tile_api_key')));
|
||||
expect(appSettings['map_use_online_map_for_paths'], isTrue);
|
||||
expect(values['node_banner_txt'], 'banner text');
|
||||
expect(values['node_banner_expires_ms'], 123);
|
||||
expect(json, contains('"theme_mode": "dark"'));
|
||||
expect(json, contains('"path_bytes": [1, 16, 255]'));
|
||||
expect(json, isNot(contains('ipfs-secret')));
|
||||
expect(json, isNot(contains('stadia-secret')));
|
||||
final inspected = await const BackupService().inspectImport(
|
||||
contents: json,
|
||||
password: '',
|
||||
);
|
||||
expect(inspected.availableItems, contains(BackupItem.appSettings));
|
||||
expect(inspected.availableItems, isNot(contains(BackupItem.ipfsKey)));
|
||||
expect(
|
||||
inspected.availableItems,
|
||||
isNot(contains(BackupItem.stadiaMapKey)),
|
||||
);
|
||||
final settingsService = AppSettingsService();
|
||||
addTearDown(settingsService.dispose);
|
||||
await const BackupService().restoreBackup(
|
||||
contents: json,
|
||||
password: '',
|
||||
items: {BackupItem.appSettings},
|
||||
connector: connector,
|
||||
appSettingsService: settingsService,
|
||||
);
|
||||
final restored =
|
||||
jsonDecode(PrefsManager.instance.getString('app_settings')!)
|
||||
as Map<String, dynamic>;
|
||||
expect(
|
||||
(restored['path_history_sample']
|
||||
as Map<String, dynamic>)['path_bytes'],
|
||||
[1, 16, 255],
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
test('backs up a sensitive key without unrelated app settings', () async {
|
||||
SharedPreferences.setMockInitialValues({
|
||||
'app_settings': jsonEncode({
|
||||
'theme_mode': 'dark',
|
||||
'upload_ipfs_api_key': 'ipfs-secret',
|
||||
'map_tile_api_key': 'stadia-secret',
|
||||
}),
|
||||
});
|
||||
PrefsManager.reset();
|
||||
await PrefsManager.initialize();
|
||||
addTearDown(PrefsManager.reset);
|
||||
final connector = MeshCoreConnector();
|
||||
addTearDown(connector.dispose);
|
||||
|
||||
final json = await const BackupService().createBackup(
|
||||
items: {BackupItem.ipfsKey},
|
||||
connector: connector,
|
||||
settings: AppSettings(),
|
||||
password: '',
|
||||
);
|
||||
final payload = jsonDecode(json) as Map<String, dynamic>;
|
||||
expect(payload['items'], [BackupItem.ipfsKey.name]);
|
||||
final section =
|
||||
(payload['sections'] as Map<String, dynamic>)['appSettings']
|
||||
as Map<String, dynamic>;
|
||||
final preferences = section['preferences'] as Map<String, dynamic>;
|
||||
expect(preferences.keys, {'app_settings'});
|
||||
expect(preferences['app_settings'], {
|
||||
'upload_ipfs_api_key': 'ipfs-secret',
|
||||
});
|
||||
expect(json, isNot(contains('stadia-secret')));
|
||||
});
|
||||
|
||||
test(
|
||||
'restores a selected key without replacing other app preferences',
|
||||
() async {
|
||||
SharedPreferences.setMockInitialValues({
|
||||
'app_settings': jsonEncode({
|
||||
'theme_mode': 'light',
|
||||
'upload_ipfs_api_key': 'old-ipfs',
|
||||
'map_tile_api_key': 'existing-stadia',
|
||||
}),
|
||||
});
|
||||
PrefsManager.reset();
|
||||
await PrefsManager.initialize();
|
||||
addTearDown(PrefsManager.reset);
|
||||
final connector = MeshCoreConnector();
|
||||
final settingsService = AppSettingsService();
|
||||
addTearDown(connector.dispose);
|
||||
addTearDown(settingsService.dispose);
|
||||
|
||||
final backup = await BackupService.encodeBackup({
|
||||
'format': 'meshcore-open-backup',
|
||||
'version': 1,
|
||||
'sourcePublicKey': '',
|
||||
'items': [BackupItem.ipfsKey.name],
|
||||
'sections': {
|
||||
'appSettings': {
|
||||
'preferences': {
|
||||
'app_settings': {'upload_ipfs_api_key': 'new-ipfs'},
|
||||
},
|
||||
},
|
||||
},
|
||||
}, password: '');
|
||||
await const BackupService().restoreBackup(
|
||||
contents: backup,
|
||||
password: '',
|
||||
items: {BackupItem.ipfsKey},
|
||||
connector: connector,
|
||||
appSettingsService: settingsService,
|
||||
);
|
||||
|
||||
final restored =
|
||||
jsonDecode(PrefsManager.instance.getString('app_settings')!)
|
||||
as Map<String, dynamic>;
|
||||
expect(restored['theme_mode'], 'light');
|
||||
expect(restored['upload_ipfs_api_key'], 'new-ipfs');
|
||||
expect(restored['map_tile_api_key'], 'existing-stadia');
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
group('restored model registry reconciliation', () {
|
||||
test(
|
||||
'removes model records absent from disk but retains selections',
|
||||
() async {
|
||||
SharedPreferences.setMockInitialValues({});
|
||||
PrefsManager.reset();
|
||||
await PrefsManager.initialize();
|
||||
addTearDown(PrefsManager.reset);
|
||||
final settingsService = AppSettingsService();
|
||||
addTearDown(settingsService.dispose);
|
||||
final downloadedAt = DateTime(2026);
|
||||
await settingsService.updateSettings(
|
||||
AppSettings(
|
||||
mapUseOnlineMapForPaths: true,
|
||||
translationSelectedModelId: 'translation-model',
|
||||
translationDownloadedModels: [
|
||||
TranslationModelRecord(
|
||||
id: 'translation-model',
|
||||
name: 'translation.gguf',
|
||||
sourceUrl: 'https://example.com/translation.gguf',
|
||||
localPath: '/old-device/translation.gguf',
|
||||
downloadedAt: downloadedAt,
|
||||
fileSizeBytes: 100,
|
||||
),
|
||||
],
|
||||
imageCodecSelectedModelId: 'image-model',
|
||||
imageCodecDownloadedModels: [
|
||||
ImageCodecModelRecord(
|
||||
id: 'image-model',
|
||||
name: 'image.onnx',
|
||||
sourceUrl: 'https://example.com/image.onnx',
|
||||
localPath: '/old-device/image.onnx',
|
||||
downloadedAt: downloadedAt,
|
||||
fileSizeBytes: 100,
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
final translationService = TranslationService(
|
||||
settingsService,
|
||||
fileStore: _EmptyTranslationFileStore(),
|
||||
);
|
||||
final imageCodecService = ImageCodecService(
|
||||
settingsService,
|
||||
fileStore: _EmptyImageCodecFileStore(),
|
||||
settingsStore: _AppSettingsCodecStore(settingsService),
|
||||
);
|
||||
addTearDown(translationService.dispose);
|
||||
addTearDown(imageCodecService.dispose);
|
||||
|
||||
await translationService.refreshDownloadedModels(clearMissing: true);
|
||||
await imageCodecService.refreshDownloadedModels(clearMissing: true);
|
||||
|
||||
expect(settingsService.settings.translationDownloadedModels, isEmpty);
|
||||
expect(settingsService.settings.mapUseOnlineMapForPaths, isTrue);
|
||||
expect(
|
||||
settingsService.settings.translationSelectedModelId,
|
||||
'translation-model',
|
||||
);
|
||||
expect(settingsService.settings.imageCodecDownloadedModels, isEmpty);
|
||||
expect(
|
||||
settingsService.settings.imageCodecSelectedModelId,
|
||||
'image-model',
|
||||
);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
group('BackupService import inspection', () {
|
||||
test(
|
||||
'identifies only the fields present in an official app backup',
|
||||
() async {
|
||||
final publicKey = List.filled(32, 'a1').join();
|
||||
final contactKey = List.filled(32, 'b2').join();
|
||||
final privateKey = List.filled(64, 'c3').join();
|
||||
final json = jsonEncode({
|
||||
'name': 'Test node',
|
||||
'public_key': publicKey,
|
||||
'private_key': privateKey,
|
||||
'radio_settings': {
|
||||
'frequency': 869618,
|
||||
'bandwidth': 62500,
|
||||
'spreading_factor': 8,
|
||||
'coding_rate': 8,
|
||||
'tx_power': 22,
|
||||
},
|
||||
'position_settings': {'latitude': '47.5', 'longitude': '7.8'},
|
||||
'other_settings': {'advert_location_policy': 0},
|
||||
'auto_add_settings': {'auto_add_chat': true},
|
||||
'channels': [
|
||||
{'name': 'Public', 'secret': List.filled(16, '01').join()},
|
||||
],
|
||||
'contacts': [
|
||||
{
|
||||
'type': 1,
|
||||
'name': 'Contact',
|
||||
'custom_name': null,
|
||||
'public_key': contactKey,
|
||||
'flags': 0,
|
||||
'latitude': '0.0',
|
||||
'longitude': '0.0',
|
||||
'last_advert': 1,
|
||||
'last_modified': 1,
|
||||
'out_path_list': null,
|
||||
},
|
||||
],
|
||||
}).replaceFirst('"name":"Test node",', '"name":"Test node"');
|
||||
|
||||
final inspected = await const BackupService().inspectImport(
|
||||
contents: json,
|
||||
password: '',
|
||||
);
|
||||
expect(inspected.isOfficial, isTrue);
|
||||
expect(
|
||||
inspected.availableItems,
|
||||
containsAll({
|
||||
BackupItem.deviceName,
|
||||
BackupItem.privateKey,
|
||||
BackupItem.publicKey,
|
||||
BackupItem.radioSettings,
|
||||
BackupItem.location,
|
||||
BackupItem.contactSettings,
|
||||
BackupItem.privacySettings,
|
||||
BackupItem.channels,
|
||||
BackupItem.contacts,
|
||||
}),
|
||||
);
|
||||
for (final item in [
|
||||
BackupItem.regions,
|
||||
BackupItem.appSettings,
|
||||
BackupItem.perContactSettings,
|
||||
BackupItem.contactGroups,
|
||||
BackupItem.contactHistory,
|
||||
BackupItem.discoveredContacts,
|
||||
BackupItem.channelFilters,
|
||||
BackupItem.channelSettings,
|
||||
BackupItem.communities,
|
||||
BackupItem.channelHistory,
|
||||
]) {
|
||||
expect(inspected.availableItems, isNot(contains(item)));
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
test('reports only selected sections in a MeshCore Open backup', () async {
|
||||
final json = await BackupService.encodeBackup({
|
||||
...payload,
|
||||
'items': [BackupItem.deviceName.name, BackupItem.channels.name],
|
||||
}, password: '');
|
||||
final inspected = await const BackupService().inspectImport(
|
||||
contents: json,
|
||||
password: '',
|
||||
);
|
||||
expect(inspected.isOfficial, isFalse);
|
||||
expect(inspected.availableItems, {
|
||||
BackupItem.deviceName,
|
||||
BackupItem.channels,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
group('BackupService file encoding', () {
|
||||
test('writes readable JSON when the password is empty', () async {
|
||||
final file = await BackupService.encodeBackup(payload, password: '');
|
||||
expect(jsonDecode(file), payload);
|
||||
expect(await BackupService.decodeBackup(file, password: ''), payload);
|
||||
});
|
||||
|
||||
test('encrypts and restores payload when a password is provided', () async {
|
||||
final file = await BackupService.encodeBackup(
|
||||
payload,
|
||||
password: 'correct horse battery staple',
|
||||
);
|
||||
expect(file, contains('meshcore-open-encrypted-backup'));
|
||||
expect(file, isNot(contains('private-key-data')));
|
||||
expect(
|
||||
await BackupService.decodeBackup(
|
||||
file,
|
||||
password: 'correct horse battery staple',
|
||||
),
|
||||
payload,
|
||||
);
|
||||
});
|
||||
|
||||
test('rejects a wrong password', () async {
|
||||
final file = await BackupService.encodeBackup(payload, password: 'right');
|
||||
await expectLater(
|
||||
BackupService.decodeBackup(file, password: 'wrong'),
|
||||
throwsFormatException,
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
+987
-1
@@ -1 +1,987 @@
|
||||
{}
|
||||
{
|
||||
"bg": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"de": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"es": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"fr": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"hu": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"it": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"ja": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"ko": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"nl": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"pl": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"pt": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"ru": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"sk": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"sl": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"sv": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"uk": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
],
|
||||
|
||||
"zh": [
|
||||
"settings_export",
|
||||
"settings_exportSubtitle",
|
||||
"backupRestore_title",
|
||||
"backupRestore_subtitle",
|
||||
"backupRestore_import",
|
||||
"backupRestore_selectImportFile",
|
||||
"backupRestore_password",
|
||||
"backupRestore_passwordHelp",
|
||||
"backupRestore_importUnavailable",
|
||||
"backupRestore_items",
|
||||
"backupRestore_nodeSettings",
|
||||
"backupRestore_nodeSettingsDescription",
|
||||
"backupRestore_deviceName",
|
||||
"backupRestore_privateKey",
|
||||
"backupRestore_publicKey",
|
||||
"backupRestore_radioSettings",
|
||||
"backupRestore_regions",
|
||||
"backupRestore_location",
|
||||
"backupRestore_contactSettings",
|
||||
"backupRestore_privacySettings",
|
||||
"backupRestore_contactsData",
|
||||
"backupRestore_perContactSettings",
|
||||
"backupRestore_contactGroups",
|
||||
"backupRestore_contactHistory",
|
||||
"backupRestore_channelsData",
|
||||
"backupRestore_channelFilters",
|
||||
"backupRestore_channelSettings",
|
||||
"backupRestore_communities",
|
||||
"backupRestore_channelHistory",
|
||||
"backupRestore_locationSettings",
|
||||
"backupRestore_locationSettingsDescription",
|
||||
"backupRestore_appSettings",
|
||||
"backupRestore_appSettingsDescription",
|
||||
"backupRestore_ipfsKey",
|
||||
"backupRestore_stadiaMapKey",
|
||||
"backupRestore_contacts",
|
||||
"backupRestore_contactsDescription",
|
||||
"backupRestore_discoveredContacts",
|
||||
"backupRestore_discoveredContactsDescription",
|
||||
"backupRestore_channels",
|
||||
"backupRestore_channelsDescription",
|
||||
"backupRestore_backup",
|
||||
"backupRestore_restore",
|
||||
"backupRestore_backupComplete",
|
||||
"backupRestore_restoreComplete",
|
||||
"backupRestore_missingModelsTitle",
|
||||
"backupRestore_missingModelsMessage",
|
||||
"backupRestore_downloadModels",
|
||||
"backupRestore_downloading",
|
||||
"backupRestore_cancelDownload",
|
||||
"backupRestore_failed",
|
||||
"backupRestore_fileTooLarge",
|
||||
"backupRestore_selectAtLeastOne",
|
||||
"backupRestore_replaceIdentityTitle",
|
||||
"backupRestore_replaceIdentityMessage"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user