Backup&Restore
This commit is contained in:
1 parent
394df3109b
commit
aae2bf6d60
29 files changed
+2769
-120
No files matched your search
@@ -4334,6 +4334,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,41 @@
|
||||
"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_items": "Backup and restore items",
|
||||
"backupRestore_nodeSettings": "Node Settings",
|
||||
"backupRestore_nodeSettingsDescription": "Device name, private and public keys, radio settings, and regions",
|
||||
"backupRestore_locationSettings": "Location Settings",
|
||||
"backupRestore_locationSettingsDescription": "Location, contact settings, and privacy settings",
|
||||
"backupRestore_appSettings": "App Settings",
|
||||
"backupRestore_appSettingsDescription": "App preferences and appearance settings",
|
||||
"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 the radio to refresh its data.",
|
||||
"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",
|
||||
|
||||
@@ -814,6 +814,186 @@ 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_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_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_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 the radio to refresh its data.'**
|
||||
String get backupRestore_restoreComplete;
|
||||
|
||||
/// 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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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,109 @@ 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_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_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_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 the radio to refresh its data.';
|
||||
|
||||
@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 => '节点设置';
|
||||
|
||||
|
||||
@@ -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()),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -682,70 +703,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(
|
||||
@@ -1066,51 +1023,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.
|
||||
|
||||
Reference in new issue
Block a user