Merge remote-tracking branch 'origin/dev' into pr-593

# Conflicts:
#	lib/models/app_settings.dart
#	lib/screens/channel_chat_screen.dart
#	lib/screens/chat_screen.dart
#	untranslated.json
This commit is contained in:
zjs81 committed 2026-10-24 21:45:13 -07:00
commit 7e7e7a48db
87 files changed
+4822 -882

No files matched your search

+3 -3
View File
@@ -49,7 +49,7 @@ See the [user documentation](documentation/README.md), [connection guide](docume
- **Contact Groups**: Create custom groups to organize your mesh network contacts
- **Message Reactions**: React to messages with emoji responses
- **Message Replies**: Thread conversations with inline reply functionality
- **Android Auto & Watches**: Hear messages and reply by voice in Android Auto, or reply from the notification shade and Wear OS/Galaxy watches ([guide](documentation/notifications.md#android-auto))
- **Android Auto & Watches**: Reply from the notification shade and Wear OS/Galaxy watches, or hear messages and reply by voice in Android Auto (optional build flag) ([guide](documentation/notifications.md#android-auto))
- **Channel Muting**: Mute a channel from its chat screen, the channel list, or its notification
### Mesh Network
@@ -103,7 +103,7 @@ See the [user documentation](documentation/README.md), [connection guide](docume
| Map & Location | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Device Management | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Repeater Hub | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Notification replies | ✅<br>(incl. Android Auto, watches) | ❌ | ❌ | ❌ | ❌ | ❌ |
| Notification replies | ✅<br>(incl. watches; Android Auto optional) | ❌ | ❌ | ❌ | ❌ | ❌ |
The matrix describes implemented functionality, not a guarantee that every feature has been tested on every device. Web device connections use Web Serial and require Chrome and a secure origin. Image inference and translation require native runtimes and are unavailable on web. Android APKs currently include only `arm64-v8a`; the minimum Android API follows the Flutter SDK used to build.
@@ -228,7 +228,7 @@ Messages are transmitted as binary frames using a custom protocol optimized for
- **Theme**: System default, light, or dark mode
- **Language**: Use one of 18 languages (English, Chinese, French, Spanish, Portuguese, German, Dutch, Polish, Swedish, Italian, Slovak, Slovenian, Bulgarian, Russian, Ukrainian, Hungarian, Japanese, Korean)
- **Notifications**: Configurable for messages, channels, and node advertisements; per-channel muting; reply, mark-as-read, and mute actions on Android notifications and watches (reply and mark-as-read in Android Auto)
- **Notifications**: Configurable for messages, channels, and node advertisements; per-channel muting; reply, mark-as-read, and mute actions on Android notifications and watches (reply and mark-as-read in Android Auto when built with `--android-project-arg=androidAuto=true`)
- **Battery Chemistry**: Support for NMC, LiFePO4, LiPo, and LiPo HV battery types
- **Message Retry**: Automatic retry with configurable path clearing
+18
View File
@@ -98,6 +98,24 @@ android {
// }
}
// Android Auto (notification read-aloud and voice reply) is opt-in, because
// declaring it puts the app through Play's separate Android Auto review.
// Enable it with `flutter build apk --android-project-arg=androidAuto=true`
// or `./gradlew -PandroidAuto=true ...`.
val androidAutoEnabled = (findProperty("androidAuto") as String?)?.toBoolean() == true
if (androidAutoEnabled) {
android.sourceSets.getByName("main").res.srcDir("src/androidAuto/res")
}
androidComponents {
onVariants { variant ->
if (androidAutoEnabled) {
variant.sources.manifests.addStaticManifestFile("src/androidAuto/AndroidManifest.xml")
}
}
}
flutter {
source = "../.."
}
@@ -0,0 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Merged only when built with -PandroidAuto=true; see app/build.gradle.kts -->
<application>
<!-- Android Auto: message notifications can be read aloud and replied to -->
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
</application>
</manifest>
-4
View File
@@ -34,10 +34,6 @@
<receiver
android:name="com.dexterous.flutterlocalnotifications.ActionBroadcastReceiver"
android:exported="false" />
<!-- Android Auto: message notifications can be read aloud and replied to -->
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
<activity
android:name=".MainActivity"
android:exported="true"
+1 -1
View File
@@ -80,7 +80,7 @@ Groups are stored per radio identity (scoped by public key).
| Add/Remove Favorite | All types | Toggles the favorite flag |
| Share Contact | All types | Requests advert from device → copies `meshcore://<hex>` URI to clipboard |
| Share Contact Zero-Hop | All types | Broadcasts the contact's advertisement one hop |
| Delete Contact | All types | Confirmation dialog → removes from device and clears messages |
| Delete Contact | All types | Confirmation dialog → removes from device and clears messages. If auto-add is on for that type, the radio adds it back the next time it advertises; the dialog warns about this |
## App Bar Menus
+9 -1
View File
@@ -103,10 +103,18 @@ Shows node count and pin count. Tappable to expand a legend of all marker types.
## Path Trace Map
### How to Access
- From the main map's radar icon
- From the main map's menu → **Path Trace** (build your own route, see below)
- From a contact's long-press menu → "Path Trace / Ping"
- From a message's path view → radar icon
### Building a Custom Trace on the Map
1. Open the map menu and choose **Path Trace**. A panel appears at the top of the map.
2. Tap nodes on the map in the order the trace should travel. **Remove Last** and **Clear** edit the list.
3. Choose **Round trip** (the trace comes back along the same hops) or **As entered** (the hops are used exactly as listed, so add the return hops yourself).
4. Tap **Run path trace**. Nothing is sent until you press this button.
Returning from the result keeps your hops, mode and the last result (**View last result** reopens it without sending again). **Close** or the back button hides the panel without discarding the hops; reopening **Path Trace** during the same session resumes where you left off. The hops are dropped when you connect to a different radio.
### What the User Sees
A map with a polyline showing the route from your node through repeater hops to the target:
- **Green circles**: Hops with known GPS coordinates
+24 -7
View File
@@ -42,7 +42,7 @@ Message notifications can be answered without opening the app, from the notifica
- **Reply** sends through the connected radio exactly like the chat screen: same length limits, SMAZ and Cyr2Lat handling, and retries. Your reply is then added to the notification.
- **Replies over the message limit** are split at word boundaries into up to 3 messages. Longer replies are not sent; a "Reply not sent" notification asks you to open the app.
- **Mark as read** clears the unread count on the phone only. MeshCore has no read receipts, so nothing is sent over the mesh.
- **Mute channel** (phone and watch) mutes that channel, the same as the bell icon in the channel chat.
- **Mute channel** (phone and watch) sets that channel to **Muted**, the same as choosing Muted from the bell icon in the channel chat.
- If the radio is disconnected, the conversation is no longer on the radio, the radio reports a send error, or the app isn't running, a "Reply not sent" notification explains why. The reply is not queued. If a split reply fails partway, earlier parts may already have been sent.
- Replies are sent as typed; composer translation is not applied.
@@ -52,6 +52,14 @@ iOS notifications do not have reply actions yet.
MeshCore Open works in Android Auto as a notification-based messaging app. There is no MeshCore screen in the car; Android Auto provides the interface.
Android Auto support is off by default and is compiled in only when the build passes the `androidAuto` Gradle property:
```bash
flutter build apk --release --android-project-arg=androidAuto=true
```
The flag merges `android/app/src/androidAuto/` (the `com.google.android.gms.car.application` manifest entry and `automotive_app_desc.xml`) into the app. Without it, Android Auto does not list the app. Notification replies from the shade and watches work either way.
- New direct and channel messages appear on the car display and can be read aloud.
- Reply by voice or with a suggested reply; replies follow the rules above (splitting, failure notifications, no translation).
- Android Auto shows **Reply** and **Mark as read**. **Mute channel** is marked as a mute action, but Android Auto only documents reply and mark-as-read for messaging apps, so mute may not appear in the car; use the phone, a watch, or the bell icon.
@@ -99,15 +107,24 @@ Access via **App Settings → Notifications**:
| Channel Message Notifications | On | Channel alerts (greyed out if master is off) |
| Advertisement Notifications | On | New node alerts (greyed out if master is off) |
### Per-Channel Muting
### Per-Channel Notification Modes
Mute or unmute a channel from any of these places. Muted channels do not generate OS notifications.
Each channel supports three notification modes:
- The bell icon in the channel chat app bar
- Long-press a channel in the channels list → "Mute channel" / "Unmute channel"
- **Mute channel** on a channel notification (Android)
| Mode | Icon | Behavior |
|---|---|---|
| **All messages** | 🔔 | Receive notifications for every message |
| **Mentions only** | 🔔! | Only notify when a message mentions your name (see below) |
| **Muted** | 🔕 | No notifications |
There is no per-contact muting.
Set the mode from:
- The notifications icon in the channel chat app bar (tap to open the mode picker)
- Long-press a channel in the channels list → **Notification settings** → select mode
The Android **Mute channel** notification action sets the channel to **Muted**; it cannot choose another mode.
A message mentions you if it contains `@[yourname]` or `@yourname`, case-insensitively. The plain `@yourname` form must stand alone as a word, so `@bobby` does not mention `bob` and `x@bob.com` is not a mention; names with spaces must be written in full. Detection (`MeshCoreConnector.textMentionsName`) runs on the original text, before any automatic translation.
## Rate Limiting
+158 -7
View File
@@ -38,7 +38,8 @@ import '../services/image_codec_service.dart';
import '../services/received_image_store.dart';
import '../services/message_retry_service.dart';
import '../services/path_history_service.dart';
import '../services/app_settings_service.dart';
import '../services/app_settings_service.dart'
show AppSettingsService, ChannelNotificationMode;
import '../services/background_service.dart';
import '../services/timeout_prediction_service.dart';
import '../services/translation_service.dart';
@@ -298,6 +299,22 @@ class MeshCoreConnector extends ChangeNotifier {
Stopwatch? _airtimeBumpStopwatch;
int _prevTotalAirSecs = 0;
int? _batteryMillivolts;
// Thresholds (percent) that trigger a low-battery notification once per
// crossing, re-arming 5 points above the threshold after recharge.
static const List<int> _lowBatteryThresholds = [25, 10];
final Set<int> _batteryAlertedThresholds = {};
// Consecutive readings that newly crossed a threshold. Alerts need
// [_lowBatteryConfirmReadings] in a row so a single TX-load voltage sag
// doesn't notify.
int _lowBatteryReadingStreak = 0;
// Device key the posted low-battery notifications were scoped to, kept so
// they can still be cancelled after the session's identity is cleared.
String? _lowBatteryAlertDeviceKey;
static const int _lowBatteryConfirmReadings = 2;
// Readings below this are treated as "no battery sensor" (boards without
// one report 0 mV). Any single Li cell, including LiFePO4 (2600 mV empty),
// is protection-cut well above 2 V, so lower values are not real readings.
static const int _minPlausibleBatteryMillivolts = 2000;
double? _selfLatitude;
double? _selfLongitude;
final List<DirectRepeater> _directRepeaters = List.empty(growable: true);
@@ -667,6 +684,16 @@ class MeshCoreConnector extends ChangeNotifier {
bool? get autoAddSensors => _autoAddSensors;
bool? get autoAddOverwriteOldest => _overwriteOldest;
/// Whether the radio stores adverts of [type] by itself, so a removed
/// contact of that type returns the next time it advertises.
bool autoAddsContactType(int type) => switch (type) {
advTypeChat => _autoAddUsers,
advTypeRepeater => _autoAddRepeaters,
advTypeRoom => _autoAddRoomServers,
advTypeSensor => _autoAddSensors,
_ => false,
};
/// autoadd_max_hops from GET_AUTOADD_CONFIG (0 = no limit), null when the
/// firmware did not report it (pre-v1.13).
int? get autoAddMaxHops => _autoAddMaxHops;
@@ -681,6 +708,9 @@ class MeshCoreConnector extends ChangeNotifier {
/// from ver code 8.
bool get supportsNodeDiscover => (_firmwareVerCode ?? 0) >= 8;
/// CMD_SET_PATH_HASH_MODE exists from ver code 10 (v1.14.0).
bool get supportsPathHashMode => (_firmwareVerCode ?? 0) >= 10;
/// CMD_GET/SET_DEFAULT_FLOOD_SCOPE exist from ver code 11 (v1.15.0).
bool get supportsDefaultFloodScope => (_firmwareVerCode ?? 0) >= 11;
@@ -1246,8 +1276,9 @@ class MeshCoreConnector extends ChangeNotifier {
/// (notification shade, watch, or Android Auto).
Future<void> handleNotificationReply(NotificationReply reply) async {
if (reply.action == NotificationReplyAction.mute) {
await _appSettingsService?.muteChannel(
await _appSettingsService?.setChannelNotificationMode(
_channelDisplayName(reply.channelIndex!),
ChannelNotificationMode.muted,
);
await _notificationService.clearChannelNotification(
reply.channelIndex!,
@@ -4359,7 +4390,7 @@ class MeshCoreConnector extends ChangeNotifier {
_pathOpLock = completer.future;
await prev;
try {
if (!isConnected) return;
if (!isConnected || !_isKnownContact(contact)) return;
final width =
pathHashWidth ??
@@ -4402,6 +4433,13 @@ class MeshCoreConnector extends ChangeNotifier {
}
}
/// Whether [contact] is still in the radio's contact list. The firmware's
/// CMD_ADD_UPDATE_CONTACT adds unknown keys, so path/flag writes for a
/// removed contact (e.g. a repeater screen still open after its old key was
/// deleted) would re-create it on the radio.
bool _isKnownContact(Contact contact) =>
_contacts.any((c) => c.publicKeyHex == contact.publicKeyHex);
/// The advert timestamp the firmware holds for [contact] (Contact.lastSeen
/// is parsed from that field); the stored copy is freshest.
DateTime _deviceLastAdvert(Contact contact) {
@@ -4418,7 +4456,7 @@ class MeshCoreConnector extends ChangeNotifier {
bool? teleLoc,
bool? teleEnv,
}) async {
if (!isConnected) return;
if (!isConnected || !_isKnownContact(contact)) return;
final latestContact =
await _fetchContactSnapshotFromDevice(contact.publicKey) ?? contact;
int updatedFlags = isFavorite != null
@@ -5037,13 +5075,26 @@ class MeshCoreConnector extends ChangeNotifier {
}) async {
if (!isConnected) return;
// Only drop the contact locally once the radio confirms; otherwise the
// next contact sync restores it. ERR means the radio does not have it.
try {
await sendFrame(
buildRemoveContactFrame(contact.publicKey),
waitForGenericAck: true,
);
} on FirmwareCommandException catch (e) {
_appDebugLogService?.warn(
'Radio has no contact ${contact.publicKeyHex.substring(0, 8)} '
'(error ${e.errCode}); removing it locally',
tag: 'Connector',
);
}
_handleDiscovery(
contact,
contact.rawPacket ?? Uint8List(0),
noNotify: true,
);
await sendFrame(buildRemoveContactFrame(contact.publicKey));
_contactsStorageFull = false;
_contacts.removeWhere((c) => c.publicKeyHex == contact.publicKeyHex);
_knownContactKeys.remove(contact.publicKeyHex);
@@ -6473,6 +6524,7 @@ class MeshCoreConnector extends ChangeNotifier {
_batteryMillivolts = reader.readUInt16LE();
_storageUsedKb = reader.readUInt32LE();
_storageTotalKb = reader.readUInt32LE();
_checkLowBatteryThresholds();
final volts = (_batteryMillivolts! / 1000.0).toStringAsFixed(2);
_appDebugLogService?.info(
'Pulled battery: $volts V ($_batteryMillivolts mV)',
@@ -6487,6 +6539,64 @@ class MeshCoreConnector extends ChangeNotifier {
}
}
void _checkLowBatteryThresholds() {
final millivolts = _batteryMillivolts;
if (millivolts == null || millivolts < _minPlausibleBatteryMillivolts) {
return;
}
// Until the device identity (and so its saved chemistry) is known, the
// percentage falls back to NMC and can read low for e.g. LiFePO4 packs.
// Skip evaluation; the next battery poll re-checks once identity is set.
if (batteryDeviceKey == null || _appSettingsService == null) return;
final percent = batteryPercent;
if (percent == null) return;
// Only the lowest newly crossed threshold notifies; higher ones crossed
// in the same reading are marked as alerted silently.
final newlyCrossed = <int>[];
for (final threshold in _lowBatteryThresholds) {
if (percent <= threshold &&
!_batteryAlertedThresholds.contains(threshold)) {
newlyCrossed.add(threshold);
} else if (percent > threshold + 5 &&
_batteryAlertedThresholds.contains(threshold)) {
// Re-arm once the battery recovers 5 points above the threshold,
// so a recharge + discharge cycle alerts again without flapping.
_batteryAlertedThresholds.remove(threshold);
final alertDeviceKey = _lowBatteryAlertDeviceKey;
if (alertDeviceKey != null) {
unawaited(
_notificationService.clearLowBatteryNotifications(alertDeviceKey, [
threshold,
]),
);
}
}
}
if (newlyCrossed.isEmpty) {
_lowBatteryReadingStreak = 0;
return;
}
// Debounce: wait for consecutive low readings before alerting.
if (++_lowBatteryReadingStreak < _lowBatteryConfirmReadings) return;
_lowBatteryReadingStreak = 0;
_batteryAlertedThresholds.addAll(newlyCrossed);
final deviceKey = batteryDeviceKey!;
_lowBatteryAlertDeviceKey = deviceKey;
final lowestNewlyCrossed = newlyCrossed.reduce((a, b) => a < b ? a : b);
if (!(_appSettingsService?.settings.notificationsEnabled ?? false)) {
return;
}
unawaited(
_notificationService.showLowBatteryNotification(
deviceKey: deviceKey,
deviceName: deviceDisplayName,
batteryPercent: percent,
threshold: lowestNewlyCrossed,
),
);
}
void _checkManualAddContacts() async {
// If manual add contacts is enabled, set auto add config and other params.
// and disable it after
@@ -7355,7 +7465,12 @@ class MeshCoreConnector extends ChangeNotifier {
}
final label = channelName ?? _channelDisplayName(channelIndex);
if (_appSettingsService!.isChannelMuted(label)) return;
final notificationMode = _appSettingsService!.getChannelNotificationMode(
label,
);
// Check if channel is muted
if (notificationMode == ChannelNotificationMode.muted) return;
// Reuse translation result only if completed and non-empty; else use original text
final resolvedText =
@@ -7364,6 +7479,14 @@ class MeshCoreConnector extends ChangeNotifier {
translationResult.translatedText.trim().isNotEmpty)
? translationResult.translatedText.trim()
: message.text.trim();
// Mentions are matched on the untranslated text.
if (notificationMode == ChannelNotificationMode.mentionsOnly) {
if (!textMentionsName(message.originalText ?? message.text, _selfName)) {
return;
}
}
unawaited(() async {
await _notificationService.showChannelMessageNotification(
channelName: label,
@@ -7376,6 +7499,22 @@ class MeshCoreConnector extends ChangeNotifier {
}());
}
/// Whether [text] mentions [name], case-insensitively, as either
/// `@[name]` (the reply/mention prefix the app sends) or a plain `@name`.
/// The plain form needs a word boundary on both sides, so `@bobby` does
/// not mention `bob` and `x@bob.com` is not a mention. Names containing
/// spaces must be written out in full.
@visibleForTesting
static bool textMentionsName(String text, String? name) {
if (name == null || name.isEmpty) return false;
final escaped = RegExp.escape(name);
return RegExp(
'@\\[$escaped\\]|(?<![\\p{L}\\p{N}_])@$escaped(?![\\p{L}\\p{N}_])',
caseSensitive: false,
unicode: true,
).hasMatch(text);
}
/// Handles RESP_CODE_CHANNEL_DATA_RECV (GRP_DATA). Frames whose dataType is
/// not 0xAE1C — or that arrive before an [ImageChunkTransport] is installed —
/// are ignored without disturbing any other behaviour.
@@ -8570,6 +8709,18 @@ class MeshCoreConnector extends ChangeNotifier {
_hasReceivedDeviceInfo = false;
_batteryMillivolts = null;
_batteryRequested = false;
final alertDeviceKey = _lowBatteryAlertDeviceKey;
if (alertDeviceKey != null && _batteryAlertedThresholds.isNotEmpty) {
unawaited(
_notificationService.clearLowBatteryNotifications(
alertDeviceKey,
_batteryAlertedThresholds.toList(),
),
);
}
_batteryAlertedThresholds.clear();
_lowBatteryAlertDeviceKey = null;
_lowBatteryReadingStreak = 0;
_pathHashByteWidth = 1;
_maxContacts = _defaultMaxContacts;
_maxChannels = _defaultMaxChannels;
+11 -3
View File
@@ -5,6 +5,16 @@ import 'package:flutter/foundation.dart';
import '../services/image_chunk_transport.dart' show cmdSendChannelData;
import 'meshcore_protocol.dart';
/// RESP_CODE_ERR received for a command that was waiting for its reply.
class FirmwareCommandException implements Exception {
final int errCode;
const FirmwareCommandException(this.errCode);
@override
String toString() => 'Exception: Command failed with error code $errCode';
}
/// A command waiting for its reply from the companion firmware.
class PendingCommandReply {
final int commandCode;
@@ -203,9 +213,7 @@ class PendingCommandReplies {
if (_queue.isEmpty) return null;
final pending = _queue.removeAt(0);
if (pending.isTombstone) return null;
pending.completer?.completeError(
Exception('Command failed with error code $errCode'),
);
pending.completer?.completeError(FirmwareCommandException(errCode));
return pending;
}
+30
View File
@@ -0,0 +1,30 @@
import 'package:latlong2/latlong.dart';
class MarkerPayload {
final LatLng position;
final String label;
final String flags;
MarkerPayload({
required this.position,
required this.label,
required this.flags,
});
}
/// Parse a shared marker text message of the form
/// `m:<lat>,<lon>|<label>|<flags>` and return a [MarkerPayload].
MarkerPayload? parseMarkerText(String text) {
final trimmed = text.trim();
final match = RegExp(
r'm:([\-0-9.]+),([\-0-9.]+)\|([^|]*)\|(.*)',
).firstMatch(trimmed);
if (match == null) return null;
final lat = double.tryParse(match.group(1) ?? '');
final lon = double.tryParse(match.group(2) ?? '');
if (lat == null || lon == null) return null;
if (lat.abs() > 90 || lon.abs() > 180) return null;
final label = (match.group(3) ?? '').trim();
final flags = (match.group(4) ?? '').trim();
return MarkerPayload(position: LatLng(lat, lon), label: label, flags: flags);
}
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Публично",
"channels_private": "Частен",
"channels_editChannel": "Редактирай канал",
"channels_notificationSettings": "Настройки за известия",
"channels_notifyAll": "Всички съобщения",
"channels_notifyMentionsOnly": "Само споменавания",
"channels_notifyNone": "Заглушено",
"channels_muteChannel": "Заглуши канала",
"channels_unmuteChannel": "Включи известията на канала",
"channels_deleteChannel": "Изтрий канала",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Öffentlich",
"channels_private": "Privat",
"channels_editChannel": "Kanal bearbeiten",
"channels_notificationSettings": "Benachrichtigungseinstellungen",
"channels_notifyAll": "Alle Nachrichten",
"channels_notifyMentionsOnly": "Nur Erwähnungen",
"channels_notifyNone": "Stummgeschaltet",
"channels_muteChannel": "Kanal stummschalten",
"channels_unmuteChannel": "Kanal Stummschaltung aufheben",
"channels_deleteChannel": "Kanal löschen",
+63
View File
@@ -198,6 +198,7 @@
"settings_radioSettingsSubtitle": "Frequency, power, spreading factor",
"settings_radioSettingsUpdated": "Radio settings updated",
"settings_radioSettingsNotApplied": "The radio did not apply these settings",
"settings_pathHashModeNotApplied": "Radio settings were applied, but the radio did not confirm the new path hash size",
"settings_regionSettings": "Regions",
"settings_regionSettingsSubtitle": "Limit channel floods to an area",
"settings_regionEmptyExplanation": "Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.",
@@ -622,6 +623,8 @@
},
"contacts_keepChatHistory": "Keep chat history",
"contacts_remove": "Remove",
"contacts_removeAutoAddNote": "Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.",
"contacts_removeFailed": "The radio did not confirm the removal. The contact was not removed.",
"contacts_discoveredNearby": "Discovered nearby ({count})",
"@contacts_discoveredNearby": {
"placeholders": {
@@ -729,6 +732,18 @@
"channels_addSectionCreate": "Create new",
"channels_dragToReorder": "Drag to reorder",
"channels_editChannel": "Edit channel",
"channels_notificationSettings": "Notification settings",
"channels_notifyAll": "All messages",
"channels_notifyMentionsOnly": "Mentions only",
"channels_notifyNone": "Muted",
"channels_notificationModeTooltip": "Notifications: {mode}",
"@channels_notificationModeTooltip": {
"placeholders": {
"mode": {
"type": "String"
}
}
},
"channels_muteChannel": "Mute channel",
"channels_unmuteChannel": "Unmute channel",
"channels_deleteChannel": "Delete channel",
@@ -1258,6 +1273,12 @@
"map_runTraceWithReturnPath": "Return back on the same path.",
"map_removeLast": "Remove Last",
"map_pathTraceCancelled": "Path trace cancelled.",
"map_pathTraceAddMoreHint": "Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.",
"map_pathTraceModeRoundTrip": "Round trip",
"map_pathTraceModeRoundTripHint": "The trace goes out through these hops and comes back the same way.",
"map_pathTraceModeAsEntered": "As entered",
"map_pathTraceModeAsEnteredHint": "The trace follows these hops exactly. Add the hops back to you yourself.",
"map_pathTraceViewLast": "View last result",
"mapCache_title": "Offline Map Cache",
"mapCache_selectAreaFirst": "Select an area to cache first",
"mapCache_noTilesToDownload": "No tiles to download for this area",
@@ -2702,6 +2723,22 @@
"contacts_contactAdvertCopied": "Advert copied to Clipboard.",
"contacts_contactAdvertCopyFailed": "Copying advert to Clipboard failed.",
"notification_activityTitle": "MeshCore Activity",
"notification_lowBatteryTitle": "Low battery",
"@notification_lowBatteryTitle": {
"description": "Title of the low battery notification"
},
"notification_lowBatteryBody": "{deviceName} battery is at {percent}%",
"@notification_lowBatteryBody": {
"description": "Body of the low battery notification; deviceName is the connected radio's node name",
"placeholders": {
"deviceName": {
"type": "String"
},
"percent": {
"type": "int"
}
}
},
"notification_messagesCount": "{count} {count, plural, =1{message} other{messages}}",
"@notification_messagesCount": {
"placeholders": {
@@ -2735,6 +2772,25 @@
}
},
"notification_receivedNewMessage": "Received new message",
"notification_sharedLocation": "Shared a location",
"notification_sharedLocationNamed": "Shared a location: {label}",
"@notification_sharedLocationNamed": {
"placeholders": {
"label": {
"type": "String"
}
}
},
"notification_reacted": "Reacted {emoji}",
"@notification_reacted": {
"placeholders": {
"emoji": {
"type": "String"
}
}
},
"notification_sentGif": "Sent a GIF",
"notification_sentImage": "Sent an image",
"notification_actionReply": "Reply",
"notification_actionMarkRead": "Mark as read",
"notification_actionMuteChannel": "Mute channel",
@@ -2764,6 +2820,8 @@
"snrIndicator_nearByRepeaters": "Nearby Repeaters",
"snrIndicator_lastSeen": "Last seen",
"snrIndicator_nearByRepeatersDescription": "Repeaters your radio heard directly, most recently heard first.",
"snrIndicator_unknownRepeater": "Unknown repeater",
"snrIndicator_unknownRepeaterHint": "This repeater isn't in your contacts yet. Its name, location and options appear once your radio receives its advert.",
"contactsSettings_title": "Contacts settings",
"contactsSettings_autoAddTitle": "Automatic Discovery",
"contactsSettings_otherTitle": "Other contact related settings",
@@ -3461,6 +3519,8 @@
"@repeater_prvKeyLengthError": {"placeholders": {"length": {"type": "int"}}},
"contacts_advertFailed": "Couldn't send advertisement",
"contacts_manageGroups": "Manage groups",
"contacts_keyPrefixSemantics": "Key prefix {prefix}",
"@contacts_keyPrefixSemantics": {"placeholders": {"prefix": {"type": "String"}}},
"community_shortId": "ID: {id}…",
"@community_shortId": {"placeholders": {"id": {"type": "String"}}},
"tcpSectionTitle": "TCP / IP",
@@ -3489,6 +3549,9 @@
"networkMap_sourceLocal": "Local",
"networkMap_sourceOnline": "Online",
"networkMap_sourceBoth": "Both",
"networkMap_sourceLocalHint": "Nodes your radio has heard",
"networkMap_sourceOnlineHint": "Repeaters from the online network map",
"networkMap_sourceBothHint": "Your radio's nodes plus the online network map",
"networkMap_zoomInHint": "Zoom in to see the online network map",
"networkMap_loadFailed": "Couldn't load the online network map",
"networkMap_inYourContacts": "In your contacts",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Público",
"channels_private": "Privado",
"channels_editChannel": "Editar canal",
"channels_notificationSettings": "Configuración de notificaciones",
"channels_notifyAll": "Todos los mensajes",
"channels_notifyMentionsOnly": "Solo menciones",
"channels_notifyNone": "Silenciado",
"channels_muteChannel": "Silenciar canal",
"channels_unmuteChannel": "Activar canal",
"channels_deleteChannel": "Eliminar canal",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Public",
"channels_private": "Privé",
"channels_editChannel": "Modifier le canal",
"channels_notificationSettings": "Paramètres des notifications",
"channels_notifyAll": "Tous les messages",
"channels_notifyMentionsOnly": "Mentions uniquement",
"channels_notifyNone": "Désactivé",
"channels_muteChannel": "Désactiver les notifications du canal",
"channels_unmuteChannel": "Réactiver les notifications du canal",
"channels_deleteChannel": "Supprimer le canal",
+4
View File
@@ -511,6 +511,10 @@
"channels_public": "Nyilvános",
"channels_private": "Magán",
"channels_editChannel": "Csatorna szerkesztése",
"channels_notificationSettings": "Értesítési beállítások",
"channels_notifyAll": "Összes üzenet",
"channels_notifyMentionsOnly": "Csak említések",
"channels_notifyNone": "Némít",
"channels_muteChannel": "Csatorna némítása",
"channels_unmuteChannel": "Csatorna némításának feloldása",
"channels_deleteChannel": "Csatorna törlése",
+4
View File
@@ -414,6 +414,10 @@
"channels_public": "Pubblico",
"channels_private": "Privato",
"channels_editChannel": "Modifica canale",
"channels_notificationSettings": "Impostazioni notifiche",
"channels_notifyAll": "Tutti i messaggi",
"channels_notifyMentionsOnly": "Solo menzioni",
"channels_notifyNone": "Silenziato",
"channels_muteChannel": "Silenzia canale",
"channels_unmuteChannel": "Attiva notifiche canale",
"channels_deleteChannel": "Elimina canale",
+4
View File
@@ -517,6 +517,10 @@
"channels_public": "公開",
"channels_private": "非公開",
"channels_editChannel": "チャンネルを編集",
"channels_notificationSettings": "通知設定",
"channels_notifyAll": "すべてのメッセージ",
"channels_notifyMentionsOnly": "メンションのみ",
"channels_notifyNone": "ミュート",
"channels_muteChannel": "チャンネルをミュート",
"channels_unmuteChannel": "チャンネルのミュートを解除",
"channels_deleteChannel": "チャンネルを削除",
+4
View File
@@ -511,6 +511,10 @@
"channels_public": "대중의",
"channels_private": "사립",
"channels_editChannel": "채널 편집",
"channels_notificationSettings": "알림 설정",
"channels_notifyAll": "모든 메시지",
"channels_notifyMentionsOnly": "언급만",
"channels_notifyNone": "음소거",
"channels_muteChannel": "음소거 채널",
"channels_unmuteChannel": "채널 음소거 해제",
"channels_deleteChannel": "채널 삭제",
+162
View File
@@ -862,6 +862,12 @@ abstract class AppLocalizations {
/// **'The radio did not apply these settings'**
String get settings_radioSettingsNotApplied;
/// No description provided for @settings_pathHashModeNotApplied.
///
/// In en, this message translates to:
/// **'Radio settings were applied, but the radio did not confirm the new path hash size'**
String get settings_pathHashModeNotApplied;
/// No description provided for @settings_regionSettings.
///
/// In en, this message translates to:
@@ -2398,6 +2404,18 @@ abstract class AppLocalizations {
/// **'Remove'**
String get contacts_remove;
/// No description provided for @contacts_removeAutoAddNote.
///
/// In en, this message translates to:
/// **'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.'**
String get contacts_removeAutoAddNote;
/// No description provided for @contacts_removeFailed.
///
/// In en, this message translates to:
/// **'The radio did not confirm the removal. The contact was not removed.'**
String get contacts_removeFailed;
/// No description provided for @contacts_discoveredNearby.
///
/// In en, this message translates to:
@@ -2704,6 +2722,36 @@ abstract class AppLocalizations {
/// **'Edit channel'**
String get channels_editChannel;
/// No description provided for @channels_notificationSettings.
///
/// In en, this message translates to:
/// **'Notification settings'**
String get channels_notificationSettings;
/// No description provided for @channels_notifyAll.
///
/// In en, this message translates to:
/// **'All messages'**
String get channels_notifyAll;
/// No description provided for @channels_notifyMentionsOnly.
///
/// In en, this message translates to:
/// **'Mentions only'**
String get channels_notifyMentionsOnly;
/// No description provided for @channels_notifyNone.
///
/// In en, this message translates to:
/// **'Muted'**
String get channels_notifyNone;
/// No description provided for @channels_notificationModeTooltip.
///
/// In en, this message translates to:
/// **'Notifications: {mode}'**
String channels_notificationModeTooltip(String mode);
/// No description provided for @channels_muteChannel.
///
/// In en, this message translates to:
@@ -4348,6 +4396,42 @@ abstract class AppLocalizations {
/// **'Path trace cancelled.'**
String get map_pathTraceCancelled;
/// No description provided for @map_pathTraceAddMoreHint.
///
/// In en, this message translates to:
/// **'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.'**
String get map_pathTraceAddMoreHint;
/// No description provided for @map_pathTraceModeRoundTrip.
///
/// In en, this message translates to:
/// **'Round trip'**
String get map_pathTraceModeRoundTrip;
/// No description provided for @map_pathTraceModeRoundTripHint.
///
/// In en, this message translates to:
/// **'The trace goes out through these hops and comes back the same way.'**
String get map_pathTraceModeRoundTripHint;
/// No description provided for @map_pathTraceModeAsEntered.
///
/// In en, this message translates to:
/// **'As entered'**
String get map_pathTraceModeAsEntered;
/// No description provided for @map_pathTraceModeAsEnteredHint.
///
/// In en, this message translates to:
/// **'The trace follows these hops exactly. Add the hops back to you yourself.'**
String get map_pathTraceModeAsEnteredHint;
/// No description provided for @map_pathTraceViewLast.
///
/// In en, this message translates to:
/// **'View last result'**
String get map_pathTraceViewLast;
/// No description provided for @mapCache_title.
///
/// In en, this message translates to:
@@ -8210,6 +8294,18 @@ abstract class AppLocalizations {
/// **'MeshCore Activity'**
String get notification_activityTitle;
/// Title of the low battery notification
///
/// In en, this message translates to:
/// **'Low battery'**
String get notification_lowBatteryTitle;
/// Body of the low battery notification; deviceName is the connected radio's node name
///
/// In en, this message translates to:
/// **'{deviceName} battery is at {percent}%'**
String notification_lowBatteryBody(String deviceName, int percent);
/// No description provided for @notification_messagesCount.
///
/// In en, this message translates to:
@@ -8240,6 +8336,36 @@ abstract class AppLocalizations {
/// **'Received new message'**
String get notification_receivedNewMessage;
/// No description provided for @notification_sharedLocation.
///
/// In en, this message translates to:
/// **'Shared a location'**
String get notification_sharedLocation;
/// No description provided for @notification_sharedLocationNamed.
///
/// In en, this message translates to:
/// **'Shared a location: {label}'**
String notification_sharedLocationNamed(String label);
/// No description provided for @notification_reacted.
///
/// In en, this message translates to:
/// **'Reacted {emoji}'**
String notification_reacted(String emoji);
/// No description provided for @notification_sentGif.
///
/// In en, this message translates to:
/// **'Sent a GIF'**
String get notification_sentGif;
/// No description provided for @notification_sentImage.
///
/// In en, this message translates to:
/// **'Sent an image'**
String get notification_sentImage;
/// No description provided for @notification_actionReply.
///
/// In en, this message translates to:
@@ -8414,6 +8540,18 @@ abstract class AppLocalizations {
/// **'Repeaters your radio heard directly, most recently heard first.'**
String get snrIndicator_nearByRepeatersDescription;
/// No description provided for @snrIndicator_unknownRepeater.
///
/// In en, this message translates to:
/// **'Unknown repeater'**
String get snrIndicator_unknownRepeater;
/// No description provided for @snrIndicator_unknownRepeaterHint.
///
/// In en, this message translates to:
/// **'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.'**
String get snrIndicator_unknownRepeaterHint;
/// No description provided for @contactsSettings_title.
///
/// In en, this message translates to:
@@ -10435,6 +10573,12 @@ abstract class AppLocalizations {
/// **'Manage groups'**
String get contacts_manageGroups;
/// No description provided for @contacts_keyPrefixSemantics.
///
/// In en, this message translates to:
/// **'Key prefix {prefix}'**
String contacts_keyPrefixSemantics(String prefix);
/// No description provided for @community_shortId.
///
/// In en, this message translates to:
@@ -10573,6 +10717,24 @@ abstract class AppLocalizations {
/// **'Both'**
String get networkMap_sourceBoth;
/// No description provided for @networkMap_sourceLocalHint.
///
/// In en, this message translates to:
/// **'Nodes your radio has heard'**
String get networkMap_sourceLocalHint;
/// No description provided for @networkMap_sourceOnlineHint.
///
/// In en, this message translates to:
/// **'Repeaters from the online network map'**
String get networkMap_sourceOnlineHint;
/// No description provided for @networkMap_sourceBothHint.
///
/// In en, this message translates to:
/// **'Your radio\'s nodes plus the online network map'**
String get networkMap_sourceBothHint;
/// No description provided for @networkMap_zoomInHint.
///
/// In en, this message translates to:
+100
View File
@@ -425,6 +425,10 @@ class AppLocalizationsBg extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Радиото не приложи тези настройки';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Региони';
@@ -1336,6 +1340,14 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get contacts_remove => 'Премахни';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Открити наблизо ($count)';
@@ -1510,6 +1522,23 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get channels_editChannel => 'Редактирай канал';
@override
String get channels_notificationSettings => 'Настройки за известия';
@override
String get channels_notifyAll => 'Всички съобщения';
@override
String get channels_notifyMentionsOnly => 'Само споменавания';
@override
String get channels_notifyNone => 'Заглушено';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Заглуши канала';
@@ -2440,6 +2469,27 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Отменен е следването на пътя.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Кеш на офлайн карти';
@@ -4785,6 +4835,14 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get notification_activityTitle => 'Активност на MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4826,6 +4884,25 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Получено ново съобщение';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Отговори';
@@ -4928,6 +5005,13 @@ class AppLocalizationsBg extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Повторители, чути от вашето радио пряко, първо най-скорошните.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Настройки на контактите';
@@ -6224,6 +6308,11 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get contacts_manageGroups => 'Управление на групи';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6309,6 +6398,17 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'И двете';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Увеличете, за да видите онлайн мрежовата карта';
+100
View File
@@ -427,6 +427,10 @@ class AppLocalizationsDe extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Das Funkgerät hat diese Einstellungen nicht übernommen';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regionen';
@@ -1331,6 +1335,14 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get contacts_remove => 'Entfernen';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'In der Nähe entdeckt ($count)';
@@ -1504,6 +1516,23 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get channels_editChannel => 'Kanal bearbeiten';
@override
String get channels_notificationSettings => 'Benachrichtigungseinstellungen';
@override
String get channels_notifyAll => 'Alle Nachrichten';
@override
String get channels_notifyMentionsOnly => 'Nur Erwähnungen';
@override
String get channels_notifyNone => 'Stummgeschaltet';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Kanal stummschalten';
@@ -2438,6 +2467,27 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Pfadverfolgung abgebrochen.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline-Karten-Cache';
@@ -4796,6 +4846,14 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get notification_activityTitle => 'MeshCore Aktivität';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4837,6 +4895,25 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Neue Nachricht empfangen';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Antworten';
@@ -4939,6 +5016,13 @@ class AppLocalizationsDe extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Repeater, die Ihr Funkgerät direkt gehört hat, zuletzt gehört zuerst.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Kontakteinstellungen';
@@ -6239,6 +6323,11 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gruppen verwalten';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6322,6 +6411,17 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Beides';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Zoome hinein, um die Online-Netzwerkkarte zu sehen';
+100
View File
@@ -421,6 +421,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'The radio did not apply these settings';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regions';
@@ -1313,6 +1317,14 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get contacts_remove => 'Remove';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Discovered nearby ($count)';
@@ -1484,6 +1496,23 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get channels_editChannel => 'Edit channel';
@override
String get channels_notificationSettings => 'Notification settings';
@override
String get channels_notifyAll => 'All messages';
@override
String get channels_notifyMentionsOnly => 'Mentions only';
@override
String get channels_notifyNone => 'Muted';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Mute channel';
@@ -2402,6 +2431,27 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Path trace cancelled.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Map Cache';
@@ -4720,6 +4770,14 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get notification_activityTitle => 'MeshCore Activity';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4761,6 +4819,25 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Received new message';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Reply';
@@ -4862,6 +4939,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Repeaters your radio heard directly, most recently heard first.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Contacts settings';
@@ -6138,6 +6222,11 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get contacts_manageGroups => 'Manage groups';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6220,6 +6309,17 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Both';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint => 'Zoom in to see the online network map';
+100
View File
@@ -425,6 +425,10 @@ class AppLocalizationsEs extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'La radio no aplicó esta configuración';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regiones';
@@ -1328,6 +1332,14 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get contacts_remove => 'Eliminar';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Descubiertos cercanos ($count)';
@@ -1503,6 +1515,23 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get channels_editChannel => 'Editar canal';
@override
String get channels_notificationSettings => 'Configuración de notificaciones';
@override
String get channels_notifyAll => 'Todos los mensajes';
@override
String get channels_notifyMentionsOnly => 'Solo menciones';
@override
String get channels_notifyNone => 'Silenciado';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Silenciar canal';
@@ -2432,6 +2461,27 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Traza de ruta cancelada.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Caché de mapa sin conexión';
@@ -4787,6 +4837,14 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get notification_activityTitle => 'Actividad de MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4828,6 +4886,25 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Nuevo mensaje recibido';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Responder';
@@ -4930,6 +5007,13 @@ class AppLocalizationsEs extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Repetidores que tu radio ha oído directamente, del más reciente al más antiguo.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Configuración de contactos';
@@ -6227,6 +6311,11 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gestionar grupos';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6311,6 +6400,17 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Ambos';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Acerca el zoom para ver el mapa de la red en línea';
+100
View File
@@ -427,6 +427,10 @@ class AppLocalizationsFr extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'La radio n\'a pas appliqué ces paramètres';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Régions';
@@ -1334,6 +1338,14 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get contacts_remove => 'Supprimer';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Découverts à proximité ($count)';
@@ -1508,6 +1520,23 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get channels_editChannel => 'Modifier le canal';
@override
String get channels_notificationSettings => 'Paramètres des notifications';
@override
String get channels_notifyAll => 'Tous les messages';
@override
String get channels_notifyMentionsOnly => 'Mentions uniquement';
@override
String get channels_notifyNone => 'Désactivé';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Désactiver les notifications du canal';
@@ -2440,6 +2469,27 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Traçage de chemin annulé';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Cache de carte hors ligne';
@@ -4806,6 +4856,14 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get notification_activityTitle => 'Activité MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4847,6 +4905,25 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Nouveau message reçu';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Répondre';
@@ -4952,6 +5029,13 @@ class AppLocalizationsFr extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Les répéteurs entendus directement par votre radio, du plus récent au plus ancien.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Paramètres des contacts';
@@ -6252,6 +6336,11 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gérer les groupes';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID : $id…';
@@ -6337,6 +6426,17 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Les deux';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Zoomez pour voir la carte du réseau en ligne';
+100
View File
@@ -423,6 +423,10 @@ class AppLocalizationsHu extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'A rádió nem alkalmazta ezeket a beállításokat';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Tájak';
@@ -1324,6 +1328,14 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get contacts_remove => 'Eltávolítás';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Közelben felfedezve ($count)';
@@ -1499,6 +1511,23 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get channels_editChannel => 'Csatorna szerkesztése';
@override
String get channels_notificationSettings => 'Értesítési beállítások';
@override
String get channels_notifyAll => 'Összes üzenet';
@override
String get channels_notifyMentionsOnly => 'Csak említések';
@override
String get channels_notifyNone => 'Némít';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Csatorna némítása';
@@ -2429,6 +2458,27 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Útvonal nyomkövetés törölve.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline térképgyorsítótár';
@@ -4784,6 +4834,14 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get notification_activityTitle => 'MeshCore tevékenység';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4825,6 +4883,25 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Új üzenet érkezett';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Válasz';
@@ -4926,6 +5003,13 @@ class AppLocalizationsHu extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Azok az átjátszók, amelyeket a rádió közvetlenül hallott, a legutóbb hallottak elöl.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Névjegyek beállításai';
@@ -6215,6 +6299,11 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get contacts_manageGroups => 'Csoportok kezelése';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6299,6 +6388,17 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Mindkettő';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Nagyíts rá az online hálózati térkép megtekintéséhez';
+100
View File
@@ -427,6 +427,10 @@ class AppLocalizationsIt extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'La radio non ha applicato queste impostazioni';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regioni';
@@ -1333,6 +1337,14 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get contacts_remove => 'Rimuovi';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Scoperti nelle vicinanze ($count)';
@@ -1507,6 +1519,23 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get channels_editChannel => 'Modifica canale';
@override
String get channels_notificationSettings => 'Impostazioni notifiche';
@override
String get channels_notifyAll => 'Tutti i messaggi';
@override
String get channels_notifyMentionsOnly => 'Solo menzioni';
@override
String get channels_notifyNone => 'Silenziato';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Silenzia canale';
@@ -2438,6 +2467,27 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Tracciamento del percorso annullato.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Cache mappa offline';
@@ -4793,6 +4843,14 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get notification_activityTitle => 'Attività MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4834,6 +4892,25 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Nuovo messaggio ricevuto';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Rispondi';
@@ -4937,6 +5014,13 @@ class AppLocalizationsIt extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Ripetitori che la tua radio ha sentito direttamente, dal più recente al più vecchio.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Impostazioni dei contatti';
@@ -6234,6 +6318,11 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gestisci gruppi';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6318,6 +6407,17 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Entrambi';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Ingrandisci per vedere la mappa della rete online';
+100
View File
@@ -407,6 +407,10 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get settings_radioSettingsNotApplied => 'ラジオがこれらの設定を適用しませんでした';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => '地域';
@@ -1261,6 +1265,14 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get contacts_remove => '削除';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return '近くで発見された連絡先($count)';
@@ -1431,6 +1443,23 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get channels_editChannel => 'チャンネルを編集';
@override
String get channels_notificationSettings => '通知設定';
@override
String get channels_notifyAll => 'すべてのメッセージ';
@override
String get channels_notifyMentionsOnly => 'メンションのみ';
@override
String get channels_notifyNone => 'ミュート';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'チャンネルをミュート';
@@ -2334,6 +2363,27 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get map_pathTraceCancelled => '経路トレースはキャンセルされました';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'オフライン用地図キャッシュ';
@@ -4556,6 +4606,14 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get notification_activityTitle => 'メッシュコアの活動';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4597,6 +4655,25 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get notification_receivedNewMessage => '新しいメッセージを受信';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => '返信';
@@ -4693,6 +4770,13 @@ class AppLocalizationsJa extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'ラジオが直接受信したリピータ(最近受信した順)';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => '連絡先設定';
@@ -5936,6 +6020,11 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get contacts_manageGroups => 'グループを管理';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6018,6 +6107,17 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get networkMap_sourceBoth => '両方';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint => 'ズームインするとオンラインのネットワークマップが表示されます';
+100
View File
@@ -407,6 +407,10 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get settings_radioSettingsNotApplied => '라디오가 이 설정을 적용하지 않았습니다';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => '지역';
@@ -1266,6 +1270,14 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get contacts_remove => '제거';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return '주변에서 발견됨($count)';
@@ -1436,6 +1448,23 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get channels_editChannel => '채널 편집';
@override
String get channels_notificationSettings => '알림 설정';
@override
String get channels_notifyAll => '모든 메시지';
@override
String get channels_notifyMentionsOnly => '언급만';
@override
String get channels_notifyNone => '음소거';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => '음소거 채널';
@@ -2340,6 +2369,27 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get map_pathTraceCancelled => '경로 추적 기능이 취소되었습니다.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => '오프라인 지도 캐시';
@@ -4567,6 +4617,14 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get notification_activityTitle => '메쉬코어 활동';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4608,6 +4666,25 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get notification_receivedNewMessage => '새로운 메시지를 받았습니다';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => '답장';
@@ -4703,6 +4780,13 @@ class AppLocalizationsKo extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'이 라디오가 직접 들은 리피터입니다. 가장 최근에 들은 순으로 표시됩니다.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => '연락처 설정';
@@ -5946,6 +6030,11 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get contacts_manageGroups => '그룹 관리';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6028,6 +6117,17 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get networkMap_sourceBoth => '모두';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint => '온라인 네트워크 지도를 보려면 확대하세요';
+100
View File
@@ -423,6 +423,10 @@ class AppLocalizationsNl extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'De radio heeft deze instellingen niet toegepast';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regio\'s';
@@ -1323,6 +1327,14 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get contacts_remove => 'Verwijderen';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'In de buurt ontdekt ($count)';
@@ -1495,6 +1507,23 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get channels_editChannel => 'Kanaal bewerken';
@override
String get channels_notificationSettings => 'Meldingsinstellingen';
@override
String get channels_notifyAll => 'Alle berichten';
@override
String get channels_notifyMentionsOnly => 'Alleen vermeldingen';
@override
String get channels_notifyNone => 'Gedempt';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Kanaal dempen';
@@ -2421,6 +2450,27 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Pad traceren geannuleerd';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Kaarten Cache';
@@ -4762,6 +4812,14 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get notification_activityTitle => 'MeshCore Activiteit';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4803,6 +4861,25 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Nieuw bericht ontvangen';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Reageren';
@@ -4904,6 +4981,13 @@ class AppLocalizationsNl extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Repeaters die je radio rechtstreeks heeft gehoord, meest recent gehoord eerst.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Instellingen voor contacten';
@@ -6194,6 +6278,11 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get contacts_manageGroups => 'Groepen beheren';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6276,6 +6365,17 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Beide';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Zoom in om de online netwerkkaart te zien';
+100
View File
@@ -431,6 +431,10 @@ class AppLocalizationsPl extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Radio nie zastosowało tych ustawień';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regiony';
@@ -1347,6 +1351,14 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get contacts_remove => 'Usuń';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Odkryte w pobliżu ($count)';
@@ -1521,6 +1533,23 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get channels_editChannel => 'Edytuj kanał';
@override
String get channels_notificationSettings => 'Ustawienia powiadomień';
@override
String get channels_notifyAll => 'Wszystkie wiadomości';
@override
String get channels_notifyMentionsOnly => 'Tylko wzmianki';
@override
String get channels_notifyNone => 'Wyciszone';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Wycisz kanał';
@@ -2457,6 +2486,27 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Śledzenie ścieżki anulowano.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Pamięć podręczna map offline';
@@ -4813,6 +4863,14 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get notification_activityTitle => 'Aktywność MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4860,6 +4918,25 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Otrzymano nową wiadomość';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Odpowiedz';
@@ -4962,6 +5039,13 @@ class AppLocalizationsPl extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Przekaźniki usłyszane bezpośrednio przez Twoje radio, najpierw te ostatnio usłyszane.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Ustawienia kontaktów';
@@ -6258,6 +6342,11 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get contacts_manageGroups => 'Zarządzaj grupami';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6342,6 +6431,17 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Obie';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Przybliż, aby zobaczyć mapę sieci online';
+100
View File
@@ -427,6 +427,10 @@ class AppLocalizationsPt extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'O rádio não aplicou estas configurações';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regiões';
@@ -1332,6 +1336,14 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get contacts_remove => 'Remover';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Descobertos nas proximidades ($count)';
@@ -1506,6 +1518,23 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get channels_editChannel => 'Editar canal';
@override
String get channels_notificationSettings => 'Configurações de notificação';
@override
String get channels_notifyAll => 'Todas as mensagens';
@override
String get channels_notifyMentionsOnly => 'Apenas menções';
@override
String get channels_notifyNone => 'Silenciado';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Silenciar canal';
@@ -2436,6 +2465,27 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Rastreamento de caminho cancelado.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Cache de Mapa Offline';
@@ -4789,6 +4839,14 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get notification_activityTitle => 'Atividade MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4830,6 +4888,25 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Nova mensagem recebida';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Responder';
@@ -4931,6 +5008,13 @@ class AppLocalizationsPt extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Repetidores que o seu rádio ouviu diretamente, do mais recente para o mais antigo.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Configurações de contatos';
@@ -6223,6 +6307,11 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gerenciar grupos';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6306,6 +6395,17 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Ambos';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Aproxime o zoom para ver o mapa da rede online';
+100
View File
@@ -426,6 +426,10 @@ class AppLocalizationsRu extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Радиомодуль не применил эти настройки';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Регионы';
@@ -1336,6 +1340,14 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get contacts_remove => 'Убрать';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Обнаружены поблизости ($count)';
@@ -1510,6 +1522,23 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get channels_editChannel => 'Изменить канал';
@override
String get channels_notificationSettings => 'Настройки уведомлений';
@override
String get channels_notifyAll => 'Все сообщения';
@override
String get channels_notifyMentionsOnly => 'Только упоминания';
@override
String get channels_notifyNone => 'Без звука';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Отключить уведомления канала';
@@ -2442,6 +2471,27 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Отмена трассировки пути';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Кэш офлайн-карты';
@@ -4797,6 +4847,14 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get notification_activityTitle => 'Активность MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4844,6 +4902,25 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Получено новое сообщение';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Ответить';
@@ -4945,6 +5022,13 @@ class AppLocalizationsRu extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Ретрансляторы, услышанные вашим радио напрямую, сначала самые недавние.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Настройки контактов';
@@ -6244,6 +6328,11 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get contacts_manageGroups => 'Управление группами';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6329,6 +6418,17 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Обе';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Приблизьте, чтобы увидеть онлайн-карту сети';
+100
View File
@@ -426,6 +426,10 @@ class AppLocalizationsSk extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Rádio tieto nastavenia neuplatnilo';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regiony';
@@ -1323,6 +1327,14 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get contacts_remove => 'Odstrániť';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Objavené v blízkosti ($count)';
@@ -1498,6 +1510,23 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get channels_editChannel => 'Upraviť kanál';
@override
String get channels_notificationSettings => 'Nastavenia notifikácií';
@override
String get channels_notifyAll => 'Všetky správy';
@override
String get channels_notifyMentionsOnly => 'Iba zmienky';
@override
String get channels_notifyNone => 'Stíšené';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Stlmiť kanál';
@@ -2429,6 +2458,27 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Zrušenie stopáže cesty bolo zrušené.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Mapa Pamäť';
@@ -4770,6 +4820,14 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get notification_activityTitle => 'Aktivita MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4814,6 +4872,25 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Prijatá nová správa';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Odpovedať';
@@ -4915,6 +4992,13 @@ class AppLocalizationsSk extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Opakovače, ktoré vaše rádio počulo priamo, najskôr tie naposledy počuté.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Nastavenia kontaktov';
@@ -6206,6 +6290,11 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get contacts_manageGroups => 'Spravovať skupiny';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6289,6 +6378,17 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Obe';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Priblížte, aby ste videli online sieťovú mapu';
+100
View File
@@ -425,6 +425,10 @@ class AppLocalizationsSl extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Radio teh nastavitev ni uveljavil';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regioni';
@@ -1323,6 +1327,14 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get contacts_remove => 'Odstrani';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Odkriti v bližini ($count)';
@@ -1496,6 +1508,23 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get channels_editChannel => 'Uredi kanal';
@override
String get channels_notificationSettings => 'Nastavitve obvestil';
@override
String get channels_notifyAll => 'Vsa sporočila';
@override
String get channels_notifyMentionsOnly => 'Samo omembe';
@override
String get channels_notifyNone => 'Utišano';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Utišaj kanal';
@@ -2422,6 +2451,27 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Spremljanje poti je prekinjeno.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title =>
'Omrezni predpomnilnik zemljeških zemljejevskih slik';
@@ -4768,6 +4818,14 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get notification_activityTitle => 'Aktivnost MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4815,6 +4873,25 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Prejeto novo sporočilo';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Odgovori';
@@ -4916,6 +4993,13 @@ class AppLocalizationsSl extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Ponovitelji, ki jih je vaše radio slišalo neposredno, najprej nazadnje slišani.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Nastavitve stikov';
@@ -6208,6 +6292,11 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get contacts_manageGroups => 'Upravljaj skupine';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6291,6 +6380,17 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Oboje';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Povečajte, da vidite spletni omrežni zemljevid';
+100
View File
@@ -423,6 +423,10 @@ class AppLocalizationsSv extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Radion tillämpade inte dessa inställningar';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Regioner';
@@ -1313,6 +1317,14 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get contacts_remove => 'Ta bort';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Upptäckt i närheten ($count)';
@@ -1485,6 +1497,23 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get channels_editChannel => 'Redigera kanal';
@override
String get channels_notificationSettings => 'Aviseringsinställningar';
@override
String get channels_notifyAll => 'Alla meddelanden';
@override
String get channels_notifyMentionsOnly => 'Endast omnämnanden';
@override
String get channels_notifyNone => 'Tyst';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Tysta kanal';
@@ -2411,6 +2440,27 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Ruttspårningen avbröts.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Kartcache';
@@ -4744,6 +4794,14 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get notification_activityTitle => 'MeshCore Aktivitet';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4785,6 +4843,25 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Nytt meddelande mottaget';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Svara';
@@ -4888,6 +4965,13 @@ class AppLocalizationsSv extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Repeatrar som din radio hörde direkt, senast hörda först.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Kontaktinställningar';
@@ -6174,6 +6258,11 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get contacts_manageGroups => 'Hantera grupper';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6256,6 +6345,17 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Båda';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Zooma in för att se nätverkskartan online';
+100
View File
@@ -425,6 +425,10 @@ class AppLocalizationsUk extends AppLocalizations {
String get settings_radioSettingsNotApplied =>
'Радіомодуль не застосував ці налаштування';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => 'Ріси';
@@ -1327,6 +1331,14 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get contacts_remove => 'Прибрати';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return 'Виявлені поблизу ($count)';
@@ -1501,6 +1513,23 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get channels_editChannel => 'Редагувати канал';
@override
String get channels_notificationSettings => 'Налаштування сповіщень';
@override
String get channels_notifyAll => 'Усі повідомлення';
@override
String get channels_notifyMentionsOnly => 'Лише згадки';
@override
String get channels_notifyNone => 'Вимкнено';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => 'Вимкнути сповіщення каналу';
@@ -2432,6 +2461,27 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Трасування шляху скасовано.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Офлайн-кеш карти';
@@ -4796,6 +4846,14 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get notification_activityTitle => 'Активність MeshCore';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
@@ -4843,6 +4901,25 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get notification_receivedNewMessage => 'Отримано нове повідомлення';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => 'Відповісти';
@@ -4944,6 +5021,13 @@ class AppLocalizationsUk extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'Ретранслятори, почуті вашим радіо безпосередньо, спочатку найновіші.';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => 'Налаштування контактів';
@@ -6246,6 +6330,11 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get contacts_manageGroups => 'Керування групами';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
@@ -6330,6 +6419,17 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get networkMap_sourceBoth => 'Обидві';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint =>
'Наблизьте, щоб побачити онлайн-карту мережі';
+100
View File
@@ -401,6 +401,10 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get settings_radioSettingsNotApplied => '收音机未应用这些设置';
@override
String get settings_pathHashModeNotApplied =>
'Radio settings were applied, but the radio did not confirm the new path hash size';
@override
String get settings_regionSettings => '地区';
@@ -1243,6 +1247,14 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get contacts_remove => '移除';
@override
String get contacts_removeAutoAddNote =>
'Your radio auto-adds this contact type, so it will come back the next time it advertises. Turn off auto-add in Contacts settings to keep it removed.';
@override
String get contacts_removeFailed =>
'The radio did not confirm the removal. The contact was not removed.';
@override
String contacts_discoveredNearby(int count) {
return '附近发现的($count)';
@@ -1413,6 +1425,23 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get channels_editChannel => '编辑频道';
@override
String get channels_notificationSettings => '通知设置';
@override
String get channels_notifyAll => '所有消息';
@override
String get channels_notifyMentionsOnly => '仅提及';
@override
String get channels_notifyNone => '静音';
@override
String channels_notificationModeTooltip(String mode) {
return 'Notifications: $mode';
}
@override
String get channels_muteChannel => '静音频道';
@@ -2305,6 +2334,27 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get map_pathTraceCancelled => '路径追踪已取消';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => '离线地图缓存';
@@ -4464,6 +4514,14 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get notification_activityTitle => 'MeshCore 活动';
@override
String get notification_lowBatteryTitle => 'Low battery';
@override
String notification_lowBatteryBody(String deviceName, int percent) {
return '$deviceName battery is at $percent%';
}
@override
String notification_messagesCount(int count) {
return '$count 条消息';
@@ -4487,6 +4545,25 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get notification_receivedNewMessage => '收到新消息';
@override
String get notification_sharedLocation => 'Shared a location';
@override
String notification_sharedLocationNamed(String label) {
return 'Shared a location: $label';
}
@override
String notification_reacted(String emoji) {
return 'Reacted $emoji';
}
@override
String get notification_sentGif => 'Sent a GIF';
@override
String get notification_sentImage => 'Sent an image';
@override
String get notification_actionReply => '回复';
@@ -4578,6 +4655,13 @@ class AppLocalizationsZh extends AppLocalizations {
String get snrIndicator_nearByRepeatersDescription =>
'你的无线电直接听到的中继器,最近听到的排在前面。';
@override
String get snrIndicator_unknownRepeater => 'Unknown repeater';
@override
String get snrIndicator_unknownRepeaterHint =>
'This repeater isn\'t in your contacts yet. Its name, location and options appear once your radio receives its advert.';
@override
String get contactsSettings_title => '联系人设置';
@@ -5802,6 +5886,11 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get contacts_manageGroups => '管理分组';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID:$id…';
@@ -5883,6 +5972,17 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get networkMap_sourceBoth => '两者';
@override
String get networkMap_sourceLocalHint => 'Nodes your radio has heard';
@override
String get networkMap_sourceOnlineHint =>
'Repeaters from the online network map';
@override
String get networkMap_sourceBothHint =>
'Your radio\'s nodes plus the online network map';
@override
String get networkMap_zoomInHint => '放大以查看在线网络地图';
+4
View File
@@ -375,6 +375,10 @@
"channels_addSectionCreate": "Nieuw aanmaken",
"channels_dragToReorder": "Sleep om te herschikken",
"channels_editChannel": "Kanaal bewerken",
"channels_notificationSettings": "Meldingsinstellingen",
"channels_notifyAll": "Alle berichten",
"channels_notifyMentionsOnly": "Alleen vermeldingen",
"channels_notifyNone": "Gedempt",
"channels_muteChannel": "Kanaal dempen",
"channels_unmuteChannel": "Kanaal dempen opheffen",
"channels_deleteChannel": "Kanaal verwijderen",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Publiczny",
"channels_private": "Prywatny",
"channels_editChannel": "Edytuj kanał",
"channels_notificationSettings": "Ustawienia powiadomień",
"channels_notifyAll": "Wszystkie wiadomości",
"channels_notifyMentionsOnly": "Tylko wzmianki",
"channels_notifyNone": "Wyciszone",
"channels_muteChannel": "Wycisz kanał",
"channels_unmuteChannel": "Wyłącz wyciszenie kanału",
"channels_deleteChannel": "Usuń kanał",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Público",
"channels_private": "Privado",
"channels_editChannel": "Editar canal",
"channels_notificationSettings": "Configurações de notificação",
"channels_notifyAll": "Todas as mensagens",
"channels_notifyMentionsOnly": "Apenas menções",
"channels_notifyNone": "Silenciado",
"channels_muteChannel": "Silenciar canal",
"channels_unmuteChannel": "Ativar canal",
"channels_deleteChannel": "Excluir canal",
+4
View File
@@ -251,6 +251,10 @@
"channels_public": "Публичный",
"channels_private": "Приватный",
"channels_editChannel": "Изменить канал",
"channels_notificationSettings": "Настройки уведомлений",
"channels_notifyAll": "Все сообщения",
"channels_notifyMentionsOnly": "Только упоминания",
"channels_notifyNone": "Без звука",
"channels_muteChannel": "Отключить уведомления канала",
"channels_unmuteChannel": "Включить уведомления канала",
"channels_deleteChannel": "Удалить канал",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Veľké verejné",
"channels_private": "Osobné",
"channels_editChannel": "Upraviť kanál",
"channels_notificationSettings": "Nastavenia notifikácií",
"channels_notifyAll": "Všetky správy",
"channels_notifyMentionsOnly": "Iba zmienky",
"channels_notifyNone": "Stíšené",
"channels_muteChannel": "Stlmiť kanál",
"channels_unmuteChannel": "Zrušiť stlmenie kanála",
"channels_deleteChannel": "Odstrániť kanál",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Javni",
"channels_private": "Zasebni",
"channels_editChannel": "Uredi kanal",
"channels_notificationSettings": "Nastavitve obvestil",
"channels_notifyAll": "Vsa sporočila",
"channels_notifyMentionsOnly": "Samo omembe",
"channels_notifyNone": "Utišano",
"channels_muteChannel": "Utišaj kanal",
"channels_unmuteChannel": "Vklopi obvestila kanala",
"channels_deleteChannel": "Pošlji kanal",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Publik",
"channels_private": "Privat",
"channels_editChannel": "Redigera kanal",
"channels_notificationSettings": "Aviseringsinställningar",
"channels_notifyAll": "Alla meddelanden",
"channels_notifyMentionsOnly": "Endast omnämnanden",
"channels_notifyNone": "Tyst",
"channels_muteChannel": "Tysta kanal",
"channels_unmuteChannel": "Slå på ljud för kanal",
"channels_deleteChannel": "Ta bort kanal",
+4
View File
@@ -362,6 +362,10 @@
"channels_via": "через {path}",
"channels_private": "Приватний",
"channels_editChannel": "Редагувати канал",
"channels_notificationSettings": "Налаштування сповіщень",
"channels_notifyAll": "Усі повідомлення",
"channels_notifyMentionsOnly": "Лише згадки",
"channels_notifyNone": "Вимкнено",
"channels_muteChannel": "Вимкнути сповіщення каналу",
"channels_unmuteChannel": "Увімкнути сповіщення каналу",
"channels_deleteChannel": "Видалити канал",
+4
View File
@@ -374,6 +374,10 @@
"channels_public": "公共",
"channels_private": "私有",
"channels_editChannel": "编辑频道",
"channels_notificationSettings": "通知设置",
"channels_notifyAll": "所有消息",
"channels_notifyMentionsOnly": "仅提及",
"channels_notifyNone": "静音",
"channels_muteChannel": "静音频道",
"channels_unmuteChannel": "取消静音频道",
"channels_deleteChannel": "删除频道",
+46 -11
View File
@@ -29,6 +29,8 @@ String migratePublicIpfsGateway(String? value) {
return gateway;
}
enum ChannelNotificationMode { all, mentionsOnly, muted }
extension UnitSystemValue on UnitSystem {
String get value {
switch (this) {
@@ -150,7 +152,7 @@ class AppSettings {
final Map<String, String> batteryChemistryByDeviceId;
final Map<String, String> batteryChemistryByRepeaterId;
final UnitSystem unitSystem;
final Set<String> mutedChannels;
final Map<String, ChannelNotificationMode> channelNotificationModes;
final bool mapShowDiscoveryContacts;
final bool evictDiscoveredContactsEnabled;
final String tcpServerAddress;
@@ -273,7 +275,7 @@ class AppSettings {
Map<String, String>? batteryChemistryByDeviceId,
Map<String, String>? batteryChemistryByRepeaterId,
this.unitSystem = UnitSystem.metric,
Set<String>? mutedChannels,
Map<String, ChannelNotificationMode>? channelNotificationModes,
this.mapShowDiscoveryContacts = true,
this.evictDiscoveredContactsEnabled = true,
this.tcpServerAddress = '',
@@ -303,7 +305,7 @@ class AppSettings {
String? selectedCyr2latProfileId,
}) : batteryChemistryByDeviceId = batteryChemistryByDeviceId ?? {},
batteryChemistryByRepeaterId = batteryChemistryByRepeaterId ?? {},
mutedChannels = mutedChannels ?? {},
channelNotificationModes = channelNotificationModes ?? {},
imageCodecDownloadedModels = imageCodecDownloadedModels ?? const [],
translationDownloadedModels = translationDownloadedModels ?? const [],
cyr2latProfiles =
@@ -361,7 +363,14 @@ class AppSettings {
'battery_chemistry_by_device_id': batteryChemistryByDeviceId,
'battery_chemistry_by_repeater_id': batteryChemistryByRepeaterId,
'unit_system': unitSystem.value,
'muted_channels': mutedChannels.toList(),
// Written for older builds that only read the muted set.
'muted_channels': [
for (final entry in channelNotificationModes.entries)
if (entry.value == ChannelNotificationMode.muted) entry.key,
],
'channel_notification_modes': channelNotificationModes.map(
(key, value) => MapEntry(key, value.name),
),
'map_show_discovery_contacts': mapShowDiscoveryContacts,
'evict_discovered_contacts_enabled': evictDiscoveredContactsEnabled,
'tcp_server_address': tcpServerAddress,
@@ -406,6 +415,35 @@ class AppSettings {
return UnitSystem.metric;
}
Map<String, ChannelNotificationMode> parseChannelNotificationModes(
Map<String, dynamic> json,
) {
// Migration from old muted_channels (Set<String>) to new system
final mutedList = json['muted_channels'] as List?;
final newModes = json['channel_notification_modes'] as Map?;
final result = <String, ChannelNotificationMode>{};
// Migrate old muted channels
if (mutedList != null) {
for (final channelName in mutedList) {
result[channelName.toString()] = ChannelNotificationMode.muted;
}
}
// Load new modes (overrides old muted channels if present)
if (newModes != null) {
for (final entry in newModes.entries) {
final value = entry.value;
if (value is! String) continue;
final mode = ChannelNotificationMode.values.asNameMap()[value];
if (mode != null) result[entry.key.toString()] = mode;
}
}
return result;
}
return AppSettings(
clearPathOnMaxRetry: json['clear_path_on_max_retry'] as bool? ?? false,
mapShowRepeaters: json['map_show_repeaters'] as bool? ?? true,
@@ -468,11 +506,7 @@ class AppSettings {
) ??
{},
unitSystem: parseUnitSystem(json['unit_system']),
mutedChannels:
((json['muted_channels'] as List?)
?.map((e) => e.toString())
.toSet()) ??
{},
channelNotificationModes: parseChannelNotificationModes(json),
mapShowDiscoveryContacts:
json['map_show_discovery_contacts'] as bool? ?? true,
evictDiscoveredContactsEnabled:
@@ -603,7 +637,7 @@ class AppSettings {
Map<String, String>? batteryChemistryByDeviceId,
Map<String, String>? batteryChemistryByRepeaterId,
UnitSystem? unitSystem,
Set<String>? mutedChannels,
Map<String, ChannelNotificationMode>? channelNotificationModes,
bool? mapShowDiscoveryContacts,
bool? evictDiscoveredContactsEnabled,
String? tcpServerAddress,
@@ -692,7 +726,8 @@ class AppSettings {
batteryChemistryByRepeaterId:
batteryChemistryByRepeaterId ?? this.batteryChemistryByRepeaterId,
unitSystem: unitSystem ?? this.unitSystem,
mutedChannels: mutedChannels ?? this.mutedChannels,
channelNotificationModes:
channelNotificationModes ?? this.channelNotificationModes,
mapShowDiscoveryContacts:
mapShowDiscoveryContacts ?? this.mapShowDiscoveryContacts,
evictDiscoveredContactsEnabled:
+11
View File
@@ -43,6 +43,17 @@ class Contact {
String get publicKeyHex => pubKeyToHex(publicKey);
/// Uppercase hex of the first [byteWidth] public-key bytes: the hash this
/// node appears as in routing paths.
String publicKeyPrefixHex(int byteWidth) {
final width = byteWidth.clamp(1, 3).toInt();
return publicKey
.take(width)
.map((b) => b.toRadixString(16).padLeft(2, '0'))
.join()
.toUpperCase();
}
/// Non-localized type label, intended for logs and non-UI exports
/// (e.g. GPX). For UI use the `typeLabel(l10n)` extension in
/// `lib/l10n/contact_localization.dart`.
+31
View File
@@ -0,0 +1,31 @@
import 'package:flutter/foundation.dart';
import 'package:latlong2/latlong.dart';
import 'contact.dart';
/// The map's path-trace builder state: the hops picked so far, the trace
/// mode and the last result. Held by [UiViewStateService] for the app session
/// so leaving the map or opening the result doesn't discard it.
class MapPathTraceDraft {
bool active = false;
Uint8List? radioKey;
final List<int> pathBytes = [];
final List<int> hopWidths = [];
final List<Contact> contacts = [];
final List<LatLng> points = [];
bool returnPath = true;
Uint8List? lastResultFrame;
bool get hasHops => pathBytes.isNotEmpty;
bool belongsTo(Uint8List? selfKey) =>
radioKey == null || selfKey == null || listEquals(radioKey, selfKey);
void clear() {
pathBytes.clear();
hopWidths.clear();
contacts.clear();
points.clear();
lastResultFrame = null;
}
}
+32 -18
View File
@@ -1,13 +1,17 @@
import '../services/app_settings_service.dart';
import 'dart:convert';
import '../services/app_settings_service.dart'
show AppSettingsService, ChannelNotificationMode;
import '../services/storage_service.dart';
import '../services/timeout_prediction_service.dart';
import '../storage/legacy_key_migration.dart';
import '../storage/prefs_manager.dart';
import 'review_radio.dart';
/// Muted channel names as they were when review mode started. Persisted so an
/// interrupted session (crash, app killed) is still undone on the next launch.
const _savedMutedChannelsKey = 'review_mode_saved_muted_channels';
/// Channel notification modes (JSON map of channel name to mode name) as they
/// were when review mode started. Persisted so an interrupted session (crash,
/// app killed) is still undone on the next launch.
const _savedChannelModesKey = 'review_mode_saved_channel_modes';
/// Prefix for snapshots of app-wide repeater keys (saved passwords, clock sync
/// toggles) taken when review mode starts. An empty snapshot means the key did
@@ -31,10 +35,11 @@ Future<void> clearReviewModeData() async {
/// Starts a review session from a clean slate.
///
/// The simulated radio's scope never adopts legacy unscoped keys, so real
/// radio data cannot be pulled into it. Channel mutes are app-wide and keyed
/// by channel name (muting the simulated "Public" would mute the real one),
/// so the current mutes are saved for [endReviewModeSession] to put back, as
/// are the app-wide repeater keys. Delivery timing is not recorded meanwhile.
/// radio data cannot be pulled into it. Channel notification modes are
/// app-wide and keyed by channel name (muting the simulated "Public" would
/// mute the real one), so the current modes are saved for
/// [endReviewModeSession] to put back, as are the app-wide repeater keys.
/// Delivery timing is not recorded meanwhile.
Future<void> beginReviewModeSession(AppSettingsService? settings) async {
scopesWithoutLegacyMigration.add(ReviewRadio.storagePrefix);
TimeoutPredictionService.recordingSuspended = true;
@@ -47,16 +52,16 @@ Future<void> beginReviewModeSession(AppSettingsService? settings) async {
await prefs.setString(savedKey, prefs.getString(key) ?? '');
}
// An earlier interrupted session's record holds the real pre-review state.
if (settings != null && !prefs.containsKey(_savedMutedChannelsKey)) {
await prefs.setStringList(
_savedMutedChannelsKey,
settings.settings.mutedChannels.toList(),
if (settings != null && !prefs.containsKey(_savedChannelModesKey)) {
final modes = settings.settings.channelNotificationModes.map(
(channel, mode) => MapEntry(channel, mode.name),
);
await prefs.setString(_savedChannelModesKey, jsonEncode(modes));
}
}
/// Deletes the review session's data and restores the channel mutes and
/// repeater keys saved by [beginReviewModeSession]. Also called at startup to finish a session that
/// Deletes the review session's data and restores the channel notification
/// modes and repeater keys saved by [beginReviewModeSession]. Also called at startup to finish a session that
/// was interrupted; it does nothing when no session was left behind.
Future<void> endReviewModeSession(AppSettingsService? settings) async {
TimeoutPredictionService.recordingSuspended = false;
@@ -73,10 +78,19 @@ Future<void> endReviewModeSession(AppSettingsService? settings) async {
}
await prefs.remove(savedKey);
}
final savedMutes = prefs.getStringList(_savedMutedChannelsKey);
if (savedMutes == null || settings == null) return;
final savedModes = prefs.getString(_savedChannelModesKey);
if (savedModes == null || settings == null) return;
final restored = <String, ChannelNotificationMode>{};
final decoded = jsonDecode(savedModes);
if (decoded is Map) {
final byName = ChannelNotificationMode.values.asNameMap();
for (final entry in decoded.entries) {
final mode = byName[entry.value];
if (mode != null) restored[entry.key.toString()] = mode;
}
}
await settings.updateSettings(
settings.settings.copyWith(mutedChannels: savedMutes.toSet()),
settings.settings.copyWith(channelNotificationModes: restored),
);
await prefs.remove(_savedMutedChannelsKey);
await prefs.remove(_savedChannelModesKey);
}
+20 -15
View File
@@ -20,6 +20,7 @@ import '../connector/meshcore_protocol.dart';
import '../helpers/cyr2lat.dart';
import '../helpers/gif_helper.dart';
import '../helpers/ipfs_upload_helper.dart';
import '../helpers/marker_message.dart';
import '../helpers/message_url_image_helper.dart';
import '../helpers/path_helper.dart';
import '../helpers/reaction_helper.dart';
@@ -28,7 +29,8 @@ import '../l10n/l10n.dart';
import '../models/channel.dart';
import '../models/channel_message.dart';
import '../models/image_codec_support.dart' show aeicRatePointForUi;
import '../services/app_settings_service.dart';
import '../services/app_settings_service.dart'
show AppSettingsService, ChannelNotificationMode;
import '../services/chat_text_scale_service.dart';
import '../services/image_chunk_transport.dart';
import '../services/image_codec_service.dart';
@@ -38,6 +40,7 @@ import '../utils/image_save.dart';
import '../utils/lora_airtime.dart';
import '../widgets/marker_label_dialog.dart';
import '../widgets/received_image_message.dart';
import '../widgets/channel_notification_mode_sheet.dart';
import '../widgets/chat_day_separator.dart';
import '../widgets/empty_state.dart';
import '../widgets/chat_composer.dart';
@@ -404,19 +407,22 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
Consumer<AppSettingsService>(
builder: (context, settings, _) {
final muteKey = widget.channel.muteKey;
final muted = settings.isChannelMuted(muteKey);
final notificationMode = settings.getChannelNotificationMode(
muteKey,
);
return IconButton(
tooltip: muted
? context.l10n.channels_unmuteChannel
: context.l10n.channels_muteChannel,
icon: Icon(
muted
? Icons.notifications_off_outlined
: Icons.notifications_outlined,
tooltip: context.l10n.channels_notificationModeTooltip(
channelNotificationModeLabel(context, notificationMode),
),
onPressed: () => muted
? settings.unmuteChannel(muteKey)
: settings.muteChannel(muteKey),
icon: Icon(
notificationMode == ChannelNotificationMode.muted
? Icons.notifications_off
: notificationMode == ChannelNotificationMode.mentionsOnly
? Icons.notification_important
: Icons.notifications,
),
onPressed: () =>
showChannelNotificationModeSheet(context, muteKey),
);
},
),
@@ -2427,9 +2433,8 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
}
void _showEmojiPicker(ChannelMessage message) {
showModalBottomSheet(
context: context,
isScrollControlled: true,
showMeshSheet(
context,
builder: (context) => EmojiPicker(
onEmojiSelected: (emoji) {
_sendReaction(message, emoji);
@@ -24,6 +24,7 @@ import '../widgets/adaptive_app_bar_title.dart';
import '../widgets/mesh_ui.dart';
import '../widgets/path_map_scaffold.dart';
import '../widgets/path_map_ui.dart';
import '../widgets/set_my_location_dialog.dart';
class ChannelMessagePathScreen extends StatelessWidget {
final ChannelMessage message;
@@ -911,6 +912,10 @@ class _ChannelMessagePathMapScreenState
initialCenter: model.initialCenter,
initialZoom: model.initialZoom,
bounds: model.bounds,
onLongPress: (_, point) =>
confirmAndSetMyLocation(context, connector, point),
onSecondaryTap: (_, point) =>
confirmAndSetMyLocation(context, connector, point),
onPositionChanged: (camera, hasGesture) {
if (!mounted) return;
// A manual pan/zoom releases the follow lock.
+18 -22
View File
@@ -10,7 +10,8 @@ import 'package:uuid/uuid.dart';
import '../connector/meshcore_connector.dart';
import '../l10n/l10n.dart';
import '../services/app_settings_service.dart';
import '../services/app_settings_service.dart'
show AppSettingsService, ChannelNotificationMode;
import '../services/ui_view_state_service.dart';
import '../models/channel.dart';
import '../models/community.dart';
@@ -19,6 +20,7 @@ import '../theme/mesh_theme.dart';
import '../utils/dialog_utils.dart';
import '../utils/disconnect_navigation_mixin.dart';
import '../utils/route_transitions.dart';
import '../widgets/channel_notification_mode_sheet.dart';
import '../widgets/list_filter_widget.dart';
import '../widgets/empty_state.dart';
import '../widgets/mesh_ui.dart';
@@ -372,9 +374,9 @@ class _ChannelsScreenState extends State<ChannelsScreen>
int listIndex = 0,
}) {
final unreadCount = connector.getUnreadCountForChannel(channel);
final isMuted = context.watch<AppSettingsService>().isChannelMuted(
channel.muteKey,
);
final notificationMode = context
.watch<AppSettingsService>()
.getChannelNotificationMode(channel.muteKey);
final scheme = Theme.of(context).colorScheme;
// Determine icon and colors based on channel type
@@ -580,9 +582,9 @@ class _ChannelsScreenState extends State<ChannelsScreen>
Row(
mainAxisSize: MainAxisSize.min,
children: [
if (isMuted) ...[
if (notificationMode != ChannelNotificationMode.all) ...[
Icon(
Icons.notifications_off,
channelNotificationModeIcon(notificationMode),
size: 18,
color: scheme.onSurfaceVariant,
),
@@ -625,8 +627,6 @@ class _ChannelsScreenState extends State<ChannelsScreen>
Channel channel,
) {
final parentContext = context;
final settingsService = context.read<AppSettingsService>();
final isMuted = settingsService.isChannelMuted(channel.muteKey);
showMeshSheet(
parentContext,
@@ -645,23 +645,19 @@ class _ChannelsScreenState extends State<ChannelsScreen>
}
},
),
// Notification mode selection
ListTile(
leading: Icon(
isMuted
? Icons.notifications_outlined
: Icons.notifications_off_outlined,
),
title: Text(
isMuted
? sheetContext.l10n.channels_unmuteChannel
: sheetContext.l10n.channels_muteChannel,
),
leading: const Icon(Icons.notifications_outlined),
title: Text(sheetContext.l10n.channels_notificationSettings),
trailing: const Icon(Icons.chevron_right),
onTap: () async {
Navigator.pop(sheetContext);
if (isMuted) {
await settingsService.unmuteChannel(channel.muteKey);
} else {
await settingsService.muteChannel(channel.muteKey);
await Future.delayed(const Duration(milliseconds: 100));
if (parentContext.mounted) {
showChannelNotificationModeSheet(
parentContext,
channel.muteKey,
);
}
},
),
+3 -3
View File
@@ -22,6 +22,7 @@ import '../widgets/empty_state.dart';
import '../helpers/chat_scroll_controller.dart';
import '../helpers/gif_helper.dart';
import '../helpers/ipfs_upload_helper.dart';
import '../helpers/marker_message.dart';
import '../models/channel_message.dart';
import '../models/contact.dart';
import '../l10n/contact_localization.dart';
@@ -1282,9 +1283,8 @@ class _ChatScreenState extends State<ChatScreen> {
}
void _showEmojiPicker(Message message, Contact senderContact) {
showModalBottomSheet(
context: context,
isScrollControlled: true,
showMeshSheet(
context,
builder: (context) => EmojiPicker(
onEmojiSelected: (emoji) {
_sendReaction(message, senderContact, emoji);
+69 -3
View File
@@ -1758,6 +1758,16 @@ class _ContactsScreenState extends State<ContactsScreen>
Text(
context.l10n.contacts_removeFromContactsConfirm(contact.name),
),
if (connector.autoAddsContactType(contact.type)) ...[
const SizedBox(height: 12),
Text(
context.l10n.contacts_removeAutoAddNote,
style: TextStyle(
color: Theme.of(dialogContext).colorScheme.error,
fontWeight: FontWeight.w600,
),
),
],
CheckboxListTile(
contentPadding: EdgeInsets.zero,
controlAffinity: ListTileControlAffinity.leading,
@@ -1774,9 +1784,24 @@ class _ContactsScreenState extends State<ContactsScreen>
child: Text(context.l10n.common_cancel),
),
TextButton(
onPressed: () {
onPressed: () async {
Navigator.pop(dialogContext);
connector.removeContact(contact, keepMessages: keepHistory);
try {
await connector.removeContact(
contact,
keepMessages: keepHistory,
);
} catch (e) {
appLogger.warn(
'Remove contact failed: $e',
tag: 'ContactsScreen',
);
if (!context.mounted) return;
showDismissibleSnackBar(
context,
content: Text(context.l10n.contacts_removeFailed),
);
}
},
child: Text(
context.l10n.contacts_remove,
@@ -1884,9 +1909,13 @@ class _ContactTile extends StatelessWidget {
],
),
const SizedBox(height: 3),
// Path / subtitle row
// Key prefix + path / subtitle row
Row(
children: [
_KeyPrefixBadge(
prefix: contact.publicKeyPrefixHex(pathHashByteWidth),
),
const SizedBox(width: 8),
Expanded(
child: Text(
contact.pathLabel(
@@ -1953,6 +1982,43 @@ class _ContactTile extends StatelessWidget {
}
}
/// Mono pill showing the contact's routing hash (public-key prefix), so it can
/// be matched against hops in paths.
class _KeyPrefixBadge extends StatelessWidget {
final String prefix;
const _KeyPrefixBadge({required this.prefix});
@override
Widget build(BuildContext context) {
final scheme = Theme.of(context).colorScheme;
return Semantics(
label: context.l10n.contacts_keyPrefixSemantics(
prefix.split('').join(' '),
),
excludeSemantics: true,
child: Container(
padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 1),
decoration: BoxDecoration(
color: scheme.surfaceContainerHighest,
borderRadius: BorderRadius.circular(MeshRadii.xs),
border: Border.all(color: scheme.outline),
),
child: Text(
prefix,
maxLines: 1,
style: MeshTheme.mono(
fontSize: 13,
fontWeight: FontWeight.w700,
color: scheme.onSurface,
letterSpacing: 0.6,
),
),
),
);
}
}
/// Disposes [controller] when the dialog content unmounts, i.e. after the
/// route's exit animation, so the TextField never sees a disposed controller.
class _DisposeControllerOnUnmount extends StatefulWidget {
+9 -1
View File
@@ -316,7 +316,15 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
content: Text(context.l10n.discoveredContacts_contactAdded),
action: SnackBarAction(
label: context.l10n.common_undo,
onPressed: () => connector.removeContact(contact),
onPressed: () => unawaited(
connector.removeContact(contact).catchError((Object _) {
if (!context.mounted) return;
showDismissibleSnackBar(
context,
content: Text(context.l10n.contacts_removeFailed),
);
}),
),
),
);
} catch (_) {
File diff suppressed because it is too large. Load diff
+37 -1
View File
@@ -22,6 +22,7 @@ import 'package:meshcore_open/helpers/snack_bar_builder.dart';
import 'package:meshcore_open/widgets/path_map_scaffold.dart';
import 'package:meshcore_open/widgets/path_map_ui.dart';
import 'package:meshcore_open/widgets/snr_indicator.dart';
import 'package:meshcore_open/widgets/set_my_location_dialog.dart';
import 'package:provider/provider.dart';
import '../theme/mesh_theme.dart';
@@ -64,6 +65,13 @@ class PathTraceMapScreen extends StatefulWidget {
final int pathHashByteWidth;
final List<Contact>? pathContacts;
/// A previous PUSH_CODE_TRACE_DATA frame to show instead of sending a new
/// trace when the screen opens.
final Uint8List? initialTraceFrame;
/// Called with each trace response frame this screen receives.
final ValueChanged<Uint8List>? onTraceFrame;
const PathTraceMapScreen({
super.key,
required this.title,
@@ -74,6 +82,8 @@ class PathTraceMapScreen extends StatefulWidget {
this.targetContact,
this.pathHashByteWidth = pathHashSize,
this.pathContacts,
this.initialTraceFrame,
this.onTraceFrame,
});
@override
@@ -219,7 +229,20 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
_pathHistory = context.read<PathHistoryService>();
_pathHistory!.addListener(_onPathHistoryChanged);
_setupFrameListener();
_doPathTrace();
final initialFrame = widget.initialTraceFrame;
if (initialFrame == null) {
_doPathTrace();
return;
}
final (livePath, hopWidth) = _resolveLivePath(
context.read<MeshCoreConnector>(),
);
_tracedPath = livePath;
_tracedPathHashWidth = hopWidth;
_isLoading = true;
WidgetsBinding.instance.addPostFrameCallback((_) {
if (mounted) _handleTraceResponse(initialFrame);
});
}
@override
@@ -239,6 +262,16 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
});
}
Future<void> _setMyLocation(LatLng point) async {
final connector = context.read<MeshCoreConnector>();
final ok = await confirmAndSetMyLocation(context, connector, point);
if (!ok || !mounted || !_hasData) return;
// Display paths start at the self position, so redraw them from it.
setState(() {
_rebuildDisplayPaths(connector);
});
}
/// Keeps the camera centered on the packet while the follow lock is on.
void _followPacketCamera() {
if (!mounted) return;
@@ -490,6 +523,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
(listEquals(frame.sublist(4, 8), _sentTagBytes) ||
listEquals(frame.sublist(4, 8), _sentAckTag))) {
_timeoutTimer?.cancel();
widget.onTraceFrame?.call(frame);
if (!mounted) return;
_handleTraceResponse(frame);
}
@@ -1497,6 +1531,8 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
initialCenter: _initialCenter!,
initialZoom: _initialZoom,
bounds: _bounds,
onLongPress: (_, point) => _setMyLocation(point),
onSecondaryTap: (_, point) => _setMyLocation(point),
onPositionChanged: (camera, hasGesture) {
if (!mounted) return;
// A manual pan/zoom releases the follow lock.
+2 -9
View File
@@ -25,9 +25,6 @@ import '../widgets/sync_progress_overlay.dart';
import 'region_management_screen.dart';
import '../utils/share_origin.dart';
/// Companion firmware version that added CMD_SET_PATH_HASH_MODE (v1.14.0).
const int _minFirmwareVerCodeForPathHashMode = 10;
class SettingsScreen extends StatefulWidget {
const SettingsScreen({super.key});
@@ -566,14 +563,10 @@ class _SettingsScreenState extends State<SettingsScreen> {
title: l10n.repeater_pathHashMode,
subtitle: !connected
? offline
: (connector.firmwareVerCode ?? 0) <
_minFirmwareVerCodeForPathHashMode
: !connector.supportsPathHashMode
? l10n.settings_requiresFirmware('v1.14')
: _pathHashModeSubtitle(context, connector.pathHashByteWidth),
onTap:
connector.isConnected &&
(connector.firmwareVerCode ?? 0) >=
_minFirmwareVerCodeForPathHashMode
onTap: connector.isConnected && connector.supportsPathHashMode
? () => _editPathHashMode(context, connector)
: null,
),
+18 -11
View File
@@ -3,6 +3,8 @@ import 'package:flutter/foundation.dart';
import '../models/app_settings.dart';
import '../models/image_codec_support.dart';
import '../models/translation_support.dart';
export '../models/app_settings.dart' show ChannelNotificationMode;
import '../storage/prefs_manager.dart';
import '../utils/app_logger.dart';
import '../helpers/cyr2lat.dart';
@@ -286,19 +288,24 @@ class AppSettingsService extends ChangeNotifier {
await updateSettings(_settings.copyWith(unitSystem: value));
}
bool isChannelMuted(String channelName) {
return _settings.mutedChannels.contains(channelName);
ChannelNotificationMode getChannelNotificationMode(String channelName) {
return _settings.channelNotificationModes[channelName] ??
ChannelNotificationMode.all;
}
Future<void> muteChannel(String channelName) async {
final updated = Set<String>.from(_settings.mutedChannels)..add(channelName);
await updateSettings(_settings.copyWith(mutedChannels: updated));
}
Future<void> unmuteChannel(String channelName) async {
final updated = Set<String>.from(_settings.mutedChannels)
..remove(channelName);
await updateSettings(_settings.copyWith(mutedChannels: updated));
Future<void> setChannelNotificationMode(
String channelName,
ChannelNotificationMode mode,
) async {
final updated = Map<String, ChannelNotificationMode>.from(
_settings.channelNotificationModes,
);
if (mode == ChannelNotificationMode.all) {
updated.remove(channelName);
} else {
updated[channelName] = mode;
}
await updateSettings(_settings.copyWith(channelNotificationModes: updated));
}
Future<void> setTcpServerAddress(String value) async {
+155
View File
@@ -0,0 +1,155 @@
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:http/http.dart' as http;
import '../storage/prefs_manager.dart';
/// DNS name whose TXT record configures the connect screen's "get a node"
/// banner, e.g. `v=1;on=1;url=https%3A%2F%2F...;title=...`.
const String nodeBannerRecordName = '_banner.meshcoreopen.org';
const String _dohEndpoint = 'https://cloudflare-dns.com/dns-query';
const String _cacheRecordKey = 'node_banner_txt';
const String _cacheExpiryKey = 'node_banner_expires_ms';
const int _dnsTypeTxt = 16;
/// Banner content from the TXT record. Null text fields fall back to the
/// app's localized strings.
class NodeBannerConfig {
final Uri url;
final String? title;
final String? body;
final String? action;
const NodeBannerConfig({
required this.url,
this.title,
this.body,
this.action,
});
/// Parses `key=value` pairs separated by `;`. Values may be plain text;
/// percent-encoding is decoded when valid, so `%3B` can carry a `;`.
/// Returns null when the banner is switched off (`on=0`), the version is
/// unknown, or the link is missing or not https.
static NodeBannerConfig? parse(String record) {
final fields = <String, String>{};
for (final pair in record.split(';')) {
final eq = pair.indexOf('=');
if (eq <= 0) continue;
final raw = pair.substring(eq + 1).trim();
String value;
try {
value = Uri.decodeComponent(raw);
} on ArgumentError {
value = raw;
}
fields[pair.substring(0, eq).trim().toLowerCase()] = value;
}
if (fields['v'] != '1' || fields['on'] != '1') return null;
final url = Uri.tryParse(fields['url'] ?? '');
if (url == null || url.scheme != 'https' || url.host.isEmpty) return null;
String? text(String key) {
final value = fields[key]?.trim();
return value == null || value.isEmpty ? null : value;
}
return NodeBannerConfig(
url: url,
title: text('title'),
body: text('body'),
action: text('cta'),
);
}
}
/// Looks up the banner's TXT record over DNS-over-HTTPS and caches it for
/// the record's TTL. Any failure means no banner.
class NodeBannerService {
final http.Client _client;
final DateTime Function() _now;
NodeBannerService({http.Client? client, DateTime Function()? now})
: _client = client ?? http.Client(),
_now = now ?? DateTime.now;
Future<NodeBannerConfig?> load() async {
try {
final prefs = PrefsManager.instance;
final expires = prefs.getInt(_cacheExpiryKey) ?? 0;
final cached = prefs.getString(_cacheRecordKey);
if (cached != null && _now().millisecondsSinceEpoch < expires) {
return NodeBannerConfig.parse(cached);
}
final response = await _client
.get(
Uri.parse(_dohEndpoint).replace(
queryParameters: {'name': nodeBannerRecordName, 'type': 'TXT'},
),
headers: const {'accept': 'application/dns-json'},
)
.timeout(const Duration(seconds: 5));
if (response.statusCode != 200) return null;
final answer = txtFromDohJson(response.body);
if (answer == null) return null;
final ttl = answer.ttl.clamp(60, 6 * 3600);
await prefs.setString(_cacheRecordKey, answer.text);
await prefs.setInt(
_cacheExpiryKey,
_now().add(Duration(seconds: ttl)).millisecondsSinceEpoch,
);
return NodeBannerConfig.parse(answer.text);
} catch (e) {
debugPrint('Node banner lookup failed: $e');
return null;
}
}
/// The first TXT answer in a DoH JSON response, with its character-strings
/// joined, or null when the name has no TXT record.
@visibleForTesting
static ({String text, int ttl})? txtFromDohJson(String body) {
final json = jsonDecode(body) as Map<String, dynamic>;
if (json['Status'] != 0) return null;
for (final answer in (json['Answer'] as List<dynamic>? ?? const [])) {
final record = answer as Map<String, dynamic>;
if (record['type'] != _dnsTypeTxt) continue;
return (
text: _joinCharacterStrings(record['data'] as String),
ttl: (record['TTL'] as num?)?.toInt() ?? 300,
);
}
return null;
}
/// Joins the quoted character-strings of TXT presentation data
/// (`"a" "b"` -> `ab`), undoing `\"`, `\\` and `\DDD` escapes.
static String _joinCharacterStrings(String data) {
if (!data.contains('"')) return data;
final out = StringBuffer();
var inQuotes = false;
for (var i = 0; i < data.length; i++) {
final c = data[i];
if (c == '"') {
inQuotes = !inQuotes;
} else if (!inQuotes) {
continue;
} else if (c == r'\' && i + 1 < data.length) {
final digits = i + 3 < data.length ? data.substring(i + 1, i + 4) : '';
final code = int.tryParse(digits);
if (digits.length == 3 && code != null) {
out.writeCharCode(code);
i += 3;
} else {
out.write(data[++i]);
}
} else {
out.write(c);
}
}
return out.toString();
}
}
+88 -6
View File
@@ -8,6 +8,8 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import '../helpers/gif_helper.dart';
import '../helpers/marker_message.dart';
import '../helpers/message_url_image_helper.dart';
import '../helpers/reaction_helper.dart';
import '../l10n/app_localizations.dart';
@@ -15,6 +17,7 @@ import '../models/app_settings.dart';
import '../storage/prefs_manager.dart';
import '../utils/platform_info.dart';
import 'notification_reply.dart';
import 'received_image_store.dart' show ReceivedImageRef;
class NotificationService {
static final NotificationService _instance = NotificationService._internal();
@@ -284,15 +287,26 @@ class NotificationService {
await requestPermissions();
}
/// Format special message types for human-readable notifications.
static String formatNotificationText(String text) {
/// Summarizes structured payloads (reactions, images, GIFs, shared
/// locations) with the same parsers the chat bubbles use; other text is
/// returned unchanged.
static String formatNotificationText(String text, AppLocalizations l10n) {
final trimmed = text.trim();
final reaction = ReactionHelper.parseReaction(trimmed);
if (reaction != null) {
return 'Reacted ${reaction.emoji}';
return l10n.notification_reacted(reaction.emoji);
}
if (RegExp(r'^g:[A-Za-z0-9_-]+$').hasMatch(trimmed)) {
return 'Sent a GIF';
if (ReceivedImageRef.parse(trimmed) != null) {
return l10n.notification_sentImage;
}
if (GifHelper.parseGif(trimmed) != null) {
return l10n.notification_sentGif;
}
final marker = parseMarkerText(trimmed);
if (marker != null) {
return marker.label.isEmpty
? l10n.notification_sharedLocation
: l10n.notification_sharedLocationNamed(marker.label);
}
return text;
}
@@ -406,7 +420,7 @@ class NotificationService {
message,
urlImagesEnabled: urlImagesEnabled,
);
final preview = formatNotificationText(message.trim());
final preview = formatNotificationText(message.trim(), _l10n);
final body = preview.isEmpty
? _l10n.notification_receivedNewMessage
: preview;
@@ -607,6 +621,54 @@ class NotificationService {
}
}
/// Posts a low-battery alert for the connected device.
///
/// Uses a per-device, per-threshold notification id so each alert level
/// updates its own notification instead of stacking, and alerts for
/// different radios don't overwrite each other. Bypasses the rate-limit
/// queue, which only handles message and advert notifications.
Future<void> showLowBatteryNotification({
required String deviceKey,
required String deviceName,
required int batteryPercent,
required int threshold,
}) async {
if (!await _ensureCanNotify()) return;
const androidDetails = AndroidNotificationDetails(
'low_battery',
'Low Battery',
channelDescription: 'Low battery alerts for the connected device',
importance: Importance.high,
priority: Priority.high,
icon: '@mipmap/ic_launcher',
);
const darwinDetails = DarwinNotificationDetails(
presentAlert: true,
presentBadge: false,
presentSound: true,
);
const notificationDetails = NotificationDetails(
android: androidDetails,
iOS: darwinDetails,
macOS: darwinDetails,
);
try {
await _notifications.show(
id: _lowBatteryNotificationId(deviceKey, threshold),
title: _l10n.notification_lowBatteryTitle,
body: _l10n.notification_lowBatteryBody(deviceName, batteryPercent),
notificationDetails: notificationDetails,
payload: 'low_battery',
);
} catch (e) {
debugPrint('Failed to show low battery notification: $e');
}
}
/// Returns a privacy-safe identifier for debug logging.
/// - advert: shows device name (body contains contactName)
/// - message: shows "from: sender" (avoids logging message content)
@@ -663,6 +725,26 @@ class NotificationService {
await _updateBadge(totalUnreadCount);
}
static int _lowBatteryNotificationId(String deviceKey, int threshold) =>
'low_battery:$deviceKey:$threshold'.hashCode;
/// Cancel a device's low-battery notifications for the given thresholds.
Future<void> clearLowBatteryNotifications(
String deviceKey,
Iterable<int> thresholds,
) async {
if (!await _ensureInitialized()) return;
for (final threshold in thresholds) {
try {
await _notifications.cancel(
id: _lowBatteryNotificationId(deviceKey, threshold),
);
} catch (e) {
debugPrint('Failed to clear low battery notification: $e');
}
}
}
/// Cancel advert notifications for the given contact public key hexes.
Future<void> clearAdvertNotifications(List<String> contactIds) async {
if (!await _ensureInitialized()) return;
+3
View File
@@ -2,6 +2,7 @@ import 'dart:async';
import 'package:flutter/foundation.dart';
import '../models/map_path_trace_draft.dart';
import '../storage/prefs_manager.dart';
import '../utils/contact_search.dart';
@@ -33,6 +34,8 @@ class UiViewStateService extends ChangeNotifier {
ChannelSortOption _channelsSortOption = ChannelSortOption.manual;
MapSourceOption _mapSource = MapSourceOption.local;
final MapPathTraceDraft mapPathTrace = MapPathTraceDraft();
String get contactsSelectedGroupName => _contactsSelectedGroupName;
String get contactsSearchText => _contactsSearchText;
bool get contactsSearchExpanded => _contactsSearchExpanded;
@@ -0,0 +1,65 @@
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../l10n/l10n.dart';
import '../services/app_settings_service.dart'
show AppSettingsService, ChannelNotificationMode;
import 'mesh_ui.dart';
/// Localized label for a channel notification [mode].
String channelNotificationModeLabel(
BuildContext context,
ChannelNotificationMode mode,
) => switch (mode) {
ChannelNotificationMode.all => context.l10n.channels_notifyAll,
ChannelNotificationMode.mentionsOnly =>
context.l10n.channels_notifyMentionsOnly,
ChannelNotificationMode.muted => context.l10n.channels_notifyNone,
};
/// Icon for a channel notification [mode].
IconData channelNotificationModeIcon(ChannelNotificationMode mode) =>
switch (mode) {
ChannelNotificationMode.all => Icons.notifications,
ChannelNotificationMode.mentionsOnly => Icons.notification_important,
ChannelNotificationMode.muted => Icons.notifications_off,
};
/// Shows the per-channel notification mode picker (all / mentions only /
/// muted) for the channel identified by [muteKey].
void showChannelNotificationModeSheet(BuildContext context, String muteKey) {
final settingsService = context.read<AppSettingsService>();
final currentMode = settingsService.getChannelNotificationMode(muteKey);
showMeshSheet(
context,
builder: (sheetContext) {
final scheme = Theme.of(sheetContext).colorScheme;
return SafeArea(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
for (final mode in ChannelNotificationMode.values)
ListTile(
leading: Icon(
channelNotificationModeIcon(mode),
color: mode == currentMode
? scheme.primary
: scheme.onSurfaceVariant,
),
title: Text(channelNotificationModeLabel(sheetContext, mode)),
trailing: mode == currentMode ? const Icon(Icons.check) : null,
onTap: () async {
Navigator.pop(sheetContext);
await settingsService.setChannelNotificationMode(
muteKey,
mode,
);
},
),
],
),
);
},
);
}
+3 -3
View File
@@ -9,6 +9,7 @@ import '../theme/mesh_theme.dart';
import 'byte_count_input.dart';
import 'gif_message.dart';
import 'gif_picker.dart';
import 'mesh_ui.dart';
import 'message_translation_button.dart';
/// One entry of the composer's "+" menu.
@@ -27,9 +28,8 @@ class ChatComposerAction {
/// Opens the GIF picker and puts the chosen GIF into [controller].
void showChatGifPicker(BuildContext context, TextEditingController controller) {
showModalBottomSheet(
context: context,
isScrollControlled: true,
showMeshSheet<void>(
context,
builder: (context) => GifPicker(
onGifSelected: (gifId) {
controller.text = GifHelper.encodeGif(gifId);
+1 -5
View File
@@ -210,12 +210,8 @@ class EmojiPicker extends StatelessWidget {
Widget build(BuildContext context) {
final l10n = context.l10n;
final emojiCategories = _emojiCategories(l10n);
return Container(
return SizedBox(
height: MediaQuery.of(context).size.height * 0.5,
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surface,
borderRadius: const BorderRadius.vertical(top: Radius.circular(20)),
),
child: Column(
children: [
Padding(
+31 -14
View File
@@ -2,25 +2,42 @@ import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import '../l10n/l10n.dart';
import '../services/node_banner_service.dart';
import '../theme/mesh_theme.dart';
/// Affiliate link for the SenseCAP MeshTracker X1.
const getNodeUrl =
'https://www.seeedstudio.com/sensecap-meshtracker-x1-meshtastic-gps-tracker-p-6935.html'
'?sensecap_affiliate=JFWID0g&referring_service=link';
/// Bottom banner on the connect screen pointing new users at a node to buy.
class GetNodeBanner extends StatelessWidget {
const GetNodeBanner({super.key});
/// Its link (and optionally its text) comes from the `_banner` DNS TXT
/// record; it stays hidden until that loads, and when the lookup fails or the
/// record turns it off.
class GetNodeBanner extends StatefulWidget {
final Future<NodeBannerConfig?> Function()? loadConfig;
void _open() =>
launchUrl(Uri.parse(getNodeUrl), mode: LaunchMode.externalApplication);
const GetNodeBanner({super.key, this.loadConfig});
@override
State<GetNodeBanner> createState() => _GetNodeBannerState();
}
class _GetNodeBannerState extends State<GetNodeBanner> {
NodeBannerConfig? _config;
@override
void initState() {
super.initState();
(widget.loadConfig ?? NodeBannerService().load)().then((config) {
if (mounted && config != null) setState(() => _config = config);
});
}
@override
Widget build(BuildContext context) {
final config = _config;
if (config == null) return const SizedBox.shrink();
final l10n = context.l10n;
final scheme = Theme.of(context).colorScheme;
final textTheme = Theme.of(context).textTheme;
void open() => launchUrl(config.url, mode: LaunchMode.externalApplication);
return SafeArea(
top: false,
@@ -34,7 +51,7 @@ class GetNodeBanner extends StatelessWidget {
),
clipBehavior: Clip.antiAlias,
child: InkWell(
onTap: _open,
onTap: open,
child: Padding(
padding: const EdgeInsets.fromLTRB(14, 12, 14, 10),
child: Column(
@@ -51,7 +68,7 @@ class GetNodeBanner extends StatelessWidget {
const SizedBox(width: 10),
Expanded(
child: Text(
l10n.scanner_getNodeTitle,
config.title ?? l10n.scanner_getNodeTitle,
style: textTheme.titleMedium?.copyWith(
color: scheme.onPrimaryContainer,
fontWeight: FontWeight.w700,
@@ -62,7 +79,7 @@ class GetNodeBanner extends StatelessWidget {
),
const SizedBox(height: 6),
Text(
l10n.scanner_getNodeBody,
config.body ?? l10n.scanner_getNodeBody,
style: textTheme.bodyMedium?.copyWith(
color: scheme.onPrimaryContainer,
height: 1.35,
@@ -72,9 +89,9 @@ class GetNodeBanner extends StatelessWidget {
SizedBox(
width: double.infinity,
child: FilledButton.icon(
onPressed: _open,
onPressed: open,
icon: const Icon(Icons.shopping_cart_outlined, size: 22),
label: Text(l10n.scanner_getNodeAction),
label: Text(config.action ?? l10n.scanner_getNodeAction),
),
),
const SizedBox(height: 6),
+3 -1
View File
@@ -117,7 +117,9 @@ class _GifPickerState extends State<GifPicker> {
@override
Widget build(BuildContext context) {
return Container(
height: MediaQuery.of(context).size.height * 0.7,
constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height * 0.7,
),
padding: const EdgeInsets.all(16),
child: Column(
children: [
+282
View File
@@ -0,0 +1,282 @@
import 'package:flutter/material.dart';
import 'package:latlong2/latlong.dart';
import 'package:provider/provider.dart';
import '../connector/meshcore_connector.dart';
import '../connector/meshcore_protocol.dart';
import '../l10n/app_localizations.dart';
import '../l10n/contact_localization.dart';
import '../l10n/l10n.dart';
import '../models/contact.dart';
import '../screens/chat_screen.dart';
import '../screens/repeater_hub_screen.dart';
import '../theme/mesh_theme.dart';
import 'mesh_ui.dart';
import 'repeater_login_dialog.dart';
import 'room_login_dialog.dart';
/// Map accent colour for a node type.
Color mapNodeTypeColor(int type) {
switch (type) {
case advTypeChat:
return MapPalette.selected;
case advTypeRepeater:
return MapPalette.repeater;
case advTypeRoom:
return MapPalette.router;
case advTypeSensor:
return MapPalette.sensor;
default:
return MapPalette.offline;
}
}
/// Map icon for a node type.
IconData mapNodeTypeIcon(int type) {
switch (type) {
case advTypeChat:
return Icons.person;
case advTypeRepeater:
return Icons.router;
case advTypeRoom:
return Icons.meeting_room;
case advTypeSensor:
return Icons.sensors;
default:
return Icons.device_unknown;
}
}
String formatNodeLastSeen(AppLocalizations l10n, DateTime lastSeen) {
final difference = DateTime.now().difference(lastSeen);
if (difference.inSeconds < 60) {
return l10n.time_justNow;
} else if (difference.inMinutes < 60) {
return l10n.time_minutesAgo(difference.inMinutes);
} else if (difference.inHours < 24) {
return l10n.time_hoursAgo(difference.inHours);
} else {
return l10n.time_daysAgo(difference.inDays);
}
}
/// Label above a selectable mono value, as used in node detail sheets.
class NodeInfoRow extends StatelessWidget {
final String label;
final String value;
const NodeInfoRow({super.key, required this.label, required this.value});
@override
Widget build(BuildContext context) {
final scheme = Theme.of(context).colorScheme;
return Padding(
padding: const EdgeInsets.symmetric(vertical: 4.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
label,
style: TextStyle(
fontSize: 12,
color: scheme.onSurfaceVariant,
fontWeight: FontWeight.w500,
),
),
const SizedBox(height: 2),
SelectableText(
value,
style: MeshTheme.mono(fontSize: 13, color: scheme.onSurface),
),
],
),
);
}
}
/// Repeater login, then the repeater hub on success.
void showRepeaterLoginDialog(BuildContext context, Contact repeater) {
showDialog(
context: context,
builder: (context) => RepeaterLoginDialog(
repeater: repeater,
onLogin: (password, isAdmin) {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => RepeaterHubScreen(
repeater: repeater,
password: password,
isAdmin: isAdmin,
),
),
);
},
),
);
}
/// Room login, then the room chat (or the hub when [manage] is set).
void showRoomLoginDialog(
BuildContext context,
Contact room, {
bool manage = false,
}) {
showDialog(
context: context,
builder: (context) => RoomLoginDialog(
room: room,
onLogin: (password, isAdmin) {
final connector = context.read<MeshCoreConnector>();
final unread = connector.getUnreadCountForContactKey(room.publicKeyHex);
connector.markContactRead(room.publicKeyHex);
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => manage
? RepeaterHubScreen(
repeater: room,
password: password,
isAdmin: isAdmin,
)
: ChatScreen(contact: room, initialUnreadCount: unread),
),
);
},
),
);
}
/// Node details sheet (path, location, last seen, key) with the actions for
/// its type: open chat, manage repeater, or join/manage room.
void showNodeInfoSheet(
BuildContext context,
Contact contact, {
LatLng? guessedPosition,
}) {
final connector = context.read<MeshCoreConnector>();
showMeshSheet(
context,
builder: (sheetContext) {
final l10n = context.l10n;
void importIfNeeded() {
if (!contact.isActive) {
connector.importDiscoveredContact(contact);
}
}
final actions = <Widget>[];
if (contact.type == advTypeChat) {
actions.add(
FilledButton(
onPressed: () {
importIfNeeded();
final unread = connector.getUnreadCountForContactKey(
contact.publicKeyHex,
);
Navigator.pop(sheetContext);
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
ChatScreen(contact: contact, initialUnreadCount: unread),
),
);
},
child: Text(l10n.contacts_openChat),
),
);
}
if (contact.type == advTypeRepeater) {
actions.add(
FilledButton(
onPressed: () {
importIfNeeded();
Navigator.pop(sheetContext);
showRepeaterLoginDialog(context, contact);
},
child: Text(l10n.map_manageRepeater),
),
);
}
if (contact.type == advTypeRoom) {
actions.add(
FilledButton(
onPressed: () {
importIfNeeded();
Navigator.pop(sheetContext);
showRoomLoginDialog(context, contact);
},
child: Text(l10n.map_joinRoom),
),
);
actions.add(
FilledButton(
onPressed: () {
importIfNeeded();
Navigator.pop(sheetContext);
showRoomLoginDialog(context, contact, manage: true);
},
child: Text(l10n.map_manageServer),
),
);
}
return SafeArea(
child: SingleChildScrollView(
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
BottomSheetHeader(
title: contact.name,
subtitle: contact.typeLabel(l10n),
trailing: Icon(
mapNodeTypeIcon(contact.type),
color: mapNodeTypeColor(contact.type),
size: 20,
),
),
Padding(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
NodeInfoRow(
label: l10n.map_path,
value: contact.pathLabel(
l10n,
pathHashByteWidth: connector.pathHashByteWidth,
),
),
if (contact.hasLocation)
NodeInfoRow(
label: l10n.map_location,
value:
'${contact.latitude!.toStringAsFixed(6)}, ${contact.longitude!.toStringAsFixed(6)}',
)
else if (guessedPosition != null)
NodeInfoRow(
label: l10n.map_estLocation,
value:
'~${guessedPosition.latitude.toStringAsFixed(6)}, ${guessedPosition.longitude.toStringAsFixed(6)}',
),
NodeInfoRow(
label: l10n.map_lastSeen,
value: formatNodeLastSeen(l10n, contact.lastSeen),
),
NodeInfoRow(
label: l10n.map_publicKey,
value: contact.publicKeyHex,
),
const SizedBox(height: 16),
...actions,
],
),
),
],
),
),
);
},
);
}
+79 -5
View File
@@ -30,9 +30,9 @@ bool _isAllowedRepeatFreqKHz(MeshCoreConnector connector, int freqKHz) {
/// Lowest TX power companion firmware accepts (CMD_SET_RADIO_TX_POWER).
const int _minTxPowerDbm = -9;
/// Radio parameter editor (preset, frequency, bandwidth, SF, CR, TX power and
/// off-grid client repeat). Stays open when the radio rejects or fails to
/// apply the settings so the user's edits are not lost.
/// Radio parameter editor (preset, frequency, bandwidth, SF, CR, TX power,
/// path-hash size and off-grid client repeat). Stays open when the radio
/// rejects or fails to apply the settings so the user's edits are not lost.
class RadioSettingsDialog extends StatefulWidget {
final MeshCoreConnector connector;
@@ -49,11 +49,14 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
LoRaCodingRate _codingRate = LoRaCodingRate.cr4_5;
final _txPowerController = TextEditingController(text: '20');
bool _clientRepeat = false;
int _pathHashByteWidth = 1;
int? _selectedPresetIndex;
_RadioSettingsSnapshot? _lastNonRepeatSnapshot;
String? _frequencyError;
String? _txPowerError;
bool get _supportsPathHashMode => widget.connector.supportsPathHashMode;
AppDebugLogService get _appLog =>
Provider.of<AppDebugLogService>(context, listen: false);
@@ -106,6 +109,7 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
_txPowerController.text = widget.connector.currentTxPower.toString();
}
_pathHashByteWidth = widget.connector.pathHashByteWidth;
_clientRepeat = widget.connector.clientRepeat ?? false;
_selectedPresetIndex = _findMatchingPresetIndex();
if (_clientRepeat) {
@@ -439,11 +443,34 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
return;
}
await widget.connector.sendFrame(buildSetRadioTxPowerFrame(txPower));
// setPathHashMode updates the local width optimistically; the refreshed
// DEVICE_INFO below overwrites it with what the radio actually stored.
final requestedPathHashWidth =
_supportsPathHashMode &&
_pathHashByteWidth != widget.connector.pathHashByteWidth
? _pathHashByteWidth
: null;
if (requestedPathHashWidth != null) {
await widget.connector.setPathHashMode(requestedPathHashWidth - 1);
}
final selfInfo = widget.connector.receivedFrames
.firstWhere((f) => f.isNotEmpty && f[0] == respCodeSelfInfo)
.timeout(const Duration(seconds: 5));
final deviceInfo = requestedPathHashWidth == null
? null
: widget.connector.receivedFrames
.firstWhere((f) => f.isNotEmpty && f[0] == respCodeDeviceInfo)
.timeout(const Duration(seconds: 5));
await widget.connector.refreshDeviceInfo();
final applied = await selfInfo.then(
// Without a refreshed DEVICE_INFO the path hash change is unconfirmed
// (this also covers setPathHashMode skipping a disconnected radio).
final pathHashApplied =
deviceInfo == null ||
await deviceInfo.then(
(_) => widget.connector.pathHashByteWidth == requestedPathHashWidth,
onError: (_) => false,
);
final radioApplied = await selfInfo.then(
(_) => _deviceMatches(
freqHz: freqHz,
bwHz: bwHz,
@@ -454,7 +481,7 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
),
onError: (_) => true,
);
if (!applied) {
if (!radioApplied) {
_logRadioSettingsState('Radio did not apply requested settings');
if (!mounted) return;
showDismissibleSnackBar(
@@ -463,6 +490,17 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
);
return;
}
if (!pathHashApplied) {
// Radio params and TX power were already applied; only the path
// hash size is outstanding, so say that rather than a generic error.
_logRadioSettingsState('Radio did not apply requested path hash size');
if (!mounted) return;
showDismissibleSnackBar(
context,
content: Text(l10n.settings_pathHashModeNotApplied),
);
return;
}
final rememberedSnapshot = _clientRepeat
? _lastNonRepeatSnapshot
: _currentSnapshot();
@@ -539,6 +577,7 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
'sf=${_spreadingFactor.label} '
'cr=${_codingRate.label} '
'tx=${_txPowerController.text}dBm '
'pathHash=${_pathHashByteWidth}B '
'repeat=$_clientRepeat '
'preset=${_presetLabel(_selectedPresetIndex)} '
'lastNonRepeat=${_formatSnapshot(_lastNonRepeatSnapshot)}',
@@ -673,6 +712,41 @@ class _RadioSettingsDialogState extends State<RadioSettingsDialog> {
},
),
const SizedBox(height: 16),
if (_supportsPathHashMode) ...[
// Values are path hash modes (0-2, byte width - 1), matching
// the selectors in settings_screen and repeater_settings_screen.
DropdownButtonFormField<int>(
initialValue: (_pathHashByteWidth - 1).clamp(0, 2).toInt(),
decoration: InputDecoration(
labelText: l10n.repeater_pathHashMode,
helperText: l10n.settings_pathHashModeHelper,
helperMaxLines: 5,
border: const OutlineInputBorder(),
),
items: [
DropdownMenuItem(
value: 0,
child: Text(l10n.repeater_pathHashModeOption0),
),
DropdownMenuItem(
value: 1,
child: Text(l10n.repeater_pathHashModeOption1),
),
DropdownMenuItem(
value: 2,
child: Text(l10n.repeater_pathHashModeOption2),
),
],
onChanged: (value) {
if (value == null) return;
setState(() => _pathHashByteWidth = value + 1);
_logRadioSettingsState(
'Manual settings edit: path hash size',
);
},
),
const SizedBox(height: 16),
],
TextField(
controller: _txPowerController,
onChanged: (_) => _handleManualSettingsChanged('tx power'),
+79
View File
@@ -0,0 +1,79 @@
import 'package:flutter/material.dart';
import 'package:latlong2/latlong.dart';
import '../connector/meshcore_connector.dart';
import '../helpers/snack_bar_builder.dart';
import '../l10n/l10n.dart';
/// Asks the user to confirm, then sets the radio's advertised location to
/// [position] and waits for SELF_INFO to report it. Shows a success or
/// failure snackbar and returns whether the radio confirmed the new location.
Future<bool> confirmAndSetMyLocation(
BuildContext context,
MeshCoreConnector connector,
LatLng position,
) async {
if (!connector.isConnected) return false;
final l10n = context.l10n;
final latText = position.latitude.toStringAsFixed(6);
final lonText = position.longitude.toStringAsFixed(6);
final confirmed = await showDialog<bool>(
context: context,
builder: (dialogContext) => AlertDialog(
title: Text(l10n.map_setLocationConfirmTitle),
content: Text(l10n.map_setLocationConfirmBody(latText, lonText)),
actions: [
TextButton(
onPressed: () => Navigator.pop(dialogContext, false),
child: Text(l10n.common_cancel),
),
FilledButton(
onPressed: () => Navigator.pop(dialogContext, true),
child: Text(l10n.map_setLocationAction),
),
],
),
);
if (confirmed != true || !context.mounted || !connector.isConnected) {
return false;
}
// The firmware stores coordinates as int32 micro-degrees.
bool matches() {
final lat = connector.selfLatitude;
final lon = connector.selfLongitude;
return lat != null &&
lon != null &&
(lat - position.latitude).abs() < 2e-6 &&
(lon - position.longitude).abs() < 2e-6;
}
var ok = false;
try {
await connector.setNodeLocation(
lat: position.latitude,
lon: position.longitude,
);
await connector.refreshDeviceInfo();
// Self info arrives asynchronously after the query; wait for it.
final deadline = DateTime.now().add(const Duration(seconds: 6));
while (context.mounted && connector.isConnected) {
if (matches()) {
ok = true;
break;
}
if (DateTime.now().isAfter(deadline)) break;
await Future<void>.delayed(const Duration(milliseconds: 250));
}
} catch (e) {
debugPrint('Set node location failed: $e');
}
if (!context.mounted) return ok;
showDismissibleSnackBar(
context,
content: Text(
ok ? l10n.map_locationSetSuccess : l10n.map_locationSetFailed,
),
);
return ok;
}
+126 -40
View File
@@ -9,6 +9,7 @@ import '../l10n/l10n.dart';
import '../models/contact.dart';
import '../theme/mesh_theme.dart';
import 'mesh_ui.dart';
import 'node_info_sheet.dart';
import 'signal_ui.dart';
Contact? _getRepeaterPrefixMatchNearLocation(
@@ -276,53 +277,77 @@ class _SNRIndicatorState extends State<SNRIndicator> {
);
final colorScheme = Theme.of(context).colorScheme;
return Padding(
padding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 10,
),
child: Row(
children: [
AvatarCircle(
name: name ?? prefixLabel,
size: 36,
color: colorScheme.onSurfaceVariant,
),
const SizedBox(width: 12),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
return Semantics(
button: true,
hint: l10n.map_details,
child: InkWell(
onTap: () => contact != null
? showNodeInfoSheet(context, contact)
: _showUnknownRepeaterSheet(
context,
repeater,
prefixLabel,
),
child: ConstrainedBox(
constraints: const BoxConstraints(minHeight: 56),
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 10,
),
child: Row(
children: [
Text(
name ?? prefixLabel,
style: Theme.of(context)
.textTheme
.bodyMedium
?.copyWith(
color: colorScheme.onSurface,
),
AvatarCircle(
name: name ?? prefixLabel,
size: 36,
color: colorScheme.onSurfaceVariant,
),
Row(
children: [
Icon(
Icons.circle,
size: 8,
color: snrColor,
),
const SizedBox(width: 6),
Text(
'${repeater.snr.toStringAsFixed(1)} dB • ${_formatLastUpdated(repeater.lastUpdated)}',
style: MeshTheme.mono(
fontSize: 12,
color: colorScheme.onSurfaceVariant,
const SizedBox(width: 12),
Expanded(
child: Column(
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Text(
name ?? prefixLabel,
style: Theme.of(context)
.textTheme
.bodyMedium
?.copyWith(
color: colorScheme.onSurface,
),
),
),
],
Row(
children: [
Icon(
Icons.circle,
size: 8,
color: snrColor,
),
const SizedBox(width: 6),
Text(
'${repeater.snr.toStringAsFixed(1)} dB • ${_formatLastUpdated(repeater.lastUpdated)}',
style: MeshTheme.mono(
fontSize: 12,
color: colorScheme
.onSurfaceVariant,
),
),
],
),
],
),
),
const SizedBox(width: 8),
Icon(
Icons.chevron_right,
size: 24,
color: colorScheme.onSurfaceVariant,
),
],
),
),
],
),
),
);
},
@@ -341,4 +366,65 @@ class _SNRIndicatorState extends State<SNRIndicator> {
),
);
}
void _showUnknownRepeaterSheet(
BuildContext context,
DirectRepeater repeater,
String prefixLabel,
) {
showMeshSheet<void>(
context,
builder: (sheetContext) {
final l10n = sheetContext.l10n;
final scheme = Theme.of(sheetContext).colorScheme;
return SafeArea(
child: SingleChildScrollView(
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
BottomSheetHeader(
title: prefixLabel,
subtitle: l10n.snrIndicator_unknownRepeater,
trailing: Icon(
mapNodeTypeIcon(advTypeRepeater),
color: mapNodeTypeColor(advTypeRepeater),
size: 20,
),
),
Padding(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
NodeInfoRow(
label: l10n.map_publicKeyPrefix,
value: repeater.pubkeyPrefixHex,
),
NodeInfoRow(
label: l10n.repeater_lastSnr,
value: '${repeater.snr.toStringAsFixed(1)} dB',
),
NodeInfoRow(
label: l10n.map_lastSeen,
value: formatNodeLastSeen(l10n, repeater.lastUpdated),
),
const SizedBox(height: 12),
Text(
l10n.snrIndicator_unknownRepeaterHint,
style: TextStyle(
fontSize: 15,
color: scheme.onSurfaceVariant,
),
),
],
),
),
],
),
),
);
},
);
}
}
@@ -0,0 +1,33 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/connector/meshcore_connector.dart';
void main() {
bool mentions(String text, String? name) =>
MeshCoreConnector.textMentionsName(text, name);
test('matches bracketed and plain mentions case-insensitively', () {
expect(mentions('@[Bob] hello', 'Bob'), isTrue);
expect(mentions('hey @[bob]', 'Bob'), isTrue);
expect(mentions('hey @bob, look', 'Bob'), isTrue);
expect(mentions('@BOB', 'Bob'), isTrue);
expect(mentions('ping @Иван!', 'иван'), isTrue);
});
test('requires a word boundary for plain mentions', () {
expect(mentions('hey @bobby', 'Bob'), isFalse);
expect(mentions('mail x@bob.com', 'Bob'), isFalse);
expect(mentions('hey bob', 'Bob'), isFalse);
});
test('names with spaces or regex characters must match in full', () {
expect(mentions('hi @Bob Smith', 'Bob Smith'), isTrue);
expect(mentions('hi @Bob', 'Bob Smith'), isFalse);
expect(mentions('@[Node (1)] ok', 'Node (1)'), isTrue);
expect(mentions('@[Node 1] ok', 'Node (1)'), isFalse);
});
test('no self name never matches', () {
expect(mentions('@[Bob] hi', null), isFalse);
expect(mentions('@ hi', ''), isFalse);
});
}
@@ -65,7 +65,12 @@ void main() {
waitForReply: true,
);
queue.takeErr(6);
await expectLater(pending!.completer!.future, throwsException);
await expectLater(
pending!.completer!.future,
throwsA(
isA<FirmwareCommandException>().having((e) => e.errCode, 'errCode', 6),
),
);
});
group('timed-out entries', () {
+106
View File
@@ -0,0 +1,106 @@
import 'dart:typed_data';
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/connector/meshcore_connector.dart';
import 'package:meshcore_open/connector/meshcore_protocol.dart';
import 'package:meshcore_open/review_mode/review_radio.dart';
import 'package:meshcore_open/services/message_retry_service.dart';
import 'package:meshcore_open/services/path_history_service.dart';
import 'package:meshcore_open/services/storage_service.dart';
import 'package:meshcore_open/storage/contact_store.dart';
import 'package:meshcore_open/storage/prefs_manager.dart';
import 'package:shared_preferences/shared_preferences.dart';
Future<void> _waitFor(bool Function() condition, {int seconds = 8}) async {
final end = DateTime.now().add(Duration(seconds: seconds));
while (!condition()) {
if (DateTime.now().isAfter(end)) fail('Timed out waiting for condition');
await Future<void>.delayed(const Duration(milliseconds: 25));
}
}
/// Review radio that records every frame the app sends.
class _RecordingReviewRadio extends ReviewRadio {
final List<Uint8List> sent = [];
_RecordingReviewRadio()
: super(scheduledMessageInterval: const Duration(hours: 1));
@override
void handle(Uint8List frame) {
sent.add(frame);
super.handle(frame);
}
}
void main() {
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() async {
SharedPreferences.setMockInitialValues({});
PrefsManager.reset();
await PrefsManager.initialize();
});
test('removed contact stays gone from the radio, list and store', () async {
final connector = MeshCoreConnector();
addTearDown(connector.dispose);
final retryService = MessageRetryService();
addTearDown(retryService.dispose);
connector.initialize(
retryService: retryService,
pathHistoryService: PathHistoryService(StorageService()),
);
final radio = _RecordingReviewRadio();
connector.reviewRadioFactoryForTest = () => radio;
await connector.connectReview();
await _waitFor(
() => connector.hasLoadedContacts && connector.contacts.length >= 6,
);
final contact = connector.contacts.firstWhere((c) => c.name == 'Maya');
await connector.removeContact(contact);
bool listed() =>
connector.contacts.any((c) => c.publicKeyHex == contact.publicKeyHex);
expect(listed(), isFalse);
expect(
connector.discoveredContacts
.firstWhere((c) => c.publicKeyHex == contact.publicKeyHex)
.isActive,
isFalse,
);
// A full resync from the radio must not bring it back.
await connector.getContacts();
await _waitFor(() => connector.hasLoadedContacts);
expect(connector.contacts, isNotEmpty);
expect(listed(), isFalse);
final store = ContactStore()..setPublicKeyHex = connector.selfPublicKeyHex;
final saved = await store.loadContacts();
expect(saved.any((c) => c.publicKeyHex == contact.publicKeyHex), isFalse);
// An open chat/repeater screen still syncs the path before each send, and
// the favourite toggle writes flags. On firmware CMD_ADD_UPDATE_CONTACT
// adds unknown keys, so neither may be sent for the removed contact.
radio.sent.clear();
await connector.setContactPath(contact, Uint8List.fromList([0x42]), 1);
await connector.preparePathForContactSend(contact);
await connector.setContactFlags(contact, isFavorite: true);
expect(radio.sent.where((f) => f.first == cmdAddUpdateContact), isEmpty);
await connector.disconnect(manual: true);
});
test('auto-add config reports which contact types come back', () {
final connector = MeshCoreConnector();
addTearDown(connector.dispose);
connector.handleFrameForTest([respCodeAutoAddConfig, autoAddRepeaterFlag]);
expect(connector.autoAddsContactType(advTypeRepeater), isTrue);
expect(connector.autoAddsContactType(advTypeChat), isFalse);
expect(connector.autoAddsContactType(advTypeRoom), isFalse);
});
}
@@ -0,0 +1,37 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/models/app_settings.dart';
void main() {
test('channel notification modes round-trip by name', () {
final settings = AppSettings(
channelNotificationModes: {
'a': ChannelNotificationMode.mentionsOnly,
'b': ChannelNotificationMode.muted,
},
);
final json = settings.toJson();
expect(json['channel_notification_modes'], {
'a': 'mentionsOnly',
'b': 'muted',
});
expect(json['muted_channels'], ['b']);
expect(
AppSettings.fromJson(json).channelNotificationModes,
settings.channelNotificationModes,
);
});
test('invalid channel notification mode entries are skipped', () {
final settings = AppSettings.fromJson({
'channel_notification_modes': {
'ok': 'muted',
'unknown': 'loud',
'int': 2,
'null': null,
},
});
expect(settings.channelNotificationModes, {
'ok': ChannelNotificationMode.muted,
});
});
}
+33
View File
@@ -0,0 +1,33 @@
import 'dart:typed_data';
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/connector/meshcore_protocol.dart';
import 'package:meshcore_open/models/contact.dart';
Contact _contact(List<int> key) => Contact(
publicKey: Uint8List.fromList(key),
name: 'Node',
type: advTypeChat,
pathLength: -1,
path: Uint8List(0),
lastSeen: DateTime.fromMillisecondsSinceEpoch(0),
);
void main() {
final contact = _contact([0xA3, 0x0F, 0xB2, 0x44]);
test('formats the first pathHashByteWidth bytes as uppercase hex', () {
expect(contact.publicKeyPrefixHex(1), 'A3');
expect(contact.publicKeyPrefixHex(2), 'A30F');
expect(contact.publicKeyPrefixHex(3), 'A30FB2');
});
test('clamps width to the supported 1-3 range', () {
expect(contact.publicKeyPrefixHex(0), 'A3');
expect(contact.publicKeyPrefixHex(4), 'A30FB2');
});
test('handles keys shorter than the width', () {
expect(_contact([0x01]).publicKeyPrefixHex(3), '01');
});
}
@@ -0,0 +1,46 @@
import 'dart:typed_data';
import 'package:flutter_test/flutter_test.dart';
import 'package:latlong2/latlong.dart';
import 'package:meshcore_open/models/map_path_trace_draft.dart';
import 'package:meshcore_open/services/ui_view_state_service.dart';
void main() {
test('draft survives on the shared view state service', () {
final service = UiViewStateService();
final draft = service.mapPathTrace
..active = true
..returnPath = false;
draft.pathBytes.addAll([0xAB, 0xCD]);
draft.points.add(const LatLng(1, 2));
expect(identical(service.mapPathTrace, draft), isTrue);
expect(service.mapPathTrace.hasHops, isTrue);
expect(service.mapPathTrace.returnPath, isFalse);
});
test('clear drops hops and the last result but keeps the mode', () {
final draft = MapPathTraceDraft()
..returnPath = false
..lastResultFrame = Uint8List.fromList([1, 2, 3]);
draft.pathBytes.add(0xAB);
draft.hopWidths.add(1);
draft.points.add(const LatLng(1, 2));
draft.clear();
expect(draft.hasHops, isFalse);
expect(draft.hopWidths, isEmpty);
expect(draft.points, isEmpty);
expect(draft.lastResultFrame, isNull);
expect(draft.returnPath, isFalse);
});
test('belongsTo matches only the radio it was built on', () {
final draft = MapPathTraceDraft();
expect(draft.belongsTo(Uint8List.fromList([1, 2])), isTrue);
draft.radioKey = Uint8List.fromList([1, 2]);
expect(draft.belongsTo(Uint8List.fromList([1, 2])), isTrue);
expect(draft.belongsTo(Uint8List.fromList([3, 4])), isFalse);
});
}
@@ -24,7 +24,10 @@ void main() {
test('channel mutes made in review mode are undone on exit', () async {
final settings = AppSettingsService();
await settings.loadSettings();
await settings.muteChannel('Hiking Group');
await settings.setChannelNotificationMode(
'Hiking Group',
ChannelNotificationMode.muted,
);
final connector = MeshCoreConnector();
addTearDown(connector.dispose);
final retryService = MessageRetryService();
@@ -39,23 +42,41 @@ void main() {
await connector.connectReview();
// Mutes are keyed by channel name, so these would leak into real radios.
await settings.muteChannel('Public');
await settings.unmuteChannel('Hiking Group');
await settings.setChannelNotificationMode(
'Public',
ChannelNotificationMode.muted,
);
await settings.setChannelNotificationMode(
'Hiking Group',
ChannelNotificationMode.all,
);
// Other app preferences are the user's to change, even while reviewing.
await PrefsManager.instance.setString('unrelated_key', 'changed');
await connector.disconnect(manual: true);
expect(settings.isChannelMuted('Public'), isFalse);
expect(settings.isChannelMuted('Hiking Group'), isTrue);
expect(
settings.getChannelNotificationMode('Public'),
ChannelNotificationMode.all,
);
expect(
settings.getChannelNotificationMode('Hiking Group'),
ChannelNotificationMode.muted,
);
expect(PrefsManager.instance.getString('unrelated_key'), 'changed');
// A fresh launch has nothing left to undo.
final relaunched = AppSettingsService();
await relaunched.loadSettings();
await endReviewModeSession(relaunched);
expect(relaunched.isChannelMuted('Public'), isFalse);
expect(relaunched.isChannelMuted('Hiking Group'), isTrue);
expect(
relaunched.getChannelNotificationMode('Public'),
ChannelNotificationMode.all,
);
expect(
relaunched.getChannelNotificationMode('Hiking Group'),
ChannelNotificationMode.muted,
);
});
test(
@@ -63,11 +84,20 @@ void main() {
() async {
final settings = AppSettingsService();
await settings.loadSettings();
await settings.muteChannel('Hiking Group');
await settings.setChannelNotificationMode(
'Hiking Group',
ChannelNotificationMode.muted,
);
await beginReviewModeSession(settings);
await settings.muteChannel('Public');
await settings.unmuteChannel('Hiking Group');
await settings.setChannelNotificationMode(
'Public',
ChannelNotificationMode.muted,
);
await settings.setChannelNotificationMode(
'Hiking Group',
ChannelNotificationMode.all,
);
await PrefsManager.instance.setString(
'contacts${ReviewRadio.storagePrefix}',
'[]',
@@ -76,11 +106,20 @@ void main() {
final relaunched = AppSettingsService();
await relaunched.loadSettings();
expect(relaunched.isChannelMuted('Public'), isTrue);
expect(
relaunched.getChannelNotificationMode('Public'),
ChannelNotificationMode.muted,
);
await endReviewModeSession(relaunched);
expect(relaunched.isChannelMuted('Public'), isFalse);
expect(relaunched.isChannelMuted('Hiking Group'), isTrue);
expect(
relaunched.getChannelNotificationMode('Public'),
ChannelNotificationMode.all,
);
expect(
relaunched.getChannelNotificationMode('Hiking Group'),
ChannelNotificationMode.muted,
);
expect(
PrefsManager.instance.getKeys().where(
(k) => k.contains(ReviewRadio.storagePrefix),
@@ -90,6 +129,61 @@ void main() {
},
);
test('every channel notification mode is restored on exit', () async {
final settings = AppSettingsService();
await settings.loadSettings();
await settings.setChannelNotificationMode(
'Hiking Group',
ChannelNotificationMode.mentionsOnly,
);
await settings.setChannelNotificationMode(
'Noisy',
ChannelNotificationMode.muted,
);
await beginReviewModeSession(settings);
await settings.setChannelNotificationMode(
'Hiking Group',
ChannelNotificationMode.all,
);
await settings.setChannelNotificationMode(
'Noisy',
ChannelNotificationMode.mentionsOnly,
);
await settings.setChannelNotificationMode(
'Public',
ChannelNotificationMode.mentionsOnly,
);
await endReviewModeSession(settings);
expect(
settings.getChannelNotificationMode('Hiking Group'),
ChannelNotificationMode.mentionsOnly,
);
expect(
settings.getChannelNotificationMode('Noisy'),
ChannelNotificationMode.muted,
);
expect(
settings.getChannelNotificationMode('Public'),
ChannelNotificationMode.all,
);
});
test('setting a channel back to all drops its stored mode', () async {
final settings = AppSettingsService();
await settings.loadSettings();
await settings.setChannelNotificationMode(
'Public',
ChannelNotificationMode.muted,
);
await settings.setChannelNotificationMode(
'Public',
ChannelNotificationMode.all,
);
expect(settings.settings.channelNotificationModes, isEmpty);
});
test('the review scope never adopts legacy unscoped data', () async {
await PrefsManager.instance.setString('contacts', '[]');
await beginReviewModeSession(null);
+1 -1
View File
@@ -1,5 +1,5 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/screens/map_screen.dart';
import 'package:meshcore_open/helpers/marker_message.dart';
void main() {
test('parseMarkerText accepts in-range coordinates', () {
+107
View File
@@ -0,0 +1,107 @@
import 'dart:convert';
import 'package:flutter_test/flutter_test.dart';
import 'package:http/http.dart' as http;
import 'package:http/testing.dart';
import 'package:meshcore_open/services/node_banner_service.dart';
import 'package:meshcore_open/storage/prefs_manager.dart';
import 'package:shared_preferences/shared_preferences.dart';
const _record =
'v=1;on=1;url=https%3A%2F%2Fshop.example.com%2Fnode%3Fref%3Da%26b%3Dc;'
'title=Need%20a%20node%3F';
String _doh(String data, {int status = 0, int ttl = 300}) => jsonEncode({
'Status': status,
'Answer': [
{'name': '_banner.meshcoreopen.org', 'type': 16, 'TTL': ttl, 'data': data},
],
});
void main() {
setUp(() async {
SharedPreferences.setMockInitialValues({});
PrefsManager.reset();
await PrefsManager.initialize();
});
group('NodeBannerConfig.parse', () {
test('reads the link and decodes text overrides', () {
final config = NodeBannerConfig.parse(_record)!;
expect(config.url.toString(), 'https://shop.example.com/node?ref=a&b=c');
expect(config.title, 'Need a node?');
expect(config.body, isNull);
expect(config.action, isNull);
});
test('accepts plain-text values', () {
final config = NodeBannerConfig.parse(
'v=1;on=1;url=https://shop.example.com/node?ref=a&b=c;'
'title=Need a new node?;body=Waterproof, 50% off this week.;'
'cta=Get one here',
)!;
expect(config.url.toString(), 'https://shop.example.com/node?ref=a&b=c');
expect(config.title, 'Need a new node?');
expect(config.body, 'Waterproof, 50% off this week.');
expect(config.action, 'Get one here');
});
test('is off for on=0, unknown versions, and non-https links', () {
expect(
NodeBannerConfig.parse(_record.replaceAll('on=1', 'on=0')),
isNull,
);
expect(NodeBannerConfig.parse(_record.replaceAll('v=1', 'v=2')), isNull);
expect(NodeBannerConfig.parse('v=1;on=1;url=http%3A%2F%2Fx.com'), isNull);
expect(NodeBannerConfig.parse('v=1;on=1'), isNull);
expect(NodeBannerConfig.parse('v=1;on=1;url=%E0%A4%A'), isNull);
});
});
test('joins split TXT character-strings and unescapes them', () {
final answer = NodeBannerService.txtFromDohJson(
_doh(r'"v=1;on=1;url=https%3A%2F%2Fa.com" ";title=Say \"hi\""'),
)!;
expect(answer.text, 'v=1;on=1;url=https%3A%2F%2Fa.com;title=Say "hi"');
expect(answer.ttl, 300);
});
test('no record or NXDOMAIN gives no answer', () {
expect(NodeBannerService.txtFromDohJson(jsonEncode({'Status': 3})), isNull);
expect(NodeBannerService.txtFromDohJson(jsonEncode({'Status': 0})), isNull);
});
test('load queries Cloudflare DoH and caches for the TTL', () async {
var calls = 0;
var now = DateTime(2026, 1, 1);
final client = MockClient((request) async {
calls++;
expect(request.url.host, 'cloudflare-dns.com');
expect(request.url.queryParameters['name'], '_banner.meshcoreopen.org');
expect(request.url.queryParameters['type'], 'TXT');
expect(request.headers['accept'], 'application/dns-json');
return http.Response(_doh('"$_record"'), 200);
});
final service = NodeBannerService(client: client, now: () => now);
expect((await service.load())?.title, 'Need a node?');
expect((await service.load())?.title, 'Need a node?');
expect(calls, 1);
now = now.add(const Duration(minutes: 6));
await service.load();
expect(calls, 2);
});
test('load returns null when the lookup fails', () async {
final failing = NodeBannerService(
client: MockClient((_) async => throw http.ClientException('offline')),
);
expect(await failing.load(), isNull);
final serverError = NodeBannerService(
client: MockClient((_) async => http.Response('', 503)),
);
expect(await serverError.load(), isNull);
});
}
+45
View File
@@ -0,0 +1,45 @@
import 'dart:ui';
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/helpers/gif_helper.dart';
import 'package:meshcore_open/helpers/reaction_helper.dart';
import 'package:meshcore_open/l10n/app_localizations.dart';
import 'package:meshcore_open/services/notification_service.dart';
import 'package:meshcore_open/services/received_image_store.dart';
import 'package:meshcore_open/widgets/marker_label_dialog.dart';
void main() {
final l10n = lookupAppLocalizations(const Locale('en'));
String format(String text) =>
NotificationService.formatNotificationText(text, l10n);
test('shared locations show a summary instead of coordinates', () {
expect(
format(formatMarkerText(45.5, -122.6, 'Camp', 'poi')),
'Shared a location: Camp',
);
expect(
format(formatMarkerText(45.5, -122.6, '', 'poi')),
'Shared a location',
);
});
test('reactions, GIFs and images are summarized', () {
expect(
format(ReactionHelper.encodeReaction('ab12', '00')),
startsWith('Reacted '),
);
expect(format('👍\nabcd2345'), 'Reacted 👍');
expect(format(GifHelper.encodeGif('xT9IgG50Fb7Mi0prBC')), 'Sent a GIF');
expect(
format('https://media.giphy.com/media/xT9IgG50Fb7Mi0prBC/giphy.gif'),
'Sent a GIF',
);
expect(format(ReceivedImageRef.encode('0a1b2c3d4e5f60')), 'Sent an image');
});
test('plain text is unchanged', () {
expect(format('see you at m:ain street'), 'see you at m:ain street');
expect(format('hello'), 'hello');
});
}
@@ -61,30 +61,34 @@ int _readIntOption(Socket socket, int level, int option) {
}
void main() {
test('connect enables TCP keepalive with short probe timings', () async {
final server = await ServerSocket.bind(InternetAddress.loopbackIPv4, 0);
final overrides = _CapturingConnectOverrides();
final service = TcpTransportService();
try {
await IOOverrides.runZoned(
() => service.connect(
host: InternetAddress.loopbackIPv4.address,
port: server.port,
),
socketConnect: overrides.socketConnect,
);
final socket = overrides.socket!;
// Linux values: SO_KEEPALIVE 9, TCP_KEEPIDLE 4, TCP_KEEPINTVL 5,
// TCP_KEEPCNT 6.
expect(_readIntOption(socket, RawSocketOption.levelSocket, 9), 1);
expect(_readIntOption(socket, RawSocketOption.levelTcp, 4), 30);
expect(_readIntOption(socket, RawSocketOption.levelTcp, 5), 10);
expect(_readIntOption(socket, RawSocketOption.levelTcp, 6), 3);
} finally {
await service.disconnect();
await server.close();
}
}, skip: Platform.isLinux ? false : 'Option numbers checked are Linux ones');
test(
'connect enables TCP keepalive with short probe timings',
() async {
final server = await ServerSocket.bind(InternetAddress.loopbackIPv4, 0);
final overrides = _CapturingConnectOverrides();
final service = TcpTransportService();
try {
await IOOverrides.runZoned(
() => service.connect(
host: InternetAddress.loopbackIPv4.address,
port: server.port,
),
socketConnect: overrides.socketConnect,
);
final socket = overrides.socket!;
// Linux values: SO_KEEPALIVE 9, TCP_KEEPIDLE 4, TCP_KEEPINTVL 5,
// TCP_KEEPCNT 6.
expect(_readIntOption(socket, RawSocketOption.levelSocket, 9), 1);
expect(_readIntOption(socket, RawSocketOption.levelTcp, 4), 30);
expect(_readIntOption(socket, RawSocketOption.levelTcp, 5), 10);
expect(_readIntOption(socket, RawSocketOption.levelTcp, 6), 3);
} finally {
await service.disconnect();
await server.close();
}
},
skip: Platform.isLinux ? false : 'Option numbers checked are Linux ones',
);
test('connect/disconnect updates TCP transport state', () async {
final server = await ServerSocket.bind(InternetAddress.loopbackIPv4, 0);
+43 -2
View File
@@ -1,13 +1,18 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/l10n/app_localizations.dart';
import 'package:meshcore_open/services/node_banner_service.dart';
import 'package:meshcore_open/widgets/get_node_banner.dart';
final _config = NodeBannerConfig(url: Uri.parse('https://example.com/node'));
void main() {
Future<void> pumpBanner(
WidgetTester tester, {
required Size size,
required double textScale,
NodeBannerConfig? config,
bool hidden = false,
}) async {
tester.view.physicalSize = size;
tester.view.devicePixelRatio = 1;
@@ -21,7 +26,11 @@ void main() {
size: size,
textScaler: TextScaler.linear(textScale),
),
child: const Scaffold(bottomNavigationBar: GetNodeBanner()),
child: Scaffold(
bottomNavigationBar: GetNodeBanner(
loadConfig: () async => hidden ? null : config ?? _config,
),
),
),
),
);
@@ -29,11 +38,11 @@ void main() {
testWidgets('shows the pitch and affiliate link', (tester) async {
await pumpBanner(tester, size: const Size(390, 844), textScale: 1);
await tester.pump();
expect(find.text('Need a new node?'), findsOneWidget);
expect(find.text('Get one here'), findsOneWidget);
expect(find.textContaining('Affiliate link'), findsOneWidget);
expect(getNodeUrl, contains('sensecap_affiliate=JFWID0g'));
// Leaves most of the screen for the device list.
expect(
tester.getSize(find.byType(GetNodeBanner)).height,
@@ -43,6 +52,38 @@ void main() {
testWidgets('lays out on a narrow phone with large text', (tester) async {
await pumpBanner(tester, size: const Size(320, 800), textScale: 1.5);
await tester.pump();
expect(tester.takeException(), isNull);
});
testWidgets('uses text overrides from the record', (tester) async {
await pumpBanner(
tester,
size: const Size(390, 844),
textScale: 1,
config: NodeBannerConfig(
url: Uri.parse('https://example.com'),
title: 'Spring sale',
action: 'Shop now',
),
);
await tester.pump();
expect(find.text('Spring sale'), findsOneWidget);
expect(find.text('Shop now'), findsOneWidget);
expect(find.textContaining('Affiliate link'), findsOneWidget);
});
testWidgets('shows nothing when there is no config', (tester) async {
await pumpBanner(
tester,
size: const Size(390, 844),
textScale: 1,
hidden: true,
);
await tester.pump();
expect(find.byType(InkWell), findsNothing);
expect(tester.getSize(find.byType(GetNodeBanner)).height, 0);
});
}
+408 -17
View File
@@ -1,5 +1,6 @@
{
"bg": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -14,12 +15,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"de": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -34,12 +58,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"es": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -54,12 +101,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"fr": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -74,12 +144,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"hu": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -94,12 +187,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"it": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -114,12 +230,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"ja": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -134,12 +273,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"ko": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -154,12 +316,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"nl": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -174,12 +359,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"pl": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -194,12 +402,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"pt": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -214,12 +445,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"ru": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -234,12 +488,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"sk": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -254,12 +531,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"sl": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -274,12 +574,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"sv": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -294,12 +617,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"uk": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -314,12 +660,35 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
],
"zh": [
"settings_pathHashModeNotApplied",
"appSettings_ipfsImageLinks",
"appSettings_ipfsImageLinksSubtitle",
"appSettings_publicIpfsGateway",
@@ -334,8 +703,30 @@
"appSettings_uploadIpfsEndpointSubtitle",
"appSettings_uploadIpfsApiKey",
"appSettings_ipfsImageLinksDescription",
"contacts_removeAutoAddNote",
"contacts_removeFailed",
"channels_notificationModeTooltip",
"chat_sendImageIpfs",
"chat_ipfsUploadFailed",
"chat_ipfsUploadNotConfigured"
"chat_ipfsUploadNotConfigured",
"map_pathTraceAddMoreHint",
"map_pathTraceModeRoundTrip",
"map_pathTraceModeRoundTripHint",
"map_pathTraceModeAsEntered",
"map_pathTraceModeAsEnteredHint",
"map_pathTraceViewLast",
"notification_lowBatteryTitle",
"notification_lowBatteryBody",
"notification_sharedLocation",
"notification_sharedLocationNamed",
"notification_reacted",
"notification_sentGif",
"notification_sentImage",
"snrIndicator_unknownRepeater",
"snrIndicator_unknownRepeaterHint",
"contacts_keyPrefixSemantics",
"networkMap_sourceLocalHint",
"networkMap_sourceOnlineHint",
"networkMap_sourceBothHint"
]
}