diff --git a/README.md b/README.md index 8c2096c5..42ad8800 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ MeshCore Open is a cross-platform mobile application for communicating with Mesh Get it on Obtainium +The [web client](https://meshcoreopen.org/install/web/) runs in Chromium (Chrome, Edge, Brave) over Web Bluetooth or Web Serial. Firefox and Safari do not support those APIs. TCP on the web needs a websocket bridge. + ## Screenshots @@ -131,6 +133,16 @@ MeshCore Open is a cross-platform mobile application for communicating with Mesh flutter run ``` +### Web (self-host) + +Use a Chromium browser. Device APIs are origin-gated, so serve the build over HTTPS. + +```bash +flutter build web --release +``` + +Then serve `build/web/` from your own host. See [install/web](https://meshcoreopen.org/install/web/) for browser support and caveats. + ### Building for Release **Android APK:** diff --git a/lib/connector/meshcore_connector.dart b/lib/connector/meshcore_connector.dart index d3d16f4d..6edcbe4e 100644 --- a/lib/connector/meshcore_connector.dart +++ b/lib/connector/meshcore_connector.dart @@ -58,6 +58,7 @@ import '../utils/battery_utils.dart'; import '../utils/platform_info.dart'; import 'meshcore_uuids.dart'; import 'meshcore_protocol.dart'; +import 'pending_command_replies.dart'; class DirectRepeater { static const int maxAgeMinutes = 30; // Max age for direct repeater info @@ -215,7 +216,9 @@ class MeshCoreConnector extends ChangeNotifier { final Map> _conversations = {}; final Map> _channelMessages = {}; final List _pendingChannelSentQueue = []; - final List<_PendingCommandAck> _pendingGenericAckQueue = []; + final PendingCommandReplies _pendingGenericAckQueue = PendingCommandReplies( + staleAfter: _commandAckTimeout * 2, + ); static const String _reactionSendQueuePrefix = '__reaction_send__'; int _reactionSendQueueSequence = 0; final Set _loadedConversationKeys = {}; @@ -265,6 +268,7 @@ class MeshCoreConnector extends ChangeNotifier { double? _selfLongitude; final List _directRepeaters = List.empty(growable: true); bool _isLoadingContacts = false; + DateTime? _contactSyncRequestedAt; bool _hasLoadedContacts = false; bool _isLoadingChannels = false; bool _hasLoadedChannels = false; @@ -316,6 +320,12 @@ class MeshCoreConnector extends ChangeNotifier { bool _autoAddRoomServers = false; bool _autoAddSensors = false; bool _overwriteOldest = false; + int? _autoAddMaxHops; + bool _deviceConfigRequested = false; + List? _allowedRepeatFreqRanges; + bool _contactsStorageFull = false; + final StreamController _contactsFullController = + StreamController.broadcast(); bool _manualAddContacts = false; int _telemetryModeBase = 0; int _telemetryModeLoc = 0; @@ -370,6 +380,9 @@ class MeshCoreConnector extends ChangeNotifier { MessageRetryService? _retryService; PathHistoryService? _pathHistoryService; AppSettingsService? _appSettingsService; + + double get _initialRouteWeight => + _appSettingsService?.settings.initialRouteWeight ?? 1.0; BackgroundService? _backgroundService; final NotificationService _notificationService = NotificationService(); BleDebugLogService? _bleDebugLogService; @@ -390,6 +403,7 @@ class MeshCoreConnector extends ChangeNotifier { final Map _channelUrlImagesEnabled = {}; final Map _channelCyr2LatProfileId = {}; final Map _channelRegions = {}; + Region _defaultRegion = ''; bool _lastSentWasCliCommand = false; // Track if last sent message was a CLI command final Map _contactSmazEnabled = {}; @@ -535,6 +549,28 @@ class MeshCoreConnector extends ChangeNotifier { bool? get autoAddRoomServers => _autoAddRoomServers; bool? get autoAddSensors => _autoAddSensors; bool? get autoAddOverwriteOldest => _overwriteOldest; + + /// 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; + + /// CMD_GET/SET_AUTOADD_CONFIG exist from companion v1.12.0 (ver code 8). + bool get supportsAutoAddConfig => (_firmwareVerCode ?? 0) >= 8; + + /// CMD_GET_ALLOWED_REPEAT_FREQ exists from ver code 9 (client repeat). + bool get supportsAllowedRepeatFreq => (_firmwareVerCode ?? 0) >= 9; + + /// Frequency ranges (kHz, inclusive) on which the firmware accepts client + /// repeat mode. Null until RESP_ALLOWED_REPEAT_FREQ has been received. + List? get allowedRepeatFreqRanges => + _allowedRepeatFreqRanges; + + /// True after PUSH_CODE_CONTACTS_FULL: the firmware could not store a new + /// contact. Cleared when a contact is removed or deleted. + bool get contactsStorageFull => _contactsStorageFull; + + /// Fires on each PUSH_CODE_CONTACTS_FULL. + Stream get contactsFullEvents => _contactsFullController.stream; int get telemetryModeBase => _telemetryModeBase; int get telemetryModeLoc => _telemetryModeLoc; int get telemetryModeEnv => _telemetryModeEnv; @@ -820,6 +856,19 @@ class MeshCoreConnector extends ChangeNotifier { return _channelRegions[channelIndex] ?? ''; } + Region get defaultRegion => _defaultRegion; + + Region getEffectiveChannelRegion(int channelIndex) { + final region = getChannelRegion(channelIndex); + return region.isNotEmpty ? region : _defaultRegion; + } + + Future setDefaultRegion(Region region) async { + _defaultRegion = region; + notifyListeners(); + await _channelRegionStore.saveDefaultRegion(region); + } + void ensureContactSmazSettingLoaded(String contactKeyHex) { _ensureContactSmazSettingLoaded(contactKeyHex); } @@ -1176,6 +1225,7 @@ class MeshCoreConnector extends ChangeNotifier { _channelCyr2LatEnabled.clear(); _channelUrlImagesEnabled.clear(); _channelRegions.clear(); + _defaultRegion = _channelRegionStore.loadDefaultRegion(); final channelCount = maxChannels ?? _maxChannels; for (int i = 0; i < channelCount; i++) { _channelSmazEnabled[i] = await _channelSettingsStore.loadSmazEnabled(i); @@ -1282,10 +1332,13 @@ class MeshCoreConnector extends ChangeNotifier { int attempt, int timestampSeconds, ) async { - if (!isConnected || text.isEmpty) return; + if (!isConnected) throw StateError('Not connected'); + if (text.isEmpty) throw ArgumentError('Empty message text'); try { await _waitForRadioQuiet(lastInboundRxTime: _lastContactMsgRxTime); final outboundText = prepareContactOutboundText(contact, text); + // Wait for SENT so an ERR (unknown contact, packet pool full, text too + // long for this attempt) fails the message instead of timing out. await sendFrame( buildSendTextMsgFrame( contact.publicKey, @@ -1293,9 +1346,13 @@ class MeshCoreConnector extends ChangeNotifier { attempt: attempt, timestampSeconds: timestampSeconds, ), + waitForGenericAck: true, ); + } on TimeoutException catch (e) { + appLogger.warn('No SENT reply for message: $e', tag: 'Connector'); } catch (e) { appLogger.error('Failed to send message: $e', tag: 'Connector'); + rethrow; } } @@ -1835,6 +1892,7 @@ class MeshCoreConnector extends ChangeNotifier { ); _setState(MeshCoreConnectionState.connected); + unawaited(_backgroundService?.start()); _pendingInitialChannelSync = true; _pendingInitialQueuedMessageSync = true; _pendingInitialContactsSync = true; @@ -1959,6 +2017,7 @@ class MeshCoreConnector extends ChangeNotifier { ); _setState(MeshCoreConnectionState.connected); + unawaited(_backgroundService?.start()); _pendingInitialChannelSync = true; _pendingInitialQueuedMessageSync = true; _pendingInitialContactsSync = true; @@ -2001,6 +2060,9 @@ class MeshCoreConnector extends ChangeNotifier { } } + @visibleForTesting + void handleFrameForTest(List data) => _handleFrame(data); + @visibleForTesting static bool shouldIgnoreLateTcpConnectError({ required bool manualDisconnect, @@ -2412,6 +2474,9 @@ class MeshCoreConnector extends ChangeNotifier { _pendingInitialChannelSync = true; } await _startBleInitialSync(); + if (_selfPublicKey != null) { + _reconnectAttempts = 0; + } } catch (e) { _appDebugLogService?.error('Connection error: $e', tag: 'BLE Connect'); final errorText = e.toString(); @@ -2752,7 +2817,6 @@ class MeshCoreConnector extends ChangeNotifier { void _cancelReconnectTimer() { _reconnectTimer?.cancel(); _reconnectTimer = null; - _reconnectAttempts = 0; } int _nextReconnectDelayMs() { @@ -2852,11 +2916,17 @@ class MeshCoreConnector extends ChangeNotifier { if (manual) { _manualDisconnect = true; _cancelReconnectTimer(); + _reconnectAttempts = 0; unawaited(_backgroundService?.stop()); } else { _manualDisconnect = false; + // Only BLE reconnects on its own; nothing keeps TCP/USB alive. + if (transportAtDisconnect != MeshCoreTransportType.bluetooth) { + unawaited(_backgroundService?.stop()); + } } _setState(MeshCoreConnectionState.disconnecting); + _retryService?.failAllPending(); _stopBatteryPolling(); _stopRadioStatsPolling(); @@ -2925,6 +2995,9 @@ class MeshCoreConnector extends ChangeNotifier { _clientRepeat = null; _rememberedNonRepeatRadioState = null; _firmwareVerCode = null; + _allowedRepeatFreqRanges = null; + _autoAddMaxHops = null; + _contactsStorageFull = false; _batteryMillivolts = null; _repeaterBatterySnapshots.clear(); _batteryRequested = false; @@ -2960,11 +3033,11 @@ class MeshCoreConnector extends ChangeNotifier { } _bleDebugLogService?.logFrame(data, outgoing: true); - final pendingAck = _trackPendingGenericAck( + final pendingAck = _pendingGenericAckQueue.track( data, channelSendQueueId: channelSendQueueId, - expectsGenericAck: expectsGenericAck || waitForGenericAck, - waitForAck: waitForGenericAck, + expectsOk: expectsGenericAck || waitForGenericAck, + waitForReply: waitForGenericAck, ); try { @@ -3003,7 +3076,7 @@ class MeshCoreConnector extends ChangeNotifier { try { await pendingAck!.completer!.future.timeout(const Duration(seconds: 5)); } on TimeoutException { - _pendingGenericAckQueue.remove(pendingAck); + _pendingGenericAckQueue.remove(pendingAck!); throw TimeoutException( 'Timed out waiting for firmware acknowledgement', ); @@ -3025,10 +3098,16 @@ class MeshCoreConnector extends ChangeNotifier { timer.cancel(); return; } - unawaited(requestBatteryStatus(force: true)); + unawaited( + requestBatteryStatus(force: true).catchError(_logTimerSendError), + ); }); } + void _logTimerSendError(Object error) { + _appDebugLogService?.warn('Periodic send failed: $error', tag: 'Connector'); + } + void _stopBatteryPolling() { _batteryPollTimer?.cancel(); _batteryPollTimer = null; @@ -3044,7 +3123,7 @@ class MeshCoreConnector extends ChangeNotifier { _gpsLocationPollTimer = null; return; } - unawaited(sendFrame(buildAppStartFrame())); + unawaited(sendFrame(buildAppStartFrame()).catchError(_logTimerSendError)); }); } @@ -3100,9 +3179,42 @@ class MeshCoreConnector extends ChangeNotifier { } catch (_) {} } + /// Sends CMD_SET_RADIO_PARAMS (same arguments as [buildSetRadioParamsFrame]) + /// and waits for the reply. Returns false when the firmware rejects it with + /// ERR_ILLEGAL_ARG (values out of range, or [clientRepeat] on a frequency + /// outside [allowedRepeatFreqRanges]) or does not answer in time. + Future setRadioParams( + int freqHz, + int bwHz, + int sf, + int cr, { + bool? clientRepeat, + }) async { + if (!isConnected) return false; + try { + await sendFrame( + buildSetRadioParamsFrame( + freqHz, + bwHz, + sf, + cr, + clientRepeat: clientRepeat, + ), + waitForGenericAck: true, + ); + return true; + } catch (e) { + _appDebugLogService?.warn( + 'SET_RADIO_PARAMS rejected: $e', + tag: 'Connector', + ); + return false; + } + } + Future setPathHashMode(int mode) async { if (!isConnected) return; - final clampedMode = mode.clamp(0, 3).toInt(); + final clampedMode = mode.clamp(0, 2).toInt(); await sendFrame(buildSetPathHashModeFrame(clampedMode)); final nextWidth = clampedMode + 1; if (_pathHashByteWidth != nextWidth) { @@ -3116,17 +3228,21 @@ class MeshCoreConnector extends ChangeNotifier { return _isPathLenValidForMode(pathLen, pathBytes, _pathHashByteWidth); } - int? _encodePathLenForCurrentMode(int pathLen, List pathBytes) { + int? _encodePathLenForWidth( + int pathLen, + List pathBytes, + int pathHashWidth, + ) { if (pathLen < 0 || pathLen == 0xFF) return pathLen; - if (!_isPathLenValidForCurrentMode(pathLen, pathBytes)) { + if (!_isPathLenValidForMode(pathLen, pathBytes, pathHashWidth)) { appLogger.warn( 'Invalid path_len for mode: pathLen=$pathLen, ' - 'bytesLen=${pathBytes.length}, width=$_pathHashByteWidth', + 'bytesLen=${pathBytes.length}, width=$pathHashWidth', tag: 'Connector', ); return null; } - final mode = (_pathHashByteWidth - 1) & 0x03; + final mode = (pathHashWidth - 1) & 0x03; return (pathLen & 0x3F) | (mode << 6); } @@ -3148,7 +3264,8 @@ class MeshCoreConnector extends ChangeNotifier { await sendFrame(buildAppStartFrame()); await requestBatteryStatus(force: true); await sendFrame(buildGetCustomVarsFrame()); - await sendFrame(buildGetAutoAddFlagsFrame()); + _deviceConfigRequested = false; + _maybeRequestDeviceConfig(); _scheduleSelfInfoRetry(); } @@ -3171,10 +3288,35 @@ class MeshCoreConnector extends ChangeNotifier { await sendFrame(buildAppStartFrame()); await sendFrame(buildGetCustomVarsFrame()); await requestBatteryStatus(); - await sendFrame(buildGetAutoAddFlagsFrame()); + _deviceConfigRequested = false; + _maybeRequestDeviceConfig(); _scheduleSelfInfoRetry(); } + /// Version-gated config queries, sent once the firmware version (DEVICE_INFO) + /// and SELF_INFO (which the auto-add reply handler relies on) are known. + void _maybeRequestDeviceConfig() { + if (_deviceConfigRequested || + !isConnected || + _firmwareVerCode == null || + _selfPublicKey == null) { + return; + } + _deviceConfigRequested = true; + if (supportsAutoAddConfig) { + unawaited( + sendFrame(buildGetAutoAddFlagsFrame()).catchError(_logTimerSendError), + ); + } + if (supportsAllowedRepeatFreq) { + unawaited( + sendFrame( + buildGetAllowedRepeatFreqFrame(), + ).catchError(_logTimerSendError), + ); + } + } + void _scheduleSelfInfoRetry() { _selfInfoRetryTimer?.cancel(); if (PlatformInfo.isWeb && @@ -3192,7 +3334,9 @@ class MeshCoreConnector extends ChangeNotifier { return; } attempts += 1; - unawaited(sendFrame(buildAppStartFrame())); + unawaited( + sendFrame(buildAppStartFrame()).catchError(_logTimerSendError), + ); if (attempts >= maxAttempts) { timer.cancel(); } @@ -3210,7 +3354,7 @@ class MeshCoreConnector extends ChangeNotifier { timer.cancel(); return; } - unawaited(sendFrame(buildAppStartFrame())); + unawaited(sendFrame(buildAppStartFrame()).catchError(_logTimerSendError)); }); } @@ -3219,16 +3363,28 @@ class MeshCoreConnector extends ChangeNotifier { (c) => c.publicKeyHex == contact.publicKeyHex, orElse: () => contact, ); + final hasDeviceLocation = + contact.latitude != null && contact.longitude != null; return contact.copyWith( rawPacket: tmp.rawPacket, - latitude: tmp.latitude, - longitude: tmp.longitude, + latitude: hasDeviceLocation ? contact.latitude : tmp.latitude, + longitude: hasDeviceLocation ? contact.longitude : tmp.longitude, ); } Future getContacts({int? since, bool preserveExisting = false}) async { if (!isConnected) return; + // The firmware answers ERR_BAD_STATE while an iteration is running, and + // clearing here would drop the contacts already received. A sync older + // than a minute is assumed lost (e.g. END_OF_CONTACTS never arrived). + final requestedAt = _contactSyncRequestedAt; + if (_isLoadingContacts && + requestedAt != null && + DateTime.now().difference(requestedAt) < const Duration(minutes: 1)) { + return; + } + _contactSyncRequestedAt = DateTime.now(); _isLoadingContacts = true; _preserveContactsOnRefresh = preserveExisting; _contactSyncTotal = null; @@ -3240,7 +3396,13 @@ class MeshCoreConnector extends ChangeNotifier { } notifyListeners(); - await sendFrame(buildGetContactsFrame(since: since)); + try { + await sendFrame(buildGetContactsFrame(since: since)); + } catch (_) { + _isLoadingContacts = false; + notifyListeners(); + rethrow; + } } Future refreshContacts() async { @@ -3336,11 +3498,14 @@ class MeshCoreConnector extends ChangeNotifier { } } + /// [pathHashWidth] defaults to the width implied by [customPath], falling + /// back to the radio's current mode (e.g. for zero-hop paths). Future setContactPath( Contact contact, Uint8List customPath, - int pathLen, - ) async { + int pathLen, { + int? pathHashWidth, + }) async { // Serialize path operations to prevent interleaved async calls from // leaving in-memory state inconsistent with the device. final prev = _pathOpLock; @@ -3350,7 +3515,12 @@ class MeshCoreConnector extends ChangeNotifier { try { if (!isConnected) return; - final encodedPathLen = _encodePathLenForCurrentMode(pathLen, customPath); + final width = + pathHashWidth ?? + (pathLen > 0 && customPath.length % pathLen == 0 + ? customPath.length ~/ pathLen + : _pathHashByteWidth); + final encodedPathLen = _encodePathLenForWidth(pathLen, customPath, width); if (encodedPathLen == null) { return; } @@ -3362,6 +3532,7 @@ class MeshCoreConnector extends ChangeNotifier { type: contact.type, flags: contact.flags, name: contact.name, + lastAdvert: _deviceLastAdvert(contact), ), ); // USB writes return instantly (no BLE flow control), so give the firmware @@ -3376,6 +3547,7 @@ class MeshCoreConnector extends ChangeNotifier { _contacts[idx] = _contacts[idx].copyWith( pathLength: pathLen, path: customPath, + pathHashWidth: width, ); notifyListeners(); } @@ -3384,6 +3556,15 @@ class MeshCoreConnector extends ChangeNotifier { } } + /// The advert timestamp the firmware holds for [contact] (Contact.lastSeen + /// is parsed from that field); the stored copy is freshest. + DateTime _deviceLastAdvert(Contact contact) { + for (final c in _contacts) { + if (c.publicKeyHex == contact.publicKeyHex) return c.lastSeen; + } + return contact.lastSeen; + } + Future setContactFlags( Contact contact, { bool? isFavorite, @@ -3415,9 +3596,10 @@ class MeshCoreConnector extends ChangeNotifier { : (updatedFlags & ~contactFlagTeleEnv)) : updatedFlags; - final encodedPathLen = _encodePathLenForCurrentMode( + final encodedPathLen = _encodePathLenForWidth( latestContact.pathLength, latestContact.path, + latestContact.pathHashWidth, ); if (encodedPathLen == null) return; await sendFrame( @@ -3428,6 +3610,7 @@ class MeshCoreConnector extends ChangeNotifier { type: latestContact.type, flags: updatedFlags, name: latestContact.name, + lastAdvert: latestContact.lastSeen, ), ); @@ -3440,6 +3623,7 @@ class MeshCoreConnector extends ChangeNotifier { name: latestContact.name, pathLength: latestContact.pathLength, path: latestContact.path, + pathHashWidth: latestContact.pathHashWidth, flags: updatedFlags, ); notifyListeners(); @@ -3637,7 +3821,7 @@ class MeshCoreConnector extends ChangeNotifier { final updated = Contact.fromFrame(frame); if (updated == null) return; if (updated.publicKeyHex != contact.publicKeyHex) return; - final matchesLength = updated.pathLength == expectedLength; + final matchesLength = updated.path.length == expectedLength; final matchesBytes = _pathsEqual(updated.path, expectedPath); if (matchesLength && matchesBytes) { finish(true); @@ -3660,6 +3844,7 @@ class MeshCoreConnector extends ChangeNotifier { String? originalText, String? translatedLanguageCode, String? translationModelId, + ChannelMessage? replyTo, }) async { if (!isConnected || text.isEmpty) return; @@ -3685,27 +3870,29 @@ class MeshCoreConnector extends ChangeNotifier { // Process reaction locally to update the UI immediately appLogger.info('Adding sent channel reaction, id: $reactionIdentifier'); - _processReaction(messages, reactionInfo); - await _channelMessageStore.saveChannelMessages(channel.index, messages); + final reactionApplied = _processReaction(messages, reactionInfo); + if (reactionApplied) { + await _channelMessageStore.saveChannelMessages(channel.index, messages); - // Mark this reaction as processed - _processedChannelReactions[channel.index]!.add(reactionIdentifier); + // Mark this reaction as processed + _processedChannelReactions[channel.index]!.add(reactionIdentifier); - notifyListeners(); + notifyListeners(); - // Send the reaction to the device (don't add as a visible message) - final reactionQueueId = _nextReactionSendQueueId(); - _pendingChannelSentQueue.add(reactionQueueId); - await _runScopedChannelSend(() async { - await _waitForRadioQuiet(lastInboundRxTime: _lastChannelMsgRxTime); - await _sendFrameAndWaitForCommandAck( - buildSendChannelTextMsgFrame(channel.index, text), - channelSendQueueId: reactionQueueId, - expectsGenericAck: true, - successCode: respCodeSent, - ); - }, region: getChannelRegion(channel.index)); - return; + // Send the reaction to the device (don't add as a visible message) + final reactionQueueId = _nextReactionSendQueueId(); + _pendingChannelSentQueue.add(reactionQueueId); + await _runScopedChannelSend(() async { + await _waitForRadioQuiet(lastInboundRxTime: _lastChannelMsgRxTime); + await _sendFrameAndWaitForCommandAck( + buildSendChannelTextMsgFrame(channel.index, text), + channelSendQueueId: reactionQueueId, + ); + }, region: getEffectiveChannelRegion(channel.index)); + return; + } + // It looks like a reaction, but we did not find its target, so + // we continue to process it normally. } final message = ChannelMessage.outgoing( @@ -3715,26 +3902,130 @@ class MeshCoreConnector extends ChangeNotifier { originalText: originalText, translatedLanguageCode: translatedLanguageCode, translationModelId: translationModelId, + replyTo: replyTo, ); _addChannelMessage(channel.index, message); _pendingChannelSentQueue.add(message.messageId); notifyListeners(); final outboundText = prepareChannelOutboundText(channel.index, text); - await _runScopedChannelSend(() async { - await _waitForRadioQuiet(lastInboundRxTime: _lastChannelMsgRxTime); - await _sendFrameAndWaitForCommandAck( - buildSendChannelTextMsgFrame(channel.index, outboundText), - channelSendQueueId: message.messageId, - expectsGenericAck: true, - successCode: respCodeSent, + // Resends reuse the timestamp, so they are the same packet: repeaters + // that already forwarded it drop the copy and recipients see it once. + Future transmit({bool isResend = false}) => + _runScopedChannelSend(() async { + await _waitForRadioQuiet(lastInboundRxTime: _lastChannelMsgRxTime); + await _sendFrameAndWaitForCommandAck( + buildSendChannelTextMsgFrame( + channel.index, + outboundText, + timestamp: message.timestamp.millisecondsSinceEpoch ~/ 1000, + ), + channelSendQueueId: isResend ? null : message.messageId, + ); + }, region: getEffectiveChannelRegion(channel.index)); + await transmit(); + + final settings = _appSettingsService?.settings; + if (settings != null && settings.channelMinHopsEnabled) { + unawaited( + _resendUntilMinHops( + message.messageId, + () => transmit(isResend: true), + minHops: settings.channelMinHops, + maxResends: settings.channelMinHopsRetries, + ), ); - }, region: getChannelRegion(channel.index)); + } } - /// Minimum companion firmware version code that implements - /// CMD_SEND_CHANNEL_DATA (62) / RESP_CODE_CHANNEL_DATA_RECV (27). - static const int _minFirmwareVerCodeForChannelData = 13; + /// How long to listen for a channel message to come back through the mesh + /// before resending it. + static const Duration _channelHopCheckDelay = Duration(seconds: 30); + + /// Resends a channel message until one of its echoes has travelled through + /// at least [minHops] repeaters, then gives up and marks it failed. + Future _resendUntilMinHops( + String messageId, + Future Function() resend, { + required int minHops, + required int maxResends, + }) async { + _channelHopChecks[messageId] = (resends: 0, maxResends: maxResends); + notifyListeners(); + var hops = 0; + try { + for (var attempt = 0; ; attempt++) { + await Future.delayed(_channelHopCheckDelay); + final message = _findChannelMessageById(messageId); + if (message == null) return; + if (message.status == ChannelMessageStatus.failed) return; + hops = message.pathLength ?? 0; + if (hops >= minHops) { + _appDebugLogService?.info( + 'Channel message reached $hops hops after $attempt resends', + tag: 'Channel resend', + ); + return; + } + if (attempt >= maxResends || !isConnected) break; + _appDebugLogService?.info( + 'Heard at $hops of $minHops hops; resending ' + '(${attempt + 1} of $maxResends)', + tag: 'Channel resend', + ); + _channelHopChecks[messageId] = ( + resends: attempt + 1, + maxResends: maxResends, + ); + notifyListeners(); + try { + await resend(); + } catch (e) { + _appDebugLogService?.warn( + 'Channel resend failed: $e', + tag: 'Channel resend', + ); + break; + } + } + _appDebugLogService?.warn( + 'Channel message only heard at $hops of $minHops hops; giving up', + tag: 'Channel resend', + ); + // It was sent and may well have travelled further than we can hear, so + // this is a warning, not a failure. + _channelHopShortfalls[messageId] = (hops: hops, required: minHops); + } finally { + _channelHopChecks.remove(messageId); + notifyListeners(); + } + } + + final Map _channelHopChecks = {}; + final Map _channelHopShortfalls = {}; + + /// Set when resending gave up before hearing the message through enough + /// repeaters. Kept for this session only. + ({int hops, int required})? channelHopShortfall(String messageId) => + _channelHopShortfalls[messageId]; + + /// Resend progress for a channel message still waiting to travel far + /// enough, or null when it is not being watched. + ({int resends, int maxResends})? channelResendProgress(String messageId) => + _channelHopChecks[messageId]; + + ChannelMessage? _findChannelMessageById(String messageId) { + for (final messages in _channelMessages.values) { + for (int i = messages.length - 1; i >= 0; i--) { + if (messages[i].messageId == messageId) return messages[i]; + } + } + return null; + } + + /// Minimum companion firmware version code whose CMD_SEND_CHANNEL_DATA (62) + /// / RESP_CODE_CHANNEL_DATA_RECV (27) layout matches ours (v1.15.0, ver 11). + static const int _minFirmwareVerCodeForChannelData = 11; /// True when the connected device can send/receive GRP_DATA blobs. bool get supportsChannelData => @@ -3759,8 +4050,8 @@ class MeshCoreConnector extends ChangeNotifier { /// too old); throws whatever [_sendFrameAndWaitForCommandAck] throws, i.e. /// Exception('Command failed with error code N') where N is 1 /// (unsupported command), 2 (bad channel index), 3 (packet pool full, worth - /// retrying) or 4 (illegal arg — blob too long), or a TimeoutException after - /// _commandAckTimeout. + /// retrying) or 6 (illegal arg — blob too long or bad data type), or a + /// TimeoutException after _commandAckTimeout. Future sendImageChunks( List blobs, { required int channelIndex, @@ -3792,14 +4083,10 @@ class MeshCoreConnector extends ChangeNotifier { payload: blobs[i], pathLen: outPathUnknown, // 0xFF => flood ), - // Code 62 must not be enrolled in the generic-ack queue, and the - // firmware replies with RESP_CODE_OK (writeOKFrame), not RESP_CODE_SENT. - expectsGenericAck: false, - successCode: respCodeOk, ); onProgress?.call(i + 1, blobs.length); } - }, region: getChannelRegion(channelIndex)); + }, region: getEffectiveChannelRegion(channelIndex)); return sentAll; } @@ -3835,57 +4122,29 @@ class MeshCoreConnector extends ChangeNotifier { } } - // Sends [data] and resolves once the device replies. [successCode] is the - // response code that signals success for this frame: SET_FLOOD_SCOPE replies - // with RESP_CODE_OK, whereas a channel text send replies with RESP_CODE_SENT. - // Waiting for the text send's RESP_CODE_SENT before the scope is reset - // guarantees the firmware has already built the packet with the active scope. + // Sends [data] and resolves once the device replies to this command. + // SET_FLOOD_SCOPE, CMD_SEND_CHANNEL_DATA and CMD_SEND_CHANNEL_TXT_MSG all + // reply with RESP_CODE_OK or an ERR (the firmware never sends RESP_CODE_SENT + // for channel sends). Replies are attributed through the generic-ack queue + // (see [_handleOk] and [_handleErrorFrame]) so an OK/ERR produced by another + // in-flight command cannot complete it. + // Waiting for the text send's reply before the scope is reset guarantees + // the firmware has already built the packet with the active scope. Future _sendFrameAndWaitForCommandAck( Uint8List data, { String? channelSendQueueId, - bool expectsGenericAck = false, - int successCode = respCodeOk, - }) async { - final completer = Completer(); - late final StreamSubscription subscription; - late final Timer timeout; - - void complete() { - if (!completer.isCompleted) completer.complete(); - } - - void completeError(Object error) { - if (!completer.isCompleted) completer.completeError(error); - } - - subscription = receivedFrames.listen((frame) { - if (frame.isEmpty) return; - if (frame[0] == successCode) { - complete(); - } else if (frame[0] == respCodeErr) { - final errCode = frame.length > 1 ? frame[1] : -1; - completeError(Exception('Command failed with error code $errCode')); - } - }); - - timeout = Timer(_commandAckTimeout, () { - completeError(TimeoutException('Command ACK timed out')); - }); - - try { - await sendFrame( - data, - channelSendQueueId: channelSendQueueId, - expectsGenericAck: expectsGenericAck, - ); - await completer.future; - } finally { - timeout.cancel(); - await subscription.cancel(); - } + }) { + return sendFrame( + data, + channelSendQueueId: channelSendQueueId, + waitForGenericAck: true, + ); } - Future removeContact(Contact contact) async { + Future removeContact( + Contact contact, { + bool keepMessages = false, + }) async { if (!isConnected) return; _handleDiscovery( @@ -3895,6 +4154,7 @@ class MeshCoreConnector extends ChangeNotifier { ); await sendFrame(buildRemoveContactFrame(contact.publicKey)); + _contactsStorageFull = false; _contacts.removeWhere((c) => c.publicKeyHex == contact.publicKeyHex); _knownContactKeys.remove(contact.publicKeyHex); unawaited(updateKnownDiscovered()); @@ -3908,7 +4168,7 @@ class MeshCoreConnector extends ChangeNotifier { _unreadStore.saveContactUnreadCount( Map.from(_contactUnreadCount), ); - _messageStore.clearMessages(contact.publicKeyHex); + if (!keepMessages) _messageStore.clearMessages(contact.publicKeyHex); notifyListeners(); } @@ -3939,9 +4199,10 @@ class MeshCoreConnector extends ChangeNotifier { // Manual saves must bypass the firmware's auto-add discovery policy. // CMD_IMPORT_CONTACT replays an advert and may remain discovery-only. - final encodedPathLen = _encodePathLenForCurrentMode( + final encodedPathLen = _encodePathLenForWidth( contact.pathLength, contact.path, + contact.pathHashWidth, ); if (encodedPathLen == null) return false; await sendFrame( @@ -3954,6 +4215,7 @@ class MeshCoreConnector extends ChangeNotifier { name: contact.name, lat: contact.latitude, lon: contact.longitude, + lastAdvert: contact.lastSeen, lastModified: contact.lastSeen, ), waitForGenericAck: true, @@ -3975,9 +4237,10 @@ class MeshCoreConnector extends ChangeNotifier { type: contact.type, pathLength: contact.pathLength, path: contact.path, + pathHashWidth: contact.pathHashWidth, latitude: contact.latitude, longitude: contact.longitude, - lastSeen: DateTime.now(), + lastSeen: contact.lastSeen, flags: contact.flags, ), ); @@ -4403,6 +4666,7 @@ class MeshCoreConnector extends ChangeNotifier { final code = frame[0]; // debugPrint('RX frame: code=$code len=${frame.length}'); + final completedPendingReply = _pendingGenericAckQueue.completeReply(frame); switch (code) { case respCodeOk: @@ -4438,16 +4702,40 @@ class MeshCoreConnector extends ChangeNotifier { notifyListeners(); break; case pushCodeAdvert: - // Known contact was seen again - just a pub key, no action needed + // A stored contact advertised (or was just auto-added): pub key only. + if (frame.length >= 1 + pubKeySize) { + unawaited( + getContactByKey( + Uint8List.fromList(frame.sublist(1, 1 + pubKeySize)), + ).catchError(_logTimerSendError), + ); + } break; case pushCodeNewAdvert: debugPrint('Got New CONTACT'); - // It's the same format as respCodeContact, so we can reuse the handler - _handleContact(frame, isContact: false); + _handleNewAdvert(frame); break; case respCodeContact: debugPrint('Got CONTACT'); - _handleContact(frame); + _handleContact(frame, countTowardSync: !completedPendingReply); + break; + case pushCodeContactDeleted: + _handleContactDeleted(frame); + break; + case pushCodeContactsFull: + _appDebugLogService?.warn( + 'Firmware contact storage is full; new contact not stored', + tag: 'Connector', + ); + _contactsStorageFull = true; + _contactsFullController.add(null); + notifyListeners(); + break; + case respCodeAllowedRepeatFreq: + _allowedRepeatFreqRanges = List.unmodifiable( + parseAllowedRepeatFreqFrame(frame), + ); + notifyListeners(); break; case respCodeEndOfContacts: debugPrint('Got END_OF_CONTACTS'); @@ -4508,6 +4796,8 @@ class MeshCoreConnector extends ChangeNotifier { case respCodeSent: _handleMessageSent(frame); break; + case respCodeExportContact: + break; case respCodeNoMoreMessages: _handleNoMoreMessages(); break; @@ -4566,15 +4856,9 @@ class MeshCoreConnector extends ChangeNotifier { tag: 'Protocol', ); - if (_pendingGenericAckQueue.isEmpty) { - return; - } - - final failedAck = _pendingGenericAckQueue.removeAt(0); - failedAck.completer?.completeError( - Exception('Firmware rejected command with error code $errCode'), - ); - if (failedAck.commandCode != cmdSendChannelTxtMsg || + final failedAck = _pendingGenericAckQueue.takeErr(errCode); + if (failedAck == null || + failedAck.commandCode != cmdSendChannelTxtMsg || failedAck.channelSendQueueId == null) { return; } @@ -4592,7 +4876,10 @@ class MeshCoreConnector extends ChangeNotifier { ); if (contact != null) { - _pathHistoryService!.handlePathUpdated(contact); + _pathHistoryService!.handlePathUpdated( + contact, + initialWeight: _initialRouteWeight, + ); // Refresh just this specific contact instead of all contacts. // This avoids race conditions with _preserveContactsOnRefresh flag // that can occur when using refreshContactsSinceLastmod(). @@ -4718,6 +5005,8 @@ class MeshCoreConnector extends ChangeNotifier { _contactStore.setPublicKeyHex = selfPublicKeyHex; _channelStore.setPublicKeyHex = selfPublicKeyHex; _unreadStore.setPublicKeyHex = selfPublicKeyHex; + _discoveryContactStore.setPublicKeyHex = selfPublicKeyHex; + _pathHistoryService?.setDevicePublicKey(selfPublicKeyHex); // Now that we have self info, we can load all the persisted data for this node _loadChannelOrder(); @@ -4733,6 +5022,7 @@ class MeshCoreConnector extends ChangeNotifier { _awaitingSelfInfo = false; _selfInfoRetryTimer?.cancel(); _selfInfoRetryTimer = null; + _maybeRequestDeviceConfig(); notifyListeners(); // Start the serialized initial sync pipeline after SELF_INFO. @@ -4767,7 +5057,7 @@ class MeshCoreConnector extends ChangeNotifier { // Path hash mode v10+ (byte 81): width = mode + 1 byte(s) per hop final previousPathHashByteWidth = _pathHashByteWidth; if (frame.length >= 82) { - final mode = (frame[81] & 0xFF).clamp(0, 3); + final mode = (frame[81] & 0xFF).clamp(0, 2); _pathHashByteWidth = mode + 1; } else { _pathHashByteWidth = 1; @@ -4799,6 +5089,7 @@ class MeshCoreConnector extends ChangeNotifier { } } } + _maybeRequestDeviceConfig(); notifyListeners(); if (_shouldGateInitialChannelSync) { _maybeStartInitialChannelSync(); @@ -4870,7 +5161,7 @@ class MeshCoreConnector extends ChangeNotifier { // sender prefixes can be resolved against the current contact list. while (_deferredQueuedContactMessageFrames.isNotEmpty) { final frame = _deferredQueuedContactMessageFrames.removeAt(0); - await _handleIncomingMessage(frame); + await _handleIncomingMessage(frame, alreadyAdvancedQueueSync: true); } } finally { _deferQueuedContactMessagesUntilContacts = false; @@ -4944,6 +5235,7 @@ class MeshCoreConnector extends ChangeNotifier { autoAddRoomServer: true, autoAddSensor: true, overwriteOldest: _overwriteOldest, + maxHops: _autoAddMaxHops, ), ); await sendFrame( @@ -4971,7 +5263,6 @@ class MeshCoreConnector extends ChangeNotifier { spreadingFactor: _currentSf!, bandwidthHz: _currentBwHz!, codingRate: cr, - lowDataRateOptimize: _currentSf! >= 11, ); } return 50; // fallback: ~SF7/BW125 for 100 bytes @@ -5053,10 +5344,41 @@ class MeshCoreConnector extends ChangeNotifier { return physicsMax.clamp(0, _hardMaxTimeoutMs); } - void _handleContact(Uint8List frame, {bool isContact = true}) { + /// PUSH_CODE_NEW_ADVERT carries a contact the firmware did NOT store + /// (type not auto-added, beyond autoadd_max_hops, or storage full; + /// BaseChatMesh::onAdvertRecv), so it only feeds the discovered list. + void _handleNewAdvert(Uint8List frame) { + final contact = Contact.fromFrame(frame); + if (contact == null || listEquals(contact.publicKey, _selfPublicKey)) { + return; + } + _handleDiscovery(contact, frame); + notifyListeners(); + } + + /// PUSH_CODE_CONTACT_DELETED: the firmware overwrote this contact to make + /// room for a new one (auto-add overwrite-oldest). + void _handleContactDeleted(Uint8List frame) { + if (frame.length < 1 + pubKeySize) return; + final keyHex = pubKeyToHex( + Uint8List.fromList(frame.sublist(1, 1 + pubKeySize)), + ); + _appDebugLogService?.info( + 'Firmware deleted contact ${keyHex.substring(0, 8)} to make room', + tag: 'Connector', + ); + _contacts.removeWhere((c) => c.publicKeyHex == keyHex); + _knownContactKeys.remove(keyHex); + _contactsStorageFull = false; + unawaited(updateKnownDiscovered()); + unawaited(_persistContacts()); + notifyListeners(); + } + + void _handleContact(Uint8List frame, {bool countTowardSync = true}) { final contactTmp = Contact.fromFrame(frame); if (contactTmp != null) { - if (isContact && _isLoadingContacts) { + if (countTowardSync && _isLoadingContacts) { _contactSyncReceived++; } if (listEquals(contactTmp.publicKey, _selfPublicKey)) { @@ -5120,31 +5442,21 @@ class MeshCoreConnector extends ChangeNotifier { tag: 'Connector', ); } else { - if ((_autoAddUsers && contact.type == advTypeChat) || - (_autoAddRepeaters && contact.type == advTypeRepeater) || - (_autoAddRoomServers && contact.type == advTypeRoom) || - (_autoAddSensors && contact.type == advTypeSensor) || - isContact) { - _contacts.add(contact); - appLogger.info( - 'Added new contact ${contact.name}: pathLen=${contact.pathLength}', - tag: 'Connector', - ); - } else { - appLogger.info( - "Discovered contact ${contact.name} (type ${contact.typeLabelRaw}) not added due to auto-add settings", - tag: 'Connector', - ); - notifyListeners(); - return; - } + _contacts.add(contact); + appLogger.info( + 'Added new contact ${contact.name}: pathLen=${contact.pathLength}', + tag: 'Connector', + ); } _knownContactKeys.add(contact.publicKeyHex); _loadMessagesForContact(contact.publicKeyHex); // Add path to history if we have a valid path if (_pathHistoryService != null && contact.pathLength >= 0) { - _pathHistoryService!.handlePathUpdated(contact); + _pathHistoryService!.handlePathUpdated( + contact, + initialWeight: _initialRouteWeight, + ); } notifyListeners(); @@ -5222,7 +5534,10 @@ class MeshCoreConnector extends ChangeNotifier { // Add path to history if we have a valid path if (_pathHistoryService != null && contact.pathLength >= 0) { - _pathHistoryService!.handlePathUpdated(contact); + _pathHistoryService!.handlePathUpdated( + contact, + initialWeight: _initialRouteWeight, + ); } notifyListeners(); @@ -5353,12 +5668,15 @@ class MeshCoreConnector extends ChangeNotifier { return false; } - Future _handleIncomingMessage(Uint8List frame) async { + Future _handleIncomingMessage( + Uint8List frame, { + bool alreadyAdvancedQueueSync = false, + }) async { if (_selfPublicKey == null) return; // If we're syncing the queued messages, advance the queue immediately // before any potentially long async work (like translation/notifications). - if (_isSyncingQueuedMessages) { + if (_isSyncingQueuedMessages && !alreadyAdvancedQueueSync) { _handleQueuedMessageReceived(); } @@ -5476,9 +5794,6 @@ class MeshCoreConnector extends ChangeNotifier { }()); } } - _handleQueuedMessageReceived(); - } else if (_isSyncingQueuedMessages) { - _handleQueuedMessageReceived(); } } @@ -5568,7 +5883,7 @@ class MeshCoreConnector extends ChangeNotifier { isOutgoing: false, isCli: isCli, status: MessageStatus.delivered, - pathLength: pathLength == 0xFF ? -1 : (pathLength & 0x3F), + pathLength: pathLength == 0xFF ? null : (pathLength & 0x3F), pathBytes: Uint8List(0), fourByteRoomContactKey: roomAuthorPrefix, ); @@ -5839,9 +6154,6 @@ class MeshCoreConnector extends ChangeNotifier { _maybeNotifyChannelMessage(msg, translationResult: translationResult); }()); } - _handleQueuedMessageReceived(); - } else if (_isSyncingQueuedMessages) { - _handleQueuedMessageReceived(); } } @@ -5869,7 +6181,7 @@ class MeshCoreConnector extends ChangeNotifier { if (hash != channelHash) continue; try { final decryptedBytes = _decryptPayload(channel.psk, encrypted); - if (decryptedBytes == null || decryptedBytes.length < 6) return; + if (decryptedBytes == null || decryptedBytes.length < 6) continue; final decrypted = BufferReader(decryptedBytes); final timestampRaw = decrypted.readUInt32LE(); @@ -5974,10 +6286,6 @@ class MeshCoreConnector extends ChangeNotifier { retryService.updateMessageFromSent(ackHash, timeoutMs)) { return; } - - if (_markNextPendingChannelMessageSent()) { - return; - } } catch (e) { appLogger.warn('Error handling message sent frame: $e'); // Fallback to old behavior @@ -5994,19 +6302,6 @@ class MeshCoreConnector extends ChangeNotifier { } } - bool _markNextPendingChannelMessageSent() { - while (_pendingChannelSentQueue.isNotEmpty) { - final queuedMessageId = _pendingChannelSentQueue.removeAt(0); - if (_isReactionSendQueueId(queuedMessageId)) { - return true; - } - if (_markPendingChannelMessageSentById(queuedMessageId)) { - return true; - } - } - return false; - } - bool _markPendingChannelMessageSentById(String messageId) { for (final entry in _channelMessages.entries) { final channelMessages = entry.value; @@ -6058,13 +6353,9 @@ class MeshCoreConnector extends ChangeNotifier { } void _handleOk() { - if (_pendingGenericAckQueue.isEmpty) { - return; - } - - final pendingAck = _pendingGenericAckQueue.removeAt(0); - pendingAck.completer?.complete(); - if (pendingAck.commandCode != cmdSendChannelTxtMsg || + final pendingAck = _pendingGenericAckQueue.takeOk(); + if (pendingAck == null || + pendingAck.commandCode != cmdSendChannelTxtMsg || pendingAck.channelSendQueueId == null) { return; } @@ -6363,27 +6654,39 @@ class MeshCoreConnector extends ChangeNotifier { final isDuplicate = _processedContactReactions[pubKeyHex]!.contains( reactionIdentifier, ); + if (isDuplicate) return; - if (!isDuplicate) { - // New reaction - process it + // New reaction - process it + // For hashing and dup checking, we use null for sender names in + // normal 1:1 chats. This way if we and they have different ideas + // about what their name is, reactions still work. But for reaction + // reports, we want to know who sent what, rather than infer it later, + // so we'll add it to the reactionInfo before storing it. + reactionInfo.senderName ??= message.isOutgoing + ? selfName + : getContactByPubKeyHex(pubKeyHex)?.name ?? '???'; + final reactionApplied = _processContactReaction( + messages, + reactionInfo, + pubKeyHex, + ); + if (reactionApplied) { appLogger.info('Adding reaction, id: $reactionIdentifier'); - // For hashing and dup checking, we use null for sender names in - // normal 1:1 chats. This way if we and they have different ideas - // about what their name is, reactions still work. But for reaction - // reports, we want to know who sent what, rather than infer it later, - // so we'll add it to the reactionInfo before storing it. - reactionInfo.senderName ??= message.isOutgoing - ? selfName - : getContactByPubKeyHex(pubKeyHex)?.name ?? '???'; - _processContactReaction(messages, reactionInfo, pubKeyHex); _messageStore.saveMessages(pubKeyHex, messages); // Mark as processed _processedContactReactions[pubKeyHex]!.add(reactionIdentifier); notifyListeners(); + return; // Don't add reaction as a visible message } - return; // Don't add reaction as a visible message + + // Looks like a reaction, but didn't match any message we have. + // for reactions matching our own format, because those are not very + // informative on their own, but the MC1 format is useful even if + // in raw form, so we'll let those through. + appLogger.info('No match for reaction, id: $reactionIdentifier'); + if (reactionInfo.hashType == HashType.ours) return; } messages.add(message); @@ -6394,7 +6697,7 @@ class MeshCoreConnector extends ChangeNotifier { notifyListeners(); } - void _processContactReaction( + bool _processContactReaction( List messages, ReactionInfo reactionInfo, String contactPubKeyHex, @@ -6402,7 +6705,7 @@ class MeshCoreConnector extends ChangeNotifier { final contact = getContactByPubKeyHex(contactPubKeyHex); final isRoomServer = contact?.type == advTypeRoom; - ReactionHelper.applyReaction( + return ReactionHelper.applyReaction( messages: messages, reactionInfo: reactionInfo, // Incoming reactions in 1:1: match against outgoing messages only @@ -6617,17 +6920,26 @@ class MeshCoreConnector extends ChangeNotifier { reactionIdentifier, ); - if (!isDuplicate) { - // New reaction - process it + if (isDuplicate) return false; + + // New reaction - process it + final reactionApplied = _processReaction(messages, reactionInfo); + if (reactionApplied) { appLogger.info('Adding channel reaction, id: $reactionIdentifier'); - _processReaction(messages, reactionInfo); // Save updated messages _channelMessageStore.saveChannelMessages(channelIndex, messages); // Mark as processed _processedChannelReactions[channelIndex]!.add(reactionIdentifier); + return false; // Don't add reaction as a visible message } - return false; // Don't add reaction as a visible message + // Looks like a reaction, but didn't match any message we have. + // Old behavior is to silently drop these. We'll continue doing that + // for reactions matching our own format, because those are not very + // informative on their own, but the MC1 format is useful even if + // in raw form, so we'll let those through. + appLogger.info('No match for reaction, id: $reactionIdentifier'); + if (reactionInfo.hashType == HashType.ours) return false; } // Parse reply info from message text @@ -6635,13 +6947,15 @@ class MeshCoreConnector extends ChangeNotifier { ChannelMessage processedMessage = message; if (replyInfo != null) { - // Find original message by sender name (most recent match) - final originalMessage = _findMessageBySender( - messages, - replyInfo.mentionedNode, - ); + // Outgoing replies already carry the selected target. The wire format + // only names the sender, so incoming replies fall back to that + // sender's most recent message. + final hasReplyTarget = message.replyToMessageId != null; + final originalMessage = hasReplyTarget + ? null + : _findMessageBySender(messages, replyInfo.mentionedNode); - if (originalMessage != null) { + if (hasReplyTarget || originalMessage != null) { // Create new message with reply metadata processedMessage = ChannelMessage( senderKey: message.senderKey, @@ -6663,9 +6977,11 @@ class MeshCoreConnector extends ChangeNotifier { pathVariants: message.pathVariants, channelIndex: message.channelIndex, messageId: message.messageId, - replyToMessageId: originalMessage.messageId, - replyToSenderName: originalMessage.senderName, - replyToText: originalMessage.text, + replyToMessageId: + message.replyToMessageId ?? originalMessage!.messageId, + replyToSenderName: + message.replyToSenderName ?? originalMessage!.senderName, + replyToText: message.replyToText ?? originalMessage!.text, ); } } @@ -6683,10 +6999,14 @@ class MeshCoreConnector extends ChangeNotifier { existing.pathVariants, processedMessage.pathVariants, ); + final hashWidth = + (existing.pathHashWidth ?? processedMessage.pathHashWidth ?? 1) + .clamp(1, 3) + .toInt(); final mergedPathLength = _mergePathLength( existing.pathLength, processedMessage.pathLength, - mergedPathBytes.length, + mergedPathBytes.length ~/ hashWidth, ); final newRepeatCount = existing.repeatCount + 1; final promotedFromPending = @@ -6729,11 +7049,11 @@ class MeshCoreConnector extends ChangeNotifier { return null; } - void _processReaction( + bool _processReaction( List messages, ReactionInfo reactionInfo, ) { - ReactionHelper.applyReaction( + return ReactionHelper.applyReaction( messages: messages, reactionInfo: reactionInfo, shouldSkip: (_) => false, @@ -6763,37 +7083,53 @@ class MeshCoreConnector extends ChangeNotifier { } } // Second pass: heuristic fallback (outgoing echo, old messages without hash) + int? selfEchoFallback; for (int i = messages.length - 1; i >= 0; i--) { - if (_isChannelRepeat(messages[i], incoming)) { - return i; + final existing = messages[i]; + if (!_isChannelRepeat(existing, incoming)) continue; + if (!existing.isOutgoing) return i; + // Our messages sent within one second share a timestamp. Skip any + // already tied to a different packet, and prefer the one whose text + // matches; the text can differ (reply prefix, cyr2lat), so otherwise + // fall back to the newest. + final existingHash = existing.packetHash; + if (existingHash != null && + incomingHash != null && + existingHash != incomingHash) { + continue; } + if (_sameChannelText(existing.text, incoming.text)) return i; + selfEchoFallback ??= i; } - return -1; + return selfEchoFallback ?? -1; + } + + bool _sameChannelText(String a, String b) { + String strip(String text) => + ChannelMessage.parseReplyMention(text)?.actualMessage ?? text; + return a == b || strip(a) == strip(b); } bool _isChannelRepeat(ChannelMessage existing, ChannelMessage incoming) { - if (existing.text != incoming.text) return false; + // A message we are sending is always new, even if its text matches an + // earlier one. + if (incoming.isOutgoing) return false; - // Self-echo: an outgoing message coming back via a repeater. The send is - // delayed by _waitForRadioQuiet (often 10s+) and propagation can add more, - // so the timestamp gap can easily exceed the cross-peer window. - final selfName = _selfName ?? 'Me'; - final isSelfEcho = - existing.isOutgoing && - !incoming.isOutgoing && - (incoming.senderName == selfName || existing.senderName == selfName); + // Every copy of one packet carries the sender's timestamp, and for our own + // messages that timestamp is the one we put in the send frame. Separate + // sends of the same text therefore differ here, while true repeats match. + final sameSecond = + existing.timestamp.millisecondsSinceEpoch ~/ 1000 == + incoming.timestamp.millisecondsSinceEpoch ~/ 1000; + if (!sameSecond) return false; - final windowMs = isSelfEcho ? 10 * 60 * 1000 : 30000; - final diffMs = - (existing.timestamp.millisecondsSinceEpoch - - incoming.timestamp.millisecondsSinceEpoch) - .abs(); - if (diffMs > windowMs) return false; - - if (existing.senderName == incoming.senderName) return true; - if (isSelfEcho) return true; - - return false; + // Our own echo can read differently from what we stored (a reply keeps its + // @[name] prefix, cyr2lat transliterates), so the timestamp decides. + if (existing.isOutgoing) { + return incoming.senderName == (_selfName ?? 'Me'); + } + return existing.senderName == incoming.senderName && + existing.text == incoming.text; } bool _shouldDropSelfChannelMessage(String senderName, Uint8List pathBytes) { @@ -6887,6 +7223,10 @@ class MeshCoreConnector extends ChangeNotifier { _txCharacteristic = null; // Preserve deviceId and displayName for UI display during reconnection // They're only cleared on manual disconnect via disconnect() method + _selfPublicKey = null; + _awaitingSelfInfo = false; + _selfInfoRetryTimer?.cancel(); + _selfInfoRetryTimer = null; _hasReceivedDeviceInfo = false; _maxContacts = _defaultMaxContacts; _maxChannels = _defaultMaxChannels; @@ -6894,32 +7234,12 @@ class MeshCoreConnector extends ChangeNotifier { _pendingChannelSentQueue.clear(); _pendingGenericAckQueue.clear(); _reactionSendQueueSequence = 0; + _retryService?.failAllPending(); _setState(MeshCoreConnectionState.disconnected); _scheduleReconnect(); } - _PendingCommandAck? _trackPendingGenericAck( - Uint8List data, { - String? channelSendQueueId, - required bool expectsGenericAck, - required bool waitForAck, - }) { - if (!expectsGenericAck || data.isEmpty) return null; - final pendingAck = _PendingCommandAck( - commandCode: data[0], - channelSendQueueId: channelSendQueueId, - completer: waitForAck ? Completer() : null, - ); - if (pendingAck.completer != null) { - // sendFrame awaits this future after transport I/O; attach an error - // handler immediately in case USB returns an error response first. - unawaited(pendingAck.completer!.future.catchError((_) {})); - } - _pendingGenericAckQueue.add(pendingAck); - return pendingAck; - } - String _nextReactionSendQueueId() { _reactionSendQueueSequence++; return '$_reactionSendQueuePrefix$_reactionSendQueueSequence'; @@ -6990,6 +7310,11 @@ class MeshCoreConnector extends ChangeNotifier { if (_disposed) return; if (_state != newState) { _state = newState; + if (newState == MeshCoreConnectionState.connected) { + if (_appSettingsService?.settings.notificationsEnabled ?? false) { + unawaited(_notificationService.requestPermissionsOnce()); + } + } notifyListeners(); } } @@ -7045,6 +7370,7 @@ class MeshCoreConnector extends ChangeNotifier { _radioStatsPollTimer?.cancel(); radioStatsNotifier.dispose(); _receivedFramesController.close(); + _contactsFullController.close(); _usbManager.dispose(); _tcpConnector.dispose(); @@ -7168,6 +7494,7 @@ class MeshCoreConnector extends ChangeNotifier { // Store hop order reversed for easier outgoing messages; keep bytes // inside each multi-byte hop in their original order. path: _reversePathByHop(pathBytes, pathHashWidth), + pathHashWidth: pathHashWidth, latitude: latitude, longitude: longitude, lastSeen: DateTime.fromMillisecondsSinceEpoch(timestamp * 1000), @@ -7253,24 +7580,19 @@ class MeshCoreConnector extends ChangeNotifier { // Store hop order reversed for easier outgoing messages; keep bytes // inside each multi-byte hop in their original order. path: _reversePathByHop(path, pathHashWidth), + pathHashWidth: pathHashWidth, latitude: latitude, longitude: longitude, lastSeen: DateTime.fromMillisecondsSinceEpoch(timestamp * 1000), ); - if ((_autoAddUsers && type == advTypeChat) || + // The firmware decides whether to store it: PUSH_CODE_ADVERT (then + // GET_CONTACT_BY_KEY) adds it to _contacts and notifies. + final mayAutoAdd = + (_autoAddUsers && type == advTypeChat) || (_autoAddRepeaters && type == advTypeRepeater) || (_autoAddRoomServers && type == advTypeRoom) || - (_autoAddSensors && type == advTypeSensor)) { - _handleContactAdvert(newContact); - _handleDiscovery( - newContact, - rawPacket, - noNotify: true, - addActive: true, - ); - } else { - _handleDiscovery(newContact, rawPacket); - } + (_autoAddSensors && type == advTypeSensor); + _handleDiscovery(newContact, rawPacket, noNotify: mayAutoAdd); _updateDirectRepeater( newContact, snr, @@ -7301,6 +7623,7 @@ class MeshCoreConnector extends ChangeNotifier { longitude: hasLocation ? longitude : existing.longitude, name: hasName ? name : existing.name, path: _reversePathByHop(path, pathHashWidth), + pathHashWidth: pathHashWidth, pathLength: path.isEmpty ? -1 : (path.length ~/ pathHashWidth), lastMessageAt: mergedLastMessageAt, lastSeen: DateTime.fromMillisecondsSinceEpoch(timestamp * 1000), @@ -7311,7 +7634,10 @@ class MeshCoreConnector extends ChangeNotifier { // Add path to history if we have a valid path if (_pathHistoryService != null && _contacts[existingIndex].pathLength >= 0) { - _pathHistoryService!.handlePathUpdated(_contacts[existingIndex]); + _pathHistoryService!.handlePathUpdated( + _contacts[existingIndex], + initialWeight: _initialRouteWeight, + ); } _updateDirectRepeater( @@ -7482,6 +7808,7 @@ class MeshCoreConnector extends ChangeNotifier { _autoAddRoomServers = (flags & autoAddRoomServerFlag) != 0; _autoAddSensors = (flags & autoAddSensorFlag) != 0; _overwriteOldest = (flags & autoAddOverwriteOldestFlag) != 0; + _autoAddMaxHops = frame.length > 2 ? frame[2] : null; } catch (e) { appLogger.error('Failed to parse auto-add config: $e', tag: 'Connector'); } @@ -7508,6 +7835,7 @@ class MeshCoreConnector extends ChangeNotifier { type: contact.type, pathLength: contact.pathLength, path: contact.path, + pathHashWidth: contact.pathHashWidth, latitude: contact.latitude, longitude: contact.longitude, lastSeen: contact.lastSeen, @@ -7526,6 +7854,7 @@ class MeshCoreConnector extends ChangeNotifier { type: contact.type, pathLength: contact.pathLength, path: contact.path, + pathHashWidth: contact.pathHashWidth, latitude: contact.latitude, longitude: contact.longitude, lastSeen: contact.lastSeen, @@ -7630,7 +7959,8 @@ bool _isPathLenValidForMode( int pathHashWidth, ) { if (pathLen < 0 || pathLen > 0x3F) return false; - final width = pathHashWidth.clamp(1, 4).toInt(); + if (pathHashWidth < 1 || pathHashWidth > 3) return false; + final width = pathHashWidth; final maxHopCountByBytes = maxPathSize ~/ width; if (pathLen > maxHopCountByBytes) return false; return pathBytes.length <= maxPathSize && pathBytes.length == pathLen * width; @@ -7694,15 +8024,3 @@ class _RepeaterAckContext { required this.messageBytes, }); } - -class _PendingCommandAck { - final int commandCode; - final String? channelSendQueueId; - final Completer? completer; - - _PendingCommandAck({ - required this.commandCode, - this.channelSendQueueId, - this.completer, - }); -} diff --git a/lib/connector/meshcore_protocol.dart b/lib/connector/meshcore_protocol.dart index 82c9473d..c01eb8d1 100644 --- a/lib/connector/meshcore_protocol.dart +++ b/lib/connector/meshcore_protocol.dart @@ -213,6 +213,7 @@ const int cmdGetStats = 56; const int cmdSendAnonReq = 57; const int cmdSetAutoAddConfig = 58; const int cmdGetAutoAddConfig = 59; +const int cmdGetAllowedRepeatFreq = 60; const int cmdSetPathHashMode = 61; // Text message types @@ -262,6 +263,7 @@ const int respCodeChannelMsgRecvV3 = 17; const int respCodeChannelInfo = 18; const int respCodeCustomVars = 21; const int respCodeAutoAddConfig = 25; +const int respCodeAllowedRepeatFreq = 26; const int respCodeStats = 24; const int statsTypeCore = 0; @@ -282,6 +284,8 @@ const int pushCodeNewAdvert = 0x8A; const int pushCodeTelemetryResponse = 0x8B; const int pushCodeBinaryResponse = 0x8C; const int pushCodeControlData = 0x8E; +const int pushCodeContactDeleted = 0x8F; +const int pushCodeContactsFull = 0x90; // Contact/advertisement types const int advTypeChat = 1; @@ -339,6 +343,10 @@ const int maxFrameSize = 172; const int appProtocolVersion = 4; // Matches firmware MAX_TEXT_LEN (10 * CIPHER_BLOCK_SIZE). const int maxTextPayloadBytes = 160; +// From attempt 4 on the firmware appends [0][attempt] to the DM payload, so +// the text must fit in MAX_TEXT_LEN - 2 (BaseChatMesh::composeMsgPacket). +const int maxFullLengthTextAttempt = 3; +const int maxTextPayloadBytesAfterFullLengthAttempts = maxTextPayloadBytes - 2; const int _sendTextMsgOverheadBytes = 1 + 1 + 1 + 4 + 6 + 1 + 2; // +2 safety margin const int _sendChannelTextMsgOverheadBytes = @@ -532,8 +540,12 @@ Uint8List buildSendTextMsgFrame( // Build CMD_SEND_CHANNEL_TXT_MSG frame // Format: [cmd][txt_type][channel_idx][timestamp x4][text...] -Uint8List buildSendChannelTextMsgFrame(int channelIndex, String text) { - final timestamp = DateTime.now().millisecondsSinceEpoch ~/ 1000; +Uint8List buildSendChannelTextMsgFrame( + int channelIndex, + String text, { + int? timestamp, +}) { + timestamp ??= DateTime.now().millisecondsSinceEpoch ~/ 1000; final writer = BufferWriter(); writer.writeByte(cmdSendChannelTxtMsg); writer.writeByte(txtTypePlain); @@ -589,7 +601,7 @@ Uint8List buildGetStatsFrame(int statsType) { /// Path hash width on air: [61][0][mode], mode 0..3 → (mode+1) bytes per hop hash. Uint8List buildSetPathHashModeFrame(int mode) { - final m = mode.clamp(0, 3).toInt(); + final m = mode.clamp(0, 2).toInt(); return Uint8List.fromList([cmdSetPathHashMode, 0, m]); } @@ -713,7 +725,9 @@ Uint8List buildResetPathFrame(Uint8List pubKey) { } // Build CMD_ADD_UPDATE_CONTACT frame to set custom path -// Format: [cmd][pub_key x32][type][flags][path_len][path x64][name x32][Lat? x4, Lon? x4][timestamp? x4] +// Format: [cmd][pub_key x32][type][flags][path_len][path x64][name x32][last_advert x4][Lat? x4, Lon? x4][lastmod? x4] +// The firmware stores last_advert as the contact's replay guard, so it must be +// the contact's own advert timestamp (0 when unknown), never the phone clock. Uint8List buildUpdateContactPathFrame( Uint8List pubKey, Uint8List path, @@ -723,6 +737,7 @@ Uint8List buildUpdateContactPathFrame( String name = '', double? lat, double? lon, + DateTime? lastAdvert, DateTime? lastModified, }) { final writer = BufferWriter(); @@ -737,9 +752,10 @@ Uint8List buildUpdateContactPathFrame( // Name (32 bytes, null-padded) writer.writeCString(name, maxNameSize); - // Timestamp - final timestamp = DateTime.now().millisecondsSinceEpoch ~/ 1000; - writer.writeUInt32LE(timestamp); + final lastAdvertSeconds = lastAdvert == null + ? 0 + : lastAdvert.millisecondsSinceEpoch ~/ 1000; + writer.writeUInt32LE(lastAdvertSeconds.clamp(0, 0xFFFFFFFF).toInt()); // Optional [Lat x4, Lon x4][timestamp x4] tail per the doc comment above. // Emit 8 bytes of position (zero-filled when only lastModified is provided) @@ -777,28 +793,51 @@ Uint8List buildGetAutoAddFlagsFrame() { return Uint8List.fromList([cmdGetAutoAddConfig]); } +Uint8List buildGetAllowedRepeatFreqFrame() { + return Uint8List.fromList([cmdGetAllowedRepeatFreq]); +} + +typedef RepeatFreqRange = ({int lowKHz, int highKHz}); + +// RESP_ALLOWED_REPEAT_FREQ: [code] then [lower_khz u32][upper_khz u32] pairs. +List parseAllowedRepeatFreqFrame(Uint8List frame) { + final ranges = []; + final data = ByteData.sublistView(frame); + for (var i = 1; i + 8 <= frame.length; i += 8) { + ranges.add(( + lowKHz: data.getUint32(i, Endian.little), + highKHz: data.getUint32(i + 4, Endian.little), + )); + } + return ranges; +} + // Calculate LoRa airtime for a packet // Based on Semtech SX127x datasheet formula // Returns airtime in milliseconds +// Preamble defaults to the firmware's per-SF length (32 up to SF8, 16 above, +// RadioLibWrappers.h preambleLengthForSF); LDRO defaults to the RadioLib rule +// (symbol time > 16 ms). int calculateLoRaAirtime({ required int payloadBytes, required int spreadingFactor, required int bandwidthHz, required int codingRate, - int preambleSymbols = 8, - bool lowDataRateOptimize = false, + int? preambleSymbols, + bool? lowDataRateOptimize, bool explicitHeader = true, }) { // Symbol duration (Ts) in milliseconds final symbolDuration = (1 << spreadingFactor) / (bandwidthHz / 1000.0); // Preamble time - final preambleTime = (preambleSymbols + 4.25) * symbolDuration; + final preamble = preambleSymbols ?? (spreadingFactor <= 8 ? 32 : 16); + final preambleTime = (preamble + 4.25) * symbolDuration; // Payload symbol count final headerBytes = explicitHeader ? 0 : 20; final crc = 1; // CRC enabled - final de = lowDataRateOptimize ? 1 : 0; + final de = (lowDataRateOptimize ?? symbolDuration > 16.0) ? 1 : 0; final numerator = 8 * payloadBytes - 4 * spreadingFactor + 28 + 16 * crc - headerBytes; @@ -831,7 +870,6 @@ int calculateMessageTimeout({ spreadingFactor: sf, bandwidthHz: bwHz, codingRate: cr, - lowDataRateOptimize: sf >= 11, ); if (pathLength < 0) { @@ -1004,6 +1042,7 @@ Uint8List buildSetAutoAddConfigFrame({ required bool autoAddRoomServer, required bool autoAddSensor, required bool overwriteOldest, + int? maxHops, }) { final writer = BufferWriter(); writer.writeByte(cmdSetAutoAddConfig); @@ -1014,6 +1053,8 @@ Uint8List buildSetAutoAddConfigFrame({ if (autoAddSensor) flags |= autoAddSensorFlag; if (overwriteOldest) flags |= autoAddOverwriteOldestFlag; writer.writeByte(flags); + // Optional autoadd_max_hops (firmware keeps its value when omitted). + if (maxHops != null) writer.writeByte(maxHops.clamp(0, 64).toInt()); return writer.toBytes(); } diff --git a/lib/connector/pending_command_replies.dart b/lib/connector/pending_command_replies.dart new file mode 100644 index 00000000..43968c02 --- /dev/null +++ b/lib/connector/pending_command_replies.dart @@ -0,0 +1,183 @@ +import 'dart:async'; + +import 'package:flutter/foundation.dart'; + +import '../services/image_chunk_transport.dart' show cmdSendChannelData; +import 'meshcore_protocol.dart'; + +/// A command waiting for its reply from the companion firmware. +class PendingCommandReply { + final int commandCode; + + /// Response code the firmware sends on success (RESP_CODE_OK or a specific + /// RESP_CODE_*). Any command may instead be answered with RESP_CODE_ERR. + final int replyCode; + + /// For GET_CONTACT_BY_KEY: only a CONTACT frame for this key is the reply. + final Uint8List? matchKey; + final String? channelSendQueueId; + final Completer? completer; + final DateTime createdAt = DateTime.now(); + + PendingCommandReply({ + required this.commandCode, + required this.replyCode, + this.matchKey, + this.channelSendQueueId, + this.completer, + }); +} + +/// Success reply for each command whose single reply is OK/ERR or a specific +/// RESP_CODE (companion MyMesh.cpp handleCmdFrame). Commands with no reply +/// (REBOOT) or a multi-code reply (SYNC_NEXT_MESSAGE) are not tracked. +int? replyCodeForCommand(Uint8List data) { + switch (data[0]) { + case cmdSendChannelTxtMsg: + case cmdSetDeviceTime: + case cmdSendSelfAdvert: + case cmdSetAdvertName: + case cmdAddUpdateContact: + case cmdSetRadioParams: + case cmdSetRadioTxPower: + case cmdResetPath: + case cmdSetAdvertLatLon: + case cmdRemoveContact: + case cmdShareContact: + case cmdImportContact: + case cmdSetChannel: + case cmdSetOtherParams: + case cmdSetCustomVar: + case cmdSetFloodScope: + case cmdSendControlData: + case cmdSetAutoAddConfig: + case cmdSetPathHashMode: + case cmdSendChannelData: + return respCodeOk; + case cmdSendTxtMsg: + case cmdSendLogin: + case cmdSendStatusReq: + case cmdSendTracePath: + case cmdSendBinaryReq: + case cmdSendAnonReq: + return respCodeSent; + case cmdSendTelemetryReq: + // The 4-byte 'self' form answers with PUSH_CODE_TELEMETRY_RESPONSE. + return data.length > 4 ? respCodeSent : null; + case cmdAppStart: + return respCodeSelfInfo; + case cmdDeviceQuery: + return respCodeDeviceInfo; + case cmdGetContacts: + return respCodeContactsStart; + case cmdGetContactByKey: + return respCodeContact; + case cmdGetDeviceTime: + return respCodeCurrTime; + case cmdExportContact: + return respCodeExportContact; + case cmdGetBattAndStorage: + return respCodeBattAndStorage; + case cmdGetChannel: + return respCodeChannelInfo; + case cmdGetCustomVar: + return respCodeCustomVars; + case cmdGetStats: + return respCodeStats; + case cmdGetAutoAddConfig: + return respCodeAutoAddConfig; + case cmdGetAllowedRepeatFreq: + return respCodeAllowedRepeatFreq; + } + return null; +} + +/// FIFO of commands awaiting a reply. The firmware handles commands in order +/// and answers each with OK, ERR or a specific RESP_CODE, so an ERR belongs +/// to the oldest pending command and an OK to the oldest one expecting OK. +class PendingCommandReplies { + PendingCommandReplies({required this.staleAfter}); + + /// Entries older than this are dropped so a lost reply cannot swallow a + /// later, unrelated OK/ERR. Awaited entries time out in sendFrame first. + final Duration staleAfter; + final List _queue = []; + + int get length => _queue.length; + + PendingCommandReply? track( + Uint8List data, { + String? channelSendQueueId, + bool expectsOk = false, + bool waitForReply = false, + }) { + if (data.isEmpty) return null; + final replyCode = + replyCodeForCommand(data) ?? (expectsOk ? respCodeOk : null); + if (replyCode == null) return null; + final pending = PendingCommandReply( + commandCode: data[0], + replyCode: replyCode, + matchKey: data[0] == cmdGetContactByKey && data.length >= 1 + pubKeySize + ? Uint8List.fromList(data.sublist(1, 1 + pubKeySize)) + : null, + channelSendQueueId: channelSendQueueId, + completer: waitForReply ? Completer() : null, + ); + if (pending.completer != null) { + // The sender awaits this future after transport I/O; attach an error + // handler now in case the ERR arrives first. + unawaited(pending.completer!.future.catchError((_) {})); + } + _queue.add(pending); + return pending; + } + + void remove(PendingCommandReply pending) => _queue.remove(pending); + + void clear() => _queue.clear(); + + /// Completes the oldest command whose success reply is [frame]'s code. + bool completeReply(Uint8List frame) { + if (frame.isEmpty) return false; + final code = frame[0]; + if (code == respCodeOk || code == respCodeErr) return false; + final key = code == respCodeContact && frame.length >= 1 + pubKeySize + ? frame.sublist(1, 1 + pubKeySize) + : null; + final index = _queue.indexWhere( + (p) => + p.replyCode == code && + (p.matchKey == null || listEquals(p.matchKey, key)), + ); + if (index < 0) return false; + _queue.removeAt(index).completer?.complete(); + return true; + } + + /// Attributes RESP_CODE_OK; commands expecting a specific reply are skipped. + PendingCommandReply? takeOk() { + _pruneStale(); + final index = _queue.indexWhere((p) => p.replyCode == respCodeOk); + if (index < 0) return null; + final pending = _queue.removeAt(index); + pending.completer?.complete(); + return pending; + } + + /// Attributes RESP_CODE_ERR to the oldest pending command. + PendingCommandReply? takeErr(int errCode) { + _pruneStale(); + if (_queue.isEmpty) return null; + final pending = _queue.removeAt(0); + pending.completer?.completeError( + Exception('Command failed with error code $errCode'), + ); + return pending; + } + + void _pruneStale() { + final cutoff = DateTime.now().subtract(staleAfter); + _queue.removeWhere((p) => p.createdAt.isBefore(cutoff)); + } +} diff --git a/lib/helpers/guessed_location_estimator.dart b/lib/helpers/guessed_location_estimator.dart new file mode 100644 index 00000000..6ad837b2 --- /dev/null +++ b/lib/helpers/guessed_location_estimator.dart @@ -0,0 +1,164 @@ +import 'dart:math'; +import 'dart:typed_data'; + +import 'package:latlong2/latlong.dart'; + +import 'path_helper.dart'; + +typedef GuessCandidate = ({Uint8List publicKey, List<(List, int)> paths}); + +typedef GuessInput = ({ + List candidates, + List<(Uint8List, double, double)> anchors, + (double, double)? selfPosition, + double? maxRangeKm, +}); + +/// Longest single radio link we trust when matching hops to repeaters. The +/// free-space estimate from the radio settings runs to hundreds of km, far +/// beyond real terrestrial links, so it is capped here. +const double maxPlausibleLinkKm = 150; + +/// Runs in a background isolate: estimates positions for nodes without a +/// location from the repeaters their paths end on. Returns +/// (candidate index, lat, lon, high confidence) for each placed node. +/// +/// Paths run from our radio outward, so the last hop is the repeater that +/// heard the node directly. Short hop hashes collide, so each path is walked +/// from our own position and every hop is matched to the nearest repeater with +/// that prefix that is within radio range of the previous hop. +List<(int, double, double, bool)> estimateGuessedLocations(GuessInput input) { + const distance = Distance(); + final maxLinkKm = min( + input.maxRangeKm ?? maxPlausibleLinkKm, + maxPlausibleLinkKm, + ); + final maxLinkM = maxLinkKm * 1000; + + final anchorsByPrefix = >{}; + for (final (key, lat, lon) in input.anchors) { + for (var width = 1; width <= 3 && width <= key.length; width++) { + anchorsByPrefix + .putIfAbsent(PathHelper.formatHopHex(key.sublist(0, width)), () => []) + .add(LatLng(lat, lon)); + } + } + final self = input.selfPosition; + final selfPosition = self == null ? null : LatLng(self.$1, self.$2); + + LatLng? lastHopAnchor(List pathBytes, int hopWidth) { + final hops = PathHelper.splitPathBytes(pathBytes, hopWidth); + var previous = selfPosition; + LatLng? resolved; + for (final hop in hops) { + resolved = null; + final candidates = anchorsByPrefix[PathHelper.formatHopHex(hop)]; + if (candidates == null) continue; + if (previous == null) { + // Without a reference point only an unambiguous prefix is trusted. + if (candidates.length == 1) resolved = candidates.first; + } else { + double? best; + for (final candidate in candidates) { + final d = distance(previous, candidate); + if (d <= maxLinkM && (best == null || d < best)) { + best = d; + resolved = candidate; + } + } + } + if (resolved != null) previous = resolved; + } + return resolved; + } + + final result = <(int, double, double, bool)>[]; + for (var i = 0; i < input.candidates.length; i++) { + final candidate = input.candidates[i]; + + // One vote per observed path for the repeater it ended on. + final votes = {}; + for (final (pathBytes, hopWidth) in candidate.paths) { + if (pathBytes.isEmpty || hopWidth < 1) continue; + final anchor = lastHopAnchor(pathBytes, hopWidth); + if (anchor != null) votes[anchor] = (votes[anchor] ?? 0) + 1; + } + if (votes.isEmpty) continue; + + // A node cannot hear two repeaters more than two links apart; drop + // outliers, falling back to the most-voted anchor if none agree. + var anchors = votes.keys.toList(); + if (anchors.length > 1) { + final consistent = anchors + .where( + (a) => anchors.any((b) => b != a && distance(a, b) <= 2 * maxLinkM), + ) + .toList(); + anchors = consistent.isNotEmpty + ? consistent + : [votes.entries.reduce((a, b) => b.value > a.value ? b : a).key]; + } + + final LatLng position; + if (anchors.length == 1) { + // Spread single-anchor guesses around the anchor so they stay visible. + position = _offsetGuessedPosition( + anchors[0], + candidate.publicKey, + radiusMeters: 330, + ); + } else { + var lat = 0.0, lon = 0.0, total = 0; + for (final a in anchors) { + final weight = votes[a]!; + lat += a.latitude * weight; + lon += a.longitude * weight; + total += weight; + } + position = _offsetGuessedPosition( + LatLng(lat / total, lon / total), + candidate.publicKey, + radiusMeters: anchors.length >= 3 ? 80 : 120, + ); + } + if (!isPlausibleLocation(position.latitude, position.longitude)) { + continue; + } + result.add((i, position.latitude, position.longitude, anchors.length >= 2)); + } + return result; +} + +bool isPlausibleLocation(double lat, double lon) { + const double epsilon = 1e-6; + return (lat.abs() > epsilon || lon.abs() > epsilon) && + lat >= -90.0 && + lat <= 90.0 && + lon >= -180.0 && + lon <= 180.0; +} + +LatLng _offsetGuessedPosition( + LatLng anchor, + Uint8List publicKey, { + required double radiusMeters, +}) { + final seed = _guessSeed(publicKey); + final angle = ((seed & 0xFFFF) / 0x10000) * 2 * pi; + final latOffsetDeg = (radiusMeters / 111320.0) * cos(angle); + final lonScale = max(cos(anchor.latitude * pi / 180.0).abs(), 0.2); + final lonOffsetDeg = (radiusMeters / (111320.0 * lonScale)) * sin(angle); + return LatLng( + anchor.latitude + latOffsetDeg, + anchor.longitude + lonOffsetDeg, + ); +} + +int _guessSeed(Uint8List publicKey) { + var seed = 0x811C9DC5; + for (final byte in publicKey) { + seed ^= byte; + seed = (seed * 0x01000193) & 0x7FFFFFFF; + } + return seed; +} diff --git a/lib/helpers/message_url_image_helper.dart b/lib/helpers/message_url_image_helper.dart index 0951dfda..3f2a7835 100644 --- a/lib/helpers/message_url_image_helper.dart +++ b/lib/helpers/message_url_image_helper.dart @@ -23,7 +23,7 @@ class MessageUrlImageHelper { static http.Client? httpClient; static final RegExp _pyxPattern = RegExp( - r'''https?://pyx\.li/\?i=([^\s<>'"`]+)''', + r'''https?://pyx\.li/\?i=([A-Za-z0-9_-]+)''', caseSensitive: false, ); @@ -63,10 +63,7 @@ class MessageUrlImageHelper { final pyxMatch = _pyxPattern.firstMatch(trimmed); if (pyxMatch != null) { - return _extractFromUrl( - _trimBoundary(pyxMatch.group(0)!), - RegExp(r''']+src=["']([^"']+)["']''', caseSensitive: false), - ); + return 'https://pyx.li/i/${pyxMatch.group(1)!}.jpg'; } final ipfsUrlMatch = _ipfsUrlPattern.firstMatch(trimmed); diff --git a/lib/helpers/path_helper.dart b/lib/helpers/path_helper.dart index 198f0530..02a3dcaa 100644 --- a/lib/helpers/path_helper.dart +++ b/lib/helpers/path_helper.dart @@ -40,7 +40,7 @@ class PathHelper { ) { if (pathBytes.isEmpty) return const []; - final width = hashByteWidth.clamp(1, 4).toInt(); + final width = hashByteWidth.clamp(1, 3).toInt(); final hops = []; for (int i = 0; i < pathBytes.length; i += width) { final endIdx = (i + width).clamp(0, pathBytes.length).toInt(); @@ -58,7 +58,6 @@ class PathHelper { /// - 1: Single byte per hop (256 unique nodes) /// - 2: Two bytes per hop (65K unique nodes) /// - 3: Three bytes per hop (16M unique nodes) - /// - 4: Four bytes per hop (4.3G unique nodes) static String resolvePathNames( List pathBytes, List allContacts, diff --git a/lib/helpers/path_hop_resolver.dart b/lib/helpers/path_hop_resolver.dart index b17f7b56..a6f2c018 100644 --- a/lib/helpers/path_hop_resolver.dart +++ b/lib/helpers/path_hop_resolver.dart @@ -14,7 +14,7 @@ class PathHopResolver { bool resolveFromEnd = false, int pathHashByteWidth = 1, }) { - final width = pathHashByteWidth.clamp(1, 4).toInt(); + final width = pathHashByteWidth.clamp(1, 3).toInt(); final candidatesByPrefix = >{}; for (final contact in contacts) { if (contact.publicKey.length < width) continue; diff --git a/lib/helpers/reaction_helper.dart b/lib/helpers/reaction_helper.dart index 18a72388..58928284 100644 --- a/lib/helpers/reaction_helper.dart +++ b/lib/helpers/reaction_helper.dart @@ -1,18 +1,28 @@ +import 'dart:typed_data'; +import 'dart:convert'; +import 'package:characters/characters.dart'; +import 'package:crypto/crypto.dart'; +import 'package:base32/base32.dart'; +import 'package:base32/encodings.dart'; import '../widgets/emoji_picker.dart'; +enum HashType { ours, mc1 } + class ReactionInfo { final String targetHash; final String emoji; - String? senderName; + HashType hashType; + String? senderName; // Who sent the reaction ReactionInfo({ required this.targetHash, required this.emoji, + required this.hashType, this.senderName, }); String identifier() { - return '$targetHash:$emoji:${senderName ?? ""}'; + return '$targetHash:$emoji:$hashType:${senderName ?? ""}'; } } @@ -40,11 +50,18 @@ class ReactionHelper { updateMessage, }) { final targetHash = reactionInfo.targetHash; + final hashFunc = switch (reactionInfo.hashType) { + HashType.ours => computeReactionHash, + HashType.mc1 => ((ts, senderName, text) => _concatenateHashAndSender( + computeReactionHashMC1(ts, senderName, text), + senderName, + )), + }; for (int i = messages.length - 1; i >= 0; i--) { final msg = messages[i]; if (shouldSkip(msg)) continue; - final msgHash = computeReactionHash( + final msgHash = hashFunc( getTimestampSecs(msg), getSenderName(msg), getMessageText(msg), @@ -108,17 +125,122 @@ class ReactionHelper { return hash.toRadixString(16).padLeft(4, '0'); } + // Compute the type of reaction hash used by MeshCoreOne. + static String computeReactionHashMC1( + int timestampSeconds, + String? senderName, + String messageText, + ) { + // raw hash is first 5 bytes of SHA-256(UTF-8 text + uint32-LE sender timestamp) + Uint8List messageBytes = utf8.encode(messageText); + ByteData timestampBytes = ByteData(4) + ..setUint32(0, timestampSeconds, Endian.little); + final hash = sha256 + .convert(messageBytes + timestampBytes.buffer.asUint8List()) + .bytes + .sublist(0, 5); + + // encode as 8 chars of Crockford base32 + return base32 + .encode(Uint8List.fromList(hash), encoding: Encoding.crockford) + .toLowerCase(); + // Note: Crockford32 defines permissive decoding and allows some + // substitutions (e.g. I, i, l -> 1) but we never decode the hashes, we + // just compare them. If someone sends a miscoded hash that should be + // equivalent, we won't match it and it won't work. But it's not worth + // accommodating, because no one is going to be hand copying hashes. + } + + // MeshCoreOne-style reaction hashes don't depend on the sender name, + // and we're expected to check the hash and sender name separately. + // Our own reaction hashes include it. Rather than store the sender + // Name in ReactionInfo and complicate the logic in applyReaction(), + // we just tack the senderName onto the end of the "hash". + static String _concatenateHashAndSender(String hash, String? senderName) { + return "$hash:${senderName ?? ''}"; + } + + static ReactionInfo? parseReaction(String text) { + return parseReactionOurs(text) ?? + parseReactionMC1(text) ?? + parseReactionMC1Legacy(text); + } + + static bool _looksLikeEmoji(String emoji) { + // Make sure it's a single grapheme. + if (Characters(emoji).length > 1) return false; + + // Below are some emoji-validating tests, copied from MeshTrax. + // https://github.com/venamartin/meshtrax/ + // It's nice to avoid false positives just to save us some processing, + // but it's not crucial, as we will either apply a reaction or show it + // as a message. Text that is not actually a hash is unlikely to match + // a message. + if (emoji.isEmpty) return false; + // Emoji, not prose: nearly all emoji start at U+2000 or above; the + // exceptions (keycaps, ©/®) carry a variation selector U+FE0F or a + // combining keycap U+20E3. Ordinary ASCII text fails both tests. + if (!(emoji.runes.first >= 0x2000 || + emoji.runes.any((r) => r == 0xFE0F || r == 0x20E3))) { + return false; + } + return true; + } + + static ReactionInfo? parseReactionMC1(String text) { + // See https://github.com/Avi0n/MeshCoreOne/blob/main/docs/Reactions.md + // This regex matches both the channel format, which includes the sender name, + // and the chat (DM) format, which omits it. + final regex = RegExp(r'^(?:@\[(.*)])?(.+?)\n([a-tv-zA-TV-Z0-9]{8})$'); + final match = regex.firstMatch(text); + if (match == null) return null; + + final senderName = match.group(1); + final emoji = match.group(2)!; + final hash = match.group(3)?.toLowerCase(); + if (!_looksLikeEmoji(emoji)) return null; + + return ReactionInfo( + targetHash: _concatenateHashAndSender(hash!, senderName), + emoji: emoji, + hashType: HashType.mc1, + ); + } + + static ReactionInfo? parseReactionMC1Legacy(String text) { + // See https://github.com/Avi0n/MeshCoreOne/blob/main/docs/Reactions.md + // This regex matches both the channel format, which includes the sender name, + // and the chat (DM) format, which omits it. + final regex = RegExp(r'^(.+?)(?:@\[(.*)])?\n([a-tv-zA-TV-Z0-9]{8})$'); + final match = regex.firstMatch(text); + if (match == null) return null; + + final hash = match.group(3)?.toLowerCase(); + final senderName = match.group(2); + final emoji = match.group(1)!; + if (!_looksLikeEmoji(emoji)) return null; + + return ReactionInfo( + targetHash: _concatenateHashAndSender(hash!, senderName), + emoji: emoji, + hashType: HashType.mc1, + ); + } + /// Parse reaction format: r:HASH:INDEX (where INDEX is 2-char hex emoji index) /// Returns null if text is not a valid reaction format - static ReactionInfo? parseReaction(String text) { + static ReactionInfo? parseReactionOurs(String text) { final regex = RegExp(r'^r:([0-9a-f]{4}):([0-9a-f]{2})$'); final match = regex.firstMatch(text); if (match == null) return null; final emoji = indexToEmoji(match.group(2)!); if (emoji == null) return null; - - return ReactionInfo(targetHash: match.group(1)!, emoji: emoji); + return ReactionInfo( + targetHash: match.group(1)!, + emoji: emoji, + hashType: HashType.ours, + ); } /// Encode a reaction message that parseReaction() can parse. diff --git a/lib/helpers/snack_bar_builder.dart b/lib/helpers/snack_bar_builder.dart index 913e783f..e44ecc26 100644 --- a/lib/helpers/snack_bar_builder.dart +++ b/lib/helpers/snack_bar_builder.dart @@ -58,7 +58,7 @@ void showDismissibleSnackBar( showCloseIcon: showCloseIcon, closeIconColor: closeIconColor, duration: duration ?? const Duration(seconds: 4), - persist: persist, + persist: persist ?? false, animation: animation, onVisible: onVisible, dismissDirection: dismissDirection ?? DismissDirection.down, diff --git a/lib/helpers/utf8_length_limiter.dart b/lib/helpers/utf8_length_limiter.dart index 4188ec6a..235b84b2 100644 --- a/lib/helpers/utf8_length_limiter.dart +++ b/lib/helpers/utf8_length_limiter.dart @@ -1,5 +1,6 @@ import 'dart:convert'; +import 'package:characters/characters.dart'; import 'package:flutter/services.dart'; class Utf8LengthLimitingTextInputFormatter extends TextInputFormatter { @@ -19,34 +20,55 @@ class Utf8LengthLimitingTextInputFormatter extends TextInputFormatter { TextEditingValue newValue, ) { if (maxBytes <= 0) return oldValue; - if (_effectiveByteLength(newValue.text) <= maxBytes) return newValue; + final newBytes = _effectiveByteLength(newValue.text); + if (newBytes <= maxBytes || + newBytes <= _effectiveByteLength(oldValue.text)) { + return newValue; + } - final truncated = _truncateToMaxBytes(newValue.text, maxBytes); + final oldText = oldValue.text; + final newText = newValue.text; + var prefix = 0; + while (prefix < oldText.length && + prefix < newText.length && + oldText.codeUnitAt(prefix) == newText.codeUnitAt(prefix)) { + prefix++; + } + if (prefix > 0 && + prefix < newText.length && + _isLowSurrogate(newText.codeUnitAt(prefix))) { + prefix--; + } + var suffix = 0; + while (suffix < oldText.length - prefix && + suffix < newText.length - prefix && + oldText.codeUnitAt(oldText.length - 1 - suffix) == + newText.codeUnitAt(newText.length - 1 - suffix)) { + suffix++; + } + final suffixStart = newText.length - suffix; + if (suffix > 0 && _isLowSurrogate(newText.codeUnitAt(suffixStart))) { + suffix--; + } + + final head = newText.substring(0, prefix); + final tail = newText.substring(newText.length - suffix); + final inserted = newText.substring(prefix, newText.length - suffix); + + final kept = StringBuffer(); + for (final char in inserted.characters) { + if (_effectiveByteLength('$head$kept$char$tail') > maxBytes) break; + kept.write(char); + } + + final cursor = head.length + kept.length; return TextEditingValue( - text: truncated, - selection: TextSelection.collapsed(offset: truncated.length), + text: '$head$kept$tail', + selection: TextSelection.collapsed(offset: cursor), composing: TextRange.empty, ); } - String _truncateToMaxBytes(String text, int limit) { - if (encoder != null) { - final runes = text.runes.toList(); - while (runes.isNotEmpty && - _effectiveByteLength(String.fromCharCodes(runes)) > maxBytes) { - runes.removeLast(); - } - return String.fromCharCodes(runes); - } - final buffer = StringBuffer(); - var used = 0; - for (final rune in text.runes) { - final char = String.fromCharCode(rune); - final charBytes = utf8.encode(char).length; - if (used + charBytes > limit) break; - buffer.write(char); - used += charBytes; - } - return buffer.toString(); - } + bool _isLowSurrogate(int codeUnit) => + codeUnit >= 0xDC00 && codeUnit <= 0xDFFF; } diff --git a/lib/l10n/app_bg.arb b/lib/l10n/app_bg.arb index fe84e37d..d956701a 100644 --- a/lib/l10n/app_bg.arb +++ b/lib/l10n/app_bg.arb @@ -103,16 +103,16 @@ "settings_autoZeroHopAdvertOnGpsUpdate": "Автоматична zero-hop обява при GPS обновяване", "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "Когато GPS местоположението се промени, изпрати zero-hop обява (изисква местоположение в обявата).", "settings_privacyMode": "Режим на поверителност", - "settings_privacyModeSubtitle": "Скриване на име/местоположение в рекламите", - "settings_privacyModeToggle": "Активирайте режим на поверителност, за да скриете името и местоположението си в рекламите.", + "settings_privacyModeSubtitle": "Скриване на име/местоположение в обявите", + "settings_privacyModeToggle": "Активирайте режим на поверителност, за да скриете името и местоположението си в обявите.", "settings_privacyModeEnabled": "Режим на поверителност е активиран", "settings_privacyModeDisabled": "Режим на поверителност е деактивиран", "settings_actions": "Действия", "settings_deleteAllPaths": "Изтрий всички пътища", "settings_deleteAllPathsSubtitle": "Изчисти всички данни за пътищата от контактите.", - "settings_sendAdvertisement": "Изпрати реклама", + "settings_sendAdvertisement": "Изпрати обява", "settings_sendAdvertisementSubtitle": "Излъчи присъствието сега", - "settings_advertisementSent": "Рекламата е изпратена", + "settings_advertisementSent": "Обявата е изпратена", "settings_syncTime": "Време за синхронизация", "settings_syncTimeSubtitle": "Задайте часовника на устройството да отговаря на времето на телефона.", "settings_timeSynchronized": "Синхронизирано във времето", @@ -185,7 +185,7 @@ "appSettings_languageBg": "Български", "appSettings_notifications": "Уведомления", "appSettings_enableNotifications": "Включи известията", - "appSettings_enableNotificationsSubtitle": "Получавайте известия за съобщения и реклами", + "appSettings_enableNotificationsSubtitle": "Получавайте известия за съобщения и обяви", "appSettings_notificationPermissionDenied": "Отказвано е разрешение за известия", "appSettings_notificationsEnabled": "Известията са включени", "appSettings_notificationsDisabled": "Известията са изключени", @@ -193,7 +193,7 @@ "appSettings_messageNotificationsSubtitle": "Показвай известие при получаване на нови съобщения", "appSettings_channelMessageNotifications": "Известия за канални съобщения", "appSettings_channelMessageNotificationsSubtitle": "Показвай известие при получаване на съобщения от канали", - "appSettings_advertisementNotifications": "Уведомления за реклами", + "appSettings_advertisementNotifications": "Уведомления за обяви", "appSettings_advertisementNotificationsSubtitle": "Покажи известие, когато бъдат открити нови възли.", "appSettings_messaging": "Съобщения", "appSettings_clearPathOnMaxRetry": "Изчисти пътя при максимален брой опити", @@ -201,7 +201,7 @@ "appSettings_pathsWillBeCleared": "Пътищата ще бъдат почистени след 5 неуспешни опита.", "appSettings_pathsWillNotBeCleared": "Пътищата няма да бъдат автоматично изчистени.", "appSettings_autoRouteRotation": "Автоматична ротация на маршрутите", - "appSettings_autoRouteRotationSubtitle": "Превключвайте между най-добрите пътища и режим на наводняване", + "appSettings_autoRouteRotationSubtitle": "Превключвайте между най-добрите пътища и режим Flood", "appSettings_autoRouteRotationEnabled": "Автоматичната ротация на маршрутите е включена", "appSettings_autoRouteRotationDisabled": "Автоматичната ротация на маршрутите е изключена", "appSettings_battery": "Батерия", @@ -275,7 +275,7 @@ "appSettings_appDebugLoggingDisabled": "Дневникът за отстраняване на грешки на приложението е изключен.", "contacts_title": "Контакти", "contacts_noContacts": "Няма контакти към момента.", - "contacts_contactsWillAppear": "Контактите ще се появят, когато устройствата рекламират.", + "contacts_contactsWillAppear": "Контактите ще се появят, когато устройствата изпратят обява.", "contacts_searchContacts": "Търсене на контакти...", "contacts_noUnreadContacts": "Няма непрочетени контакти", "contacts_noContactsFound": "Няма намерени контакти или групи.", @@ -578,7 +578,7 @@ "chat_pathManagement": "Управление на пътищата", "chat_routingMode": "Режим на маршрутизиране", "chat_autoUseSavedPath": "Автоматично (използвай запазения път)", - "chat_forceFloodMode": "Принуди режим на наводняване", + "chat_forceFloodMode": "Принуди режим Flood", "chat_recentAckPaths": "Последни ACK пътища (докоснете, за да използвате):", "chat_pathHistoryFull": "Историята на пътя е пълна. Премахнете записи, за да добавите нови.", "chat_hopSingular": "скок", @@ -601,7 +601,7 @@ "chat_clearPathSubtitle": "Принуди преоткриване при следващо изпращане", "chat_pathCleared": "Пътят е почистен. Следващото съобщение ще открие маршрута отново.", "chat_floodModeSubtitle": "Използвайте превключвателя за маршрутизиране в лентата на приложението.", - "chat_floodModeEnabled": "Режимът на наводняване е включен. Включете го отново чрез иконата за маршрутизиране в лентата на приложението.", + "chat_floodModeEnabled": "Режимът Flood е включен. Изключете го чрез иконата за маршрутизиране в лентата на приложението.", "chat_fullPath": "Пълен път", "chat_pathDetailsNotAvailable": "Подробности за пътя все още не са налични. Опитайте да изпратите съобщение, за да ги обновите.", "chat_pathSetHops": "Пътят е зададен: {hopCount} {hopCount, plural, =1{скок} other{скока}} - {status}", @@ -622,7 +622,7 @@ "chat_path": "Път", "chat_publicKey": "Публичен ключ", "chat_compressOutgoingMessages": "Компресиране на изходящи съобщения", - "chat_floodForced": "Наводняване (принудително)", + "chat_floodForced": "Flood (принудително)", "chat_directForced": "Директно (принудително)", "chat_hopsForced": "{count} скока (принудително)", "@chat_hopsForced": { @@ -632,7 +632,7 @@ } } }, - "chat_floodAuto": "Наводняване (автоматично)", + "chat_floodAuto": "Flood (автоматично)", "chat_direct": "Директно", "chat_poiShared": "Споделена точка на интерес", "chat_unread": "Непрочетени: {count}", @@ -900,7 +900,7 @@ "login_routing": "Маршрутизиране", "login_routingMode": "Режим на маршрутизиране", "login_autoUseSavedPath": "Автоматично (използвай запазения път)", - "login_forceFloodMode": "Принуди режим на наводняване", + "login_forceFloodMode": "Принуди режим Flood", "login_managePaths": "Управление на пътищата", "login_login": "Вход", "login_attempt": "Опитвате {current}/{max}", @@ -943,7 +943,7 @@ }, "path_enterCustomPath": "Въведете персонализиран път", "path_currentPathLabel": "Текущ път", - "path_hexPrefixInstructions": "Въведете 2-символни шестнадесетични префикси за всеки хоп, разделени с кама.", + "path_hexPrefixInstructions": "Въведете 2-символни шестнадесетични префикси за всеки скок, разделени със запетая.", "path_hexPrefixExample": "A1,F2,3C (всяка нода използва първия байт от публичния си ключ)", "path_labelHexPrefixes": "Пътеки (шестнадесетични префикси)", "path_helperMaxHops": "Максимум 64 скока. Всеки префикс е 2 шестнадесетични знака (1 байт).", @@ -973,7 +973,7 @@ "repeater_statusTitle": "Статус на повтарянето", "repeater_routingMode": "Режим на маршрутизиране", "repeater_autoUseSavedPath": "Автоматично (използвай запазения път)", - "repeater_forceFloodMode": "Принуди режим на наводняване", + "repeater_forceFloodMode": "Принуди режим Flood", "repeater_pathManagement": "Управление на пътища", "repeater_refresh": "Презареди", "repeater_statusRequestTimeout": "Заявката за статус премина прекалено дълго.", @@ -1018,7 +1018,7 @@ } } }, - "repeater_packetTxTotal": "Общо: {total}, Наводнение: {flood}, Директно: {direct}", + "repeater_packetTxTotal": "Общо: {total}, Flood: {flood}, Директно: {direct}", "@repeater_packetTxTotal": { "placeholders": { "total": { @@ -1032,7 +1032,7 @@ } } }, - "repeater_packetRxTotal": "Общо: {total}, Наводнение: {flood}, Директно: {direct}", + "repeater_packetRxTotal": "Общо: {total}, Flood: {flood}, Директно: {direct}", "@repeater_packetRxTotal": { "placeholders": { "total": { @@ -1046,7 +1046,7 @@ } } }, - "repeater_duplicatesFloodDirect": "Поливане: {flood}, Директен: {direct}", + "repeater_duplicatesFloodDirect": "Flood: {flood}, Директен: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1092,9 +1092,9 @@ "repeater_guestAccess": "Достъп за гости", "repeater_guestAccessSubtitle": "Разрешете само четене за гости", "repeater_privacyMode": "Режим на поверителност", - "repeater_privacyModeSubtitle": "Скриване на име/местоположение в рекламите", - "repeater_advertisementSettings": "Настройки на рекламите", - "repeater_localAdvertInterval": "Интервал на местната реклама", + "repeater_privacyModeSubtitle": "Скриване на име/местоположение в обявите", + "repeater_advertisementSettings": "Настройки на обявите", + "repeater_localAdvertInterval": "Интервал на локалната обява", "repeater_localAdvertIntervalMinutes": "{minutes} минути", "@repeater_localAdvertIntervalMinutes": { "placeholders": { @@ -1103,7 +1103,7 @@ } } }, - "repeater_floodAdvertInterval": "Интервал на рекламата за наводняване", + "repeater_floodAdvertInterval": "Интервал на Flood обявата", "repeater_floodAdvertIntervalHours": "{hours} часа", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1112,7 +1112,7 @@ } } }, - "repeater_encryptedAdvertInterval": "Криптиран интервал на рекламата", + "repeater_encryptedAdvertInterval": "Криптиран интервал на обявата", "repeater_dangerZone": "Опасна зона", "repeater_rebootRepeater": "Рестартирай повторителя", "repeater_rebootRepeaterSubtitle": "Рестартира повторителя.", @@ -1168,14 +1168,14 @@ "repeater_ownerInfo": "Информация за оператора", "repeater_ownerInfoHelper": "Публични метаданни за този повторител", "repeater_refreshOwnerInfo": "Обновете информацията за оператора", - "repeater_floodMax": "Максимален брой хопове при наводняване", - "repeater_floodMaxHelper": "Максималният брой хопове, които един пакет може да премине (0-64)", + "repeater_floodMax": "Максимален брой скокове при Flood", + "repeater_floodMaxHelper": "Максималният брой скокове, които един пакет може да премине (0-64)", "repeater_advancedSettings": "Разширени настройки", "repeater_advancedSettingsSubtitle": "Експериментални настройки за опитни оператори", "repeater_pathHashMode": "Режим за хеширане на пътища", "repeater_pathHashModeHelper": "Байтовете, използвани за кодиране на идентификатора на този повторител в таговете за откриване на потоци/цикли, са: 0=1 байт (256 идентификатора, до 64 скока), 1=2 байта (65 000 идентификатора, до 32 скока), 2=3 байта (16 милиона идентификатора, до 21 скока). Версиите 1.13 и по-старите фърмуери използват многобайтови пътища - само след като мрежата е актуализирана до версия 1.14 или по-нова.", "repeater_txDelay": "Забавяне на Flood TX", - "repeater_txDelayHelper": "Разстоянието между пакетите при наводняване като множител на времето за пренос на пакета (0-2, по подразбиране 0.5). По-висока стойност означава по-малко сблъсъци, но по-бавно предаване.", + "repeater_txDelayHelper": "Разстоянието между пакетите при Flood трафик като множител на времето за пренос на пакета (0-2, по подразбиране 0.5). По-висока стойност означава по-малко сблъсъци, но по-бавно предаване.", "repeater_directTxDelay": "Забавяне на директното предаване", "repeater_directTxDelayHelper": "Интервал за директен (не-масов) трафик, като множител на времето за пренос на пакета (0-2, по подразбиране 0.3).", "repeater_intThresh": "Праг на смущенията", @@ -1183,10 +1183,10 @@ "repeater_agcResetInterval": "Интервал за нулиране на AGC", "repeater_agcResetIntervalHelper": "Колко често да се рестартира автоматичната настройка на усилването, за да се възстанови от състояние, в което усилването е блокирано. Времето за рестартиране е няколко секунди, като се определя като кратна на 4. 0 деактивира периодичното рестартиране.", "repeater_actionsTitle": "Действия", - "repeater_sendAdvert": "Изпрати реклама за наводняване", - "repeater_sendAdvertSubtitle": "Публикувай реклама за наводняване в мрежата.", - "repeater_sendAdvertZeroHop": "Изпрати реклама без хопове", - "repeater_sendAdvertZeroHopSubtitle": "Публикувай реклама, която достига до целевата аудитория само чрез директно разпространение.", + "repeater_sendAdvert": "Изпрати Flood обява", + "repeater_sendAdvertSubtitle": "Разпространи Flood обява в мрежата.", + "repeater_sendAdvertZeroHop": "Изпрати обява с нулев скок", + "repeater_sendAdvertZeroHopSubtitle": "Разпространи обява само с един скок (без повторители).", "repeater_clockSync": "Синхронизирай часовника сега", "repeater_clockSyncSubtitle": "Настройте времето на телефона си да съвпада с времето на повторителя.", "repeater_actionSucceeded": "{action} успешно", @@ -1271,9 +1271,9 @@ "repeater_cliQuickGetTx": "Вземи TX", "repeater_cliQuickNeighbors": "Съседи", "repeater_cliQuickVersion": "Версия", - "repeater_cliQuickAdvertise": "Рекламирай", + "repeater_cliQuickAdvertise": "Обяви", "repeater_cliQuickClock": "Часовник", - "repeater_cliHelpAdvert": "Изпраща рекламен пакет", + "repeater_cliHelpAdvert": "Изпраща пакет за обява", "repeater_cliHelpReboot": "Рестартира устройството. (Забележка, може да получите 'Timeout', което е нормално)", "repeater_cliHelpClock": "Показва текущото време според часовника на всяко устройство.", "repeater_cliHelpPassword": "Задава се нова администраторска парола за устройството.", @@ -1283,19 +1283,19 @@ "repeater_cliHelpSetTx": "Задава се мощността на предаване на LoRa в dBm (отчитане спрямо референтно ниво).", "repeater_cliHelpSetRepeat": "Активира или деактивира ролята на репитера за този възел.", "repeater_cliHelpSetAllowReadOnly": "(Сървър на стаята) Ако е \"включено\", тогава влизането с празен парола ще бъде разрешено, но не може да публикува в стаята (само четене).", - "repeater_cliHelpSetFloodMax": "Задава максималния брой хопове на входящ пакет за заливване (ако >= max, пакетът не се предава).", + "repeater_cliHelpSetFloodMax": "Задава максималния брой скокове на входящ Flood пакет (ако >= max, пакетът не се предава).", "repeater_cliHelpSetIntThresh": "Задава праг на интерференцията (в dB). По подразбиране е 14. Задайте на 0, за да деактивирате откриването на интерференция на каналите.", "repeater_cliHelpSetAgcResetInterval": "Задава интервала за рестартиране на Автоматичния контролер за усилване. Задайте на 0, за да го деактивирате.", "repeater_cliHelpSetMultiAcks": "Активира или деактивира функцията 'двойни ACKs'.", - "repeater_cliHelpSetAdvertInterval": "Задава интервала на таймера в минути за изпращане на локален (безпроблемен) рекламен пакет. Задайте на 0, за да го деактивирате.", - "repeater_cliHelpSetFloodAdvertInterval": "Задава интервала на таймера в часове за изпращане на пакет с реклама за наводнение. Задайте на 0, за да го деактивирате.", + "repeater_cliHelpSetAdvertInterval": "Задава интервала на таймера в минути за изпращане на локален (нулев скок) пакет за обява. Задайте на 0, за да го деактивирате.", + "repeater_cliHelpSetFloodAdvertInterval": "Задава интервала на таймера в часове за изпращане на Flood пакет за обява. Задайте на 0, за да го деактивирате.", "repeater_cliHelpSetGuestPassword": "Задава/обновява паролата на гост. (за повторители, гостите могат да изпращат заявката \"Get Stats\")", "repeater_cliHelpSetName": "Задава име на обявата.", - "repeater_cliHelpSetLat": "Задава географска ширина на картата с реклами (в десетими градуси).", - "repeater_cliHelpSetLon": "Задава обхвата на дължина на картата на рекламата. (десетими градуса)", + "repeater_cliHelpSetLat": "Задава географска ширина на картата за обявата (в десетични градуси).", + "repeater_cliHelpSetLon": "Задава географска дължина на картата за обявата. (десетични градуси)", "repeater_cliHelpSetRadio": "Задава напълно нови радио параметри и ги запазва в предпочитанията. Изисква команда \"рестарт\", за да бъдат приложени.", "repeater_cliHelpSetRxDelay": "Зададени (експериментални) основи (трябва да е > 1 за ефект) за прилагане на леко забавяне на получените пакети, базирано на силата на сигнала/резултата. Задайте на 0, за да го деактивирате.", - "repeater_cliHelpSetTxDelay": "Задава фактор, умножен по времето на въздух за пакет в режим на наводнение и с рандомизирана система за слотове, за да забави предаването му (за да намали вероятността от сблъсъци).", + "repeater_cliHelpSetTxDelay": "Задава фактор, умножен по времето на въздух за Flood пакет и с рандомизирана система за слотове, за да забави предаването му (за да намали вероятността от сблъсъци).", "repeater_cliHelpSetDirectTxDelay": "Същото като txdelay, но за прилагане на случайна забавяне при препращането на пакети в директен режим.", "repeater_cliHelpSetBridgeEnabled": "Активиране/Деактивиране на мост.", "repeater_cliHelpSetBridgeDelay": "Задайте забавяне преди преизпращане на пакети.", @@ -1309,9 +1309,9 @@ "repeater_cliHelpLogStart": "Започва записване на пакети във файловата система.", "repeater_cliHelpLogStop": "Спира записването на пакети във файловата система.", "repeater_cliHelpLogErase": "Изтрива логовете от пакета от файловата система.", - "repeater_cliHelpNeighbors": "Показва списък с други възли на репитер, чути чрез нулев хоп реклами. Всяка линия е id-prefix-hex:timestamp:snr-times-4", + "repeater_cliHelpNeighbors": "Показва списък с други възли на повторител, чути чрез обяви с нулев скок. Всяка линия е id-prefix-hex:timestamp:snr-times-4", "repeater_cliHelpNeighborRemove": "Премахва първия съвпадащ запис (по префикси на pubkey (hex)) от списъка с съседи.", - "repeater_cliHelpRegion": "(сериен режим) Изброява всички дефинирани региони и текущите разрешения за наводнения.", + "repeater_cliHelpRegion": "(сериен режим) Изброява всички дефинирани региони и текущите разрешения за Flood.", "repeater_cliHelpRegionLoad": "Забележка: това е специално многокомандно извикване. Всяка следваща команда е име на регион (отстъпен с интервали, за да се покаже йерархията, с минимум един интервал). Завършва се чрез изпращане на празен ред/команда.", "repeater_cliHelpRegionGet": "Търси регион с даден префикс на име (или \"\" за глобалния обхват). Отговаря с \"-> region-name (parent-name) 'F'\"", "repeater_cliHelpRegionPut": "Добавя или актуализира дефиниция на регион с дадено име.", @@ -1325,7 +1325,7 @@ "repeater_cliHelpGpsOnOff": "Включва/Изключва GPS захранването.", "repeater_cliHelpGpsSync": "Синхронизира времето на възела с GPS часовника.", "repeater_cliHelpGpsSetLoc": "Задава координатите на нодата по GPS и запазва предпочитанията.", - "repeater_cliHelpGpsAdvert": "Предоставя конфигурацията на рекламата за местоположението на възела:\n- none: не включвайте местоположението в рекламите\n- share: споделяйте gps местоположението (от SensorManager)\n- prefs: рекламирайте местоположението, съхранено в предпочитанията", + "repeater_cliHelpGpsAdvert": "Предоставя конфигурацията на обявата за местоположението на възела:\n- none: не включвайте местоположението в обявите\n- share: споделяйте gps местоположението (от SensorManager)\n- prefs: обявявайте местоположението, съхранено в предпочитанията", "repeater_cliHelpGpsAdvertSet": "Задава конфигурация на обявите за местоположение.", "repeater_commandsListTitle": "Списък с команди", "repeater_commandsListNote": "ЗАБЕЛЕЖКА: за различните команди \"set ...\", също така съществува команда \"get ...\".", @@ -1483,7 +1483,7 @@ } }, "channelPath_unknownPath": "Неизвестно", - "channelPath_floodPath": "Поливане", + "channelPath_floodPath": "Flood", "channelPath_directPath": "Директно", "channelPath_observedZeroOf": "0 от {total} скокове", "@channelPath_observedZeroOf": { @@ -1759,14 +1759,14 @@ "appSettings_enableMessageTracing": "Разрешаване на проследяване на съобщения", "appSettings_enableMessageTracingSubtitle": "Показване на подробни метаданни за маршрутизация и синхронизация за съобщения", "contacts_contactImported": "Контактът е импортиран.", - "contacts_zeroHopAdvert": "Реклама без скок", + "contacts_zeroHopAdvert": "Обява без скок", "contacts_contactImportFailed": "Контактът не е успешно импортиран.", - "contacts_floodAdvert": "Реклама за наводняване", + "contacts_floodAdvert": "Flood обява", "contacts_addContactFromClipboard": "Добави контакт от клипборда", "contacts_copyAdvertToClipboard": "Копирай обявата в клипборда", "contacts_ShareContact": "Копирай контакт в клипборда", "contacts_ShareContactZeroHop": "Сподели контакт чрез обява", - "contacts_contactAdvertCopied": "Рекламата е копирана в клипборда.", + "contacts_contactAdvertCopied": "Обявата е копирана в клипборда.", "contacts_zeroHopContactAdvertFailed": "Неуспешно изпращане на контакт.", "contacts_zeroHopContactAdvertSent": "Изпратен контакт по обява.", "contacts_contactAdvertCopyFailed": "Копирането на обявата в клипборда не успя.", @@ -1791,7 +1791,7 @@ "settings_gpxExportAllContacts": "Местоположения на всички контакти", "settings_gpxExportShareText": "Картинни данни изнесени от meshcore-open", "settings_gpxExportShareSubject": "meshcore-open износ на данни за карта в формат GPX", - "pathTrace_someHopsNoLocation": "Един или повече от хмелите липсва местоположение!", + "pathTrace_someHopsNoLocation": "Един или повече от скоковете няма определено местоположение!", "map_pathTraceCancelled": "Отменен е следването на пътя.", "pathTrace_clearTooltip": "Изчисти пътя", "map_removeLast": "Премахни последното", @@ -2267,7 +2267,7 @@ "repeater_sensors": "Датчици", "repeater_cliHelpPowerOff": "Изключва устройството. (не се очаква отговор)", "repeater_cliHelpClkReboot": "Възстановява часовника до известна историческа дата и рестартира устройството.", - "repeater_cliHelpAdvertZeroHop": "Изпраща реклама, която достига само до съседни устройства (само до съседни мрежи).", + "repeater_cliHelpAdvertZeroHop": "Изпраща обява, която достига само до съседни устройства (само до съседни мрежи).", "repeater_cliHelpStartOta": "Стартира актуализация на фърмуера чрез въздушното, на всички поддържани платки.", "repeater_cliHelpTime": "Задава времето на устройството към зададените секунди от началото на Unix ерата. Времето не може да се върне назад.", "repeater_cliHelpBoard": "Показва производителя на платката / идентификатора на хардуера.", @@ -2278,7 +2278,7 @@ "repeater_cliHelpSetDutyCycle": "Задава максимално допустимия процент на използване на времето за предаване (от 1 до 100 процента). Вътрешно коригира фактора за времето на предаване.", "repeater_cliHelpSetPrvKey": "(Само за серийни номера) Заменя личната част от ключа за идентификация на устройството. Необходимо е да се рестартира устройството, за да се приложи. Генерира нов публичен ключ.", "repeater_cliHelpSetRadioRxGain": "(Само за SX126x) Превключва усиления на приемния сигнал (RX gain) за подобрена чувствителност при по-високо потребление на ток.", - "repeater_cliHelpSetOwnerInfo": "Задава низовете с информация за контакт на собственика, които са включени в рекламите. Използвайте '|' за нови редове.", + "repeater_cliHelpSetOwnerInfo": "Задава низовете с информация за контакт на собственика, които са включени в обявите. Използвайте '|' за нови редове.", "repeater_cliHelpSetPathHashMode": "Задава режима за хеширане на пътищата. 0 = за стари системи, 1 = за стандартни системи, 2 = за строги системи. Влияе върху начина, по който се съпоставят маршрутите.", "repeater_cliHelpSetLoopDetect": "Задава чувствителността за откриване на цикли в маршрутизацията: изключена, минимална, умерена или строга.", "repeater_cliHelpSetFreq": "(Само за серийно управление) Бързо задава само честотата. Необходимо е рестартиране. Препоръчително е да се използват настройките за \"радио\", за да се зададат всички параметри.", @@ -2298,15 +2298,15 @@ "repeater_cliHelpGetAgcResetInterval": "Показва интервала за рестартиране на AGC в секунди.", "repeater_cliHelpGetMultiAcks": "Показва дали режимът \"двоен ACK\" е активиран (1) или деактивиран (0).", "repeater_cliHelpGetAllowReadOnly": "Показва дали е разрешено само четене за гостите.", - "repeater_cliHelpGetAdvertInterval": "Показва времето на рекламата в минути.", - "repeater_cliHelpGetFloodAdvertInterval": "Показва интервала на рекламата за навод в часове.", + "repeater_cliHelpGetAdvertInterval": "Показва интервала на обявата в минути.", + "repeater_cliHelpGetFloodAdvertInterval": "Показва интервала на Flood обявата в часове.", "repeater_cliHelpGetGuestPassword": "Показва зададения парол за гост.", "repeater_cliHelpGetLat": "Показва зададената географска ширина.", "repeater_cliHelpGetLon": "Показва зададената дължина.", "repeater_cliHelpGetRxDelay": "Показва основната стойност на забавянето на сигнала.", - "repeater_cliHelpGetTxDelay": "Показва коефициента за забавяне при режим на наводняване.", + "repeater_cliHelpGetTxDelay": "Показва коефициента за забавяне при режим Flood.", "repeater_cliHelpGetDirectTxDelay": "Показва коефициента за забавяне при директен режим.", - "repeater_cliHelpGetFloodMax": "Показва максималния брой на повторни наводнения.", + "repeater_cliHelpGetFloodMax": "Показва максималния брой скокове при Flood.", "repeater_cliHelpGetOwnerInfo": "Показва информацията за контакт на собственика.", "repeater_cliHelpGetPathHashMode": "Показва режима на хеширане на пътя (0/1/2).", "repeater_cliHelpGetLoopDetect": "Показва чувствителността към откриване на цикли.", @@ -2328,8 +2328,8 @@ "repeater_cliHelpSensorList": "Показва всички настройки на потребителските сензори, разделени на страници, започвайки от опционален индекс.", "repeater_cliHelpRegionDefault": "Показва текущия обхват на региона по подразбиране.", "repeater_cliHelpRegionDefaultSet": "Задава обхвата на региона по подразбиране. Използвайте \"\", за да го изчистите.", - "repeater_cliHelpRegionListAllowed": "Списва регионите, които позволяват преминаване на превозни средства при наводнение.", - "repeater_cliHelpRegionListDenied": "Списва региони, които забраняват движението по пътищата при наводнения.", + "repeater_cliHelpRegionListAllowed": "Списва регионите, които разрешават Flood трафик.", + "repeater_cliHelpRegionListDenied": "Списва региони, които забраняват Flood трафик.", "repeater_cliHelpStatsPackets": "(Само за серия) Показва статистически данни на ниво пакет.", "repeater_cliHelpStatsRadio": "(Само за конкретен сериал) Показва радиостатистика.", "repeater_cliHelpStatsCore": "(Само за серийния номер) Показва основните статистически данни за фърмуера.", @@ -2469,9 +2469,9 @@ "contacts_searchClose": "Затвори търсене", "routing_title": "Маршрутизиране", "routing_modeAuto": "Автоматично", - "routing_modeFlood": "Наводняване", + "routing_modeFlood": "Flood", "routing_modeManual": "Ръчно", - "routing_modeAutoHint": "Автоматично избира най-добрия известен път, а при липса на информация използва стратегия за наводняване.", + "routing_modeAutoHint": "Автоматично избира най-добрия известен път, а при липса на такъв използва режим Flood.", "routing_modeFloodHint": "Излъчва през всички повторители. Най-надеждният начин, но изисква повече време в ефира.", "routing_modeManualHint": "Винаги следва точно пътя, който сте определили.", "routing_currentRoute": "Текущ маршрут", @@ -2487,10 +2487,10 @@ "routing_qualityGood": "Добър първи опит", "routing_qualityFair": "Приемлив първи скок", "routing_qualityWorked": "Работил", - "routing_qualityFlood": "Получено чрез наводняване", + "routing_qualityFlood": "Получено чрез Flood", "routing_qualityUntested": "Нетестирано", "routing_neverWorked": "Никога не е потвърдено", - "routing_floodDelivery": "Доставка при наводняване", + "routing_floodDelivery": "Доставка чрез Flood", "pathEditor_title": "Създаване на път", "pathEditor_hopCounter": "{count} от 64 скока", "pathEditor_noHops": "Все още няма добавени скокове. Можете да използвате бутоните по-долу, за да ги добавите по ред, или да запазите пътя без скокове, за да го изпратите директно.", @@ -2798,7 +2798,7 @@ "imageSend_radioUnknownBody": "Усредете се с устройство, за да се отработа часът на изстъпане.", "imageSend_longSendTitle": "Долга пресилка", "imageSend_longSendBody": "Тази буде поддержива открит отряд на около {duration}.", - "imageSend_floodNote": "Руйжинг на превъште: всички ретранслятори в диапазонта превратят всички пакети, тъйа каналят оставря дълше, от този час.", + "imageSend_floodNote": "Flood маршрутизация: всеки повторител в обхват препредава всеки пакет, затова каналът остава зает по-дълго от посоченото тук време.", "imageSend_parityTitle": "Возобновителен пакет", "imageSend_paritySubtitle": "Едно дополително пакет. Групни извещания не принимаются, след това разбирателят едно пакетто, какщо е пропущен един пакет.", "imageSend_send": "Отправляй", @@ -2828,5 +2828,38 @@ "receivedImage_tapToProcess": "Натискнете за обработка", "receivedImage_awaiting": "{bytes} байта · {packets} {packets, plural, =1{пакет} other{пакета}}", "imageSend_secondsValue": "{seconds} секунди", - "imageSend_minutesSecondsValue": "{minutes} мин {seconds} сек" + "imageSend_minutesSecondsValue": "{minutes} мин {seconds} сек", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + }, + "urlImage_enable": "Активиране на URL изображения", + "urlImage_possible": "Възможно изображение от URL; активирайте го в Настройки.", + "settings_radioSettingsNotApplied": "Радиото не приложи тези настройки", + "settings_publicKeyCopied": "Публичният ключ е копиран", + "channels_noFreeSlots": "Няма свободни канални места", + "reaction_report": "Емоджи реакции", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_frequencyInvalid": "Невалидна честота (150-2500 MHz)", + "repeater_txPowerRangeHelper": "от -9 до 30 dBm", + "repeater_recvErrors": "Грешки при приемане", + "room_postsStored": "Публикации", + "room_postsPushed": "Изпратени публикации", + "repeater_cliRegionLoadActive": "Режим на зареждане на региони: изпращайте по едно име на регион на ред, с отстъп от интервали под съответния родител (добавете F след името, за да разрешите flood). Редовете не получават отговор. Изпратете празен ред, за да завършите, след което изпратете „region save“, за да запазите резултата.", + "repeater_cliRegionLoadHint": "Ред за регион или празно за завършване", + "repeater_cliRegionLoadEnd": "(край на зареждането на региони)", + "repeater_cliHelpRegionDef": "Задава верига от региони с една команда: всяко име се добавя под предишното; „name,parent“ добавя името и продължава под указания родител. Връща списъка с региони.", + "repeater_cliHelpSetFloodMaxUnscoped": "Задава максималния брой скокове за препращане на flood пакети без определена регионална област (0-64).", + "repeater_cliHelpSetFloodMaxAdvert": "Задава максималния брой скокове за препращане на flood обяви (0-64).", + "repeater_cliHelpGetFloodMaxUnscoped": "Показва максималния брой скокове за flood пакети без определена област.", + "repeater_cliHelpGetFloodMaxAdvert": "Показва максималния брой скокове за flood обяви.", + "repeater_cliHelpSetRadioFemRxGain": "Превключва RX усилването (LNA) на LoRa предния модул. Платки без такъв отговарят с „Error: unsupported“.", + "repeater_cliHelpSetRadioFemTxGain": "Превключва TX усилването (PA) на LoRa предния модул. Платки без такъв отговарят с „Error: unsupported“.", + "repeater_cliHelpGetRadioFemRxGain": "Показва дали RX усилването на LoRa предния модул е включено.", + "repeater_cliHelpGetRadioFemTxGain": "Показва дали TX усилването на LoRa предния модул е включено.", + "repeater_bridgeNote": "Налично само за прошивка с мост (RS232 или ESP-NOW).", + "chat_longMessageRetryNote": "Над 158 байта: изпраща се най-много {count} пъти" } diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index cc34c09e..bf7c00e0 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -600,7 +600,7 @@ "chat_pathManagement": "Pfadverwaltung", "chat_routingMode": "Routenmodus", "chat_autoUseSavedPath": "Automatisch (gespeicherten Pfad verwenden)", - "chat_forceFloodMode": "Flut-Modus erzwingen", + "chat_forceFloodMode": "Flood-Modus erzwingen", "chat_recentAckPaths": "Aktuelle ACK-Pfade (antippen, um zu verwenden):", "chat_pathHistoryFull": "Die Pfadhistorie ist voll. Entferne Einträge, um neue hinzuzufügen.", "chat_hopSingular": "Sprung", @@ -623,7 +623,7 @@ "chat_clearPathSubtitle": "Setze Pfad zurück, erkenne neuen Pfad bei nächster Sendung.", "chat_pathCleared": "Pfad zurückgesetzt. Nächste Nachricht wird Route neu entdecken.", "chat_floodModeSubtitle": "Verwende den Routingschalter in der App-Leiste", - "chat_floodModeEnabled": "Flutmodus aktiviert.", + "chat_floodModeEnabled": "Flood-Modus aktiviert.", "chat_fullPath": "Vollständiger Pfad", "chat_pathDetailsNotAvailable": "Die Pfaddetails sind noch nicht verfügbar. Versuchen Sie, eine Nachricht zu senden, um zu aktualisieren.", "chat_pathSetHops": "Pfad gesetzt: {hopCount} {hopCount, plural, =1{hop} other{hops}} - {status}", @@ -644,7 +644,7 @@ "chat_path": "Pfad", "chat_publicKey": "Öffentlicher Schlüssel", "chat_compressOutgoingMessages": "Komprimieren ausgehender Nachrichten", - "chat_floodForced": "Geflutet (erzwungen)", + "chat_floodForced": "Flood (erzwungen)", "chat_directForced": "Direkt (erzwungen)", "chat_hopsForced": "{count} Sprünge (erzwungen)", "@chat_hopsForced": { @@ -654,7 +654,7 @@ } } }, - "chat_floodAuto": "Geflutet (automatisch)", + "chat_floodAuto": "Flood (automatisch)", "chat_direct": "Direkt", "chat_poiShared": "Geteilter POI", "chat_unread": "Ungelesen: {count}", @@ -922,7 +922,7 @@ "login_routing": "Routen", "login_routingMode": "Routenmodus", "login_autoUseSavedPath": "Automatisch (gespeicherten Pfad verwenden)", - "login_forceFloodMode": "Flut-Modus erzwingen", + "login_forceFloodMode": "Flood-Modus erzwingen", "login_managePaths": "Pfadverwaltung", "login_login": "Anmelden", "login_attempt": "Versuche {current}/{max}", @@ -995,7 +995,7 @@ "repeater_statusTitle": "Repeater-Status", "repeater_routingMode": "Routing-Modus", "repeater_autoUseSavedPath": "Automatisch (gespeicherten Pfad verwenden)", - "repeater_forceFloodMode": "Flut-Modus erzwingen", + "repeater_forceFloodMode": "Flood-Modus erzwingen", "repeater_pathManagement": "Pfadverwaltung", "repeater_refresh": "Aktualisieren", "repeater_statusRequestTimeout": "Statusanfrage abgelaufen.", @@ -1195,7 +1195,7 @@ "repeater_advancedSettings": "Erweitert", "repeater_advancedSettingsSubtitle": "Feinabstimmung für erfahrene Betreiber", "repeater_pathHashMode": "Hash-Modus für Pfade", - "repeater_pathHashModeHelper": "Bytes, die zur Kodierung der ID dieses Repeaters in Flood-Pfad-/Schleifen-Erkennung-Tags verwendet werden. 0 = 1 Byte (256 IDs, bis zu 64 Hops), 1 = 2 Bytes (65.000 IDs, bis zu 32 Hops), 2 = 3 Bytes (16 Millionen IDs, bis zu 21 Hops). Firmware-Versionen 1.13 und älter verwenden mehrstellige Pfade – ab Version 1.14+ wird nur ein Pfad erstellt, sobald das Netzwerk aktiv ist.", + "repeater_pathHashModeHelper": "Bytes, die zur Kodierung der ID dieses Repeaters in Flood-Pfad-/Schleifen-Erkennung-Tags verwendet werden. 0 = 1 Byte (256 IDs, bis zu 64 Sprüngen), 1 = 2 Bytes (65.000 IDs, bis zu 32 Sprüngen), 2 = 3 Bytes (16 Millionen IDs, bis zu 21 Sprüngen). Firmware-Versionen 1.13 und älter verwenden mehrstellige Pfade – ab Version 1.14+ wird nur ein Pfad erstellt, sobald das Netzwerk aktiv ist.", "repeater_txDelay": "Flood-TX-Verzögerung", "repeater_txDelayHelper": "Abstand für Flood-Verkehr als Faktor der Paket-Sendezeit (0-2, Standard 0,5). Höher = weniger Kollisionen, aber langsamere Zustellung.", "repeater_directTxDelay": "Direkte TX-Verzögerung", @@ -1310,9 +1310,9 @@ "repeater_cliHelpSetAgcResetInterval": "Legt das Intervall für das Zurücksetzen des Auto Gain Controllers fest. Auf 0 setzen, um die Funktion zu deaktivieren.", "repeater_cliHelpSetMultiAcks": "Aktiviert oder deaktiviert die Funktion 'Doppel-ACKs'.", "repeater_cliHelpSetAdvertInterval": "Legt das Timer-Intervall in Minuten fest, um ein lokales (ohne-Weiterleitung) Ankündigungspaket zu senden. Auf 0 setzen, um die Funktion zu deaktivieren.", - "repeater_cliHelpSetFloodAdvertInterval": "Legt das Timer-Intervall in Stunden für den Versand eines Flut-Ankündigungspacket fest. Auf 0 setzen, um es zu deaktivieren.", + "repeater_cliHelpSetFloodAdvertInterval": "Legt das Timer-Intervall in Stunden für den Versand eines Flood-Ankündigungspaket fest. Auf 0 setzen, um es zu deaktivieren.", "repeater_cliHelpSetGuestPassword": "Legt/aktualisiert das Gastpasswort fest. (für Repeater können Gast-Logins die \"Get Stats\"-Anfrage senden)", - "repeater_cliHelpSetName": "Legt den Anzeigenamen fest.", + "repeater_cliHelpSetName": "Legt den Ankündigungsnamen fest.", "repeater_cliHelpSetLat": "Legt die Breitengrad der Ankündigung fest. (dezimale Grad)", "repeater_cliHelpSetLon": "Legt die Längengrade der Ankündigung fest. (dezimale Grad)", "repeater_cliHelpSetRadio": "Legt komplett neue Radio-Parameter fest und speichert diese als Präferenzen. Benötigt einen \"Reboot\"-Befehl, um sie anzuwenden.", @@ -1338,7 +1338,7 @@ "repeater_cliHelpRegionGet": "Sucht die Region mit dem gegebenen Namenspräfix (oder \"\\\" für den globalen Scope) und antwortet mit \"-> region-name (parent-name) 'F'\".", "repeater_cliHelpRegionPut": "Fügt eine Region-Definition mit dem angegebenen Namen hinzu oder aktualisiert diese.", "repeater_cliHelpRegionRemove": "Löscht eine Regiondefinition mit dem angegebenen Namen. (muss genau übereinstimmen und keine Kindregionen haben)", - "repeater_cliHelpRegionAllowf": "Legt die 'Flut'-Berechtigung für die angegebene Region fest. ('' für den globalen/legacy-Bereich)", + "repeater_cliHelpRegionAllowf": "Legt die 'Flood'-Berechtigung für die angegebene Region fest. ('' für den globalen/legacy-Bereich)", "repeater_cliHelpRegionDenyf": "Entfernt die \"F\"lood-Berechtigung für die angegebene Region. (ANMERKUNG: in dieser Phase wird nicht empfohlen, dies auf dem globalen/legacy-Bereich zu verwenden!!)", "repeater_cliHelpRegionHome": "Antwortet mit der aktuellen 'Home'-Region. (Hinweis wurde bisher nirgendwo angewendet, für zukünftige Zwecke reserviert)", "repeater_cliHelpRegionHomeSet": "Legt die 'Home'-Region fest.", @@ -1347,8 +1347,8 @@ "repeater_cliHelpGpsOnOff": "Schaltet die GPS-Leistung ein/aus.", "repeater_cliHelpGpsSync": "Synchronisiert die Knotenzeit mit der GPS-Uhr.", "repeater_cliHelpGpsSetLoc": "Setze die Position des Knotens auf GPS-Koordinaten und speichere die Präferenzen.", - "repeater_cliHelpGpsAdvert": "Gibt Konfiguration für die Standortanzeige des Knotens:\n- none: Standort nicht in Anzeigen einbeziehen\n- share: GPS-Standort teilen (von SensorManager)\n- prefs: Standort aus Einstellungen anzeigen", - "repeater_cliHelpGpsAdvertSet": "Legt die Standort-Anzeigekonfiguration fest.", + "repeater_cliHelpGpsAdvert": "Gibt Konfiguration für die Standort-Ankündigung des Knotens:\n- none: Standort nicht in Ankündigungen einbeziehen\n- share: GPS-Standort teilen (von SensorManager)\n- prefs: Standort aus den Einstellungen ankündigen", + "repeater_cliHelpGpsAdvertSet": "Legt die Standort-Ankündigungskonfiguration fest.", "repeater_commandsListTitle": "Befehlsliste", "repeater_commandsListNote": "ACHTUNG: Für die verschiedenen „set ...“-Befehle gibt es auch einen „get ...“-Befehl.", "repeater_general": "Allgemein", @@ -1582,7 +1582,7 @@ } }, "channelPath_unknownPath": "Unbekannt", - "channelPath_floodPath": "Geflutet", + "channelPath_floodPath": "Flood", "channelPath_directPath": "Direkt", "channelPath_observedZeroOf": "0 von {total} Sprüngen", "@channelPath_observedZeroOf": { @@ -1658,7 +1658,7 @@ } }, "repeater_neighbors": "Nachbarn", - "repeater_neighborsSubtitle": "Anzahl der Hop-Nachbarn anzeigen.", + "repeater_neighborsSubtitle": "Anzahl der Sprungnachbarn anzeigen.", "neighbors_receivedData": "Empfangene Nachbarsdaten", "neighbors_requestTimedOut": "Anfrage durch Timeout fehlgeschlagen.", "neighbors_errorLoading": "Fehler beim Laden der Nachbarn: {error}", @@ -1863,14 +1863,14 @@ "contacts_contactImported": "Kontakt wurde importiert.", "contacts_contactImportFailed": "Kontakt konnte nicht importiert werden", "contacts_zeroHopAdvert": "Zero-Hop-Ankündigung", - "contacts_floodAdvert": "Flut-Ankündigung", + "contacts_floodAdvert": "Flood-Ankündigung", "contacts_addContactFromClipboard": "Kontakt aus Zwischenablage hinzufügen", - "contacts_ShareContactZeroHop": "Kontakt über Anzeige teilen", + "contacts_ShareContactZeroHop": "Kontakt über Ankündigung teilen", "contacts_copyAdvertToClipboard": "Ankündigung in die Zwischenablage kopieren", "contacts_ShareContact": "Kontakt in die Zwischenablage kopieren", "contacts_zeroHopContactAdvertFailed": "Kontakt konnte nicht gesendet werden.", - "contacts_zeroHopContactAdvertSent": "Kontakt über Anzeige gesendet", - "contacts_contactAdvertCopied": "Anzeige in die Zwischenablage kopiert.", + "contacts_zeroHopContactAdvertSent": "Kontakt über Ankündigung gesendet", + "contacts_contactAdvertCopied": "Ankündigung in die Zwischenablage kopiert.", "contacts_contactAdvertCopyFailed": "Kopieren der Ankündigung in die Zwischenablage fehlgeschlagen.", "notification_activityTitle": "MeshCore Aktivität", "notification_messagesCount": "{count} {count, plural, =1{Nachricht} other{Nachrichten}}", @@ -2394,7 +2394,7 @@ "repeater_sensors": "Sensoren", "repeater_cliHelpPowerOff": "Schaltet das Gerät aus. (keine Antwort erwartet)", "repeater_cliHelpClkReboot": "Setzt die Uhr auf einen bekannten Zeitpunkt zurück und startet das Gerät neu.", - "repeater_cliHelpAdvertZeroHop": "Sendet eine Werbeanzeige, die nur an unmittelbare Nachbarn gesendet wird (ohne Zwischenstation).", + "repeater_cliHelpAdvertZeroHop": "Sendet eine Ankündigung, die nur an unmittelbare Nachbarn gesendet wird (ohne Zwischenstation).", "repeater_cliHelpStartOta": "Startet ein Firmware-Update über Funk, das auf unterstützten Boards durchgeführt wird.", "repeater_cliHelpTime": "Stellt die Gerätuhr auf die angegebene Unix-Epoche in Sekunden ein. Die Uhr kann nicht rückwärts laufen.", "repeater_cliHelpBoard": "Zeigt den Hersteller/die Hardware-Kennung an.", @@ -2425,13 +2425,13 @@ "repeater_cliHelpGetAgcResetInterval": "Zeigt das Intervall für die Rücksetzung des AGC in Sekunden an.", "repeater_cliHelpGetMultiAcks": "Zeigt an, ob der Modus \"doppelte ACK\"-Funktion aktiviert (1) oder deaktiviert (0) ist.", "repeater_cliHelpGetAllowReadOnly": "Zeigt an, ob der Zugriff für Gäste nur in Lesemodus erlaubt ist.", - "repeater_cliHelpGetAdvertInterval": "Zeigt die Dauer des lokalen Werbeintervalls in Minuten an.", - "repeater_cliHelpGetFloodAdvertInterval": "Zeigt die Dauer der Werbeunterbrechung in Stunden an.", + "repeater_cliHelpGetAdvertInterval": "Zeigt die Dauer des lokalen Ankündigungsintervalls in Minuten an.", + "repeater_cliHelpGetFloodAdvertInterval": "Zeigt die Dauer des Flood-Ankündigungsintervalls in Stunden an.", "repeater_cliHelpGetGuestPassword": "Zeigt das konfigurierte Gast-Passwort an.", "repeater_cliHelpGetLat": "Zeigt die konfigurierte Breitengrade.", "repeater_cliHelpGetLon": "Zeigt die konfigurierte Länge an.", "repeater_cliHelpGetRxDelay": "Zeigt den Basiswert für die Verzögerungszeit an.", - "repeater_cliHelpGetTxDelay": "Zeigt den Faktor für die Übertragungsverzögerung im Notfallmodus an.", + "repeater_cliHelpGetTxDelay": "Zeigt den Faktor für die Übertragungsverzögerung im Flood-Modus an.", "repeater_cliHelpGetDirectTxDelay": "Zeigt den Faktor für die Verzögerung im Direktmodus an.", "repeater_cliHelpGetFloodMax": "Zeigt die maximale Anzahl von Sprüngen für Flood-Pakete an.", "repeater_cliHelpGetOwnerInfo": "Zeigt die Zeichenkette mit den Kontaktinformationen des Eigentümers an.", @@ -2633,23 +2633,23 @@ "contacts_searchClose": "Suche schließen", "routing_title": "Routenplanung", "routing_modeAuto": "Automatisch", - "routing_modeFlood": "Flut", + "routing_modeFlood": "Flood", "routing_modeManual": "Manuell", "routing_modeFloodHint": "Über alle Repeater senden. Am zuverlässigsten, aber mit höherem Funkzeitbedarf.", - "routing_modeAutoHint": "Wählt automatisch den besten bekannten Pfad und wechselt auf Flut, wenn keiner bekannt ist.", + "routing_modeAutoHint": "Wählt automatisch den besten bekannten Pfad und wechselt in den Flood-Modus, wenn keiner bekannt ist.", "routing_modeManualHint": "Sendet immer genau den von Ihnen festgelegten Pfad.", "routing_currentRoute": "Aktuelle Route", "routing_directNoHops": "Direkt - keine Repeater-Sprünge", - "routing_noPathYet": "Noch kein Pfad gefunden. Die nächste Nachricht wird geflutet, bis eine Route entdeckt ist.", + "routing_noPathYet": "Noch kein Pfad gefunden. Die nächste Nachricht wird im Flood-Modus gesendet, bis eine Route entdeckt ist.", "routing_floodBroadcast": "Über alle Repeater senden", "routing_editPath": "Pfad bearbeiten", "routing_forgetPath": "Pfad vergessen", "routing_knownPaths": "Bekannte Pfade", "routing_knownPathsHint": "Tippen Sie auf einen Pfad, um zu ihm zu wechseln.", "routing_inUse": "In Verwendung", - "routing_qualityStrong": "Starker erster Hop", - "routing_qualityGood": "Guter erster Hop", - "routing_qualityFair": "Ausreichender erster Hop", + "routing_qualityStrong": "Starker erster Sprung", + "routing_qualityGood": "Guter erster Sprung", + "routing_qualityFair": "Ausreichender erster Sprung", "routing_qualityWorked": "Hat zugestellt", "routing_qualityFlood": "Per Flood gehört", "routing_qualityUntested": "Nicht getestet", @@ -2934,7 +2934,7 @@ "imageSend_radioUnknownBody": "Verbinden Sie das Gerät, damit die Sendezeit berechnet werden kann.", "imageSend_longSendTitle": "Lange Übertragung", "imageSend_longSendBody": "Dies hält den Kanal für etwa {duration}.", - "imageSend_floodNote": "Flutweiterleitung: Jeder Repeater im Bereich leitet jedes Paket weiter, wodurch der Kanal länger als dieser Zeitraum beschäftigt bleibt.", + "imageSend_floodNote": "Flood-Weiterleitung: Jeder Repeater im Bereich leitet jedes Paket weiter, wodurch der Kanal länger als dieser Zeitraum beschäftigt bleibt.", "imageSend_parityTitle": "Wiederherstellungspaket", "imageSend_paritySubtitle": "Ein zusätzliches Paket. Gruppen-Nachrichten werden nicht bestätigt, daher kann der Empfänger das Bild rekonstruieren, falls ein Paket verloren geht.", "imageSend_send": "Senden", @@ -2964,5 +2964,37 @@ "receivedImage_tapToProcess": "Klicken Sie, um fortzufahren", "receivedImage_awaiting": "{bytes} Bytes · {packets} {packets, plural, =1{Paket} other{Pakete}}", "imageSend_secondsValue": "{seconds} s", - "imageSend_minutesSecondsValue": "{minutes} Min {seconds} Sek" + "imageSend_minutesSecondsValue": "{minutes} Min {seconds} Sek", + "channels_noFreeSlots": "Alle Kanal-Slots sind belegt", + "chat_longMessageRetryNote": "Über 158 Byte: wird höchstens {count} Mal gesendet", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + }, + "reaction_report": "Emoji-Reaktionen", + "repeater_bridgeNote": "Nur verfügbar bei Firmware, die mit einer Bridge (RS232 oder ESP-NOW) gebaut wurde.", + "repeater_cliHelpGetFloodMaxAdvert": "Zeigt die maximale Hop-Anzahl für Flood-Ankündigungen an.", + "repeater_cliHelpGetFloodMaxUnscoped": "Zeigt die maximale Hop-Anzahl für Flood-Pakete ohne Region-Scope an.", + "repeater_cliHelpGetRadioFemRxGain": "Zeigt, ob der RX-Gain des LoRa-Frontend-Moduls aktiviert ist.", + "repeater_cliHelpGetRadioFemTxGain": "Zeigt, ob der TX-Gain des LoRa-Frontend-Moduls aktiviert ist.", + "repeater_cliHelpRegionDef": "Definiert in einem Befehl eine Kette von Regionen: Jeder Name wird unter dem vorherigen hinzugefügt; \"name,parent\" fügt den Namen hinzu und setzt dann unter der angegebenen übergeordneten Region fort. Antwortet mit der Regionsliste.", + "repeater_cliHelpSetFloodMaxAdvert": "Legt die maximale Hop-Anzahl für die Weiterleitung von Flood-Ankündigungen fest (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Legt die maximale Hop-Anzahl für die Weiterleitung von Flood-Paketen ohne Region-Scope fest (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Schaltet den RX-Gain (LNA) des LoRa-Frontend-Moduls um. Boards ohne dieses Modul antworten mit \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Schaltet den TX-Gain (PA) des LoRa-Frontend-Moduls um. Boards ohne dieses Modul antworten mit \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Regions-Ladevorgang: Sende pro Zeile einen Regionsnamen, eingerückt mit Leerzeichen unter der übergeordneten Region (F nach dem Namen anhängen, um Flood zu erlauben). Zeilen erhalten keine Antwort. Sende eine Leerzeile zum Abschließen, dann \"region save\", um das Ergebnis zu speichern.", + "repeater_cliRegionLoadEnd": "(Ende des Regions-Ladevorgangs)", + "repeater_cliRegionLoadHint": "Regionszeile, oder leer zum Abschließen", + "repeater_frequencyInvalid": "Ungültige Frequenz (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Empfangsfehler", + "repeater_txPowerRangeHelper": "-9 bis 30 dBm", + "room_postsPushed": "Gesendete Beiträge", + "room_postsStored": "Beiträge", + "settings_publicKeyCopied": "Öffentlicher Schlüssel kopiert", + "settings_radioSettingsNotApplied": "Das Funkgerät hat diese Einstellungen nicht übernommen" } diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index f8a97da2..3ebb2c29 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -30,10 +30,43 @@ "common_disable": "Disable", "common_undo": "Undo", "messageStatus_sent": "Sent", - "messageStatus_delivered": "Delivered", + "messageStatus_delivered": "Delivered. The contact confirmed they got it.", "messageStatus_pending": "Sending", "messageStatus_failed": "Failed to send", "messageStatus_repeated": "Heard repeated", + "messageStatus_failedChannel": "Your radio couldn't send this message.", + "messageStatus_resending": "Not heard through enough repeaters yet. Resent {resends} of {maxResends} times.", + "@messageStatus_resending": { + "placeholders": { + "resends": { + "type": "int" + }, + "maxResends": { + "type": "int" + } + } + }, + "messageStatus_hopsNotReached": "Sent, but only heard back through {hops} of {required} repeaters. It may still have gone further than your radio can hear.", + "@messageStatus_hopsNotReached": { + "placeholders": { + "hops": { + "type": "int" + }, + "required": { + "type": "int" + } + } + }, + "messageStatus_sentChannel": "Sent. Channels don't confirm delivery, so this only means your radio sent it.", + "messageStatus_sentDirect": "Sent. Waiting for the contact to confirm.", + "messageStatus_heardRepeatedCount": "Heard repeated {count, plural, =1{once} other{{count} times}}. Nearby repeaters passed it on.", + "@messageStatus_heardRepeatedCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "urlImage_enable": "Enable URL images", "urlImage_possible": "Possible URL image; enable it in Settings.", "common_reboot": "Reboot", @@ -160,8 +193,14 @@ "settings_radioSettings": "Radio Settings", "settings_radioSettingsSubtitle": "Frequency, power, spreading factor", "settings_radioSettingsUpdated": "Radio settings updated", + "settings_radioSettingsNotApplied": "The radio did not apply these settings", "settings_regionSettings": "Regions", - "settings_regionSettingsSubtitle": "Manage stored 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.", + "settings_regionFetchFromRepeaters": "Fetch from repeaters", + "settings_regionDefault": "Default region", + "settings_regionDefaultSubtitle": "Used by channels without their own region", + "settings_regionDefaultNone": "None", "settings_regionManagement_screenTitle": "Region Management", "settings_regionNameHint": "Enter region name", "settings_regionAddRegion": "Add region", @@ -201,16 +240,18 @@ "settings_privacySubtitle": "Control what information is shared.", "settings_privacySettingsDescription": "Choose what information your device shares with others.", "settings_denyAll": "Deny all", - "settings_allowByContact": "Allow by contact flags", + "settings_allowByContact": "Only contacts I allow", "settings_allowAll": "Allow all", - "settings_telemetryBaseMode": "Telemetry Base Mode", - "settings_telemetryLocationMode": "Telemetry Location Mode", - "settings_telemetryEnvironmentMode": "Telemetry Environment Mode", + "settings_telemetryBaseMode": "Who can request battery and status", + "settings_telemetryLocationMode": "Who can request my location", + "settings_telemetryEnvironmentMode": "Who can request sensor data", + "settings_telemetryPerContactHint": "To allow a contact, open their chat and choose Contact Settings from the menu.", "settings_advertLocation": "Advert Location", "settings_advertLocationSubtitle": "Include location in advert.", "settings_autoZeroHopAdvertOnGpsUpdate": "Auto Zero-Hop Advert On GPS Update", - "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "When GPS location changes, send a zero-hop advert (requires Advert Location).", + "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "App setting: when your GPS position changes, automatically advertise your new location to nearby nodes only (requires Advert Location).", "settings_multiAck": "Multi-ACKs", + "settings_multiAckSubtitle": "Send extra ACKs for better delivery; uses more airtime", "settings_telemetryModeUpdated": "Telemetry mode updated", "settings_actions": "Actions", "settings_deleteAllPaths": "Delete All Paths", @@ -254,18 +295,38 @@ "settings_infoHardware": "Hardware", "settings_infoFirmware": "Firmware", "settings_presets": "Presets", + "settings_presetCustom": "Custom", + "settings_radioMatchWarning": "All nodes you talk to must use the same frequency, bandwidth, SF and CR.", "settings_frequency": "Frequency (MHz)", - "settings_frequencyHelper": "300.0 - 2500.0", - "settings_frequencyInvalid": "Invalid frequency (300-2500 MHz)", + "settings_frequencyHelper": "150.0 - 2500.0", + "settings_frequencyInvalid": "Invalid frequency (150-2500 MHz)", "settings_bandwidth": "Bandwidth", "settings_spreadingFactor": "Spreading Factor", "settings_codingRate": "Coding Rate", "settings_txPower": "TX Power (dBm)", - "settings_txPowerHelper": "0 - 22", - "settings_txPowerInvalid": "Invalid TX power (0-22 dBm)", + "settings_txPowerRangeHelper": "{min} to {max} dBm", + "@settings_txPowerRangeHelper": { + "placeholders": { + "min": { + "type": "int" + }, + "max": { + "type": "int" + } + } + }, + "settings_txPowerInvalid": "Invalid TX power", "settings_clientRepeat": "Off-Grid Repeat", + "settings_clientRepeatFrequencyNote": "Frequency set to {freq} MHz for off-grid repeat", + "@settings_clientRepeatFrequencyNote": { + "placeholders": { + "freq": { + "type": "String" + } + } + }, "settings_clientRepeatSubtitle": "Allow this device to repeat mesh packets for others", - "settings_clientRepeatFreqWarning": "Off-grid repeat requires 433, 869, or 918 MHz frequency", + "settings_clientRepeatFreqWarning": "Off-grid repeat requires 433, 869.495, or 918 MHz frequency", "settings_error": "Error: {message}", "@settings_error": { "placeholders": { @@ -297,12 +358,39 @@ "appSettings_languageBg": "Български", "appSettings_languageRu": "Русский", "appSettings_languageUk": "Українська", - "repeater_pathHashModeOption0": "0 - 1 byte", - "repeater_pathHashModeOption1": "1 - 2 bytes", - "repeater_pathHashModeOption2": "2 - 3 bytes", - "repeater_pathHashModeOption3": "3 - 4 bytes", - "appSettings_enableMessageTracing": "Enable Message Tracing", - "appSettings_enableMessageTracingSubtitle": "Show detailed routing and timing metadata for messages", + "repeater_pathHashModeOption0": "1 byte", + "repeater_pathHashModeOption1": "2 bytes", + "repeater_pathHashModeOption2": "3 bytes", + "repeater_pathHashModeOption3": "4 bytes", + "settings_pathHashModeHelper": "Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.", + "settings_requiresFirmware": "Requires firmware {version} or newer", + "@settings_requiresFirmware": { + "placeholders": { + "version": { + "type": "String" + } + } + }, + "appSettings_channelMinHops": "Resend channel messages until they travel far enough", + "appSettings_channelMinHopsSubtitle": "If your message isn't heard coming back through enough repeaters, send it again. Uses more airtime.", + "appSettings_channelMinHopsCount": "Required hops: {count}", + "@appSettings_channelMinHopsCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, + "appSettings_channelMinHopsRetries": "Resend up to {count, plural, =1{1 time} other{{count} times}}", + "@appSettings_channelMinHopsRetries": { + "placeholders": { + "count": { + "type": "int" + } + } + }, + "appSettings_enableMessageTracing": "Show full repeater path in messages", + "appSettings_enableMessageTracingSubtitle": "Also show repeat counts and trip times. Long-press a message and choose Path for full details.", "appSettings_notifications": "Notifications", "appSettings_enableNotifications": "Enable Notifications", "appSettings_enableNotificationsSubtitle": "Receive notifications for messages and adverts", @@ -311,6 +399,8 @@ "appSettings_notificationsDisabled": "Notifications disabled", "appSettings_messageNotifications": "Message Notifications", "appSettings_messageNotificationsSubtitle": "Show notification when receiving new messages", + "appSettings_batteryOptimization": "Background Activity", + "appSettings_batteryOptimizationSubtitle": "Set MeshCore Open to \"Don't optimize\" in battery settings so messages keep arriving in the background", "appSettings_channelMessageNotifications": "Channel Message Notifications", "appSettings_channelMessageNotificationsSubtitle": "Show notification when receiving channel messages", "appSettings_advertisementNotifications": "Advertisement Notifications", @@ -478,6 +568,26 @@ } } }, + "contacts_removeFromContacts": "Remove from contacts", + "contacts_removeFromContactsConfirm": "{contactName} will move to Discovered contacts. Chat history will be deleted.", + "@contacts_removeFromContactsConfirm": { + "placeholders": { + "contactName": { + "type": "String" + } + } + }, + "contacts_keepChatHistory": "Keep chat history", + "contacts_remove": "Remove", + "contacts_discoveredNearby": "Discovered nearby ({count})", + "@contacts_discoveredNearby": { + "placeholders": { + "count": { + "type": "int" + } + } + }, + "contacts_noContactsDiscoveredHint": "Nodes your radio hears but hasn't added yet are listed in Discovered contacts", "contacts_manageRepeater": "Manage Repeater", "contacts_manageRoom": "Manage Room Server", "contacts_roomLogin": "Room Server Login", @@ -571,6 +681,10 @@ } }, "channels_private": "Private", + "channels_hashtag": "Hashtag", + "channels_addSectionJoin": "Join existing", + "channels_addSectionCreate": "Create new", + "channels_dragToReorder": "Drag to reorder", "channels_editChannel": "Edit channel", "channels_muteChannel": "Mute channel", "channels_unmuteChannel": "Unmute channel", @@ -662,6 +776,7 @@ } }, "channels_publicChannelAdded": "Public channel added", + "channels_noFreeSlots": "All channel slots are in use", "channels_sortBy": "Sort by", "channels_sortManual": "Manual", "channels_sortAZ": "A-Z", @@ -691,6 +806,10 @@ "channels_regionNotSet": "Region: none", "channels_regionSelect_Title": "Select a region", "channels_clearRegion": "Clear region", + "channels_regionDefaultSuffix": "(default)", + "channels_regionSelectExplanation": "Flood messages on this channel will only be forwarded by repeaters in the selected region.", + "channels_regionEmpty": "No regions yet.", + "channels_manageRegions": "Manage regions", "chat_noMessages": "No messages yet", "chat_sendMessage": "Send message", "chat_sendMessageTo": "Send a message to {contactName}", @@ -745,7 +864,9 @@ }, "chat_selectSendAction": "Select send action", "chat_sendGif": "Send GIF", - "chat_sendImageLora": "Send image via meshcore", + "chat_removeGif": "Remove GIF", + "chat_cancelReply": "Cancel reply", + "chat_sendImageLora": "Send low-res image over radio", "chat_imagePickFailed": "Couldn't open that image", "@chat_imagePickFailed": { "description": "Shown when picking or reading a photo to send fails" @@ -927,6 +1048,7 @@ "chat_pathDeviceNotConfirmed": "Device not confirmed yet.", "chat_type": "Type", "chat_path": "Path", + "chat_viewPathOnMap": "View path on map", "chat_publicKey": "Public Key", "chat_compressOutgoingMessages": "Compress outgoing messages", "chat_floodForced": "Flood (forced)", @@ -952,6 +1074,8 @@ }, "chat_markAsUnread": "Mark as Unread", "chat_newMessages": "New messages", + "chat_today": "Today", + "chat_yesterday": "Yesterday", "chat_openLink": "Open Link?", "chat_openLinkConfirmation": "Do you want to open this link in your browser?", "chat_open": "Open", @@ -973,12 +1097,14 @@ "map_visible": "Visible", "map_hidden": "Hidden", "map_centerOnNode": "Center on node", + "map_centerOnMe": "Center on my location", "map_details": "Details", "map_noGps": "No GPS", "map_noResults": "No matching nodes", "map_lineOfSight": "Line of Sight", "map_losScreenTitle": "Line of Sight", "map_noNodesWithLocation": "No nodes with location data", + "map_noNodesLocationHint": "No nodes with a recent location. Widen the time filter, or set your own location in Settings.", "map_nodesNeedGps": "Nodes need to share their GPS coordinates\nto appear on the map", "map_nodesCount": "Nodes: {count}", "@map_nodesCount": { @@ -1044,6 +1170,9 @@ "map_markers": "Markers", "map_showSharedMarkers": "Show shared markers", "map_showGuessedLocations": "Show guessed node locations", + "map_clusterNodes": "Group nearby nodes", + "map_groupChip": "Group", + "map_clusterNodesSubtitle": "When zoomed out, show nearby nodes as one numbered circle", "map_showDiscoveryContacts": "Show Discovery Contacts", "map_guessedLocation": "Guessed location", "map_lastSeenTime": "Last Seen Time", @@ -1051,6 +1180,7 @@ "map_sharedAt": "Shared", "map_joinRoom": "Join Room", "map_manageRepeater": "Manage Repeater", + "map_manageServer": "Manage Server", "map_tapToAdd": "Tap on nodes to add them to the path.", "map_runTrace": "Run path trace", "map_runTraceWithReturnPath": "Return back on the same path.", @@ -1232,10 +1362,13 @@ "login_roomLogin": "Room Server Login", "login_password": "Password", "login_enterPassword": "Enter password", + "login_showPassword": "Show password", + "login_hidePassword": "Hide password", "login_savePassword": "Save password", "login_savePasswordSubtitle": "Password will be stored securely on this device", - "login_repeaterDescription": "Enter the repeater password for guest or admin access.", + "login_repeaterDescription": "The admin password unlocks settings and the CLI. A guest password (or blank) shows status only.", "login_roomDescription": "Enter the room password for guest or admin access.", + "login_advanced": "Advanced", "login_routing": "Routing", "login_routingMode": "Routing mode", "login_autoUseSavedPath": "Auto (use saved path)", @@ -1264,6 +1397,7 @@ "login_failedMessage": "Login failed. Either the password is incorrect or the repeater is unreachable.", "common_reload": "Reload", "common_clear": "Clear", + "common_clearSearch": "Clear search", "path_currentPathLabel": "Current path", "path_noRepeatersFound": "No repeaters or room servers found.", "repeater_management": "Repeater Management", @@ -1272,6 +1406,8 @@ "room_guest": "Room Server Information", "repeater_managementTools": "Management Tools", "repeater_guestTools": "Guest Tools", + "repeater_roleAdmin": "ADMIN", + "repeater_roleGuest": "GUEST", "repeater_status": "Status", "repeater_statusSubtitle": "View repeater status, stats, and neighbors", "repeater_telemetry": "Telemetry", @@ -1490,8 +1626,8 @@ "repeater_floodMaxHelper": "Maximum hops a flood packet may travel (0-64)", "repeater_advancedSettings": "Advanced", "repeater_advancedSettingsSubtitle": "Tuning knobs for experienced operators", - "repeater_pathHashMode": "Path hash mode", - "repeater_pathHashModeHelper": "Bytes used to encode this repeater's ID in flood path/loop-detect tags. 0=1 byte (256 IDs, up to 64 hops), 1=2 bytes (65K IDs, up to 32 hops), 2=3 bytes (16M IDs, up to 21 hops). Firmware before v1.14 always used 1-byte paths; v1.14 and newer can be configured for 2- or 3-byte paths.", + "repeater_pathHashMode": "Node ID size in paths", + "repeater_pathHashModeHelper": "Size of this repeater's ID in the paths of adverts it sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Does not affect forwarding; v1.14+ repeaters forward all sizes, but older firmware drops packets with 2- or 3-byte IDs.", "repeater_keySettings": "Change Identity Keys", "repeater_keySettingsSubtitle": "Change the public/private keypair", "repeater_prvKey": "Private key", @@ -1566,6 +1702,9 @@ "repeater_refreshPacketForwarding": "Refresh Packet Forwarding", "repeater_refreshGuestAccess": "Refresh Guest Access", "repeater_refreshPrivacyMode": "Refresh Privacy Mode", + "repeater_refreshAll": "Refresh all", + "repeater_settingsNotLoaded": "Settings haven't been loaded from this repeater yet.", + "repeater_settingsLoadIncomplete": "Some settings could not be loaded. Use the refresh buttons to retry.", "repeater_refreshed": "{label} refreshed", "@repeater_refreshed": { "placeholders": { @@ -1666,6 +1805,25 @@ "repeater_cliHelpGpsAdvertSet": "Sets location advert configuration.", "repeater_commandsListTitle": "Commands List", "repeater_commandsListNote": "NOTE: for the various \"set ...\" commands, there is also a \"get ...\" command.", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_frequencyInvalid": "Invalid frequency (150-2500 MHz)", + "repeater_txPowerRangeHelper": "-9 to 30 dBm", + "repeater_recvErrors": "Receive Errors", + "room_postsStored": "Posts", + "room_postsPushed": "Posts Pushed", + "repeater_cliRegionLoadActive": "Region load mode: send one region name per line, indented with spaces under its parent (add F after the name to allow flood). Lines get no reply. Send an empty line to finish, then \"region save\" to keep the result.", + "repeater_cliRegionLoadHint": "Region line, or empty to finish", + "repeater_cliRegionLoadEnd": "(end of region load)", + "repeater_cliHelpRegionDef": "Defines a chain of regions in one command: each name is added under the previous one; \"name,parent\" adds the name, then continues under the given parent. Replies with the region list.", + "repeater_cliHelpSetFloodMaxUnscoped": "Sets the maximum hop count for forwarding flood packets that have no region scope (0-64).", + "repeater_cliHelpSetFloodMaxAdvert": "Sets the maximum hop count for forwarding flood adverts (0-64).", + "repeater_cliHelpGetFloodMaxUnscoped": "Shows the maximum hop count for unscoped flood packets.", + "repeater_cliHelpGetFloodMaxAdvert": "Shows the maximum hop count for flood adverts.", + "repeater_cliHelpSetRadioFemRxGain": "Toggles the LoRa front-end module's RX gain (LNA). Boards without one reply \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Toggles the LoRa front-end module's TX gain (PA). Boards without one reply \"Error: unsupported\".", + "repeater_cliHelpGetRadioFemRxGain": "Shows whether the LoRa front-end module's RX gain is on.", + "repeater_cliHelpGetRadioFemTxGain": "Shows whether the LoRa front-end module's TX gain is on.", + "repeater_bridgeNote": "Only available on firmware built with a bridge (RS232 or ESP-NOW).", "repeater_general": "General", "repeater_settingsCategory": "Settings", "repeater_bridge": "Bridge", @@ -1692,7 +1850,7 @@ "repeater_cliHelpSetPrvKey": "Replaces the device identity private key. Reboot required to apply. Generates a new public key.", "repeater_cliHelpSetRadioRxGain": "(SX126x only) Toggles boosted RX gain for improved sensitivity at higher current draw.", "repeater_cliHelpSetOwnerInfo": "Sets the owner contact info string included in adverts. Use '|' for newlines.", - "repeater_cliHelpSetPathHashMode": "Sets the path-hash mode. 0 = legacy, 1 = standard, 2 = strict. Affects how routing paths are matched.", + "repeater_cliHelpSetPathHashMode": "Sets the node ID size used in this repeater's adverts: 0 = 1 byte (up to 64 hops), 1 = 2 bytes (up to 32 hops), 2 = 3 bytes (up to 21 hops). 3 is reserved. Does not affect which sizes are forwarded. Requires firmware v1.14+.", "repeater_cliHelpSetLoopDetect": "Sets the routing loop-detection sensitivity: off, minimal, moderate, or strict.", "repeater_cliHelpSetFreq": "(Serial only) Quickly sets just the frequency. Reboot required. Prefer \"set radio\" for full radio params.", "repeater_cliHelpSetBridgeChannel": "(ESPNow bridge only) Sets the WiFi channel (1-14) used by the bridge.", @@ -1721,7 +1879,7 @@ "repeater_cliHelpGetDirectTxDelay": "Shows the direct-mode txdelay factor.", "repeater_cliHelpGetFloodMax": "Shows the maximum flood hop count.", "repeater_cliHelpGetOwnerInfo": "Shows the owner contact info string.", - "repeater_cliHelpGetPathHashMode": "Shows the path-hash mode (0/1/2).", + "repeater_cliHelpGetPathHashMode": "Shows the node ID size mode used in adverts (0 = 1 byte, 1 = 2 bytes, 2 = 3 bytes).", "repeater_cliHelpGetLoopDetect": "Shows the loop-detection sensitivity.", "repeater_cliHelpGetAcl": "(Serial only) Lists the access-control entries on a repeater.", "repeater_cliHelpGetBridgeEnabled": "Shows whether the bridge is enabled.", @@ -2459,6 +2617,7 @@ "settings_gpxExportShareSubject": "meshcore-open GPX map data export", "snrIndicator_nearByRepeaters": "Nearby Repeaters", "snrIndicator_lastSeen": "Last seen", + "snrIndicator_nearByRepeatersDescription": "Repeaters your radio heard directly, most recently heard first.", "contactsSettings_title": "Contacts settings", "contactsSettings_autoAddTitle": "Automatic Discovery", "contactsSettings_otherTitle": "Other contact related settings", @@ -2489,6 +2648,8 @@ "appSettings_languageKo": "Korean", "radioStats_tooltip": "Radio & mesh stats", "radioStats_screenTitle": "Radio stats", + "radioStats_sectionSignal": "Signal", + "radioStats_sectionAirtime": "Airtime", "radioStats_notConnected": "Connect to a device to view radio statistics.", "radioStats_firmwareTooOld": "Radio statistics require companion firmware v8 or newer.", "radioStats_waiting": "Waiting for data…", @@ -2740,6 +2901,18 @@ "pathMap_unfollowPacket": "Unlock view from packet", "imageSend_title": "Send image", "imageSend_cropNote": "Resized to 512 × 512 · aspect ratio not preserved", + "imageSend_lossyNote": "Compressed to about {bytes} bytes. The receiver's model reconstructs it, so details will differ.", + "@imageSend_lossyNote": { + "placeholders": { + "bytes": { + "type": "int" + } + } + }, + "imageSend_viewOriginal": "Original", + "imageSend_viewReconstruction": "What recipients see", + "imageSend_reconstructionUnavailable": "This device can't preview the reconstruction.", + "imageSend_modelNotDownloaded": "The image model isn't downloaded yet. Download it in Settings to send images.", "imageSend_originalSize": "Original", "imageSend_onAirSize": "On air", "imageSend_quality": "Quality", @@ -2858,6 +3031,26 @@ "receivedImage_decodeAgain": "Decode again", "receivedImage_openSettings": "Set up", "receivedImage_tapToProcess": "Tap to process", + "receivedImage_save": "Save image", + "receivedImage_shareCaption": "AI-reconstructed from {bytes} bytes; fine detail is generated, not transmitted.", + "@receivedImage_shareCaption": { + "placeholders": { + "bytes": { + "type": "int" + } + } + }, + "receivedImage_packetInfo": "Packet info", + "receivedImage_parityRecovered": "One packet was rebuilt from the recovery packet.", + "receivedImage_decodeTime": "Reconstructed in {ms} ms", + "@receivedImage_decodeTime": { + "placeholders": { + "ms": { + "type": "int" + } + } + }, + "receivedImage_saveFailed": "Couldn't save the image", "receivedImage_awaiting": "{bytes} bytes · {packets} {packets, plural, =1{packet} other{packets}}", "@receivedImage_awaiting": { "placeholders": { @@ -2887,5 +3080,14 @@ "type": "String" } } + }, + "chat_longMessageRetryNote": "Over 158 bytes: sent at most {count} times", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } } } diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb index 07a22733..2ff7f68c 100644 --- a/lib/l10n/app_es.arb +++ b/lib/l10n/app_es.arb @@ -1172,7 +1172,7 @@ "repeater_refreshMultiAcks": "Actualizar ACK múltiples", "repeater_networkHealth": "Salud de la red", "repeater_loopDetect": "Detección de bucles", - "repeater_loopDetectHelper": "Crea paquetes de \"flujo\" que parezcan bucles de enrutamiento.", + "repeater_loopDetectHelper": "Descarta los paquetes de inundación que parezcan bucles de enrutamiento", "repeater_loopDetectOff": "Desactivado", "repeater_loopDetectMinimal": "Mínimo", "repeater_loopDetectModerate": "Moderado", @@ -1295,7 +1295,7 @@ "repeater_cliQuickVersion": "Versión", "repeater_cliQuickAdvertise": "Anunciar", "repeater_cliQuickClock": "Reloj", - "repeater_cliHelpAdvert": "Envía un paquete de publicidad", + "repeater_cliHelpAdvert": "Envía un paquete de anuncio", "repeater_cliHelpReboot": "Reinicia el dispositivo. (ten en cuenta, es normal que aparezca 'Timeout')", "repeater_cliHelpClock": "Muestra la hora actual según el reloj del dispositivo.", "repeater_cliHelpPassword": "Establece una nueva contraseña de administrador para el dispositivo.", @@ -1313,8 +1313,8 @@ "repeater_cliHelpSetFloodAdvertInterval": "Establece el intervalo del temporizador en horas para enviar un paquete de anuncio masivo. Establecer en 0 para desactivarlo.", "repeater_cliHelpSetGuestPassword": "Establece/actualiza la contraseña del invitado. (para repetidores, los inicios de sesión de invitado pueden enviar la solicitud \"Obtener Estadísticas\")", "repeater_cliHelpSetName": "Establece el nombre del anuncio.", - "repeater_cliHelpSetLat": "Establece la latitud del mapa de publicidad. (grados decimales)", - "repeater_cliHelpSetLon": "Establece la longitud del mapa de la publicidad. (grados decimales)", + "repeater_cliHelpSetLat": "Establece la latitud del mapa del anuncio. (grados decimales)", + "repeater_cliHelpSetLon": "Establece la longitud del mapa del anuncio. (grados decimales)", "repeater_cliHelpSetRadio": "Establece parámetros de radio completamente nuevos y los guarda en las preferencias. Requiere un comando \"reboot\" para aplicarlos.", "repeater_cliHelpSetRxDelay": "Configura (experimental) la base para aplicar un ligero retraso a los paquetes recibidos, según la fuerza de la señal/puntuación. Establece en 0 para desactivar.", "repeater_cliHelpSetTxDelay": "Establece un factor multiplicado con el tiempo de aire para un paquete de modo de inundación y con un sistema de ranura aleatorio, para retrasar su reenvío (para disminuir la probabilidad de colisiones).", @@ -1338,7 +1338,7 @@ "repeater_cliHelpRegionGet": "Busca la región con el prefijo de nombre dado (o \"\" para el ámbito global). Responde con \"-> nombre-región (nombre-padre) 'F'\"", "repeater_cliHelpRegionPut": "Agrega o actualiza una definición de región con el nombre dado.", "repeater_cliHelpRegionRemove": "Elimina una definición de región con el nombre dado. (debe coincidir exactamente y no tener regiones hijas)", - "repeater_cliHelpRegionAllowf": "Establece el permiso de 'F'lujo para la región dada. ('' para el ámbito global/legado)", + "repeater_cliHelpRegionAllowf": "Establece el permiso de 'F'lood para la región dada. ('' para el ámbito global/legado)", "repeater_cliHelpRegionDenyf": "Elimina el permiso de 'F'lood para la región especificada. (NOTA: en esta etapa NO se recomienda utilizarlo en el ámbito global/legado!!)", "repeater_cliHelpRegionHome": "Responde con la región 'home' actual. (Aún no se ha aplicado en ninguna parte, reservado para el futuro).", "repeater_cliHelpRegionHomeSet": "Establece la región 'hogar'.", @@ -1347,8 +1347,8 @@ "repeater_cliHelpGpsOnOff": "Activa o desactiva el modo GPS.", "repeater_cliHelpGpsSync": "Sincroniza la hora del nodo con el reloj GPS.", "repeater_cliHelpGpsSetLoc": "Establece la posición del nodo a las coordenadas GPS y guarda las preferencias.", - "repeater_cliHelpGpsAdvert": "Da la configuración de la publicidad del nodo de ubicación:\n- ninguno: no incluir la ubicación en las publicidad\n- compartir: compartir la ubicación GPS (del SensorManager)\n- preferencias: publicidad la ubicación almacenada en preferencias", - "repeater_cliHelpGpsAdvertSet": "Configura la configuración de la publicidad de la ubicación.", + "repeater_cliHelpGpsAdvert": "Da la configuración de anuncio de ubicación del nodo:\n- ninguno: no incluir la ubicación en los anuncios\n- compartir: compartir la ubicación GPS (del SensorManager)\n- preferencias: anunciar la ubicación almacenada en preferencias", + "repeater_cliHelpGpsAdvertSet": "Configura la configuración de anuncio de la ubicación.", "repeater_commandsListTitle": "Lista de comandos", "repeater_commandsListNote": "NOTA: para los diversos comandos \"set...\", también existe un comando \"get...\".", "repeater_general": "General", @@ -2426,8 +2426,8 @@ "repeater_cliHelpGetAgcResetInterval": "Muestra el intervalo de reinicio del AGC en segundos.", "repeater_cliHelpGetMultiAcks": "Indica si el modo de confirmación doble está activado (1) o desactivado (0).", "repeater_cliHelpGetAllowReadOnly": "Indica si se permite el acceso de solo lectura para los usuarios invitados.", - "repeater_cliHelpGetAdvertInterval": "Muestra el intervalo de publicidad local en minutos.", - "repeater_cliHelpGetFloodAdvertInterval": "Muestra el intervalo de publicidad para la emisión de la señal de inundación, expresado en horas.", + "repeater_cliHelpGetAdvertInterval": "Muestra el intervalo de anuncio local en minutos.", + "repeater_cliHelpGetFloodAdvertInterval": "Muestra el intervalo de anuncio por inundación, en horas.", "repeater_cliHelpGetGuestPassword": "Muestra la contraseña de invitado configurada.", "repeater_cliHelpGetLat": "Muestra la latitud configurada.", "repeater_cliHelpGetLon": "Muestra la longitud configurada.", @@ -2456,8 +2456,8 @@ "repeater_cliHelpSensorList": "Muestra todas las configuraciones de sensores personalizadas, paginadas a partir de un índice de inicio opcional.", "repeater_cliHelpRegionDefault": "Muestra el ámbito predeterminado actual.", "repeater_cliHelpRegionDefaultSet": "Establece el ámbito regional predeterminado. Utilice \"\" para restablecer a la configuración predeterminada.", - "repeater_cliHelpRegionListAllowed": "Enumera las regiones que permiten el paso de vehículos debido a inundaciones.", - "repeater_cliHelpRegionListDenied": "Enumera las regiones que prohíben el tráfico debido a las inundaciones.", + "repeater_cliHelpRegionListAllowed": "Enumera las regiones que permiten el tráfico por inundación.", + "repeater_cliHelpRegionListDenied": "Enumera las regiones que prohíben el tráfico por inundación.", "repeater_cliHelpStatsPackets": "(Solo para series) Muestra estadísticas a nivel de paquetes.", "repeater_cliHelpStatsRadio": "(Solo para transmisiones en serie) Muestra estadísticas de radio.", "repeater_cliHelpStatsCore": "(Solo para series) Muestra estadísticas clave del firmware.", @@ -2962,5 +2962,38 @@ "receivedImage_tapToProcess": "Toque para procesar", "receivedImage_awaiting": "{bytes} bytes · {packets} {packets, plural, =1{paquete} other{paquetes}}", "imageSend_secondsValue": "{seconds} segundos", - "imageSend_minutesSecondsValue": "{minutes} min {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} min {seconds} s", + "channels_noFreeSlots": "Todos los espacios de canal están en uso", + "chat_longMessageRetryNote": "Más de 158 bytes: se envía como máximo {count} veces", + "reaction_report": "Reacciones con Emoji", + "repeater_bridgeNote": "Solo disponible en firmware compilado con un puente (RS232 o ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Muestra el número máximo de saltos para los anuncios por inundación.", + "repeater_cliHelpGetFloodMaxUnscoped": "Muestra el número máximo de saltos para los paquetes de inundación sin ámbito.", + "repeater_cliHelpGetRadioFemRxGain": "Muestra si la ganancia RX del módulo frontal de LoRa está activada.", + "repeater_cliHelpGetRadioFemTxGain": "Muestra si la ganancia TX del módulo frontal de LoRa está activada.", + "repeater_cliHelpRegionDef": "Define una cadena de regiones en un solo comando: cada nombre se añade bajo el anterior; \"name,parent\" añade el nombre y continúa bajo el padre indicado. Responde con la lista de regiones.", + "repeater_cliHelpSetFloodMaxAdvert": "Establece el número máximo de saltos para reenviar anuncios por inundación (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Establece el número máximo de saltos para reenviar paquetes de inundación que no tienen ámbito regional (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Activa o desactiva la ganancia RX (LNA) del módulo frontal de LoRa. Las placas que no lo tengan responden \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Activa o desactiva la ganancia TX (PA) del módulo frontal de LoRa. Las placas que no lo tengan responden \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Modo de carga de regiones: envíe un nombre de región por línea, sangrado con espacios bajo su región padre (añada F después del nombre para permitir inundación). Las líneas no reciben respuesta. Envíe una línea vacía para terminar y luego \"region save\" para guardar el resultado.", + "repeater_cliRegionLoadEnd": "(fin de la carga de regiones)", + "repeater_cliRegionLoadHint": "Línea de región, o vacía para terminar", + "repeater_frequencyInvalid": "Frecuencia inválida (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Errores de Recepción", + "repeater_txPowerRangeHelper": "-9 a 30 dBm", + "room_postsPushed": "Publicaciones Enviadas", + "room_postsStored": "Publicaciones", + "settings_publicKeyCopied": "Clave pública copiada", + "settings_radioSettingsNotApplied": "La radio no aplicó esta configuración", + "urlImage_enable": "Habilitar imágenes de URL", + "urlImage_possible": "Posible imagen de URL; actívala en Configuración.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index 678c4e21..053e0be7 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -1305,7 +1305,7 @@ "repeater_cliHelpSetTx": "Définit la puissance de transmission LoRa en dBm (réinitialisation requise pour appliquer).", "repeater_cliHelpSetRepeat": "Active ou désactive le rôle du répéteur pour ce nœud.", "repeater_cliHelpSetAllowReadOnly": "(Room server) Si \"activé\", alors un mot de passe vide permettra la connexion, mais ne permettra pas de publier dans la pièce. (lecture seule uniquement)", - "repeater_cliHelpSetFloodMax": "Définit le nombre maximal de sauts pour les paquets de balayage entrants (si >= max, le paquet n'est pas acheminé).", + "repeater_cliHelpSetFloodMax": "Définit le nombre maximal de sauts pour les paquets flood entrants (si >= max, le paquet n'est pas acheminé).", "repeater_cliHelpSetIntThresh": "Définit le seuil d'interférence (en dB). La valeur par défaut est de 14. Définir sur 0 désactive la détection des interférences de canal.", "repeater_cliHelpSetAgcResetInterval": "Définit l'intervalle pour réinitialiser le contrôleur de gain automatique. Mettez à 0 pour désactiver.", "repeater_cliHelpSetMultiAcks": "Active ou désactive la fonctionnalité « double ACKs ».", @@ -1338,7 +1338,7 @@ "repeater_cliHelpRegionGet": "Recherche la région avec le préfixe de nom donné (ou \"\" pour l'étendue globale). Répond avec \"-> nom-de-région (nom-parent) 'F'\"", "repeater_cliHelpRegionPut": "Ajoute ou met à jour une définition de région avec le nom donné.", "repeater_cliHelpRegionRemove": "Supprime une définition de région avec le nom donné.", - "repeater_cliHelpRegionAllowf": "Définit les autorisations de \"Flot\" pour la région donnée. ('' pour la portée globale/héritée)", + "repeater_cliHelpRegionAllowf": "Définit les autorisations de 'F'lood pour la région donnée. ('' pour la portée globale/héritée)", "repeater_cliHelpRegionDenyf": "Supprime l'autorisation 'F'lood' pour la région donnée. (NOTE : à ce stade, il n'est pas conseillé de l'utiliser sur l'étendue globale/héritée !! )", "repeater_cliHelpRegionHome": "Répond avec la région 'maison' actuelle. (Note appliquée nulle part pour l'instant, réservée à une utilisation future)", "repeater_cliHelpRegionHomeSet": "Définit la région 'maison'.", @@ -2394,7 +2394,7 @@ "repeater_sensors": "Capteurs", "repeater_cliHelpPowerOff": "Éteint l'appareil. (aucune réponse n'est attendue)", "repeater_cliHelpClkReboot": "Réinitialise l'horloge à une époque connue et redémarre l'appareil.", - "repeater_cliHelpAdvertZeroHop": "Envoie une publicité sans intermédiaire (uniquement aux voisins immédiats).", + "repeater_cliHelpAdvertZeroHop": "Envoie une annonce zéro saut (uniquement aux voisins immédiats).", "repeater_cliHelpStartOta": "Démarre une mise à jour du firmware par voie radio sur les cartes prises en charge.", "repeater_cliHelpTime": "Définit l'heure de l'appareil sur les secondes de l'époque Unix spécifiée. L'heure ne peut pas reculer.", "repeater_cliHelpBoard": "Indique le fabricant du panneau / l'identifiant du matériel.", @@ -2425,8 +2425,8 @@ "repeater_cliHelpGetAgcResetInterval": "Indique l'intervalle de réinitialisation de l'AGC en secondes.", "repeater_cliHelpGetMultiAcks": "Indique si le mode \"double ACK\" est activé (1) ou désactivé (0).", "repeater_cliHelpGetAllowReadOnly": "Indique si l'accès en lecture seule pour les invités est autorisé.", - "repeater_cliHelpGetAdvertInterval": "Indique l'intervalle publicitaire local en minutes.", - "repeater_cliHelpGetFloodAdvertInterval": "Indique l'intervalle publicitaire pour la diffusion de l'annonce en heures.", + "repeater_cliHelpGetAdvertInterval": "Indique l'intervalle d'annonce locale en minutes.", + "repeater_cliHelpGetFloodAdvertInterval": "Indique l'intervalle des annonces flood, en heures.", "repeater_cliHelpGetGuestPassword": "Affiche le mot de passe invité configuré.", "repeater_cliHelpGetLat": "Affiche la latitude configurée.", "repeater_cliHelpGetLon": "Affiche la longitude configurée.", @@ -2932,7 +2932,7 @@ "imageSend_radioUnknownBody": "Connectez-vous à un appareil afin que l'heure de diffusion puisse être calculée.", "imageSend_longSendTitle": "Longue transmission", "imageSend_longSendBody": "Cela maintiendra la chaîne pendant environ {duration}.", - "imageSend_floodNote": "Routage des inondations : chaque répéteur dans la zone retransmet chaque paquet, de sorte que le canal reste occupé plus longtemps que cela.", + "imageSend_floodNote": "Routage flood : chaque répéteur dans la zone retransmet chaque paquet, de sorte que le canal reste occupé plus longtemps que cela.", "imageSend_parityTitle": "Paquet de récupération", "imageSend_paritySubtitle": "Un paquet supplémentaire. Les messages de groupe ne sont pas reconnus, ce qui permet au destinataire de reconstruire l'image si un seul paquet est perdu.", "imageSend_send": "Envoyer", @@ -2962,5 +2962,38 @@ "receivedImage_tapToProcess": "Tapez pour traiter", "receivedImage_awaiting": "{bytes} octets · {packets} {packets, plural, =1{paquet} other{paquets}}", "imageSend_secondsValue": "{seconds} s", - "imageSend_minutesSecondsValue": "{minutes} minutes {seconds} secondes" + "imageSend_minutesSecondsValue": "{minutes} minutes {seconds} secondes", + "channels_noFreeSlots": "Tous les emplacements de canaux sont utilisés", + "chat_longMessageRetryNote": "Plus de 158 octets : envoi au maximum {count} fois", + "reaction_report": "Réactions emoji", + "repeater_bridgeNote": "Disponible uniquement sur un firmware compilé avec un pont (RS232 ou ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Affiche le nombre maximal de sauts pour les annonces flood.", + "repeater_cliHelpGetFloodMaxUnscoped": "Affiche le nombre maximal de sauts pour les paquets flood sans portée régionale.", + "repeater_cliHelpGetRadioFemRxGain": "Indique si le gain RX du module frontal LoRa est activé.", + "repeater_cliHelpGetRadioFemTxGain": "Indique si le gain TX du module frontal LoRa est activé.", + "repeater_cliHelpRegionDef": "Définit une chaîne de régions en une seule commande : chaque nom est ajouté sous le précédent ; \"name,parent\" ajoute le nom, puis continue sous le parent indiqué. Répond avec la liste des régions.", + "repeater_cliHelpSetFloodMaxAdvert": "Définit le nombre maximal de sauts pour la retransmission des annonces flood (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Définit le nombre maximal de sauts pour la retransmission des paquets flood sans portée régionale (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Active ou désactive le gain RX (LNA) du module frontal LoRa. Les cartes qui n'en ont pas répondent \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Active ou désactive le gain TX (PA) du module frontal LoRa. Les cartes qui n'en ont pas répondent \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Mode de chargement des régions : envoyez un nom de région par ligne, indenté avec des espaces sous sa région parente (ajoutez F après le nom pour autoriser le flood). Les lignes ne reçoivent pas de réponse. Envoyez une ligne vide pour terminer, puis \"region save\" pour conserver le résultat.", + "repeater_cliRegionLoadEnd": "(fin du chargement des régions)", + "repeater_cliRegionLoadHint": "Ligne de région, ou vide pour terminer", + "repeater_frequencyInvalid": "Fréquence invalide (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Erreurs de réception", + "repeater_txPowerRangeHelper": "-9 à 30 dBm", + "room_postsPushed": "Publications envoyées", + "room_postsStored": "Publications", + "settings_publicKeyCopied": "Clé publique copiée", + "settings_radioSettingsNotApplied": "La radio n'a pas appliqué ces paramètres", + "urlImage_enable": "Activer les images URL", + "urlImage_possible": "Image URL possible ; activez-la dans les Paramètres.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_hu.arb b/lib/l10n/app_hu.arb index 432a8895..cdd19370 100644 --- a/lib/l10n/app_hu.arb +++ b/lib/l10n/app_hu.arb @@ -175,7 +175,7 @@ "settings_deleteAllPathsSubtitle": "Törölje az összes elérési utat a névjegyekből.", "settings_sendAdvertisement": "Hirdetés küldése", "settings_sendAdvertisementSubtitle": "Jelenlét a közvetítésben most", - "settings_advertisementSent": "Reklám elküldve", + "settings_advertisementSent": "Hirdetés elküldve", "settings_syncTime": "Szinkronizálási idő", "settings_syncTimeSubtitle": "Az eszköz órájának beállítása a telefon idejére", "settings_timeSynchronized": "Idő szinkronizálva", @@ -264,7 +264,7 @@ "appSettings_messageNotificationsSubtitle": "Értesítés megjelenítése új üzenetek fogadásakor", "appSettings_channelMessageNotifications": "Csatorna üzenetek értesítései", "appSettings_channelMessageNotificationsSubtitle": "Értesítés megjelenítése csatornaüzenetek fogadásakor", - "appSettings_advertisementNotifications": "Reklám Értesítések", + "appSettings_advertisementNotifications": "Hirdetési értesítések", "appSettings_advertisementNotificationsSubtitle": "Értesítés megjelenítése új csomópontok felfedezésekor", "appSettings_messaging": "Üzenetküldés", "appSettings_clearPathOnMaxRetry": "Útvonal törlése a Max. újrapróbálkozásnál", @@ -774,7 +774,7 @@ "chat_clearPathSubtitle": "A parancs új küldéskor újra kell aktivizálnia.", "chat_pathCleared": "Út megtisztítva. A következő üzenet újra felfedezi az útvonalat.", "chat_floodModeSubtitle": "Használja a \"útvonal\" kapcsolót az alkalmazás sávjában.", - "chat_floodModeEnabled": "Árvízvédelmi mód bekapcsolva. A visszaállítás a alkalmazásban található útvonal ikon segítségével.", + "chat_floodModeEnabled": "Elárasztás mód bekapcsolva. A visszaállítás a alkalmazásban található útvonal ikon segítségével.", "chat_fullPath": "Teljes útvonal", "chat_pathDetailsNotAvailable": "Az útvonal részletei még nem elérhetők. Próbálja meg küldeni egy üzenetet, hogy frissítse az információkat.", "chat_pathSetHops": "Path set: {hopCount} {hopCount, plural, =1{hop} other{hops}} - {status}", @@ -795,7 +795,7 @@ "chat_path": "Útvonal", "chat_publicKey": "Nyilvános kulcs", "chat_compressOutgoingMessages": "A kimenő üzenetek tömörítése", - "chat_floodForced": "Árvíz (kényszerített)", + "chat_floodForced": "Elárasztás (kényszerített)", "chat_directForced": "Közvetlen (kényszerített)", "chat_hopsForced": "{count} ugrás (kényszerített)", "@chat_hopsForced": { @@ -805,7 +805,7 @@ } } }, - "chat_floodAuto": "Árvíz (automatikus)", + "chat_floodAuto": "Elárasztás (automatikus)", "chat_direct": "Közvetlen", "chat_poiShared": "POI megosztva", "chat_unread": "Olvasatlan: {count}", @@ -1204,7 +1204,7 @@ } } }, - "repeater_packetTxTotal": "Összesen: {total}, Árvíz: {flood}, Közvetlen: {direct}", + "repeater_packetTxTotal": "Összesen: {total}, Elárasztás: {flood}, Közvetlen: {direct}", "@repeater_packetTxTotal": { "placeholders": { "total": { @@ -1218,7 +1218,7 @@ } } }, - "repeater_packetRxTotal": "Összesen: {total}, Árvíz: {flood}, Közvetlen: {direct}", + "repeater_packetRxTotal": "Összesen: {total}, Elárasztás: {flood}, Közvetlen: {direct}", "@repeater_packetRxTotal": { "placeholders": { "total": { @@ -1232,7 +1232,7 @@ } } }, - "repeater_duplicatesFloodDirect": "Árvíz: {flood}, Közvetlen: {direct}", + "repeater_duplicatesFloodDirect": "Elárasztás: {flood}, Közvetlen: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1279,7 +1279,7 @@ "repeater_guestAccessSubtitle": "Csak olvasási hozzáférés engedélyezése a vendégek számára", "repeater_privacyMode": "Adatvédelmi mód", "repeater_privacyModeSubtitle": "Név/hely elrejtése a hirdetésekben", - "repeater_advertisementSettings": "Reklámbeállítások", + "repeater_advertisementSettings": "Hirdetésbeállítások", "repeater_localAdvertInterval": "Helyi hirdetési intervallum", "repeater_localAdvertIntervalMinutes": "{minutes} perc", "@repeater_localAdvertIntervalMinutes": { @@ -1289,7 +1289,7 @@ } } }, - "repeater_floodAdvertInterval": "Árvízi hirdetési intervallum", + "repeater_floodAdvertInterval": "Elárasztási hirdetési intervallum", "repeater_floodAdvertIntervalHours": "{hours} óra", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1336,7 +1336,7 @@ "repeater_refreshMultiAcks": "Többszörös ACK-ek frissítése", "repeater_networkHealth": "Hálózat állapota", "repeater_loopDetect": "Hurokérzékelés", - "repeater_loopDetectHelper": "Dobd el az útválasztó huroknak tűnő árvízcsomagokat", + "repeater_loopDetectHelper": "Dobd el az útválasztó huroknak tűnő elárasztási csomagokat", "repeater_loopDetectOff": "Le", "repeater_loopDetectMinimal": "Minimális", "repeater_loopDetectModerate": "Mérsékelt", @@ -1354,14 +1354,14 @@ "repeater_ownerInfo": "Üzemeltető információ", "repeater_ownerInfoHelper": "Nyilvános metaadatok ehhez az átjátszóhoz", "repeater_refreshOwnerInfo": "Frissítse az operátor adatait", - "repeater_floodMax": "Árvíz max ugrás", - "repeater_floodMaxHelper": "Maximum ugrások, amelyeket egy árvízcsomag utazhat (0-64)", + "repeater_floodMax": "Elárasztás max ugrás", + "repeater_floodMaxHelper": "Maximum ugrások, amelyeket egy elárasztási csomag utazhat (0-64)", "repeater_advancedSettings": "Fejlett", "repeater_advancedSettingsSubtitle": "Hangológombok tapasztalt kezelőknek", "repeater_pathHashMode": "Útvonal hash mód", "repeater_pathHashModeHelper": "Az átjátszó azonosítójának elárasztási útvonal/hurokészlelési címkékbe való kódolására használt bájtok. 0 = 1 bájt (256 azonosító, legfeljebb 64 ugrás), 1 = 2 bájt (65 000 azonosító, legfeljebb 32 ugrás), 2 = 3 bájt (16 millió azonosító, legfeljebb 21 ugrás). A v1.13 és régebbi firmware eldobja a többbájtos elérési utat – csak akkor emelje meg, ha a hálózat a v1.14+ verziót használja.", "repeater_txDelay": "Áradási TX késleltetés", - "repeater_txDelayHelper": "Újraküldési térköz az árvízi forgalomhoz, a csomag sugárzási idejének szorzójaként (0-2, alapértelmezett 0,5). Magasabb = kevesebb ütközés, de lassabb szállítás.", + "repeater_txDelayHelper": "Újraküldési térköz az elárasztási forgalomhoz, a csomag sugárzási idejének szorzójaként (0-2, alapértelmezett 0,5). Magasabb = kevesebb ütközés, de lassabb szállítás.", "repeater_directTxDelay": "Közvetlen TX késleltetés", "repeater_directTxDelayHelper": "A közvetlen (nem elárasztásos) forgalom újraküldési távolsága a csomag sugárzási idejének szorzójaként (0-2, alapértelmezett 0,3).", "repeater_intThresh": "Interferencia küszöb", @@ -1369,8 +1369,8 @@ "repeater_agcResetInterval": "AGC reset intervallum", "repeater_agcResetIntervalHelper": "Milyen gyakran kell visszaállítani a rádió automatikus erősítésszabályozását, hogy helyreálljon a beragadt erősítési állapotból. A másodpercek, 4 többszörösére csökkentve. 0 letiltja az időszakos visszaállításokat.", "repeater_actionsTitle": "Akciók", - "repeater_sendAdvert": "Árvízhirdetés küldése", - "repeater_sendAdvertSubtitle": "Adjon árvízreklámot a hálózaton keresztül", + "repeater_sendAdvert": "Elárasztási hirdetés küldése", + "repeater_sendAdvertSubtitle": "Küldjön elárasztási hirdetést a hálózaton keresztül", "repeater_sendAdvertZeroHop": "Zéró ugrású hirdetés küldése", "repeater_sendAdvertZeroHopSubtitle": "Egyugrásos hirdetés sugárzása (közvetítés nélkül)", "repeater_clockSync": "Óra szinkronizálása most", @@ -1459,7 +1459,7 @@ "repeater_cliQuickVersion": "Változat", "repeater_cliQuickAdvertise": "Hirdet", "repeater_cliQuickClock": "Óra", - "repeater_cliHelpAdvert": "Reklámcsomagot küld", + "repeater_cliHelpAdvert": "Hirdetési csomagot küld", "repeater_cliHelpReboot": "Újraindítja az eszközt. (megjegyzendő, hogy \"Időtúllépés\" jelenik meg, ami normális)", "repeater_cliHelpClock": "Megjeleníti az aktuális időt az eszköz órájánként.", "repeater_cliHelpPassword": "Új rendszergazdai jelszót állít be az eszközhöz.", @@ -1469,12 +1469,12 @@ "repeater_cliHelpSetTx": "A LoRa adási teljesítményét dBm-ben állítja be. (újraindítás az alkalmazáshoz)", "repeater_cliHelpSetRepeat": "Engedélyezi vagy letiltja a csomópont ismétlő szerepét.", "repeater_cliHelpSetAllowReadOnly": "(Szobaszerver) Ha 'be', akkor az üres jelszó bejelentkezés engedélyezett, de nem lehet postázni a szobába. (csak olvasható)", - "repeater_cliHelpSetFloodMax": "Beállítja a bejövő árvízcsomag ugrásainak maximális számát (ha >= max, a csomag nem kerül továbbításra)", + "repeater_cliHelpSetFloodMax": "Beállítja a bejövő elárasztási csomag ugrásainak maximális számát (ha >= max, a csomag nem kerül továbbításra)", "repeater_cliHelpSetIntThresh": "Beállítja az interferencia küszöböt (DB-ben). Az alapértelmezett érték 14. Állítsa 0-ra a csatornainterferencia-érzékelés letiltásához.", "repeater_cliHelpSetAgcResetInterval": "Beállítja az Auto Gain Controller alaphelyzetbe állításának intervallumát. A letiltáshoz állítsa 0-ra.", "repeater_cliHelpSetMultiAcks": "Engedélyezi vagy letiltja a „dupla ACK” funkciót.", "repeater_cliHelpSetAdvertInterval": "Beállítja a helyi (nulla ugrású) hirdetési csomag küldésének időzítési időközét percekben. A letiltáshoz állítsa 0-ra.", - "repeater_cliHelpSetFloodAdvertInterval": "Beállítja az időzítő intervallumát órákban az árvízhirdetési csomag küldéséhez. A letiltáshoz állítsa 0-ra.", + "repeater_cliHelpSetFloodAdvertInterval": "Beállítja az időzítő intervallumát órákban az elárasztási hirdetési csomag küldéséhez. A letiltáshoz állítsa 0-ra.", "repeater_cliHelpSetGuestPassword": "Beállítja/frissíti a vendég jelszavát. (Repeaterek esetén a vendégbejelentkezés elküldheti a \"Statisztikák lekérése\" kérést)", "repeater_cliHelpSetName": "Beállítja a hirdetés nevét.", "repeater_cliHelpSetLat": "Beállítja a hirdetéstérkép szélességi fokát. (tizedes fok)", @@ -1497,7 +1497,7 @@ "repeater_cliHelpLogErase": "Törli a csomagnaplókat a fájlrendszerből.", "repeater_cliHelpNeighbors": "Megjeleníti a nulla ugrású hirdetéseken keresztül hallható egyéb átjátszó csomópontok listáját. Minden sor id-prefix-hex:timestamp:snr-times-4", "repeater_cliHelpNeighborRemove": "Eltávolítja az első egyező bejegyzést (a pubkey előtag (hex) alapján) a szomszédok listájából.", - "repeater_cliHelpRegion": "(csak soros) Felsorolja az összes meghatározott régiót és az aktuális árvízi engedélyeket.", + "repeater_cliHelpRegion": "(csak soros) Felsorolja az összes meghatározott régiót és az aktuális elárasztási engedélyeket.", "repeater_cliHelpRegionLoad": "MEGJEGYZÉS: ez egy speciális többparancsos hívás. Minden következő parancs egy régiónév (szóközökkel behúzva a szülőhierarchiát jelölve, legalább egy szóközzel). Üres sor/parancs küldésével megszűnik.", "repeater_cliHelpRegionGet": "Régiót keres adott név előtaggal (vagy \"*\" a globális hatókörhöz). A válasz a következővel: \"-> régiónév (szülőnév) 'F'\"", "repeater_cliHelpRegionPut": "Adott névvel rendelkező régiódefiníció hozzáadása vagy frissítése.", @@ -1655,7 +1655,7 @@ "channelPath_viewMap": "Térkép megtekintése", "channelPath_otherObservedPaths": "Egyéb megfigyelt utak", "channelPath_repeaterHops": "Repeater Hops", - "channelPath_noHopDetails": "Ennél a csomagnál a komlórészletek nincsenek megadva.", + "channelPath_noHopDetails": "Ennél a csomagnál az ugrásrészletek nincsenek megadva.", "channelPath_messageDetails": "Üzenet részletei", "channelPath_senderLabel": "Feladó", "channelPath_timeLabel": "Idő", @@ -1697,7 +1697,7 @@ } }, "channelPath_unknownPath": "Ismeretlen", - "channelPath_floodPath": "Árvíz", + "channelPath_floodPath": "Elárasztás", "channelPath_directPath": "Közvetlen", "channelPath_observedZeroOf": "0 / {total} ugrás", "@channelPath_observedZeroOf": { @@ -1905,7 +1905,7 @@ "pathTrace_failed": "Az útvonal nyomon követése nem sikerült.", "pathTrace_notAvailable": "Útvonal nyomkövetés nem érhető el.", "pathTrace_refreshTooltip": "Path Trace frissítése.", - "pathTrace_someHopsNoLocation": "Egy vagy több komló helye hiányzik!", + "pathTrace_someHopsNoLocation": "Egy vagy több ugrás helye hiányzik!", "pathTrace_clearTooltip": "Tiszta útvonal.", "losSelectStartEnd": "Válassza ki a LOS kezdő és záró csomópontját.", "losRunFailed": "A rálátás ellenőrzése sikertelen: {error}", @@ -2060,7 +2060,7 @@ "contacts_contactImported": "A névjegy importálása megtörtént.", "contacts_contactImportFailed": "Nem sikerült importálni a névjegyet.", "contacts_zeroHopAdvert": "Zero Hop hirdetés", - "contacts_floodAdvert": "Árvíz hirdetés", + "contacts_floodAdvert": "Elárasztási hirdetés", "contacts_copyAdvertToClipboard": "Hirdetés másolása a vágólapra", "contacts_addContactFromClipboard": "Névjegy hozzáadása a vágólapról", "contacts_ShareContact": "Névjegy másolása a vágólapra", @@ -2337,7 +2337,7 @@ "repeater_cliHelpGetMultiAcks": "Megmutatja, hogy a dupla ACK mód be van-e kapcsolva (1) vagy ki (0).", "repeater_cliHelpGetAllowReadOnly": "Megmutatja, hogy a vendég csak olvasási hozzáférés engedélyezett-e.", "repeater_cliHelpGetAdvertInterval": "A helyi hirdetési intervallumot mutatja percben.", - "repeater_cliHelpGetFloodAdvertInterval": "Megjeleníti az árvízhirdetés intervallumát órákban.", + "repeater_cliHelpGetFloodAdvertInterval": "Megjeleníti az elárasztási hirdetés intervallumát órákban.", "repeater_cliHelpGetGuestPassword": "Megjeleníti a beállított vendégjelszót.", "repeater_cliHelpGetLat": "Megjeleníti a beállított szélességi fokot.", "repeater_cliHelpGetLon": "A beállított hosszúságot mutatja.", @@ -2366,8 +2366,8 @@ "repeater_cliHelpSensorList": "Felsorolja az összes egyéni érzékelőbeállítást, oldalszámozással az opcionális kezdőindexből.", "repeater_cliHelpRegionDefault": "Megjeleníti az aktuális alapértelmezett régióhatókört.", "repeater_cliHelpRegionDefaultSet": "Beállítja az alapértelmezett régió hatókört. A törléshez használja a \"\" parancsot.", - "repeater_cliHelpRegionListAllowed": "Felsorolja azokat a régiókat, amelyek lehetővé teszik az árvízi forgalmat.", - "repeater_cliHelpRegionListDenied": "Felsorolja azokat a régiókat, amelyek megtagadják az árvízi forgalmat.", + "repeater_cliHelpRegionListAllowed": "Felsorolja azokat a régiókat, amelyek lehetővé teszik az elárasztási forgalmat.", + "repeater_cliHelpRegionListDenied": "Felsorolja azokat a régiókat, amelyek megtagadják az elárasztási forgalmat.", "repeater_cliHelpStatsPackets": "(Csak soros) Csomag szintű statisztikákat jelenít meg.", "repeater_cliHelpStatsRadio": "(Csak soros) Rádióstatisztikák megjelenítése.", "repeater_cliHelpStatsCore": "(Csak soros) Az alapvető firmware-statisztikák megjelenítése.", @@ -2507,7 +2507,7 @@ "contacts_searchClose": "Keresés bezárása", "routing_title": "Útválasztás", "routing_modeAuto": "Auto", - "routing_modeFlood": "Árvíz", + "routing_modeFlood": "Elárasztás", "routing_modeManual": "Kézikönyv", "routing_modeAutoHint": "Automatikusan kiválasztja a legismertebb utat, és elárasztja, ha nem ismert.", "routing_modeFloodHint": "Minden átjátszón keresztül sugároz. A legmegbízhatóbb, de több műsoridőt használ.", @@ -2525,14 +2525,14 @@ "routing_qualityGood": "Jó első ugrás", "routing_qualityFair": "Tisztességes első ugrás", "routing_qualityWorked": "Szállított", - "routing_qualityFlood": "Árvízen keresztül hallatszott", + "routing_qualityFlood": "Elárasztáson keresztül hallatszott", "routing_qualityUntested": "Nem tesztelt", "routing_neverWorked": "soha nem erősítették meg", - "routing_floodDelivery": "Árvízi szállítás", + "routing_floodDelivery": "Elárasztási szállítás", "pathEditor_title": "Építsd meg az útvonalat", "pathEditor_hopCounter": "{count} 64 ugrásból", "pathEditor_noHops": "Még nincs ugrás. Koppintson az alábbi ismétlőkre, ha sorrendben szeretné felvenni őket, vagy mentse ugrás nélkül a közvetlen küldéshez.", - "pathEditor_addHops": "Sorrendben adjuk hozzá a komlót", + "pathEditor_addHops": "Sorrendben adjuk hozzá az ugrásokat", "pathEditor_searchRepeaters": "Ismétlő keresése", "pathEditor_advancedHex": "Haladó: nyers hexadecimális útvonal", "pathEditor_hexLabel": "Hexadecimális előtagok", @@ -2866,5 +2866,39 @@ "receivedImage_tapToProcess": "Klikd a feljelenítést", "receivedImage_awaiting": "{bytes} bájt · {packets} {packets, plural, =1{csomag} other{csomag}}", "imageSend_secondsValue": "{seconds} sekünd\n\n(Note: The placeholder {seconds} is kept unchanged as requested.)", - "imageSend_minutesSecondsValue": "{minutes} per {seconds} sekünd\n\n(Note: The original text appears to be a placeholder format rather than a complete sentence. The translation reflects the literal structure while preserving the placeholders as requested.)" + "imageSend_minutesSecondsValue": "{minutes} per {seconds} sekünd\n\n(Note: The original text appears to be a placeholder format rather than a complete sentence. The translation reflects the literal structure while preserving the placeholders as requested.)", + "channels_noFreeSlots": "Minden csatornahely foglalt", + "chat_longMessageRetryNote": "158 bájt felett: legfeljebb {count} alkalommal küldve", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + }, + "reaction_report": "Emoji reakciók", + "repeater_bridgeNote": "Csak híddal (RS232 vagy ESP-NOW) épített firmware-en érhető el.", + "repeater_cliHelpGetFloodMaxAdvert": "Megjeleníti az elárasztási hirdetések maximális ugrásszámát.", + "repeater_cliHelpGetFloodMaxUnscoped": "Megjeleníti a hatókör nélküli elárasztási csomagok maximális ugrásszámát.", + "repeater_cliHelpGetRadioFemRxGain": "Megjeleníti, hogy a LoRa front-end modul RX erősítése be van-e kapcsolva.", + "repeater_cliHelpGetRadioFemTxGain": "Megjeleníti, hogy a LoRa front-end modul TX erősítése be van-e kapcsolva.", + "repeater_cliHelpRegionDef": "Egy paranccsal régiók láncát határozza meg: minden név az előző alá kerül; a \"name,parent\" hozzáadja a nevet, majd a megadott szülő alatt folytatja. Válaszként a régiólistát adja.", + "repeater_cliHelpSetFloodMaxAdvert": "Beállítja az elárasztási hirdetések továbbításának maximális ugrásszámát (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Beállítja a hatókör nélküli elárasztási csomagok továbbításának maximális ugrásszámát (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Ki-/bekapcsolja a LoRa front-end modul RX erősítését (LNA). Az ezzel nem rendelkező áramkörök válasza \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Ki-/bekapcsolja a LoRa front-end modul TX erősítését (PA). Az ezzel nem rendelkező áramkörök válasza \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Régióbetöltési mód: soronként küldjön egy régiónevet, szóközökkel behúzva a szülője alá (a név után F hozzáadásával engedélyezhető az elárasztás). A sorokra nem érkezik válasz. Egy üres sor küldésével fejezze be, majd a \"region save\" paranccsal mentse az eredményt.", + "repeater_cliRegionLoadEnd": "(régióbetöltés vége)", + "repeater_cliRegionLoadHint": "Régiósor, vagy üres a befejezéshez", + "repeater_frequencyInvalid": "Érvénytelen frekvencia (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Vételi hibák", + "repeater_txPowerRangeHelper": "-9-től 30 dBm-ig", + "room_postsPushed": "Kiküldött bejegyzések", + "room_postsStored": "Bejegyzések", + "settings_publicKeyCopied": "Nyilvános kulcs másolva", + "settings_radioSettingsNotApplied": "A rádió nem alkalmazta ezeket a beállításokat", + "urlImage_enable": "URL-képek engedélyezése", + "urlImage_possible": "Lehetséges URL-kép; engedélyezze a Beállításokban." } diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arb index e70a483e..99cc6e5e 100644 --- a/lib/l10n/app_it.arb +++ b/lib/l10n/app_it.arb @@ -192,7 +192,7 @@ "appSettings_messageNotificationsSubtitle": "Mostra notifica all'arrivo di nuovi messaggi", "appSettings_channelMessageNotifications": "Notifiche Messaggi Canale", "appSettings_channelMessageNotificationsSubtitle": "Mostra notifica all'arrivo di messaggi nel canale", - "appSettings_advertisementNotifications": "Notifiche Pubblicitarie", + "appSettings_advertisementNotifications": "Notifiche degli Annunci", "appSettings_advertisementNotificationsSubtitle": "Mostra notifica quando vengono scoperti nuovi nodi", "appSettings_messaging": "Messaggi", "appSettings_clearPathOnMaxRetry": "Cancella percorso al massimo dei tentativi", @@ -1223,7 +1223,7 @@ "repeater_loopDetectModerate": "Moderato", "repeater_loopDetectStrict": "Rigido", "repeater_dutyCycle": "Ciclo di lavoro", - "repeater_dutyCycleHelper": "Percentuale massima di utilizzo dello spazio pubblicitario", + "repeater_dutyCycleHelper": "Percentuale massima di airtime", "repeater_dutyCyclePercent": "{percent}%", "@repeater_dutyCyclePercent": { "placeholders": { @@ -1235,7 +1235,7 @@ "repeater_ownerInfo": "Informazioni sull'operatore", "repeater_ownerInfoHelper": "Metadati pubblici per questo ripetitore", "repeater_refreshOwnerInfo": "Aggiorna le informazioni sull'operatore", - "repeater_floodMax": "Massimo numero di salti in caso di inondazione", + "repeater_floodMax": "Numero massimo di salti in flood", "repeater_floodMaxHelper": "Numero massimo di pacchetti che un flusso può attraversare (0-64)", "repeater_advancedSettings": "Avanzato", "repeater_advancedSettingsSubtitle": "Manopole di regolazione per operatori esperti", @@ -1250,8 +1250,8 @@ "repeater_agcResetInterval": "Intervallo di ripristino di AGC", "repeater_agcResetIntervalHelper": "Con quale frequenza è necessario resettare il controllo automatico del guadagno per ripristinare il funzionamento dopo un'interruzione. Impostare su secondi, ridotti a multipli di 4. Disattivare la reimpostazione periodica.", "repeater_actionsTitle": "Azioni", - "repeater_sendAdvert": "Inviare annuncio relativo alle inondazioni", - "repeater_sendAdvertSubtitle": "Trasmettere un annuncio pubblicitario relativo alle inondazioni attraverso la rete.", + "repeater_sendAdvert": "Invia annuncio flood", + "repeater_sendAdvertSubtitle": "Trasmettere un annuncio flood attraverso la rete.", "repeater_sendAdvertZeroHop": "Inviare un annuncio senza intermediari", "repeater_sendAdvertZeroHopSubtitle": "Trasmettere un annuncio a un solo hop (senza ripetitori)", "repeater_clockSync": "Sincronizza l'orologio ora", @@ -1340,7 +1340,7 @@ "repeater_cliQuickVersion": "Versione", "repeater_cliQuickAdvertise": "Annuncia", "repeater_cliQuickClock": "Orologio", - "repeater_cliHelpAdvert": "Invia un pacchetto pubblicitario", + "repeater_cliHelpAdvert": "Invia un pacchetto di annuncio", "repeater_cliHelpReboot": "Riavvia il dispositivo. (nota, potresti ottenere 'Timeout' che è normale)", "repeater_cliHelpClock": "Mostra l'ora corrente per l'orologio di ciascun dispositivo.", "repeater_cliHelpPassword": "Imposta una nuova password di amministratore per il dispositivo.", @@ -1350,16 +1350,16 @@ "repeater_cliHelpSetTx": "Imposta la potenza di trasmissione LoRa in dBm (riavvia per applicare).", "repeater_cliHelpSetRepeat": "Abilita o disabilita il ruolo del ripetitore per questo nodo.", "repeater_cliHelpSetAllowReadOnly": "(Server stanza) Se 'on', allora l'accesso con una password vuota sarà consentito, ma non sarà possibile pubblicare nella stanza. (solo lettura).", - "repeater_cliHelpSetFloodMax": "Imposta il numero massimo di salti per i pacchetti di inondazione in entrata (se >= max, il pacchetto non viene inoltrato)", + "repeater_cliHelpSetFloodMax": "Imposta il numero massimo di salti per i pacchetti flood in entrata (se >= max, il pacchetto non viene inoltrato)", "repeater_cliHelpSetIntThresh": "Imposta il Limite di Interferenza (in dB). Il valore predefinito è 14. Imposta su 0 per disabilitare il rilevamento delle interferenze del canale.", "repeater_cliHelpSetAgcResetInterval": "Imposta l'intervallo per resettare il controllore Automatico del Guadagno. Imposta su 0 per disabilitare.", "repeater_cliHelpSetMultiAcks": "Abilita o disabilita la funzione 'double ACKs'.", - "repeater_cliHelpSetAdvertInterval": "Imposta l'intervallo del timer in minuti per inviare un pacchetto di pubblicità locale (senza salto). Imposta su 0 per disabilitare.", - "repeater_cliHelpSetFloodAdvertInterval": "Imposta l'intervallo del timer in ore per inviare un pacchetto pubblicitario di massa. Imposta su 0 per disabilitare.", + "repeater_cliHelpSetAdvertInterval": "Imposta l'intervallo del timer in minuti per inviare un pacchetto di annuncio locale (senza salto). Imposta su 0 per disabilitare.", + "repeater_cliHelpSetFloodAdvertInterval": "Imposta l'intervallo del timer in ore per inviare un pacchetto di annuncio flood. Imposta su 0 per disabilitare.", "repeater_cliHelpSetGuestPassword": "Imposta/aggiorna la password dell'ospite. (per ripetitori, gli accessi degli ospiti possono inviare la richiesta \"Get Stats\")", "repeater_cliHelpSetName": "Imposta il nome dell'annuncio.", - "repeater_cliHelpSetLat": "Imposta la latitudine della mappa pubblicitaria. (gradi decimali)", - "repeater_cliHelpSetLon": "Imposta la longitudine della mappa pubblicitaria. (gradi decimali)", + "repeater_cliHelpSetLat": "Imposta la latitudine della mappa dell'annuncio. (gradi decimali)", + "repeater_cliHelpSetLon": "Imposta la longitudine della mappa dell'annuncio. (gradi decimali)", "repeater_cliHelpSetRadio": "Imposta completamente nuovi parametri radio e li salva nelle preferenze. Richiede un comando \"reboot\" per l'applicazione.", "repeater_cliHelpSetRxDelay": "Impostazioni (experimental) base (deve essere > 1 per l'effetto) per applicare un leggero ritardo ai pacchetti ricevuti, in base alla forza del segnale/punteggio. Imposta a 0 per disabilitare.", "repeater_cliHelpSetTxDelay": "Imposta un fattore moltiplicativo sul tempo di trasmissione dei pacchetti in modalità flood e su un sistema a slot casuali, per ritardarne l'inoltro (riducendo la probabilità di collisioni).", @@ -1378,7 +1378,7 @@ "repeater_cliHelpLogErase": "Elimina i log del pacchetto dal file system.", "repeater_cliHelpNeighbors": "Mostra un elenco di altri nodi repeater ricevuti tramite annunci zero-hop. Ogni riga è id-prefisso-esadecimale:timestamp:snr-volte-4", "repeater_cliHelpNeighborRemove": "Rimuove la prima corrispondenza in base al prefisso (esadecimale) della pubkey, dalla lista dei vicini.", - "repeater_cliHelpRegion": "(solo serie) Elenca tutte le regioni definite e le autorizzazioni di allagamento correnti.", + "repeater_cliHelpRegion": "(solo serie) Elenca tutte le regioni definite e le autorizzazioni flood correnti.", "repeater_cliHelpRegionLoad": "NOTA: questo è un'invocazione multi-comando speciale. Ogni comando successivo è un nome di regione (indentato con spazi per indicare la gerarchia parentale, con almeno uno spazio). Terminata inviando una riga vuota/comando.", "repeater_cliHelpRegionGet": "Cerca la regione con il prefisso del nome dato (o \"\" per l'ambito globale). Risponde con \"-> nome-regione (nome-genitore) 'F'\"", "repeater_cliHelpRegionPut": "Aggiunge o aggiorna una definizione di regione con il nome specificato.", @@ -1901,7 +1901,7 @@ "appSettings_enableMessageTracing": "Abilita tracciamento messaggi", "appSettings_enableMessageTracingSubtitle": "Mostra metadati dettagliati su instradamento e tempi per i messaggi", "contacts_zeroHopAdvert": "Annuncio Zero Hop", - "contacts_floodAdvert": "Annuncio alluvionale", + "contacts_floodAdvert": "Annuncio Flood", "contacts_copyAdvertToClipboard": "Copia Annuncio negli Appunti", "contacts_addContactFromClipboard": "Aggiungere contatto dalla clipboard", "contacts_clipboardEmpty": "La clipboard è vuota.", @@ -1962,7 +1962,7 @@ "settings_gpxExportAllContacts": "Tutte le posizioni dei contatti", "settings_gpxExportShareText": "Dati mappa esportati da meshcore-open", "settings_gpxExportShareSubject": "meshcore-open esportazione dati mappa GPX", - "pathTrace_someHopsNoLocation": "Uno o più hop non hanno una posizione!", + "pathTrace_someHopsNoLocation": "Uno o più salti non hanno una posizione!", "map_removeLast": "Rimuovi ultimo", "map_pathTraceCancelled": "Tracciamento del percorso annullato.", "pathTrace_clearTooltip": "Cancella percorso", @@ -2427,7 +2427,7 @@ "repeater_cliHelpGetAgcResetInterval": "Indica l'intervallo di reset dell'AGC in secondi.", "repeater_cliHelpGetMultiAcks": "Indica se la modalità \"ACK doppio\" è attiva (1) o disattivata (0).", "repeater_cliHelpGetAllowReadOnly": "Indica se è consentito l'accesso in sola lettura per gli ospiti.", - "repeater_cliHelpGetAdvertInterval": "Indica l'intervallo pubblicitario locale in minuti.", + "repeater_cliHelpGetAdvertInterval": "Indica l'intervallo di annuncio locale in minuti.", "repeater_cliHelpGetFloodAdvertInterval": "Indica l'intervallo dell'annuncio flood, espresso in ore.", "repeater_cliHelpGetGuestPassword": "Visualizza la password del guest configurata.", "repeater_cliHelpGetLat": "Mostra la latitudine configurata.", @@ -2933,7 +2933,7 @@ "imageSend_radioUnknownBody": "Collegati a un dispositivo in modo che si possa calcolare l'orario di trasmissione.", "imageSend_longSendTitle": "Lunga trasmissione", "imageSend_longSendBody": "Questo manterrà il canale per circa {duration}.", - "imageSend_floodNote": "Instradamento delle inondazioni: ogni ripetitore nel raggio ritrasmette ogni pacchetto, quindi il canale rimane occupato più a lungo.", + "imageSend_floodNote": "Instradamento flood: ogni ripetitore nel raggio ritrasmette ogni pacchetto, quindi il canale rimane occupato più a lungo.", "imageSend_parityTitle": "Pacchetto di recupero", "imageSend_paritySubtitle": "Un pacchetto aggiuntivo. I messaggi di gruppo non vengono riconosciuti, quindi questo permette al destinatario di ricostruire l'immagine se un singolo pacchetto viene perso.", "imageSend_send": "Invia", @@ -2963,5 +2963,37 @@ "receivedImage_tapToProcess": "Premi per elaborare", "receivedImage_awaiting": "{bytes} byte · {packets} {packets, plural, =1{pacchetto} other{pacchetti}}", "imageSend_secondsValue": "{seconds} secondi", - "imageSend_minutesSecondsValue": "{minutes} min {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} min {seconds} s", + "channels_noFreeSlots": "Tutti gli slot dei canali sono in uso", + "chat_longMessageRetryNote": "Oltre 158 byte: inviato al massimo {count} volte", + "reaction_report": "Reazioni con Emoji", + "repeater_bridgeNote": "Disponibile solo su firmware compilato con un bridge (RS232 o ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Mostra il numero massimo di salti per gli annunci flood.", + "repeater_cliHelpGetFloodMaxUnscoped": "Mostra il numero massimo di salti per i pacchetti flood senza ambito regionale.", + "repeater_cliHelpGetRadioFemRxGain": "Mostra se il guadagno RX del modulo frontend LoRa è attivo.", + "repeater_cliHelpGetRadioFemTxGain": "Mostra se il guadagno TX del modulo frontend LoRa è attivo.", + "repeater_cliHelpRegionDef": "Definisce una catena di regioni in un solo comando: ogni nome viene aggiunto sotto il precedente; \"name,parent\" aggiunge il nome e continua sotto il padre indicato. Risponde con l'elenco delle regioni.", + "repeater_cliHelpSetFloodMaxAdvert": "Imposta il numero massimo di salti per l'inoltro degli annunci flood (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Imposta il numero massimo di salti per l'inoltro dei pacchetti flood privi di ambito regionale (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Attiva o disattiva il guadagno RX (LNA) del modulo frontend LoRa. Le schede prive di questo modulo rispondono \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Attiva o disattiva il guadagno TX (PA) del modulo frontend LoRa. Le schede prive di questo modulo rispondono \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Modalità di caricamento regioni: invia un nome di regione per riga, indentato con spazi sotto la sua regione padre (aggiungi F dopo il nome per consentire il flood). Le righe non ricevono risposta. Invia una riga vuota per terminare, poi \"region save\" per salvare il risultato.", + "repeater_cliRegionLoadEnd": "(fine caricamento regioni)", + "repeater_cliRegionLoadHint": "Riga di regione, o vuota per terminare", + "repeater_frequencyInvalid": "Frequenza non valida (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Errori di ricezione", + "repeater_txPowerRangeHelper": "Da -9 a 30 dBm", + "room_postsPushed": "Post Inviati", + "room_postsStored": "Post", + "settings_radioSettingsNotApplied": "La radio non ha applicato queste impostazioni", + "urlImage_enable": "Abilita immagini URL", + "urlImage_possible": "Possibile immagine URL; abilitala nelle Impostazioni.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_ja.arb b/lib/l10n/app_ja.arb index 3652c9b6..d965909b 100644 --- a/lib/l10n/app_ja.arb +++ b/lib/l10n/app_ja.arb @@ -167,21 +167,21 @@ "settings_locationIntervalInvalid": "間隔は少なくとも60秒で、86400秒未満でなければなりません。", "settings_latitude": "緯度", "settings_longitude": "経度", - "settings_autoZeroHopAdvertOnGpsUpdate": "GPS更新時にゼロホップ広告を自動送信", - "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "GPS位置が変化したときにゼロホップ広告を送信します(広告への位置情報の含有が必要)。", + "settings_autoZeroHopAdvertOnGpsUpdate": "GPS更新時にゼロホップアドバートを自動送信", + "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "GPS位置が変化したときにゼロホップアドバートを送信します(アドバートへの位置情報の含有が必要)。", "settings_contactSettings": "連絡先設定", "settings_contactSettingsSubtitle": "連絡先の追加方法に関する設定", "settings_privacyMode": "プライバシーモード", - "settings_privacyModeSubtitle": "広告に名前や位置を表示しない", - "settings_privacyModeToggle": "プライバシーモードを有効にすると、広告に表示される名前と位置を非表示にします。", + "settings_privacyModeSubtitle": "アドバートに名前や位置を表示しない", + "settings_privacyModeToggle": "プライバシーモードを有効にすると、アドバートに表示される名前と位置を非表示にします。", "settings_privacyModeEnabled": "プライバシーモードが有効になっています", "settings_privacyModeDisabled": "プライバシーモードは無効です", "settings_actions": "操作", "settings_deleteAllPaths": "すべての経路を削除", "settings_deleteAllPathsSubtitle": "連絡先からすべての経路データを消去します。", - "settings_sendAdvertisement": "広告を送信", + "settings_sendAdvertisement": "アドバートを送信", "settings_sendAdvertisementSubtitle": "現在の存在を送信します", - "settings_advertisementSent": "広告を送信しました", + "settings_advertisementSent": "アドバートを送信しました", "settings_syncTime": "時刻を同期", "settings_syncTimeSubtitle": "デバイスの時刻をスマートフォンに合わせます", "settings_timeSynchronized": "時刻を同期しました", @@ -262,7 +262,7 @@ "appSettings_enableMessageTracingSubtitle": "メッセージの詳細な経路とタイミングのメタデータを表示します", "appSettings_notifications": "通知", "appSettings_enableNotifications": "通知を有効にする", - "appSettings_enableNotificationsSubtitle": "メッセージや広告の通知を受け取ります", + "appSettings_enableNotificationsSubtitle": "メッセージやアドバートの通知を受け取ります", "appSettings_notificationPermissionDenied": "通知の許可が拒否されました", "appSettings_notificationsEnabled": "通知機能が有効になっています", "appSettings_notificationsDisabled": "通知が無効化されています", @@ -270,7 +270,7 @@ "appSettings_messageNotificationsSubtitle": "新しいメッセージを受信した際に、通知を表示する", "appSettings_channelMessageNotifications": "チャネルメッセージの通知", "appSettings_channelMessageNotificationsSubtitle": "チャンネルからのメッセージを受信した際に、通知を表示する", - "appSettings_advertisementNotifications": "広告通知", + "appSettings_advertisementNotifications": "アドバート通知", "appSettings_advertisementNotificationsSubtitle": "新しいノードが発見された場合に通知を表示する", "appSettings_messaging": "メッセージング", "appSettings_clearPathOnMaxRetry": "最大再試行時に経路を消去", @@ -376,7 +376,7 @@ "appSettings_appDebugLoggingDisabled": "アプリのデバッグログは無効です", "contacts_title": "連絡先", "contacts_noContacts": "まだ連絡先はありません", - "contacts_contactsWillAppear": "デバイスが広告を送信すると連絡先が表示されます", + "contacts_contactsWillAppear": "デバイスがアドバートを送信すると連絡先が表示されます", "contacts_unread": "未読", "contacts_searchContactsNoNumber": "連絡先を検索...", "contacts_searchContacts": "連絡先を検索... {number} 件の {str}", @@ -1159,7 +1159,7 @@ } } }, - "path_tooLong": "経路が長すぎる。最大64回のジャンプのみ許可。", + "path_tooLong": "経路が長すぎる。最大64回のホップのみ許可。", "path_setPath": "パスを設定", "repeater_management": "リピータ管理", "room_management": "ルームサーバーの管理", @@ -1296,9 +1296,9 @@ "repeater_guestAccess": "ゲストへのアクセス", "repeater_guestAccessSubtitle": "ゲストへの読み取り専用アクセスを許可する", "repeater_privacyMode": "プライバシーモード", - "repeater_privacyModeSubtitle": "広告に名前/場所を記載しない", - "repeater_advertisementSettings": "広告設定", - "repeater_localAdvertInterval": "地域広告掲載期間", + "repeater_privacyModeSubtitle": "アドバートに名前/場所を記載しない", + "repeater_advertisementSettings": "アドバート設定", + "repeater_localAdvertInterval": "地域アドバート掲載期間", "repeater_localAdvertIntervalMinutes": "{minutes} 分", "@repeater_localAdvertIntervalMinutes": { "placeholders": { @@ -1307,7 +1307,7 @@ } } }, - "repeater_floodAdvertInterval": "フラッドに関する広告の表示間隔", + "repeater_floodAdvertInterval": "フラッドに関するアドバートの表示間隔", "repeater_floodAdvertIntervalHours": "{hours} 時間", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1316,7 +1316,7 @@ } } }, - "repeater_encryptedAdvertInterval": "暗号化された広告表示間", + "repeater_encryptedAdvertInterval": "暗号化されたアドバート表示間", "repeater_dangerZone": "危険区域", "repeater_rebootRepeater": "リピータを再起動する", "repeater_rebootRepeaterSubtitle": "リピータデバイスを再起動する", @@ -1387,10 +1387,10 @@ "repeater_agcResetInterval": "AGCのリセット間隔", "repeater_agcResetIntervalHelper": "ラジオの自動ゲイン制御をリセットする頻度について:ゲインが固定状態になった場合に、回復するために、何度リセットするかを設定します。4の倍数でリセットする場合、0を設定すると、定期的なリセットは停止します。", "repeater_actionsTitle": "操作", - "repeater_sendAdvert": "フラッド広告を送信", - "repeater_sendAdvertSubtitle": "ネットワーク全体にフラッド広告をブロードキャストします", - "repeater_sendAdvertZeroHop": "ゼロホップ広告を送信", - "repeater_sendAdvertZeroHopSubtitle": "1 ホップ広告を送信します(リピータなし)", + "repeater_sendAdvert": "フラッドアドバートを送信", + "repeater_sendAdvertSubtitle": "ネットワーク全体にフラッドアドバートをブロードキャストします", + "repeater_sendAdvertZeroHop": "ゼロホップアドバートを送信", + "repeater_sendAdvertZeroHopSubtitle": "1 ホップアドバートを送信します(リピータなし)", "repeater_clockSync": "時刻を同期", "repeater_clockSyncSubtitle": "スマートフォンの時刻をデバイスに設定します", "repeater_actionSucceeded": "{action} が成功しました", @@ -1475,9 +1475,9 @@ "repeater_cliQuickGetTx": "TX を取得", "repeater_cliQuickNeighbors": "近隣", "repeater_cliQuickVersion": "バージョン", - "repeater_cliQuickAdvertise": "広告送信", + "repeater_cliQuickAdvertise": "アドバート送信", "repeater_cliQuickClock": "時刻", - "repeater_cliHelpAdvert": "広告用資料を送る", + "repeater_cliHelpAdvert": "アドバートパケットを送信します", "repeater_cliHelpReboot": "デバイスを再起動します。(注:通常は「タイムアウト」が表示されますが、これは正常です)", "repeater_cliHelpClock": "各デバイスの時計で現在の時刻を表示します。", "repeater_cliHelpPassword": "デバイス用の新しい管理者パスワードを設定します。", @@ -1491,15 +1491,15 @@ "repeater_cliHelpSetIntThresh": "干渉閾値を設定します(dB単位)。デフォルト値は14です。0に設定すると、チャンネル間の干渉を検出する機能を無効にします。", "repeater_cliHelpSetAgcResetInterval": "オートゲインコントローラーのリセット間隔を設定します。 0 に設定すると無効化されます。", "repeater_cliHelpSetMultiAcks": "「ダブルACK」機能の有効化または無効化を可能にします。", - "repeater_cliHelpSetAdvertInterval": "ローカル(ホップなし)の広告パケットを送信する間隔を分単位で設定します。 0 に設定すると、機能を無効にします。", - "repeater_cliHelpSetFloodAdvertInterval": "フラッド広告の送信間隔を時間単位で設定します。0に設定すると、送信を停止します。", + "repeater_cliHelpSetAdvertInterval": "ローカル(ホップなし)のアドバートパケットを送信する間隔を分単位で設定します。 0 に設定すると、機能を無効にします。", + "repeater_cliHelpSetFloodAdvertInterval": "フラッドアドバートの送信間隔を時間単位で設定します。0に設定すると、送信を停止します。", "repeater_cliHelpSetGuestPassword": "ゲストのパスワードを設定/更新します。(繰り返し利用の場合、ゲストのログインは「統計情報を取得」のリクエストを送信できます)", - "repeater_cliHelpSetName": "広告の名前を設定します。", - "repeater_cliHelpSetLat": "広告表示の地図の緯度を設定します。(度分秒表記)", - "repeater_cliHelpSetLon": "広告表示の地図の経度を設定します。(度数、分)", + "repeater_cliHelpSetName": "アドバートの名前を設定します。", + "repeater_cliHelpSetLat": "アドバート表示の地図の緯度を設定します。(度分秒表記)", + "repeater_cliHelpSetLon": "アドバート表示の地図の経度を設定します。(度数、分)", "repeater_cliHelpSetRadio": "完全に新しいラジオパラメータを設定し、設定として保存します。適用するには、「再起動」コマンドが必要です。", "repeater_cliHelpSetRxDelay": "(実験用)遅延時間を設定するためのベース(1以上の値に設定する必要)\n受信パケットに対して、信号強度/スコアに基づいてわずかな遅延を適用します。 0に設定すると無効化されます。", - "repeater_cliHelpSetTxDelay": "時間経過に応じた「フラッシュモード」パケットの送信遅延を設定します。この遅延は、ランダムなスロットシステムと組み合わせて使用され、パケットの衝突を減らすことを目的としています。", + "repeater_cliHelpSetTxDelay": "時間経過に応じた「フラッドモード」パケットの送信遅延を設定します。この遅延は、ランダムなスロットシステムと組み合わせて使用され、パケットの衝突を減らすことを目的としています。", "repeater_cliHelpSetDirectTxDelay": "txdelayと同様ですが、ダイレクトモードのパケット転送にランダムな遅延を適用する場合に使用します。", "repeater_cliHelpSetBridgeEnabled": "ブリッジを有効化/無効化", "repeater_cliHelpSetBridgeDelay": "パケットを再送信する前に、遅延を設定する。", @@ -1513,7 +1513,7 @@ "repeater_cliHelpLogStart": "パケットのログ記録を開始し、ファイルシステムに保存する。", "repeater_cliHelpLogStop": "ファイルシステムへのパケットログの記録を停止する。", "repeater_cliHelpLogErase": "ファイルシステムからパケットログを削除する。", - "repeater_cliHelpNeighbors": "ゼロホップ広告を通じて受信した他のリピータノードの一覧を表示します。各行は、IDプレフィックス(16進数)、タイムスタンプ、SNR(シグナル強度)の情報を4つ含みます。", + "repeater_cliHelpNeighbors": "ゼロホップアドバートを通じて受信した他のリピータノードの一覧を表示します。各行は、IDプレフィックス(16進数)、タイムスタンプ、SNR(シグナル強度)の情報を4つ含みます。", "repeater_cliHelpNeighborRemove": "隣接リストから、最初に一致するエントリ(pubkeyプレフィックス(16進数)で特定)を削除します。", "repeater_cliHelpRegion": "(特定のシリーズのみ)定義されたすべての地域と、現在のフラッド許可状況を一覧表示します。", "repeater_cliHelpRegionLoad": "注:これは特殊な複数コマンドの呼び出しです。その後の各コマンドは、地域名であり(スペースを使用して親階層を示し、少なくとも1つのスペースが必要です)、空行/コマンドで終了します。", @@ -1529,8 +1529,8 @@ "repeater_cliHelpGpsOnOff": "GPS の電源状態を切り替えます。", "repeater_cliHelpGpsSync": "ノードの時刻をGPSクロックと同期する。", "repeater_cliHelpGpsSetLoc": "ノードの位置をGPS座標に設定し、設定を保存する。", - "repeater_cliHelpGpsAdvert": "ノードの広告設定における場所情報の指定:\n- none: 広告に場所情報を含まない\n- share: GPS位置情報を共有 (SensorManagerから取得)\n- prefs: プリファレンスに保存された場所情報を広告", - "repeater_cliHelpGpsAdvertSet": "場所に関する広告設定を行います。", + "repeater_cliHelpGpsAdvert": "ノードのアドバート設定における場所情報の指定:\n- none: アドバートに場所情報を含まない\n- share: GPS位置情報を共有 (SensorManagerから取得)\n- prefs: プリファレンスに保存された場所情報をアドバートする", + "repeater_cliHelpGpsAdvertSet": "場所に関するアドバート設定を行います。", "repeater_commandsListTitle": "コマンド一覧", "repeater_commandsListNote": "注:さまざまな「set ...」コマンドには、「get ...」コマンドも存在します。", "repeater_general": "一般的な", @@ -2154,16 +2154,16 @@ "contacts_invalidAdvertFormat": "無効な連絡先情報", "contacts_contactImported": "連絡先が登録されました。", "contacts_contactImportFailed": "連絡先のインポートに失敗しました。", - "contacts_zeroHopAdvert": "ゼロホップ広告", - "contacts_floodAdvert": "フラッドに関する広告", - "contacts_copyAdvertToClipboard": "広告をクリップボードにコピー", + "contacts_zeroHopAdvert": "ゼロホップアドバート", + "contacts_floodAdvert": "フラッドアドバート", + "contacts_copyAdvertToClipboard": "アドバートをクリップボードにコピー", "contacts_addContactFromClipboard": "クリップボードから連絡先を追加する", "contacts_ShareContact": "連絡先をクリップボードにコピー", - "contacts_ShareContactZeroHop": "広告を通じて連絡先を共有する", - "contacts_zeroHopContactAdvertSent": "広告を通じて連絡先を得た。", + "contacts_ShareContactZeroHop": "アドバートを通じて連絡先を共有する", + "contacts_zeroHopContactAdvertSent": "アドバートを通じて連絡先を得た。", "contacts_zeroHopContactAdvertFailed": "連絡を送信できませんでした。", - "contacts_contactAdvertCopied": "広告がクリップボードにコピーされました。", - "contacts_contactAdvertCopyFailed": "広告のコピーがクリップボードにコピーできませんでした。", + "contacts_contactAdvertCopied": "アドバートがクリップボードにコピーされました。", + "contacts_contactAdvertCopyFailed": "アドバートのコピーがクリップボードにコピーできませんでした。", "notification_activityTitle": "メッシュコアの活動", "notification_messagesCount": "{count} {count, plural, =1{message} other{messages}}", "@notification_messagesCount": { @@ -2309,8 +2309,8 @@ "settings_telemetryBaseMode": "テレメトリ基本モード", "settings_telemetryLocationMode": "テレメトリ位置特定モード", "settings_telemetryEnvironmentMode": "テレメトリ環境モード", - "settings_advertLocation": "広告掲載場所", - "settings_advertLocationSubtitle": "広告に場所を記載してください。", + "settings_advertLocation": "アドバート位置", + "settings_advertLocationSubtitle": "アドバートに位置情報を含めてください。", "settings_telemetryModeUpdated": "テレメトリモードが更新されました", "contact_info": "連絡先", "contact_settings": "連絡設定", @@ -2400,7 +2400,7 @@ "repeater_sensors": "センサー", "repeater_cliHelpPowerOff": "デバイスをシャットダウンします。(応答は期待されていません)", "repeater_cliHelpClkReboot": "時計を既知の基準時点にリセットし、デバイスを再起動します。", - "repeater_cliHelpAdvertZeroHop": "近隣のデバイスのみに、ゼロホップの広告を送信します。", + "repeater_cliHelpAdvertZeroHop": "近隣のデバイスのみに、ゼロホップのアドバートを送信します。", "repeater_cliHelpStartOta": "サポートされているボードに対して、無線でファームウェアのアップデートを開始します。", "repeater_cliHelpTime": "デバイスのクロックを、指定されたUnixエポックの秒数に設定します。クロックは逆方向に進むことはできません。", "repeater_cliHelpBoard": "製造元の名前/ハードウェア識別子を表示します。", @@ -2411,7 +2411,7 @@ "repeater_cliHelpSetDutyCycle": "送信可能な最大デューティサイクルをパーセントで設定します(1〜100)。内部で、空き時間の要素を調整します。", "repeater_cliHelpSetPrvKey": "(シリアル番号のみ)デバイスのプライベートキーを置き換えます。適用には再起動が必要です。新しいパブリックキーを生成します。", "repeater_cliHelpSetRadioRxGain": "(SX126xのみ)高電流での使用時に、感度を向上させるために、増幅されたRXのゲインを切り替えることができます。", - "repeater_cliHelpSetOwnerInfo": "広告に記載されている所有者連絡先情報を設定します。改行には'|'を使用してください。", + "repeater_cliHelpSetOwnerInfo": "アドバートに記載されている所有者連絡先情報を設定します。改行には'|'を使用してください。", "repeater_cliHelpSetPathHashMode": "パスハッシュモードを設定します。 0 = 従来のモード、1 = 標準モード、2 = 厳格モード。ルーティングパスのマッチング方法に影響します。", "repeater_cliHelpSetLoopDetect": "ルーティングループ検出の感度を設定します:オフ、最小、中程度、または厳格。", "repeater_cliHelpSetFreq": "(シリアル設定のみ)特定の周波数のみを素早く設定できます。再起動が必要です。「ラジオ設定」を使用すると、ラジオのすべてのパラメータを設定できます。", @@ -2431,8 +2431,8 @@ "repeater_cliHelpGetAgcResetInterval": "AGCのリセット間隔を秒単位で表示します。", "repeater_cliHelpGetMultiAcks": "ダブルACKモードが有効 (1) か無効 (0) かを示す。", "repeater_cliHelpGetAllowReadOnly": "ゲストによる読み取り専用アクセスが許可されているかどうかを示す。", - "repeater_cliHelpGetAdvertInterval": "ローカル広告の時間を分単位で表示します。", - "repeater_cliHelpGetFloodAdvertInterval": "フラッドに関する広告の放送時間を時間単位で表示します。", + "repeater_cliHelpGetAdvertInterval": "ローカルアドバートの時間を分単位で表示します。", + "repeater_cliHelpGetFloodAdvertInterval": "フラッドに関するアドバートの放送時間を時間単位で表示します。", "repeater_cliHelpGetGuestPassword": "設定されたゲストパスワードを表示します。", "repeater_cliHelpGetLat": "設定された緯度を表示します。", "repeater_cliHelpGetLon": "設定された経度を表示します。", @@ -2932,7 +2932,7 @@ "imageSend_radioUnknownBody": "放送時間の計算ができるように、デバイスに接続してください。", "imageSend_longSendTitle": "長距離伝送", "imageSend_longSendBody": "このチャンネルは約 {duration} 間保持されます。", - "imageSend_floodNote": "洪水ルーティング:範囲内の各リピーターが各パケットを再送信するため、チャネルはこれよりも長く占有されたままになります。", + "imageSend_floodNote": "フラッドルーティング:範囲内の各リピーターが各パケットを再送信するため、チャネルはこれよりも長く占有されたままになります。", "imageSend_parityTitle": "回復パケット", "imageSend_paritySubtitle": "追加のパケットが1つあります。グループメッセージは確認されないため、1つのパケットが失われても受信者が画像を再構築できます。", "imageSend_send": "送る", @@ -2962,5 +2962,38 @@ "receivedImage_tapToProcess": "処理するにはタップしてください", "receivedImage_awaiting": "{bytes} バイト・{packets} {packets, plural, =1{パケット} other{パケット}}", "imageSend_secondsValue": "{seconds}秒", - "imageSend_minutesSecondsValue": "{minutes}分 {seconds}秒" + "imageSend_minutesSecondsValue": "{minutes}分 {seconds}秒", + "channels_noFreeSlots": "すべてのチャンネルスロットが使用中です", + "chat_longMessageRetryNote": "158バイトを超える場合:最大 {count} 回まで送信されます", + "reaction_report": "絵文字リアクション", + "repeater_bridgeNote": "RS232またはESP-NOWのブリッジ機能を備えたファームウェアでのみ利用可能です。", + "repeater_cliHelpGetFloodMaxAdvert": "フラッドアドバートの最大ホップ数を表示します。", + "repeater_cliHelpGetFloodMaxUnscoped": "地域スコープのないフラッドパケットの最大ホップ数を表示します。", + "repeater_cliHelpGetRadioFemRxGain": "LoRaフロントエンドモジュールのRXゲインが有効になっているかどうかを表示します。", + "repeater_cliHelpGetRadioFemTxGain": "LoRaフロントエンドモジュールのTXゲインが有効になっているかどうかを表示します。", + "repeater_cliHelpRegionDef": "1つのコマンドで地域のチェーンを定義します。各名前は直前の名前の下に追加されます。「name,parent」を指定すると、その名前を追加した後、指定した親の下に続けます。地域リストを返信します。", + "repeater_cliHelpSetFloodMaxAdvert": "フラッドアドバートを転送する際の最大ホップ数を設定します(0-64)。", + "repeater_cliHelpSetFloodMaxUnscoped": "地域スコープを持たないフラッドパケットを転送する際の最大ホップ数を設定します(0-64)。", + "repeater_cliHelpSetRadioFemRxGain": "LoRaフロントエンドモジュールのRXゲイン(LNA)の有効/無効を切り替えます。対応していない基板は「Error: unsupported」と返信します。", + "repeater_cliHelpSetRadioFemTxGain": "LoRaフロントエンドモジュールのTXゲイン(PA)の有効/無効を切り替えます。対応していない基板は「Error: unsupported」と返信します。", + "repeater_cliRegionLoadActive": "地域読み込みモード:1行に1つの地域名を送信し、親の下にスペースでインデントします(フラッドを許可する場合は名前の後にFを追加)。各行に返信はありません。空行を送信して終了し、その後「region save」を送信すると結果が保存されます。", + "repeater_cliRegionLoadEnd": "(地域読み込み終了)", + "repeater_cliRegionLoadHint": "地域行、または空欄で終了", + "repeater_frequencyInvalid": "無効な周波数 (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "受信エラー", + "repeater_txPowerRangeHelper": "-9~30 dBm", + "room_postsPushed": "プッシュされた投稿", + "room_postsStored": "投稿", + "settings_publicKeyCopied": "公開鍵がコピーされました", + "settings_radioSettingsNotApplied": "ラジオがこれらの設定を適用しませんでした", + "urlImage_enable": "URL画像を有効にする", + "urlImage_possible": "URL画像の可能性があります。設定で有効にしてください。", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_ko.arb b/lib/l10n/app_ko.arb index fcea4e39..de605c47 100644 --- a/lib/l10n/app_ko.arb +++ b/lib/l10n/app_ko.arb @@ -161,21 +161,21 @@ "settings_locationIntervalInvalid": "간격은 최소 60초 이상, 86400초 미만이어야 합니다.", "settings_latitude": "위도", "settings_longitude": "경도", - "settings_autoZeroHopAdvertOnGpsUpdate": "GPS 업데이트 시 제로 홉 광고 자동 전송", - "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "GPS 위치가 변경되면 제로 홉 광고를 전송합니다(광고에 위치 포함 필요).", + "settings_autoZeroHopAdvertOnGpsUpdate": "GPS 업데이트 시 제로 홉 어드버트 자동 전송", + "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "GPS 위치가 변경되면 제로 홉 어드버트를 전송합니다(어드버트에 위치 포함 필요).", "settings_contactSettings": "연락처 설정", "settings_contactSettingsSubtitle": "연락처 추가 방식 설정", "settings_privacyMode": "개인 정보 보호 모드", - "settings_privacyModeSubtitle": "광고에 이름/위치 정보 숨기기", - "settings_privacyModeToggle": "광고에 자신의 이름과 위치를 숨기기 위해 개인 정보 보호 모드를 켜거나 끄십시오.", + "settings_privacyModeSubtitle": "어드버트에 이름/위치 정보 숨기기", + "settings_privacyModeToggle": "어드버트에 자신의 이름과 위치를 숨기기 위해 개인 정보 보호 모드를 켜거나 끄십시오.", "settings_privacyModeEnabled": "개인 정보 보호 모드 활성화", "settings_privacyModeDisabled": "개인 정보 보호 모드 비활성화", "settings_actions": "행동", "settings_deleteAllPaths": "모든 경로 삭제", "settings_deleteAllPathsSubtitle": "연락처의 모든 경로 데이터를 지웁니다.", - "settings_sendAdvertisement": "광고 전송", + "settings_sendAdvertisement": "어드버트 전송", "settings_sendAdvertisementSubtitle": "현재 존재를 방송합니다.", - "settings_advertisementSent": "광고가 전송되었습니다.", + "settings_advertisementSent": "어드버트가 전송되었습니다.", "settings_syncTime": "시간 동기화", "settings_syncTimeSubtitle": "장치 시계를 휴대폰 시간으로 설정", "settings_timeSynchronized": "시간이 동기화되었습니다.", @@ -256,7 +256,7 @@ "appSettings_enableMessageTracingSubtitle": "메시지에 대한 상세한 경로 및 시간 정보를 표시", "appSettings_notifications": "알림", "appSettings_enableNotifications": "알림 활성화", - "appSettings_enableNotificationsSubtitle": "메시지와 광고에 대한 알림을 받으세요.", + "appSettings_enableNotificationsSubtitle": "메시지와 어드버트에 대한 알림을 받으세요.", "appSettings_notificationPermissionDenied": "알림 권한 거부", "appSettings_notificationsEnabled": "알림 사용", "appSettings_notificationsDisabled": "알림 사용 안 함", @@ -264,7 +264,7 @@ "appSettings_messageNotificationsSubtitle": "새로운 메시지를 받을 때 알림 표시", "appSettings_channelMessageNotifications": "채널 메시지 알림", "appSettings_channelMessageNotificationsSubtitle": "채널 메시지를 수신할 때 알림 표시", - "appSettings_advertisementNotifications": "광고 알림", + "appSettings_advertisementNotifications": "어드버트 알림", "appSettings_advertisementNotificationsSubtitle": "새 노드가 발견되었을 때 알림 표시", "appSettings_messaging": "메시징", "appSettings_clearPathOnMaxRetry": "최대 재시도 시 경로 지우기", @@ -272,7 +272,7 @@ "appSettings_pathsWillBeCleared": "5번 실패하면 해당 경로를 지웁니다.", "appSettings_pathsWillNotBeCleared": "경로를 자동으로 지우지 않습니다.", "appSettings_autoRouteRotation": "자동 경로 순환", - "appSettings_autoRouteRotationSubtitle": "최적 경로와 플러드 모드 사이를 전환합니다.", + "appSettings_autoRouteRotationSubtitle": "최적 경로와 플러딩 모드 사이를 전환합니다.", "appSettings_autoRouteRotationEnabled": "자동 경로 순환 기능 활성화", "appSettings_autoRouteRotationDisabled": "자동 경로 순환 기능 비활성화", "appSettings_maxRouteWeight": "최대 경로 가중치", @@ -370,7 +370,7 @@ "appSettings_appDebugLoggingDisabled": "앱 디버깅 로깅 비활성화", "contacts_title": "연락처", "contacts_noContacts": "아직 연락처는 없습니다.", - "contacts_contactsWillAppear": "장치가 광고를 할 때, 연락처 정보가 표시됩니다.", + "contacts_contactsWillAppear": "장치가 어드버트를 전송하면 연락처 정보가 표시됩니다.", "contacts_unread": "읽지 않음", "contacts_searchContactsNoNumber": "연락처 검색...", "contacts_searchContacts": "{number} {str} 연락처 검색...", @@ -751,10 +751,10 @@ "chat_ShowAllPaths": "모든 경로 표시", "chat_routingMode": "라우팅 방식", "chat_autoUseSavedPath": "자동 (저장된 경로 사용)", - "chat_forceFloodMode": "플러드 모드 활성화", + "chat_forceFloodMode": "플러딩 모드 활성화", "chat_recentAckPaths": "최근 사용한 ACK 경로 (사용하려면 탭):", "chat_pathHistoryFull": "이력 기록은 이미 가득 차 있습니다. 항목을 삭제하여 새로운 항목을 추가할 수 있습니다.", - "chat_hopSingular": "점프", + "chat_hopSingular": "홉", "chat_hopPlural": "홉", "chat_hopsCount": "{count} {count, plural, =1{홉} other{홉}}", "@chat_hopsCount": { @@ -774,7 +774,7 @@ "chat_clearPathSubtitle": "다음 전송 시 강제로 새 경로를 찾습니다.", "chat_pathCleared": "경로가 확보되었습니다. 다음 메시지는 경로를 다시 찾을 것입니다.", "chat_floodModeSubtitle": "앱 바의 라우팅 스위치를 사용하세요.", - "chat_floodModeEnabled": "플러드 모드가 활성화되었습니다. 앱 바의 경로 아이콘으로 다시 전환할 수 있습니다.", + "chat_floodModeEnabled": "플러딩 모드가 활성화되었습니다. 앱 바의 경로 아이콘으로 다시 전환할 수 있습니다.", "chat_fullPath": "전체 경로", "chat_pathDetailsNotAvailable": "경로 정보는 아직 제공되지 않습니다. 메시지를 보내어 다시 시도해 보세요.", "chat_pathSetHops": "경로 설정: {hopCount} {hopCount, plural, =1{홉} other{홉}} - {status}", @@ -795,7 +795,7 @@ "chat_path": "경로", "chat_publicKey": "공개 키", "chat_compressOutgoingMessages": "전송되는 메시지 압축", - "chat_floodForced": "플러드 (강제)", + "chat_floodForced": "플러딩 (강제)", "chat_directForced": "직접 (강제)", "chat_hopsForced": "{count}홉 (강제)", "@chat_hopsForced": { @@ -805,7 +805,7 @@ } } }, - "chat_floodAuto": "플러드 (자동)", + "chat_floodAuto": "플러딩 (자동)", "chat_direct": "직접", "chat_poiShared": "공유된 POI", "chat_unread": "읽지 않음: {count}", @@ -1083,7 +1083,7 @@ "login_routing": "라우팅", "login_routingMode": "라우팅 모드", "login_autoUseSavedPath": "자동 (저장된 경로 사용)", - "login_forceFloodMode": "강수 모드 활성화", + "login_forceFloodMode": "플러딩 모드 강제 활성화", "login_managePaths": "경로 관리", "login_login": "로그인", "login_attempt": "시도 {current}/{max}", @@ -1159,7 +1159,7 @@ "repeater_statusTitle": "반복 장치 상태", "repeater_routingMode": "라우팅 방식", "repeater_autoUseSavedPath": "자동 (저장된 경로 사용)", - "repeater_forceFloodMode": "강수 모드 활성화", + "repeater_forceFloodMode": "플러딩 모드 강제 활성화", "repeater_pathManagement": "경로 관리", "repeater_refresh": "새롭게", "repeater_statusRequestTimeout": "상태 확인 요청이 시간 초과되었습니다.", @@ -1204,7 +1204,7 @@ } } }, - "repeater_packetTxTotal": "총: {total}, 홍수: {flood}, 직접: {direct}", + "repeater_packetTxTotal": "총: {total}, 플러딩: {flood}, 직접: {direct}", "@repeater_packetTxTotal": { "placeholders": { "total": { @@ -1218,7 +1218,7 @@ } } }, - "repeater_packetRxTotal": "총: {total}, 홍수: {flood}, 직접: {direct}", + "repeater_packetRxTotal": "총: {total}, 플러딩: {flood}, 직접: {direct}", "@repeater_packetRxTotal": { "placeholders": { "total": { @@ -1232,7 +1232,7 @@ } } }, - "repeater_duplicatesFloodDirect": "홍수: {flood}, 직접: {direct}", + "repeater_duplicatesFloodDirect": "플러딩: {flood}, 직접: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1278,9 +1278,9 @@ "repeater_guestAccess": "게스트 접근", "repeater_guestAccessSubtitle": "게스트의 읽기 전용 접근 권한 허용", "repeater_privacyMode": "개인 정보 보호 모드", - "repeater_privacyModeSubtitle": "광고에 이름/위치 정보 숨기기", - "repeater_advertisementSettings": "광고 설정", - "repeater_localAdvertInterval": "지역 광고 시간 간격", + "repeater_privacyModeSubtitle": "어드버트에 이름/위치 정보 숨기기", + "repeater_advertisementSettings": "어드버트 설정", + "repeater_localAdvertInterval": "지역 어드버트 시간 간격", "repeater_localAdvertIntervalMinutes": "{minutes} 분", "@repeater_localAdvertIntervalMinutes": { "placeholders": { @@ -1289,7 +1289,7 @@ } } }, - "repeater_floodAdvertInterval": "홍수 광고 간격", + "repeater_floodAdvertInterval": "플러딩 어드버트 간격", "repeater_floodAdvertIntervalHours": "{hours} 시간", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1298,7 +1298,7 @@ } } }, - "repeater_encryptedAdvertInterval": "암호화된 광고 간격", + "repeater_encryptedAdvertInterval": "암호화된 어드버트 간격", "repeater_dangerZone": "위험 구역", "repeater_rebootRepeater": "리부트 반복", "repeater_rebootRepeaterSubtitle": "리피터 장치를 재시작하세요.", @@ -1359,9 +1359,9 @@ "repeater_advancedSettings": "고급", "repeater_advancedSettingsSubtitle": "숙련된 운영자를 위한 조절 노브", "repeater_pathHashMode": "패스 해시 모드", - "repeater_pathHashModeHelper": "이 리피터의 ID를 플러드 경로/루프 감지 태그에 인코딩하는 데 사용되는 바이트 수입니다. 0=1바이트(256개 ID, 최대 64홉), 1=2바이트(65,000개 ID, 최대 32홉), 2=3바이트(1,600만 개 ID, 최대 21홉). v1.14 이전 펌웨어는 항상 1바이트 경로를 사용했으며, v1.14 이상은 2바이트 또는 3바이트 경로로 설정할 수 있습니다.", - "repeater_txDelay": "플러드 TX 지연", - "repeater_txDelayHelper": "홍수 시 교통량에 맞춰 재전송 간격을 설정합니다. 이는 패킷의 전송 시간을 곱한 값 (0-2, 기본값 0.5)으로 설정합니다. 값이 클수록 충돌이 줄어들지만 전송 속도가 느려집니다.", + "repeater_pathHashModeHelper": "이 리피터의 ID를 플러딩 경로/루프 감지 태그에 인코딩하는 데 사용되는 바이트 수입니다. 0=1바이트(256개 ID, 최대 64홉), 1=2바이트(65,000개 ID, 최대 32홉), 2=3바이트(1,600만 개 ID, 최대 21홉). v1.14 이전 펌웨어는 항상 1바이트 경로를 사용했으며, v1.14 이상은 2바이트 또는 3바이트 경로로 설정할 수 있습니다.", + "repeater_txDelay": "플러딩 TX 지연", + "repeater_txDelayHelper": "플러딩 시 교통량에 맞춰 재전송 간격을 설정합니다. 이는 패킷의 전송 시간을 곱한 값 (0-2, 기본값 0.5)으로 설정합니다. 값이 클수록 충돌이 줄어들지만 전송 속도가 느려집니다.", "repeater_directTxDelay": "직접적인 TX 지연", "repeater_directTxDelayHelper": "직접 (대량 전송이 아닌) 트래픽에 대한 재전송 간격을, 패킷의 전송 시간을 곱하여 설정 (0-2, 기본값 0.3).", "repeater_intThresh": "간섭 허용치", @@ -1369,10 +1369,10 @@ "repeater_agcResetInterval": "AGC 재설정 간격", "repeater_agcResetIntervalHelper": "자동 게인 제어를 재설정하여 신호가 불안정해졌을 때 원래 상태로 복구하는 빈도를 설정하는 방법은 다음과 같습니다. 4의 배수 단위로 설정하면 주기적인 재설정이 수행됩니다. 0을 설정하면 주기적인 재설정이 수행되지 않습니다.", "repeater_actionsTitle": "행동", - "repeater_sendAdvert": "홍수 관련 광고 전송", - "repeater_sendAdvertSubtitle": "네트워크를 통해 홍수 광고를 방송", - "repeater_sendAdvertZeroHop": "제로 홉 광고 전송", - "repeater_sendAdvertZeroHopSubtitle": "단일 중계 (중계 없이) 광고를 송출", + "repeater_sendAdvert": "플러딩 관련 어드버트 전송", + "repeater_sendAdvertSubtitle": "네트워크를 통해 플러딩 어드버트를 방송", + "repeater_sendAdvertZeroHop": "제로 홉 어드버트 전송", + "repeater_sendAdvertZeroHopSubtitle": "1홉 어드버트를 전송합니다 (중계 없음).", "repeater_clockSync": "현재 시계 동기화", "repeater_clockSyncSubtitle": "스마트폰의 시간을 리피터로 설정", "repeater_actionSucceeded": "{action}이 성공적으로 완료되었습니다.", @@ -1457,9 +1457,9 @@ "repeater_cliQuickGetTx": "TX 획득", "repeater_cliQuickNeighbors": "이웃", "repeater_cliQuickVersion": "버전", - "repeater_cliQuickAdvertise": "광고", + "repeater_cliQuickAdvertise": "어드버트", "repeater_cliQuickClock": "시계", - "repeater_cliHelpAdvert": "광고 패킷을 발송", + "repeater_cliHelpAdvert": "어드버트 패킷을 발송", "repeater_cliHelpReboot": "장치를 재부팅합니다. (참고: '시간 초과' 오류가 발생할 수 있으며, 이는 정상적인 현상입니다)", "repeater_cliHelpClock": "각 기기의 시계에 표시되는 현재 시간", "repeater_cliHelpPassword": "장치에 새로운 관리자 비밀번호를 설정합니다.", @@ -1469,16 +1469,16 @@ "repeater_cliHelpSetTx": "LoRa 전송 전력을 dBm 단위로 설정합니다. (설정을 적용하려면 재부팅 필요)", "repeater_cliHelpSetRepeat": "이 노드에 대한 리피터 역할을 활성화하거나 비활성화합니다.", "repeater_cliHelpSetAllowReadOnly": "(방 서버) '켜짐' 상태인 경우, 빈 비밀번호로 로그인할 수 있지만, 방에 게시할 수는 없습니다 (단, 읽기만 가능).", - "repeater_cliHelpSetFloodMax": "들어오는 플러드 패킷의 최대 홉 수를 설정합니다 (최대 홉 수보다 크거나 같으면 패킷은 전달되지 않습니다).", + "repeater_cliHelpSetFloodMax": "들어오는 플러딩 패킷의 최대 홉 수를 설정합니다 (최대 홉 수보다 크거나 같으면 패킷은 전달되지 않습니다).", "repeater_cliHelpSetIntThresh": "간섭 임계값을 설정합니다 (dB 단위). 기본값은 14입니다. 0으로 설정하면 채널 간섭 감지 기능을 비활성화합니다.", "repeater_cliHelpSetAgcResetInterval": "자동 게인 제어기를 재설정하는 간격을 설정합니다. 0으로 설정하면 비활성화됩니다.", "repeater_cliHelpSetMultiAcks": "'더블 ACK' 기능을 활성화하거나 비활성화할 수 있습니다.", - "repeater_cliHelpSetAdvertInterval": "로컬 (제로 홉) 광고 패킷을 전송하는 간격 (분 단위)을 설정합니다. 0으로 설정하면 비활성화됩니다.", - "repeater_cliHelpSetFloodAdvertInterval": "시간 단위로 광고 패킷을 전송하는 간격을 설정합니다. 0으로 설정하면 비활성화됩니다.", + "repeater_cliHelpSetAdvertInterval": "로컬 (제로 홉) 어드버트 패킷을 전송하는 간격 (분 단위)을 설정합니다. 0으로 설정하면 비활성화됩니다.", + "repeater_cliHelpSetFloodAdvertInterval": "시간 단위로 어드버트 패킷을 전송하는 간격을 설정합니다. 0으로 설정하면 비활성화됩니다.", "repeater_cliHelpSetGuestPassword": "게스트 비밀번호를 설정하거나 업데이트합니다. (반복 사용자, 게스트 로그인 시 \"통계 가져오기\" 요청을 보낼 수 있음)", - "repeater_cliHelpSetName": "광고 이름을 설정합니다.", - "repeater_cliHelpSetLat": "광고 지도의 위도를 설정합니다. (십진법 단위)", - "repeater_cliHelpSetLon": "광고 지도의 경도를 설정합니다. (십진도)", + "repeater_cliHelpSetName": "어드버트 이름을 설정합니다.", + "repeater_cliHelpSetLat": "어드버트 지도의 위도를 설정합니다. (십진법 단위)", + "repeater_cliHelpSetLon": "어드버트 지도의 경도를 설정합니다. (십진도)", "repeater_cliHelpSetRadio": "완전히 새로운 라디오 파라미터를 설정하고, 선호 사항에 저장합니다. 적용하려면 \"재부팅\" 명령이 필요합니다.", "repeater_cliHelpSetRxDelay": "(실험용) 기본 설정 (최소 1이어야 함)으로, 수신된 패킷에 약간의 지연을 적용하며, 신호 강도/점수를 기준으로 설정합니다. 0으로 설정하면 비활성화됩니다.", "repeater_cliHelpSetTxDelay": "공통 패킷의 전송 지연 시간을 설정하며, 시간-공기 시간과 무작위 슬롯 시스템을 곱하여 충돌 가능성을 줄입니다.", @@ -1495,9 +1495,9 @@ "repeater_cliHelpLogStart": "패킷 로깅을 파일 시스템으로 시작합니다.", "repeater_cliHelpLogStop": "패킷 로깅을 파일 시스템으로 저장하는 것을 중단합니다.", "repeater_cliHelpLogErase": "파일 시스템에서 패킷 로그를 삭제합니다.", - "repeater_cliHelpNeighbors": "제로 홉 광고를 통해 수신된 다른 리피터 노드 목록을 보여줍니다. 각 줄은 ID-프리픽스-16진수:타임스탬프:SNR-횟수-4 형식입니다.", + "repeater_cliHelpNeighbors": "제로 홉 어드버트를 통해 수신된 다른 리피터 노드 목록을 보여줍니다. 각 줄은 ID-프리픽스-16진수:타임스탬프:SNR-횟수-4 형식입니다.", "repeater_cliHelpNeighborRemove": "이 함수는 지정된 pubkey 접두사(16진수)와 일치하는 첫 번째 항목을 이웃 목록에서 제거합니다.", - "repeater_cliHelpRegion": "(단일 시리즈) 정의된 모든 지역과 현재 홍수 허가 정보를 나열합니다.", + "repeater_cliHelpRegion": "(단일 시리즈) 정의된 모든 지역과 현재 플러딩 허가 정보를 나열합니다.", "repeater_cliHelpRegionLoad": "참고: 이는 여러 명령을 한 번에 실행하는 특별한 방식입니다. 각 후속 명령은 영역 이름이며 (부모 계층 구조를 나타내기 위해 공백으로 들여쓰기하며, 최소 1개의 공백을 사용) 공백으로 끝나는 줄 또는 명령을 보내어 종료합니다.", "repeater_cliHelpRegionGet": "주어진 이름 접두사(또는 전역 검색을 위한 \"\\*\" 사용)를 사용하여 특정 지역을 검색합니다. 결과를 \"-> 지역 이름 (상위 지역 이름) 'F'\" 형태로 반환합니다.", "repeater_cliHelpRegionPut": "주어진 이름으로 지역 정의를 추가하거나 업데이트합니다.", @@ -1511,8 +1511,8 @@ "repeater_cliHelpGpsOnOff": "GPS 전원 상태를 켜고 끄는 기능.", "repeater_cliHelpGpsSync": "노드 시간을 GPS 시계와 동기화합니다.", "repeater_cliHelpGpsSetLoc": "노드의 위치를 GPS 좌표로 설정하고, 설정을 저장합니다.", - "repeater_cliHelpGpsAdvert": "노드의 위치 광고 설정:\n- none: 광고에 위치 정보를 포함하지 않음\n- share: GPS 위치 정보를 공유 (SensorManager에서 가져옴)\n- prefs: 설정에 저장된 위치를 광고", - "repeater_cliHelpGpsAdvertSet": "위치 기반 광고 설정 구성", + "repeater_cliHelpGpsAdvert": "노드의 위치 어드버트 설정:\n- none: 어드버트에 위치 정보를 포함하지 않음\n- share: GPS 위치 정보를 공유 (SensorManager에서 가져옴)\n- prefs: 설정에 저장된 위치를 어드버트에 포함", + "repeater_cliHelpGpsAdvertSet": "위치 기반 어드버트 설정 구성", "repeater_commandsListTitle": "명령 목록", "repeater_commandsListNote": "참고: 다양한 \"set...\" 명령과 함께 \"get...\" 명령도 존재합니다.", "repeater_general": "일반", @@ -1697,7 +1697,7 @@ } }, "channelPath_unknownPath": "알 수 없음", - "channelPath_floodPath": "홍수", + "channelPath_floodPath": "플러딩", "channelPath_directPath": "직접", "channelPath_observedZeroOf": "{total} 중 0개", "@channelPath_observedZeroOf": { @@ -2059,16 +2059,16 @@ "contacts_invalidAdvertFormat": "유효하지 않은 연락 정보", "contacts_contactImported": "연락이 수신되었습니다.", "contacts_contactImportFailed": "연락처를 가져오지 못했습니다.", - "contacts_zeroHopAdvert": "제로 홉 광고", - "contacts_floodAdvert": "홍수 광고", - "contacts_copyAdvertToClipboard": "광고 텍스트를 클립보드에 복사", + "contacts_zeroHopAdvert": "제로 홉 어드버트", + "contacts_floodAdvert": "플러딩 어드버트", + "contacts_copyAdvertToClipboard": "어드버트 텍스트를 클립보드에 복사", "contacts_addContactFromClipboard": "복사본에서 연락처 추가", "contacts_ShareContact": "연락처를 복사", - "contacts_ShareContactZeroHop": "광고를 통해 연락처 공유", - "contacts_zeroHopContactAdvertSent": "광고를 통해 연락처를 받았습니다.", + "contacts_ShareContactZeroHop": "어드버트를 통해 연락처 공유", + "contacts_zeroHopContactAdvertSent": "어드버트를 통해 연락처를 받았습니다.", "contacts_zeroHopContactAdvertFailed": "연락처 전송에 실패했습니다.", - "contacts_contactAdvertCopied": "광고 내용이 복사되었습니다.", - "contacts_contactAdvertCopyFailed": "광고를 클립보드에 복사하는 데 실패했습니다.", + "contacts_contactAdvertCopied": "어드버트 내용이 복사되었습니다.", + "contacts_contactAdvertCopyFailed": "어드버트를 클립보드에 복사하는 데 실패했습니다.", "notification_activityTitle": "메쉬코어 활동", "notification_messagesCount": "{count} {count, plural, =1{메시지} other{메시지들}}", "@notification_messagesCount": { @@ -2214,8 +2214,8 @@ "settings_telemetryBaseMode": "원격 모니터링 기본 설정", "settings_telemetryLocationMode": "텔레메트리 위치 모드", "settings_telemetryEnvironmentMode": "텔레메트리 환경 모드", - "settings_advertLocation": "광고 위치", - "settings_advertLocationSubtitle": "광고에 위치 정보를 포함하세요.", + "settings_advertLocation": "어드버트 위치", + "settings_advertLocationSubtitle": "어드버트에 위치 정보를 포함하세요.", "settings_telemetryModeUpdated": "텔레메트리 모드 업데이트 완료", "contact_info": "연락처", "contact_settings": "연락처 설정", @@ -2305,7 +2305,7 @@ "repeater_sensors": "센서", "repeater_cliHelpPowerOff": "장치를 끄는 기능 (응답이 없을 것으로 예상)", "repeater_cliHelpClkReboot": "시계를 알려진 시점으로 재설정하고 장치를 재부팅합니다.", - "repeater_cliHelpAdvertZeroHop": "직접적인 연결 없이 이웃에게만 광고를 전송합니다.", + "repeater_cliHelpAdvertZeroHop": "직접적인 연결 없이 이웃에게만 어드버트를 전송합니다.", "repeater_cliHelpStartOta": "지원되는 보드에서 무선으로 펌웨어 업데이트를 시작합니다.", "repeater_cliHelpTime": "장치를 주어진 유닉스 에포크 초부터 시간으로 설정합니다. 시간은 이전으로 이동할 수 없습니다.", "repeater_cliHelpBoard": "제조사/하드웨어 식별 정보를 표시합니다.", @@ -2316,7 +2316,7 @@ "repeater_cliHelpSetDutyCycle": "최대 허용 전송 주기(백분율)를 설정합니다(1~100%). 내부적으로 통신 시간을 조정합니다.", "repeater_cliHelpSetPrvKey": "(시리얼 키만 해당) 장치 식별용 개인 키를 대체합니다. 적용하려면 재부팅이 필요합니다. 새로운 공개 키를 생성합니다.", "repeater_cliHelpSetRadioRxGain": "(SX126x 전용) 더 높은 전류를 사용할 때 더 나은 감도를 위해 증폭된 RX 감쇠 기능을 전환합니다.", - "repeater_cliHelpSetOwnerInfo": "광고에 포함된 소유자 연락처 정보를 지정합니다. 줄 바꿈을 위해 '|' 문자를 사용합니다.", + "repeater_cliHelpSetOwnerInfo": "어드버트에 포함된 소유자 연락처 정보를 지정합니다. 줄 바꿈을 위해 '|' 문자를 사용합니다.", "repeater_cliHelpSetPathHashMode": "경로 해시 모드를 설정합니다. 0 = 고전 방식, 1 = 표준 방식, 2 = 엄격한 방식. 경로 매칭 방식에 영향을 미칩니다.", "repeater_cliHelpSetLoopDetect": "라우팅 루프 감지 감도 설정: 끄기, 최소, 중간, 또는 엄격", "repeater_cliHelpSetFreq": "(단일 기능) 특정 주파수만 빠르게 설정합니다. 재부팅이 필요합니다. 전체 라디오 파라미터 설정에는 \"라디오 설정\" 기능을 사용하는 것이 좋습니다.", @@ -2336,15 +2336,15 @@ "repeater_cliHelpGetAgcResetInterval": "AGC 재설정 간격을 초 단위로 표시합니다.", "repeater_cliHelpGetMultiAcks": "더블 ACK 모드가 활성화되어 있는지 (1) 또는 비활성화되어 있는지 (0)를 표시합니다.", "repeater_cliHelpGetAllowReadOnly": "게스트의 읽기 전용 액세스가 허용되는지 여부를 표시합니다.", - "repeater_cliHelpGetAdvertInterval": "지역 광고 시간 간격을 분 단위로 표시합니다.", - "repeater_cliHelpGetFloodAdvertInterval": "홍수 광고 시간 간격을 시간 단위로 표시합니다.", + "repeater_cliHelpGetAdvertInterval": "지역 어드버트 시간 간격을 분 단위로 표시합니다.", + "repeater_cliHelpGetFloodAdvertInterval": "플러딩 어드버트 시간 간격을 시간 단위로 표시합니다.", "repeater_cliHelpGetGuestPassword": "구성된 게스트 비밀번호를 표시합니다.", "repeater_cliHelpGetLat": "설정된 위도를 보여줍니다.", "repeater_cliHelpGetLon": "설정된 경도를 보여줍니다.", "repeater_cliHelpGetRxDelay": "Rxdelay 기본 값을 표시합니다.", - "repeater_cliHelpGetTxDelay": "홍수 모드에서의 전송 지연 계수를 보여줍니다.", + "repeater_cliHelpGetTxDelay": "플러딩 모드에서의 전송 지연 계수를 보여줍니다.", "repeater_cliHelpGetDirectTxDelay": "직렬 모드에서의 딜레이 계수를 보여줍니다.", - "repeater_cliHelpGetFloodMax": "최대 홍수 발생 횟수를 보여줍니다.", + "repeater_cliHelpGetFloodMax": "최대 플러딩 홉 수를 보여줍니다.", "repeater_cliHelpGetOwnerInfo": "소유주 연락처 정보를 표시합니다.", "repeater_cliHelpGetPathHashMode": "경로 해시 모드 (0/1/2)를 표시합니다.", "repeater_cliHelpGetLoopDetect": "루프 탐지 감도를 보여줍니다.", @@ -2366,8 +2366,8 @@ "repeater_cliHelpSensorList": "사용자 정의 센서 설정 목록을, 선택적으로 지정된 시작 인덱스부터 페이지 나누어 표시합니다.", "repeater_cliHelpRegionDefault": "현재 기본 지역 범위를 보여줍니다.", "repeater_cliHelpRegionDefaultSet": "기본 지역 범위를 설정합니다. \"\"을 사용하여 초기화합니다.", - "repeater_cliHelpRegionListAllowed": "홍수 피해 차량 통행이 가능한 지역 목록", - "repeater_cliHelpRegionListDenied": "홍수 발생 시 통행 금지 지역 목록", + "repeater_cliHelpRegionListAllowed": "플러딩 트래픽이 허용되는 지역 목록", + "repeater_cliHelpRegionListDenied": "플러딩 트래픽이 금지되는 지역 목록", "repeater_cliHelpStatsPackets": "(전송 속도만 표시) 패킷 수준의 통계 정보를 보여줍니다.", "repeater_cliHelpStatsRadio": "(특정 시리즈만 해당) 라디오 통계 정보를 표시합니다.", "repeater_cliHelpStatsCore": "(시리얼 번호만 표시) 핵심 펌웨어 통계 정보를 보여줍니다.", @@ -2507,9 +2507,9 @@ "contacts_searchClose": "검색 닫기", "routing_title": "라우팅", "routing_modeAuto": "자동", - "routing_modeFlood": "플러드", + "routing_modeFlood": "플러딩", "routing_modeManual": "수동", - "routing_modeAutoHint": "가장 잘 알려진 경로를 자동으로 선택하고, 경로가 없으면 플러드로 전환합니다.", + "routing_modeAutoHint": "가장 잘 알려진 경로를 자동으로 선택하고, 경로가 없으면 플러딩으로 전환합니다.", "routing_modeFloodHint": "모든 중계기를 통해 방송합니다. 가장 안정적이지만 송신 시간을 더 많이 사용합니다.", "routing_modeManualHint": "항상 지정한 정확한 경로를 따릅니다.", "routing_currentRoute": "현재 경로", @@ -2525,11 +2525,11 @@ "routing_qualityGood": "좋음", "routing_qualityFair": "보통", "routing_qualityWorked": "작동함", - "routing_qualityFlood": "플러드로 수신됨", + "routing_qualityFlood": "플러딩으로 수신됨", "routing_qualityUntested": "미검증", "routing_lastWorked": "{when}에 작동", "routing_neverWorked": "아직 작동한 적 없음", - "routing_floodDelivery": "플러드 전송", + "routing_floodDelivery": "플러딩 전송", "pathEditor_title": "경로 만들기", "pathEditor_hopCounter": "64개 중 {count} 홉", "pathEditor_noHops": "아직 홉이 추가되지 않았습니다. 아래 탭을 사용해 순서대로 추가하거나, 홉 없이 바로 보내려면 \"홉 없음\"으로 저장하세요.", @@ -2932,7 +2932,7 @@ "imageSend_radioUnknownBody": "방송 시간을 계산할 수 있도록 기기와 연결하세요.", "imageSend_longSendTitle": "장거리 송신", "imageSend_longSendBody": "이것은 약 {duration} 동안 채널을 유지할 것입니다.", - "imageSend_floodNote": "홍수 라우팅: 범위 내의 모든 리피터가 각 패킷을 재전송하므로, 채널이 이보다 더 오래 점유 상태를 유지합니다.", + "imageSend_floodNote": "플러딩 라우팅: 범위 내의 모든 리피터가 각 패킷을 재전송하므로, 채널이 이보다 더 오래 점유 상태를 유지합니다.", "imageSend_parityTitle": "회복 패킷", "imageSend_paritySubtitle": "추가 한 개의 패킷입니다. 그룹 메시지는 확인되지 않으므로, 하나의 패킷이 손실되었을 경우 수신자가 이미지를 다시 구성할 수 있습니다.", "imageSend_send": "보내다", @@ -2962,5 +2962,38 @@ "receivedImage_tapToProcess": "처리하려면 탭을 누르세요.", "receivedImage_awaiting": "{bytes} 바이트 · {packets} {packets, plural, =1{패킷} other{패킷}}", "imageSend_secondsValue": "{seconds} 초", - "imageSend_minutesSecondsValue": "{minutes}분 {seconds}초" + "imageSend_minutesSecondsValue": "{minutes}분 {seconds}초", + "channels_noFreeSlots": "모든 채널 슬롯이 사용 중입니다", + "chat_longMessageRetryNote": "158바이트 초과 시: 최대 {count}회 전송됩니다", + "reaction_report": "이모지 반응", + "repeater_bridgeNote": "RS232 또는 ESP-NOW 브리지 기능이 포함된 펌웨어에서만 사용할 수 있습니다.", + "repeater_cliHelpGetFloodMaxAdvert": "플러딩 어드버트의 최대 홉 수를 표시합니다.", + "repeater_cliHelpGetFloodMaxUnscoped": "지역 범위가 없는 플러딩 패킷의 최대 홉 수를 표시합니다.", + "repeater_cliHelpGetRadioFemRxGain": "LoRa 프런트엔드 모듈의 RX 게인이 켜져 있는지 표시합니다.", + "repeater_cliHelpGetRadioFemTxGain": "LoRa 프런트엔드 모듈의 TX 게인이 켜져 있는지 표시합니다.", + "repeater_cliHelpRegionDef": "하나의 명령으로 지역 체인을 정의합니다. 각 이름은 이전 이름 아래에 추가됩니다. \"name,parent\"를 사용하면 해당 이름을 추가한 뒤 지정한 상위 지역 아래로 이어집니다. 지역 목록으로 응답합니다.", + "repeater_cliHelpSetFloodMaxAdvert": "플러딩 어드버트를 전달할 때의 최대 홉 수를 설정합니다(0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "지역 범위가 없는 플러딩 패킷을 전달할 때의 최대 홉 수를 설정합니다(0-64).", + "repeater_cliHelpSetRadioFemRxGain": "LoRa 프런트엔드 모듈의 RX 게인(LNA)을 전환합니다. 이 기능이 없는 보드는 \"Error: unsupported\"로 응답합니다.", + "repeater_cliHelpSetRadioFemTxGain": "LoRa 프런트엔드 모듈의 TX 게인(PA)을 전환합니다. 이 기능이 없는 보드는 \"Error: unsupported\"로 응답합니다.", + "repeater_cliRegionLoadActive": "지역 로드 모드: 한 줄에 지역 이름 하나씩 보내고, 상위 지역 아래에 공백으로 들여씁니다 (플러딩을 허용하려면 이름 뒤에 F를 추가). 각 줄에는 응답이 없습니다. 빈 줄을 보내 완료한 뒤 \"region save\"를 보내면 결과가 저장됩니다.", + "repeater_cliRegionLoadEnd": "(지역 로드 종료)", + "repeater_cliRegionLoadHint": "지역 줄, 또는 완료하려면 비워 두기", + "repeater_frequencyInvalid": "유효하지 않은 주파수 (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "수신 오류", + "repeater_txPowerRangeHelper": "-9~30 dBm", + "room_postsPushed": "푸시된 게시물", + "room_postsStored": "게시물", + "settings_publicKeyCopied": "공개 키가 복사되었습니다", + "settings_radioSettingsNotApplied": "라디오가 이 설정을 적용하지 않았습니다", + "urlImage_enable": "URL 이미지 활성화", + "urlImage_possible": "URL 이미지일 수 있습니다. 설정에서 활성화하세요.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index ffd09c0d..7bdc6649 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -313,7 +313,7 @@ abstract class AppLocalizations { /// No description provided for @messageStatus_delivered. /// /// In en, this message translates to: - /// **'Delivered'** + /// **'Delivered. The contact confirmed they got it.'** String get messageStatus_delivered; /// No description provided for @messageStatus_pending. @@ -334,6 +334,42 @@ abstract class AppLocalizations { /// **'Heard repeated'** String get messageStatus_repeated; + /// No description provided for @messageStatus_failedChannel. + /// + /// In en, this message translates to: + /// **'Your radio couldn\'t send this message.'** + String get messageStatus_failedChannel; + + /// No description provided for @messageStatus_resending. + /// + /// In en, this message translates to: + /// **'Not heard through enough repeaters yet. Resent {resends} of {maxResends} times.'** + String messageStatus_resending(int resends, int maxResends); + + /// No description provided for @messageStatus_hopsNotReached. + /// + /// In en, this message translates to: + /// **'Sent, but only heard back through {hops} of {required} repeaters. It may still have gone further than your radio can hear.'** + String messageStatus_hopsNotReached(int hops, int required); + + /// No description provided for @messageStatus_sentChannel. + /// + /// In en, this message translates to: + /// **'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'** + String get messageStatus_sentChannel; + + /// No description provided for @messageStatus_sentDirect. + /// + /// In en, this message translates to: + /// **'Sent. Waiting for the contact to confirm.'** + String get messageStatus_sentDirect; + + /// No description provided for @messageStatus_heardRepeatedCount. + /// + /// In en, this message translates to: + /// **'Heard repeated {count, plural, =1{once} other{{count} times}}. Nearby repeaters passed it on.'** + String messageStatus_heardRepeatedCount(int count); + /// No description provided for @urlImage_enable. /// /// In en, this message translates to: @@ -796,6 +832,12 @@ abstract class AppLocalizations { /// **'Radio settings updated'** String get settings_radioSettingsUpdated; + /// No description provided for @settings_radioSettingsNotApplied. + /// + /// In en, this message translates to: + /// **'The radio did not apply these settings'** + String get settings_radioSettingsNotApplied; + /// No description provided for @settings_regionSettings. /// /// In en, this message translates to: @@ -805,9 +847,39 @@ abstract class AppLocalizations { /// No description provided for @settings_regionSettingsSubtitle. /// /// In en, this message translates to: - /// **'Manage stored regions'** + /// **'Limit channel floods to an area'** String get settings_regionSettingsSubtitle; + /// No description provided for @settings_regionEmptyExplanation. + /// + /// In en, this message translates to: + /// **'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'** + String get settings_regionEmptyExplanation; + + /// No description provided for @settings_regionFetchFromRepeaters. + /// + /// In en, this message translates to: + /// **'Fetch from repeaters'** + String get settings_regionFetchFromRepeaters; + + /// No description provided for @settings_regionDefault. + /// + /// In en, this message translates to: + /// **'Default region'** + String get settings_regionDefault; + + /// No description provided for @settings_regionDefaultSubtitle. + /// + /// In en, this message translates to: + /// **'Used by channels without their own region'** + String get settings_regionDefaultSubtitle; + + /// No description provided for @settings_regionDefaultNone. + /// + /// In en, this message translates to: + /// **'None'** + String get settings_regionDefaultNone; + /// No description provided for @settings_regionManagement_screenTitle. /// /// In en, this message translates to: @@ -1003,7 +1075,7 @@ abstract class AppLocalizations { /// No description provided for @settings_allowByContact. /// /// In en, this message translates to: - /// **'Allow by contact flags'** + /// **'Only contacts I allow'** String get settings_allowByContact; /// No description provided for @settings_allowAll. @@ -1015,21 +1087,27 @@ abstract class AppLocalizations { /// No description provided for @settings_telemetryBaseMode. /// /// In en, this message translates to: - /// **'Telemetry Base Mode'** + /// **'Who can request battery and status'** String get settings_telemetryBaseMode; /// No description provided for @settings_telemetryLocationMode. /// /// In en, this message translates to: - /// **'Telemetry Location Mode'** + /// **'Who can request my location'** String get settings_telemetryLocationMode; /// No description provided for @settings_telemetryEnvironmentMode. /// /// In en, this message translates to: - /// **'Telemetry Environment Mode'** + /// **'Who can request sensor data'** String get settings_telemetryEnvironmentMode; + /// No description provided for @settings_telemetryPerContactHint. + /// + /// In en, this message translates to: + /// **'To allow a contact, open their chat and choose Contact Settings from the menu.'** + String get settings_telemetryPerContactHint; + /// No description provided for @settings_advertLocation. /// /// In en, this message translates to: @@ -1051,7 +1129,7 @@ abstract class AppLocalizations { /// No description provided for @settings_autoZeroHopAdvertOnGpsUpdateSubtitle. /// /// In en, this message translates to: - /// **'When GPS location changes, send a zero-hop advert (requires Advert Location).'** + /// **'App setting: when your GPS position changes, automatically advertise your new location to nearby nodes only (requires Advert Location).'** String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle; /// No description provided for @settings_multiAck. @@ -1060,6 +1138,12 @@ abstract class AppLocalizations { /// **'Multi-ACKs'** String get settings_multiAck; + /// No description provided for @settings_multiAckSubtitle. + /// + /// In en, this message translates to: + /// **'Send extra ACKs for better delivery; uses more airtime'** + String get settings_multiAckSubtitle; + /// No description provided for @settings_telemetryModeUpdated. /// /// In en, this message translates to: @@ -1276,6 +1360,18 @@ abstract class AppLocalizations { /// **'Presets'** String get settings_presets; + /// No description provided for @settings_presetCustom. + /// + /// In en, this message translates to: + /// **'Custom'** + String get settings_presetCustom; + + /// No description provided for @settings_radioMatchWarning. + /// + /// In en, this message translates to: + /// **'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'** + String get settings_radioMatchWarning; + /// No description provided for @settings_frequency. /// /// In en, this message translates to: @@ -1285,13 +1381,13 @@ abstract class AppLocalizations { /// No description provided for @settings_frequencyHelper. /// /// In en, this message translates to: - /// **'300.0 - 2500.0'** + /// **'150.0 - 2500.0'** String get settings_frequencyHelper; /// No description provided for @settings_frequencyInvalid. /// /// In en, this message translates to: - /// **'Invalid frequency (300-2500 MHz)'** + /// **'Invalid frequency (150-2500 MHz)'** String get settings_frequencyInvalid; /// No description provided for @settings_bandwidth. @@ -1318,16 +1414,16 @@ abstract class AppLocalizations { /// **'TX Power (dBm)'** String get settings_txPower; - /// No description provided for @settings_txPowerHelper. + /// No description provided for @settings_txPowerRangeHelper. /// /// In en, this message translates to: - /// **'0 - 22'** - String get settings_txPowerHelper; + /// **'{min} to {max} dBm'** + String settings_txPowerRangeHelper(int min, int max); /// No description provided for @settings_txPowerInvalid. /// /// In en, this message translates to: - /// **'Invalid TX power (0-22 dBm)'** + /// **'Invalid TX power'** String get settings_txPowerInvalid; /// No description provided for @settings_clientRepeat. @@ -1336,6 +1432,12 @@ abstract class AppLocalizations { /// **'Off-Grid Repeat'** String get settings_clientRepeat; + /// No description provided for @settings_clientRepeatFrequencyNote. + /// + /// In en, this message translates to: + /// **'Frequency set to {freq} MHz for off-grid repeat'** + String settings_clientRepeatFrequencyNote(String freq); + /// No description provided for @settings_clientRepeatSubtitle. /// /// In en, this message translates to: @@ -1345,7 +1447,7 @@ abstract class AppLocalizations { /// No description provided for @settings_clientRepeatFreqWarning. /// /// In en, this message translates to: - /// **'Off-grid repeat requires 433, 869, or 918 MHz frequency'** + /// **'Off-grid repeat requires 433, 869.495, or 918 MHz frequency'** String get settings_clientRepeatFreqWarning; /// No description provided for @settings_error. @@ -1495,37 +1597,73 @@ abstract class AppLocalizations { /// No description provided for @repeater_pathHashModeOption0. /// /// In en, this message translates to: - /// **'0 - 1 byte'** + /// **'1 byte'** String get repeater_pathHashModeOption0; /// No description provided for @repeater_pathHashModeOption1. /// /// In en, this message translates to: - /// **'1 - 2 bytes'** + /// **'2 bytes'** String get repeater_pathHashModeOption1; /// No description provided for @repeater_pathHashModeOption2. /// /// In en, this message translates to: - /// **'2 - 3 bytes'** + /// **'3 bytes'** String get repeater_pathHashModeOption2; /// No description provided for @repeater_pathHashModeOption3. /// /// In en, this message translates to: - /// **'3 - 4 bytes'** + /// **'4 bytes'** String get repeater_pathHashModeOption3; + /// No description provided for @settings_pathHashModeHelper. + /// + /// In en, this message translates to: + /// **'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'** + String get settings_pathHashModeHelper; + + /// No description provided for @settings_requiresFirmware. + /// + /// In en, this message translates to: + /// **'Requires firmware {version} or newer'** + String settings_requiresFirmware(String version); + + /// No description provided for @appSettings_channelMinHops. + /// + /// In en, this message translates to: + /// **'Resend channel messages until they travel far enough'** + String get appSettings_channelMinHops; + + /// No description provided for @appSettings_channelMinHopsSubtitle. + /// + /// In en, this message translates to: + /// **'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'** + String get appSettings_channelMinHopsSubtitle; + + /// No description provided for @appSettings_channelMinHopsCount. + /// + /// In en, this message translates to: + /// **'Required hops: {count}'** + String appSettings_channelMinHopsCount(int count); + + /// No description provided for @appSettings_channelMinHopsRetries. + /// + /// In en, this message translates to: + /// **'Resend up to {count, plural, =1{1 time} other{{count} times}}'** + String appSettings_channelMinHopsRetries(int count); + /// No description provided for @appSettings_enableMessageTracing. /// /// In en, this message translates to: - /// **'Enable Message Tracing'** + /// **'Show full repeater path in messages'** String get appSettings_enableMessageTracing; /// No description provided for @appSettings_enableMessageTracingSubtitle. /// /// In en, this message translates to: - /// **'Show detailed routing and timing metadata for messages'** + /// **'Also show repeat counts and trip times. Long-press a message and choose Path for full details.'** String get appSettings_enableMessageTracingSubtitle; /// No description provided for @appSettings_notifications. @@ -1576,6 +1714,18 @@ abstract class AppLocalizations { /// **'Show notification when receiving new messages'** String get appSettings_messageNotificationsSubtitle; + /// No description provided for @appSettings_batteryOptimization. + /// + /// In en, this message translates to: + /// **'Background Activity'** + String get appSettings_batteryOptimization; + + /// No description provided for @appSettings_batteryOptimizationSubtitle. + /// + /// In en, this message translates to: + /// **'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'** + String get appSettings_batteryOptimizationSubtitle; + /// No description provided for @appSettings_channelMessageNotifications. /// /// In en, this message translates to: @@ -2050,6 +2200,42 @@ abstract class AppLocalizations { /// **'Remove {contactName} from contacts?'** String contacts_removeConfirm(String contactName); + /// No description provided for @contacts_removeFromContacts. + /// + /// In en, this message translates to: + /// **'Remove from contacts'** + String get contacts_removeFromContacts; + + /// No description provided for @contacts_removeFromContactsConfirm. + /// + /// In en, this message translates to: + /// **'{contactName} will move to Discovered contacts. Chat history will be deleted.'** + String contacts_removeFromContactsConfirm(String contactName); + + /// No description provided for @contacts_keepChatHistory. + /// + /// In en, this message translates to: + /// **'Keep chat history'** + String get contacts_keepChatHistory; + + /// No description provided for @contacts_remove. + /// + /// In en, this message translates to: + /// **'Remove'** + String get contacts_remove; + + /// No description provided for @contacts_discoveredNearby. + /// + /// In en, this message translates to: + /// **'Discovered nearby ({count})'** + String contacts_discoveredNearby(int count); + + /// No description provided for @contacts_noContactsDiscoveredHint. + /// + /// In en, this message translates to: + /// **'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'** + String get contacts_noContactsDiscoveredHint; + /// No description provided for @contacts_manageRepeater. /// /// In en, this message translates to: @@ -2314,6 +2500,30 @@ abstract class AppLocalizations { /// **'Private'** String get channels_private; + /// No description provided for @channels_hashtag. + /// + /// In en, this message translates to: + /// **'Hashtag'** + String get channels_hashtag; + + /// No description provided for @channels_addSectionJoin. + /// + /// In en, this message translates to: + /// **'Join existing'** + String get channels_addSectionJoin; + + /// No description provided for @channels_addSectionCreate. + /// + /// In en, this message translates to: + /// **'Create new'** + String get channels_addSectionCreate; + + /// No description provided for @channels_dragToReorder. + /// + /// In en, this message translates to: + /// **'Drag to reorder'** + String get channels_dragToReorder; + /// No description provided for @channels_editChannel. /// /// In en, this message translates to: @@ -2536,6 +2746,12 @@ abstract class AppLocalizations { /// **'Public channel added'** String get channels_publicChannelAdded; + /// No description provided for @channels_noFreeSlots. + /// + /// In en, this message translates to: + /// **'All channel slots are in use'** + String get channels_noFreeSlots; + /// No description provided for @channels_sortBy. /// /// In en, this message translates to: @@ -2662,6 +2878,30 @@ abstract class AppLocalizations { /// **'Clear region'** String get channels_clearRegion; + /// No description provided for @channels_regionDefaultSuffix. + /// + /// In en, this message translates to: + /// **'(default)'** + String get channels_regionDefaultSuffix; + + /// No description provided for @channels_regionSelectExplanation. + /// + /// In en, this message translates to: + /// **'Flood messages on this channel will only be forwarded by repeaters in the selected region.'** + String get channels_regionSelectExplanation; + + /// No description provided for @channels_regionEmpty. + /// + /// In en, this message translates to: + /// **'No regions yet.'** + String get channels_regionEmpty; + + /// No description provided for @channels_manageRegions. + /// + /// In en, this message translates to: + /// **'Manage regions'** + String get channels_manageRegions; + /// No description provided for @chat_noMessages. /// /// In en, this message translates to: @@ -2758,10 +2998,22 @@ abstract class AppLocalizations { /// **'Send GIF'** String get chat_sendGif; + /// No description provided for @chat_removeGif. + /// + /// In en, this message translates to: + /// **'Remove GIF'** + String get chat_removeGif; + + /// No description provided for @chat_cancelReply. + /// + /// In en, this message translates to: + /// **'Cancel reply'** + String get chat_cancelReply; + /// No description provided for @chat_sendImageLora. /// /// In en, this message translates to: - /// **'Send image via meshcore'** + /// **'Send low-res image over radio'** String get chat_sendImageLora; /// Shown when picking or reading a photo to send fails @@ -3292,6 +3544,12 @@ abstract class AppLocalizations { /// **'Path'** String get chat_path; + /// No description provided for @chat_viewPathOnMap. + /// + /// In en, this message translates to: + /// **'View path on map'** + String get chat_viewPathOnMap; + /// No description provided for @chat_publicKey. /// /// In en, this message translates to: @@ -3358,6 +3616,18 @@ abstract class AppLocalizations { /// **'New messages'** String get chat_newMessages; + /// No description provided for @chat_today. + /// + /// In en, this message translates to: + /// **'Today'** + String get chat_today; + + /// No description provided for @chat_yesterday. + /// + /// In en, this message translates to: + /// **'Yesterday'** + String get chat_yesterday; + /// No description provided for @chat_openLink. /// /// In en, this message translates to: @@ -3442,6 +3712,12 @@ abstract class AppLocalizations { /// **'Center on node'** String get map_centerOnNode; + /// No description provided for @map_centerOnMe. + /// + /// In en, this message translates to: + /// **'Center on my location'** + String get map_centerOnMe; + /// No description provided for @map_details. /// /// In en, this message translates to: @@ -3478,6 +3754,12 @@ abstract class AppLocalizations { /// **'No nodes with location data'** String get map_noNodesWithLocation; + /// No description provided for @map_noNodesLocationHint. + /// + /// In en, this message translates to: + /// **'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'** + String get map_noNodesLocationHint; + /// No description provided for @map_nodesNeedGps. /// /// In en, this message translates to: @@ -3742,6 +4024,24 @@ abstract class AppLocalizations { /// **'Show guessed node locations'** String get map_showGuessedLocations; + /// No description provided for @map_clusterNodes. + /// + /// In en, this message translates to: + /// **'Group nearby nodes'** + String get map_clusterNodes; + + /// No description provided for @map_groupChip. + /// + /// In en, this message translates to: + /// **'Group'** + String get map_groupChip; + + /// No description provided for @map_clusterNodesSubtitle. + /// + /// In en, this message translates to: + /// **'When zoomed out, show nearby nodes as one numbered circle'** + String get map_clusterNodesSubtitle; + /// No description provided for @map_showDiscoveryContacts. /// /// In en, this message translates to: @@ -3784,6 +4084,12 @@ abstract class AppLocalizations { /// **'Manage Repeater'** String get map_manageRepeater; + /// No description provided for @map_manageServer. + /// + /// In en, this message translates to: + /// **'Manage Server'** + String get map_manageServer; + /// No description provided for @map_tapToAdd. /// /// In en, this message translates to: @@ -4113,6 +4419,18 @@ abstract class AppLocalizations { /// **'Enter password'** String get login_enterPassword; + /// No description provided for @login_showPassword. + /// + /// In en, this message translates to: + /// **'Show password'** + String get login_showPassword; + + /// No description provided for @login_hidePassword. + /// + /// In en, this message translates to: + /// **'Hide password'** + String get login_hidePassword; + /// No description provided for @login_savePassword. /// /// In en, this message translates to: @@ -4128,7 +4446,7 @@ abstract class AppLocalizations { /// No description provided for @login_repeaterDescription. /// /// In en, this message translates to: - /// **'Enter the repeater password for guest or admin access.'** + /// **'The admin password unlocks settings and the CLI. A guest password (or blank) shows status only.'** String get login_repeaterDescription; /// No description provided for @login_roomDescription. @@ -4137,6 +4455,12 @@ abstract class AppLocalizations { /// **'Enter the room password for guest or admin access.'** String get login_roomDescription; + /// No description provided for @login_advanced. + /// + /// In en, this message translates to: + /// **'Advanced'** + String get login_advanced; + /// No description provided for @login_routing. /// /// In en, this message translates to: @@ -4203,6 +4527,12 @@ abstract class AppLocalizations { /// **'Clear'** String get common_clear; + /// No description provided for @common_clearSearch. + /// + /// In en, this message translates to: + /// **'Clear search'** + String get common_clearSearch; + /// No description provided for @path_currentPathLabel. /// /// In en, this message translates to: @@ -4251,6 +4581,18 @@ abstract class AppLocalizations { /// **'Guest Tools'** String get repeater_guestTools; + /// No description provided for @repeater_roleAdmin. + /// + /// In en, this message translates to: + /// **'ADMIN'** + String get repeater_roleAdmin; + + /// No description provided for @repeater_roleGuest. + /// + /// In en, this message translates to: + /// **'GUEST'** + String get repeater_roleGuest; + /// No description provided for @repeater_status. /// /// In en, this message translates to: @@ -4925,13 +5267,13 @@ abstract class AppLocalizations { /// No description provided for @repeater_pathHashMode. /// /// In en, this message translates to: - /// **'Path hash mode'** + /// **'Node ID size in paths'** String get repeater_pathHashMode; /// No description provided for @repeater_pathHashModeHelper. /// /// In en, this message translates to: - /// **'Bytes used to encode this repeater\'s ID in flood path/loop-detect tags. 0=1 byte (256 IDs, up to 64 hops), 1=2 bytes (65K IDs, up to 32 hops), 2=3 bytes (16M IDs, up to 21 hops). Firmware before v1.14 always used 1-byte paths; v1.14 and newer can be configured for 2- or 3-byte paths.'** + /// **'Size of this repeater\'s ID in the paths of adverts it sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Does not affect forwarding; v1.14+ repeaters forward all sizes, but older firmware drops packets with 2- or 3-byte IDs.'** String get repeater_pathHashModeHelper; /// No description provided for @repeater_keySettings. @@ -5150,6 +5492,24 @@ abstract class AppLocalizations { /// **'Refresh Privacy Mode'** String get repeater_refreshPrivacyMode; + /// No description provided for @repeater_refreshAll. + /// + /// In en, this message translates to: + /// **'Refresh all'** + String get repeater_refreshAll; + + /// No description provided for @repeater_settingsNotLoaded. + /// + /// In en, this message translates to: + /// **'Settings haven\'t been loaded from this repeater yet.'** + String get repeater_settingsNotLoaded; + + /// No description provided for @repeater_settingsLoadIncomplete. + /// + /// In en, this message translates to: + /// **'Some settings could not be loaded. Use the refresh buttons to retry.'** + String get repeater_settingsLoadIncomplete; + /// No description provided for @repeater_refreshed. /// /// In en, this message translates to: @@ -5624,6 +5984,120 @@ abstract class AppLocalizations { /// **'NOTE: for the various \"set ...\" commands, there is also a \"get ...\" command.'** String get repeater_commandsListNote; + /// No description provided for @repeater_frequencyRangeHelper. + /// + /// In en, this message translates to: + /// **'150-2500 MHz'** + String get repeater_frequencyRangeHelper; + + /// No description provided for @repeater_frequencyInvalid. + /// + /// In en, this message translates to: + /// **'Invalid frequency (150-2500 MHz)'** + String get repeater_frequencyInvalid; + + /// No description provided for @repeater_txPowerRangeHelper. + /// + /// In en, this message translates to: + /// **'-9 to 30 dBm'** + String get repeater_txPowerRangeHelper; + + /// No description provided for @repeater_recvErrors. + /// + /// In en, this message translates to: + /// **'Receive Errors'** + String get repeater_recvErrors; + + /// No description provided for @room_postsStored. + /// + /// In en, this message translates to: + /// **'Posts'** + String get room_postsStored; + + /// No description provided for @room_postsPushed. + /// + /// In en, this message translates to: + /// **'Posts Pushed'** + String get room_postsPushed; + + /// No description provided for @repeater_cliRegionLoadActive. + /// + /// In en, this message translates to: + /// **'Region load mode: send one region name per line, indented with spaces under its parent (add F after the name to allow flood). Lines get no reply. Send an empty line to finish, then \"region save\" to keep the result.'** + String get repeater_cliRegionLoadActive; + + /// No description provided for @repeater_cliRegionLoadHint. + /// + /// In en, this message translates to: + /// **'Region line, or empty to finish'** + String get repeater_cliRegionLoadHint; + + /// No description provided for @repeater_cliRegionLoadEnd. + /// + /// In en, this message translates to: + /// **'(end of region load)'** + String get repeater_cliRegionLoadEnd; + + /// No description provided for @repeater_cliHelpRegionDef. + /// + /// In en, this message translates to: + /// **'Defines a chain of regions in one command: each name is added under the previous one; \"name,parent\" adds the name, then continues under the given parent. Replies with the region list.'** + String get repeater_cliHelpRegionDef; + + /// No description provided for @repeater_cliHelpSetFloodMaxUnscoped. + /// + /// In en, this message translates to: + /// **'Sets the maximum hop count for forwarding flood packets that have no region scope (0-64).'** + String get repeater_cliHelpSetFloodMaxUnscoped; + + /// No description provided for @repeater_cliHelpSetFloodMaxAdvert. + /// + /// In en, this message translates to: + /// **'Sets the maximum hop count for forwarding flood adverts (0-64).'** + String get repeater_cliHelpSetFloodMaxAdvert; + + /// No description provided for @repeater_cliHelpGetFloodMaxUnscoped. + /// + /// In en, this message translates to: + /// **'Shows the maximum hop count for unscoped flood packets.'** + String get repeater_cliHelpGetFloodMaxUnscoped; + + /// No description provided for @repeater_cliHelpGetFloodMaxAdvert. + /// + /// In en, this message translates to: + /// **'Shows the maximum hop count for flood adverts.'** + String get repeater_cliHelpGetFloodMaxAdvert; + + /// No description provided for @repeater_cliHelpSetRadioFemRxGain. + /// + /// In en, this message translates to: + /// **'Toggles the LoRa front-end module\'s RX gain (LNA). Boards without one reply \"Error: unsupported\".'** + String get repeater_cliHelpSetRadioFemRxGain; + + /// No description provided for @repeater_cliHelpSetRadioFemTxGain. + /// + /// In en, this message translates to: + /// **'Toggles the LoRa front-end module\'s TX gain (PA). Boards without one reply \"Error: unsupported\".'** + String get repeater_cliHelpSetRadioFemTxGain; + + /// No description provided for @repeater_cliHelpGetRadioFemRxGain. + /// + /// In en, this message translates to: + /// **'Shows whether the LoRa front-end module\'s RX gain is on.'** + String get repeater_cliHelpGetRadioFemRxGain; + + /// No description provided for @repeater_cliHelpGetRadioFemTxGain. + /// + /// In en, this message translates to: + /// **'Shows whether the LoRa front-end module\'s TX gain is on.'** + String get repeater_cliHelpGetRadioFemTxGain; + + /// No description provided for @repeater_bridgeNote. + /// + /// In en, this message translates to: + /// **'Only available on firmware built with a bridge (RS232 or ESP-NOW).'** + String get repeater_bridgeNote; + /// No description provided for @repeater_general. /// /// In en, this message translates to: @@ -5783,7 +6257,7 @@ abstract class AppLocalizations { /// No description provided for @repeater_cliHelpSetPathHashMode. /// /// In en, this message translates to: - /// **'Sets the path-hash mode. 0 = legacy, 1 = standard, 2 = strict. Affects how routing paths are matched.'** + /// **'Sets the node ID size used in this repeater\'s adverts: 0 = 1 byte (up to 64 hops), 1 = 2 bytes (up to 32 hops), 2 = 3 bytes (up to 21 hops). 3 is reserved. Does not affect which sizes are forwarded. Requires firmware v1.14+.'** String get repeater_cliHelpSetPathHashMode; /// No description provided for @repeater_cliHelpSetLoopDetect. @@ -5957,7 +6431,7 @@ abstract class AppLocalizations { /// No description provided for @repeater_cliHelpGetPathHashMode. /// /// In en, this message translates to: - /// **'Shows the path-hash mode (0/1/2).'** + /// **'Shows the node ID size mode used in adverts (0 = 1 byte, 1 = 2 bytes, 2 = 3 bytes).'** String get repeater_cliHelpGetPathHashMode; /// No description provided for @repeater_cliHelpGetLoopDetect. @@ -7546,6 +8020,12 @@ abstract class AppLocalizations { /// **'Last seen'** String get snrIndicator_lastSeen; + /// No description provided for @snrIndicator_nearByRepeatersDescription. + /// + /// In en, this message translates to: + /// **'Repeaters your radio heard directly, most recently heard first.'** + String get snrIndicator_nearByRepeatersDescription; + /// No description provided for @contactsSettings_title. /// /// In en, this message translates to: @@ -7726,6 +8206,18 @@ abstract class AppLocalizations { /// **'Radio stats'** String get radioStats_screenTitle; + /// No description provided for @radioStats_sectionSignal. + /// + /// In en, this message translates to: + /// **'Signal'** + String get radioStats_sectionSignal; + + /// No description provided for @radioStats_sectionAirtime. + /// + /// In en, this message translates to: + /// **'Airtime'** + String get radioStats_sectionAirtime; + /// No description provided for @radioStats_notConnected. /// /// In en, this message translates to: @@ -8356,6 +8848,36 @@ abstract class AppLocalizations { /// **'Resized to 512 × 512 · aspect ratio not preserved'** String get imageSend_cropNote; + /// No description provided for @imageSend_lossyNote. + /// + /// In en, this message translates to: + /// **'Compressed to about {bytes} bytes. The receiver\'s model reconstructs it, so details will differ.'** + String imageSend_lossyNote(int bytes); + + /// No description provided for @imageSend_viewOriginal. + /// + /// In en, this message translates to: + /// **'Original'** + String get imageSend_viewOriginal; + + /// No description provided for @imageSend_viewReconstruction. + /// + /// In en, this message translates to: + /// **'What recipients see'** + String get imageSend_viewReconstruction; + + /// No description provided for @imageSend_reconstructionUnavailable. + /// + /// In en, this message translates to: + /// **'This device can\'t preview the reconstruction.'** + String get imageSend_reconstructionUnavailable; + + /// No description provided for @imageSend_modelNotDownloaded. + /// + /// In en, this message translates to: + /// **'The image model isn\'t downloaded yet. Download it in Settings to send images.'** + String get imageSend_modelNotDownloaded; + /// No description provided for @imageSend_originalSize. /// /// In en, this message translates to: @@ -8614,6 +9136,42 @@ abstract class AppLocalizations { /// **'Tap to process'** String get receivedImage_tapToProcess; + /// No description provided for @receivedImage_save. + /// + /// In en, this message translates to: + /// **'Save image'** + String get receivedImage_save; + + /// No description provided for @receivedImage_shareCaption. + /// + /// In en, this message translates to: + /// **'AI-reconstructed from {bytes} bytes; fine detail is generated, not transmitted.'** + String receivedImage_shareCaption(int bytes); + + /// No description provided for @receivedImage_packetInfo. + /// + /// In en, this message translates to: + /// **'Packet info'** + String get receivedImage_packetInfo; + + /// No description provided for @receivedImage_parityRecovered. + /// + /// In en, this message translates to: + /// **'One packet was rebuilt from the recovery packet.'** + String get receivedImage_parityRecovered; + + /// No description provided for @receivedImage_decodeTime. + /// + /// In en, this message translates to: + /// **'Reconstructed in {ms} ms'** + String receivedImage_decodeTime(int ms); + + /// No description provided for @receivedImage_saveFailed. + /// + /// In en, this message translates to: + /// **'Couldn\'t save the image'** + String get receivedImage_saveFailed; + /// No description provided for @receivedImage_awaiting. /// /// In en, this message translates to: @@ -8631,6 +9189,12 @@ abstract class AppLocalizations { /// In en, this message translates to: /// **'{minutes} m {seconds} s'** String imageSend_minutesSecondsValue(String minutes, String seconds); + + /// Shown under the DM composer when the message is too long for the firmware's later retry attempts + /// + /// In en, this message translates to: + /// **'Over 158 bytes: sent at most {count} times'** + String chat_longMessageRetryNote(int count); } class _AppLocalizationsDelegate diff --git a/lib/l10n/app_localizations_bg.dart b/lib/l10n/app_localizations_bg.dart index 9b3c6b15..30be5003 100644 --- a/lib/l10n/app_localizations_bg.dart +++ b/lib/l10n/app_localizations_bg.dart @@ -111,10 +111,44 @@ class AppLocalizationsBg extends AppLocalizations { String get messageStatus_repeated => 'Повторно чуто'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Активиране на URL изображения'; + + @override + String get urlImage_possible => + 'Възможно изображение от URL; активирайте го в Настройки.'; @override String get common_reboot => 'Рестартирай'; @@ -373,6 +407,10 @@ class AppLocalizationsBg extends AppLocalizations { String get settings_radioSettingsUpdated => 'Радио настройките са актуализирани'; + @override + String get settings_radioSettingsNotApplied => + 'Радиото не приложи тези настройки'; + @override String get settings_regionSettings => 'Региони'; @@ -380,6 +418,23 @@ class AppLocalizationsBg extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Управляне на хранилищни региони'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Регионално управление'; @@ -462,11 +517,11 @@ class AppLocalizationsBg extends AppLocalizations { @override String get settings_privacyModeSubtitle => - 'Скриване на име/местоположение в рекламите'; + 'Скриване на име/местоположение в обявите'; @override String get settings_privacyModeToggle => - 'Активирайте режим на поверителност, за да скриете името и местоположението си в рекламите.'; + 'Активирайте режим на поверителност, за да скриете името и местоположението си в обявите.'; @override String get settings_privacyModeEnabled => @@ -507,6 +562,10 @@ class AppLocalizationsBg extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Режим на средата на телеметрията'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Място на обявата'; @@ -525,6 +584,10 @@ class AppLocalizationsBg extends AppLocalizations { @override String get settings_multiAck => 'Множество ACK'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Режим на телеметрията е обновен'; @@ -539,13 +602,13 @@ class AppLocalizationsBg extends AppLocalizations { 'Изчисти всички данни за пътищата от контактите.'; @override - String get settings_sendAdvertisement => 'Изпрати реклама'; + String get settings_sendAdvertisement => 'Изпрати обява'; @override String get settings_sendAdvertisementSubtitle => 'Излъчи присъствието сега'; @override - String get settings_advertisementSent => 'Рекламата е изпратена'; + String get settings_advertisementSent => 'Обявата е изпратена'; @override String get settings_syncTime => 'Време за синхронизация'; @@ -629,7 +692,7 @@ class AppLocalizationsBg extends AppLocalizations { String get settings_infoPublicKey => 'Публичен ключ'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Публичният ключ е копиран'; @override String get settings_infoContactsCount => 'Брой контакти'; @@ -647,6 +710,13 @@ class AppLocalizationsBg extends AppLocalizations { @override String get settings_presets => 'Предварителни настройки'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Честота (MHz)'; @@ -669,7 +739,9 @@ class AppLocalizationsBg extends AppLocalizations { String get settings_txPower => 'TX мощност (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Невалидна мощност на TX (0-22 dBm)'; @@ -677,6 +749,11 @@ class AppLocalizationsBg extends AppLocalizations { @override String get settings_clientRepeat => 'Клиентско повторение'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Позволете на това устройство да предава пакети към мрежата за други устройства.'; @@ -771,6 +848,39 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 байта'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Разрешаване на проследяване на съобщения'; @@ -787,7 +897,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get appSettings_enableNotificationsSubtitle => - 'Получавайте известия за съобщения и реклами'; + 'Получавайте известия за съобщения и обяви'; @override String get appSettings_notificationPermissionDenied => @@ -806,6 +916,13 @@ class AppLocalizationsBg extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Показвай известие при получаване на нови съобщения'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Известия за канални съобщения'; @@ -815,7 +932,7 @@ class AppLocalizationsBg extends AppLocalizations { 'Показвай известие при получаване на съобщения от канали'; @override - String get appSettings_advertisementNotifications => 'Уведомления за реклами'; + String get appSettings_advertisementNotifications => 'Уведомления за обяви'; @override String get appSettings_advertisementNotificationsSubtitle => @@ -846,7 +963,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get appSettings_autoRouteRotationSubtitle => - 'Превключвайте между най-добрите пътища и режим на наводняване'; + 'Превключвайте между най-добрите пътища и режим Flood'; @override String get appSettings_autoRouteRotationEnabled => @@ -1049,7 +1166,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get contacts_contactsWillAppear => - 'Контактите ще се появят, когато устройствата рекламират.'; + 'Контактите ще се появят, когато устройствата изпратят обява.'; @override String get contacts_unread => 'Непрочетено'; @@ -1096,6 +1213,29 @@ class AppLocalizationsBg extends AppLocalizations { return 'Изтрий $contactName от контактите?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Управление на повторителя'; @@ -1246,6 +1386,18 @@ class AppLocalizationsBg extends AppLocalizations { @override String get channels_private => 'Частен'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Редактирай канал'; @@ -1378,6 +1530,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get channels_publicChannelAdded => 'Публичен канал добавен'; + @override + String get channels_noFreeSlots => 'Няма свободни канални места'; + @override String get channels_sortBy => 'Сортирай по'; @@ -1446,6 +1601,19 @@ class AppLocalizationsBg extends AppLocalizations { @override String get channels_clearRegion => 'Чиста зона'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Няма съобщения.'; @@ -1504,6 +1672,12 @@ class AppLocalizationsBg extends AppLocalizations { @override String get chat_sendGif => 'Изпрати GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Изпращане на изображение чрез MeshCore'; @@ -1523,7 +1697,7 @@ class AppLocalizationsBg extends AppLocalizations { String get chat_me => 'Аз'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Емоджи реакции'; @override String get emojiCategorySmileys => 'Емотикони'; @@ -1672,14 +1846,14 @@ class AppLocalizationsBg extends AppLocalizations { String get routing_modeAuto => 'Автоматично'; @override - String get routing_modeFlood => 'Наводняване'; + String get routing_modeFlood => 'Flood'; @override String get routing_modeManual => 'Ръчно'; @override String get routing_modeAutoHint => - 'Автоматично избира най-добрия известен път, а при липса на информация използва стратегия за наводняване.'; + 'Автоматично избира най-добрия известен път, а при липса на такъв използва режим Flood.'; @override String get routing_modeFloodHint => @@ -1731,7 +1905,7 @@ class AppLocalizationsBg extends AppLocalizations { String get routing_qualityWorked => 'Работил'; @override - String get routing_qualityFlood => 'Получено чрез наводняване'; + String get routing_qualityFlood => 'Получено чрез Flood'; @override String get routing_qualityUntested => 'Нетестирано'; @@ -1750,7 +1924,7 @@ class AppLocalizationsBg extends AppLocalizations { } @override - String get routing_floodDelivery => 'Доставка при наводняване'; + String get routing_floodDelivery => 'Доставка чрез Flood'; @override String get pathEditor_title => 'Създаване на път'; @@ -1814,6 +1988,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get chat_path => 'Път'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Публичен ключ'; @@ -1822,7 +1999,7 @@ class AppLocalizationsBg extends AppLocalizations { 'Компресиране на изходящи съобщения'; @override - String get chat_floodForced => 'Наводняване (принудително)'; + String get chat_floodForced => 'Flood (принудително)'; @override String get chat_directForced => 'Директно (принудително)'; @@ -1833,7 +2010,7 @@ class AppLocalizationsBg extends AppLocalizations { } @override - String get chat_floodAuto => 'Наводняване (автоматично)'; + String get chat_floodAuto => 'Flood (автоматично)'; @override String get chat_direct => 'Директно'; @@ -1852,6 +2029,12 @@ class AppLocalizationsBg extends AppLocalizations { @override String get chat_newMessages => 'Нови съобщения'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Отворете връзката?'; @@ -1897,6 +2080,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get map_centerOnNode => 'Центрирай върху възела'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Подробности'; @@ -1915,6 +2101,10 @@ class AppLocalizationsBg extends AppLocalizations { @override String get map_noNodesWithLocation => 'Няма възли с данни за местоположение.'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Възлите трябва да споделят GPS координатите си,\nза да се появят на картата.'; @@ -2057,6 +2247,16 @@ class AppLocalizationsBg extends AppLocalizations { String get map_showGuessedLocations => 'Покажете местоположенията на предположените възли.'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Покажи контакти за откриване'; @@ -2078,6 +2278,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get map_manageRepeater => 'Управление на повторителя'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Докоснете възлите, за да ги добавите към пътя.'; @@ -2281,6 +2484,12 @@ class AppLocalizationsBg extends AppLocalizations { @override String get login_enterPassword => 'Въведете парола'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Запази паролата'; @@ -2296,6 +2505,9 @@ class AppLocalizationsBg extends AppLocalizations { String get login_roomDescription => 'Въведете паролата на стаята, за да получите достъп до настройките и статуса.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Маршрутизиране'; @@ -2306,7 +2518,7 @@ class AppLocalizationsBg extends AppLocalizations { String get login_autoUseSavedPath => 'Автоматично (използвай запазения път)'; @override - String get login_forceFloodMode => 'Принуди режим на наводняване'; + String get login_forceFloodMode => 'Принуди режим Flood'; @override String get login_managePaths => 'Управление на пътищата'; @@ -2334,6 +2546,9 @@ class AppLocalizationsBg extends AppLocalizations { @override String get common_clear => 'Изчисти'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Текущ път'; @@ -2359,6 +2574,12 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_guestTools => 'Инструменти за гости'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Статус'; @@ -2482,17 +2703,17 @@ class AppLocalizationsBg extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return 'Общо: $total, Наводнение: $flood, Директно: $direct'; + return 'Общо: $total, Flood: $flood, Директно: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return 'Общо: $total, Наводнение: $flood, Директно: $direct'; + return 'Общо: $total, Flood: $flood, Директно: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Поливане: $flood, Директен: $direct'; + return 'Flood: $flood, Директен: $direct'; } @override @@ -2586,13 +2807,13 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_privacyModeSubtitle => - 'Скриване на име/местоположение в рекламите'; + 'Скриване на име/местоположение в обявите'; @override - String get repeater_advertisementSettings => 'Настройки на рекламите'; + String get repeater_advertisementSettings => 'Настройки на обявите'; @override - String get repeater_localAdvertInterval => 'Интервал на местната реклама'; + String get repeater_localAdvertInterval => 'Интервал на локалната обява'; @override String repeater_localAdvertIntervalMinutes(int minutes) { @@ -2600,8 +2821,7 @@ class AppLocalizationsBg extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => - 'Интервал на рекламата за наводняване'; + String get repeater_floodAdvertInterval => 'Интервал на Flood обявата'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2610,7 +2830,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_encryptedAdvertInterval => - 'Криптиран интервал на рекламата'; + 'Криптиран интервал на обявата'; @override String get repeater_dangerZone => 'Опасна зона'; @@ -2733,11 +2953,11 @@ class AppLocalizationsBg extends AppLocalizations { String get repeater_refreshOwnerInfo => 'Обновете информацията за оператора'; @override - String get repeater_floodMax => 'Максимален брой хопове при наводняване'; + String get repeater_floodMax => 'Максимален брой скокове при Flood'; @override String get repeater_floodMaxHelper => - 'Максималният брой хопове, които един пакет може да премине (0-64)'; + 'Максималният брой скокове, които един пакет може да премине (0-64)'; @override String get repeater_advancedSettings => 'Разширени настройки'; @@ -2794,7 +3014,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Разстоянието между пакетите при наводняване като множител на времето за пренос на пакета (0-2, по подразбиране 0.5). По-висока стойност означава по-малко сблъсъци, но по-бавно предаване.'; + 'Разстоянието между пакетите при Flood трафик като множител на времето за пренос на пакета (0-2, по подразбиране 0.5). По-висока стойност означава по-малко сблъсъци, но по-бавно предаване.'; @override String get repeater_directTxDelay => 'Забавяне на директното предаване'; @@ -2821,18 +3041,18 @@ class AppLocalizationsBg extends AppLocalizations { String get repeater_actionsTitle => 'Действия'; @override - String get repeater_sendAdvert => 'Изпрати реклама за наводняване'; + String get repeater_sendAdvert => 'Изпрати Flood обява'; @override String get repeater_sendAdvertSubtitle => - 'Публикувай реклама за наводняване в мрежата.'; + 'Разпространи Flood обява в мрежата.'; @override - String get repeater_sendAdvertZeroHop => 'Изпрати реклама без хопове'; + String get repeater_sendAdvertZeroHop => 'Изпрати обява с нулев скок'; @override String get repeater_sendAdvertZeroHopSubtitle => - 'Публикувай реклама, която достига до целевата аудитория само чрез директно разпространение.'; + 'Разпространи обява само с един скок (без повторители).'; @override String get repeater_clockSync => 'Синхронизирай часовника сега'; @@ -2884,6 +3104,17 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Обнови режима на поверителност'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label е обновено'; @@ -2949,7 +3180,7 @@ class AppLocalizationsBg extends AppLocalizations { String get repeater_cliQuickVersion => 'Версия'; @override - String get repeater_cliQuickAdvertise => 'Рекламирай'; + String get repeater_cliQuickAdvertise => 'Обяви'; @override String get repeater_cliQuickClock => 'Часовник'; @@ -2961,7 +3192,7 @@ class AppLocalizationsBg extends AppLocalizations { String get repeater_cliQuickDiscovery => 'Открий Съседи'; @override - String get repeater_cliHelpAdvert => 'Изпраща рекламен пакет'; + String get repeater_cliHelpAdvert => 'Изпраща пакет за обява'; @override String get repeater_cliHelpReboot => @@ -3000,7 +3231,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - 'Задава максималния брой хопове на входящ пакет за заливване (ако >= max, пакетът не се предава).'; + 'Задава максималния брой скокове на входящ Flood пакет (ако >= max, пакетът не се предава).'; @override String get repeater_cliHelpSetIntThresh => @@ -3016,11 +3247,11 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpSetAdvertInterval => - 'Задава интервала на таймера в минути за изпращане на локален (безпроблемен) рекламен пакет. Задайте на 0, за да го деактивирате.'; + 'Задава интервала на таймера в минути за изпращане на локален (нулев скок) пакет за обява. Задайте на 0, за да го деактивирате.'; @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Задава интервала на таймера в часове за изпращане на пакет с реклама за наводнение. Задайте на 0, за да го деактивирате.'; + 'Задава интервала на таймера в часове за изпращане на Flood пакет за обява. Задайте на 0, за да го деактивирате.'; @override String get repeater_cliHelpSetGuestPassword => @@ -3031,11 +3262,11 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpSetLat => - 'Задава географска ширина на картата с реклами (в десетими градуси).'; + 'Задава географска ширина на картата за обявата (в десетични градуси).'; @override String get repeater_cliHelpSetLon => - 'Задава обхвата на дължина на картата на рекламата. (десетими градуса)'; + 'Задава географска дължина на картата за обявата. (десетични градуси)'; @override String get repeater_cliHelpSetRadio => @@ -3047,7 +3278,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpSetTxDelay => - 'Задава фактор, умножен по времето на въздух за пакет в режим на наводнение и с рандомизирана система за слотове, за да забави предаването му (за да намали вероятността от сблъсъци).'; + 'Задава фактор, умножен по времето на въздух за Flood пакет и с рандомизирана система за слотове, за да забави предаването му (за да намали вероятността от сблъсъци).'; @override String get repeater_cliHelpSetDirectTxDelay => @@ -3103,7 +3334,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpNeighbors => - 'Показва списък с други възли на репитер, чути чрез нулев хоп реклами. Всяка линия е id-prefix-hex:timestamp:snr-times-4'; + 'Показва списък с други възли на повторител, чути чрез обяви с нулев скок. Всяка линия е id-prefix-hex:timestamp:snr-times-4'; @override String get repeater_cliHelpNeighborRemove => @@ -3111,7 +3342,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(сериен режим) Изброява всички дефинирани региони и текущите разрешения за наводнения.'; + '(сериен режим) Изброява всички дефинирани региони и текущите разрешения за Flood.'; @override String get repeater_cliHelpRegionLoad => @@ -3165,7 +3396,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpGpsAdvert => - 'Предоставя конфигурацията на рекламата за местоположението на възела:\n- none: не включвайте местоположението в рекламите\n- share: споделяйте gps местоположението (от SensorManager)\n- prefs: рекламирайте местоположението, съхранено в предпочитанията'; + 'Предоставя конфигурацията на обявата за местоположението на възела:\n- none: не включвайте местоположението в обявите\n- share: споделяйте gps местоположението (от SensorManager)\n- prefs: обявявайте местоположението, съхранено в предпочитанията'; @override String get repeater_cliHelpGpsAdvertSet => @@ -3178,6 +3409,75 @@ class AppLocalizationsBg extends AppLocalizations { String get repeater_commandsListNote => 'ЗАБЕЛЕЖКА: за различните команди \"set ...\", също така съществува команда \"get ...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Невалидна честота (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => 'от -9 до 30 dBm'; + + @override + String get repeater_recvErrors => 'Грешки при приемане'; + + @override + String get room_postsStored => 'Публикации'; + + @override + String get room_postsPushed => 'Изпратени публикации'; + + @override + String get repeater_cliRegionLoadActive => + 'Режим на зареждане на региони: изпращайте по едно име на регион на ред, с отстъп от интервали под съответния родител (добавете F след името, за да разрешите flood). Редовете не получават отговор. Изпратете празен ред, за да завършите, след което изпратете „region save“, за да запазите резултата.'; + + @override + String get repeater_cliRegionLoadHint => + 'Ред за регион или празно за завършване'; + + @override + String get repeater_cliRegionLoadEnd => '(край на зареждането на региони)'; + + @override + String get repeater_cliHelpRegionDef => + 'Задава верига от региони с една команда: всяко име се добавя под предишното; „name,parent“ добавя името и продължава под указания родител. Връща списъка с региони.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Задава максималния брой скокове за препращане на flood пакети без определена регионална област (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Задава максималния брой скокове за препращане на flood обяви (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Показва максималния брой скокове за flood пакети без определена област.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Показва максималния брой скокове за flood обяви.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Превключва RX усилването (LNA) на LoRa предния модул. Платки без такъв отговарят с „Error: unsupported“.'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Превключва TX усилването (PA) на LoRa предния модул. Платки без такъв отговарят с „Error: unsupported“.'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Показва дали RX усилването на LoRa предния модул е включено.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Показва дали TX усилването на LoRa предния модул е включено.'; + + @override + String get repeater_bridgeNote => + 'Налично само за прошивка с мост (RS232 или ESP-NOW).'; + @override String get repeater_general => 'Общо'; @@ -3227,7 +3527,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Изпраща реклама, която достига само до съседни устройства (само до съседни мрежи).'; + 'Изпраща обява, която достига само до съседни устройства (само до съседни мрежи).'; @override String get repeater_cliHelpStartOta => @@ -3271,7 +3571,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpSetOwnerInfo => - 'Задава низовете с информация за контакт на собственика, които са включени в рекламите. Използвайте \'|\' за нови редове.'; + 'Задава низовете с информация за контакт на собственика, които са включени в обявите. Използвайте \'|\' за нови редове.'; @override String get repeater_cliHelpSetPathHashMode => @@ -3348,11 +3648,11 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Показва времето на рекламата в минути.'; + 'Показва интервала на обявата в минути.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Показва интервала на рекламата за навод в часове.'; + 'Показва интервала на Flood обявата в часове.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3370,7 +3670,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Показва коефициента за забавяне при режим на наводняване.'; + 'Показва коефициента за забавяне при режим Flood.'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3378,7 +3678,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Показва максималния брой на повторни наводнения.'; + 'Показва максималния брой скокове при Flood.'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3466,11 +3766,11 @@ class AppLocalizationsBg extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Списва регионите, които позволяват преминаване на превозни средства при наводнение.'; + 'Списва регионите, които разрешават Flood трафик.'; @override String get repeater_cliHelpRegionListDenied => - 'Списва региони, които забраняват движението по пътищата при наводнения.'; + 'Списва региони, които забраняват Flood трафик.'; @override String get repeater_cliHelpStatsPackets => @@ -3756,7 +4056,7 @@ class AppLocalizationsBg extends AppLocalizations { String get channelPath_unknownPath => 'Неизвестно'; @override - String get channelPath_floodPath => 'Поливане'; + String get channelPath_floodPath => 'Flood'; @override String get channelPath_directPath => 'Директно'; @@ -4028,7 +4328,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Един или повече от хмелите липсва местоположение!'; + 'Един или повече от скоковете няма определено местоположение!'; @override String get pathTrace_clearTooltip => 'Изчисти пътя'; @@ -4242,10 +4542,10 @@ class AppLocalizationsBg extends AppLocalizations { 'Контактът не е успешно импортиран.'; @override - String get contacts_zeroHopAdvert => 'Реклама без скок'; + String get contacts_zeroHopAdvert => 'Обява без скок'; @override - String get contacts_floodAdvert => 'Реклама за наводняване'; + String get contacts_floodAdvert => 'Flood обява'; @override String get contacts_copyAdvertToClipboard => 'Копирай обявата в клипборда'; @@ -4267,8 +4567,7 @@ class AppLocalizationsBg extends AppLocalizations { 'Неуспешно изпращане на контакт.'; @override - String get contacts_contactAdvertCopied => - 'Рекламата е копирана в клипборда.'; + String get contacts_contactAdvertCopied => 'Обявата е копирана в клипборда.'; @override String get contacts_contactAdvertCopyFailed => @@ -4378,6 +4677,10 @@ class AppLocalizationsBg extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Последно видян'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Настройки на контактите'; @@ -4484,6 +4787,12 @@ class AppLocalizationsBg extends AppLocalizations { String get radioStats_screenTitle => 'Статистически данни за радиопредаванията'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Свържете се с устройство, за да видите статистически данни за радиопредаване.'; @@ -4871,6 +5180,25 @@ class AppLocalizationsBg extends AppLocalizations { String get imageSend_cropNote => 'Масштабиран до 512 × 512 · соотношение сторон не съхранясе'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Късно на използване на език:'; @@ -4931,7 +5259,7 @@ class AppLocalizationsBg extends AppLocalizations { @override String get imageSend_floodNote => - 'Руйжинг на превъште: всички ретранслятори в диапазонта превратят всички пакети, тъйа каналят оставря дълше, от този час.'; + 'Flood маршрутизация: всеки повторител в обхват препредава всеки пакет, затова каналът остава зает по-дълго от посоченото тук време.'; @override String get imageSend_parityTitle => 'Возобновителен пакет'; @@ -5041,6 +5369,29 @@ class AppLocalizationsBg extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Натискнете за обработка'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5061,4 +5412,9 @@ class AppLocalizationsBg extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes мин $seconds сек'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Над 158 байта: изпраща се най-много $count пъти'; + } } diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index 2f2c6465..97bab161 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -110,6 +110,39 @@ class AppLocalizationsDe extends AppLocalizations { @override String get messageStatus_repeated => 'Mehrfach gehört'; + @override + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; + + @override + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + @override String get urlImage_enable => 'URL-Bilder anzeigen'; @@ -376,6 +409,10 @@ class AppLocalizationsDe extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Funkparameter aktualisiert'; + @override + String get settings_radioSettingsNotApplied => + 'Das Funkgerät hat diese Einstellungen nicht übernommen'; + @override String get settings_regionSettings => 'Regionen'; @@ -383,6 +420,23 @@ class AppLocalizationsDe extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Gespeicherte Regionen verwalten'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Regions-Verwaltung'; @@ -507,6 +561,10 @@ class AppLocalizationsDe extends AppLocalizations { @override String get settings_telemetryEnvironmentMode => 'Telemetrie-Umgebungsmodus'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Standort in Ankündigung'; @@ -525,6 +583,10 @@ class AppLocalizationsDe extends AppLocalizations { @override String get settings_multiAck => 'Mehrfach-ACKs'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Telemetriemodus aktualisiert'; @@ -626,7 +688,7 @@ class AppLocalizationsDe extends AppLocalizations { String get settings_infoPublicKey => 'Öffentlicher Schlüssel'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Öffentlicher Schlüssel kopiert'; @override String get settings_infoContactsCount => 'Kontakte'; @@ -643,6 +705,13 @@ class AppLocalizationsDe extends AppLocalizations { @override String get settings_presets => 'Voreinstellungen'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frequenz (MHz)'; @@ -665,7 +734,9 @@ class AppLocalizationsDe extends AppLocalizations { String get settings_txPower => 'Sendeleistung (dBm)'; @override - String get settings_txPowerHelper => '0 – 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Ungültige Sendeleistung (0-22 dBm)'; @@ -673,6 +744,11 @@ class AppLocalizationsDe extends AppLocalizations { @override String get settings_clientRepeat => 'Weiterleitung ohne Netzstrom'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Dieses Gerät kann Mesh-Pakete für andere weiterleiten'; @@ -767,6 +843,39 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 Bytes'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Nachrichtenverfolgung aktivieren'; @@ -804,6 +913,13 @@ class AppLocalizationsDe extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Benachrichtigung anzeigen, wenn neue Direktnachrichten eingehen'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Kanalnachrichten-Benachrichtigungen'; @@ -1092,6 +1208,29 @@ class AppLocalizationsDe extends AppLocalizations { return '$contactName aus den Kontakten entfernen?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Repeater verwalten'; @@ -1241,6 +1380,18 @@ class AppLocalizationsDe extends AppLocalizations { @override String get channels_private => 'Privat'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Kanal bearbeiten'; @@ -1374,6 +1525,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get channels_publicChannelAdded => 'Öffentlicher Kanal hinzugefügt'; + @override + String get channels_noFreeSlots => 'Alle Kanal-Slots sind belegt'; + @override String get channels_sortBy => 'Sortieren nach'; @@ -1445,6 +1599,19 @@ class AppLocalizationsDe extends AppLocalizations { @override String get channels_clearRegion => 'Region zurücksetzen'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Noch keine Nachrichten.'; @@ -1504,6 +1671,12 @@ class AppLocalizationsDe extends AppLocalizations { @override String get chat_sendGif => 'GIF senden'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Bild über MeshCore senden'; @@ -1523,7 +1696,7 @@ class AppLocalizationsDe extends AppLocalizations { String get chat_me => 'Ich'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Emoji-Reaktionen'; @override String get emojiCategorySmileys => 'Emoticons'; @@ -1671,14 +1844,14 @@ class AppLocalizationsDe extends AppLocalizations { String get routing_modeAuto => 'Automatisch'; @override - String get routing_modeFlood => 'Flut'; + String get routing_modeFlood => 'Flood'; @override String get routing_modeManual => 'Manuell'; @override String get routing_modeAutoHint => - 'Wählt automatisch den besten bekannten Pfad und wechselt auf Flut, wenn keiner bekannt ist.'; + 'Wählt automatisch den besten bekannten Pfad und wechselt in den Flood-Modus, wenn keiner bekannt ist.'; @override String get routing_modeFloodHint => @@ -1696,7 +1869,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get routing_noPathYet => - 'Noch kein Pfad gefunden. Die nächste Nachricht wird geflutet, bis eine Route entdeckt ist.'; + 'Noch kein Pfad gefunden. Die nächste Nachricht wird im Flood-Modus gesendet, bis eine Route entdeckt ist.'; @override String get routing_floodBroadcast => 'Über alle Repeater senden'; @@ -1718,13 +1891,13 @@ class AppLocalizationsDe extends AppLocalizations { String get routing_inUse => 'In Verwendung'; @override - String get routing_qualityStrong => 'Starker erster Hop'; + String get routing_qualityStrong => 'Starker erster Sprung'; @override - String get routing_qualityGood => 'Guter erster Hop'; + String get routing_qualityGood => 'Guter erster Sprung'; @override - String get routing_qualityFair => 'Ausreichender erster Hop'; + String get routing_qualityFair => 'Ausreichender erster Sprung'; @override String get routing_qualityWorked => 'Hat zugestellt'; @@ -1812,6 +1985,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get chat_path => 'Pfad'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Öffentlicher Schlüssel'; @@ -1820,7 +1996,7 @@ class AppLocalizationsDe extends AppLocalizations { 'Komprimieren ausgehender Nachrichten'; @override - String get chat_floodForced => 'Geflutet (erzwungen)'; + String get chat_floodForced => 'Flood (erzwungen)'; @override String get chat_directForced => 'Direkt (erzwungen)'; @@ -1831,7 +2007,7 @@ class AppLocalizationsDe extends AppLocalizations { } @override - String get chat_floodAuto => 'Geflutet (automatisch)'; + String get chat_floodAuto => 'Flood (automatisch)'; @override String get chat_direct => 'Direkt'; @@ -1850,6 +2026,12 @@ class AppLocalizationsDe extends AppLocalizations { @override String get chat_newMessages => 'Neue Nachrichten'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Link öffnen?'; @@ -1895,6 +2077,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get map_centerOnNode => 'Auf Knoten zentrieren'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Details'; @@ -1913,6 +2098,10 @@ class AppLocalizationsDe extends AppLocalizations { @override String get map_noNodesWithLocation => 'Keine Knoten mit Standortdaten'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Knoten müssen ihre GPS-Koordinaten teilen,\num auf der Karte zu erscheinen.'; @@ -2054,6 +2243,16 @@ class AppLocalizationsDe extends AppLocalizations { @override String get map_showGuessedLocations => 'Vermutete Knotenstandorte anzeigen'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Entdeckte Kontakte anzeigen'; @@ -2075,6 +2274,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get map_manageRepeater => 'Repeater verwalten'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Tippen Sie auf Knoten, um sie zum Pfad hinzuzufügen.'; @@ -2280,6 +2482,12 @@ class AppLocalizationsDe extends AppLocalizations { @override String get login_enterPassword => 'Passwort eingeben'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Passwort speichern'; @@ -2295,6 +2503,9 @@ class AppLocalizationsDe extends AppLocalizations { String get login_roomDescription => 'Geben Sie das Raumkennwort ein, um auf die Einstellungen und den Status zuzugreifen.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Routen'; @@ -2306,7 +2517,7 @@ class AppLocalizationsDe extends AppLocalizations { 'Automatisch (gespeicherten Pfad verwenden)'; @override - String get login_forceFloodMode => 'Flut-Modus erzwingen'; + String get login_forceFloodMode => 'Flood-Modus erzwingen'; @override String get login_managePaths => 'Pfadverwaltung'; @@ -2334,6 +2545,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get common_clear => 'Leeren'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Aktueller Pfad'; @@ -2359,6 +2573,12 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_guestTools => 'Gastwerkzeuge'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Status'; @@ -2383,7 +2603,8 @@ class AppLocalizationsDe extends AppLocalizations { String get repeater_neighbors => 'Nachbarn'; @override - String get repeater_neighborsSubtitle => 'Anzahl der Hop-Nachbarn anzeigen.'; + String get repeater_neighborsSubtitle => + 'Anzahl der Sprungnachbarn anzeigen.'; @override String get repeater_settings => 'Einstellungen'; @@ -2746,7 +2967,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_pathHashModeHelper => - 'Bytes, die zur Kodierung der ID dieses Repeaters in Flood-Pfad-/Schleifen-Erkennung-Tags verwendet werden. 0 = 1 Byte (256 IDs, bis zu 64 Hops), 1 = 2 Bytes (65.000 IDs, bis zu 32 Hops), 2 = 3 Bytes (16 Millionen IDs, bis zu 21 Hops). Firmware-Versionen 1.13 und älter verwenden mehrstellige Pfade – ab Version 1.14+ wird nur ein Pfad erstellt, sobald das Netzwerk aktiv ist.'; + 'Bytes, die zur Kodierung der ID dieses Repeaters in Flood-Pfad-/Schleifen-Erkennung-Tags verwendet werden. 0 = 1 Byte (256 IDs, bis zu 64 Sprüngen), 1 = 2 Bytes (65.000 IDs, bis zu 32 Sprüngen), 2 = 3 Bytes (16 Millionen IDs, bis zu 21 Sprüngen). Firmware-Versionen 1.13 und älter verwenden mehrstellige Pfade – ab Version 1.14+ wird nur ein Pfad erstellt, sobald das Netzwerk aktiv ist.'; @override String get repeater_keySettings => 'Identitätsschlüssel ändern'; @@ -2882,6 +3103,17 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Privatsphärenmodus aktualisieren'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label aktualisiert'; @@ -3018,14 +3250,14 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Legt das Timer-Intervall in Stunden für den Versand eines Flut-Ankündigungspacket fest. Auf 0 setzen, um es zu deaktivieren.'; + 'Legt das Timer-Intervall in Stunden für den Versand eines Flood-Ankündigungspaket fest. Auf 0 setzen, um es zu deaktivieren.'; @override String get repeater_cliHelpSetGuestPassword => 'Legt/aktualisiert das Gastpasswort fest. (für Repeater können Gast-Logins die \"Get Stats\"-Anfrage senden)'; @override - String get repeater_cliHelpSetName => 'Legt den Anzeigenamen fest.'; + String get repeater_cliHelpSetName => 'Legt den Ankündigungsnamen fest.'; @override String get repeater_cliHelpSetLat => @@ -3128,7 +3360,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_cliHelpRegionAllowf => - 'Legt die \'Flut\'-Berechtigung für die angegebene Region fest. (\'\' für den globalen/legacy-Bereich)'; + 'Legt die \'Flood\'-Berechtigung für die angegebene Region fest. (\'\' für den globalen/legacy-Bereich)'; @override String get repeater_cliHelpRegionDenyf => @@ -3162,11 +3394,11 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_cliHelpGpsAdvert => - 'Gibt Konfiguration für die Standortanzeige des Knotens:\n- none: Standort nicht in Anzeigen einbeziehen\n- share: GPS-Standort teilen (von SensorManager)\n- prefs: Standort aus Einstellungen anzeigen'; + 'Gibt Konfiguration für die Standort-Ankündigung des Knotens:\n- none: Standort nicht in Ankündigungen einbeziehen\n- share: GPS-Standort teilen (von SensorManager)\n- prefs: Standort aus den Einstellungen ankündigen'; @override String get repeater_cliHelpGpsAdvertSet => - 'Legt die Standort-Anzeigekonfiguration fest.'; + 'Legt die Standort-Ankündigungskonfiguration fest.'; @override String get repeater_commandsListTitle => 'Befehlsliste'; @@ -3175,6 +3407,75 @@ class AppLocalizationsDe extends AppLocalizations { String get repeater_commandsListNote => 'ACHTUNG: Für die verschiedenen „set ...“-Befehle gibt es auch einen „get ...“-Befehl.'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Ungültige Frequenz (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 bis 30 dBm'; + + @override + String get repeater_recvErrors => 'Empfangsfehler'; + + @override + String get room_postsStored => 'Beiträge'; + + @override + String get room_postsPushed => 'Gesendete Beiträge'; + + @override + String get repeater_cliRegionLoadActive => + 'Regions-Ladevorgang: Sende pro Zeile einen Regionsnamen, eingerückt mit Leerzeichen unter der übergeordneten Region (F nach dem Namen anhängen, um Flood zu erlauben). Zeilen erhalten keine Antwort. Sende eine Leerzeile zum Abschließen, dann \"region save\", um das Ergebnis zu speichern.'; + + @override + String get repeater_cliRegionLoadHint => + 'Regionszeile, oder leer zum Abschließen'; + + @override + String get repeater_cliRegionLoadEnd => '(Ende des Regions-Ladevorgangs)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definiert in einem Befehl eine Kette von Regionen: Jeder Name wird unter dem vorherigen hinzugefügt; \"name,parent\" fügt den Namen hinzu und setzt dann unter der angegebenen übergeordneten Region fort. Antwortet mit der Regionsliste.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Legt die maximale Hop-Anzahl für die Weiterleitung von Flood-Paketen ohne Region-Scope fest (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Legt die maximale Hop-Anzahl für die Weiterleitung von Flood-Ankündigungen fest (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Zeigt die maximale Hop-Anzahl für Flood-Pakete ohne Region-Scope an.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Zeigt die maximale Hop-Anzahl für Flood-Ankündigungen an.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Schaltet den RX-Gain (LNA) des LoRa-Frontend-Moduls um. Boards ohne dieses Modul antworten mit \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Schaltet den TX-Gain (PA) des LoRa-Frontend-Moduls um. Boards ohne dieses Modul antworten mit \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Zeigt, ob der RX-Gain des LoRa-Frontend-Moduls aktiviert ist.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Zeigt, ob der TX-Gain des LoRa-Frontend-Moduls aktiviert ist.'; + + @override + String get repeater_bridgeNote => + 'Nur verfügbar bei Firmware, die mit einer Bridge (RS232 oder ESP-NOW) gebaut wurde.'; + @override String get repeater_general => 'Allgemein'; @@ -3224,7 +3525,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Sendet eine Werbeanzeige, die nur an unmittelbare Nachbarn gesendet wird (ohne Zwischenstation).'; + 'Sendet eine Ankündigung, die nur an unmittelbare Nachbarn gesendet wird (ohne Zwischenstation).'; @override String get repeater_cliHelpStartOta => @@ -3347,11 +3648,11 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Zeigt die Dauer des lokalen Werbeintervalls in Minuten an.'; + 'Zeigt die Dauer des lokalen Ankündigungsintervalls in Minuten an.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Zeigt die Dauer der Werbeunterbrechung in Stunden an.'; + 'Zeigt die Dauer des Flood-Ankündigungsintervalls in Stunden an.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3369,7 +3670,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Zeigt den Faktor für die Übertragungsverzögerung im Notfallmodus an.'; + 'Zeigt den Faktor für die Übertragungsverzögerung im Flood-Modus an.'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3757,7 +4058,7 @@ class AppLocalizationsDe extends AppLocalizations { String get channelPath_unknownPath => 'Unbekannt'; @override - String get channelPath_floodPath => 'Geflutet'; + String get channelPath_floodPath => 'Flood'; @override String get channelPath_directPath => 'Direkt'; @@ -4250,7 +4551,7 @@ class AppLocalizationsDe extends AppLocalizations { String get contacts_zeroHopAdvert => 'Zero-Hop-Ankündigung'; @override - String get contacts_floodAdvert => 'Flut-Ankündigung'; + String get contacts_floodAdvert => 'Flood-Ankündigung'; @override String get contacts_copyAdvertToClipboard => @@ -4264,11 +4565,11 @@ class AppLocalizationsDe extends AppLocalizations { String get contacts_ShareContact => 'Kontakt in die Zwischenablage kopieren'; @override - String get contacts_ShareContactZeroHop => 'Kontakt über Anzeige teilen'; + String get contacts_ShareContactZeroHop => 'Kontakt über Ankündigung teilen'; @override String get contacts_zeroHopContactAdvertSent => - 'Kontakt über Anzeige gesendet'; + 'Kontakt über Ankündigung gesendet'; @override String get contacts_zeroHopContactAdvertFailed => @@ -4276,7 +4577,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get contacts_contactAdvertCopied => - 'Anzeige in die Zwischenablage kopiert.'; + 'Ankündigung in die Zwischenablage kopiert.'; @override String get contacts_contactAdvertCopyFailed => @@ -4386,6 +4687,10 @@ class AppLocalizationsDe extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Zuletzt gesehen'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Kontakteinstellungen'; @@ -4493,6 +4798,12 @@ class AppLocalizationsDe extends AppLocalizations { @override String get radioStats_screenTitle => 'Senderinformationen'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Verbinden Sie ein Gerät, um Radiostatistiken anzuzeigen.'; @@ -4883,6 +5194,25 @@ class AppLocalizationsDe extends AppLocalizations { String get imageSend_cropNote => 'Für 512 × 512 skaliert · Seitenverhältnis nicht erhalten'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Originaltext:\n\nThe quick brown fox jumps over the lazy dog.\n\nÜbersetzung:\n\nDer schnelle braune Fuchs springt über den faulen Hund.'; @@ -4944,7 +5274,7 @@ class AppLocalizationsDe extends AppLocalizations { @override String get imageSend_floodNote => - 'Flutweiterleitung: Jeder Repeater im Bereich leitet jedes Paket weiter, wodurch der Kanal länger als dieser Zeitraum beschäftigt bleibt.'; + 'Flood-Weiterleitung: Jeder Repeater im Bereich leitet jedes Paket weiter, wodurch der Kanal länger als dieser Zeitraum beschäftigt bleibt.'; @override String get imageSend_parityTitle => 'Wiederherstellungspaket'; @@ -5055,6 +5385,29 @@ class AppLocalizationsDe extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Klicken Sie, um fortzufahren'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5075,4 +5428,9 @@ class AppLocalizationsDe extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes Min $seconds Sek'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Über 158 Byte: wird höchstens $count Mal gesendet'; + } } diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index 4bfce69d..78ba8709 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -99,7 +99,8 @@ class AppLocalizationsEn extends AppLocalizations { String get messageStatus_sent => 'Sent'; @override - String get messageStatus_delivered => 'Delivered'; + String get messageStatus_delivered => + 'Delivered. The contact confirmed they got it.'; @override String get messageStatus_pending => 'Sending'; @@ -110,6 +111,39 @@ class AppLocalizationsEn extends AppLocalizations { @override String get messageStatus_repeated => 'Heard repeated'; + @override + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; + + @override + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + @override String get urlImage_enable => 'Enable URL images'; @@ -369,11 +403,33 @@ class AppLocalizationsEn extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Radio settings updated'; + @override + String get settings_radioSettingsNotApplied => + 'The radio did not apply these settings'; + @override String get settings_regionSettings => 'Regions'; @override - String get settings_regionSettingsSubtitle => 'Manage stored regions'; + String get settings_regionSettingsSubtitle => + 'Limit channel floods to an area'; + + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; @override String get settings_regionManagement_screenTitle => 'Region Management'; @@ -482,19 +538,23 @@ class AppLocalizationsEn extends AppLocalizations { String get settings_denyAll => 'Deny all'; @override - String get settings_allowByContact => 'Allow by contact flags'; + String get settings_allowByContact => 'Only contacts I allow'; @override String get settings_allowAll => 'Allow all'; @override - String get settings_telemetryBaseMode => 'Telemetry Base Mode'; + String get settings_telemetryBaseMode => 'Who can request battery and status'; @override - String get settings_telemetryLocationMode => 'Telemetry Location Mode'; + String get settings_telemetryLocationMode => 'Who can request my location'; @override - String get settings_telemetryEnvironmentMode => 'Telemetry Environment Mode'; + String get settings_telemetryEnvironmentMode => 'Who can request sensor data'; + + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; @override String get settings_advertLocation => 'Advert Location'; @@ -508,11 +568,15 @@ class AppLocalizationsEn extends AppLocalizations { @override String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle => - 'When GPS location changes, send a zero-hop advert (requires Advert Location).'; + 'App setting: when your GPS position changes, automatically advertise your new location to nearby nodes only (requires Advert Location).'; @override String get settings_multiAck => 'Multi-ACKs'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Telemetry mode updated'; @@ -629,14 +693,21 @@ class AppLocalizationsEn extends AppLocalizations { @override String get settings_presets => 'Presets'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frequency (MHz)'; @override - String get settings_frequencyHelper => '300.0 - 2500.0'; + String get settings_frequencyHelper => '150.0 - 2500.0'; @override - String get settings_frequencyInvalid => 'Invalid frequency (300-2500 MHz)'; + String get settings_frequencyInvalid => 'Invalid frequency (150-2500 MHz)'; @override String get settings_bandwidth => 'Bandwidth'; @@ -651,21 +722,28 @@ class AppLocalizationsEn extends AppLocalizations { String get settings_txPower => 'TX Power (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override - String get settings_txPowerInvalid => 'Invalid TX power (0-22 dBm)'; + String get settings_txPowerInvalid => 'Invalid TX power'; @override String get settings_clientRepeat => 'Off-Grid Repeat'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Allow this device to repeat mesh packets for others'; @override String get settings_clientRepeatFreqWarning => - 'Off-grid repeat requires 433, 869, or 918 MHz frequency'; + 'Off-grid repeat requires 433, 869.495, or 918 MHz frequency'; @override String settings_error(String message) { @@ -742,23 +820,57 @@ class AppLocalizationsEn extends AppLocalizations { String get appSettings_languageUk => 'Українська'; @override - String get repeater_pathHashModeOption0 => '0 - 1 byte'; + String get repeater_pathHashModeOption0 => '1 byte'; @override - String get repeater_pathHashModeOption1 => '1 - 2 bytes'; + String get repeater_pathHashModeOption1 => '2 bytes'; @override - String get repeater_pathHashModeOption2 => '2 - 3 bytes'; + String get repeater_pathHashModeOption2 => '3 bytes'; @override - String get repeater_pathHashModeOption3 => '3 - 4 bytes'; + String get repeater_pathHashModeOption3 => '4 bytes'; @override - String get appSettings_enableMessageTracing => 'Enable Message Tracing'; + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + + @override + String get appSettings_enableMessageTracing => + 'Show full repeater path in messages'; @override String get appSettings_enableMessageTracingSubtitle => - 'Show detailed routing and timing metadata for messages'; + 'Also show repeat counts and trip times. Long-press a message and choose Path for full details.'; @override String get appSettings_notifications => 'Notifications'; @@ -787,6 +899,13 @@ class AppLocalizationsEn extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Show notification when receiving new messages'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Channel Message Notifications'; @@ -1071,6 +1190,29 @@ class AppLocalizationsEn extends AppLocalizations { return 'Remove $contactName from contacts?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Manage Repeater'; @@ -1218,6 +1360,18 @@ class AppLocalizationsEn extends AppLocalizations { @override String get channels_private => 'Private'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Edit channel'; @@ -1347,6 +1501,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get channels_publicChannelAdded => 'Public channel added'; + @override + String get channels_noFreeSlots => 'All channel slots are in use'; + @override String get channels_sortBy => 'Sort by'; @@ -1413,6 +1570,19 @@ class AppLocalizationsEn extends AppLocalizations { @override String get channels_clearRegion => 'Clear region'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'No messages yet'; @@ -1472,7 +1642,13 @@ class AppLocalizationsEn extends AppLocalizations { String get chat_sendGif => 'Send GIF'; @override - String get chat_sendImageLora => 'Send image via meshcore'; + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + + @override + String get chat_sendImageLora => 'Send low-res image over radio'; @override String get chat_imagePickFailed => 'Couldn\'t open that image'; @@ -1777,6 +1953,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get chat_path => 'Path'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Public Key'; @@ -1814,6 +1993,12 @@ class AppLocalizationsEn extends AppLocalizations { @override String get chat_newMessages => 'New messages'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Open Link?'; @@ -1859,6 +2044,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get map_centerOnNode => 'Center on node'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Details'; @@ -1877,6 +2065,10 @@ class AppLocalizationsEn extends AppLocalizations { @override String get map_noNodesWithLocation => 'No nodes with location data'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Nodes need to share their GPS coordinates\nto appear on the map'; @@ -2018,6 +2210,16 @@ class AppLocalizationsEn extends AppLocalizations { @override String get map_showGuessedLocations => 'Show guessed node locations'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Show Discovery Contacts'; @@ -2039,6 +2241,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get map_manageRepeater => 'Manage Repeater'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Tap on nodes to add them to the path.'; @@ -2239,6 +2444,12 @@ class AppLocalizationsEn extends AppLocalizations { @override String get login_enterPassword => 'Enter password'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Save password'; @@ -2248,12 +2459,15 @@ class AppLocalizationsEn extends AppLocalizations { @override String get login_repeaterDescription => - 'Enter the repeater password for guest or admin access.'; + 'The admin password unlocks settings and the CLI. A guest password (or blank) shows status only.'; @override String get login_roomDescription => 'Enter the room password for guest or admin access.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Routing'; @@ -2292,6 +2506,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get common_clear => 'Clear'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Current path'; @@ -2316,6 +2533,12 @@ class AppLocalizationsEn extends AppLocalizations { @override String get repeater_guestTools => 'Guest Tools'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Status'; @@ -2694,11 +2917,11 @@ class AppLocalizationsEn extends AppLocalizations { 'Tuning knobs for experienced operators'; @override - String get repeater_pathHashMode => 'Path hash mode'; + String get repeater_pathHashMode => 'Node ID size in paths'; @override String get repeater_pathHashModeHelper => - 'Bytes used to encode this repeater\'s ID in flood path/loop-detect tags. 0=1 byte (256 IDs, up to 64 hops), 1=2 bytes (65K IDs, up to 32 hops), 2=3 bytes (16M IDs, up to 21 hops). Firmware before v1.14 always used 1-byte paths; v1.14 and newer can be configured for 2- or 3-byte paths.'; + 'Size of this repeater\'s ID in the paths of adverts it sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Does not affect forwarding; v1.14+ repeaters forward all sizes, but older firmware drops packets with 2- or 3-byte IDs.'; @override String get repeater_keySettings => 'Change Identity Keys'; @@ -2829,6 +3052,17 @@ class AppLocalizationsEn extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Refresh Privacy Mode'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label refreshed'; @@ -3120,6 +3354,74 @@ class AppLocalizationsEn extends AppLocalizations { String get repeater_commandsListNote => 'NOTE: for the various \"set ...\" commands, there is also a \"get ...\" command.'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Invalid frequency (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 to 30 dBm'; + + @override + String get repeater_recvErrors => 'Receive Errors'; + + @override + String get room_postsStored => 'Posts'; + + @override + String get room_postsPushed => 'Posts Pushed'; + + @override + String get repeater_cliRegionLoadActive => + 'Region load mode: send one region name per line, indented with spaces under its parent (add F after the name to allow flood). Lines get no reply. Send an empty line to finish, then \"region save\" to keep the result.'; + + @override + String get repeater_cliRegionLoadHint => 'Region line, or empty to finish'; + + @override + String get repeater_cliRegionLoadEnd => '(end of region load)'; + + @override + String get repeater_cliHelpRegionDef => + 'Defines a chain of regions in one command: each name is added under the previous one; \"name,parent\" adds the name, then continues under the given parent. Replies with the region list.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Sets the maximum hop count for forwarding flood packets that have no region scope (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Sets the maximum hop count for forwarding flood adverts (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Shows the maximum hop count for unscoped flood packets.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Shows the maximum hop count for flood adverts.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Toggles the LoRa front-end module\'s RX gain (LNA). Boards without one reply \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Toggles the LoRa front-end module\'s TX gain (PA). Boards without one reply \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Shows whether the LoRa front-end module\'s RX gain is on.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Shows whether the LoRa front-end module\'s TX gain is on.'; + + @override + String get repeater_bridgeNote => + 'Only available on firmware built with a bridge (RS232 or ESP-NOW).'; + @override String get repeater_general => 'General'; @@ -3217,7 +3519,7 @@ class AppLocalizationsEn extends AppLocalizations { @override String get repeater_cliHelpSetPathHashMode => - 'Sets the path-hash mode. 0 = legacy, 1 = standard, 2 = strict. Affects how routing paths are matched.'; + 'Sets the node ID size used in this repeater\'s adverts: 0 = 1 byte (up to 64 hops), 1 = 2 bytes (up to 32 hops), 2 = 3 bytes (up to 21 hops). 3 is reserved. Does not affect which sizes are forwarded. Requires firmware v1.14+.'; @override String get repeater_cliHelpSetLoopDetect => @@ -3326,7 +3628,7 @@ class AppLocalizationsEn extends AppLocalizations { @override String get repeater_cliHelpGetPathHashMode => - 'Shows the path-hash mode (0/1/2).'; + 'Shows the node ID size mode used in adverts (0 = 1 byte, 1 = 2 bytes, 2 = 3 bytes).'; @override String get repeater_cliHelpGetLoopDetect => @@ -4310,6 +4612,10 @@ class AppLocalizationsEn extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Last seen'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Contacts settings'; @@ -4409,6 +4715,12 @@ class AppLocalizationsEn extends AppLocalizations { @override String get radioStats_screenTitle => 'Radio stats'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Connect to a device to view radio statistics.'; @@ -4793,6 +5105,25 @@ class AppLocalizationsEn extends AppLocalizations { String get imageSend_cropNote => 'Resized to 512 × 512 · aspect ratio not preserved'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Original'; @@ -4962,6 +5293,29 @@ class AppLocalizationsEn extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Tap to process'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -4982,4 +5336,9 @@ class AppLocalizationsEn extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes m $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Over 158 bytes: sent at most $count times'; + } } diff --git a/lib/l10n/app_localizations_es.dart b/lib/l10n/app_localizations_es.dart index 03adbcb6..5d6fe248 100644 --- a/lib/l10n/app_localizations_es.dart +++ b/lib/l10n/app_localizations_es.dart @@ -111,10 +111,44 @@ class AppLocalizationsEs extends AppLocalizations { String get messageStatus_repeated => 'Escuchado repetidamente'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Habilitar imágenes de URL'; + + @override + String get urlImage_possible => + 'Posible imagen de URL; actívala en Configuración.'; @override String get common_reboot => 'Reiniciar'; @@ -373,6 +407,10 @@ class AppLocalizationsEs extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Ajustes de radio actualizados'; + @override + String get settings_radioSettingsNotApplied => + 'La radio no aplicó esta configuración'; + @override String get settings_regionSettings => 'Regiones'; @@ -380,6 +418,23 @@ class AppLocalizationsEs extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Gestionar regiones almacenadas'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Gestión de Regiones'; @@ -504,6 +559,10 @@ class AppLocalizationsEs extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Modo de entorno de telemetría'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Ubicación de anuncio'; @@ -521,6 +580,10 @@ class AppLocalizationsEs extends AppLocalizations { @override String get settings_multiAck => 'Múltiples respuestas de confirmación'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Modo de telemetría actualizado'; @@ -624,7 +687,7 @@ class AppLocalizationsEs extends AppLocalizations { String get settings_infoPublicKey => 'Clave pública'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Clave pública copiada'; @override String get settings_infoContactsCount => 'Número de contactos'; @@ -641,6 +704,13 @@ class AppLocalizationsEs extends AppLocalizations { @override String get settings_presets => 'Preajustes'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frecuencia (MHz)'; @@ -663,7 +733,9 @@ class AppLocalizationsEs extends AppLocalizations { String get settings_txPower => 'Potencia TX (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Potencia de TX inválida (0-22 dBm)'; @@ -671,6 +743,11 @@ class AppLocalizationsEs extends AppLocalizations { @override String get settings_clientRepeat => 'Repetir sin conexión'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Permita que este dispositivo repita los paquetes de red para otros usuarios.'; @@ -765,6 +842,39 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bytes'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Habilitar seguimiento de mensajes'; @@ -800,6 +910,13 @@ class AppLocalizationsEs extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Mostrar notificación al recibir nuevos mensajes'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Notificaciones de mensajes del canal'; @@ -1088,6 +1205,29 @@ class AppLocalizationsEs extends AppLocalizations { return '¿Eliminar $contactName de los contactos?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Gestionar repetidor'; @@ -1239,6 +1379,18 @@ class AppLocalizationsEs extends AppLocalizations { @override String get channels_private => 'Privado'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Editar canal'; @@ -1372,6 +1524,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get channels_publicChannelAdded => 'Canal público añadido'; + @override + String get channels_noFreeSlots => 'Todos los espacios de canal están en uso'; + @override String get channels_sortBy => 'Ordenar por'; @@ -1441,6 +1596,19 @@ class AppLocalizationsEs extends AppLocalizations { @override String get channels_clearRegion => 'Zona despejada'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Aún no hay mensajes'; @@ -1499,6 +1667,12 @@ class AppLocalizationsEs extends AppLocalizations { @override String get chat_sendGif => 'Enviar GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Enviar imagen mediante MeshCore'; @@ -1518,7 +1692,7 @@ class AppLocalizationsEs extends AppLocalizations { String get chat_me => 'Yo'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Reacciones con Emoji'; @override String get emojiCategorySmileys => 'Emoticones'; @@ -1807,6 +1981,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get chat_path => 'Ruta'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Clave pública'; @@ -1844,6 +2021,12 @@ class AppLocalizationsEs extends AppLocalizations { @override String get chat_newMessages => 'Nuevos mensajes'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => '¿Abrir enlace?'; @@ -1889,6 +2072,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get map_centerOnNode => 'Enfocar en el nodo'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Detalles'; @@ -1907,6 +2093,10 @@ class AppLocalizationsEs extends AppLocalizations { @override String get map_noNodesWithLocation => 'No hay nodos con datos de ubicación'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Los nodos necesitan compartir sus coordenadas GPS\npara aparecer en el mapa'; @@ -2049,6 +2239,16 @@ class AppLocalizationsEs extends AppLocalizations { String get map_showGuessedLocations => 'Mostrar las ubicaciones estimadas de los nodos.'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Mostrar contactos de descubrimiento'; @@ -2070,6 +2270,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get map_manageRepeater => 'Gestionar repetidor'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Toque los nodos para añadirlos a la ruta.'; @@ -2273,6 +2476,12 @@ class AppLocalizationsEs extends AppLocalizations { @override String get login_enterPassword => 'Introduce la contraseña'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Guardar contraseña'; @@ -2288,6 +2497,9 @@ class AppLocalizationsEs extends AppLocalizations { String get login_roomDescription => 'Introduce la contraseña de la sala para acceder como invitado o administrador.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Enrutamiento'; @@ -2326,6 +2538,9 @@ class AppLocalizationsEs extends AppLocalizations { @override String get common_clear => 'Borrar'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Ruta actual'; @@ -2351,6 +2566,12 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_guestTools => 'Herramientas para invitados'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Estado'; @@ -2689,7 +2910,7 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_loopDetectHelper => - 'Crea paquetes de \"flujo\" que parezcan bucles de enrutamiento.'; + 'Descarta los paquetes de inundación que parezcan bucles de enrutamiento'; @override String get repeater_loopDetectOff => 'Desactivado'; @@ -2877,6 +3098,17 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Actualizar Modo Privacidad'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label actualizado'; @@ -2954,7 +3186,7 @@ class AppLocalizationsEs extends AppLocalizations { String get repeater_cliQuickDiscovery => 'Descubrir Vecinos'; @override - String get repeater_cliHelpAdvert => 'Envía un paquete de publicidad'; + String get repeater_cliHelpAdvert => 'Envía un paquete de anuncio'; @override String get repeater_cliHelpReboot => @@ -3024,11 +3256,11 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_cliHelpSetLat => - 'Establece la latitud del mapa de publicidad. (grados decimales)'; + 'Establece la latitud del mapa del anuncio. (grados decimales)'; @override String get repeater_cliHelpSetLon => - 'Establece la longitud del mapa de la publicidad. (grados decimales)'; + 'Establece la longitud del mapa del anuncio. (grados decimales)'; @override String get repeater_cliHelpSetRadio => @@ -3124,7 +3356,7 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_cliHelpRegionAllowf => - 'Establece el permiso de \'F\'lujo para la región dada. (\'\' para el ámbito global/legado)'; + 'Establece el permiso de \'F\'lood para la región dada. (\'\' para el ámbito global/legado)'; @override String get repeater_cliHelpRegionDenyf => @@ -3158,11 +3390,11 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_cliHelpGpsAdvert => - 'Da la configuración de la publicidad del nodo de ubicación:\n- ninguno: no incluir la ubicación en las publicidad\n- compartir: compartir la ubicación GPS (del SensorManager)\n- preferencias: publicidad la ubicación almacenada en preferencias'; + 'Da la configuración de anuncio de ubicación del nodo:\n- ninguno: no incluir la ubicación en los anuncios\n- compartir: compartir la ubicación GPS (del SensorManager)\n- preferencias: anunciar la ubicación almacenada en preferencias'; @override String get repeater_cliHelpGpsAdvertSet => - 'Configura la configuración de la publicidad de la ubicación.'; + 'Configura la configuración de anuncio de la ubicación.'; @override String get repeater_commandsListTitle => 'Lista de comandos'; @@ -3171,6 +3403,75 @@ class AppLocalizationsEs extends AppLocalizations { String get repeater_commandsListNote => 'NOTA: para los diversos comandos \"set...\", también existe un comando \"get...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Frecuencia inválida (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 a 30 dBm'; + + @override + String get repeater_recvErrors => 'Errores de Recepción'; + + @override + String get room_postsStored => 'Publicaciones'; + + @override + String get room_postsPushed => 'Publicaciones Enviadas'; + + @override + String get repeater_cliRegionLoadActive => + 'Modo de carga de regiones: envíe un nombre de región por línea, sangrado con espacios bajo su región padre (añada F después del nombre para permitir inundación). Las líneas no reciben respuesta. Envíe una línea vacía para terminar y luego \"region save\" para guardar el resultado.'; + + @override + String get repeater_cliRegionLoadHint => + 'Línea de región, o vacía para terminar'; + + @override + String get repeater_cliRegionLoadEnd => '(fin de la carga de regiones)'; + + @override + String get repeater_cliHelpRegionDef => + 'Define una cadena de regiones en un solo comando: cada nombre se añade bajo el anterior; \"name,parent\" añade el nombre y continúa bajo el padre indicado. Responde con la lista de regiones.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Establece el número máximo de saltos para reenviar paquetes de inundación que no tienen ámbito regional (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Establece el número máximo de saltos para reenviar anuncios por inundación (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Muestra el número máximo de saltos para los paquetes de inundación sin ámbito.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Muestra el número máximo de saltos para los anuncios por inundación.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Activa o desactiva la ganancia RX (LNA) del módulo frontal de LoRa. Las placas que no lo tengan responden \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Activa o desactiva la ganancia TX (PA) del módulo frontal de LoRa. Las placas que no lo tengan responden \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Muestra si la ganancia RX del módulo frontal de LoRa está activada.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Muestra si la ganancia TX del módulo frontal de LoRa está activada.'; + + @override + String get repeater_bridgeNote => + 'Solo disponible en firmware compilado con un puente (RS232 o ESP-NOW).'; + @override String get repeater_general => 'General'; @@ -3342,11 +3643,11 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Muestra el intervalo de publicidad local en minutos.'; + 'Muestra el intervalo de anuncio local en minutos.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Muestra el intervalo de publicidad para la emisión de la señal de inundación, expresado en horas.'; + 'Muestra el intervalo de anuncio por inundación, en horas.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3459,11 +3760,11 @@ class AppLocalizationsEs extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Enumera las regiones que permiten el paso de vehículos debido a inundaciones.'; + 'Enumera las regiones que permiten el tráfico por inundación.'; @override String get repeater_cliHelpRegionListDenied => - 'Enumera las regiones que prohíben el tráfico debido a las inundaciones.'; + 'Enumera las regiones que prohíben el tráfico por inundación.'; @override String get repeater_cliHelpStatsPackets => @@ -4378,6 +4679,10 @@ class AppLocalizationsEs extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Visto por última vez'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Configuración de contactos'; @@ -4486,6 +4791,12 @@ class AppLocalizationsEs extends AppLocalizations { @override String get radioStats_screenTitle => 'Estadísticas de radio'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Conéctese a un dispositivo para visualizar estadísticas de radio.'; @@ -4875,6 +5186,25 @@ class AppLocalizationsEs extends AppLocalizations { String get imageSend_cropNote => 'Redimensionado a 512 × 512 · la relación de aspecto no se conservó'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Texto original'; @@ -5046,6 +5376,29 @@ class AppLocalizationsEs extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Toque para procesar'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5066,4 +5419,9 @@ class AppLocalizationsEs extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes min $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Más de 158 bytes: se envía como máximo $count veces'; + } } diff --git a/lib/l10n/app_localizations_fr.dart b/lib/l10n/app_localizations_fr.dart index 161b2a60..a1598882 100644 --- a/lib/l10n/app_localizations_fr.dart +++ b/lib/l10n/app_localizations_fr.dart @@ -111,10 +111,44 @@ class AppLocalizationsFr extends AppLocalizations { String get messageStatus_repeated => 'Reçu plusieurs fois'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Activer les images URL'; + + @override + String get urlImage_possible => + 'Image URL possible ; activez-la dans les Paramètres.'; @override String get common_reboot => 'Redémarrer'; @@ -375,12 +409,33 @@ class AppLocalizationsFr extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Paramètres radio mis à jour'; + @override + String get settings_radioSettingsNotApplied => + 'La radio n\'a pas appliqué ces paramètres'; + @override String get settings_regionSettings => 'Régions'; @override String get settings_regionSettingsSubtitle => 'Gérer les régions stockées'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Gestion de région'; @@ -508,6 +563,10 @@ class AppLocalizationsFr extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Mode d\'environnement de la télémétrie'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Localisation de l\'annonce'; @@ -526,6 +585,10 @@ class AppLocalizationsFr extends AppLocalizations { @override String get settings_multiAck => 'Plusieurs accusés de réception'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Le mode télémétrie a été mis à jour'; @@ -629,7 +692,7 @@ class AppLocalizationsFr extends AppLocalizations { String get settings_infoPublicKey => 'Clé publique'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Clé publique copiée'; @override String get settings_infoContactsCount => 'Nombre de contacts'; @@ -646,6 +709,13 @@ class AppLocalizationsFr extends AppLocalizations { @override String get settings_presets => 'Préréglages'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Fréquence (MHz)'; @@ -668,7 +738,9 @@ class AppLocalizationsFr extends AppLocalizations { String get settings_txPower => 'Puissance TX (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Puissance TX invalide (0-22 dBm)'; @@ -676,6 +748,11 @@ class AppLocalizationsFr extends AppLocalizations { @override String get settings_clientRepeat => 'Répétition hors réseau'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Permettre à cet appareil de relayer les paquets du maillage pour les autres.'; @@ -770,6 +847,39 @@ class AppLocalizationsFr extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 à 4 octets'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Activer le traçage des messages'; @@ -805,6 +915,13 @@ class AppLocalizationsFr extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Afficher une notification lors de la réception de nouveaux messages'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Notifications des messages de canal'; @@ -1093,6 +1210,29 @@ class AppLocalizationsFr extends AppLocalizations { return 'Supprimer $contactName des contacts ?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Gérer le répéteur'; @@ -1243,6 +1383,18 @@ class AppLocalizationsFr extends AppLocalizations { @override String get channels_private => 'Privé'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Modifier le canal'; @@ -1375,6 +1527,10 @@ class AppLocalizationsFr extends AppLocalizations { @override String get channels_publicChannelAdded => 'Canal public ajouté'; + @override + String get channels_noFreeSlots => + 'Tous les emplacements de canaux sont utilisés'; + @override String get channels_sortBy => 'Trier par'; @@ -1444,6 +1600,19 @@ class AppLocalizationsFr extends AppLocalizations { @override String get channels_clearRegion => 'Zone dégagée'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Aucun message pour le moment'; @@ -1502,6 +1671,12 @@ class AppLocalizationsFr extends AppLocalizations { @override String get chat_sendGif => 'Envoyer un GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Envoyer une image via MeshCore'; @@ -1521,7 +1696,7 @@ class AppLocalizationsFr extends AppLocalizations { String get chat_me => 'Moi'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Réactions emoji'; @override String get emojiCategorySmileys => 'Émojis'; @@ -1811,6 +1986,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get chat_path => 'Chemin'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Clé publique'; @@ -1849,6 +2027,12 @@ class AppLocalizationsFr extends AppLocalizations { @override String get chat_newMessages => 'Nouveaux messages'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Ouvrir le lien ?'; @@ -1894,6 +2078,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get map_centerOnNode => 'Centrer sur le nœud'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Détails'; @@ -1913,6 +2100,10 @@ class AppLocalizationsFr extends AppLocalizations { String get map_noNodesWithLocation => 'Aucun nœud avec des données de localisation'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Les nœuds doivent partager leurs coordonnées GPS\npour apparaître sur la carte.'; @@ -2055,6 +2246,16 @@ class AppLocalizationsFr extends AppLocalizations { String get map_showGuessedLocations => 'Afficher les emplacements estimés des nœuds'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Afficher les contacts de découverte'; @@ -2076,6 +2277,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get map_manageRepeater => 'Gérer le répéteur'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Appuyez sur les nœuds pour les ajouter au chemin.'; @@ -2281,6 +2485,12 @@ class AppLocalizationsFr extends AppLocalizations { @override String get login_enterPassword => 'Entrez votre mot de passe'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Sauvegarder le mot de passe'; @@ -2296,6 +2506,9 @@ class AppLocalizationsFr extends AppLocalizations { String get login_roomDescription => 'Entrez le mot de passe de la pièce pour accéder aux paramètres et à l\'état.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Redirection'; @@ -2334,6 +2547,9 @@ class AppLocalizationsFr extends AppLocalizations { @override String get common_clear => 'Effacer'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Chemin actuel'; @@ -2358,6 +2574,12 @@ class AppLocalizationsFr extends AppLocalizations { @override String get repeater_guestTools => 'Outils pour les invités'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'État'; @@ -2892,6 +3114,17 @@ class AppLocalizationsFr extends AppLocalizations { String get repeater_refreshPrivacyMode => 'Rafraîchir le Mode Confidentialité'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label rafraîchi'; @@ -3009,7 +3242,7 @@ class AppLocalizationsFr extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - 'Définit le nombre maximal de sauts pour les paquets de balayage entrants (si >= max, le paquet n\'est pas acheminé).'; + 'Définit le nombre maximal de sauts pour les paquets flood entrants (si >= max, le paquet n\'est pas acheminé).'; @override String get repeater_cliHelpSetIntThresh => @@ -3139,7 +3372,7 @@ class AppLocalizationsFr extends AppLocalizations { @override String get repeater_cliHelpRegionAllowf => - 'Définit les autorisations de \"Flot\" pour la région donnée. (\'\' pour la portée globale/héritée)'; + 'Définit les autorisations de \'F\'lood pour la région donnée. (\'\' pour la portée globale/héritée)'; @override String get repeater_cliHelpRegionDenyf => @@ -3186,6 +3419,75 @@ class AppLocalizationsFr extends AppLocalizations { String get repeater_commandsListNote => 'NOTE : pour les diverses commandes « set »..., il existe également une commande « get »...'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Fréquence invalide (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 à 30 dBm'; + + @override + String get repeater_recvErrors => 'Erreurs de réception'; + + @override + String get room_postsStored => 'Publications'; + + @override + String get room_postsPushed => 'Publications envoyées'; + + @override + String get repeater_cliRegionLoadActive => + 'Mode de chargement des régions : envoyez un nom de région par ligne, indenté avec des espaces sous sa région parente (ajoutez F après le nom pour autoriser le flood). Les lignes ne reçoivent pas de réponse. Envoyez une ligne vide pour terminer, puis \"region save\" pour conserver le résultat.'; + + @override + String get repeater_cliRegionLoadHint => + 'Ligne de région, ou vide pour terminer'; + + @override + String get repeater_cliRegionLoadEnd => '(fin du chargement des régions)'; + + @override + String get repeater_cliHelpRegionDef => + 'Définit une chaîne de régions en une seule commande : chaque nom est ajouté sous le précédent ; \"name,parent\" ajoute le nom, puis continue sous le parent indiqué. Répond avec la liste des régions.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Définit le nombre maximal de sauts pour la retransmission des paquets flood sans portée régionale (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Définit le nombre maximal de sauts pour la retransmission des annonces flood (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Affiche le nombre maximal de sauts pour les paquets flood sans portée régionale.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Affiche le nombre maximal de sauts pour les annonces flood.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Active ou désactive le gain RX (LNA) du module frontal LoRa. Les cartes qui n\'en ont pas répondent \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Active ou désactive le gain TX (PA) du module frontal LoRa. Les cartes qui n\'en ont pas répondent \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Indique si le gain RX du module frontal LoRa est activé.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Indique si le gain TX du module frontal LoRa est activé.'; + + @override + String get repeater_bridgeNote => + 'Disponible uniquement sur un firmware compilé avec un pont (RS232 ou ESP-NOW).'; + @override String get repeater_general => 'Général'; @@ -3235,7 +3537,7 @@ class AppLocalizationsFr extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Envoie une publicité sans intermédiaire (uniquement aux voisins immédiats).'; + 'Envoie une annonce zéro saut (uniquement aux voisins immédiats).'; @override String get repeater_cliHelpStartOta => @@ -3357,11 +3659,11 @@ class AppLocalizationsFr extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Indique l\'intervalle publicitaire local en minutes.'; + 'Indique l\'intervalle d\'annonce locale en minutes.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Indique l\'intervalle publicitaire pour la diffusion de l\'annonce en heures.'; + 'Indique l\'intervalle des annonces flood, en heures.'; @override String get repeater_cliHelpGetGuestPassword => @@ -4399,6 +4701,10 @@ class AppLocalizationsFr extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Vu pour la dernière fois'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Paramètres des contacts'; @@ -4507,6 +4813,12 @@ class AppLocalizationsFr extends AppLocalizations { @override String get radioStats_screenTitle => 'Statistiques de radio'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Connectez-vous à un appareil pour visualiser les statistiques de la radio.'; @@ -4897,6 +5209,25 @@ class AppLocalizationsFr extends AppLocalizations { String get imageSend_cropNote => 'Redimensionné à 512 × 512 · le rapport d’aspect n’a pas été conservé'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Texte original\n\nVeuillez traduire le texte suivant en français :'; @@ -4958,7 +5289,7 @@ class AppLocalizationsFr extends AppLocalizations { @override String get imageSend_floodNote => - 'Routage des inondations : chaque répéteur dans la zone retransmet chaque paquet, de sorte que le canal reste occupé plus longtemps que cela.'; + 'Routage flood : chaque répéteur dans la zone retransmet chaque paquet, de sorte que le canal reste occupé plus longtemps que cela.'; @override String get imageSend_parityTitle => 'Paquet de récupération'; @@ -5068,6 +5399,29 @@ class AppLocalizationsFr extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Tapez pour traiter'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5088,4 +5442,9 @@ class AppLocalizationsFr extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes minutes $seconds secondes'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Plus de 158 octets : envoi au maximum $count fois'; + } } diff --git a/lib/l10n/app_localizations_hu.dart b/lib/l10n/app_localizations_hu.dart index 4a967ec4..3b8d1490 100644 --- a/lib/l10n/app_localizations_hu.dart +++ b/lib/l10n/app_localizations_hu.dart @@ -111,10 +111,44 @@ class AppLocalizationsHu extends AppLocalizations { String get messageStatus_repeated => '– ismételte Heard'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'URL-képek engedélyezése'; + + @override + String get urlImage_possible => + 'Lehetséges URL-kép; engedélyezze a Beállításokban.'; @override String get common_reboot => 'Indítsa újra'; @@ -371,6 +405,10 @@ class AppLocalizationsHu extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'A rádió beállításai frissítve'; + @override + String get settings_radioSettingsNotApplied => + 'A rádió nem alkalmazta ezeket a beállításokat'; + @override String get settings_regionSettings => 'Tájak'; @@ -378,6 +416,23 @@ class AppLocalizationsHu extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Kincstani megjelenítette gyakorlatos területeket'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Regionális Kezelés'; @@ -502,6 +557,10 @@ class AppLocalizationsHu extends AppLocalizations { @override String get settings_telemetryEnvironmentMode => 'Telemetriás környezeti mód'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Hirdetés helye'; @@ -520,6 +579,10 @@ class AppLocalizationsHu extends AppLocalizations { @override String get settings_multiAck => 'Multi-ACK'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Telemetriai mód frissítve'; @@ -541,7 +604,7 @@ class AppLocalizationsHu extends AppLocalizations { 'Jelenlét a közvetítésben most'; @override - String get settings_advertisementSent => 'Reklám elküldve'; + String get settings_advertisementSent => 'Hirdetés elküldve'; @override String get settings_syncTime => 'Szinkronizálási idő'; @@ -621,7 +684,7 @@ class AppLocalizationsHu extends AppLocalizations { String get settings_infoPublicKey => 'Nyilvános kulcs'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Nyilvános kulcs másolva'; @override String get settings_infoContactsCount => 'Névjegyek száma'; @@ -638,6 +701,13 @@ class AppLocalizationsHu extends AppLocalizations { @override String get settings_presets => 'Előbeállítások'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frekvencia (MHz)'; @@ -661,7 +731,9 @@ class AppLocalizationsHu extends AppLocalizations { String get settings_txPower => 'TX teljesítmény (dBm)'; @override - String get settings_txPowerHelper => '0-22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => @@ -670,6 +742,11 @@ class AppLocalizationsHu extends AppLocalizations { @override String get settings_clientRepeat => 'Hálózaton kívüli ismétlés'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Engedélyezze az eszköznek, hogy megismételje a mesh-csomagokat mások számára'; @@ -764,6 +841,39 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bajt'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Üzenetkövetés engedélyezése'; @@ -798,6 +908,13 @@ class AppLocalizationsHu extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Értesítés megjelenítése új üzenetek fogadásakor'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Csatorna üzenetek értesítései'; @@ -807,7 +924,7 @@ class AppLocalizationsHu extends AppLocalizations { 'Értesítés megjelenítése csatornaüzenetek fogadásakor'; @override - String get appSettings_advertisementNotifications => 'Reklám Értesítések'; + String get appSettings_advertisementNotifications => 'Hirdetési értesítések'; @override String get appSettings_advertisementNotificationsSubtitle => @@ -1084,6 +1201,29 @@ class AppLocalizationsHu extends AppLocalizations { return 'Eltávolítja a $contactName alkalmazást a névjegyek közül?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Repeater kezelése'; @@ -1235,6 +1375,18 @@ class AppLocalizationsHu extends AppLocalizations { @override String get channels_private => 'Magán'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Csatorna szerkesztése'; @@ -1365,6 +1517,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get channels_publicChannelAdded => 'Nyilvános csatorna hozzáadva'; + @override + String get channels_noFreeSlots => 'Minden csatornahely foglalt'; + @override String get channels_sortBy => 'Rendezés'; @@ -1436,6 +1591,19 @@ class AppLocalizationsHu extends AppLocalizations { @override String get channels_clearRegion => 'Kéres kör'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Még nincsenek üzenetek'; @@ -1494,6 +1662,12 @@ class AppLocalizationsHu extends AppLocalizations { @override String get chat_sendGif => 'GIF küldése'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Kép küldése MeshCore-on keresztül'; @@ -1513,7 +1687,7 @@ class AppLocalizationsHu extends AppLocalizations { String get chat_me => 'Nekem'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Emoji reakciók'; @override String get emojiCategorySmileys => 'Hangulatjelek'; @@ -1661,7 +1835,7 @@ class AppLocalizationsHu extends AppLocalizations { String get routing_modeAuto => 'Auto'; @override - String get routing_modeFlood => 'Árvíz'; + String get routing_modeFlood => 'Elárasztás'; @override String get routing_modeManual => 'Kézikönyv'; @@ -1720,7 +1894,7 @@ class AppLocalizationsHu extends AppLocalizations { String get routing_qualityWorked => 'Szállított'; @override - String get routing_qualityFlood => 'Árvízen keresztül hallatszott'; + String get routing_qualityFlood => 'Elárasztáson keresztül hallatszott'; @override String get routing_qualityUntested => 'Nem tesztelt'; @@ -1739,7 +1913,7 @@ class AppLocalizationsHu extends AppLocalizations { } @override - String get routing_floodDelivery => 'Árvízi szállítás'; + String get routing_floodDelivery => 'Elárasztási szállítás'; @override String get pathEditor_title => 'Építsd meg az útvonalat'; @@ -1754,7 +1928,7 @@ class AppLocalizationsHu extends AppLocalizations { 'Még nincs ugrás. Koppintson az alábbi ismétlőkre, ha sorrendben szeretné felvenni őket, vagy mentse ugrás nélkül a közvetlen küldéshez.'; @override - String get pathEditor_addHops => 'Sorrendben adjuk hozzá a komlót'; + String get pathEditor_addHops => 'Sorrendben adjuk hozzá az ugrásokat'; @override String get pathEditor_searchRepeaters => 'Ismétlő keresése'; @@ -1802,6 +1976,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get chat_path => 'Útvonal'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Nyilvános kulcs'; @@ -1809,7 +1986,7 @@ class AppLocalizationsHu extends AppLocalizations { String get chat_compressOutgoingMessages => 'A kimenő üzenetek tömörítése'; @override - String get chat_floodForced => 'Árvíz (kényszerített)'; + String get chat_floodForced => 'Elárasztás (kényszerített)'; @override String get chat_directForced => 'Közvetlen (kényszerített)'; @@ -1820,7 +1997,7 @@ class AppLocalizationsHu extends AppLocalizations { } @override - String get chat_floodAuto => 'Árvíz (automatikus)'; + String get chat_floodAuto => 'Elárasztás (automatikus)'; @override String get chat_direct => 'Közvetlen'; @@ -1839,6 +2016,12 @@ class AppLocalizationsHu extends AppLocalizations { @override String get chat_newMessages => 'Új üzenetek'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Link megnyitása?'; @@ -1885,6 +2068,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get map_centerOnNode => 'Középre a csomóponton'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Részletek'; @@ -1904,6 +2090,10 @@ class AppLocalizationsHu extends AppLocalizations { String get map_noNodesWithLocation => 'Nincsenek helyadatokkal rendelkező csomópontok'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'A csomópontoknak meg kell osztaniuk GPS-koordinátáikat\nhogy megjelenjen a térképen'; @@ -2046,6 +2236,16 @@ class AppLocalizationsHu extends AppLocalizations { String get map_showGuessedLocations => 'Talált csomópont-helyek megjelenítése'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Felfedezési névjegyek megjelenítése'; @@ -2067,6 +2267,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get map_manageRepeater => 'Repeater kezelése'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Érintse meg a csomópontokat, hogy hozzáadja őket az útvonalhoz.'; @@ -2271,6 +2474,12 @@ class AppLocalizationsHu extends AppLocalizations { @override String get login_enterPassword => 'Adja meg a jelszót'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Jelszó mentése'; @@ -2286,6 +2495,9 @@ class AppLocalizationsHu extends AppLocalizations { String get login_roomDescription => 'Adja meg a szoba jelszavát a vendég vagy adminisztrátori hozzáféréshez.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Útválasztás'; @@ -2325,6 +2537,9 @@ class AppLocalizationsHu extends AppLocalizations { @override String get common_clear => 'Világos'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Jelenlegi útvonal'; @@ -2350,6 +2565,12 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_guestTools => 'Vendégeszközök'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Állapot'; @@ -2472,17 +2693,17 @@ class AppLocalizationsHu extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return 'Összesen: $total, Árvíz: $flood, Közvetlen: $direct'; + return 'Összesen: $total, Elárasztás: $flood, Közvetlen: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return 'Összesen: $total, Árvíz: $flood, Közvetlen: $direct'; + return 'Összesen: $total, Elárasztás: $flood, Közvetlen: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Árvíz: $flood, Közvetlen: $direct'; + return 'Elárasztás: $flood, Közvetlen: $direct'; } @override @@ -2579,7 +2800,7 @@ class AppLocalizationsHu extends AppLocalizations { 'Név/hely elrejtése a hirdetésekben'; @override - String get repeater_advertisementSettings => 'Reklámbeállítások'; + String get repeater_advertisementSettings => 'Hirdetésbeállítások'; @override String get repeater_localAdvertInterval => 'Helyi hirdetési intervallum'; @@ -2590,7 +2811,8 @@ class AppLocalizationsHu extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => 'Árvízi hirdetési intervallum'; + String get repeater_floodAdvertInterval => + 'Elárasztási hirdetési intervallum'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2684,7 +2906,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_loopDetectHelper => - 'Dobd el az útválasztó huroknak tűnő árvízcsomagokat'; + 'Dobd el az útválasztó huroknak tűnő elárasztási csomagokat'; @override String get repeater_loopDetectOff => 'Le'; @@ -2720,11 +2942,11 @@ class AppLocalizationsHu extends AppLocalizations { String get repeater_refreshOwnerInfo => 'Frissítse az operátor adatait'; @override - String get repeater_floodMax => 'Árvíz max ugrás'; + String get repeater_floodMax => 'Elárasztás max ugrás'; @override String get repeater_floodMaxHelper => - 'Maximum ugrások, amelyeket egy árvízcsomag utazhat (0-64)'; + 'Maximum ugrások, amelyeket egy elárasztási csomag utazhat (0-64)'; @override String get repeater_advancedSettings => 'Fejlett'; @@ -2781,7 +3003,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Újraküldési térköz az árvízi forgalomhoz, a csomag sugárzási idejének szorzójaként (0-2, alapértelmezett 0,5). Magasabb = kevesebb ütközés, de lassabb szállítás.'; + 'Újraküldési térköz az elárasztási forgalomhoz, a csomag sugárzási idejének szorzójaként (0-2, alapértelmezett 0,5). Magasabb = kevesebb ütközés, de lassabb szállítás.'; @override String get repeater_directTxDelay => 'Közvetlen TX késleltetés'; @@ -2808,11 +3030,11 @@ class AppLocalizationsHu extends AppLocalizations { String get repeater_actionsTitle => 'Akciók'; @override - String get repeater_sendAdvert => 'Árvízhirdetés küldése'; + String get repeater_sendAdvert => 'Elárasztási hirdetés küldése'; @override String get repeater_sendAdvertSubtitle => - 'Adjon árvízreklámot a hálózaton keresztül'; + 'Küldjön elárasztási hirdetést a hálózaton keresztül'; @override String get repeater_sendAdvertZeroHop => 'Zéró ugrású hirdetés küldése'; @@ -2871,6 +3093,17 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Frissítse az adatvédelmi módot'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label frissítve'; @@ -2948,7 +3181,7 @@ class AppLocalizationsHu extends AppLocalizations { String get repeater_cliQuickDiscovery => 'Fedezze fel a szomszédokat'; @override - String get repeater_cliHelpAdvert => 'Reklámcsomagot küld'; + String get repeater_cliHelpAdvert => 'Hirdetési csomagot küld'; @override String get repeater_cliHelpReboot => @@ -2987,7 +3220,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - 'Beállítja a bejövő árvízcsomag ugrásainak maximális számát (ha >= max, a csomag nem kerül továbbításra)'; + 'Beállítja a bejövő elárasztási csomag ugrásainak maximális számát (ha >= max, a csomag nem kerül továbbításra)'; @override String get repeater_cliHelpSetIntThresh => @@ -3007,7 +3240,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Beállítja az időzítő intervallumát órákban az árvízhirdetési csomag küldéséhez. A letiltáshoz állítsa 0-ra.'; + 'Beállítja az időzítő intervallumát órákban az elárasztási hirdetési csomag küldéséhez. A letiltáshoz állítsa 0-ra.'; @override String get repeater_cliHelpSetGuestPassword => @@ -3098,7 +3331,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(csak soros) Felsorolja az összes meghatározott régiót és az aktuális árvízi engedélyeket.'; + '(csak soros) Felsorolja az összes meghatározott régiót és az aktuális elárasztási engedélyeket.'; @override String get repeater_cliHelpRegionLoad => @@ -3166,6 +3399,75 @@ class AppLocalizationsHu extends AppLocalizations { String get repeater_commandsListNote => 'MEGJEGYZÉS: a különféle \"set ...\" parancsokhoz van egy \"get ...\" parancs is.'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => + 'Érvénytelen frekvencia (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9-től 30 dBm-ig'; + + @override + String get repeater_recvErrors => 'Vételi hibák'; + + @override + String get room_postsStored => 'Bejegyzések'; + + @override + String get room_postsPushed => 'Kiküldött bejegyzések'; + + @override + String get repeater_cliRegionLoadActive => + 'Régióbetöltési mód: soronként küldjön egy régiónevet, szóközökkel behúzva a szülője alá (a név után F hozzáadásával engedélyezhető az elárasztás). A sorokra nem érkezik válasz. Egy üres sor küldésével fejezze be, majd a \"region save\" paranccsal mentse az eredményt.'; + + @override + String get repeater_cliRegionLoadHint => 'Régiósor, vagy üres a befejezéshez'; + + @override + String get repeater_cliRegionLoadEnd => '(régióbetöltés vége)'; + + @override + String get repeater_cliHelpRegionDef => + 'Egy paranccsal régiók láncát határozza meg: minden név az előző alá kerül; a \"name,parent\" hozzáadja a nevet, majd a megadott szülő alatt folytatja. Válaszként a régiólistát adja.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Beállítja a hatókör nélküli elárasztási csomagok továbbításának maximális ugrásszámát (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Beállítja az elárasztási hirdetések továbbításának maximális ugrásszámát (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Megjeleníti a hatókör nélküli elárasztási csomagok maximális ugrásszámát.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Megjeleníti az elárasztási hirdetések maximális ugrásszámát.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Ki-/bekapcsolja a LoRa front-end modul RX erősítését (LNA). Az ezzel nem rendelkező áramkörök válasza \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Ki-/bekapcsolja a LoRa front-end modul TX erősítését (PA). Az ezzel nem rendelkező áramkörök válasza \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Megjeleníti, hogy a LoRa front-end modul RX erősítése be van-e kapcsolva.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Megjeleníti, hogy a LoRa front-end modul TX erősítése be van-e kapcsolva.'; + + @override + String get repeater_bridgeNote => + 'Csak híddal (RS232 vagy ESP-NOW) épített firmware-en érhető el.'; + @override String get repeater_general => 'Általános'; @@ -3342,7 +3644,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Megjeleníti az árvízhirdetés intervallumát órákban.'; + 'Megjeleníti az elárasztási hirdetés intervallumát órákban.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3455,11 +3757,11 @@ class AppLocalizationsHu extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Felsorolja azokat a régiókat, amelyek lehetővé teszik az árvízi forgalmat.'; + 'Felsorolja azokat a régiókat, amelyek lehetővé teszik az elárasztási forgalmat.'; @override String get repeater_cliHelpRegionListDenied => - 'Felsorolja azokat a régiókat, amelyek megtagadják az árvízi forgalmat.'; + 'Felsorolja azokat a régiókat, amelyek megtagadják az elárasztási forgalmat.'; @override String get repeater_cliHelpStatsPackets => @@ -3703,7 +4005,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get channelPath_noHopDetails => - 'Ennél a csomagnál a komlórészletek nincsenek megadva.'; + 'Ennél a csomagnál az ugrásrészletek nincsenek megadva.'; @override String get channelPath_messageDetails => 'Üzenet részletei'; @@ -3747,7 +4049,7 @@ class AppLocalizationsHu extends AppLocalizations { String get channelPath_unknownPath => 'Ismeretlen'; @override - String get channelPath_floodPath => 'Árvíz'; + String get channelPath_floodPath => 'Elárasztás'; @override String get channelPath_directPath => 'Közvetlen'; @@ -4021,7 +4323,7 @@ class AppLocalizationsHu extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Egy vagy több komló helye hiányzik!'; + 'Egy vagy több ugrás helye hiányzik!'; @override String get pathTrace_clearTooltip => 'Tiszta útvonal.'; @@ -4241,7 +4543,7 @@ class AppLocalizationsHu extends AppLocalizations { String get contacts_zeroHopAdvert => 'Zero Hop hirdetés'; @override - String get contacts_floodAdvert => 'Árvíz hirdetés'; + String get contacts_floodAdvert => 'Elárasztási hirdetés'; @override String get contacts_copyAdvertToClipboard => 'Hirdetés másolása a vágólapra'; @@ -4374,6 +4676,10 @@ class AppLocalizationsHu extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Utoljára látott'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Névjegyek beállításai'; @@ -4481,6 +4787,12 @@ class AppLocalizationsHu extends AppLocalizations { @override String get radioStats_screenTitle => 'Rádió statisztika'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Csatlakozzon egy eszközhöz a rádióstatisztikák megtekintéséhez.'; @@ -4866,6 +5178,25 @@ class AppLocalizationsHu extends AppLocalizations { String get imageSend_cropNote => '512 × 512 órák számára megosztva · képszöget nem biztosítva'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Következtetés:'; @@ -5035,6 +5366,29 @@ class AppLocalizationsHu extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Klikd a feljelenítést'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5055,4 +5409,9 @@ class AppLocalizationsHu extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes per $seconds sekünd\n\n(Note: The original text appears to be a placeholder format rather than a complete sentence. The translation reflects the literal structure while preserving the placeholders as requested.)'; } + + @override + String chat_longMessageRetryNote(int count) { + return '158 bájt felett: legfeljebb $count alkalommal küldve'; + } } diff --git a/lib/l10n/app_localizations_it.dart b/lib/l10n/app_localizations_it.dart index ea59fd22..ce18da63 100644 --- a/lib/l10n/app_localizations_it.dart +++ b/lib/l10n/app_localizations_it.dart @@ -111,10 +111,44 @@ class AppLocalizationsIt extends AppLocalizations { String get messageStatus_repeated => 'Ricevuto ripetutamente'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Abilita immagini URL'; + + @override + String get urlImage_possible => + 'Possibile immagine URL; abilitala nelle Impostazioni.'; @override String get common_reboot => 'Riavvia'; @@ -375,6 +409,10 @@ class AppLocalizationsIt extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Impostazioni radio aggiornate'; + @override + String get settings_radioSettingsNotApplied => + 'La radio non ha applicato queste impostazioni'; + @override String get settings_regionSettings => 'Regioni'; @@ -382,6 +420,23 @@ class AppLocalizationsIt extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Gestione delle regioni salvate'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Gestione Regionale'; @@ -509,6 +564,10 @@ class AppLocalizationsIt extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Modalità di ambiente di telemetria'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Posizione dell\'annuncio'; @@ -527,6 +586,10 @@ class AppLocalizationsIt extends AppLocalizations { @override String get settings_multiAck => 'ACK multipli'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Modalità telemetria aggiornata'; @@ -645,6 +708,13 @@ class AppLocalizationsIt extends AppLocalizations { @override String get settings_presets => 'Preset'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frequenza (MHz)'; @@ -667,7 +737,9 @@ class AppLocalizationsIt extends AppLocalizations { String get settings_txPower => 'Potenza TX (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Potenza TX non valida (0-22 dBm)'; @@ -675,6 +747,11 @@ class AppLocalizationsIt extends AppLocalizations { @override String get settings_clientRepeat => 'Ripetizione \"fuori dalla rete\"'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Permetti a questo dispositivo di ripetere i pacchetti di rete per gli altri.'; @@ -769,6 +846,39 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 byte'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Abilita tracciamento messaggi'; @@ -804,6 +914,13 @@ class AppLocalizationsIt extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Mostra notifica all\'arrivo di nuovi messaggi'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Notifiche Messaggi Canale'; @@ -814,7 +931,7 @@ class AppLocalizationsIt extends AppLocalizations { @override String get appSettings_advertisementNotifications => - 'Notifiche Pubblicitarie'; + 'Notifiche degli Annunci'; @override String get appSettings_advertisementNotificationsSubtitle => @@ -1092,6 +1209,29 @@ class AppLocalizationsIt extends AppLocalizations { return 'Eliminare $contactName dai contatti?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Gestisci ripetitore'; @@ -1242,6 +1382,18 @@ class AppLocalizationsIt extends AppLocalizations { @override String get channels_private => 'Privato'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Modifica canale'; @@ -1375,6 +1527,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get channels_publicChannelAdded => 'Canale pubblico aggiunto'; + @override + String get channels_noFreeSlots => 'Tutti gli slot dei canali sono in uso'; + @override String get channels_sortBy => 'Ordina per'; @@ -1444,6 +1599,19 @@ class AppLocalizationsIt extends AppLocalizations { @override String get channels_clearRegion => 'Zona chiara'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Nessun messaggio ancora'; @@ -1502,6 +1670,12 @@ class AppLocalizationsIt extends AppLocalizations { @override String get chat_sendGif => 'Invia GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Invia immagine tramite MeshCore'; @@ -1522,7 +1696,7 @@ class AppLocalizationsIt extends AppLocalizations { String get chat_me => 'Io'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Reazioni con Emoji'; @override String get emojiCategorySmileys => 'Emoji'; @@ -1813,6 +1987,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get chat_path => 'Percorso'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Chiave pubblica'; @@ -1850,6 +2027,12 @@ class AppLocalizationsIt extends AppLocalizations { @override String get chat_newMessages => 'Nuovi messaggi'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Apri il link?'; @@ -1895,6 +2078,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get map_centerOnNode => 'Centra sul nodo'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Dettagli'; @@ -1913,6 +2099,10 @@ class AppLocalizationsIt extends AppLocalizations { @override String get map_noNodesWithLocation => 'Nessun nodo con dati di posizione'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'I nodi devono condividere le loro coordinate GPS\nper apparire sulla mappa'; @@ -2054,6 +2244,16 @@ class AppLocalizationsIt extends AppLocalizations { @override String get map_showGuessedLocations => 'Mostra le posizioni stimate dei nodi'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Mostra contatti di scoperta'; @@ -2075,6 +2275,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get map_manageRepeater => 'Gestisci ripetitore'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Tocca i nodi per aggiungerli al percorso.'; @@ -2278,6 +2481,12 @@ class AppLocalizationsIt extends AppLocalizations { @override String get login_enterPassword => 'Inserisci password'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Salva password'; @@ -2293,6 +2502,9 @@ class AppLocalizationsIt extends AppLocalizations { String get login_roomDescription => 'Inserisci la password della stanza per accedere alle impostazioni e allo stato.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Instradamento'; @@ -2331,6 +2543,9 @@ class AppLocalizationsIt extends AppLocalizations { @override String get common_clear => 'Cancella'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Percorso corrente'; @@ -2356,6 +2571,12 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_guestTools => 'Strumenti per gli ospiti'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Stato'; @@ -2710,8 +2931,7 @@ class AppLocalizationsIt extends AppLocalizations { String get repeater_dutyCycle => 'Ciclo di lavoro'; @override - String get repeater_dutyCycleHelper => - 'Percentuale massima di utilizzo dello spazio pubblicitario'; + String get repeater_dutyCycleHelper => 'Percentuale massima di airtime'; @override String repeater_dutyCyclePercent(int percent) { @@ -2730,8 +2950,7 @@ class AppLocalizationsIt extends AppLocalizations { 'Aggiorna le informazioni sull\'operatore'; @override - String get repeater_floodMax => - 'Massimo numero di salti in caso di inondazione'; + String get repeater_floodMax => 'Numero massimo di salti in flood'; @override String get repeater_floodMaxHelper => @@ -2819,12 +3038,11 @@ class AppLocalizationsIt extends AppLocalizations { String get repeater_actionsTitle => 'Azioni'; @override - String get repeater_sendAdvert => - 'Inviare annuncio relativo alle inondazioni'; + String get repeater_sendAdvert => 'Invia annuncio flood'; @override String get repeater_sendAdvertSubtitle => - 'Trasmettere un annuncio pubblicitario relativo alle inondazioni attraverso la rete.'; + 'Trasmettere un annuncio flood attraverso la rete.'; @override String get repeater_sendAdvertZeroHop => @@ -2884,6 +3102,17 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Aggiorna Modalità Privacy'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label aggiornato'; @@ -2961,7 +3190,7 @@ class AppLocalizationsIt extends AppLocalizations { String get repeater_cliQuickDiscovery => 'Scopri vicini'; @override - String get repeater_cliHelpAdvert => 'Invia un pacchetto pubblicitario'; + String get repeater_cliHelpAdvert => 'Invia un pacchetto di annuncio'; @override String get repeater_cliHelpReboot => @@ -3001,7 +3230,7 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - 'Imposta il numero massimo di salti per i pacchetti di inondazione in entrata (se >= max, il pacchetto non viene inoltrato)'; + 'Imposta il numero massimo di salti per i pacchetti flood in entrata (se >= max, il pacchetto non viene inoltrato)'; @override String get repeater_cliHelpSetIntThresh => @@ -3017,11 +3246,11 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_cliHelpSetAdvertInterval => - 'Imposta l\'intervallo del timer in minuti per inviare un pacchetto di pubblicità locale (senza salto). Imposta su 0 per disabilitare.'; + 'Imposta l\'intervallo del timer in minuti per inviare un pacchetto di annuncio locale (senza salto). Imposta su 0 per disabilitare.'; @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Imposta l\'intervallo del timer in ore per inviare un pacchetto pubblicitario di massa. Imposta su 0 per disabilitare.'; + 'Imposta l\'intervallo del timer in ore per inviare un pacchetto di annuncio flood. Imposta su 0 per disabilitare.'; @override String get repeater_cliHelpSetGuestPassword => @@ -3032,11 +3261,11 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_cliHelpSetLat => - 'Imposta la latitudine della mappa pubblicitaria. (gradi decimali)'; + 'Imposta la latitudine della mappa dell\'annuncio. (gradi decimali)'; @override String get repeater_cliHelpSetLon => - 'Imposta la longitudine della mappa pubblicitaria. (gradi decimali)'; + 'Imposta la longitudine della mappa dell\'annuncio. (gradi decimali)'; @override String get repeater_cliHelpSetRadio => @@ -3112,7 +3341,7 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(solo serie) Elenca tutte le regioni definite e le autorizzazioni di allagamento correnti.'; + '(solo serie) Elenca tutte le regioni definite e le autorizzazioni flood correnti.'; @override String get repeater_cliHelpRegionLoad => @@ -3180,6 +3409,75 @@ class AppLocalizationsIt extends AppLocalizations { String get repeater_commandsListNote => 'NOTA: per i vari comandi \"set...\", esiste anche un comando \"get...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Frequenza non valida (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => 'Da -9 a 30 dBm'; + + @override + String get repeater_recvErrors => 'Errori di ricezione'; + + @override + String get room_postsStored => 'Post'; + + @override + String get room_postsPushed => 'Post Inviati'; + + @override + String get repeater_cliRegionLoadActive => + 'Modalità di caricamento regioni: invia un nome di regione per riga, indentato con spazi sotto la sua regione padre (aggiungi F dopo il nome per consentire il flood). Le righe non ricevono risposta. Invia una riga vuota per terminare, poi \"region save\" per salvare il risultato.'; + + @override + String get repeater_cliRegionLoadHint => + 'Riga di regione, o vuota per terminare'; + + @override + String get repeater_cliRegionLoadEnd => '(fine caricamento regioni)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definisce una catena di regioni in un solo comando: ogni nome viene aggiunto sotto il precedente; \"name,parent\" aggiunge il nome e continua sotto il padre indicato. Risponde con l\'elenco delle regioni.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Imposta il numero massimo di salti per l\'inoltro dei pacchetti flood privi di ambito regionale (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Imposta il numero massimo di salti per l\'inoltro degli annunci flood (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Mostra il numero massimo di salti per i pacchetti flood senza ambito regionale.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Mostra il numero massimo di salti per gli annunci flood.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Attiva o disattiva il guadagno RX (LNA) del modulo frontend LoRa. Le schede prive di questo modulo rispondono \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Attiva o disattiva il guadagno TX (PA) del modulo frontend LoRa. Le schede prive di questo modulo rispondono \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Mostra se il guadagno RX del modulo frontend LoRa è attivo.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Mostra se il guadagno TX del modulo frontend LoRa è attivo.'; + + @override + String get repeater_bridgeNote => + 'Disponibile solo su firmware compilato con un bridge (RS232 o ESP-NOW).'; + @override String get repeater_general => 'Generale'; @@ -3351,7 +3649,7 @@ class AppLocalizationsIt extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Indica l\'intervallo pubblicitario locale in minuti.'; + 'Indica l\'intervallo di annuncio locale in minuti.'; @override String get repeater_cliHelpGetFloodAdvertInterval => @@ -4032,7 +4330,7 @@ class AppLocalizationsIt extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Uno o più hop non hanno una posizione!'; + 'Uno o più salti non hanno una posizione!'; @override String get pathTrace_clearTooltip => 'Cancella percorso'; @@ -4251,7 +4549,7 @@ class AppLocalizationsIt extends AppLocalizations { String get contacts_zeroHopAdvert => 'Annuncio Zero Hop'; @override - String get contacts_floodAdvert => 'Annuncio alluvionale'; + String get contacts_floodAdvert => 'Annuncio Flood'; @override String get contacts_copyAdvertToClipboard => 'Copia Annuncio negli Appunti'; @@ -4387,6 +4685,10 @@ class AppLocalizationsIt extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Ultimo accesso'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Impostazioni dei contatti'; @@ -4493,6 +4795,12 @@ class AppLocalizationsIt extends AppLocalizations { @override String get radioStats_screenTitle => 'Statistiche radio'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Connettiti a un dispositivo per visualizzare le statistiche radio.'; @@ -4883,6 +5191,25 @@ class AppLocalizationsIt extends AppLocalizations { String get imageSend_cropNote => 'Ridimensionato a 512 × 512 · rapporto d\'aspetto non conservato'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Traduzione:\n\nOriginal text:\n\nPlease translate the following English text into Italian:\n\nOriginal text:\n\n(No original English text provided)'; @@ -4944,7 +5271,7 @@ class AppLocalizationsIt extends AppLocalizations { @override String get imageSend_floodNote => - 'Instradamento delle inondazioni: ogni ripetitore nel raggio ritrasmette ogni pacchetto, quindi il canale rimane occupato più a lungo.'; + 'Instradamento flood: ogni ripetitore nel raggio ritrasmette ogni pacchetto, quindi il canale rimane occupato più a lungo.'; @override String get imageSend_parityTitle => 'Pacchetto di recupero'; @@ -5055,6 +5382,29 @@ class AppLocalizationsIt extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Premi per elaborare'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5075,4 +5425,9 @@ class AppLocalizationsIt extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes min $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Oltre 158 byte: inviato al massimo $count volte'; + } } diff --git a/lib/l10n/app_localizations_ja.dart b/lib/l10n/app_localizations_ja.dart index 527c566b..887c4987 100644 --- a/lib/l10n/app_localizations_ja.dart +++ b/lib/l10n/app_localizations_ja.dart @@ -111,10 +111,43 @@ class AppLocalizationsJa extends AppLocalizations { String get messageStatus_repeated => '何度も聞いた'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'URL画像を有効にする'; + + @override + String get urlImage_possible => 'URL画像の可能性があります。設定で有効にしてください。'; @override String get common_reboot => '再起動'; @@ -359,12 +392,32 @@ class AppLocalizationsJa extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'ラジオの設定が更新されました'; + @override + String get settings_radioSettingsNotApplied => 'ラジオがこれらの設定を適用しませんでした'; + @override String get settings_regionSettings => '地域'; @override String get settings_regionSettingsSubtitle => '保存された領域の管理'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => '地域管理'; @@ -441,11 +494,11 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_privacyMode => 'プライバシーモード'; @override - String get settings_privacyModeSubtitle => '広告に名前や位置を表示しない'; + String get settings_privacyModeSubtitle => 'アドバートに名前や位置を表示しない'; @override String get settings_privacyModeToggle => - 'プライバシーモードを有効にすると、広告に表示される名前と位置を非表示にします。'; + 'プライバシーモードを有効にすると、アドバートに表示される名前と位置を非表示にします。'; @override String get settings_privacyModeEnabled => 'プライバシーモードが有効になっています'; @@ -482,21 +535,29 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'テレメトリ環境モード'; @override - String get settings_advertLocation => '広告掲載場所'; + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; @override - String get settings_advertLocationSubtitle => '広告に場所を記載してください。'; + String get settings_advertLocation => 'アドバート位置'; @override - String get settings_autoZeroHopAdvertOnGpsUpdate => 'GPS更新時にゼロホップ広告を自動送信'; + String get settings_advertLocationSubtitle => 'アドバートに位置情報を含めてください。'; + + @override + String get settings_autoZeroHopAdvertOnGpsUpdate => 'GPS更新時にゼロホップアドバートを自動送信'; @override String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle => - 'GPS位置が変化したときにゼロホップ広告を送信します(広告への位置情報の含有が必要)。'; + 'GPS位置が変化したときにゼロホップアドバートを送信します(アドバートへの位置情報の含有が必要)。'; @override String get settings_multiAck => 'マルチ ACK'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'テレメトリモードが更新されました'; @@ -510,13 +571,13 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_deleteAllPathsSubtitle => '連絡先からすべての経路データを消去します。'; @override - String get settings_sendAdvertisement => '広告を送信'; + String get settings_sendAdvertisement => 'アドバートを送信'; @override String get settings_sendAdvertisementSubtitle => '現在の存在を送信します'; @override - String get settings_advertisementSent => '広告を送信しました'; + String get settings_advertisementSent => 'アドバートを送信しました'; @override String get settings_syncTime => '時刻を同期'; @@ -594,7 +655,7 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_infoPublicKey => '公開鍵'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => '公開鍵がコピーされました'; @override String get settings_infoContactsCount => '連絡先数'; @@ -611,6 +672,13 @@ class AppLocalizationsJa extends AppLocalizations { @override String get settings_presets => 'プリセット'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => '周波数 (MHz)'; @@ -633,7 +701,9 @@ class AppLocalizationsJa extends AppLocalizations { String get settings_txPower => 'TX 信号電力 (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => '無効な送信電力 (0-22 dBm)'; @@ -641,6 +711,11 @@ class AppLocalizationsJa extends AppLocalizations { @override String get settings_clientRepeat => 'オフグリッド中継'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'このデバイスが他のデバイス向けにメッシュパケットを中継できるようにします。'; @@ -735,6 +810,39 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3〜4バイト'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'メッセージ追跡を有効にする'; @@ -749,7 +857,7 @@ class AppLocalizationsJa extends AppLocalizations { String get appSettings_enableNotifications => '通知を有効にする'; @override - String get appSettings_enableNotificationsSubtitle => 'メッセージや広告の通知を受け取ります'; + String get appSettings_enableNotificationsSubtitle => 'メッセージやアドバートの通知を受け取ります'; @override String get appSettings_notificationPermissionDenied => '通知の許可が拒否されました'; @@ -767,6 +875,13 @@ class AppLocalizationsJa extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => '新しいメッセージを受信した際に、通知を表示する'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'チャネルメッセージの通知'; @@ -775,7 +890,7 @@ class AppLocalizationsJa extends AppLocalizations { 'チャンネルからのメッセージを受信した際に、通知を表示する'; @override - String get appSettings_advertisementNotifications => '広告通知'; + String get appSettings_advertisementNotifications => 'アドバート通知'; @override String get appSettings_advertisementNotificationsSubtitle => @@ -984,7 +1099,7 @@ class AppLocalizationsJa extends AppLocalizations { String get contacts_noContacts => 'まだ連絡先はありません'; @override - String get contacts_contactsWillAppear => 'デバイスが広告を送信すると連絡先が表示されます'; + String get contacts_contactsWillAppear => 'デバイスがアドバートを送信すると連絡先が表示されます'; @override String get contacts_unread => '未読'; @@ -1031,6 +1146,29 @@ class AppLocalizationsJa extends AppLocalizations { return '$contactName を連絡先から削除しますか?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'リピータの管理'; @@ -1177,6 +1315,18 @@ class AppLocalizationsJa extends AppLocalizations { @override String get channels_private => '非公開'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'チャンネルを編集'; @@ -1304,6 +1454,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get channels_publicChannelAdded => '公開チャンネルを追加しました'; + @override + String get channels_noFreeSlots => 'すべてのチャンネルスロットが使用中です'; + @override String get channels_sortBy => '並び替え'; @@ -1369,6 +1522,19 @@ class AppLocalizationsJa extends AppLocalizations { @override String get channels_clearRegion => 'クリアな地域'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'まだメッセージは届いていません'; @@ -1427,6 +1593,12 @@ class AppLocalizationsJa extends AppLocalizations { @override String get chat_sendGif => 'GIF を送信'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'MeshCore経由で画像を送信'; @@ -1446,7 +1618,7 @@ class AppLocalizationsJa extends AppLocalizations { String get chat_me => '私'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => '絵文字リアクション'; @override String get emojiCategorySmileys => '顔文字'; @@ -1726,6 +1898,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get chat_path => '道'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => '公開鍵'; @@ -1763,6 +1938,12 @@ class AppLocalizationsJa extends AppLocalizations { @override String get chat_newMessages => '新しいメッセージ'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'リンクを開きますか?'; @@ -1807,6 +1988,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get map_centerOnNode => 'ノードを中央に表示'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => '詳細'; @@ -1825,6 +2009,10 @@ class AppLocalizationsJa extends AppLocalizations { @override String get map_noNodesWithLocation => '位置情報を持つノードはありません'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'ノードを地図に表示するには GPS 座標の共有が必要です'; @@ -1963,6 +2151,16 @@ class AppLocalizationsJa extends AppLocalizations { @override String get map_showGuessedLocations => '推測されたノードの位置を表示する'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Discovery 連絡先を表示'; @@ -1984,6 +2182,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get map_manageRepeater => 'リピータの管理'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'ノードをタップして経路に追加します。'; @@ -2183,6 +2384,12 @@ class AppLocalizationsJa extends AppLocalizations { @override String get login_enterPassword => 'パスワードを入力してください'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'パスワードを保存する'; @@ -2196,6 +2403,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get login_roomDescription => '設定やステータスへのアクセスには、部屋のパスワードを入力してください。'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => '経路設定'; @@ -2234,6 +2444,9 @@ class AppLocalizationsJa extends AppLocalizations { @override String get common_clear => 'クリア'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => '現在の経路'; @@ -2258,6 +2471,12 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_guestTools => 'ゲスト向けツール'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'ステータス'; @@ -2474,13 +2693,13 @@ class AppLocalizationsJa extends AppLocalizations { String get repeater_privacyMode => 'プライバシーモード'; @override - String get repeater_privacyModeSubtitle => '広告に名前/場所を記載しない'; + String get repeater_privacyModeSubtitle => 'アドバートに名前/場所を記載しない'; @override - String get repeater_advertisementSettings => '広告設定'; + String get repeater_advertisementSettings => 'アドバート設定'; @override - String get repeater_localAdvertInterval => '地域広告掲載期間'; + String get repeater_localAdvertInterval => '地域アドバート掲載期間'; @override String repeater_localAdvertIntervalMinutes(int minutes) { @@ -2488,7 +2707,7 @@ class AppLocalizationsJa extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => 'フラッドに関する広告の表示間隔'; + String get repeater_floodAdvertInterval => 'フラッドに関するアドバートの表示間隔'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2496,7 +2715,7 @@ class AppLocalizationsJa extends AppLocalizations { } @override - String get repeater_encryptedAdvertInterval => '暗号化された広告表示間'; + String get repeater_encryptedAdvertInterval => '暗号化されたアドバート表示間'; @override String get repeater_dangerZone => '危険区域'; @@ -2691,16 +2910,16 @@ class AppLocalizationsJa extends AppLocalizations { String get repeater_actionsTitle => '操作'; @override - String get repeater_sendAdvert => 'フラッド広告を送信'; + String get repeater_sendAdvert => 'フラッドアドバートを送信'; @override - String get repeater_sendAdvertSubtitle => 'ネットワーク全体にフラッド広告をブロードキャストします'; + String get repeater_sendAdvertSubtitle => 'ネットワーク全体にフラッドアドバートをブロードキャストします'; @override - String get repeater_sendAdvertZeroHop => 'ゼロホップ広告を送信'; + String get repeater_sendAdvertZeroHop => 'ゼロホップアドバートを送信'; @override - String get repeater_sendAdvertZeroHopSubtitle => '1 ホップ広告を送信します(リピータなし)'; + String get repeater_sendAdvertZeroHopSubtitle => '1 ホップアドバートを送信します(リピータなし)'; @override String get repeater_clockSync => '時刻を同期'; @@ -2750,6 +2969,17 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'プライバシーモードをリセットする'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label が更新されました'; @@ -2815,7 +3045,7 @@ class AppLocalizationsJa extends AppLocalizations { String get repeater_cliQuickVersion => 'バージョン'; @override - String get repeater_cliQuickAdvertise => '広告送信'; + String get repeater_cliQuickAdvertise => 'アドバート送信'; @override String get repeater_cliQuickClock => '時刻'; @@ -2827,7 +3057,7 @@ class AppLocalizationsJa extends AppLocalizations { String get repeater_cliQuickDiscovery => '近隣を発見する'; @override - String get repeater_cliHelpAdvert => '広告用資料を送る'; + String get repeater_cliHelpAdvert => 'アドバートパケットを送信します'; @override String get repeater_cliHelpReboot => @@ -2875,24 +3105,24 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_cliHelpSetAdvertInterval => - 'ローカル(ホップなし)の広告パケットを送信する間隔を分単位で設定します。 0 に設定すると、機能を無効にします。'; + 'ローカル(ホップなし)のアドバートパケットを送信する間隔を分単位で設定します。 0 に設定すると、機能を無効にします。'; @override String get repeater_cliHelpSetFloodAdvertInterval => - 'フラッド広告の送信間隔を時間単位で設定します。0に設定すると、送信を停止します。'; + 'フラッドアドバートの送信間隔を時間単位で設定します。0に設定すると、送信を停止します。'; @override String get repeater_cliHelpSetGuestPassword => 'ゲストのパスワードを設定/更新します。(繰り返し利用の場合、ゲストのログインは「統計情報を取得」のリクエストを送信できます)'; @override - String get repeater_cliHelpSetName => '広告の名前を設定します。'; + String get repeater_cliHelpSetName => 'アドバートの名前を設定します。'; @override - String get repeater_cliHelpSetLat => '広告表示の地図の緯度を設定します。(度分秒表記)'; + String get repeater_cliHelpSetLat => 'アドバート表示の地図の緯度を設定します。(度分秒表記)'; @override - String get repeater_cliHelpSetLon => '広告表示の地図の経度を設定します。(度数、分)'; + String get repeater_cliHelpSetLon => 'アドバート表示の地図の経度を設定します。(度数、分)'; @override String get repeater_cliHelpSetRadio => @@ -2904,7 +3134,7 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_cliHelpSetTxDelay => - '時間経過に応じた「フラッシュモード」パケットの送信遅延を設定します。この遅延は、ランダムなスロットシステムと組み合わせて使用され、パケットの衝突を減らすことを目的としています。'; + '時間経過に応じた「フラッドモード」パケットの送信遅延を設定します。この遅延は、ランダムなスロットシステムと組み合わせて使用され、パケットの衝突を減らすことを目的としています。'; @override String get repeater_cliHelpSetDirectTxDelay => @@ -2953,7 +3183,7 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_cliHelpNeighbors => - 'ゼロホップ広告を通じて受信した他のリピータノードの一覧を表示します。各行は、IDプレフィックス(16進数)、タイムスタンプ、SNR(シグナル強度)の情報を4つ含みます。'; + 'ゼロホップアドバートを通じて受信した他のリピータノードの一覧を表示します。各行は、IDプレフィックス(16進数)、タイムスタンプ、SNR(シグナル強度)の情報を4つ含みます。'; @override String get repeater_cliHelpNeighborRemove => @@ -3011,10 +3241,10 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_cliHelpGpsAdvert => - 'ノードの広告設定における場所情報の指定:\n- none: 広告に場所情報を含まない\n- share: GPS位置情報を共有 (SensorManagerから取得)\n- prefs: プリファレンスに保存された場所情報を広告'; + 'ノードのアドバート設定における場所情報の指定:\n- none: アドバートに場所情報を含まない\n- share: GPS位置情報を共有 (SensorManagerから取得)\n- prefs: プリファレンスに保存された場所情報をアドバートする'; @override - String get repeater_cliHelpGpsAdvertSet => '場所に関する広告設定を行います。'; + String get repeater_cliHelpGpsAdvertSet => '場所に関するアドバート設定を行います。'; @override String get repeater_commandsListTitle => 'コマンド一覧'; @@ -3023,6 +3253,73 @@ class AppLocalizationsJa extends AppLocalizations { String get repeater_commandsListNote => '注:さまざまな「set ...」コマンドには、「get ...」コマンドも存在します。'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => '無効な周波数 (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9~30 dBm'; + + @override + String get repeater_recvErrors => '受信エラー'; + + @override + String get room_postsStored => '投稿'; + + @override + String get room_postsPushed => 'プッシュされた投稿'; + + @override + String get repeater_cliRegionLoadActive => + '地域読み込みモード:1行に1つの地域名を送信し、親の下にスペースでインデントします(フラッドを許可する場合は名前の後にFを追加)。各行に返信はありません。空行を送信して終了し、その後「region save」を送信すると結果が保存されます。'; + + @override + String get repeater_cliRegionLoadHint => '地域行、または空欄で終了'; + + @override + String get repeater_cliRegionLoadEnd => '(地域読み込み終了)'; + + @override + String get repeater_cliHelpRegionDef => + '1つのコマンドで地域のチェーンを定義します。各名前は直前の名前の下に追加されます。「name,parent」を指定すると、その名前を追加した後、指定した親の下に続けます。地域リストを返信します。'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + '地域スコープを持たないフラッドパケットを転送する際の最大ホップ数を設定します(0-64)。'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'フラッドアドバートを転送する際の最大ホップ数を設定します(0-64)。'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + '地域スコープのないフラッドパケットの最大ホップ数を表示します。'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => 'フラッドアドバートの最大ホップ数を表示します。'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'LoRaフロントエンドモジュールのRXゲイン(LNA)の有効/無効を切り替えます。対応していない基板は「Error: unsupported」と返信します。'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'LoRaフロントエンドモジュールのTXゲイン(PA)の有効/無効を切り替えます。対応していない基板は「Error: unsupported」と返信します。'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'LoRaフロントエンドモジュールのRXゲインが有効になっているかどうかを表示します。'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'LoRaフロントエンドモジュールのTXゲインが有効になっているかどうかを表示します。'; + + @override + String get repeater_bridgeNote => + 'RS232またはESP-NOWのブリッジ機能を備えたファームウェアでのみ利用可能です。'; + @override String get repeater_general => '一般的な'; @@ -3066,7 +3363,7 @@ class AppLocalizationsJa extends AppLocalizations { String get repeater_cliHelpClkReboot => '時計を既知の基準時点にリセットし、デバイスを再起動します。'; @override - String get repeater_cliHelpAdvertZeroHop => '近隣のデバイスのみに、ゼロホップの広告を送信します。'; + String get repeater_cliHelpAdvertZeroHop => '近隣のデバイスのみに、ゼロホップのアドバートを送信します。'; @override String get repeater_cliHelpStartOta => @@ -3108,7 +3405,7 @@ class AppLocalizationsJa extends AppLocalizations { @override String get repeater_cliHelpSetOwnerInfo => - '広告に記載されている所有者連絡先情報を設定します。改行には\'|\'を使用してください。'; + 'アドバートに記載されている所有者連絡先情報を設定します。改行には\'|\'を使用してください。'; @override String get repeater_cliHelpSetPathHashMode => @@ -3175,11 +3472,11 @@ class AppLocalizationsJa extends AppLocalizations { 'ゲストによる読み取り専用アクセスが許可されているかどうかを示す。'; @override - String get repeater_cliHelpGetAdvertInterval => 'ローカル広告の時間を分単位で表示します。'; + String get repeater_cliHelpGetAdvertInterval => 'ローカルアドバートの時間を分単位で表示します。'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'フラッドに関する広告の放送時間を時間単位で表示します。'; + 'フラッドに関するアドバートの放送時間を時間単位で表示します。'; @override String get repeater_cliHelpGetGuestPassword => '設定されたゲストパスワードを表示します。'; @@ -4031,13 +4328,13 @@ class AppLocalizationsJa extends AppLocalizations { String get contacts_contactImportFailed => '連絡先のインポートに失敗しました。'; @override - String get contacts_zeroHopAdvert => 'ゼロホップ広告'; + String get contacts_zeroHopAdvert => 'ゼロホップアドバート'; @override - String get contacts_floodAdvert => 'フラッドに関する広告'; + String get contacts_floodAdvert => 'フラッドアドバート'; @override - String get contacts_copyAdvertToClipboard => '広告をクリップボードにコピー'; + String get contacts_copyAdvertToClipboard => 'アドバートをクリップボードにコピー'; @override String get contacts_addContactFromClipboard => 'クリップボードから連絡先を追加する'; @@ -4046,19 +4343,20 @@ class AppLocalizationsJa extends AppLocalizations { String get contacts_ShareContact => '連絡先をクリップボードにコピー'; @override - String get contacts_ShareContactZeroHop => '広告を通じて連絡先を共有する'; + String get contacts_ShareContactZeroHop => 'アドバートを通じて連絡先を共有する'; @override - String get contacts_zeroHopContactAdvertSent => '広告を通じて連絡先を得た。'; + String get contacts_zeroHopContactAdvertSent => 'アドバートを通じて連絡先を得た。'; @override String get contacts_zeroHopContactAdvertFailed => '連絡を送信できませんでした。'; @override - String get contacts_contactAdvertCopied => '広告がクリップボードにコピーされました。'; + String get contacts_contactAdvertCopied => 'アドバートがクリップボードにコピーされました。'; @override - String get contacts_contactAdvertCopyFailed => '広告のコピーがクリップボードにコピーできませんでした。'; + String get contacts_contactAdvertCopyFailed => + 'アドバートのコピーがクリップボードにコピーできませんでした。'; @override String get notification_activityTitle => 'メッシュコアの活動'; @@ -4159,6 +4457,10 @@ class AppLocalizationsJa extends AppLocalizations { @override String get snrIndicator_lastSeen => '最後に確認された場所'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => '連絡先設定'; @@ -4256,6 +4558,12 @@ class AppLocalizationsJa extends AppLocalizations { @override String get radioStats_screenTitle => 'ラジオの統計'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'ラジオの統計情報を表示するために、デバイスに接続してください。'; @@ -4629,6 +4937,25 @@ class AppLocalizationsJa extends AppLocalizations { @override String get imageSend_cropNote => '512 × 512にリサイズされました。アスペクト比は保持されませんでした。'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => '原文:\nThe early morning light filtered through the curtains, casting a soft glow on the room.\n\n翻訳:\n早朝の光がカーテンをすり抜け、部屋に柔らかな光を投げかけていた。'; @@ -4689,7 +5016,7 @@ class AppLocalizationsJa extends AppLocalizations { @override String get imageSend_floodNote => - '洪水ルーティング:範囲内の各リピーターが各パケットを再送信するため、チャネルはこれよりも長く占有されたままになります。'; + 'フラッドルーティング:範囲内の各リピーターが各パケットを再送信するため、チャネルはこれよりも長く占有されたままになります。'; @override String get imageSend_parityTitle => '回復パケット'; @@ -4793,6 +5120,29 @@ class AppLocalizationsJa extends AppLocalizations { @override String get receivedImage_tapToProcess => '処理するにはタップしてください'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -4813,4 +5163,9 @@ class AppLocalizationsJa extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes分 $seconds秒'; } + + @override + String chat_longMessageRetryNote(int count) { + return '158バイトを超える場合:最大 $count 回まで送信されます'; + } } diff --git a/lib/l10n/app_localizations_ko.dart b/lib/l10n/app_localizations_ko.dart index e8239a33..4c89d801 100644 --- a/lib/l10n/app_localizations_ko.dart +++ b/lib/l10n/app_localizations_ko.dart @@ -111,10 +111,43 @@ class AppLocalizationsKo extends AppLocalizations { String get messageStatus_repeated => '반복 수신됨'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'URL 이미지 활성화'; + + @override + String get urlImage_possible => 'URL 이미지일 수 있습니다. 설정에서 활성화하세요.'; @override String get common_reboot => '재부팅'; @@ -359,12 +392,32 @@ class AppLocalizationsKo extends AppLocalizations { @override String get settings_radioSettingsUpdated => '라디오 설정이 업데이트되었습니다.'; + @override + String get settings_radioSettingsNotApplied => '라디오가 이 설정을 적용하지 않았습니다'; + @override String get settings_regionSettings => '지역'; @override String get settings_regionSettingsSubtitle => '저장된 지역 관리'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => '지역 관리'; @@ -442,11 +495,11 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_privacyMode => '개인 정보 보호 모드'; @override - String get settings_privacyModeSubtitle => '광고에 이름/위치 정보 숨기기'; + String get settings_privacyModeSubtitle => '어드버트에 이름/위치 정보 숨기기'; @override String get settings_privacyModeToggle => - '광고에 자신의 이름과 위치를 숨기기 위해 개인 정보 보호 모드를 켜거나 끄십시오.'; + '어드버트에 자신의 이름과 위치를 숨기기 위해 개인 정보 보호 모드를 켜거나 끄십시오.'; @override String get settings_privacyModeEnabled => '개인 정보 보호 모드 활성화'; @@ -483,22 +536,30 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_telemetryEnvironmentMode => '텔레메트리 환경 모드'; @override - String get settings_advertLocation => '광고 위치'; + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; @override - String get settings_advertLocationSubtitle => '광고에 위치 정보를 포함하세요.'; + String get settings_advertLocation => '어드버트 위치'; + + @override + String get settings_advertLocationSubtitle => '어드버트에 위치 정보를 포함하세요.'; @override String get settings_autoZeroHopAdvertOnGpsUpdate => - 'GPS 업데이트 시 제로 홉 광고 자동 전송'; + 'GPS 업데이트 시 제로 홉 어드버트 자동 전송'; @override String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle => - 'GPS 위치가 변경되면 제로 홉 광고를 전송합니다(광고에 위치 포함 필요).'; + 'GPS 위치가 변경되면 제로 홉 어드버트를 전송합니다(어드버트에 위치 포함 필요).'; @override String get settings_multiAck => '다중 ACK'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => '텔레메트리 모드 업데이트 완료'; @@ -512,13 +573,13 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_deleteAllPathsSubtitle => '연락처의 모든 경로 데이터를 지웁니다.'; @override - String get settings_sendAdvertisement => '광고 전송'; + String get settings_sendAdvertisement => '어드버트 전송'; @override String get settings_sendAdvertisementSubtitle => '현재 존재를 방송합니다.'; @override - String get settings_advertisementSent => '광고가 전송되었습니다.'; + String get settings_advertisementSent => '어드버트가 전송되었습니다.'; @override String get settings_syncTime => '시간 동기화'; @@ -595,7 +656,7 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_infoPublicKey => '공개 키'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => '공개 키가 복사되었습니다'; @override String get settings_infoContactsCount => '연락처 수'; @@ -612,6 +673,13 @@ class AppLocalizationsKo extends AppLocalizations { @override String get settings_presets => '프리셋'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => '주파수 (MHz)'; @@ -634,7 +702,9 @@ class AppLocalizationsKo extends AppLocalizations { String get settings_txPower => '송신 전력 (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => '유효하지 않은 송신 전력 (0-22 dBm)'; @@ -642,6 +712,11 @@ class AppLocalizationsKo extends AppLocalizations { @override String get settings_clientRepeat => '오프그리드 반복'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => '이 장치가 다른 장치의 메시 패킷을 반복하도록 허용합니다.'; @@ -736,6 +811,39 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 바이트'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => '메시지 추적 기능 활성화'; @@ -750,7 +858,8 @@ class AppLocalizationsKo extends AppLocalizations { String get appSettings_enableNotifications => '알림 활성화'; @override - String get appSettings_enableNotificationsSubtitle => '메시지와 광고에 대한 알림을 받으세요.'; + String get appSettings_enableNotificationsSubtitle => + '메시지와 어드버트에 대한 알림을 받으세요.'; @override String get appSettings_notificationPermissionDenied => '알림 권한 거부'; @@ -767,6 +876,13 @@ class AppLocalizationsKo extends AppLocalizations { @override String get appSettings_messageNotificationsSubtitle => '새로운 메시지를 받을 때 알림 표시'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => '채널 메시지 알림'; @@ -775,7 +891,7 @@ class AppLocalizationsKo extends AppLocalizations { '채널 메시지를 수신할 때 알림 표시'; @override - String get appSettings_advertisementNotifications => '광고 알림'; + String get appSettings_advertisementNotifications => '어드버트 알림'; @override String get appSettings_advertisementNotificationsSubtitle => @@ -802,7 +918,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get appSettings_autoRouteRotationSubtitle => - '최적 경로와 플러드 모드 사이를 전환합니다.'; + '최적 경로와 플러딩 모드 사이를 전환합니다.'; @override String get appSettings_autoRouteRotationEnabled => '자동 경로 순환 기능 활성화'; @@ -987,7 +1103,7 @@ class AppLocalizationsKo extends AppLocalizations { String get contacts_noContacts => '아직 연락처는 없습니다.'; @override - String get contacts_contactsWillAppear => '장치가 광고를 할 때, 연락처 정보가 표시됩니다.'; + String get contacts_contactsWillAppear => '장치가 어드버트를 전송하면 연락처 정보가 표시됩니다.'; @override String get contacts_unread => '읽지 않음'; @@ -1034,6 +1150,29 @@ class AppLocalizationsKo extends AppLocalizations { return '$contactName를 연락처 목록에서 제거하시겠습니까?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => '리피터 관리'; @@ -1180,6 +1319,18 @@ class AppLocalizationsKo extends AppLocalizations { @override String get channels_private => '사립'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => '채널 편집'; @@ -1307,6 +1458,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get channels_publicChannelAdded => '공개 채널 추가'; + @override + String get channels_noFreeSlots => '모든 채널 슬롯이 사용 중입니다'; + @override String get channels_sortBy => '정렬 기준 선택'; @@ -1372,6 +1526,19 @@ class AppLocalizationsKo extends AppLocalizations { @override String get channels_clearRegion => '명확한 지역'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => '아직 메시지가 없습니다.'; @@ -1430,6 +1597,12 @@ class AppLocalizationsKo extends AppLocalizations { @override String get chat_sendGif => 'GIF 보내기'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'MeshCore를 통해 이미지 보내기'; @@ -1449,7 +1622,7 @@ class AppLocalizationsKo extends AppLocalizations { String get chat_me => '나'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => '이모지 반응'; @override String get emojiCategorySmileys => '이모티콘'; @@ -1594,14 +1767,14 @@ class AppLocalizationsKo extends AppLocalizations { String get routing_modeAuto => '자동'; @override - String get routing_modeFlood => '플러드'; + String get routing_modeFlood => '플러딩'; @override String get routing_modeManual => '수동'; @override String get routing_modeAutoHint => - '가장 잘 알려진 경로를 자동으로 선택하고, 경로가 없으면 플러드로 전환합니다.'; + '가장 잘 알려진 경로를 자동으로 선택하고, 경로가 없으면 플러딩으로 전환합니다.'; @override String get routing_modeFloodHint => @@ -1650,7 +1823,7 @@ class AppLocalizationsKo extends AppLocalizations { String get routing_qualityWorked => '작동함'; @override - String get routing_qualityFlood => '플러드로 수신됨'; + String get routing_qualityFlood => '플러딩으로 수신됨'; @override String get routing_qualityUntested => '미검증'; @@ -1669,7 +1842,7 @@ class AppLocalizationsKo extends AppLocalizations { } @override - String get routing_floodDelivery => '플러드 전송'; + String get routing_floodDelivery => '플러딩 전송'; @override String get pathEditor_title => '경로 만들기'; @@ -1730,6 +1903,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get chat_path => '경로'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => '공개 키'; @@ -1737,7 +1913,7 @@ class AppLocalizationsKo extends AppLocalizations { String get chat_compressOutgoingMessages => '전송되는 메시지 압축'; @override - String get chat_floodForced => '플러드 (강제)'; + String get chat_floodForced => '플러딩 (강제)'; @override String get chat_directForced => '직접 (강제)'; @@ -1748,7 +1924,7 @@ class AppLocalizationsKo extends AppLocalizations { } @override - String get chat_floodAuto => '플러드 (자동)'; + String get chat_floodAuto => '플러딩 (자동)'; @override String get chat_direct => '직접'; @@ -1767,6 +1943,12 @@ class AppLocalizationsKo extends AppLocalizations { @override String get chat_newMessages => '새로운 메시지'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => '링크를 열기?'; @@ -1811,6 +1993,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get map_centerOnNode => '노드 중심으로 보기'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => '세부 정보'; @@ -1829,6 +2014,10 @@ class AppLocalizationsKo extends AppLocalizations { @override String get map_noNodesWithLocation => '위치 정보가 있는 노드가 없습니다.'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => '노드는 지도에 표시되려면 GPS 좌표를 공유해야 합니다.'; @@ -1967,6 +2156,16 @@ class AppLocalizationsKo extends AppLocalizations { @override String get map_showGuessedLocations => '추정된 노드 위치 표시'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => '디스커버리 담당자 연락처 보기'; @@ -1988,6 +2187,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get map_manageRepeater => '리피터 관리'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => '노드에 클릭하여 경로에 추가합니다.'; @@ -2187,6 +2389,12 @@ class AppLocalizationsKo extends AppLocalizations { @override String get login_enterPassword => '비밀번호를 입력하세요'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => '비밀번호 저장'; @@ -2199,6 +2407,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get login_roomDescription => '설정 및 상태에 액세스하려면 방 비밀번호를 입력하세요.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => '라우팅'; @@ -2209,7 +2420,7 @@ class AppLocalizationsKo extends AppLocalizations { String get login_autoUseSavedPath => '자동 (저장된 경로 사용)'; @override - String get login_forceFloodMode => '강수 모드 활성화'; + String get login_forceFloodMode => '플러딩 모드 강제 활성화'; @override String get login_managePaths => '경로 관리'; @@ -2237,6 +2448,9 @@ class AppLocalizationsKo extends AppLocalizations { @override String get common_clear => '지우기'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => '현재 경로'; @@ -2261,6 +2475,12 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_guestTools => '손님용 도구'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => '상태'; @@ -2378,17 +2598,17 @@ class AppLocalizationsKo extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return '총: $total, 홍수: $flood, 직접: $direct'; + return '총: $total, 플러딩: $flood, 직접: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return '총: $total, 홍수: $flood, 직접: $direct'; + return '총: $total, 플러딩: $flood, 직접: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return '홍수: $flood, 직접: $direct'; + return '플러딩: $flood, 직접: $direct'; } @override @@ -2478,13 +2698,13 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_privacyMode => '개인 정보 보호 모드'; @override - String get repeater_privacyModeSubtitle => '광고에 이름/위치 정보 숨기기'; + String get repeater_privacyModeSubtitle => '어드버트에 이름/위치 정보 숨기기'; @override - String get repeater_advertisementSettings => '광고 설정'; + String get repeater_advertisementSettings => '어드버트 설정'; @override - String get repeater_localAdvertInterval => '지역 광고 시간 간격'; + String get repeater_localAdvertInterval => '지역 어드버트 시간 간격'; @override String repeater_localAdvertIntervalMinutes(int minutes) { @@ -2492,7 +2712,7 @@ class AppLocalizationsKo extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => '홍수 광고 간격'; + String get repeater_floodAdvertInterval => '플러딩 어드버트 간격'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2500,7 +2720,7 @@ class AppLocalizationsKo extends AppLocalizations { } @override - String get repeater_encryptedAdvertInterval => '암호화된 광고 간격'; + String get repeater_encryptedAdvertInterval => '암호화된 어드버트 간격'; @override String get repeater_dangerZone => '위험 구역'; @@ -2631,7 +2851,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_pathHashModeHelper => - '이 리피터의 ID를 플러드 경로/루프 감지 태그에 인코딩하는 데 사용되는 바이트 수입니다. 0=1바이트(256개 ID, 최대 64홉), 1=2바이트(65,000개 ID, 최대 32홉), 2=3바이트(1,600만 개 ID, 최대 21홉). v1.14 이전 펌웨어는 항상 1바이트 경로를 사용했으며, v1.14 이상은 2바이트 또는 3바이트 경로로 설정할 수 있습니다.'; + '이 리피터의 ID를 플러딩 경로/루프 감지 태그에 인코딩하는 데 사용되는 바이트 수입니다. 0=1바이트(256개 ID, 최대 64홉), 1=2바이트(65,000개 ID, 최대 32홉), 2=3바이트(1,600만 개 ID, 최대 21홉). v1.14 이전 펌웨어는 항상 1바이트 경로를 사용했으며, v1.14 이상은 2바이트 또는 3바이트 경로로 설정할 수 있습니다.'; @override String get repeater_keySettings => '신원 키 변경'; @@ -2667,11 +2887,11 @@ class AppLocalizationsKo extends AppLocalizations { } @override - String get repeater_txDelay => '플러드 TX 지연'; + String get repeater_txDelay => '플러딩 TX 지연'; @override String get repeater_txDelayHelper => - '홍수 시 교통량에 맞춰 재전송 간격을 설정합니다. 이는 패킷의 전송 시간을 곱한 값 (0-2, 기본값 0.5)으로 설정합니다. 값이 클수록 충돌이 줄어들지만 전송 속도가 느려집니다.'; + '플러딩 시 교통량에 맞춰 재전송 간격을 설정합니다. 이는 패킷의 전송 시간을 곱한 값 (0-2, 기본값 0.5)으로 설정합니다. 값이 클수록 충돌이 줄어들지만 전송 속도가 느려집니다.'; @override String get repeater_directTxDelay => '직접적인 TX 지연'; @@ -2698,16 +2918,16 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_actionsTitle => '행동'; @override - String get repeater_sendAdvert => '홍수 관련 광고 전송'; + String get repeater_sendAdvert => '플러딩 관련 어드버트 전송'; @override - String get repeater_sendAdvertSubtitle => '네트워크를 통해 홍수 광고를 방송'; + String get repeater_sendAdvertSubtitle => '네트워크를 통해 플러딩 어드버트를 방송'; @override - String get repeater_sendAdvertZeroHop => '제로 홉 광고 전송'; + String get repeater_sendAdvertZeroHop => '제로 홉 어드버트 전송'; @override - String get repeater_sendAdvertZeroHopSubtitle => '단일 중계 (중계 없이) 광고를 송출'; + String get repeater_sendAdvertZeroHopSubtitle => '1홉 어드버트를 전송합니다 (중계 없음).'; @override String get repeater_clockSync => '현재 시계 동기화'; @@ -2757,6 +2977,17 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_refreshPrivacyMode => '개인 정보 보호 모드 재설정'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label가 갱신됨'; @@ -2821,7 +3052,7 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_cliQuickVersion => '버전'; @override - String get repeater_cliQuickAdvertise => '광고'; + String get repeater_cliQuickAdvertise => '어드버트'; @override String get repeater_cliQuickClock => '시계'; @@ -2833,7 +3064,7 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_cliQuickDiscovery => '이웃 발견하기'; @override - String get repeater_cliHelpAdvert => '광고 패킷을 발송'; + String get repeater_cliHelpAdvert => '어드버트 패킷을 발송'; @override String get repeater_cliHelpReboot => @@ -2867,7 +3098,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - '들어오는 플러드 패킷의 최대 홉 수를 설정합니다 (최대 홉 수보다 크거나 같으면 패킷은 전달되지 않습니다).'; + '들어오는 플러딩 패킷의 최대 홉 수를 설정합니다 (최대 홉 수보다 크거나 같으면 패킷은 전달되지 않습니다).'; @override String get repeater_cliHelpSetIntThresh => @@ -2883,24 +3114,24 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_cliHelpSetAdvertInterval => - '로컬 (제로 홉) 광고 패킷을 전송하는 간격 (분 단위)을 설정합니다. 0으로 설정하면 비활성화됩니다.'; + '로컬 (제로 홉) 어드버트 패킷을 전송하는 간격 (분 단위)을 설정합니다. 0으로 설정하면 비활성화됩니다.'; @override String get repeater_cliHelpSetFloodAdvertInterval => - '시간 단위로 광고 패킷을 전송하는 간격을 설정합니다. 0으로 설정하면 비활성화됩니다.'; + '시간 단위로 어드버트 패킷을 전송하는 간격을 설정합니다. 0으로 설정하면 비활성화됩니다.'; @override String get repeater_cliHelpSetGuestPassword => '게스트 비밀번호를 설정하거나 업데이트합니다. (반복 사용자, 게스트 로그인 시 \"통계 가져오기\" 요청을 보낼 수 있음)'; @override - String get repeater_cliHelpSetName => '광고 이름을 설정합니다.'; + String get repeater_cliHelpSetName => '어드버트 이름을 설정합니다.'; @override - String get repeater_cliHelpSetLat => '광고 지도의 위도를 설정합니다. (십진법 단위)'; + String get repeater_cliHelpSetLat => '어드버트 지도의 위도를 설정합니다. (십진법 단위)'; @override - String get repeater_cliHelpSetLon => '광고 지도의 경도를 설정합니다. (십진도)'; + String get repeater_cliHelpSetLon => '어드버트 지도의 경도를 설정합니다. (십진도)'; @override String get repeater_cliHelpSetRadio => @@ -2961,7 +3192,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_cliHelpNeighbors => - '제로 홉 광고를 통해 수신된 다른 리피터 노드 목록을 보여줍니다. 각 줄은 ID-프리픽스-16진수:타임스탬프:SNR-횟수-4 형식입니다.'; + '제로 홉 어드버트를 통해 수신된 다른 리피터 노드 목록을 보여줍니다. 각 줄은 ID-프리픽스-16진수:타임스탬프:SNR-횟수-4 형식입니다.'; @override String get repeater_cliHelpNeighborRemove => @@ -2969,7 +3200,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(단일 시리즈) 정의된 모든 지역과 현재 홍수 허가 정보를 나열합니다.'; + '(단일 시리즈) 정의된 모든 지역과 현재 플러딩 허가 정보를 나열합니다.'; @override String get repeater_cliHelpRegionLoad => @@ -3019,10 +3250,10 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_cliHelpGpsAdvert => - '노드의 위치 광고 설정:\n- none: 광고에 위치 정보를 포함하지 않음\n- share: GPS 위치 정보를 공유 (SensorManager에서 가져옴)\n- prefs: 설정에 저장된 위치를 광고'; + '노드의 위치 어드버트 설정:\n- none: 어드버트에 위치 정보를 포함하지 않음\n- share: GPS 위치 정보를 공유 (SensorManager에서 가져옴)\n- prefs: 설정에 저장된 위치를 어드버트에 포함'; @override - String get repeater_cliHelpGpsAdvertSet => '위치 기반 광고 설정 구성'; + String get repeater_cliHelpGpsAdvertSet => '위치 기반 어드버트 설정 구성'; @override String get repeater_commandsListTitle => '명령 목록'; @@ -3031,6 +3262,73 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_commandsListNote => '참고: 다양한 \"set...\" 명령과 함께 \"get...\" 명령도 존재합니다.'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => '유효하지 않은 주파수 (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9~30 dBm'; + + @override + String get repeater_recvErrors => '수신 오류'; + + @override + String get room_postsStored => '게시물'; + + @override + String get room_postsPushed => '푸시된 게시물'; + + @override + String get repeater_cliRegionLoadActive => + '지역 로드 모드: 한 줄에 지역 이름 하나씩 보내고, 상위 지역 아래에 공백으로 들여씁니다 (플러딩을 허용하려면 이름 뒤에 F를 추가). 각 줄에는 응답이 없습니다. 빈 줄을 보내 완료한 뒤 \"region save\"를 보내면 결과가 저장됩니다.'; + + @override + String get repeater_cliRegionLoadHint => '지역 줄, 또는 완료하려면 비워 두기'; + + @override + String get repeater_cliRegionLoadEnd => '(지역 로드 종료)'; + + @override + String get repeater_cliHelpRegionDef => + '하나의 명령으로 지역 체인을 정의합니다. 각 이름은 이전 이름 아래에 추가됩니다. \"name,parent\"를 사용하면 해당 이름을 추가한 뒤 지정한 상위 지역 아래로 이어집니다. 지역 목록으로 응답합니다.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + '지역 범위가 없는 플러딩 패킷을 전달할 때의 최대 홉 수를 설정합니다(0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + '플러딩 어드버트를 전달할 때의 최대 홉 수를 설정합니다(0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + '지역 범위가 없는 플러딩 패킷의 최대 홉 수를 표시합니다.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => '플러딩 어드버트의 최대 홉 수를 표시합니다.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'LoRa 프런트엔드 모듈의 RX 게인(LNA)을 전환합니다. 이 기능이 없는 보드는 \"Error: unsupported\"로 응답합니다.'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'LoRa 프런트엔드 모듈의 TX 게인(PA)을 전환합니다. 이 기능이 없는 보드는 \"Error: unsupported\"로 응답합니다.'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'LoRa 프런트엔드 모듈의 RX 게인이 켜져 있는지 표시합니다.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'LoRa 프런트엔드 모듈의 TX 게인이 켜져 있는지 표시합니다.'; + + @override + String get repeater_bridgeNote => + 'RS232 또는 ESP-NOW 브리지 기능이 포함된 펌웨어에서만 사용할 수 있습니다.'; + @override String get repeater_general => '일반'; @@ -3075,7 +3373,7 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_cliHelpClkReboot => '시계를 알려진 시점으로 재설정하고 장치를 재부팅합니다.'; @override - String get repeater_cliHelpAdvertZeroHop => '직접적인 연결 없이 이웃에게만 광고를 전송합니다.'; + String get repeater_cliHelpAdvertZeroHop => '직접적인 연결 없이 이웃에게만 어드버트를 전송합니다.'; @override String get repeater_cliHelpStartOta => '지원되는 보드에서 무선으로 펌웨어 업데이트를 시작합니다.'; @@ -3116,7 +3414,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get repeater_cliHelpSetOwnerInfo => - '광고에 포함된 소유자 연락처 정보를 지정합니다. 줄 바꿈을 위해 \'|\' 문자를 사용합니다.'; + '어드버트에 포함된 소유자 연락처 정보를 지정합니다. 줄 바꿈을 위해 \'|\' 문자를 사용합니다.'; @override String get repeater_cliHelpSetPathHashMode => @@ -3184,11 +3482,11 @@ class AppLocalizationsKo extends AppLocalizations { '게스트의 읽기 전용 액세스가 허용되는지 여부를 표시합니다.'; @override - String get repeater_cliHelpGetAdvertInterval => '지역 광고 시간 간격을 분 단위로 표시합니다.'; + String get repeater_cliHelpGetAdvertInterval => '지역 어드버트 시간 간격을 분 단위로 표시합니다.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - '홍수 광고 시간 간격을 시간 단위로 표시합니다.'; + '플러딩 어드버트 시간 간격을 시간 단위로 표시합니다.'; @override String get repeater_cliHelpGetGuestPassword => '구성된 게스트 비밀번호를 표시합니다.'; @@ -3203,13 +3501,13 @@ class AppLocalizationsKo extends AppLocalizations { String get repeater_cliHelpGetRxDelay => 'Rxdelay 기본 값을 표시합니다.'; @override - String get repeater_cliHelpGetTxDelay => '홍수 모드에서의 전송 지연 계수를 보여줍니다.'; + String get repeater_cliHelpGetTxDelay => '플러딩 모드에서의 전송 지연 계수를 보여줍니다.'; @override String get repeater_cliHelpGetDirectTxDelay => '직렬 모드에서의 딜레이 계수를 보여줍니다.'; @override - String get repeater_cliHelpGetFloodMax => '최대 홍수 발생 횟수를 보여줍니다.'; + String get repeater_cliHelpGetFloodMax => '최대 플러딩 홉 수를 보여줍니다.'; @override String get repeater_cliHelpGetOwnerInfo => '소유주 연락처 정보를 표시합니다.'; @@ -3285,10 +3583,10 @@ class AppLocalizationsKo extends AppLocalizations { '기본 지역 범위를 설정합니다. \"\"을 사용하여 초기화합니다.'; @override - String get repeater_cliHelpRegionListAllowed => '홍수 피해 차량 통행이 가능한 지역 목록'; + String get repeater_cliHelpRegionListAllowed => '플러딩 트래픽이 허용되는 지역 목록'; @override - String get repeater_cliHelpRegionListDenied => '홍수 발생 시 통행 금지 지역 목록'; + String get repeater_cliHelpRegionListDenied => '플러딩 트래픽이 금지되는 지역 목록'; @override String get repeater_cliHelpStatsPackets => '(전송 속도만 표시) 패킷 수준의 통계 정보를 보여줍니다.'; @@ -3570,7 +3868,7 @@ class AppLocalizationsKo extends AppLocalizations { String get channelPath_unknownPath => '알 수 없음'; @override - String get channelPath_floodPath => '홍수'; + String get channelPath_floodPath => '플러딩'; @override String get channelPath_directPath => '직접'; @@ -4041,13 +4339,13 @@ class AppLocalizationsKo extends AppLocalizations { String get contacts_contactImportFailed => '연락처를 가져오지 못했습니다.'; @override - String get contacts_zeroHopAdvert => '제로 홉 광고'; + String get contacts_zeroHopAdvert => '제로 홉 어드버트'; @override - String get contacts_floodAdvert => '홍수 광고'; + String get contacts_floodAdvert => '플러딩 어드버트'; @override - String get contacts_copyAdvertToClipboard => '광고 텍스트를 클립보드에 복사'; + String get contacts_copyAdvertToClipboard => '어드버트 텍스트를 클립보드에 복사'; @override String get contacts_addContactFromClipboard => '복사본에서 연락처 추가'; @@ -4056,19 +4354,19 @@ class AppLocalizationsKo extends AppLocalizations { String get contacts_ShareContact => '연락처를 복사'; @override - String get contacts_ShareContactZeroHop => '광고를 통해 연락처 공유'; + String get contacts_ShareContactZeroHop => '어드버트를 통해 연락처 공유'; @override - String get contacts_zeroHopContactAdvertSent => '광고를 통해 연락처를 받았습니다.'; + String get contacts_zeroHopContactAdvertSent => '어드버트를 통해 연락처를 받았습니다.'; @override String get contacts_zeroHopContactAdvertFailed => '연락처 전송에 실패했습니다.'; @override - String get contacts_contactAdvertCopied => '광고 내용이 복사되었습니다.'; + String get contacts_contactAdvertCopied => '어드버트 내용이 복사되었습니다.'; @override - String get contacts_contactAdvertCopyFailed => '광고를 클립보드에 복사하는 데 실패했습니다.'; + String get contacts_contactAdvertCopyFailed => '어드버트를 클립보드에 복사하는 데 실패했습니다.'; @override String get notification_activityTitle => '메쉬코어 활동'; @@ -4168,6 +4466,10 @@ class AppLocalizationsKo extends AppLocalizations { @override String get snrIndicator_lastSeen => '마지막으로 목격'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => '연락처 설정'; @@ -4265,6 +4567,12 @@ class AppLocalizationsKo extends AppLocalizations { @override String get radioStats_screenTitle => '라디오 통계'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => '라디오 통계를 확인하기 위해 장치에 연결합니다.'; @@ -4638,6 +4946,25 @@ class AppLocalizationsKo extends AppLocalizations { @override String get imageSend_cropNote => '512 × 512로 크기가 조정되었으며, 종횡비는 유지되지 않았습니다.'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => '원문 없음'; @@ -4697,7 +5024,7 @@ class AppLocalizationsKo extends AppLocalizations { @override String get imageSend_floodNote => - '홍수 라우팅: 범위 내의 모든 리피터가 각 패킷을 재전송하므로, 채널이 이보다 더 오래 점유 상태를 유지합니다.'; + '플러딩 라우팅: 범위 내의 모든 리피터가 각 패킷을 재전송하므로, 채널이 이보다 더 오래 점유 상태를 유지합니다.'; @override String get imageSend_parityTitle => '회복 패킷'; @@ -4801,6 +5128,29 @@ class AppLocalizationsKo extends AppLocalizations { @override String get receivedImage_tapToProcess => '처리하려면 탭을 누르세요.'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -4821,4 +5171,9 @@ class AppLocalizationsKo extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes분 $seconds초'; } + + @override + String chat_longMessageRetryNote(int count) { + return '158바이트 초과 시: 최대 $count회 전송됩니다'; + } } diff --git a/lib/l10n/app_localizations_nl.dart b/lib/l10n/app_localizations_nl.dart index a3703c7b..a67b641d 100644 --- a/lib/l10n/app_localizations_nl.dart +++ b/lib/l10n/app_localizations_nl.dart @@ -111,10 +111,44 @@ class AppLocalizationsNl extends AppLocalizations { String get messageStatus_repeated => 'Hearsay, herhaald'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'URL-afbeeldingen inschakelen'; + + @override + String get urlImage_possible => + 'Mogelijke URL-afbeelding; schakel dit in bij Instellingen.'; @override String get common_reboot => 'Herstarten'; @@ -371,6 +405,10 @@ class AppLocalizationsNl extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Radio instellingen bijgewerkt'; + @override + String get settings_radioSettingsNotApplied => + 'De radio heeft deze instellingen niet toegepast'; + @override String get settings_regionSettings => 'Regio\'s'; @@ -378,6 +416,23 @@ class AppLocalizationsNl extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Beheer van opgeslagen regio\'s'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Regionale Bestuur'; @@ -502,6 +557,10 @@ class AppLocalizationsNl extends AppLocalizations { @override String get settings_telemetryEnvironmentMode => 'Telemetrie-omgevingsmodus'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Advertentielocatie'; @@ -520,6 +579,10 @@ class AppLocalizationsNl extends AppLocalizations { @override String get settings_multiAck => 'Meerdere bevestigingen'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Telemetrie-modus bijgewerkt'; @@ -621,7 +684,7 @@ class AppLocalizationsNl extends AppLocalizations { String get settings_infoPublicKey => 'Openbare Sleutel'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Openbare sleutel gekopieerd'; @override String get settings_infoContactsCount => 'Aantal Contacten'; @@ -638,6 +701,13 @@ class AppLocalizationsNl extends AppLocalizations { @override String get settings_presets => 'Voorgeprogrammeerde instellingen'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frequentie (MHz)'; @@ -660,7 +730,9 @@ class AppLocalizationsNl extends AppLocalizations { String get settings_txPower => 'TX-Vermogen (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Ongeldige TX-vermogen (0-22 dBm)'; @@ -668,6 +740,11 @@ class AppLocalizationsNl extends AppLocalizations { @override String get settings_clientRepeat => 'Off-Grid Herhalen'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Laat dit apparaat de berichten van andere apparaten doorsturen.'; @@ -762,6 +839,39 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bytes'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Berichttracking inschakelen'; @@ -798,6 +908,13 @@ class AppLocalizationsNl extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Toon notificatie bij het ontvangen van nieuwe berichten'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Kanaal Bericht Meldingen'; @@ -1083,6 +1200,29 @@ class AppLocalizationsNl extends AppLocalizations { return 'Verwijder $contactName uit de contacten?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Beheer Repeater'; @@ -1231,6 +1371,18 @@ class AppLocalizationsNl extends AppLocalizations { @override String get channels_private => 'Privé'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Kanaal bewerken'; @@ -1362,6 +1514,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get channels_publicChannelAdded => 'Open kanaal toegevoegd'; + @override + String get channels_noFreeSlots => 'Alle kanaalslots zijn bezet'; + @override String get channels_sortBy => 'Sorteren door'; @@ -1431,6 +1586,19 @@ class AppLocalizationsNl extends AppLocalizations { @override String get channels_clearRegion => 'Duidelijke regio'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Nog geen berichten.'; @@ -1489,6 +1657,12 @@ class AppLocalizationsNl extends AppLocalizations { @override String get chat_sendGif => 'GIF verzenden'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Afbeelding verzenden via MeshCore'; @@ -1508,7 +1682,7 @@ class AppLocalizationsNl extends AppLocalizations { String get chat_me => 'Mijn'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Emoji-reacties'; @override String get emojiCategorySmileys => 'Emoji\'s'; @@ -1656,7 +1830,7 @@ class AppLocalizationsNl extends AppLocalizations { String get routing_modeAuto => 'Auto'; @override - String get routing_modeFlood => 'Overstroming'; + String get routing_modeFlood => 'Flood'; @override String get routing_modeManual => 'Handleiding'; @@ -1714,7 +1888,7 @@ class AppLocalizationsNl extends AppLocalizations { String get routing_qualityWorked => 'Is geleverd'; @override - String get routing_qualityFlood => 'Hears via een overstroming'; + String get routing_qualityFlood => 'Gehoord via flood'; @override String get routing_qualityUntested => 'Niet getest'; @@ -1733,14 +1907,14 @@ class AppLocalizationsNl extends AppLocalizations { } @override - String get routing_floodDelivery => 'Levering bij overstroming'; + String get routing_floodDelivery => 'Flood-levering'; @override String get pathEditor_title => 'Pad creëren'; @override String pathEditor_hopCounter(int count) { - return '$count van 64 hopgranen'; + return '$count van 64 hops'; } @override @@ -1769,7 +1943,7 @@ class AppLocalizationsNl extends AppLocalizations { } @override - String get pathEditor_tooManyHops => 'Maximaal 64 hopken'; + String get pathEditor_tooManyHops => 'Maximaal 64 hops'; @override String get pathEditor_usePath => 'Gebruik deze route.'; @@ -1796,6 +1970,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get chat_path => 'Pad'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Openbare Sleutel'; @@ -1815,7 +1992,7 @@ class AppLocalizationsNl extends AppLocalizations { } @override - String get chat_floodAuto => 'Overstroming (van een auto)'; + String get chat_floodAuto => 'Flood (automatisch)'; @override String get chat_direct => 'Direct'; @@ -1834,6 +2011,12 @@ class AppLocalizationsNl extends AppLocalizations { @override String get chat_newMessages => 'Nieuwe berichten'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Link openen?'; @@ -1879,6 +2062,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get map_centerOnNode => 'Centreer op node'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Details'; @@ -1897,6 +2083,10 @@ class AppLocalizationsNl extends AppLocalizations { @override String get map_noNodesWithLocation => 'Geen nodes met locatiegegevens'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Nodes moeten hun GPS-coördinaten delen\nom op de kaart te verschijnen'; @@ -2039,6 +2229,16 @@ class AppLocalizationsNl extends AppLocalizations { String get map_showGuessedLocations => 'Toon de voorspelde locaties van de knopen'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Ontdek contacten weergeven'; @@ -2060,6 +2260,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get map_manageRepeater => 'Beheer Repeater'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Tik op knooppunten om ze toe te voegen aan het pad'; @@ -2264,6 +2467,12 @@ class AppLocalizationsNl extends AppLocalizations { @override String get login_enterPassword => 'Wachtwoord invoeren'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Wachtwoord opslaan'; @@ -2279,6 +2488,9 @@ class AppLocalizationsNl extends AppLocalizations { String get login_roomDescription => 'Voer het wachtwoord van de kamer in om toegang te krijgen tot instellingen en status.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Routeplanning'; @@ -2317,6 +2529,9 @@ class AppLocalizationsNl extends AppLocalizations { @override String get common_clear => 'Schoonmaken'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Huidige pad'; @@ -2341,6 +2556,12 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_guestTools => 'Gastenfuncties'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Status'; @@ -2471,7 +2692,7 @@ class AppLocalizationsNl extends AppLocalizations { @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Overstroming: $flood, Direct: $direct'; + return 'Flood: $flood, Direct: $direct'; } @override @@ -2770,7 +2991,7 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Herzendinterval voor verkeer tijdens overstromingen, als een veelvoud van de tijd die het pakket nodig heeft (0-2, standaard 0.5). Een hoger getal betekent minder botsingen, maar ook een langere leveringstijd.'; + 'Herzendinterval voor flood-verkeer, als een veelvoud van de tijd die het pakket nodig heeft (0-2, standaard 0.5). Een hoger getal betekent minder botsingen, maar ook een langere leveringstijd.'; @override String get repeater_directTxDelay => 'Directe vertraging'; @@ -2798,11 +3019,11 @@ class AppLocalizationsNl extends AppLocalizations { String get repeater_actionsTitle => 'Acties'; @override - String get repeater_sendAdvert => 'Verzend advertentie over overstromingen'; + String get repeater_sendAdvert => 'Verzend flood-advertentie'; @override String get repeater_sendAdvertSubtitle => - 'Zend een advertentie over overstromingen uit via het netwerk.'; + 'Zend een flood-advertentie uit via het netwerk.'; @override String get repeater_sendAdvertZeroHop => @@ -2863,6 +3084,17 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Privacymode vernieuwen'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label is vernieuwd'; @@ -3156,6 +3388,75 @@ class AppLocalizationsNl extends AppLocalizations { String get repeater_commandsListNote => 'LET OP: voor de verschillende \"set ...\" commando\'s is er ook een \"get ...\" commando.'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Ongeldige frequentie (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 tot 30 dBm'; + + @override + String get repeater_recvErrors => 'Ontvangstfouten'; + + @override + String get room_postsStored => 'Opgeslagen posts'; + + @override + String get room_postsPushed => 'Verzonden posts'; + + @override + String get repeater_cliRegionLoadActive => + 'Regio-laadmodus: verstuur per regel één regionaam, ingesprongen met spaties onder de bovenliggende regio (voeg F toe na de naam om flood toe te staan). Regels krijgen geen antwoord. Verstuur een lege regel om te voltooien en dan \"region save\" om het resultaat te bewaren.'; + + @override + String get repeater_cliRegionLoadHint => + 'Regioregel, of leeg om te voltooien'; + + @override + String get repeater_cliRegionLoadEnd => '(einde van regio-laadmodus)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definieert een keten van regio\'s in één commando: elke naam wordt onder de vorige toegevoegd; \"name,parent\" voegt de naam toe en gaat dan verder onder de opgegeven bovenliggende regio. Antwoordt met de regiolijst.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Stelt het maximale aantal hops in voor het doorsturen van flood-pakketten zonder regio-scope (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Stelt het maximale aantal hops in voor het doorsturen van flood-advertenties (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Toont het maximale aantal hops voor flood-pakketten zonder regio-scope.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Toont het maximale aantal hops voor flood-advertenties.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Schakelt de RX-versterking (LNA) van de LoRa-frontendmodule. Boards zonder deze module antwoorden met \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Schakelt de TX-versterking (PA) van de LoRa-frontendmodule. Boards zonder deze module antwoorden met \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Toont of de RX-versterking van de LoRa-frontendmodule aan staat.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Toont of de TX-versterking van de LoRa-frontendmodule aan staat.'; + + @override + String get repeater_bridgeNote => + 'Alleen beschikbaar bij firmware gebouwd met een bridge (RS232 of ESP-NOW).'; + @override String get repeater_general => 'Algemeen'; @@ -3327,11 +3628,11 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Geeft de duur van de lokale reclame in minuten aan.'; + 'Geeft de duur van het lokale advertentie-interval in minuten aan.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Geeft de duur van de reclame-interval in uren aan.'; + 'Geeft de duur van het flood-advertentie-interval in uren aan.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3357,7 +3658,7 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Toont het maximale aantal keer dat een overstroming heeft plaatsgevonden.'; + 'Toont het maximale aantal hops voor flood-pakketten.'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3445,11 +3746,11 @@ class AppLocalizationsNl extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Lijst van gebieden waar doorstromen tijdens overstromingen is toegestaan.'; + 'Geeft een lijst van regio\'s die flood-verkeer toestaan.'; @override String get repeater_cliHelpRegionListDenied => - 'Geeft een lijst van regio\'s die het verkeer tijdens overstromingen verbieden.'; + 'Geeft een lijst van regio\'s die flood-verkeer verbieden.'; @override String get repeater_cliHelpStatsPackets => @@ -3736,7 +4037,7 @@ class AppLocalizationsNl extends AppLocalizations { String get channelPath_unknownPath => 'Onbekend'; @override - String get channelPath_floodPath => 'Overstroming'; + String get channelPath_floodPath => 'Flood'; @override String get channelPath_directPath => 'Direct'; @@ -4226,10 +4527,10 @@ class AppLocalizationsNl extends AppLocalizations { 'Contact kon niet geïmporteerd worden.'; @override - String get contacts_zeroHopAdvert => 'Zero Hop Reclame'; + String get contacts_zeroHopAdvert => 'Zero-hop-advertentie'; @override - String get contacts_floodAdvert => 'Overstromingsadvertentie'; + String get contacts_floodAdvert => 'Flood-advertentie'; @override String get contacts_copyAdvertToClipboard => 'Advert naar klembord kopiëren'; @@ -4254,7 +4555,7 @@ class AppLocalizationsNl extends AppLocalizations { @override String get contacts_contactAdvertCopied => - 'Reclame gekopieerd naar Klembord.'; + 'Advertentie gekopieerd naar Klembord.'; @override String get contacts_contactAdvertCopyFailed => @@ -4363,6 +4664,10 @@ class AppLocalizationsNl extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Laatst gezien'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Instellingen voor contacten'; @@ -4468,6 +4773,12 @@ class AppLocalizationsNl extends AppLocalizations { @override String get radioStats_screenTitle => 'Statistieken over radio'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Verbind met een apparaat om radio-statistieken te bekijken.'; @@ -4854,6 +5165,25 @@ class AppLocalizationsNl extends AppLocalizations { String get imageSend_cropNote => 'Aangepast aan 512 × 512 · het aspectverhouding is niet behouden'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Oorspronkelijk'; @@ -4914,7 +5244,7 @@ class AppLocalizationsNl extends AppLocalizations { @override String get imageSend_floodNote => - 'Overstromingsrouting: elke repeater binnen bereik herzendsends elk pakket opnieuw, waardoor het kanaal langer bezig blijft dan dit.'; + 'Flood-routing: elke repeater binnen bereik herzendsends elk pakket opnieuw, waardoor het kanaal langer bezig blijft dan dit.'; @override String get imageSend_parityTitle => 'Herstelpakket'; @@ -5024,6 +5354,29 @@ class AppLocalizationsNl extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Tik om te verwerken'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5044,4 +5397,9 @@ class AppLocalizationsNl extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes m $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Meer dan 158 bytes: maximaal $count keer verzonden'; + } } diff --git a/lib/l10n/app_localizations_pl.dart b/lib/l10n/app_localizations_pl.dart index 2bbc0430..3fc84fed 100644 --- a/lib/l10n/app_localizations_pl.dart +++ b/lib/l10n/app_localizations_pl.dart @@ -111,10 +111,44 @@ class AppLocalizationsPl extends AppLocalizations { String get messageStatus_repeated => 'Usłyszałem to wielokrotnie'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Włącz obrazy z URL'; + + @override + String get urlImage_possible => + 'Możliwy obraz z URL; włącz go w Ustawieniach.'; @override String get common_reboot => 'Uruchom ponownie'; @@ -377,6 +411,10 @@ class AppLocalizationsPl extends AppLocalizations { String get settings_radioSettingsUpdated => 'Ustawienia radia zostały zaktualizowane'; + @override + String get settings_radioSettingsNotApplied => + 'Radio nie zastosowało tych ustawień'; + @override String get settings_regionSettings => 'Regiony'; @@ -384,6 +422,23 @@ class AppLocalizationsPl extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Zarządzanie zapisanymi regionami'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Zarządzanie Regionami'; @@ -510,7 +565,11 @@ class AppLocalizationsPl extends AppLocalizations { 'Tryb środowiska telemetrycznego'; @override - String get settings_advertLocation => 'Lokalizacja reklamowa'; + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + + @override + String get settings_advertLocation => 'Lokalizacja rozgłoszenia'; @override String get settings_advertLocationSubtitle => @@ -527,6 +586,10 @@ class AppLocalizationsPl extends AppLocalizations { @override String get settings_multiAck => 'Wielokrotne potwierdzenia odbioru'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Tryb telemetryczny zaktualizowany'; @@ -629,7 +692,7 @@ class AppLocalizationsPl extends AppLocalizations { String get settings_infoPublicKey => 'Klucz Publiczny'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Skopiowano klucz publiczny'; @override String get settings_infoContactsCount => 'Liczba kontaktów'; @@ -646,6 +709,13 @@ class AppLocalizationsPl extends AppLocalizations { @override String get settings_presets => 'Presety'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Częstotliwość (MHz)'; @@ -669,7 +739,9 @@ class AppLocalizationsPl extends AppLocalizations { String get settings_txPower => 'Moc TX (dBm)'; @override - String get settings_txPowerHelper => '0 – 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Nieprawidłowa moc TX (0-22 dBm)'; @@ -677,6 +749,11 @@ class AppLocalizationsPl extends AppLocalizations { @override String get settings_clientRepeat => 'Powtórzenie: Niezależne od sieci'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Pozwól temu urządzeniu powtarzać pakiety danych dla innych urządzeń.'; @@ -771,6 +848,39 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bajty'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Włącz śledzenie wiadomości'; @@ -806,6 +916,13 @@ class AppLocalizationsPl extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Pokaż powiadomienie przy otrzymywaniu nowych wiadomości'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Powiadomienia o Wiadomościach na Kanałach'; @@ -846,7 +963,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get appSettings_autoRouteRotationSubtitle => - 'Przełączaj się między najlepszymi ścieżkami a trybem zalewowym.'; + 'Przełączaj się między najlepszymi ścieżkami a trybem flood.'; @override String get appSettings_autoRouteRotationEnabled => @@ -1101,6 +1218,29 @@ class AppLocalizationsPl extends AppLocalizations { return 'Usunąć $contactName z kontaktów?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Zarządzaj przekaźnikiem'; @@ -1251,6 +1391,18 @@ class AppLocalizationsPl extends AppLocalizations { @override String get channels_private => 'Prywatny'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Edytuj kanał'; @@ -1384,6 +1536,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get channels_publicChannelAdded => 'Kanał publiczny dodany'; + @override + String get channels_noFreeSlots => 'Wszystkie miejsca na kanały są zajęte'; + @override String get channels_sortBy => 'Sortuj po'; @@ -1453,6 +1608,19 @@ class AppLocalizationsPl extends AppLocalizations { @override String get channels_clearRegion => 'Przejrzyste obszar'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Brak jeszcze wiadomości'; @@ -1512,6 +1680,12 @@ class AppLocalizationsPl extends AppLocalizations { @override String get chat_sendGif => 'Wyślij GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Wyślij obraz przez MeshCore'; @@ -1531,7 +1705,7 @@ class AppLocalizationsPl extends AppLocalizations { String get chat_me => 'Ja'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Reakcje Emoji'; @override String get emojiCategorySmileys => 'Emoji'; @@ -1681,7 +1855,7 @@ class AppLocalizationsPl extends AppLocalizations { String get routing_modeAuto => 'Samochód'; @override - String get routing_modeFlood => 'Powódź'; + String get routing_modeFlood => 'Flood'; @override String get routing_modeManual => 'Instrukcja obsługi'; @@ -1761,22 +1935,22 @@ class AppLocalizationsPl extends AppLocalizations { } @override - String get routing_floodDelivery => 'Dostawa w przypadku powodzi'; + String get routing_floodDelivery => 'Dostawa flood'; @override String get pathEditor_title => 'Stworzenie ścieżki'; @override String pathEditor_hopCounter(int count) { - return '$count z 64 rodzajów chmielu'; + return '$count z 64 skoków'; } @override String get pathEditor_noHops => - 'Na razie nie dodano żadnych chmielu. Aby dodać je w odpowiedniej kolejności, kliknij w odpowiednie przyciski poniżej, lub zapisz przepis bez chmielu, aby wysłać go bezpośrednio.'; + 'Nie dodano jeszcze żadnych skoków. Stuknij przekaźniki poniżej, aby dodać je w kolejności, lub zapisz bez skoków, aby wysłać bezpośrednio.'; @override - String get pathEditor_addHops => 'Dodawaj chmiel zgodnie z kolejnością.'; + String get pathEditor_addHops => 'Dodawaj skoki w kolejności.'; @override String get pathEditor_searchRepeaters => 'Funkcje powtarzania'; @@ -1804,7 +1978,7 @@ class AppLocalizationsPl extends AppLocalizations { String get pathEditor_usePath => 'Użyj tej ścieżki.'; @override - String get pathEditor_removeHop => 'Usuń dziką psiankę'; + String get pathEditor_removeHop => 'Usuń skok'; @override String get pathEditor_unknownHop => 'Nieznany repeater'; @@ -1826,6 +2000,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get chat_path => 'Ścieżka'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Klucz Publiczny'; @@ -1833,7 +2010,7 @@ class AppLocalizationsPl extends AppLocalizations { String get chat_compressOutgoingMessages => 'Kompresuj wychodzące wiadomości'; @override - String get chat_floodForced => 'Zalew (wymuszony)'; + String get chat_floodForced => 'Flood (wymuszony)'; @override String get chat_directForced => 'Bezpośrednio (wymuszono)'; @@ -1844,7 +2021,7 @@ class AppLocalizationsPl extends AppLocalizations { } @override - String get chat_floodAuto => 'Zalew (automatyczny)'; + String get chat_floodAuto => 'Flood (automatyczny)'; @override String get chat_direct => 'Bezpośrednio'; @@ -1863,6 +2040,12 @@ class AppLocalizationsPl extends AppLocalizations { @override String get chat_newMessages => 'Nowe wiadomości'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Otworzyć link?'; @@ -1908,6 +2091,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get map_centerOnNode => 'Wyśrodkuj na węźle'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Szczegóły'; @@ -1926,6 +2112,10 @@ class AppLocalizationsPl extends AppLocalizations { @override String get map_noNodesWithLocation => 'Brak węzłów z danymi lokalizacyjnymi'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Węzły muszą udostępniać swoje współrzędne GPS,\naby pojawić się na mapie.'; @@ -2068,6 +2258,16 @@ class AppLocalizationsPl extends AppLocalizations { String get map_showGuessedLocations => 'Pokaż przypuszczalne lokalizacje węzłów'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Pokaż odkryte kontakty'; @@ -2089,6 +2289,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get map_manageRepeater => 'Zarządzaj przekaźnikiem'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Kliknij na węzły, aby dodać je do ścieżki.'; @@ -2294,6 +2497,12 @@ class AppLocalizationsPl extends AppLocalizations { @override String get login_enterPassword => 'Wprowadź hasło'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Zapisz hasło'; @@ -2309,6 +2518,9 @@ class AppLocalizationsPl extends AppLocalizations { String get login_roomDescription => 'Wprowadź hasło do pokoju, aby uzyskać dostęp do ustawień i statusu.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Trasowanie'; @@ -2319,7 +2531,7 @@ class AppLocalizationsPl extends AppLocalizations { String get login_autoUseSavedPath => 'Automatycznie (użyj zapisanej ścieżki)'; @override - String get login_forceFloodMode => 'Wymuś tryb zalewowy'; + String get login_forceFloodMode => 'Wymuś tryb flood'; @override String get login_managePaths => 'Zarządzaj Ścieżkami'; @@ -2347,6 +2559,9 @@ class AppLocalizationsPl extends AppLocalizations { @override String get common_clear => 'Wyczyść'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Aktualna ścieżka'; @@ -2372,6 +2587,12 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_guestTools => 'Narzędzia dla gości'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Stan'; @@ -2493,17 +2714,17 @@ class AppLocalizationsPl extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return 'Razem: $total, Zalew: $flood, Bezpośrednio: $direct'; + return 'Razem: $total, Flood: $flood, Bezpośrednio: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return 'Razem: $total, Zalew: $flood, Bezpośrednio: $direct'; + return 'Razem: $total, Flood: $flood, Bezpośrednio: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Zalew: $flood, Bezpośrednie: $direct'; + return 'Flood: $flood, Bezpośrednie: $direct'; } @override @@ -2610,7 +2831,7 @@ class AppLocalizationsPl extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => 'Interwał rozgłoszenia zalewowego'; + String get repeater_floodAdvertInterval => 'Interwał rozgłoszenia flood'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2743,7 +2964,7 @@ class AppLocalizationsPl extends AppLocalizations { 'Aktualizacja danych dotyczących operatora'; @override - String get repeater_floodMax => 'Maksymalna liczba skoków podczas powodzi'; + String get repeater_floodMax => 'Maksymalna liczba skoków flood'; @override String get repeater_floodMaxHelper => @@ -2804,7 +3025,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Ustawienie odstępu dla ruchu związanego z powodzią, jako mnożnik czasu przesyłania pakietu (0-2, domyślnie 0,5). Wyższe wartości oznaczają mniejszą liczbę kolizji, ale wolniejszą prędkość przesyłania.'; + 'Ustawienie odstępu dla ruchu flood, jako mnożnik czasu przesyłania pakietu (0-2, domyślnie 0,5). Wyższe wartości oznaczają mniejszą liczbę kolizji, ale wolniejszą prędkość przesyłania.'; @override String get repeater_directTxDelay => 'Bezpośrednie opóźnienie sygnału TX'; @@ -2831,18 +3052,18 @@ class AppLocalizationsPl extends AppLocalizations { String get repeater_actionsTitle => 'Działania'; @override - String get repeater_sendAdvert => 'Wysłać reklamę dotyczącą powodzi'; + String get repeater_sendAdvert => 'Wysłać rozgłoszenie flood'; @override String get repeater_sendAdvertSubtitle => - 'Wyemituj reklamę dotyczącą powodzi w sieci.'; + 'Wyemituj rozgłoszenie flood w sieci.'; @override - String get repeater_sendAdvertZeroHop => 'Wysłać reklamę bez pośrednictwa'; + String get repeater_sendAdvertZeroHop => 'Wysłać rozgłoszenie zero-hop'; @override String get repeater_sendAdvertZeroHopSubtitle => - 'Napisz reklamę, która będzie transmitowana bezpośrednio (bez powtarzania).'; + 'Wyemituj rozgłoszenie jednoskokowe (bez pośredników).'; @override String get repeater_clockSync => 'Synchronizuj zegar'; @@ -2893,6 +3114,17 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Odśwież Tryb Prywatności'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label odświeżone'; @@ -3009,7 +3241,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - 'Ustawia maksymalną liczbę skoków pakietu zalewowego (jeśli >= max, pakiet nie jest przekierowywany)'; + 'Ustawia maksymalną liczbę skoków pakietu flood (jeśli >= max, pakiet nie jest przekierowywany)'; @override String get repeater_cliHelpSetIntThresh => @@ -3056,7 +3288,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpSetTxDelay => - 'Ustawia czynnik mnożony przez czas utrzymania w trybie zalewowym dla pakietu oraz z wykorzystaniem losowego systemu slotów, aby opóźnić jego przesyłanie (zmniejszając prawdopodobieństwo kolizji).'; + 'Ustawia czynnik mnożony przez czas utrzymania w trybie flood dla pakietu oraz z wykorzystaniem losowego systemu slotów, aby opóźnić jego przesyłanie (zmniejszając prawdopodobieństwo kolizji).'; @override String get repeater_cliHelpSetDirectTxDelay => @@ -3119,7 +3351,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(tylko port szeregowy) Wyświetla wszystkie zdefiniowane regiony i aktualne uprawnienia do zalewu.'; + '(tylko port szeregowy) Wyświetla wszystkie zdefiniowane regiony i aktualne uprawnienia flood.'; @override String get repeater_cliHelpRegionLoad => @@ -3139,11 +3371,11 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpRegionAllowf => - 'Ustawia uprawnienia \'F\' (zalewowe) dla podanego regionu. (\'\' dla zakresu globalnego/starszego)'; + 'Ustawia uprawnienia \'F\' (flood) dla podanego regionu. (\'\' dla zakresu globalnego/starszego)'; @override String get repeater_cliHelpRegionDenyf => - 'Usuwa uprawnienie \'F\' (zalewowe) dla podanej strefy. (ZALECANE: na tym etapie NIE zaleca się używania tego na globalnym/starszym zakresie!!).'; + 'Usuwa uprawnienie \'F\' (flood) dla podanej strefy. (ZALECANE: na tym etapie NIE zaleca się używania tego na globalnym/starszym zakresie!!).'; @override String get repeater_cliHelpRegionHome => @@ -3186,6 +3418,76 @@ class AppLocalizationsPl extends AppLocalizations { String get repeater_commandsListNote => 'UWAGA: dla różnych poleceń \"set ...\" istnieje również polecenie \"get ...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => + 'Nieprawidłowa częstotliwość (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 do 30 dBm'; + + @override + String get repeater_recvErrors => 'Błędy Odbioru'; + + @override + String get room_postsStored => 'Posty'; + + @override + String get room_postsPushed => 'Wysłane Posty'; + + @override + String get repeater_cliRegionLoadActive => + 'Tryb wczytywania regionów: wysyłaj po jednej nazwie regionu w linii, wcięte spacjami pod regionem nadrzędnym (dodaj F po nazwie, aby zezwolić na flood). Linie nie otrzymują odpowiedzi. Wyślij pustą linię, aby zakończyć, a następnie \"region save\", aby zachować wynik.'; + + @override + String get repeater_cliRegionLoadHint => + 'Linia regionu lub pusta, aby zakończyć'; + + @override + String get repeater_cliRegionLoadEnd => '(koniec wczytywania regionów)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definiuje łańcuch regionów w jednej komendzie: każda nazwa jest dodawana pod poprzednią; \"name,parent\" dodaje nazwę, a następnie kontynuuje pod podanym regionem nadrzędnym. Odpowiada listą regionów.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Ustawia maksymalną liczbę skoków przy przekazywaniu pakietów flood bez przypisanego regionu (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Ustawia maksymalną liczbę skoków przy przekazywaniu rozgłoszeń flood (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Pokazuje maksymalną liczbę skoków dla pakietów flood bez przypisanego regionu.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Pokazuje maksymalną liczbę skoków dla rozgłoszeń flood.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Przełącza wzmocnienie RX (LNA) modułu front-end LoRa. Płytki bez tej funkcji odpowiadają \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Przełącza wzmocnienie TX (PA) modułu front-end LoRa. Płytki bez tej funkcji odpowiadają \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Pokazuje, czy wzmocnienie RX modułu front-end LoRa jest włączone.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Pokazuje, czy wzmocnienie TX modułu front-end LoRa jest włączone.'; + + @override + String get repeater_bridgeNote => + 'Dostępne tylko w firmware zbudowanym z mostkiem (RS232 lub ESP-NOW).'; + @override String get repeater_general => 'Ogólne'; @@ -3235,7 +3537,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Wysyła reklamę, która dociera bezpośrednio do sąsiadów (bez pośrednictwa).'; + 'Wysyła rozgłoszenie, które dociera bezpośrednio do sąsiadów (bez pośrednictwa).'; @override String get repeater_cliHelpStartOta => @@ -3358,11 +3660,11 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Pokazuje czas trwania lokalnej reklamy w minutach.'; + 'Pokazuje interwał lokalnego rozgłoszenia w minutach.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Pokazuje interwał reklamowy dotyczący powodzi w godzinach.'; + 'Pokazuje interwał rozgłoszenia flood w godzinach.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3382,7 +3684,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Pokazuje współczynnik opóźnienia transmisji w trybie zalewowym.'; + 'Pokazuje współczynnik opóźnienia transmisji w trybie flood.'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3390,7 +3692,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Pokazuje maksymalną liczbę skoków spowodowanych powodzią.'; + 'Pokazuje maksymalną liczbę skoków flood.'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3478,11 +3780,11 @@ class AppLocalizationsPl extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Wymienia regiony, w których dopuszczony jest ruch związany z powodzami.'; + 'Wymienia regiony, w których dozwolony jest ruch flood.'; @override String get repeater_cliHelpRegionListDenied => - 'Wymienia regiony, w których ruch związany z powodziami jest ograniczony.'; + 'Wymienia regiony, w których ruch flood jest zabroniony.'; @override String get repeater_cliHelpStatsPackets => @@ -3770,7 +4072,7 @@ class AppLocalizationsPl extends AppLocalizations { String get channelPath_unknownPath => 'Nieznane'; @override - String get channelPath_floodPath => 'Zalew'; + String get channelPath_floodPath => 'Flood'; @override String get channelPath_directPath => 'Bezpośrednio'; @@ -4044,7 +4346,7 @@ class AppLocalizationsPl extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Jeden lub więcej z chmieli nie ma określonej lokalizacji!'; + 'Jeden lub więcej skoków nie ma określonej lokalizacji!'; @override String get pathTrace_clearTooltip => 'Wyczyść ścieżkę'; @@ -4262,7 +4564,7 @@ class AppLocalizationsPl extends AppLocalizations { String get contacts_zeroHopAdvert => 'Rozgłoszenie zero-hop'; @override - String get contacts_floodAdvert => 'Rozgłoszenie zalewowe'; + String get contacts_floodAdvert => 'Rozgłoszenie flood'; @override String get contacts_copyAdvertToClipboard => 'Kopiuj rozgłoszenie do schowka'; @@ -4403,6 +4705,10 @@ class AppLocalizationsPl extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Ostatnio widziany'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Ustawienia kontaktów'; @@ -4508,6 +4814,12 @@ class AppLocalizationsPl extends AppLocalizations { @override String get radioStats_screenTitle => 'Statystyki radiowe'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Połącz się z urządzeniem, aby wyświetlić statystyki radiowe.'; @@ -4900,6 +5212,25 @@ class AppLocalizationsPl extends AppLocalizations { String get imageSend_cropNote => 'Zmniejszone do 512 × 512 · proporcje nie zostały zachowane'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Oryginalny'; @@ -5069,6 +5400,29 @@ class AppLocalizationsPl extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Kliknij, aby przetworzyć'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5089,4 +5443,9 @@ class AppLocalizationsPl extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes minut $seconds sekundy'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Powyżej 158 bajtów: wysyłane maksymalnie $count razy'; + } } diff --git a/lib/l10n/app_localizations_pt.dart b/lib/l10n/app_localizations_pt.dart index 84409093..4f8f02ff 100644 --- a/lib/l10n/app_localizations_pt.dart +++ b/lib/l10n/app_localizations_pt.dart @@ -111,10 +111,44 @@ class AppLocalizationsPt extends AppLocalizations { String get messageStatus_repeated => 'Ouvi repetidamente'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Ativar imagens de URL'; + + @override + String get urlImage_possible => + 'Possível imagem de URL; ative-a em Configurações.'; @override String get common_reboot => 'Reiniciar'; @@ -375,12 +409,33 @@ class AppLocalizationsPt extends AppLocalizations { String get settings_radioSettingsUpdated => 'Configurações de rádio atualizadas'; + @override + String get settings_radioSettingsNotApplied => + 'O rádio não aplicou estas configurações'; + @override String get settings_regionSettings => 'Regiões'; @override String get settings_regionSettingsSubtitle => 'Gerenciar regiões armazenadas'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Gestão de Região'; @@ -505,6 +560,10 @@ class AppLocalizationsPt extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Modo de Ambiente de Telemetria'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Localização do Anúncio'; @@ -523,6 +582,10 @@ class AppLocalizationsPt extends AppLocalizations { @override String get settings_multiAck => 'Multi-ACKs'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Modo de telemetria atualizado'; @@ -537,7 +600,7 @@ class AppLocalizationsPt extends AppLocalizations { 'Clear all path data from contacts.'; @override - String get settings_sendAdvertisement => 'Enviar Publicidade'; + String get settings_sendAdvertisement => 'Enviar Anúncio'; @override String get settings_sendAdvertisementSubtitle => @@ -626,7 +689,7 @@ class AppLocalizationsPt extends AppLocalizations { String get settings_infoPublicKey => 'Chave Pública'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Chave pública copiada'; @override String get settings_infoContactsCount => 'Número de Contatos'; @@ -643,6 +706,13 @@ class AppLocalizationsPt extends AppLocalizations { @override String get settings_presets => 'Configurações pré-definidas'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frequência (MHz)'; @@ -665,7 +735,9 @@ class AppLocalizationsPt extends AppLocalizations { String get settings_txPower => 'TX Potência (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Potência de TX inválida (0-22 dBm)'; @@ -673,6 +745,11 @@ class AppLocalizationsPt extends AppLocalizations { @override String get settings_clientRepeat => 'Repetição sem rede'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Permita que este dispositivo repita pacotes de rede para outros dispositivos.'; @@ -767,6 +844,39 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bytes'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Ativar rastreamento de mensagens'; @@ -802,6 +912,13 @@ class AppLocalizationsPt extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Mostrar notificação ao receber novas mensagens'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Notificações de Mensagens do Canal'; @@ -1090,6 +1207,29 @@ class AppLocalizationsPt extends AppLocalizations { return 'Remover $contactName dos contatos?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Gerenciar Repetidor'; @@ -1240,6 +1380,18 @@ class AppLocalizationsPt extends AppLocalizations { @override String get channels_private => 'Privado'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Editar canal'; @@ -1371,6 +1523,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get channels_publicChannelAdded => 'Canal público adicionado'; + @override + String get channels_noFreeSlots => 'Todos os slots de canal estão em uso'; + @override String get channels_sortBy => 'Ordenar por'; @@ -1440,6 +1595,19 @@ class AppLocalizationsPt extends AppLocalizations { @override String get channels_clearRegion => 'Região desimpedida'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Ainda não existem mensagens.'; @@ -1498,6 +1666,12 @@ class AppLocalizationsPt extends AppLocalizations { @override String get chat_sendGif => 'Enviar GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Enviar imagem via MeshCore'; @@ -1517,7 +1691,7 @@ class AppLocalizationsPt extends AppLocalizations { String get chat_me => 'Eu'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Reações com Emoji'; @override String get emojiCategorySmileys => 'Emojis'; @@ -1753,15 +1927,15 @@ class AppLocalizationsPt extends AppLocalizations { @override String pathEditor_hopCounter(int count) { - return '$count de 64 gramas de lúpulo'; + return '$count de 64 saltos'; } @override String get pathEditor_noHops => - 'Ainda não há lúpulos adicionados. Clique nos repetidores abaixo para adicioná-los na ordem desejada, ou salve sem adicionar lúpulos para enviar diretamente.'; + 'Ainda não há saltos adicionados. Clique nos repetidores abaixo para adicioná-los na ordem desejada, ou salve sem adicionar saltos para enviar diretamente.'; @override - String get pathEditor_addHops => 'Adicione os lúpulos na seguinte ordem.'; + String get pathEditor_addHops => 'Adicione os saltos na seguinte ordem.'; @override String get pathEditor_searchRepeaters => 'Encontrar repetidores'; @@ -1788,7 +1962,7 @@ class AppLocalizationsPt extends AppLocalizations { String get pathEditor_usePath => 'Utilize este caminho.'; @override - String get pathEditor_removeHop => 'Remova o lúpulo'; + String get pathEditor_removeHop => 'Remova o salto'; @override String get pathEditor_unknownHop => 'Repetidor desconhecido'; @@ -1809,6 +1983,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get chat_path => 'Caminho'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Chave Pública'; @@ -1846,6 +2023,12 @@ class AppLocalizationsPt extends AppLocalizations { @override String get chat_newMessages => 'Novas mensagens'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Abrir link?'; @@ -1891,6 +2074,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get map_centerOnNode => 'Centralizar no nó'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Detalhes'; @@ -1910,6 +2096,10 @@ class AppLocalizationsPt extends AppLocalizations { String get map_noNodesWithLocation => 'Não existem nós com dados de localização.'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Os nós precisam partilhar as suas coordenadas GPS\npara aparecerem no mapa'; @@ -2052,6 +2242,16 @@ class AppLocalizationsPt extends AppLocalizations { String get map_showGuessedLocations => 'Mostrar as localizações dos nós estimados'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Mostrar Contatos de Descoberta'; @@ -2073,6 +2273,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get map_manageRepeater => 'Gerenciar Repetidor'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Toque nos nós para adicioná-los ao caminho.'; @@ -2276,6 +2479,12 @@ class AppLocalizationsPt extends AppLocalizations { @override String get login_enterPassword => 'Insira a senha'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Salvar senha'; @@ -2291,6 +2500,9 @@ class AppLocalizationsPt extends AppLocalizations { String get login_roomDescription => 'Insira a senha da sala para acessar as configurações e o status.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Rotas'; @@ -2329,6 +2541,9 @@ class AppLocalizationsPt extends AppLocalizations { @override String get common_clear => 'Limpar'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Caminho atual'; @@ -2354,6 +2569,12 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_guestTools => 'Ferramentas para hóspedes'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Estado'; @@ -2879,6 +3100,17 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Atualizar Modo Privacidade'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label atualizado'; @@ -3015,7 +3247,7 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Define o intervalo do timer em horas para enviar um pacote de anúncio em massa. Defina como 0 para desativar.'; + 'Define o intervalo do timer em horas para enviar um pacote de anúncio de inundação. Defina como 0 para desativar.'; @override String get repeater_cliHelpSetGuestPassword => @@ -3125,11 +3357,11 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_cliHelpRegionAllowf => - 'Define a permissão de \'F\'luido para a região especificada. (\'\' para o escopo global/legado)'; + 'Define a permissão de \'F\'lood para a região especificada. (\'\' para o escopo global/legado)'; @override String get repeater_cliHelpRegionDenyf => - 'Remove a permissão de \"F\"luido para a região especificada. (NOTA: neste momento NÃO é aconselhável usar isso no escopo global/legado!!)'; + 'Remove a permissão de \"F\"lood para a região especificada. (NOTA: neste momento NÃO é aconselhável usar isso no escopo global/legado!!)'; @override String get repeater_cliHelpRegionHome => @@ -3172,6 +3404,75 @@ class AppLocalizationsPt extends AppLocalizations { String get repeater_commandsListNote => 'NOTA: para os diversos comandos \"set...\", também existe um comando \"get...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Frequência inválida (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 a 30 dBm'; + + @override + String get repeater_recvErrors => 'Erros de Recepção'; + + @override + String get room_postsStored => 'Publicações'; + + @override + String get room_postsPushed => 'Publicações Enviadas'; + + @override + String get repeater_cliRegionLoadActive => + 'Modo de carregamento de regiões: envie um nome de região por linha, indentado com espaços sob sua região pai (adicione F após o nome para permitir inundação). As linhas não recebem resposta. Envie uma linha vazia para terminar e depois \"region save\" para salvar o resultado.'; + + @override + String get repeater_cliRegionLoadHint => + 'Linha de região, ou vazia para terminar'; + + @override + String get repeater_cliRegionLoadEnd => '(fim do carregamento de regiões)'; + + @override + String get repeater_cliHelpRegionDef => + 'Define uma cadeia de regiões em um único comando: cada nome é adicionado sob o anterior; \"name,parent\" adiciona o nome e continua sob o pai indicado. Responde com a lista de regiões.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Define o número máximo de saltos para encaminhar pacotes de inundação sem escopo regional (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Define o número máximo de saltos para encaminhar anúncios de inundação (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Mostra o número máximo de saltos para pacotes de inundação sem escopo regional.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Mostra o número máximo de saltos para os anúncios de inundação.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Ativa ou desativa o ganho RX (LNA) do módulo frontal de LoRa. Placas sem esse módulo respondem \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Ativa ou desativa o ganho TX (PA) do módulo frontal de LoRa. Placas sem esse módulo respondem \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Mostra se o ganho RX do módulo frontal de LoRa está ativado.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Mostra se o ganho TX do módulo frontal de LoRa está ativado.'; + + @override + String get repeater_bridgeNote => + 'Disponível apenas em firmware compilado com uma ponte (RS232 ou ESP-NOW).'; + @override String get repeater_general => 'Geral'; @@ -3343,11 +3644,11 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Indica o intervalo de publicidade local em minutos.'; + 'Indica o intervalo de anúncio local em minutos.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Mostra o intervalo de tempo da publicidade relacionada às inundações, em horas.'; + 'Mostra o intervalo do anúncio de inundação, em horas.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3461,11 +3762,11 @@ class AppLocalizationsPt extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Lista as regiões que permitem o tráfego em áreas de risco de inundações.'; + 'Lista as regiões que permitem o tráfego por inundação.'; @override String get repeater_cliHelpRegionListDenied => - 'Lista as regiões que restringem o tráfego em áreas de risco de inundações.'; + 'Lista as regiões que negam o tráfego por inundação.'; @override String get repeater_cliHelpStatsPackets => @@ -3793,7 +4094,7 @@ class AppLocalizationsPt extends AppLocalizations { @override String get channelPath_noHopDetailsAvailable => - 'Não estão disponíveis detalhes de voo para este pacote.'; + 'Não estão disponíveis detalhes de salto para este pacote.'; @override String get channelPath_unknownRepeater => 'Repetidor Desconhecido'; @@ -4028,7 +4329,7 @@ class AppLocalizationsPt extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Um ou mais dos lúpulos estão sem localização!'; + 'Um ou mais dos saltos estão sem localização!'; @override String get pathTrace_clearTooltip => 'Limpar caminho'; @@ -4378,6 +4679,10 @@ class AppLocalizationsPt extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Visto pela última vez'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Configurações de contatos'; @@ -4485,6 +4790,12 @@ class AppLocalizationsPt extends AppLocalizations { @override String get radioStats_screenTitle => 'Estatísticas de rádio'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Conecte-se a um dispositivo para visualizar estatísticas de rádio.'; @@ -4871,6 +5182,25 @@ class AppLocalizationsPt extends AppLocalizations { String get imageSend_cropNote => 'Redimensionado para 512 × 512 · a proporção de aspecto não foi preservada'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Texto Original'; @@ -5041,6 +5371,29 @@ class AppLocalizationsPt extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Toque para processar'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5061,4 +5414,9 @@ class AppLocalizationsPt extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes min $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Mais de 158 bytes: enviado no máximo $count vezes'; + } } diff --git a/lib/l10n/app_localizations_ru.dart b/lib/l10n/app_localizations_ru.dart index e51a6c93..1ca1f432 100644 --- a/lib/l10n/app_localizations_ru.dart +++ b/lib/l10n/app_localizations_ru.dart @@ -111,10 +111,44 @@ class AppLocalizationsRu extends AppLocalizations { String get messageStatus_repeated => 'Услышал несколько раз'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Показывать изображения по URL'; + + @override + String get urlImage_possible => + 'Возможно изображение по URL; включите это в настройках.'; @override String get common_reboot => 'Перезагрузить'; @@ -374,6 +408,10 @@ class AppLocalizationsRu extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Настройки радио обновлены'; + @override + String get settings_radioSettingsNotApplied => + 'Радиомодуль не применил эти настройки'; + @override String get settings_regionSettings => 'Регионы'; @@ -381,6 +419,23 @@ class AppLocalizationsRu extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Управление сохранёнными регионами'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Управление регионами'; @@ -508,23 +563,31 @@ class AppLocalizationsRu extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Режим среды телеметрии'; @override - String get settings_advertLocation => 'Местоположение рекламы'; + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + + @override + String get settings_advertLocation => 'Местоположение анонса'; @override String get settings_advertLocationSubtitle => - 'Включить местоположение в объявление'; + 'Включить местоположение в анонс'; @override String get settings_autoZeroHopAdvertOnGpsUpdate => - 'Авто-объявление без хопов при обновлении GPS'; + 'Авто-анонс без хопов при обновлении GPS'; @override String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle => - 'Когда GPS-местоположение меняется, отправлять объявление без хопов (требуется геопозиция в объявлении).'; + 'Когда GPS-местоположение меняется, отправлять анонс без хопов (требуется геопозиция в анонсе).'; @override String get settings_multiAck => 'Несколько подтверждений'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Режим телеметрии обновлен'; @@ -627,7 +690,7 @@ class AppLocalizationsRu extends AppLocalizations { String get settings_infoPublicKey => 'Публичный ключ'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Публичный ключ скопирован'; @override String get settings_infoContactsCount => 'Количество контактов'; @@ -645,6 +708,13 @@ class AppLocalizationsRu extends AppLocalizations { @override String get settings_presets => 'Пресеты'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Частота (МГц)'; @@ -667,7 +737,9 @@ class AppLocalizationsRu extends AppLocalizations { String get settings_txPower => 'Мощность передачи (дБм)'; @override - String get settings_txPowerHelper => '0 – 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => @@ -676,6 +748,11 @@ class AppLocalizationsRu extends AppLocalizations { @override String get settings_clientRepeat => 'Повторение \"вне сети\"'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Позвольте этому устройству повторять пакеты данных для других устройств.'; @@ -770,6 +847,39 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 байта'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Включить трассировку сообщений'; @@ -786,7 +896,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get appSettings_enableNotificationsSubtitle => - 'Получать уведомления о сообщениях и оповещениях'; + 'Получать уведомления о сообщениях и анонсах'; @override String get appSettings_notificationPermissionDenied => @@ -805,6 +915,13 @@ class AppLocalizationsRu extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Показывать уведомление при получении новых сообщений'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Уведомления о сообщениях в каналах'; @@ -1047,7 +1164,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get contacts_contactsWillAppear => - 'Контакты появятся, когда устройства начнут рассылать оповещения'; + 'Контакты появятся, когда устройства начнут рассылать анонсы'; @override String get contacts_unread => 'Непрочитанное'; @@ -1094,6 +1211,29 @@ class AppLocalizationsRu extends AppLocalizations { return 'Удалить $contactName из контактов?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Управление репитером'; @@ -1244,6 +1384,18 @@ class AppLocalizationsRu extends AppLocalizations { @override String get channels_private => 'Приватный'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Изменить канал'; @@ -1375,6 +1527,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get channels_publicChannelAdded => 'Публичный канал добавлен'; + @override + String get channels_noFreeSlots => 'Нет свободных слотов для каналов'; + @override String get channels_sortBy => 'Сортировка'; @@ -1444,6 +1599,19 @@ class AppLocalizationsRu extends AppLocalizations { @override String get channels_clearRegion => 'Чистый регион'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Сообщений пока нет'; @@ -1502,6 +1670,12 @@ class AppLocalizationsRu extends AppLocalizations { @override String get chat_sendGif => 'Отправить GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Отправить изображение через MeshCore'; @@ -1521,7 +1695,7 @@ class AppLocalizationsRu extends AppLocalizations { String get chat_me => 'Я'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Реакции'; @override String get emojiCategorySmileys => 'Смайлы'; @@ -1671,7 +1845,7 @@ class AppLocalizationsRu extends AppLocalizations { String get routing_modeAuto => 'Авто'; @override - String get routing_modeFlood => 'Наводнение'; + String get routing_modeFlood => 'Рассылка'; @override String get routing_modeManual => 'Инструкция'; @@ -1719,7 +1893,7 @@ class AppLocalizationsRu extends AppLocalizations { String get routing_inUse => 'В эксплуатации'; @override - String get routing_qualityStrong => 'Сильный первый скачок'; + String get routing_qualityStrong => 'Сильный первый хоп'; @override String get routing_qualityGood => 'Хорошее начало'; @@ -1751,23 +1925,22 @@ class AppLocalizationsRu extends AppLocalizations { } @override - String get routing_floodDelivery => 'Доставка при затоплении'; + String get routing_floodDelivery => 'Доставка рассылкой'; @override String get pathEditor_title => 'Создать маршрут'; @override String pathEditor_hopCounter(int count) { - return '$count из 64 хмеля'; + return '$count из 64 хопов'; } @override String get pathEditor_noHops => - 'На данный момент хмель еще не добавлен. Чтобы добавить его, нажмите на соответствующие кнопки ниже в нужном порядке, или сохраните рецепт без хмеля, чтобы отправить его напрямую.'; + 'Пока не добавлено ни одного хопа. Нажимайте на репитеры ниже, чтобы добавлять их по порядку, или сохраните маршрут без хопов, чтобы отправить напрямую.'; @override - String get pathEditor_addHops => - 'Добавляйте хмель в соответствии с указанным порядком.'; + String get pathEditor_addHops => 'Добавляйте хопы по порядку'; @override String get pathEditor_searchRepeaters => 'Поиск повторителей'; @@ -1796,7 +1969,7 @@ class AppLocalizationsRu extends AppLocalizations { String get pathEditor_usePath => 'Используйте этот путь'; @override - String get pathEditor_removeHop => 'Удалить хмель'; + String get pathEditor_removeHop => 'Удалить хоп'; @override String get pathEditor_unknownHop => 'Неизвестный ретранслятор'; @@ -1817,6 +1990,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get chat_path => 'Маршрут'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Публичный ключ'; @@ -1854,6 +2030,12 @@ class AppLocalizationsRu extends AppLocalizations { @override String get chat_newMessages => 'Новые сообщения'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Открыть ссылку?'; @@ -1899,6 +2081,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get map_centerOnNode => 'Центрировать на узле'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Детали'; @@ -1917,6 +2102,10 @@ class AppLocalizationsRu extends AppLocalizations { @override String get map_noNodesWithLocation => 'Нет нод с данными о местоположении'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Ноды должны передавать свои GPS-координаты, чтобы отображаться на карте'; @@ -2059,6 +2248,16 @@ class AppLocalizationsRu extends AppLocalizations { String get map_showGuessedLocations => 'Отобразить предполагаемые места расположения узлов'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Показать контакты Discovery'; @@ -2080,6 +2279,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get map_manageRepeater => 'Управление репитером'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Нажимайте на узлы, чтобы добавить их в путь.'; @@ -2283,6 +2485,12 @@ class AppLocalizationsRu extends AppLocalizations { @override String get login_enterPassword => 'Введите пароль'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Сохранить пароль'; @@ -2298,6 +2506,9 @@ class AppLocalizationsRu extends AppLocalizations { String get login_roomDescription => 'Введите пароль комнаты для доступа к настройкам и статусу.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Маршрутизация'; @@ -2337,6 +2548,9 @@ class AppLocalizationsRu extends AppLocalizations { @override String get common_clear => 'Очистить'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Текущий маршрут'; @@ -2361,6 +2575,12 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_guestTools => 'Инструменты для гостей'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Статус'; @@ -2587,7 +2807,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_privacyModeSubtitle => - 'Скрывать имя/местоположение в оповещениях'; + 'Скрывать имя/местоположение в анонсах'; @override String get repeater_advertisementSettings => 'Настройки анонсирования'; @@ -2734,8 +2954,7 @@ class AppLocalizationsRu extends AppLocalizations { String get repeater_refreshOwnerInfo => 'Обновить информацию о операторе'; @override - String get repeater_floodMax => - 'Максимальное количество прыжков при наводнении'; + String get repeater_floodMax => 'Максимальное количество хопов при рассылке'; @override String get repeater_floodMaxHelper => @@ -2753,7 +2972,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_pathHashModeHelper => - 'Байты, используемые для кодирования идентификатора этого ретранслятора в тегах flood-маршрута/обнаружения циклов. 0 = 1 байт (256 идентификаторов, до 64 переходов), 1 = 2 байта (65 000 идентификаторов, до 32 переходов), 2 = 3 байта (16 миллионов идентификаторов, до 21 перехода). Прошивки до v1.14 всегда использовали 1-байтовые маршруты; v1.14 и новее можно настроить на 2- или 3-байтовые маршруты.'; + 'Байты, используемые для кодирования идентификатора этого ретранслятора в тегах flood-маршрута/обнаружения циклов. 0 = 1 байт (256 идентификаторов, до 64 хопов), 1 = 2 байта (65 000 идентификаторов, до 32 хопов), 2 = 3 байта (16 миллионов идентификаторов, до 21 хопа). Прошивки до v1.14 всегда использовали 1-байтовые маршруты; v1.14 и новее можно настроить на 2- или 3-байтовые маршруты.'; @override String get repeater_keySettings => 'Изменить ключи идентичности'; @@ -2795,7 +3014,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Передача с увеличенным интервалом для трафика во время наводнения, в качестве коэффициента, умножающего время передачи пакета (от 0 до 2, по умолчанию 0,5). Более высокое значение означает меньшее количество столкновений, но более медленную передачу.'; + 'Задержка повторной передачи для трафика при рассылке (flood), в качестве коэффициента, умножающего время передачи пакета (от 0 до 2, по умолчанию 0,5). Более высокое значение означает меньшее количество столкновений, но более медленную передачу.'; @override String get repeater_directTxDelay => 'Прямая задержка сигнала TX'; @@ -2822,19 +3041,19 @@ class AppLocalizationsRu extends AppLocalizations { String get repeater_actionsTitle => 'Действия'; @override - String get repeater_sendAdvert => 'Отправить объявление о наводнении'; + String get repeater_sendAdvert => 'Отправить анонс рассылкой'; @override String get repeater_sendAdvertSubtitle => - 'Разместите рекламу о наводнении в эфире по всей сети.'; + 'Разошлите анонс рассылкой по всей сети.'; @override String get repeater_sendAdvertZeroHop => - 'Опубликуйте рекламу, не требующую промежуточного распространения.'; + 'Опубликуйте анонс, не требующий промежуточного распространения.'; @override String get repeater_sendAdvertZeroHopSubtitle => - 'Разместите рекламу, распространяемую одним способом (без использования ретрансляторов).'; + 'Разместите анонс, распространяемый одним способом (без использования ретрансляторов).'; @override String get repeater_clockSync => 'Синхронизировать время сейчас'; @@ -2885,6 +3104,17 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Обновить режим конфиденциальности'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label обновлён'; @@ -3029,15 +3259,15 @@ class AppLocalizationsRu extends AppLocalizations { 'Устанавливает/обновляет гостевой пароль. (для репитеров гости могут отправлять запрос «Get Stats»)'; @override - String get repeater_cliHelpSetName => 'Устанавливает имя в оповещениях.'; + String get repeater_cliHelpSetName => 'Устанавливает имя анонса.'; @override String get repeater_cliHelpSetLat => - 'Устанавливает широту для карты в оповещениях. (десятичные градусы)'; + 'Устанавливает широту для карты анонса. (десятичные градусы)'; @override String get repeater_cliHelpSetLon => - 'Устанавливает долготу для карты в оповещениях. (десятичные градусы)'; + 'Устанавливает долготу для карты анонса. (десятичные градусы)'; @override String get repeater_cliHelpSetRadio => @@ -3104,7 +3334,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpNeighbors => - 'Показывает список других репитеров, услышанных через оповещения нулевого хопа. Каждая строка: префикс-id-в-hex:временная-метка:snr×4'; + 'Показывает список других репитеров, услышанных через анонсы нулевого хопа. Каждая строка: префикс-id-в-hex:временная-метка:snr×4'; @override String get repeater_cliHelpNeighborRemove => @@ -3180,6 +3410,75 @@ class AppLocalizationsRu extends AppLocalizations { String get repeater_commandsListNote => 'ПРИМЕЧАНИЕ: для большинства команд «set ...» существуют соответствующие команды «get ...».'; + @override + String get repeater_frequencyRangeHelper => '150-2500 МГц'; + + @override + String get repeater_frequencyInvalid => 'Недопустимая частота (150-2500 МГц)'; + + @override + String get repeater_txPowerRangeHelper => 'от -9 до 30 dBm'; + + @override + String get repeater_recvErrors => 'Ошибки приёма'; + + @override + String get room_postsStored => 'Публикации'; + + @override + String get room_postsPushed => 'Отправлено публикаций'; + + @override + String get repeater_cliRegionLoadActive => + 'Режим загрузки регионов: отправляйте по одному имени региона на строку, с отступом пробелами под родителем (добавьте F после имени, чтобы разрешить рассылку по сети). Строки не получают ответа. Отправьте пустую строку, чтобы завершить, затем \"region save\", чтобы сохранить результат.'; + + @override + String get repeater_cliRegionLoadHint => + 'Строка региона или пусто для завершения'; + + @override + String get repeater_cliRegionLoadEnd => '(конец загрузки регионов)'; + + @override + String get repeater_cliHelpRegionDef => + 'Задаёт цепочку регионов одной командой: каждое имя добавляется под предыдущим; \"name,parent\" добавляет имя и продолжает под указанным родителем. В ответ возвращается список регионов.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Задаёт максимальное число хопов для пересылки пакетов рассылки (flood) без региональной области (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Задаёт максимальное число хопов для пересылки анонсов, рассылаемых по сети (flood) (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Показывает максимальное число хопов для пакетов рассылки (flood) без региональной области.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Показывает максимальное число хопов для анонсов, рассылаемых по сети (flood).'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Переключает усиление RX (LNA) входного модуля LoRa. Платы без него отвечают \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Переключает усиление TX (PA) входного модуля LoRa. Платы без него отвечают \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Показывает, включено ли усиление RX на входном модуле LoRa.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Показывает, включено ли усиление TX на входном модуле LoRa.'; + + @override + String get repeater_bridgeNote => + 'Доступно только на прошивке, собранной с мостом (RS232 или ESP-NOW).'; + @override String get repeater_general => 'Общие'; @@ -3229,7 +3528,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Отправляет рекламу, распространяемую только среди ближайших соседей (без промежуточных узлов).'; + 'Отправляет анонс, распространяемый только среди ближайших соседей (без промежуточных узлов).'; @override String get repeater_cliHelpStartOta => @@ -3273,7 +3572,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpSetOwnerInfo => - 'Указывает строку с контактной информацией владельца, которая должна быть включена в объявления. Используйте \'|\' для переносов строк.'; + 'Указывает строку с контактной информацией владельца, которая должна быть включена в анонсы. Используйте \'|\' для переносов строк.'; @override String get repeater_cliHelpSetPathHashMode => @@ -3352,11 +3651,11 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Отображает продолжительность рекламного блока в минутах.'; + 'Отображает интервал локального анонсирования в минутах.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Отображает интервал времени показа рекламного ролика в часах.'; + 'Отображает интервал анонсирования рассылкой (flood) в часах.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3374,7 +3673,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Отображает коэффициент задержки при работе в режиме затопления.'; + 'Отображает коэффициент задержки при работе в режиме рассылки (flood).'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3382,7 +3681,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Отображает максимальное количество переходов при затоплении.'; + 'Отображает максимальное количество хопов при рассылке.'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3470,11 +3769,11 @@ class AppLocalizationsRu extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Перечисляет регионы, где разрешено движение транспорта во время наводнений.'; + 'Перечисляет регионы, где разрешена рассылка (flood).'; @override String get repeater_cliHelpRegionListDenied => - 'Перечисляет регионы, где запрещено движение транспорта во время наводнений.'; + 'Перечисляет регионы, где запрещена рассылка (flood).'; @override String get repeater_cliHelpStatsPackets => @@ -4036,7 +4335,7 @@ class AppLocalizationsRu extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Одному или нескольким хмелям не указано местоположение!'; + 'У одного или нескольких хопов не указано местоположение!'; @override String get pathTrace_clearTooltip => 'Очистить путь'; @@ -4251,14 +4550,14 @@ class AppLocalizationsRu extends AppLocalizations { String get contacts_contactImportFailed => 'Контакт не удалось импортировать'; @override - String get contacts_zeroHopAdvert => 'Реклама Zero Hop'; + String get contacts_zeroHopAdvert => 'Анонс без хопов'; @override - String get contacts_floodAdvert => 'Рекламный поток'; + String get contacts_floodAdvert => 'Анонс рассылкой'; @override String get contacts_copyAdvertToClipboard => - 'Копировать рекламу в буфер обмена'; + 'Копировать анонс в буфер обмена'; @override String get contacts_addContactFromClipboard => @@ -4268,24 +4567,21 @@ class AppLocalizationsRu extends AppLocalizations { String get contacts_ShareContact => 'Копировать контакт в буфер обмена'; @override - String get contacts_ShareContactZeroHop => - 'Поделиться контактом по объявлению'; + String get contacts_ShareContactZeroHop => 'Поделиться контактом по анонсу'; @override - String get contacts_zeroHopContactAdvertSent => - 'Отправлено сообщение по объявлению.'; + String get contacts_zeroHopContactAdvertSent => 'Контакт отправлен анонсом.'; @override String get contacts_zeroHopContactAdvertFailed => 'Не удалось отправить контакт.'; @override - String get contacts_contactAdvertCopied => - 'Реклама скопирована в буфер обмена.'; + String get contacts_contactAdvertCopied => 'Анонс скопирован в буфер обмена.'; @override String get contacts_contactAdvertCopyFailed => - 'Копирование рекламы в буфер обмена не удалось.'; + 'Копирование анонса в буфер обмена не удалось.'; @override String get notification_activityTitle => 'Активность MeshCore'; @@ -4396,6 +4692,10 @@ class AppLocalizationsRu extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Последний раз видели'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Настройки контактов'; @@ -4503,6 +4803,12 @@ class AppLocalizationsRu extends AppLocalizations { @override String get radioStats_screenTitle => 'Статистика радиовещания'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Подключитесь к устройству, чтобы просмотреть статистику радио.'; @@ -4893,6 +5199,25 @@ class AppLocalizationsRu extends AppLocalizations { String get imageSend_cropNote => 'Меняется размер на 512 × 512 · соотношение сторон не сохраняется'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Оригинал'; @@ -5065,6 +5390,29 @@ class AppLocalizationsRu extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Нажмите для обработки'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5085,4 +5433,9 @@ class AppLocalizationsRu extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes м $seconds с'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Более 158 байт: отправляется не более $count раз'; + } } diff --git a/lib/l10n/app_localizations_sk.dart b/lib/l10n/app_localizations_sk.dart index 4b3a5ba5..f6e4aad3 100644 --- a/lib/l10n/app_localizations_sk.dart +++ b/lib/l10n/app_localizations_sk.dart @@ -111,10 +111,44 @@ class AppLocalizationsSk extends AppLocalizations { String get messageStatus_repeated => 'Slyšal som to opakovane'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Povoliť obrázky z URL'; + + @override + String get urlImage_possible => + 'Možný obrázok z URL; povoľte ho v Nastaveniach.'; @override String get common_reboot => 'Restartovať'; @@ -373,12 +407,33 @@ class AppLocalizationsSk extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Nastavenia rádia aktualizované'; + @override + String get settings_radioSettingsNotApplied => + 'Rádio tieto nastavenia neuplatnilo'; + @override String get settings_regionSettings => 'Regiony'; @override String get settings_regionSettingsSubtitle => 'Zohľať uložené regiony'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Regiónne vedenie'; @@ -459,11 +514,11 @@ class AppLocalizationsSk extends AppLocalizations { String get settings_privacyMode => 'Režim ochrany súkromia'; @override - String get settings_privacyModeSubtitle => 'Skryť meno/poloha v reklamách'; + String get settings_privacyModeSubtitle => 'Skryť meno/poloha v inzerátoch'; @override String get settings_privacyModeToggle => - 'Prepínač súkromného režimu skryje vaše meno a polohu v reklamách.'; + 'Prepínač súkromného režimu skryje vaše meno a polohu v inzerátoch.'; @override String get settings_privacyModeEnabled => 'Ochranný režim je povolený.'; @@ -499,6 +554,10 @@ class AppLocalizationsSk extends AppLocalizations { @override String get settings_telemetryEnvironmentMode => 'Režim prostredia telemetrie'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Umiestnenie inzerátu'; @@ -516,6 +575,10 @@ class AppLocalizationsSk extends AppLocalizations { @override String get settings_multiAck => 'Viaceré ACK'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Režim telemetrie bol aktualizovaný'; @@ -531,13 +594,13 @@ class AppLocalizationsSk extends AppLocalizations { 'Clear all path data from contacts.'; @override - String get settings_sendAdvertisement => 'Odoslať reklamu'; + String get settings_sendAdvertisement => 'Odoslať inzerát'; @override String get settings_sendAdvertisementSubtitle => 'Momentálne priezornejšie.'; @override - String get settings_advertisementSent => 'Reklama odeslaná'; + String get settings_advertisementSent => 'Inzerát odoslaný'; @override String get settings_syncTime => 'Čas synchronizácie'; @@ -619,7 +682,7 @@ class AppLocalizationsSk extends AppLocalizations { String get settings_infoPublicKey => 'Verejný kľúč'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Verejný kľúč skopírovaný'; @override String get settings_infoContactsCount => 'Počet kontaktov'; @@ -636,6 +699,13 @@ class AppLocalizationsSk extends AppLocalizations { @override String get settings_presets => 'Prednastavenia'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frekvencia (MHz)'; @@ -658,7 +728,9 @@ class AppLocalizationsSk extends AppLocalizations { String get settings_txPower => 'TX Výkon (dBm)'; @override - String get settings_txPowerHelper => '0 – 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Neplatná hodnota výkonu TX (0-22 dBm)'; @@ -666,6 +738,11 @@ class AppLocalizationsSk extends AppLocalizations { @override String get settings_clientRepeat => 'Opätovné použitie bez elektrickej siete'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Umožnite, aby toto zariadenie opakovávalo siete pre ostatných.'; @@ -760,6 +837,39 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bity'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Povoliť sledovanie správ'; @@ -794,6 +904,13 @@ class AppLocalizationsSk extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Zobraziť upozornenie pri prijímaní nových správ'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Notifikácie z kanálov'; @@ -802,7 +919,8 @@ class AppLocalizationsSk extends AppLocalizations { 'Zobraziť upozornenie pri prijímaní správ z kanálu'; @override - String get appSettings_advertisementNotifications => 'Upozornenia na reklamy'; + String get appSettings_advertisementNotifications => + 'Upozornenia na inzeráty'; @override String get appSettings_advertisementNotificationsSubtitle => @@ -831,7 +949,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get appSettings_autoRouteRotationSubtitle => - 'Striedajte sa medzi najlepšími trasami a režimom povodňovej analýzy.'; + 'Striedajte sa medzi najlepšími trasami a flood režimom.'; @override String get appSettings_autoRouteRotationEnabled => @@ -1030,7 +1148,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get contacts_contactsWillAppear => - 'Kontakty sa zobrazia, keď zariadenia spúšťajú reklamu.'; + 'Kontakty sa zobrazia, keď zariadenia vysielajú inzerát.'; @override String get contacts_unread => 'Neprečítané'; @@ -1078,6 +1196,29 @@ class AppLocalizationsSk extends AppLocalizations { return 'Odstrániť $contactName z kontaktov?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Spravovať opakované zoznamy'; @@ -1229,6 +1370,18 @@ class AppLocalizationsSk extends AppLocalizations { @override String get channels_private => 'Osobné'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Upraviť kanál'; @@ -1361,6 +1514,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get channels_publicChannelAdded => 'Veľký kanál pridaný'; + @override + String get channels_noFreeSlots => 'Všetky miesta pre kanály sú obsadené'; + @override String get channels_sortBy => 'Triediť podľa'; @@ -1429,6 +1585,19 @@ class AppLocalizationsSk extends AppLocalizations { @override String get channels_clearRegion => 'Jasný údajný oblasť'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Zatiaľ žiadne správy.'; @@ -1487,6 +1656,12 @@ class AppLocalizationsSk extends AppLocalizations { @override String get chat_sendGif => 'Odoslať GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Odoslať obrázok cez MeshCore'; @@ -1506,7 +1681,7 @@ class AppLocalizationsSk extends AppLocalizations { String get chat_me => 'Mne'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Emoji reakcie'; @override String get emojiCategorySmileys => 'Emoji'; @@ -1655,7 +1830,7 @@ class AppLocalizationsSk extends AppLocalizations { String get routing_modeAuto => 'Auto'; @override - String get routing_modeFlood => 'Povodňová vlna'; + String get routing_modeFlood => 'Flood'; @override String get routing_modeManual => 'Ručná príručka'; @@ -1716,7 +1891,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get routing_qualityFlood => - 'Zistil som to z informácií, ktoré som získal v dôsledku povodňovej situácie.'; + 'Zistil som to z informácií, ktoré som získal cez flood.'; @override String get routing_qualityUntested => 'Neotestované'; @@ -1735,22 +1910,22 @@ class AppLocalizationsSk extends AppLocalizations { } @override - String get routing_floodDelivery => 'Doručenie v prípade povodní'; + String get routing_floodDelivery => 'Doručenie cez flood'; @override String get pathEditor_title => 'Vytvorenie cesty'; @override String pathEditor_hopCounter(int count) { - return '$count z 64 chmelových zŕš'; + return '$count z 64 skokov'; } @override String get pathEditor_noHops => - 'Zatiaľ žiadne chmel. Kliknite na opakované, aby ste ich pridali postupne, alebo uložte bez chmelu, aby ste ho mohli poslať priamo.'; + 'Zatiaľ žiadne skoky. Kliknite na opakovače nižšie, aby ste ich pridali postupne, alebo uložte bez skokov, aby ste správu mohli poslať priamo.'; @override - String get pathEditor_addHops => 'Pridávajte chmel podľa zadaného poriadku.'; + String get pathEditor_addHops => 'Pridávajte skoky podľa zadaného poriadku.'; @override String get pathEditor_searchRepeaters => 'Hľadať opakované'; @@ -1777,7 +1952,7 @@ class AppLocalizationsSk extends AppLocalizations { String get pathEditor_usePath => 'Použite túto cestu'; @override - String get pathEditor_removeHop => 'Odstráňte chmel'; + String get pathEditor_removeHop => 'Odstráňte skok'; @override String get pathEditor_unknownHop => @@ -1800,6 +1975,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get chat_path => 'Cesta'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Verejný kľúč'; @@ -1807,7 +1985,7 @@ class AppLocalizationsSk extends AppLocalizations { String get chat_compressOutgoingMessages => 'Komprimovať odoslané správy'; @override - String get chat_floodForced => 'Povodňová (nutená)'; + String get chat_floodForced => 'Flood (vynútený)'; @override String get chat_directForced => 'Priame (donútené)'; @@ -1818,7 +1996,7 @@ class AppLocalizationsSk extends AppLocalizations { } @override - String get chat_floodAuto => 'Povod (automaticky)'; + String get chat_floodAuto => 'Flood (automaticky)'; @override String get chat_direct => 'Priamo'; @@ -1837,6 +2015,12 @@ class AppLocalizationsSk extends AppLocalizations { @override String get chat_newMessages => 'Nové správy'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Otvoriť odkaz?'; @@ -1882,6 +2066,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get map_centerOnNode => 'Nacentrovať na uzol'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Podrobnosti'; @@ -1900,6 +2087,10 @@ class AppLocalizationsSk extends AppLocalizations { @override String get map_noNodesWithLocation => 'Žiadne uzly s údajmi o polohe'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Uholníky musia zdieľať svoje GPS súradnice, aby sa zobrazili na mape.'; @@ -2042,6 +2233,16 @@ class AppLocalizationsSk extends AppLocalizations { String get map_showGuessedLocations => 'Zobraziť umiestnenia odhadnutých uzlov'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Zobraziť kontakty objavov'; @@ -2063,6 +2264,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get map_manageRepeater => 'Spravovať Opakovanie'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Kliknite na uzly, aby ste ich pridali k ceste.'; @@ -2265,6 +2469,12 @@ class AppLocalizationsSk extends AppLocalizations { @override String get login_enterPassword => 'Zadajte heslo'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Uložiť heslo'; @@ -2280,6 +2490,9 @@ class AppLocalizationsSk extends AppLocalizations { String get login_roomDescription => 'Zadajte heslo do miestnosti na prístup k nastaveniam a stavu.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Rútiace'; @@ -2290,8 +2503,7 @@ class AppLocalizationsSk extends AppLocalizations { String get login_autoUseSavedPath => 'Použiť uloženú cestu'; @override - String get login_forceFloodMode => - 'Zavrieť režim núdzového povodňového režimu'; + String get login_forceFloodMode => 'Zavrieť núdzový flood režim'; @override String get login_managePaths => 'Spravovať Cesty'; @@ -2319,6 +2531,9 @@ class AppLocalizationsSk extends AppLocalizations { @override String get common_clear => 'Zmazať'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Aktuálny priebeh'; @@ -2344,6 +2559,12 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_guestTools => 'Nástroje pre hostí'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Stav'; @@ -2464,17 +2685,17 @@ class AppLocalizationsSk extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return 'Celkem: $total, Povodňový režim: $flood, Priamy: $direct'; + return 'Celkem: $total, Flood: $flood, Priamy: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return 'Celkem: $total, Povodňový režim: $flood, Priamy: $direct'; + return 'Celkem: $total, Flood: $flood, Priamy: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Pond: $flood, Priamy: $direct'; + return 'Flood: $flood, Priamy: $direct'; } @override @@ -2566,13 +2787,13 @@ class AppLocalizationsSk extends AppLocalizations { String get repeater_privacyMode => 'Režim ochrany súkromia'; @override - String get repeater_privacyModeSubtitle => 'Skryť meno/poloha v reklamách'; + String get repeater_privacyModeSubtitle => 'Skryť meno/poloha v inzerátoch'; @override - String get repeater_advertisementSettings => 'Nastavenia reklamy'; + String get repeater_advertisementSettings => 'Nastavenia inzerátov'; @override - String get repeater_localAdvertInterval => 'Lokálna reklamná časová obdoba'; + String get repeater_localAdvertInterval => 'Lokálna inzertná časová obdoba'; @override String repeater_localAdvertIntervalMinutes(int minutes) { @@ -2580,8 +2801,7 @@ class AppLocalizationsSk extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => - 'Interval reklamnej povodňovej reklamy'; + String get repeater_floodAdvertInterval => 'Interval flood inzerátu'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2589,7 +2809,7 @@ class AppLocalizationsSk extends AppLocalizations { } @override - String get repeater_encryptedAdvertInterval => 'Šifrovaný reklamný interval'; + String get repeater_encryptedAdvertInterval => 'Šifrovaný inzertný interval'; @override String get repeater_dangerZone => 'Nebezpečná zóna'; @@ -2712,7 +2932,7 @@ class AppLocalizationsSk extends AppLocalizations { String get repeater_refreshOwnerInfo => 'Zísť informácie o operátore'; @override - String get repeater_floodMax => 'Maximálny počet skokov pri povodni'; + String get repeater_floodMax => 'Maximálny počet skokov flood'; @override String get repeater_floodMaxHelper => @@ -2773,7 +2993,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Nastavenie pre opakované vysielanie pre dopravu počas povodní, ako násobok času, ktorý paket využije (0-2, výchoce hodnota 0,5). Vyššia hodnota znamená menej kolízii, ale pomalšie doručovanie.'; + 'Nastavenie pre opakované vysielanie pre flood dopravu, ako násobok času, ktorý paket využije (0-2, výchoce hodnota 0,5). Vyššia hodnota znamená menej kolízii, ale pomalšie doručovanie.'; @override String get repeater_directTxDelay => 'Priame oneskorenie TX'; @@ -2800,18 +3020,17 @@ class AppLocalizationsSk extends AppLocalizations { String get repeater_actionsTitle => 'Opatrenia'; @override - String get repeater_sendAdvert => 'Odoslať inzerát o povodňovej situácii'; + String get repeater_sendAdvert => 'Odoslať flood inzerát'; @override - String get repeater_sendAdvertSubtitle => - 'Zverejnite reklamu na povodňu prostredníctvom siete.'; + String get repeater_sendAdvertSubtitle => 'Zverejnite flood inzerát v sieti.'; @override - String get repeater_sendAdvertZeroHop => 'Odoslať reklamu bez prenosu'; + String get repeater_sendAdvertZeroHop => 'Odoslať inzerát bez prenosu'; @override String get repeater_sendAdvertZeroHopSubtitle => - 'Zverejnite reklamnú správu, ktorá sa prenáša len raz (bez prenosov).'; + 'Zverejnite inzerát, ktorý sa prenáša len raz (bez prenosov).'; @override String get repeater_clockSync => 'Synchronizujte hodiny teraz'; @@ -2862,6 +3081,17 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Obnoviť Ochranný režim'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label sa znova načítalo'; @@ -2928,7 +3158,7 @@ class AppLocalizationsSk extends AppLocalizations { String get repeater_cliQuickVersion => 'Verzia'; @override - String get repeater_cliQuickAdvertise => 'Reklama'; + String get repeater_cliQuickAdvertise => 'Inzerát'; @override String get repeater_cliQuickClock => 'Hodiny'; @@ -2940,7 +3170,7 @@ class AppLocalizationsSk extends AppLocalizations { String get repeater_cliQuickDiscovery => 'Objaviť susedov'; @override - String get repeater_cliHelpAdvert => 'Odosiela reklamnú balíček.'; + String get repeater_cliHelpAdvert => 'Odosiela inzertný balíček.'; @override String get repeater_cliHelpReboot => @@ -2995,26 +3225,26 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpSetAdvertInterval => - 'Nastavuje interval časovača v minútach na odošle miestny (bezprostredný) reklamný paket. Nastavenie na 0 vypne funkciu.'; + 'Nastavuje interval časovača v minútach na odoslanie miestneho (bezprostredného) inzertného paketu. Nastavenie na 0 vypne funkciu.'; @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Nastavuje interval časovača v hodinách na odeslanie reklamnej vlne. Nastavenie na 0 vypne.'; + 'Nastavuje interval časovača v hodinách na odoslanie flood inzerátu. Nastavenie na 0 vypne.'; @override String get repeater_cliHelpSetGuestPassword => 'Nastavuje/aktualizuje heslo hosťa. (pre opakované pripojenia môžu hosťovské prihlásenia posielať požadanie \"Get Stats\")'; @override - String get repeater_cliHelpSetName => 'Nastaví názov reklamy.'; + String get repeater_cliHelpSetName => 'Nastaví názov inzerátu.'; @override String get repeater_cliHelpSetLat => - 'Nastaví geografickú šírku reklamnej mapy. (desatinné stupne)'; + 'Nastaví geografickú šírku mapy inzerátu. (desatinné stupne)'; @override String get repeater_cliHelpSetLon => - 'Nastavuje longitudinu reklamnej mapy. (desatinné stupne)'; + 'Nastavuje longitúdu mapy inzerátu. (desatinné stupne)'; @override String get repeater_cliHelpSetRadio => @@ -3026,7 +3256,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpSetTxDelay => - 'Nastavuje faktor násobený časom na vzduchu pre paket v režime povodňovej vlny a s náhodným systémom slotov, aby sa oneskorene jeho prenosovanie (s cieľom znížiť pravdepodobnosť kolízii).'; + 'Nastavuje faktor násobený časom na vzduchu pre paket v režime flood a s náhodným systémom slotov, aby sa oneskorene jeho prenosovanie (s cieľom znížiť pravdepodobnosť kolízii).'; @override String get repeater_cliHelpSetDirectTxDelay => @@ -3081,7 +3311,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpNeighbors => - 'Zobrazuje zoznam iných repeaterových uzlov zasielaných cez zero-hop reklamy. Každý riadok je id-prefix-hex:timestamp:snr-times-4'; + 'Zobrazuje zoznam iných repeaterových uzlov zasielaných cez zero-hop inzeráty. Každý riadok je id-prefix-hex:timestamp:snr-times-4'; @override String get repeater_cliHelpNeighborRemove => @@ -3089,7 +3319,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(len sériál) Zobrazuje všetky definované regióny a aktuálne povolenia pre povodňové situácie.'; + '(len sériál) Zobrazuje všetky definované regióny a aktuálne povolenia pre flood.'; @override String get repeater_cliHelpRegionLoad => @@ -3143,11 +3373,11 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpGpsAdvert => - 'Poskytuje konfiguráciu reklamy pre uzol:\n- žiadna: nezahrňte polohu do reklám\n- zdieľať: zdieľajte GPS polohu (z SensorManager)\n- nastavenia: zobrazujte polohu uloženú v nastaveniach'; + 'Poskytuje konfiguráciu inzerátu pre uzol:\n- žiadna: nezahrňte polohu do inzerátov\n- zdieľať: zdieľajte GPS polohu (z SensorManager)\n- nastavenia: zobrazujte polohu uloženú v nastaveniach'; @override String get repeater_cliHelpGpsAdvertSet => - 'Nastavuje konfiguráciu reklamy na zadané miesto.'; + 'Nastavuje konfiguráciu inzerátu na zadané miesto.'; @override String get repeater_commandsListTitle => 'Zoznam príkazov'; @@ -3156,6 +3386,75 @@ class AppLocalizationsSk extends AppLocalizations { String get repeater_commandsListNote => 'Poznámka: pre rôzne príkazy \"set ...\" existuje aj príkaz \"get ...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Neplatná frekvencia (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 až 30 dBm'; + + @override + String get repeater_recvErrors => 'Chyby príjmu'; + + @override + String get room_postsStored => 'Príspevky'; + + @override + String get room_postsPushed => 'Odoslané príspevky'; + + @override + String get repeater_cliRegionLoadActive => + 'Režim načítania regiónov: pošlite po jednom názve regiónu na riadok, odsadenom medzerami pod jeho nadradeným regiónom (pridaním F za názov povolíte flood). Riadky nedostanú odpoveď. Prázdnym riadkom ukončite a potom príkazom \"region save\" výsledok uložte.'; + + @override + String get repeater_cliRegionLoadHint => + 'Riadok regiónu, alebo prázdny na ukončenie'; + + @override + String get repeater_cliRegionLoadEnd => '(koniec načítania regiónov)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definuje reťazec regiónov v jednom príkaze: každý názov sa pridá pod predchádzajúci; \"name,parent\" pridá názov a potom pokračuje pod zadaným nadradeným regiónom. Odpovie zoznamom regiónov.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Nastavuje maximálny počet skokov pri preposielaní flood paketov bez priradeného regiónu (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Nastavuje maximálny počet skokov pri preposielaní flood inzerátov (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Zobrazuje maximálny počet skokov pre flood pakety bez priradeného regiónu.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Zobrazuje maximálny počet skokov pre flood inzeráty.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Prepína RX zosilnenie (LNA) LoRa front-end modulu. Dosky bez neho odpovedia \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Prepína TX zosilnenie (PA) LoRa front-end modulu. Dosky bez neho odpovedia \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Zobrazuje, či je zapnuté RX zosilnenie LoRa front-end modulu.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Zobrazuje, či je zapnuté TX zosilnenie LoRa front-end modulu.'; + + @override + String get repeater_bridgeNote => + 'Dostupné len vo firmvéri zostavenom s mostom (RS232 alebo ESP-NOW).'; + @override String get repeater_general => 'Obecné'; @@ -3205,7 +3504,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Rozosiela reklamu, ktorá sa prenáša len medzi susednými zariadeniami (bez prenosu cez iné siete).'; + 'Rozosiela inzerát, ktorý sa prenáša len medzi susednými zariadeniami (bez prenosu cez iné siete).'; @override String get repeater_cliHelpStartOta => @@ -3249,7 +3548,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpSetOwnerInfo => - 'Definuje reťazec s informáciami o kontaktnom osobě, ktorý je zahrnutý v reklamách. Používajte \'|\' pre nové riadky.'; + 'Definuje reťazec s informáciami o kontaktnom osobě, ktorý je zahrnutý v inzerátoch. Používajte \'|\' pre nové riadky.'; @override String get repeater_cliHelpSetPathHashMode => @@ -3328,11 +3627,11 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Zobrazuje čas trvania miestnej reklamnej pauzy v minútach.'; + 'Zobrazuje interval miestneho inzerátu v minútach.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Zobrazuje časový interval reklamy počas záplavy v hodinách.'; + 'Zobrazuje časový interval flood inzerátu v hodinách.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3350,7 +3649,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Ukazuje faktor zpoždenia pre režim povodňovej komunikácie.'; + 'Ukazuje faktor zpoždenia pre režim flood.'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3358,7 +3657,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Zobrazuje maximálny počet opakovaní povodňového stavu.'; + 'Zobrazuje maximálny počet skokov flood.'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3446,11 +3745,11 @@ class AppLocalizationsSk extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Zoznam oblastí, ktoré umožňujú premávku počas povodní.'; + 'Zoznam oblastí, ktoré umožňujú premávku flood.'; @override String get repeater_cliHelpRegionListDenied => - 'Zoznam oblastí, ktoré zakazujú premávku v dôsledku povodní.'; + 'Zoznam oblastí, ktoré zakazujú premávku flood.'; @override String get repeater_cliHelpStatsPackets => @@ -3737,7 +4036,7 @@ class AppLocalizationsSk extends AppLocalizations { String get channelPath_unknownPath => 'Neznáme'; @override - String get channelPath_floodPath => 'Povodňová'; + String get channelPath_floodPath => 'Flood'; @override String get channelPath_directPath => 'Priamo'; @@ -4010,7 +4309,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Jedna alebo viac chmeľov chýba lokalita!'; + 'Jedna alebo viac skokov chýba lokalita!'; @override String get pathTrace_clearTooltip => 'Zmazať cestu'; @@ -4227,10 +4526,10 @@ class AppLocalizationsSk extends AppLocalizations { String get contacts_zeroHopAdvert => 'Inzerát Zero Hop'; @override - String get contacts_floodAdvert => 'Inzerát povodní'; + String get contacts_floodAdvert => 'Flood inzerát'; @override - String get contacts_copyAdvertToClipboard => 'Kopírovať reklamu do schránky'; + String get contacts_copyAdvertToClipboard => 'Kopírovať inzerát do schránky'; @override String get contacts_addContactFromClipboard => 'Pridať kontakt z schránky'; @@ -4362,6 +4661,10 @@ class AppLocalizationsSk extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Naposledy videný'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Nastavenia kontaktov'; @@ -4465,6 +4768,12 @@ class AppLocalizationsSk extends AppLocalizations { @override String get radioStats_screenTitle => 'Štatistiky rádiových vysielaní'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Pripojte sa k zariadeniu, aby ste mohli sledovať štatistiky rádiového vysielania.'; @@ -4853,6 +5162,25 @@ class AppLocalizationsSk extends AppLocalizations { String get imageSend_cropNote => 'Zmeneno na 512 × 512 · vzorýst nie byl zachovan'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Výborný text:\n\n\"Language is the road map of a culture. It tells us where to go as a society and helps us understand the world around us. Learning a new language opens up new perspectives and opportunities, allowing us to connect with people from different backgrounds and build bridges between cultures.\"\n\nSlovenská preklada:\n\n\"Jazyk je cesta pre zručnosti a odráža kultúru. Dá nám uvedomi, dokádať, kúdy sa pohladneme a pomáha našej společnosti poradiť sa v rôznych okolnosti a porozumieť o svetu kolem nás. Nauka nového jazyka otviera nové perspektívy a možnosti, čo pohybuje našu schopnosť sa spoluprávať s ľudmi z rôznych okolnosti a budovať mosty medzi kultúry.\"'; @@ -4914,7 +5242,7 @@ class AppLocalizationsSk extends AppLocalizations { @override String get imageSend_floodNote => - 'Povodný routing: každý repeater v rozsahu zrňa každý paket, takže kanál zostá zajetší dlouше, než tu.'; + 'Flood routing: každý repeater v rozsahu zrňa každý paket, takže kanál zostá zajetší dlouše, než tu.'; @override String get imageSend_parityTitle => 'Poučný paket pre očudenie'; @@ -5023,6 +5351,29 @@ class AppLocalizationsSk extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Ukliknite, aby sa príjomili'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5043,4 +5394,9 @@ class AppLocalizationsSk extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes min $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Nad 158 bajtov: odoslané najviac $count-krát'; + } } diff --git a/lib/l10n/app_localizations_sl.dart b/lib/l10n/app_localizations_sl.dart index ff9dbaf6..83e7a2a3 100644 --- a/lib/l10n/app_localizations_sl.dart +++ b/lib/l10n/app_localizations_sl.dart @@ -112,10 +112,44 @@ class AppLocalizationsSl extends AppLocalizations { String get messageStatus_repeated => 'Slišal sem večkrat'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Omogoči slike iz URL'; + + @override + String get urlImage_possible => + 'Mogoča slika iz URL; omogočite jo v Nastavitvah.'; @override String get common_reboot => 'Ponoviti'; @@ -372,12 +406,33 @@ class AppLocalizationsSl extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Radio nastavitve posodobljene'; + @override + String get settings_radioSettingsNotApplied => + 'Radio teh nastavitev ni uveljavil'; + @override String get settings_regionSettings => 'Regioni'; @override String get settings_regionSettingsSubtitle => 'Upravljanje opisanih regionov'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Regijonsko upravljanje'; @@ -501,6 +556,10 @@ class AppLocalizationsSl extends AppLocalizations { String get settings_telemetryEnvironmentMode => 'Način delovanja okolja telemetrije'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Lokacija oglasa'; @@ -518,6 +577,10 @@ class AppLocalizationsSl extends AppLocalizations { @override String get settings_multiAck => 'Več potrdil'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Način telemetrije posodobljen'; @@ -618,7 +681,7 @@ class AppLocalizationsSl extends AppLocalizations { String get settings_infoPublicKey => 'Javni ključ'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Javni ključ kopiran'; @override String get settings_infoContactsCount => 'Število stikov'; @@ -635,6 +698,13 @@ class AppLocalizationsSl extends AppLocalizations { @override String get settings_presets => 'Prednastavitve'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frekvenca (MHz)'; @@ -657,7 +727,9 @@ class AppLocalizationsSl extends AppLocalizations { String get settings_txPower => 'TX Moč (dBm)'; @override - String get settings_txPowerHelper => '0 – 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Neveljavna TX moč (0-22 dBm)'; @@ -665,6 +737,11 @@ class AppLocalizationsSl extends AppLocalizations { @override String get settings_clientRepeat => 'Neovadno ponavljanje'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Omogočite temu naprave, da ponavlja paketne sporočila za druge.'; @@ -759,6 +836,39 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 bite'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Omogoči sledenje sporočilom'; @@ -793,6 +903,13 @@ class AppLocalizationsSl extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Pokaži obvestilo ob prejemu novih sporočil.'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Obvestila o sporočilih kanala'; @@ -1079,6 +1196,29 @@ class AppLocalizationsSl extends AppLocalizations { return 'Izbrišem $contactName iz stikov?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Upravljaj Ponovitve'; @@ -1228,6 +1368,18 @@ class AppLocalizationsSl extends AppLocalizations { @override String get channels_private => 'Zasebni'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Uredi kanal'; @@ -1360,6 +1512,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get channels_publicChannelAdded => 'javna skupnost dodana'; + @override + String get channels_noFreeSlots => 'Vsa mesta za kanale so zasedena'; + @override String get channels_sortBy => 'Sortiraj po'; @@ -1428,6 +1583,19 @@ class AppLocalizationsSl extends AppLocalizations { @override String get channels_clearRegion => 'Jasna regija'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Še ni sporočil.'; @@ -1487,6 +1655,12 @@ class AppLocalizationsSl extends AppLocalizations { @override String get chat_sendGif => 'Pošlji GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Pošlji sliko prek MeshCore'; @@ -1506,7 +1680,7 @@ class AppLocalizationsSl extends AppLocalizations { String get chat_me => 'jaz'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Emoji reakcije'; @override String get emojiCategorySmileys => 'Emoji'; @@ -1654,7 +1828,7 @@ class AppLocalizationsSl extends AppLocalizations { String get routing_modeAuto => 'Avto'; @override - String get routing_modeFlood => 'Poplavo'; + String get routing_modeFlood => 'Flood'; @override String get routing_modeManual => 'Navodilo'; @@ -1712,7 +1886,7 @@ class AppLocalizationsSl extends AppLocalizations { String get routing_qualityWorked => 'Izpolnil'; @override - String get routing_qualityFlood => 'Slišano preko poplave'; + String get routing_qualityFlood => 'Slišano prek flooda'; @override String get routing_qualityUntested => 'Ne preizkušen'; @@ -1731,22 +1905,22 @@ class AppLocalizationsSl extends AppLocalizations { } @override - String get routing_floodDelivery => 'Dostava zaradi poplave'; + String get routing_floodDelivery => 'Dostava prek flooda'; @override String get pathEditor_title => 'Izgradnja poti'; @override String pathEditor_hopCounter(int count) { - return '$count od 64 različnih sort hropa'; + return '$count od 64 skokov'; } @override String get pathEditor_noHops => - 'Še niso dodani hmelji. Za dodajanje hmelja v vrstnem redu kliknite na povezavo spodaj, ali pa shranite brez dodanega hmelja, da ga lahko posredujete neposredno.'; + 'Še niso dodani skoki. Za dodajanje skokov v vrstnem redu kliknite na ponovitelje spodaj, ali pa shranite brez dodanih skokov, da ga lahko posredujete neposredno.'; @override - String get pathEditor_addHops => 'Dodajte suho travo v skladu s postopkom.'; + String get pathEditor_addHops => 'Dodajte skoke v vrstnem redu.'; @override String get pathEditor_searchRepeaters => 'Iskanje ponovitev'; @@ -1773,7 +1947,7 @@ class AppLocalizationsSl extends AppLocalizations { String get pathEditor_usePath => 'Uporabite to poto'; @override - String get pathEditor_removeHop => 'Odstranite hmelj'; + String get pathEditor_removeHop => 'Odstranite skok'; @override String get pathEditor_unknownHop => 'Neznani ponovitelj'; @@ -1794,6 +1968,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get chat_path => 'Pot'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Ključ javnega tipa'; @@ -1801,7 +1978,7 @@ class AppLocalizationsSl extends AppLocalizations { String get chat_compressOutgoingMessages => 'Stisnite izhodne sporočila'; @override - String get chat_floodForced => 'Porolni (nasilje).'; + String get chat_floodForced => 'Flood (vsiljeno)'; @override String get chat_directForced => 'Nezglašen (nasilje)'; @@ -1812,7 +1989,7 @@ class AppLocalizationsSl extends AppLocalizations { } @override - String get chat_floodAuto => 'Preplavljenje (avtomatizirano)'; + String get chat_floodAuto => 'Flood (samodejno)'; @override String get chat_direct => 'Neposredni'; @@ -1831,6 +2008,12 @@ class AppLocalizationsSl extends AppLocalizations { @override String get chat_newMessages => 'Nove novice'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Odpreti povezavo?'; @@ -1876,6 +2059,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get map_centerOnNode => 'Centriraj na vozlišče'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Podrobnosti'; @@ -1895,6 +2081,10 @@ class AppLocalizationsSl extends AppLocalizations { String get map_noNodesWithLocation => 'Nihče od notranjih elementov nima podatkov o lokaciji.'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Omrežje morajo deliti svoje GPS koordinate,\nda se prikazao na zemljeobrazniku.'; @@ -2036,6 +2226,16 @@ class AppLocalizationsSl extends AppLocalizations { @override String get map_showGuessedLocations => 'Pokaži lokacije domnevnih not.'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Prikaži odkritja kontaktov'; @@ -2057,6 +2257,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get map_manageRepeater => 'Upravljajte Ponovitve'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Pritisnite na vozlišča, da jih dodate poti.'; @@ -2263,6 +2466,12 @@ class AppLocalizationsSl extends AppLocalizations { @override String get login_enterPassword => 'Vnesite geslo'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Shrani geslo'; @@ -2278,6 +2487,9 @@ class AppLocalizationsSl extends AppLocalizations { String get login_roomDescription => 'Vnesite geslo v sobo za dostop do nastavitev in statusa.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Usmerjanje'; @@ -2288,7 +2500,7 @@ class AppLocalizationsSl extends AppLocalizations { String get login_autoUseSavedPath => 'Avto (uporabi shranjeno pot)'; @override - String get login_forceFloodMode => 'Nasilje obvezati v način'; + String get login_forceFloodMode => 'Vsili flood način'; @override String get login_managePaths => 'Upravljajte Potniške Proti'; @@ -2316,6 +2528,9 @@ class AppLocalizationsSl extends AppLocalizations { @override String get common_clear => 'Ponoviti'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Trenutna pot'; @@ -2341,6 +2556,12 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_guestTools => 'Naložila za goste'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Stanje'; @@ -2366,7 +2587,7 @@ class AppLocalizationsSl extends AppLocalizations { String get repeater_neighbors => 'Sosedi'; @override - String get repeater_neighborsSubtitle => 'Pogledati nič sosednjih hopjev.'; + String get repeater_neighborsSubtitle => 'Pogledati nič sosednjih skokov.'; @override String get repeater_settings => 'Nastavitve'; @@ -2462,17 +2683,17 @@ class AppLocalizationsSl extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return 'Skupno: $total, Poplava: $flood, Neposredno: $direct'; + return 'Skupno: $total, Flood: $flood, Neposredno: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return 'Skupno: $total, Poplava: $flood, Neposredno: $direct'; + return 'Skupno: $total, Flood: $flood, Neposredno: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Prah: $flood, Neposredni: $direct'; + return 'Flood: $flood, Neposredni: $direct'; } @override @@ -2579,7 +2800,7 @@ class AppLocalizationsSl extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => 'Razpon Obvestil o Poplavah'; + String get repeater_floodAdvertInterval => 'Razpon Flood Oglasov'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2766,11 +2987,11 @@ class AppLocalizationsSl extends AppLocalizations { } @override - String get repeater_txDelay => 'Zatemnitevanje zaradi poplav v Texasu'; + String get repeater_txDelay => 'Flood TX zakasnitev'; @override String get repeater_txDelayHelper => - 'Uporaba intervalov za ponovno pošiljanje v primeru prometa zaradi poplav, kot pomnožnik časovne trajanje paketa (0-2, privzeto 0,5). Veje vrednost = manjše kolizije, vendar počasnejše dostavo.'; + 'Uporaba intervalov za ponovno pošiljanje v primeru flood prometa, kot pomnožnik časovne trajanje paketa (0-2, privzeto 0,5). Veje vrednost = manjše kolizije, vendar počasnejše dostavo.'; @override String get repeater_directTxDelay => 'Neposredni časovno odlašanje'; @@ -2797,11 +3018,11 @@ class AppLocalizationsSl extends AppLocalizations { String get repeater_actionsTitle => 'Dejanja'; @override - String get repeater_sendAdvert => 'Pošlji oglas o poplavah'; + String get repeater_sendAdvert => 'Pošlji flood oglas'; @override String get repeater_sendAdvertSubtitle => - 'Razpustite oglas o poplavah preko omrežja.'; + 'Razpošlji flood oglas preko omrežja.'; @override String get repeater_sendAdvertZeroHop => @@ -2863,6 +3084,17 @@ class AppLocalizationsSl extends AppLocalizations { String get repeater_refreshPrivacyMode => 'Ponovno aktiviraj način zasebnosti'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label je bil/a posodobljen/a'; @@ -2979,7 +3211,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpSetFloodMax => - 'Nastavi največjo število skokov za vstopne poplave (če je >= maks, paket ni usmerjen)'; + 'Nastavi največje število skokov za vhodni flood paket (če je >= maks, paket ni posredovan)'; @override String get repeater_cliHelpSetIntThresh => @@ -2999,7 +3231,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Nastavi časovno obmesto v urah za pošiljanje plovilnega oglasnega paketa. Nastavi na 0 za onemogočanje.'; + 'Nastavi časovno obmesto v urah za pošiljanje flood oglasnega paketa. Nastavi na 0 za onemogočanje.'; @override String get repeater_cliHelpSetGuestPassword => @@ -3026,7 +3258,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpSetTxDelay => - 'Nastavi faktor, ki se množi s časom delovanja za paket v načinu poplavnega režima in z randomiziranim sistemom slotov, da odvrne njegovo posredovanje. (da se zmanjša verjetnost kolizij)'; + 'Nastavi faktor, ki se množi s časom delovanja za paket v flood načinu in z randomiziranim sistemom slotov, da odvrne njegovo posredovanje. (da se zmanjša verjetnost kolizij)'; @override String get repeater_cliHelpSetDirectTxDelay => @@ -3089,7 +3321,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(Serija samo) Navaja vse definirane regije in trenutne poplave dovolilnosti.'; + '(Serija samo) Navaja vse definirane regije in trenutna dovoljenja za flood.'; @override String get repeater_cliHelpRegionLoad => @@ -3156,6 +3388,75 @@ class AppLocalizationsSl extends AppLocalizations { String get repeater_commandsListNote => 'Opomba: za različne ukaze \"nastavi ...\" obstaja tudi ukaz \"dobi ...\".'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Neveljavna frekvenca (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 do 30 dBm'; + + @override + String get repeater_recvErrors => 'Napake sprejema'; + + @override + String get room_postsStored => 'Objave'; + + @override + String get room_postsPushed => 'Poslane objave'; + + @override + String get repeater_cliRegionLoadActive => + 'Način nalaganja regij: pošljite eno ime regije na vrstico, zamaknjeno s presledki pod nadrejeno regijo (dodajte F za imenom, da dovolite flood). Vrstice ne prejmejo odgovora. Pošljite prazno vrstico za konec, nato pa \"region save\", da shranite rezultat.'; + + @override + String get repeater_cliRegionLoadHint => + 'Vrstica regije ali prazna vrstica za konec'; + + @override + String get repeater_cliRegionLoadEnd => '(konec nalaganja regij)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definira verigo regij z enim ukazom: vsako ime se doda pod prejšnje; \"name,parent\" doda ime in nato nadaljuje pod navedeno nadrejeno regijo. Odgovori s seznamom regij.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Nastavi največje število skokov za posredovanje flood paketov brez določenega regijskega obsega (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Nastavi največje število skokov za posredovanje flood oglasov (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Prikaže največje število skokov za flood pakete brez določenega regijskega obsega.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Prikaže največje število skokov za flood oglase.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Preklopi RX ojačanje (LNA) LoRa front-end modula. Plošče brez njega odgovorijo z \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Preklopi TX ojačanje (PA) LoRa front-end modula. Plošče brez njega odgovorijo z \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Prikaže, ali je RX ojačanje LoRa front-end modula vklopljeno.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Prikaže, ali je TX ojačanje LoRa front-end modula vklopljeno.'; + + @override + String get repeater_bridgeNote => + 'Na voljo samo v vdelani programski opremi, zgrajeni z mostom (RS232 ali ESP-NOW).'; + @override String get repeater_general => 'Općenito'; @@ -3325,11 +3626,11 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Prikazuje časovno obdobje lokalne reklame v minutah.'; + 'Prikazuje časovno obdobje lokalnega oglasa v minutah.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Prikaže časovno obdobje, ko se prikazuje oglas o poplavah, v urah.'; + 'Prikaže časovno obdobje flood oglasa, v urah.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3347,7 +3648,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Prikazuje faktor zamude v načinu delovanja pri plavlju.'; + 'Prikazuje faktor zamude v flood načinu.'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3355,7 +3656,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Prikazuje največjo število, kolikokrat lahko voda doseže najvišjo višino.'; + 'Prikazuje največje število skokov za flood.'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3443,11 +3744,11 @@ class AppLocalizationsSl extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Navaja regije, ki dovoljujejo promet v času poplav.'; + 'Navaja regije, ki dovoljujejo flood promet.'; @override String get repeater_cliHelpRegionListDenied => - 'Navaja regije, ki preprečujejo promet zaradi poplav.'; + 'Navaja regije, ki preprečujejo flood promet.'; @override String get repeater_cliHelpStatsPackets => @@ -3734,7 +4035,7 @@ class AppLocalizationsSl extends AppLocalizations { String get channelPath_unknownPath => 'Neznano'; @override - String get channelPath_floodPath => 'Prebivalstvo'; + String get channelPath_floodPath => 'Flood'; @override String get channelPath_directPath => 'Neposredni'; @@ -4007,7 +4308,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get pathTrace_someHopsNoLocation => - 'Ena ali več hmelju manjka lokacija!'; + 'Enemu ali več skokom manjka lokacija!'; @override String get pathTrace_clearTooltip => 'Počisti pot'; @@ -4220,10 +4521,10 @@ class AppLocalizationsSl extends AppLocalizations { String get contacts_contactImportFailed => 'Kontakt ni bil uspešno uvožen.'; @override - String get contacts_zeroHopAdvert => 'Reklama brez posrednikov'; + String get contacts_zeroHopAdvert => 'Oglas brez posrednikov'; @override - String get contacts_floodAdvert => 'Poplavna oglás'; + String get contacts_floodAdvert => 'Flood oglas'; @override String get contacts_copyAdvertToClipboard => 'Kopiraj oglas v odložišče'; @@ -4361,6 +4662,10 @@ class AppLocalizationsSl extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Zadnjič videno'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Nastavitve stikov'; @@ -4465,6 +4770,12 @@ class AppLocalizationsSl extends AppLocalizations { @override String get radioStats_screenTitle => 'Radijske statistike'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Povežite se z napravo, da si ogledate statistiko o radiju.'; @@ -4855,6 +5166,25 @@ class AppLocalizationsSl extends AppLocalizations { String get imageSend_cropNote => 'Zadovoljno izmenjeno na 512 × 512 · vzorovni odnos ne ohranjen'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Original text:\n\nThe early bird catches the worm.\n\nTranslation:\n\nPojdi prvi, zlati v kroku.'; @@ -4916,7 +5246,7 @@ class AppLocalizationsSl extends AppLocalizations { @override String get imageSend_floodNote => - 'Povlatni potok: sve repeaterje v območju pretrasirajo svak paket, pa kanál ostane zanudnejši od tega.'; + 'Flood usmerjanje: vsak ponovitelj v dosegu znova odda vsak paket, zato je kanal zaseden dlje kot to.'; @override String get imageSend_parityTitle => 'Pobavni paket zdržbe'; @@ -5025,6 +5355,29 @@ class AppLocalizationsSl extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Kliknij za obravnavanje'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5045,4 +5398,9 @@ class AppLocalizationsSl extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes m $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Nad 158 bajtov: poslano največ $count-krat'; + } } diff --git a/lib/l10n/app_localizations_sv.dart b/lib/l10n/app_localizations_sv.dart index 91fd8f7c..33e5dc91 100644 --- a/lib/l10n/app_localizations_sv.dart +++ b/lib/l10n/app_localizations_sv.dart @@ -24,7 +24,7 @@ class AppLocalizationsSv extends AppLocalizations { String get common_cancel => 'Avbryt'; @override - String get common_ok => 'Okej'; + String get common_ok => 'OK'; @override String get common_connect => 'Anslut'; @@ -42,10 +42,10 @@ class AppLocalizationsSv extends AppLocalizations { String get common_deleteAll => 'Ta bort alla'; @override - String get common_close => 'Stänga'; + String get common_close => 'Stäng'; @override - String get common_done => 'Done'; + String get common_done => 'Klar'; @override String get common_edit => 'Redigera'; @@ -63,7 +63,7 @@ class AppLocalizationsSv extends AppLocalizations { String get common_connected => 'Ansluten'; @override - String get common_disconnected => 'Ansluten'; + String get common_disconnected => 'Frånkopplad'; @override String get common_create => 'Skapa'; @@ -96,13 +96,13 @@ class AppLocalizationsSv extends AppLocalizations { String get common_undo => 'Ångra'; @override - String get messageStatus_sent => 'Sen'; + String get messageStatus_sent => 'Skickat'; @override - String get messageStatus_delivered => 'Levererad'; + String get messageStatus_delivered => 'Levererat'; @override - String get messageStatus_pending => 'Skicka'; + String get messageStatus_pending => 'Skickar'; @override String get messageStatus_failed => 'Misslyckades med att skicka'; @@ -111,13 +111,47 @@ class AppLocalizationsSv extends AppLocalizations { String get messageStatus_repeated => 'Hördes upprepade gånger'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } @override - String get common_reboot => 'Start om'; + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Aktivera URL-bilder'; + + @override + String get urlImage_possible => + 'Möjlig URL-bild; aktivera den i Inställningar.'; + + @override + String get common_reboot => 'Starta om'; @override String get common_loading => 'Laddar...'; @@ -163,7 +197,7 @@ class AppLocalizationsSv extends AppLocalizations { String get tcpHostHint => '192.168.40.10'; @override - String get tcpPortLabel => 'Hamn'; + String get tcpPortLabel => 'Port'; @override String get tcpPortHint => '5000'; @@ -187,7 +221,7 @@ class AppLocalizationsSv extends AppLocalizations { 'TCP-transport fungerar inte på denna plattform.'; @override - String get tcpErrorTimedOut => 'TCP-anslutningen har tidsut gått.'; + String get tcpErrorTimedOut => 'Tidsgränsen för TCP-anslutningen överskreds.'; @override String tcpConnectionFailed(String error) { @@ -231,11 +265,11 @@ class AppLocalizationsSv extends AppLocalizations { @override String get usbErrorOpenFailed => - 'Misslyckades med att öppna det valda USB-enheten.'; + 'Det gick inte att öppna den valda USB-enheten.'; @override String get usbErrorConnectFailed => - 'Kunde inte ansluta till det valda USB-enheten.'; + 'Det gick inte att ansluta till den valda USB-enheten.'; @override String get usbErrorUnsupported => @@ -252,10 +286,10 @@ class AppLocalizationsSv extends AppLocalizations { @override String get usbErrorConnectTimedOut => - 'Anslutningen har tidsutgått. Se till att enheten har rätt USB-firmware.'; + 'Anslutningen tog för lång tid. Kontrollera att enheten har USB Companion-firmware.'; @override - String get usbFallbackDeviceName => 'Web-serieenhet'; + String get usbFallbackDeviceName => 'Web Serial-enhet'; @override String get usbStatus_notConnected => 'Välj en USB-enhet'; @@ -275,7 +309,7 @@ class AppLocalizationsSv extends AppLocalizations { String get scanner_scanning => 'Söker efter enheter...'; @override - String get scanner_connecting => 'Anslutning...'; + String get scanner_connecting => 'Ansluter...'; @override String get scanner_disconnecting => 'Anslutning bryts...'; @@ -317,7 +351,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get scanner_chromeRequiredMessage => - 'Denna webbapplikation kräver Google Chrome oder en Chromium-baserader webbläsare för Bluetooth-stöd.'; + 'Den här webbappen kräver Google Chrome eller en Chromium-baserad webbläsare för Bluetooth-stöd.'; @override String get scanner_enableBluetooth => 'Aktivera Bluetooth'; @@ -336,14 +370,14 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_title => 'Inställningar'; @override - String get settings_deviceInfo => 'Enhetens information'; + String get settings_deviceInfo => 'Enhetsinformation'; @override String get settings_appSettings => 'Appinställningar'; @override String get settings_appSettingsSubtitle => - 'Meddelanden, notiser och kartinställningar'; + 'Notifieringar, meddelanden och kartinställningar'; @override String get settings_nodeSettings => 'Nodinställningar'; @@ -371,6 +405,10 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_radioSettingsUpdated => 'Radioinställningarna har uppdaterats'; + @override + String get settings_radioSettingsNotApplied => + 'Radion tillämpade inte dessa inställningar'; + @override String get settings_regionSettings => 'Regioner'; @@ -378,43 +416,60 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_regionSettingsSubtitle => 'Hämtade regioner'; @override - String get settings_regionManagement_screenTitle => 'Regionförvaltning'; + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; @override - String get settings_regionNameHint => 'Enter regionnamn'; + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; @override - String get settings_regionAddRegion => 'Lag till region'; + String get settings_regionDefault => 'Default region'; @override - String get settings_regionFetchRegions => 'Hämtar regioner från repeater'; + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + + @override + String get settings_regionManagement_screenTitle => 'Regionhantering'; + + @override + String get settings_regionNameHint => 'Ange regionnamn'; + + @override + String get settings_regionAddRegion => 'Lägg till region'; + + @override + String get settings_regionFetchRegions => 'Hämta regioner från repeaters'; @override String get settings_regionFetchRegionsFail => 'Ingen region hittades'; @override String get settings_regionFetchRegionsAlreadyExists => - 'Denna region har redan lagt till'; + 'Den här regionen har redan lagts till'; @override - String get settings_regionName => 'Regionnavn'; + String get settings_regionName => 'Regionnamn'; @override - String get settings_regionDeleted => 'Regionens kallt offentlig'; + String get settings_regionDeleted => 'Regionen har tagits bort'; @override - String get settings_deleteRegion => 'Förhålla regio'; + String get settings_deleteRegion => 'Radera region'; @override String settings_deleteRegionConfirm(String region) { - return 'Fjärna \"$region\" ur regionlistan?'; + return 'Ta bort “$region” från regionlistan?'; } @override String get settings_location => 'Plats'; @override - String get settings_locationSubtitle => 'GPS koordinater'; + String get settings_locationSubtitle => 'GPS-koordinater'; @override String get settings_locationUpdated => 'Plats uppdaterad'; @@ -443,7 +498,7 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_latitude => 'Latitud'; @override - String get settings_longitude => 'Längdgrad'; + String get settings_longitude => 'Longitud'; @override String get settings_contactSettings => 'Kontaktinställningar'; @@ -492,10 +547,14 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_telemetryBaseMode => 'Telemetribasläge'; @override - String get settings_telemetryLocationMode => 'Telemetritillstånd för plats'; + String get settings_telemetryLocationMode => 'Telemetriläge för position'; @override - String get settings_telemetryEnvironmentMode => 'Telemetri miljöläge'; + String get settings_telemetryEnvironmentMode => 'Telemetriläge för miljö'; + + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; @override String get settings_advertLocation => 'Annonsplacering'; @@ -505,15 +564,19 @@ class AppLocalizationsSv extends AppLocalizations { @override String get settings_autoZeroHopAdvertOnGpsUpdate => - 'Automatisk zero-hop-annons vid GPS-uppdatering'; + 'Automatisk nollhoppsannons vid GPS-uppdatering'; @override String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle => - 'När GPS-positionen ändras, skicka en zero-hop-annons (kräver plats i annonsen).'; + 'När GPS-positionen ändras skickas en nollhoppsannons (kräver plats i annonsen).'; @override String get settings_multiAck => 'Flera bekräftelser'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Telemetri-läge uppdaterat'; @@ -521,23 +584,23 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_actions => 'Åtgärder'; @override - String get settings_deleteAllPaths => 'Delete All Paths'; + String get settings_deleteAllPaths => 'Radera alla rutter'; @override String get settings_deleteAllPathsSubtitle => - 'Clear all path data from contacts.'; + 'Rensa all ruttdata från kontakter.'; @override - String get settings_sendAdvertisement => 'Skicka Annons'; + String get settings_sendAdvertisement => 'Skicka annons'; @override - String get settings_sendAdvertisementSubtitle => 'Sändning finns nu'; + String get settings_sendAdvertisementSubtitle => 'Sänd din närvaro nu'; @override String get settings_advertisementSent => 'Annons skickad'; @override - String get settings_syncTime => 'Synkroniseringstid'; + String get settings_syncTime => 'Synkronisera tid'; @override String get settings_syncTimeSubtitle => 'Ställ enheten till telefonens tid'; @@ -556,7 +619,7 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_rebootDevice => 'Starta om enheten'; @override - String get settings_rebootDeviceSubtitle => 'Starta MeshCore-enheten'; + String get settings_rebootDeviceSubtitle => 'Starta om MeshCore-enheten'; @override String get settings_rebootDeviceConfirm => @@ -566,18 +629,18 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_debug => 'Felsök'; @override - String get settings_companionDebugLog => 'Följande felsökningslogg'; + String get settings_companionDebugLog => 'Companion-felsökningslogg'; @override String get settings_companionDebugLogSubtitle => 'BLE/TCP/USB-kommandon, svar och rådata'; @override - String get settings_appDebugLog => 'Appfelsökning'; + String get settings_appDebugLog => 'Appens felsökningslogg'; @override String get settings_appDebugLogSubtitle => - 'Applikations felsökningsmeddelanden'; + 'Felsökningsmeddelanden från appen'; @override String get settings_about => 'Om'; @@ -588,11 +651,11 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get settings_aboutLegalese => '2024 MeshCore Öppen Källkodsprojekt'; + String get settings_aboutLegalese => '2026 MeshCore Open Source Project'; @override String get settings_aboutDescription => - 'En öppen källkods Flutter-klient för MeshCore LoRa meshnätverksenheter.'; + 'En Flutter-klient med öppen källkod för MeshCore-enheter i LoRa-meshnät.'; @override String get settings_aboutOpenMeteoAttribution => @@ -611,26 +674,33 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_infoBattery => 'Batteri'; @override - String get settings_infoPublicKey => 'Allmänt nyckel'; + String get settings_infoPublicKey => 'Publik nyckel'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Publik nyckel kopierad'; @override - String get settings_infoContactsCount => 'Kontakterantal'; + String get settings_infoContactsCount => 'Antal kontakter'; @override - String get settings_infoChannelCount => 'Kanalantal'; + String get settings_infoChannelCount => 'Antal kanaler'; @override String get settings_infoHardware => 'Hardware'; @override - String get settings_infoFirmware => 'Föredata'; + String get settings_infoFirmware => 'Firmware'; @override String get settings_presets => 'Fördefinierade inställningar'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Frekvens (MHz)'; @@ -644,7 +714,7 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_bandwidth => 'Bandbredd'; @override - String get settings_spreadingFactor => 'Spreadingfaktor'; + String get settings_spreadingFactor => 'Spridningsfaktor'; @override String get settings_codingRate => 'Kodningsgrad'; @@ -653,7 +723,9 @@ class AppLocalizationsSv extends AppLocalizations { String get settings_txPower => 'TX-effekt (dBm)'; @override - String get settings_txPowerHelper => '0 – 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Ogiltig TX-effekt (0-22 dBm)'; @@ -661,6 +733,11 @@ class AppLocalizationsSv extends AppLocalizations { @override String get settings_clientRepeat => 'Upprepa utan elnät'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Låt enheten repetera nätpaket för andra användare.'; @@ -687,10 +764,10 @@ class AppLocalizationsSv extends AppLocalizations { String get appSettings_themeSystem => 'Systemstandard'; @override - String get appSettings_themeLight => 'Ljus'; + String get appSettings_themeLight => 'Ljust'; @override - String get appSettings_themeDark => 'Mörk'; + String get appSettings_themeDark => 'Mörkt'; @override String get appSettings_language => 'Språk'; @@ -708,10 +785,10 @@ class AppLocalizationsSv extends AppLocalizations { String get appSettings_languageEs => 'Spanska'; @override - String get appSettings_languageDe => 'Tyskt'; + String get appSettings_languageDe => 'Tyska'; @override - String get appSettings_languagePl => 'Polsk'; + String get appSettings_languagePl => 'Polska'; @override String get appSettings_languageSl => 'Sloveniska'; @@ -732,7 +809,7 @@ class AppLocalizationsSv extends AppLocalizations { String get appSettings_languageNl => 'Nederländska'; @override - String get appSettings_languageSk => 'Sloveniska'; + String get appSettings_languageSk => 'Slovakiska'; @override String get appSettings_languageBg => 'Bulgariska'; @@ -755,78 +832,119 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 byte'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Aktivera meddelandespårning'; @override String get appSettings_enableMessageTracingSubtitle => - 'Visa detaljerade metadata om dirigering och tidsinställningar för meddelanden'; + 'Visa detaljerad routing- och tidsmetadata för meddelanden'; @override - String get appSettings_notifications => 'Meddelanden'; + String get appSettings_notifications => 'Notifieringar'; @override - String get appSettings_enableNotifications => 'Aktivera Notifikationer'; + String get appSettings_enableNotifications => 'Aktivera notifieringar'; @override String get appSettings_enableNotificationsSubtitle => - 'Ta emot notiser för meddelanden och reklam'; + 'Ta emot notifieringar för meddelanden och annonser'; @override String get appSettings_notificationPermissionDenied => 'Tillåtelse för notifikationer nekad'; @override - String get appSettings_notificationsEnabled => 'Notifikationer aktiverade'; + String get appSettings_notificationsEnabled => 'Notifieringar aktiverade'; @override - String get appSettings_notificationsDisabled => 'Meddelanden är avstängda'; + String get appSettings_notificationsDisabled => 'Notifieringar inaktiverade'; @override - String get appSettings_messageNotifications => 'Meddelandekrav'; + String get appSettings_messageNotifications => 'Meddelandenotifieringar'; @override String get appSettings_messageNotificationsSubtitle => - 'Visa notis när nya meddelanden tas emot'; + 'Visa en notifiering när nya meddelanden tas emot'; @override - String get appSettings_channelMessageNotifications => 'Kanalmeddelandena'; + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + + @override + String get appSettings_channelMessageNotifications => 'Kanalnotifieringar'; @override String get appSettings_channelMessageNotificationsSubtitle => - 'Visa notis när meddelanden i kanal mottas'; + 'Visa en notifiering när kanalmeddelanden tas emot'; @override - String get appSettings_advertisementNotifications => 'Annonsmeddelanden'; + String get appSettings_advertisementNotifications => 'Annonsnotifieringar'; @override String get appSettings_advertisementNotificationsSubtitle => - 'Visa notis när nya noder upptäcks'; + 'Visa en notifiering när nya noder upptäcks'; @override String get appSettings_messaging => 'Meddelanden'; @override - String get appSettings_clearPathOnMaxRetry => 'Rensa Vägen på Max Försök'; + String get appSettings_clearPathOnMaxRetry => + 'Rensa rutt efter maximalt antal försök'; @override String get appSettings_clearPathOnMaxRetrySubtitle => - 'Återställ kontaktväg efter 5 misslyckade försök att skicka'; + 'Återställ kontaktens rutt efter 5 misslyckade sändningsförsök'; @override String get appSettings_pathsWillBeCleared => - 'Sökvägar kommer att tömmas efter 5 misslyckade försök.'; + 'Rutter rensas efter 5 misslyckade försök'; @override String get appSettings_pathsWillNotBeCleared => - 'Sökvägar kommer inte att rensas automatiskt.'; + 'Rutter rensas inte automatiskt'; @override - String get appSettings_autoRouteRotation => 'Automatisk Rutväxling'; + String get appSettings_autoRouteRotation => 'Automatisk ruttrotation'; @override String get appSettings_autoRouteRotationSubtitle => - 'Blixtra mellan bästa vägar och flödesläge'; + 'Växla mellan de bästa rutterna och flood-läge'; @override String get appSettings_autoRouteRotationEnabled => @@ -837,18 +955,18 @@ class AppLocalizationsSv extends AppLocalizations { 'Automatisk ruttrotation är avstängd'; @override - String get appSettings_maxRouteWeight => 'Maximalt tillåtet vikt för rutten'; + String get appSettings_maxRouteWeight => 'Maximal ruttvikt'; @override String get appSettings_maxRouteWeightSubtitle => - 'Maximal vikt som en leveransväg kan ackumulera från framgångsrika leveranser.'; + 'Maximal vikt som en rutt kan samla efter lyckade leveranser'; @override String get appSettings_initialRouteWeight => 'Initial vikt för rutt'; @override String get appSettings_initialRouteWeightSubtitle => - 'Initial vikt för nyligen upptäckta vägar'; + 'Startvikt för nyligen upptäckta rutter'; @override String get appSettings_routeWeightSuccessIncrement => @@ -856,7 +974,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get appSettings_routeWeightSuccessIncrementSubtitle => - 'Vikt läggs till en väg efter en lyckad leverans.'; + 'Vikt som läggs till en rutt efter en lyckad leverans'; @override String get appSettings_routeWeightFailureDecrement => @@ -864,7 +982,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get appSettings_routeWeightFailureDecrementSubtitle => - 'Vikt som tagits bort från en väg efter ett misslyckat leveransförsök'; + 'Vikt som tas bort från en rutt efter en misslyckad leverans'; @override String get appSettings_maxMessageRetries => 'Maximalt antal försök'; @@ -904,11 +1022,11 @@ class AppLocalizationsSv extends AppLocalizations { String get appSettings_mapDisplay => 'Kartvisning'; @override - String get appSettings_showRepeaters => 'Visa återuppslag'; + String get appSettings_showRepeaters => 'Visa repeaters'; @override String get appSettings_showRepeatersSubtitle => - 'Visa återspelsnoder på kartan'; + 'Visa repeaternoder på kartan'; @override String get appSettings_showChatNodes => 'Visa Chattnoder'; @@ -935,14 +1053,14 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get appSettings_mapTimeFilter => 'Karttid Filter'; + String get appSettings_mapTimeFilter => 'Tidsfilter för kartan'; @override String get appSettings_showNodesDiscoveredWithin => 'Visa noder som upptäckts inom:'; @override - String get appSettings_allTime => 'Totalen'; + String get appSettings_allTime => 'Alla tider'; @override String get appSettings_lastHour => 'Sista timmen'; @@ -1034,7 +1152,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String contacts_searchContacts(int number, String str) { - return 'Sök kontakter...'; + return 'Sök $number$str kontakter…'; } @override @@ -1049,12 +1167,12 @@ class AppLocalizationsSv extends AppLocalizations { @override String contacts_searchRepeaters(int number, String str) { - return 'Sök $number$str upprepningsenheter...'; + return 'Sök $number$str repeaters…'; } @override String contacts_searchRoomServers(int number, String str) { - return 'Sök $number$str Room-servrar...'; + return 'Sök $number$str rumsservrar…'; } @override @@ -1073,16 +1191,39 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get contacts_manageRepeater => 'Hantera Upprepare'; + String get contacts_removeFromContacts => 'Remove from contacts'; @override - String get contacts_manageRoom => 'Hantera Rumserver'; + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } @override - String get contacts_roomLogin => 'Rum Inloggning'; + String get contacts_keepChatHistory => 'Keep chat history'; @override - String get contacts_openChat => 'Öppna Chatt'; + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + + @override + String get contacts_manageRepeater => 'Hantera repeater'; + + @override + String get contacts_manageRoom => 'Hantera rumsserver'; + + @override + String get contacts_roomLogin => 'Inloggning på rumsserver'; + + @override + String get contacts_openChat => 'Öppna chatt'; @override String get contacts_editGroup => 'Redigera Grupp'; @@ -1105,7 +1246,7 @@ class AppLocalizationsSv extends AppLocalizations { String get contacts_searchOpen => 'Sök efter kontakter'; @override - String get contacts_searchClose => 'Avancerad sökning'; + String get contacts_searchClose => 'Stäng sökning'; @override String get contacts_groupName => 'Gruppnamn'; @@ -1210,7 +1351,7 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get channels_public => 'Offentligt'; + String get channels_public => 'Publik'; @override String channels_via(String path) { @@ -1220,6 +1361,18 @@ class AppLocalizationsSv extends AppLocalizations { @override String get channels_private => 'Privat'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Redigera kanal'; @@ -1257,19 +1410,19 @@ class AppLocalizationsSv extends AppLocalizations { String get channels_channelName => 'Kanalnamn'; @override - String get channels_usePublicChannel => 'Använd Publikkanal'; + String get channels_usePublicChannel => 'Använd publik kanal'; @override - String get channels_standardPublicPsk => 'Standard allmän PSK'; + String get channels_standardPublicPsk => 'Standard-PSK för publik kanal'; @override - String get channels_pskHex => 'PSK (heks)'; + String get channels_pskHex => 'PSK (hex)'; @override String get channels_generateRandomPsk => 'Generera slumpmässig PSK'; @override - String get channels_enterChannelName => 'Ange en kanalnamn'; + String get channels_enterChannelName => 'Ange ett kanalnamn'; @override String get channels_pskMustBe32Hex => 'PSK måste vara 32 hexadecimala tecken'; @@ -1348,7 +1501,10 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get channels_publicChannelAdded => 'Allmänt kanal tillagd'; + String get channels_publicChannelAdded => 'Publik kanal har lagts till'; + + @override + String get channels_noFreeSlots => 'Alla kanalplatser är upptagna'; @override String get channels_sortBy => 'Sortera efter'; @@ -1357,7 +1513,7 @@ class AppLocalizationsSv extends AppLocalizations { String get channels_sortManual => 'Manuell'; @override - String get channels_sortAZ => 'A-Z'; + String get channels_sortAZ => 'A-Ö'; @override String get channels_sortLatestMessages => 'Senaste meddelanden'; @@ -1370,28 +1526,27 @@ class AppLocalizationsSv extends AppLocalizations { @override String get channels_createPrivateChannelDesc => - 'Skyddat med en hemlig nyckel.'; + 'Säkrad med en hemlig nyckel.'; @override - String get channels_joinPrivateChannel => 'Gå med i en Privat Kanal'; + String get channels_joinPrivateChannel => 'Gå med i en privat kanal'; @override - String get channels_joinPrivateChannelDesc => - 'Ange en hemlig nyckel manuellt.'; + String get channels_joinPrivateChannelDesc => 'Skriv in nyckeln manuellt.'; @override - String get channels_joinPublicChannel => 'Gå med i den Offentliga Kanalen'; + String get channels_joinPublicChannel => 'Gå med i den publika kanalen'; @override String get channels_joinPublicChannelDesc => - 'Vem som helst kan gå med i denna kanal.'; + 'Alla kan gå med i den här kanalen.'; @override - String get channels_joinHashtagChannel => 'Gå med i en Hashtagkanal'; + String get channels_joinHashtagChannel => 'Gå med i en hashtagkanal'; @override String get channels_joinHashtagChannelDesc => - 'Väldigt enkelt att gå med i hashtag-kanaler.'; + 'Vem som helst kan gå med i hashtagkanaler.'; @override String get channels_scanQrCode => 'Skanna en QR-kod'; @@ -1417,7 +1572,20 @@ class AppLocalizationsSv extends AppLocalizations { String get channels_regionSelect_Title => 'Välj en region'; @override - String get channels_clearRegion => 'klar region'; + String get channels_clearRegion => 'Rensa region'; + + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; @override String get chat_noMessages => 'Inga meddelanden ännu'; @@ -1479,11 +1647,17 @@ class AppLocalizationsSv extends AppLocalizations { @override String get chat_sendGif => 'Skicka GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Skicka bild via MeshCore'; @override - String get chat_imagePickFailed => 'Kunde inte öppna det bildet'; + String get chat_imagePickFailed => 'Kunde inte öppna bilden'; @override String get chat_receivedGif => 'Mottagit en GIF'; @@ -1498,7 +1672,7 @@ class AppLocalizationsSv extends AppLocalizations { String get chat_me => 'Mig'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Emoji-reaktioner'; @override String get emojiCategorySmileys => 'Emojis'; @@ -1559,7 +1733,7 @@ class AppLocalizationsSv extends AppLocalizations { 'Aktivera appens felsökningsloggning i inställningarna'; @override - String get debugLog_frames => 'Rammar'; + String get debugLog_frames => 'Ramar'; @override String get debugLog_rawLogRx => 'Rå Log-RX'; @@ -1626,76 +1800,77 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get chat_removePath => 'Ta bort sökväg'; + String get chat_removePath => 'Ta bort rutt'; @override String get chat_noPathHistoryYet => - 'Ingen historik ännu.\nSkicka ett meddelande för att upptäcka spår.'; + 'Ingen rutthistorik ännu.\nSkicka ett meddelande för att upptäcka rutter.'; @override String get chat_pathCleared => - 'Routen är nu fri. Nästa meddelande kommer att upptäcka rutten igen.'; + 'Rutten rensades. Nästa meddelande kommer att upptäcka rutten på nytt.'; @override - String get chat_fullPath => 'Fullständig sökväg'; + String get chat_fullPath => 'Fullständig rutt'; @override String get routing_title => 'Ruttplanering'; @override - String get routing_modeAuto => 'Bil'; + String get routing_modeAuto => 'Automatisk'; @override - String get routing_modeFlood => 'Översvämning'; + String get routing_modeFlood => 'Flood-trafik'; @override - String get routing_modeManual => 'Instruktioner'; + String get routing_modeManual => 'Manuell'; @override String get routing_modeAutoHint => - 'Väljer automatiskt den bästa kända vägen, och använder en \"flooding\"-strategi om ingen väg är känd.'; + 'Väljer automatiskt den bästa kända rutten och använder flood när ingen rutt är känd.'; @override String get routing_modeFloodHint => - 'Sändningar via alla repetrar. Det mest pålitliga alternativet, men kräver mer sändtid.'; + 'Sänder via alla repeatrar. Mest tillförlitligt, men använder mer sändningstid.'; @override String get routing_modeManualHint => - 'Skickar alltid den exakta väg du har angivit.'; + 'Skickar alltid längs exakt den rutt du anger.'; @override String get routing_currentRoute => 'Nuvarande rutt'; @override - String get routing_directNoHops => 'Direkt – utan mellanliggande routrar'; + String get routing_directNoHops => 'Direkt — inga repeaterhopp'; @override String get routing_noPathYet => - 'Ingen väg hittad ännu. Nästa meddelande skickas tills en rutt har upptäckts.'; + 'Ingen rutt ännu. Nästa meddelande floodas tills en rutt hittas.'; @override - String get routing_floodBroadcast => 'Sändas via alla repetrar'; + String get routing_floodBroadcast => 'Sänd via varje repeater'; @override - String get routing_editPath => 'Redigera sökväg'; + String get routing_editPath => 'Redigera rutt'; @override - String get routing_forgetPath => 'Glöm vägen'; + String get routing_forgetPath => 'Glöm rutt'; @override - String get routing_knownPaths => 'Kända vägar'; + String get routing_knownPaths => 'Kända rutter'; @override - String get routing_knownPathsHint => 'Välj en väg för att byta till den.'; + String get routing_knownPathsHint => + 'Tryck på en rutt för att byta till den.'; @override String get routing_inUse => 'I användning'; @override - String get routing_qualityStrong => 'En stark start'; + String get routing_qualityStrong => 'Starkt första hopp'; @override - String get routing_qualityGood => 'Bra första steg'; + String get routing_qualityGood => 'Bra första hopp'; @override String get routing_qualityFair => 'Bra första hopp'; @@ -1704,14 +1879,14 @@ class AppLocalizationsSv extends AppLocalizations { String get routing_qualityWorked => 'Har levererat'; @override - String get routing_qualityFlood => 'Fått information via nyhetsflöde'; + String get routing_qualityFlood => 'Hörd via flood'; @override String get routing_qualityUntested => 'Ej testat'; @override String routing_lastWorked(String when) { - return 'arbetade $when'; + return 'fungerade $when'; } @override @@ -1719,39 +1894,39 @@ class AppLocalizationsSv extends AppLocalizations { @override String routing_deliveryCounts(int successes, int failures) { - return '$successes delivered, $failures failed'; + return '$successes levererade, $failures misslyckade'; } @override - String get routing_floodDelivery => 'Leverans vid översvämningsområde'; + String get routing_floodDelivery => 'Flood-leverans'; @override - String get pathEditor_title => 'Skapa väg'; + String get pathEditor_title => 'Skapa rutt'; @override String pathEditor_hopCounter(int count) { - return '$count av 64 humlor'; + return '$count av 64 hopp'; } @override String get pathEditor_noHops => - 'Inga humle än. Använd knapparna nedan för att lägga till dem i rätt ordning, eller spara utan humle för att skicka direkt.'; + 'Inga hopp ännu. Tryck på repeaters nedan för att lägga till dem i ordning, eller spara utan hopp för att skicka direkt.'; @override - String get pathEditor_addHops => 'Tillsätt humlen i rätt ordning.'; + String get pathEditor_addHops => 'Lägg till hopp i ordning'; @override - String get pathEditor_searchRepeaters => 'Sök efter återupptagna samtal'; + String get pathEditor_searchRepeaters => 'Sök repeaters'; @override - String get pathEditor_advancedHex => 'Avancerat: rå hex-sökväg'; + String get pathEditor_advancedHex => 'Avancerat: rå rutt i hexformat'; @override String get pathEditor_hexLabel => 'Hex-prefikser'; @override String get pathEditor_hexHelper => - 'Två hex-tecken per steg, separerade med kommatecken.'; + 'Två hextecken per hopp, separerade med kommatecken'; @override String pathEditor_invalidTokens(String tokens) { @@ -1759,16 +1934,16 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get pathEditor_tooManyHops => 'Maximalt 64 humlörter'; + String get pathEditor_tooManyHops => 'Maximalt 64 hopp'; @override - String get pathEditor_usePath => 'Använd denna väg'; + String get pathEditor_usePath => 'Använd den här rutten'; @override - String get pathEditor_removeHop => 'Ta bort humlen'; + String get pathEditor_removeHop => 'Ta bort hopp'; @override - String get pathEditor_unknownHop => 'Okänd förstärkare'; + String get pathEditor_unknownHop => 'Okänd repeater'; @override String get chat_pathSavedLocally => @@ -1781,19 +1956,22 @@ class AppLocalizationsSv extends AppLocalizations { String get chat_pathDeviceNotConfirmed => 'Enheten har inte bekräftats ännu.'; @override - String get chat_type => 'Skriv'; + String get chat_type => 'Typ'; @override - String get chat_path => 'Sökväg'; + String get chat_path => 'Rutt'; @override - String get chat_publicKey => 'Allmänt nyckel'; + String get chat_viewPathOnMap => 'View path on map'; @override - String get chat_compressOutgoingMessages => 'Kryptera utgående meddelanden'; + String get chat_publicKey => 'Publik nyckel'; @override - String get chat_floodForced => 'Översvämning (tvingad)'; + String get chat_compressOutgoingMessages => 'Komprimera utgående meddelanden'; + + @override + String get chat_floodForced => 'Flood (tvingad)'; @override String get chat_directForced => 'Direkt (tvingad)'; @@ -1804,7 +1982,7 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get chat_floodAuto => 'Översvämning (auto)'; + String get chat_floodAuto => 'Flood (automatisk)'; @override String get chat_direct => 'Direkt'; @@ -1823,6 +2001,12 @@ class AppLocalizationsSv extends AppLocalizations { @override String get chat_newMessages => 'Nya meddelanden'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Öppna länk?'; @@ -1868,6 +2052,9 @@ class AppLocalizationsSv extends AppLocalizations { @override String get map_centerOnNode => 'Centrera på nod'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Detaljer'; @@ -1878,14 +2065,18 @@ class AppLocalizationsSv extends AppLocalizations { String get map_noResults => 'Inga matchande noder'; @override - String get map_lineOfSight => 'Synlinje'; + String get map_lineOfSight => 'Siktlinje'; @override - String get map_losScreenTitle => 'Synlinje'; + String get map_losScreenTitle => 'Siktlinje'; @override String get map_noNodesWithLocation => 'Inga noder med platsinformation'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Noder måste dela sina GPS-koordinater\nför att visas på kartan'; @@ -1897,14 +2088,14 @@ class AppLocalizationsSv extends AppLocalizations { @override String map_pinsCount(int count) { - return 'Pinnar: $count'; + return 'Markörer: $count'; } @override - String get map_chat => 'Chat'; + String get map_chat => 'Chatt'; @override - String get map_repeater => 'Återuppspelare'; + String get map_repeater => 'Repeater'; @override String get map_room => 'Rum'; @@ -1913,13 +2104,13 @@ class AppLocalizationsSv extends AppLocalizations { String get map_sensor => 'Sensor'; @override - String get map_pinDm => 'Lås (DM)'; + String get map_pinDm => 'Markör (DM)'; @override - String get map_pinPrivate => 'Lås (Privat)'; + String get map_pinPrivate => 'Markör (privat)'; @override - String get map_pinPublic => 'Anslå (Offentligt)'; + String get map_pinPublic => 'Markör (offentlig)'; @override String get map_lastSeen => 'Senast sedd'; @@ -1938,22 +2129,22 @@ class AppLocalizationsSv extends AppLocalizations { String get map_flags => 'Flaggor'; @override - String get map_type => 'Type'; + String get map_type => 'Typ'; @override - String get map_path => 'Path'; + String get map_path => 'Rutt'; @override - String get map_location => 'Location'; + String get map_location => 'Plats'; @override - String get map_estLocation => 'Est. Location'; + String get map_estLocation => 'Uppskattad plats'; @override - String get map_publicKey => 'Public Key'; + String get map_publicKey => 'Publik nyckel'; @override - String get map_publicKeyPrefixHint => 'e.g. ab12'; + String get map_publicKeyPrefixHint => 't.ex. ab12'; @override String get map_shareMarkerHere => 'Dela markeringen här'; @@ -2001,7 +2192,7 @@ class AppLocalizationsSv extends AppLocalizations { String get map_chatNodes => 'Chatnoder'; @override - String get map_repeaters => 'Upprepare'; + String get map_repeaters => 'Repeatrar'; @override String get map_otherNodes => 'Andra noder'; @@ -2016,7 +2207,7 @@ class AppLocalizationsSv extends AppLocalizations { String get map_filterByKeyPrefix => 'Filtrera efter nyckelprefix'; @override - String get map_publicKeyPrefix => 'Allmänt nyckelprästegenskap'; + String get map_publicKeyPrefix => 'Prefix för publik nyckel'; @override String get map_markers => 'Markörer'; @@ -2028,6 +2219,16 @@ class AppLocalizationsSv extends AppLocalizations { String get map_showGuessedLocations => 'Visa upp de antagna nodernas placeringar'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Visa Discovery-kontakter'; @@ -2035,7 +2236,7 @@ class AppLocalizationsSv extends AppLocalizations { String get map_guessedLocation => 'Gissad plats'; @override - String get map_lastSeenTime => 'Senaste Visats Tid'; + String get map_lastSeenTime => 'Senast sedd'; @override String get map_sharedPin => 'Delad PIN'; @@ -2047,22 +2248,25 @@ class AppLocalizationsSv extends AppLocalizations { String get map_joinRoom => 'Gå med i rum'; @override - String get map_manageRepeater => 'Hantera Upprepare'; + String get map_manageRepeater => 'Hantera repeater'; @override - String get map_tapToAdd => 'Tryck på noder för att lägga till dem i banan.'; + String get map_manageServer => 'Manage Server'; @override - String get map_runTrace => 'Kör spårsökning'; + String get map_tapToAdd => 'Tryck på noder för att lägga till dem i rutten.'; @override - String get map_runTraceWithReturnPath => 'Gå tillbaka på samma väg'; + String get map_runTrace => 'Kör ruttspårning'; + + @override + String get map_runTraceWithReturnPath => 'Återvänd längs samma rutt.'; @override String get map_removeLast => 'Ta bort sista'; @override - String get map_pathTraceCancelled => 'Sökvägsspårning avbruten.'; + String get map_pathTraceCancelled => 'Ruttspårningen avbröts.'; @override String get mapCache_title => 'Offline Kartcache'; @@ -2072,34 +2276,35 @@ class AppLocalizationsSv extends AppLocalizations { @override String get mapCache_noTilesToDownload => - 'Inga kuber att ladda ner för detta område'; + 'Inga kartplattor att ladda ned för det här området'; @override - String get mapCache_downloadTilesTitle => 'Ladda ner klick'; + String get mapCache_downloadTilesTitle => 'Ladda ned kartplattor'; @override String mapCache_downloadTilesPrompt(int count) { - return 'Ladda ner $count kuber för offlineanvändning?'; + return 'Ladda ned $count kartplattor för offlineanvändning?'; } @override - String get mapCache_downloadAction => 'Ladda ner'; + String get mapCache_downloadAction => 'Ladda ned'; @override String mapCache_cachedTiles(int count) { - return 'Cache $count kuber'; + return '$count kartplattor cachelagrade'; } @override String mapCache_cachedTilesWithFailed(int downloaded, int failed) { - return 'Cachelagda $downloaded klickark ($failed misslyckades)'; + return '$downloaded kartplattor cachelagrade ($failed misslyckades)'; } @override String get mapCache_clearOfflineCacheTitle => 'Rensa offline-cache'; @override - String get mapCache_clearOfflineCachePrompt => 'Ta bort alla cachemapplaner?'; + String get mapCache_clearOfflineCachePrompt => + 'Ta bort alla cachelagrade kartplattor?'; @override String get mapCache_offlineCacheCleared => 'Offline-cache rensad'; @@ -2118,16 +2323,16 @@ class AppLocalizationsSv extends AppLocalizations { @override String mapCache_estimatedTiles(int count) { - return 'Uppskattat antal klick: $count'; + return 'Uppskattat antal kartplattor: $count'; } @override String mapCache_downloadedTiles(int completed, int total) { - return 'Ladda ner $completed / $total'; + return 'Nedladdade $completed / $total'; } @override - String get mapCache_downloadTilesButton => 'Ladda ner klick'; + String get mapCache_downloadTilesButton => 'Ladda ned kartplattor'; @override String get mapCache_clearCacheButton => 'Rensa Cache'; @@ -2138,39 +2343,40 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get mapCache_cachedTilesLabel => 'Cached tiles'; + String get mapCache_cachedTilesLabel => 'Cachelagrade kartplattor'; @override - String get mapCache_cachedTileSummaryLabel => 'Cached tile summary'; + String get mapCache_cachedTileSummaryLabel => + 'Sammanfattning av cachelagrade kartplattor'; @override String mapCache_bulkDownloadDisabledForSource(String source) { - return 'Offline bulk downloads are disabled for $source.'; + return 'Massnedladdning för offlinebruk är inaktiverad för $source.'; } @override String mapCache_bulkDownloadDisabledInConfig(String source) { - return 'Offline bulk downloads are disabled for $source in this app configuration.'; + return 'Massnedladdning för offlinebruk är inaktiverad för $source i appens konfiguration.'; } @override String mapCache_summarySource(String source) { - return 'Source: $source'; + return 'Källa: $source'; } @override String mapCache_summaryCachedTilesForSource(int count) { - return 'Cached tiles for source: $count'; + return 'Cachelagrade kartplattor för källan: $count'; } @override String mapCache_summaryCachedInSelection(int count) { - return 'Cached in selected area/zoom: $count'; + return 'Cachelagrat i valt område/zoom: $count'; } @override String mapCache_summaryApproxCacheSize(String size) { - return 'Approx cache size: $size'; + return 'Ungefärlig cachestorlek: $size'; } @override @@ -2239,10 +2445,10 @@ class AppLocalizationsSv extends AppLocalizations { 'Är du säker på att du vill koppla från enheten?'; @override - String get login_repeaterLogin => 'Återuppta Inloggning'; + String get login_repeaterLogin => 'Repeaterinloggning'; @override - String get login_roomLogin => 'Rum Inloggning'; + String get login_roomLogin => 'Inloggning på rumsserver'; @override String get login_password => 'Lösenord'; @@ -2250,6 +2456,12 @@ class AppLocalizationsSv extends AppLocalizations { @override String get login_enterPassword => 'Ange lösenord'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Spara lösenord'; @@ -2259,12 +2471,15 @@ class AppLocalizationsSv extends AppLocalizations { @override String get login_repeaterDescription => - 'Ange återuppspelarens lösenord för att komma åt inställningar och status.'; + 'Ange repeaterns lösenord för gäst- eller administratörsåtkomst.'; @override String get login_roomDescription => 'Ange rummets lösenord för att komma åt inställningar och status.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Ruttning'; @@ -2272,13 +2487,13 @@ class AppLocalizationsSv extends AppLocalizations { String get login_routingMode => 'Ruttläge'; @override - String get login_autoUseSavedPath => 'Automatisk (använd sparad sökväg)'; + String get login_autoUseSavedPath => 'Automatisk (använd sparad rutt)'; @override - String get login_forceFloodMode => 'Tvinga Översvämningsläge'; + String get login_forceFloodMode => 'Tvinga flood-läge'; @override - String get login_managePaths => 'Hantera Sökvägar'; + String get login_managePaths => 'Hantera rutter'; @override String get login_login => 'Logga in'; @@ -2304,23 +2519,26 @@ class AppLocalizationsSv extends AppLocalizations { String get common_clear => 'Rensa'; @override - String get path_currentPathLabel => 'Nuvarande sökväg'; + String get common_clearSearch => 'Clear search'; + + @override + String get path_currentPathLabel => 'Aktuell rutt'; @override String get path_noRepeatersFound => - 'Inga återuppspelare eller rumsservrar hittades.'; + 'Inga repeatrar eller rumsservrar hittades.'; @override - String get repeater_management => 'Återuppspelarens Hantering'; + String get repeater_management => 'Repeaterhantering'; @override - String get room_management => 'Rumserverhantering'; + String get room_management => 'Rumsserverhantering'; @override - String get repeater_guest => 'Information om repetorer'; + String get repeater_guest => 'Repeaterinformation'; @override - String get room_guest => 'Information om servern'; + String get room_guest => 'Rumsserverinformation'; @override String get repeater_managementTools => 'Administrationsverktyg'; @@ -2328,12 +2546,18 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_guestTools => 'Gästverktyg'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Status'; @override String get repeater_statusSubtitle => - 'Visa återspolningsstatus, statistik och grannar'; + 'Visa repeaterstatus, statistik och grannar'; @override String get repeater_telemetry => 'Telemetri'; @@ -2346,19 +2570,19 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_cli => 'Kommandoradgränssnitt'; @override - String get repeater_cliSubtitle => 'Skicka kommandon till repetitorn'; + String get repeater_cliSubtitle => 'Skicka kommandon till repeatern'; @override String get repeater_neighbors => 'Grannar'; @override - String get repeater_neighborsSubtitle => 'Visa noll hoppgrannar.'; + String get repeater_neighborsSubtitle => 'Visa nollhoppsgrannar.'; @override String get repeater_settings => 'Inställningar'; @override - String get repeater_settingsSubtitle => 'Konfigurera återspolarparametrar'; + String get repeater_settingsSubtitle => 'Konfigurera repeaterparametrar'; @override String get repeater_clockSyncAfterLogin => @@ -2369,7 +2593,7 @@ class AppLocalizationsSv extends AppLocalizations { 'Automatiskt skicka \"klocksynkronisering\" efter en lyckad inloggning.'; @override - String get repeater_statusTitle => 'Återspelsstatus'; + String get repeater_statusTitle => 'Repeaterstatus'; @override String get repeater_routingMode => 'Ruttläge'; @@ -2396,13 +2620,13 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_clockAtLogin => 'Klocka (vid inloggning)'; @override - String get repeater_uptime => 'Tillgänglighet'; + String get repeater_uptime => 'Drifttid'; @override - String get repeater_queueLength => 'Köans längd'; + String get repeater_queueLength => 'Kölängd'; @override - String get repeater_debugFlags => 'Felsökningsflaggor'; + String get repeater_debugFlags => 'Debugflaggor'; @override String get repeater_radioStatistics => 'Radiostatistik'; @@ -2411,16 +2635,16 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_lastRssi => 'Senaste RSSI'; @override - String get repeater_lastSnr => 'Sista SNR'; + String get repeater_lastSnr => 'Senaste SNR'; @override - String get repeater_noiseFloor => 'Ljudnivå'; + String get repeater_noiseFloor => 'Brusgolv'; @override - String get repeater_txAirtime => 'TX Airtime'; + String get repeater_txAirtime => 'TX-sändningstid'; @override - String get repeater_rxAirtime => 'RX Airtime'; + String get repeater_rxAirtime => 'RX-sändningstid'; @override String get repeater_chanUtil => 'Användning av kanal'; @@ -2449,17 +2673,17 @@ class AppLocalizationsSv extends AppLocalizations { @override String repeater_packetTxTotal(int total, String flood, String direct) { - return 'Totalt: $total, Översvämning: $flood, Direkt: $direct'; + return 'Totalt: $total, Flood: $flood, Direkt: $direct'; } @override String repeater_packetRxTotal(int total, String flood, String direct) { - return 'Totalt: $total, Översvämning: $flood, Direkt: $direct'; + return 'Totalt: $total, Flood: $flood, Direkt: $direct'; } @override String repeater_duplicatesFloodDirect(String flood, String direct) { - return 'Översvämning: $flood, Direkt: $direct'; + return 'Flood: $flood, Direkt: $direct'; } @override @@ -2468,28 +2692,30 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get repeater_settingsTitle => 'Återuppspelarens Inställningar'; + String get repeater_settingsTitle => 'Repeaterinställningar'; @override String get repeater_basicSettings => 'Grundinställningar'; @override - String get repeater_repeaterName => 'Upprepare Namn'; + String get repeater_repeaterName => 'Repeaternamn'; @override - String get repeater_repeaterNameHelper => 'Visa namn för denna återupprepare'; + String get repeater_repeaterNameHelper => + 'Visningsnamn för den här repeatern'; @override - String get repeater_adminPassword => 'Adminlösenord'; + String get repeater_adminPassword => 'Administratörslösenord'; @override String get repeater_adminPasswordHelper => 'Fullständig åtkomstlösenord'; @override - String get repeater_guestPassword => 'Gästlösenhet'; + String get repeater_guestPassword => 'Gästlösenord'; @override - String get repeater_guestPasswordHelper => 'Läs-skyddspassord'; + String get repeater_guestPasswordHelper => + 'Lösenord för skrivskyddad åtkomst'; @override String get repeater_radioSettings => 'Radioinställningar'; @@ -2501,7 +2727,7 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_frequencyHelper => '300–2500 MHz'; @override - String get repeater_txPower => 'TX Effekt'; + String get repeater_txPower => 'TX-effekt'; @override String get repeater_txPowerHelper => '1-30 dBm'; @@ -2510,7 +2736,7 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_bandwidth => 'Bandbredd'; @override - String get repeater_spreadingFactor => 'Spreadingfaktor'; + String get repeater_spreadingFactor => 'Spridningsfaktor'; @override String get repeater_codingRate => 'Kodningsgrad'; @@ -2525,7 +2751,7 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_latitudeHelper => 'Decimalgrader (t.ex. 37.7749)'; @override - String get repeater_longitude => 'Längdgrad'; + String get repeater_longitude => 'Longitud'; @override String get repeater_longitudeHelper => 'Decimalgrader (t.ex. -122.4194)'; @@ -2534,11 +2760,11 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_features => 'Funktioner'; @override - String get repeater_packetForwarding => 'Paketväxling'; + String get repeater_packetForwarding => 'Vidarebefordran av paket'; @override String get repeater_packetForwardingSubtitle => - 'Aktivera återuppspelaren för att vidarebefordra paket'; + 'Låt repeatern vidarebefordra paket'; @override String get repeater_guestAccess => 'Gäståtkomst'; @@ -2557,7 +2783,7 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_advertisementSettings => 'Annonsinställningar'; @override - String get repeater_localAdvertInterval => 'Lokalt Annonsintervall'; + String get repeater_localAdvertInterval => 'Intervall för lokal annonsering'; @override String repeater_localAdvertIntervalMinutes(int minutes) { @@ -2565,8 +2791,7 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get repeater_floodAdvertInterval => - 'Översvämnadsannonsens tidsintervall'; + String get repeater_floodAdvertInterval => 'Intervall för flood-annonsering'; @override String repeater_floodAdvertIntervalHours(int hours) { @@ -2574,16 +2799,17 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get repeater_encryptedAdvertInterval => 'Krypterad Annonsintervall'; + String get repeater_encryptedAdvertInterval => + 'Intervall för krypterad annonsering'; @override String get repeater_dangerZone => 'Faraområde'; @override - String get repeater_rebootRepeater => 'Starta Återuppspelaren'; + String get repeater_rebootRepeater => 'Starta om repeater'; @override - String get repeater_rebootRepeaterSubtitle => 'Starta om repeternheten'; + String get repeater_rebootRepeaterSubtitle => 'Starta om repeatern'; @override String get repeater_rebootRepeaterConfirm => @@ -2598,14 +2824,14 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_regenerateIdentityKeyConfirm => - 'Detta kommer att generera en ny identitet för återspelaren. Fortsätta?'; + 'Detta genererar en ny identitet för repeatern. Fortsätta?'; @override String get repeater_eraseFileSystem => 'Radera Filsystem'; @override String get repeater_eraseFileSystemSubtitle => - 'Formatera återspelsfilsystemet'; + 'Formatera repeaterns filsystem'; @override String get repeater_eraseFileSystemConfirm => @@ -2640,17 +2866,17 @@ class AppLocalizationsSv extends AppLocalizations { 'Ökad känslighet, högre strömförbrukning (endast för SX1262/SX1268)'; @override - String get repeater_refreshRxGain => 'Återställ förbättrad RX-signalstyrka'; + String get repeater_refreshRxGain => 'Uppdatera förstärkt RX-gain'; @override String get repeater_multiAcks => 'Flera bekräftelser'; @override String get repeater_multiAcksSubtitle => - 'Bekräfta meddelanden via flera olika kanaler för bättre leverans.'; + 'Kvittera meddelanden via flera rutter för säkrare leverans'; @override - String get repeater_refreshMultiAcks => 'Återställ flera ACK-meddelanden'; + String get repeater_refreshMultiAcks => 'Uppdatera multi-ACK'; @override String get repeater_networkHealth => 'Nätverkets hälsa'; @@ -2660,7 +2886,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_loopDetectHelper => - 'Skapa \"flödespaket\" som ser ut som att de bildar en loop (en återkommande krets).'; + 'Släpp flood-paket som ser ut att ingå i routingloopar'; @override String get repeater_loopDetectOff => 'Av'; @@ -2686,21 +2912,21 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get repeater_ownerInfo => 'Information om operatören'; + String get repeater_ownerInfo => 'Operatörsinformation'; @override String get repeater_ownerInfoHelper => - 'Offentliga metadata för denna sändare'; + 'Publik metadata för den här repeatern'; @override - String get repeater_refreshOwnerInfo => 'Uppdatera information om personal'; + String get repeater_refreshOwnerInfo => 'Uppdatera operatörsinformation'; @override - String get repeater_floodMax => 'Maximala mängden humle'; + String get repeater_floodMax => 'Max antal flood-hopp'; @override String get repeater_floodMaxHelper => - 'Maximalt antal hopp en paket kan färdas (0-64)'; + 'Maximalt antal hopp som ett flood-paket får färdas (0–64)'; @override String get repeater_advancedSettings => 'Avancerad'; @@ -2710,18 +2936,18 @@ class AppLocalizationsSv extends AppLocalizations { 'Ställjusteringsknappar för erfarna användare'; @override - String get repeater_pathHashMode => 'Hash-läge för sökväg'; + String get repeater_pathHashMode => 'Läge för rutthash'; @override String get repeater_pathHashModeHelper => - 'Byte som används för att koda denna repeaters ID i taggar för flood-väg/loopdetektering. 0=1 byte (256 ID:n, upp till 64 hopp), 1=2 byte (65 000 ID:n, upp till 32 hopp), 2=3 byte (16 miljoner ID:n, upp till 21 hopp). Firmware före v1.14 använde alltid 1-byte-vägar; v1.14 och nyare kan konfigureras för 2- eller 3-byte-vägar.'; + 'Byte som används för att koda repeaterns ID i flood-ruttens/loopdetekteringens taggar. 0=1 byte (256 ID:n, upp till 64 hopp), 1=2 byte (65K ID:n, upp till 32 hopp), 2=3 byte (16M ID:n, upp till 21 hopp). Firmware före v1.14 använde alltid 1-byte-rutter; v1.14 och senare kan konfigureras för 2- eller 3-byte-rutter.'; @override String get repeater_keySettings => 'Ändra identitetsnyckel'; @override String get repeater_keySettingsSubtitle => - 'Vänd nya offentliga/privata nyckelpar'; + 'Ändra det publika/privata nyckelparet'; @override String get repeater_prvKey => 'Privat nyckel'; @@ -2731,39 +2957,39 @@ class AppLocalizationsSv extends AppLocalizations { 'En ny privat nyckel för repeatern, en hexsträng med 128 tecken.'; @override - String get repeater_generatePrvKey => 'Generera en kära nyckelpaar'; + String get repeater_generatePrvKey => 'Generera ett slumpmässigt nyckelpar'; @override - String get repeater_stopGeneratingPrvKey => 'Avbröka sökande efter nyckelpa'; + String get repeater_stopGeneratingPrvKey => 'Avbryt sökning efter nyckelpar'; @override - String get repeater_pubKey => 'Öffentlig nyckel'; + String get repeater_pubKey => 'Publik nyckel'; @override String get repeater_pubKeyHelper => - 'Detta är den offentliga nyckeln som tillhör genererad privaten nyckel. Du kan inte setta den direkt.'; + 'Det här är den publika nyckeln som hör till den genererade privata nyckeln. Den kan inte anges direkt.'; @override String get repeater_pubKeyPrefix => 'Önskad prefix'; @override String repeater_pubKeyPrefixHelper(int tries) { - return 'Hitta en offentlig nyckel som börjar med dessa hexadecimala siffror. Förväntad antal försök: $tries.'; + return 'Hitta en publik nyckel som börjar med dessa hexsiffror. Förväntat antal försök: $tries.'; } @override - String get repeater_txDelay => 'Försening i Flood TX'; + String get repeater_txDelay => 'Flood-TX-fördröjning'; @override String get repeater_txDelayHelper => - 'Återöverföringsintervall för trafik under perioder med hög belastning, som en multiplikator av paketets överföringstid (0-2, standard 0,5). Högre värde = färre kollisioner, men långsammare leverans.'; + 'Intervall mellan vidarebefordringar för flood-trafik, som en multiplikator av paketets sändningstid (0–2, standard 0,5). Högre = färre kollisioner men långsammare leverans.'; @override String get repeater_directTxDelay => 'Direkt TX-fördröjning'; @override String get repeater_directTxDelayHelper => - 'Återöverföringsintervall för direkt (icke-översvämmande) trafik, som en multiplikator av paketets överföringstid (0-2, standard 0,3).'; + 'Intervall mellan vidarebefordringar för direkt trafik (icke-flood), som en multiplikator av paketets sändningstid (0–2, standard 0,3).'; @override String get repeater_intThresh => 'Tröskelvärde för störning'; @@ -2783,19 +3009,18 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_actionsTitle => 'Åtgärder'; @override - String get repeater_sendAdvert => 'Skicka annons om översvämning'; + String get repeater_sendAdvert => 'Skicka flood-annonsering'; @override String get repeater_sendAdvertSubtitle => - 'Sänd en reklamfilm om översvämningar via nätverket.'; + 'Sänd en flood-annonsering genom nätverket'; @override - String get repeater_sendAdvertZeroHop => - 'Skicka en annons som inte kräver någon mellanstopp'; + String get repeater_sendAdvertZeroHop => 'Skicka nollhoppsannons'; @override String get repeater_sendAdvertZeroHopSubtitle => - 'Sänd en reklamkampanj med en enda sändare (utan mellanliggande sändare).'; + 'Sänd en nollhoppsannons (inga vidarebefordringar)'; @override String get repeater_clockSync => 'Synkronisera klockan nu'; @@ -2816,7 +3041,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_settingsSavedRebootNeeded => - 'Inställningar sparade – starta om repetern för att tillämpa dem'; + 'Inställningarna har sparats — starta om repeatern för att tillämpa dem'; @override String repeater_settingsPartialFailure(String failures) { @@ -2829,23 +3054,34 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get repeater_refreshBasicSettings => - 'Återställ Grundläggande Inställningar'; + String get repeater_refreshBasicSettings => 'Uppdatera grundinställningar'; @override - String get repeater_refreshRadioSettings => 'Återställ Radiosinställningar'; + String get repeater_refreshRadioSettings => 'Uppdatera radioinställningar'; @override - String get repeater_refreshTxPower => 'Återställ TX-effekt'; + String get repeater_refreshTxPower => 'Uppdatera TX-effekt'; @override - String get repeater_refreshPacketForwarding => 'Återställ Paketväxling'; + String get repeater_refreshPacketForwarding => + 'Uppdatera paketvidarebefordran'; @override - String get repeater_refreshGuestAccess => 'Återställ Gäståtkomst'; + String get repeater_refreshGuestAccess => 'Uppdatera gäståtkomst'; @override - String get repeater_refreshPrivacyMode => 'Återställ Sekretessläge'; + String get repeater_refreshPrivacyMode => 'Uppdatera privatläge'; + + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; @override String repeater_refreshed(String label) { @@ -2858,13 +3094,13 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get repeater_cliTitle => 'Återuppspelaren CLI'; + String get repeater_cliTitle => 'Repeater-CLI'; @override String get repeater_debugNextCommand => 'Felsök Nästa Kommando'; @override - String get repeater_commandHelp => 'Hjälp'; + String get repeater_commandHelp => 'Kommandohjälp'; @override String get repeater_clearHistory => 'Rensa Historik'; @@ -2954,15 +3190,15 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpSetRepeat => - 'Aktiverar eller inaktiverar återuppspelarens roll för denna nod.'; + 'Aktiverar eller inaktiverar repeaterrollen för den här noden.'; @override String get repeater_cliHelpSetAllowReadOnly => - '(Rumserver) Om \'på\', så tillåts login med tomt lösenord, men kan inte Posta till rummet. (bara läsa).'; + '(Rumsserver) Om detta är på tillåts inloggning med tomt lösenord, men det går inte att posta till rummet (endast läsning).'; @override String get repeater_cliHelpSetFloodMax => - 'Ställer in det maximala antalet hopp för inkommande översvämning (om >= max, skickas inte paketet).'; + 'Anger maximalt antal hopp för inkommande flood-paket (om >= max vidarebefordras inte paketet).'; @override String get repeater_cliHelpSetIntThresh => @@ -2978,18 +3214,19 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpSetAdvertInterval => - 'Ställer in tidsintervallen i minuter för att skicka ett lokalt (utan-hopp) annonseringspaket. Ställs till 0 för att inaktivera.'; + 'Anger tidsintervallet i minuter för att skicka ett lokalt nollhopps-annonseringspaket. Ange 0 för att inaktivera.'; @override String get repeater_cliHelpSetFloodAdvertInterval => - 'Ställer in tidsintervallen i timmar för att skicka ett flödesannonspaket. Ställ in på 0 för att inaktivera.'; + 'Anger tidsintervallet i timmar för att skicka ett flood-annonseringspaket. Ange 0 för att inaktivera.'; @override String get repeater_cliHelpSetGuestPassword => - 'Ställer in/uppdaterar gästlösenordet. (för återvändare kan gästloggar skicka \"Get Stats\"-förfrågan)'; + 'Anger/uppdaterar gästlösenordet. (För repeatrar kan gästinloggningar skicka begäran \"Get Stats\".)'; @override - String get repeater_cliHelpSetName => 'Ställer in annonstexterna namn.'; + String get repeater_cliHelpSetName => + 'Anger namnet som används i annonseringen.'; @override String get repeater_cliHelpSetLat => @@ -3009,7 +3246,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpSetTxDelay => - 'Ställer in en faktor som multipliceras med tid på luft för en översvämningsläge-paket och med ett slumpmässigt slot-system för att fördröja dess vidarebefordran (för att minska risken för kollisioner).'; + 'Anger en faktor som multipliceras med sändningstiden för ett paket i flood-läge och används med ett slumpmässigt slotsystem för att fördröja vidarebefordran (för att minska risken för kollisioner).'; @override String get repeater_cliHelpSetDirectTxDelay => @@ -3062,7 +3299,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpNeighbors => - 'Visar en lista över andra repeaternoder som hörts via noll-hop-annonser. Varje rad är id-prefix-hex:tidsstämpel:snr-g撮-4'; + 'Visar en lista över andra repeaternoder som hörts via nollhoppsannonser. Varje rad är id-prefix-hex:timestamp:snr-times-4.'; @override String get repeater_cliHelpNeighborRemove => @@ -3070,7 +3307,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpRegion => - '(Serien endast) Listar alla definierade regioner och aktuella översvämningsbehörigheter.'; + '(Endast seriell anslutning) Listar alla definierade regioner och aktuella behörigheter för flood-trafik.'; @override String get repeater_cliHelpRegionLoad => @@ -3129,7 +3366,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGpsAdvertSet => - 'Ställer in annonsplatskonfiguration.'; + 'Anger konfigurationen för plats i annonser.'; @override String get repeater_commandsListTitle => 'Inställningslista'; @@ -3138,6 +3375,75 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_commandsListNote => 'OBS: för de olika \"set ...\" -kommandon finns det även ett \"get ...\" -kommando.'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => 'Ogiltig frekvens (150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 till 30 dBm'; + + @override + String get repeater_recvErrors => 'Mottagningsfel'; + + @override + String get room_postsStored => 'Inlägg'; + + @override + String get room_postsPushed => 'Skickade inlägg'; + + @override + String get repeater_cliRegionLoadActive => + 'Regionladdningsläge: skicka ett regionnamn per rad, indraget med blanksteg under sin förälder (lägg till F efter namnet för att tillåta flood). Rader får inget svar. Skicka en tom rad för att avsluta, och sedan \"region save\" för att spara resultatet.'; + + @override + String get repeater_cliRegionLoadHint => + 'Regionrad, eller tom för att avsluta'; + + @override + String get repeater_cliRegionLoadEnd => '(slut på regionladdning)'; + + @override + String get repeater_cliHelpRegionDef => + 'Definierar en kedja av regioner i ett kommando: varje namn läggs till under det föregående; \"name,parent\" lägger till namnet och fortsätter sedan under den angivna föräldern. Svarar med regionlistan.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Anger det maximala antalet hopp för vidarebefordran av flood-paket utan regionscope (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Anger det maximala antalet hopp för vidarebefordran av flood-annonser (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Visar det maximala antalet hopp för flood-paket utan regionscope.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Visar det maximala antalet hopp för flood-annonser.'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Växlar LoRa-frontändmodulens RX-gain (LNA). Kort utan denna modul svarar \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Växlar LoRa-frontändmodulens TX-gain (PA). Kort utan denna modul svarar \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Visar om LoRa-frontändmodulens RX-gain är påslagen.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Visar om LoRa-frontändmodulens TX-gain är påslagen.'; + + @override + String get repeater_bridgeNote => + 'Endast tillgängligt på firmware byggd med en brygga (RS232 eller ESP-NOW).'; + @override String get repeater_general => 'Allmänt'; @@ -3151,11 +3457,11 @@ class AppLocalizationsSv extends AppLocalizations { String get repeater_logging => 'Logga'; @override - String get repeater_neighborsRepeaterOnly => 'Grannar (Endast återspelare)'; + String get repeater_neighborsRepeaterOnly => 'Grannar (endast repeater)'; @override String get repeater_regionManagementRepeaterOnly => - 'Regionhantering (endast återuppspelare)'; + 'Regionhantering (endast repeater)'; @override String get repeater_regionNote => @@ -3187,7 +3493,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Skickar en annons som når endast direkt grannar (endast närmaste grannar).'; + 'Skickar en nollhoppsannons (endast direkta grannar).'; @override String get repeater_cliHelpStartOta => @@ -3203,7 +3509,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpDiscoverNeighbors => - 'Skickar en förfrågan om att upptäcka närliggande noder. (Endast för repetrar)'; + 'Skickar en begäran om nodupptäckt till närliggande grannar. (Endast repeater.)'; @override String get repeater_cliHelpPowersaving => @@ -3239,7 +3545,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpSetLoopDetect => - 'Ställer in känsligheten för att detektera loopar i routningen: av, minimal, måttlig eller strikt.'; + 'Ställer in känsligheten för detektering av routingloopar: av, minimal, måttlig eller strikt.'; @override String get repeater_cliHelpSetFreq => @@ -3254,7 +3560,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGetRole => - 'Visar firmware-funktionen (Repeater, Room Server, etc.).'; + 'Visar firmware-rollen (repeater, rumsserver osv.).'; @override String get repeater_cliHelpGetPublicKey => 'Visar enhetens publika nyckel.'; @@ -3272,7 +3578,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGetFreq => - 'Visar den konfigurerade radiovågen i MHz.'; + 'Visar den konfigurerade radiofrekvensen i MHz.'; @override String get repeater_cliHelpGetRadio => @@ -3307,11 +3613,11 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Visar den lokala reklampausens längd i minuter.'; + 'Visar intervallet för lokala annonseringar i minuter.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Visar tidsintervallet för reklamsegmentet under översvämningen, i timmar.'; + 'Visar intervallet för flood-annonseringar i timmar.'; @override String get repeater_cliHelpGetGuestPassword => 'Visar det angivna gästlösen.'; @@ -3327,22 +3633,22 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Visar faktor för fördröjning i flödesläge.'; + 'Visar txdelay-faktorn för flood-läge.'; @override String get repeater_cliHelpGetDirectTxDelay => 'Visar faktorn för fördröjning i direktläge.'; @override - String get repeater_cliHelpGetFloodMax => - 'Visar det maximala antalet gånger en översvämning har inträffat.'; + String get repeater_cliHelpGetFloodMax => 'Visar maximalt antal flood-hopp.'; @override String get repeater_cliHelpGetOwnerInfo => 'Visar strängen med kontaktinformation för ägaren.'; @override - String get repeater_cliHelpGetPathHashMode => 'Visar hash-läge (0/1/2).'; + String get repeater_cliHelpGetPathHashMode => + 'Visar läget för rutthash (0/1/2).'; @override String get repeater_cliHelpGetLoopDetect => @@ -3350,7 +3656,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGetAcl => - '(Endast för serier) Visar åtkomstkontrollinställningarna för en repeater.'; + 'Visar åtkomstkontrollposterna på en repeater. (Endast seriell anslutning.)'; @override String get repeater_cliHelpGetBridgeEnabled => 'Visar om bron är aktiverad.'; @@ -3385,7 +3691,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpGetPwrMgtSupport => - 'Anger om styrelsen har stöd för energihantering.'; + 'Anger om kortet har stöd för strömhantering.'; @override String get repeater_cliHelpGetPwrMgtSource => @@ -3401,7 +3707,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpSensorGet => - 'Läser en anpassad sensorinställning via tangentbordet.'; + 'Läser en anpassad sensorinställning via nyckel.'; @override String get repeater_cliHelpSensorSet => @@ -3421,11 +3727,11 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Lista områden där det är tillåtet med trafik under översvämningsförhållanden.'; + 'Listar regioner som tillåter flood-trafik.'; @override String get repeater_cliHelpRegionListDenied => - 'Listar områden där trafik på grund av översvämningar är förbjuden.'; + 'Listar regioner som blockerar flood-trafik.'; @override String get repeater_cliHelpStatsPackets => @@ -3433,7 +3739,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get repeater_cliHelpStatsRadio => - '(Enbart för serier) Visar radiostatistik.'; + '(Endast seriell anslutning) Visar radiostatistik.'; @override String get repeater_cliHelpStatsCore => @@ -3471,7 +3777,7 @@ class AppLocalizationsSv extends AppLocalizations { String get telemetry_temperatureLabel => 'Temperatur'; @override - String get telemetry_currentLabel => 'Aktuell'; + String get telemetry_currentLabel => 'Ström'; @override String telemetry_batteryValue(int percent, String volts) { @@ -3630,7 +3936,8 @@ class AppLocalizationsSv extends AppLocalizations { String get neighbors_receivedData => 'Mottagna grannars data'; @override - String get neighbors_requestTimedOut => 'Grannar begär tidsinställd utskick.'; + String get neighbors_requestTimedOut => + 'Tidsgränsen för grannförfrågan överskreds.'; @override String neighbors_errorLoading(String error) { @@ -3638,7 +3945,7 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get neighbors_repeatersNeighbors => 'Upprepar grannar'; + String get neighbors_repeatersNeighbors => 'Repeatergrannar'; @override String get neighbors_noData => 'Inga grannuppgifter finns tillgängliga.'; @@ -3654,20 +3961,20 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get channelPath_title => 'Paketväg'; + String get channelPath_title => 'Paketrutt'; @override String get channelPath_viewMap => 'Visa karta'; @override - String get channelPath_otherObservedPaths => 'Övriga observerade stigar'; + String get channelPath_otherObservedPaths => 'Andra observerade rutter'; @override - String get channelPath_repeaterHops => 'Återupptagningssteg'; + String get channelPath_repeaterHops => 'Repeaterhopp'; @override String get channelPath_noHopDetails => - 'Detaljer för denna paket är inte angivna.'; + 'Hoppdetaljer anges inte för det här paketet.'; @override String get channelPath_messageDetails => 'Meddelandets detaljer'; @@ -3683,7 +3990,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String channelPath_pathLabel(int index) { - return 'Sökväg $index'; + return 'Rutt $index'; } @override @@ -3691,7 +3998,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String channelPath_observedPathTitle(int index, String hops) { - return 'Observerad bana $index • $hops'; + return 'Observerad rutt $index • $hops'; } @override @@ -3708,10 +4015,10 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get channelPath_unknownPath => 'Okänt'; + String get channelPath_unknownPath => 'Okänd'; @override - String get channelPath_floodPath => 'Översvämning'; + String get channelPath_floodPath => 'Flood-trafik'; @override String get channelPath_directPath => 'Direkt'; @@ -3727,22 +4034,22 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get channelPath_mapTitle => 'Sökvägskarta'; + String get channelPath_mapTitle => 'Ruttkarta'; @override String get channelPath_noRepeaterLocations => - 'Inga återupprepningsplatser finns tillgängliga för denna väg.'; + 'Inga repeaterpositioner är tillgängliga för den här rutten.'; @override String channelPath_primaryPath(int index) { - return 'Sökväg $index (Primär)'; + return 'Rutt $index (primär)'; } @override - String get channelPath_pathLabelTitle => 'Sökväg'; + String get channelPath_pathLabelTitle => 'Rutt'; @override - String get channelPath_observedPathHeader => 'Observerad Sökväg'; + String get channelPath_observedPathHeader => 'Observerad rutt'; @override String channelPath_selectedPathLabel(String label, String prefixes) { @@ -3754,7 +4061,7 @@ class AppLocalizationsSv extends AppLocalizations { 'Inga hoppdetaljer finns tillgängliga för detta paket.'; @override - String get channelPath_unknownRepeater => 'Okänt Upprepare'; + String get channelPath_unknownRepeater => 'Okänd repeater'; @override String get community_title => 'Gemenskap'; @@ -3788,7 +4095,7 @@ class AppLocalizationsSv extends AppLocalizations { String get community_showQr => 'Visa QR-kod'; @override - String get community_publicChannel => 'Föreningens Offentliga'; + String get community_publicChannel => 'Publik communitykanal'; @override String get community_hashtagChannel => 'Hashtag för gemenskapen'; @@ -3797,7 +4104,7 @@ class AppLocalizationsSv extends AppLocalizations { String get community_name => 'Gemenskapens namn'; @override - String get community_enterName => 'Ange communities namn'; + String get community_enterName => 'Ange communityns namn'; @override String community_created(String name) { @@ -3833,12 +4140,11 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get community_addPublicChannel => - 'Lägg till Gemenskapskanal (Offentlig)'; + String get community_addPublicChannel => 'Lägg till publik communitykanal'; @override String get community_addPublicChannelHint => - 'Lägg automatiskt till den offentliga kanalen för denna community'; + 'Lägg automatiskt till den publika kanalen för den här communityn'; @override String get community_noCommunities => 'Inga gemenskaper har anslutats ännu'; @@ -3881,7 +4187,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String community_secretRegenerated(String name) { - return 'Lösenord återskapad för \"$name\"'; + return 'Hemligheten har genererats om för “$name”'; } @override @@ -3935,10 +4241,10 @@ class AppLocalizationsSv extends AppLocalizations { String get listFilter_latestMessages => 'Senaste meddelanden'; @override - String get listFilter_heardRecently => 'Hörts nyligen'; + String get listFilter_heardRecently => 'Nyligen hörd'; @override - String get listFilter_az => 'A-Z'; + String get listFilter_az => 'A-Ö'; @override String get listFilter_filters => 'Filteralternativ'; @@ -3959,10 +4265,10 @@ class AppLocalizationsSv extends AppLocalizations { String get listFilter_users => 'Användare'; @override - String get listFilter_repeaters => 'Upprepare'; + String get listFilter_repeaters => 'Repeatrar'; @override - String get listFilter_roomServers => 'Rumservrar'; + String get listFilter_roomServers => 'Rumsservrar'; @override String get listFilter_unreadOnly => 'Endast oinlästa'; @@ -3974,20 +4280,20 @@ class AppLocalizationsSv extends AppLocalizations { String get pathTrace_you => 'Du'; @override - String get pathTrace_failed => 'Sökvägsföljning misslyckades.'; + String get pathTrace_failed => 'Ruttspårningen misslyckades.'; @override - String get pathTrace_notAvailable => 'Path trace ej tillgänglig.'; + String get pathTrace_notAvailable => 'Ruttspårning är inte tillgänglig.'; @override - String get pathTrace_refreshTooltip => 'Uppdatera Path Trace'; + String get pathTrace_refreshTooltip => 'Uppdatera ruttspårning.'; @override String get pathTrace_someHopsNoLocation => - 'En eller flera av humlen saknar en plats!'; + 'Ett eller flera hopp saknar position!'; @override - String get pathTrace_clearTooltip => 'Rensa väg'; + String get pathTrace_clearTooltip => 'Rensa rutt'; @override String get losSelectStartEnd => 'Välj start- och slutnoder för LOS.'; @@ -4014,7 +4320,7 @@ class AppLocalizationsSv extends AppLocalizations { String get losShowDisplayNodes => 'Visa displaynoder'; @override - String get losCustomPoints => 'Anpassade poäng'; + String get losCustomPoints => 'Anpassade punkter'; @override String losCustomPointLabel(int index) { @@ -4050,7 +4356,7 @@ class AppLocalizationsSv extends AppLocalizations { String clearance, String heightUnit, ) { - return '$distance $distanceUnit, rensa LOS, min clearance $clearance $heightUnit'; + return '$distance $distanceUnit, fri siktlinje, minsta frigång $clearance $heightUnit'; } @override @@ -4071,7 +4377,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String losStatusSummary(int clear, int total, int blocked, int unknown) { - return 'LOS: $clear/$total rensa, $blocked blockerad, $unknown okänd'; + return 'LOS: $clear/$total fria, $blocked blockerade, $unknown okända'; } @override @@ -4107,7 +4413,7 @@ class AppLocalizationsSv extends AppLocalizations { String get losLegendTerrain => 'Terräng'; @override - String get losBlockedSpotsTitle => 'Reserverade platser'; + String get losBlockedSpotsTitle => 'Blockerade punkter'; @override String get losBlockedSpotsHint => @@ -4124,7 +4430,7 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get losSelectedObstructionTitle => 'Vald hinder'; + String get losSelectedObstructionTitle => 'Valt hinder'; @override String losSelectedObstructionDetails( @@ -4134,7 +4440,7 @@ class AppLocalizationsSv extends AppLocalizations { String distanceUnit, String distanceFromB, ) { - return 'Blocked by $obstruction $heightUnit, $distanceFromA from A and $distanceFromB from B ($distanceUnit).'; + return 'Blockerad av $obstruction $heightUnit, $distanceFromA från A och $distanceFromB från B ($distanceUnit).'; } @override @@ -4157,22 +4463,22 @@ class AppLocalizationsSv extends AppLocalizations { } @override - String get contacts_pathTrace => 'Spårning'; + String get contacts_pathTrace => 'Ruttspårning'; @override - String get contacts_ping => 'Ping'; + String get contacts_ping => 'Pinga'; @override - String get contacts_repeaterPathTrace => 'Vägspårning till repeater'; + String get contacts_repeaterPathTrace => 'Ruttspårning till repeater'; @override String get contacts_repeaterPing => 'Ping-repeater'; @override - String get contacts_roomPathTrace => 'Vägspårning till rumserver'; + String get contacts_roomPathTrace => 'Ruttspårning till rumsserver'; @override - String get contacts_roomPing => 'Ping rumsserver'; + String get contacts_roomPing => 'Pinga rumsserver'; @override String get contacts_chatTraceRoute => 'Spåra rutt'; @@ -4195,10 +4501,10 @@ class AppLocalizationsSv extends AppLocalizations { String get contacts_contactImportFailed => 'Kontakt kunde inte importeras.'; @override - String get contacts_zeroHopAdvert => 'Reklam med nollhopp'; + String get contacts_zeroHopAdvert => 'Nollhoppsannons'; @override - String get contacts_floodAdvert => 'Översvämningsannons'; + String get contacts_floodAdvert => 'Flood-annonsering'; @override String get contacts_copyAdvertToClipboard => 'Kopiera annons till urklipp'; @@ -4273,18 +4579,19 @@ class AppLocalizationsSv extends AppLocalizations { @override String get settings_gpxExportRepeaters => - 'Exportera repeater / rumsservrar till GPX'; + 'Exportera repeatrar/rumsservrar till GPX'; @override String get settings_gpxExportRepeatersSubtitle => - 'Exporterar repeater / roomserver med plats till GPX-fil.'; + 'Exporterar repeatrar/rumsservrar med position till en GPX-fil.'; @override - String get settings_gpxExportContacts => 'Exportera följeslagare till GPX'; + String get settings_gpxExportContacts => + 'Exportera Companion-kontakter till GPX'; @override String get settings_gpxExportContactsSubtitle => - 'Exporterar följeslagare med en plats till GPX-fil.'; + 'Exporterar Companion-enheter med position till en GPX-fil.'; @override String get settings_gpxExportAll => 'Exportera alla kontakter till GPX'; @@ -4312,7 +4619,7 @@ class AppLocalizationsSv extends AppLocalizations { 'Repeater- och rumsserverplatser'; @override - String get settings_gpxExportChat => 'Medhjälparplatser'; + String get settings_gpxExportChat => 'Companion-positioner'; @override String get settings_gpxExportAllContacts => 'Alla kontakters platser'; @@ -4326,11 +4633,15 @@ class AppLocalizationsSv extends AppLocalizations { 'meshcore-open export av GPX-kartdata'; @override - String get snrIndicator_nearByRepeaters => 'Närliggande uppreparstationer'; + String get snrIndicator_nearByRepeaters => 'Närliggande repeatrar'; @override String get snrIndicator_lastSeen => 'Senast sedd'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Kontaktinställningar'; @@ -4347,15 +4658,15 @@ class AppLocalizationsSv extends AppLocalizations { @override String get contactsSettings_autoAddUsersSubtitle => - 'Tillåt kompanjonen att automatiskt lägga till upptäckta användare'; + 'Tillåt Companion-enheten att automatiskt lägga till upptäckta användare.'; @override String get contactsSettings_autoAddRepeatersTitle => - 'Lägg till upprepande enheter automatiskt'; + 'Lägg till repeatrar automatiskt'; @override String get contactsSettings_autoAddRepeatersSubtitle => - 'Tillåt kompanjonen att automatiskt lägga till upptäckta repeater.'; + 'Tillåt Companion-enheten att automatiskt lägga till upptäckta repeatrar.'; @override String get contactsSettings_autoAddRoomServersTitle => @@ -4363,7 +4674,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get contactsSettings_autoAddRoomServersSubtitle => - 'Tillåt kompanjonen att automatiskt lägga till upptäckta rumsservrar.'; + 'Tillåt Companion-enheten att automatiskt lägga till upptäckta rumsservrar.'; @override String get contactsSettings_autoAddSensorsTitle => @@ -4371,10 +4682,10 @@ class AppLocalizationsSv extends AppLocalizations { @override String get contactsSettings_autoAddSensorsSubtitle => - 'Tillåt kompanjonen att automatiskt lägga till upptäckta sensorer.'; + 'Tillåt Companion-enheten att automatiskt lägga till upptäckta sensorer.'; @override - String get contactsSettings_overwriteOldestTitle => 'Skriv över äldst'; + String get contactsSettings_overwriteOldestTitle => 'Skriv över äldsta'; @override String get contactsSettings_overwriteOldestSubtitle => @@ -4387,7 +4698,7 @@ class AppLocalizationsSv extends AppLocalizations { String get discoveredContacts_noMatching => 'Inga matchande kontakter'; @override - String get discoveredContacts_searchHint => 'Sök uppfunna kontakter'; + String get discoveredContacts_searchHint => 'Sök bland upptäckta kontakter'; @override String get discoveredContacts_contactAdded => 'Kontakt tillagd'; @@ -4414,15 +4725,14 @@ class AppLocalizationsSv extends AppLocalizations { 'Vänligen vänta en stund innan du skickar igen.'; @override - String get appSettings_jumpToOldestUnread => - 'Gå direkt till det äldsta, obesvarade meddelandet'; + String get appSettings_jumpToOldestUnread => 'Gå till äldsta olästa'; @override String get appSettings_jumpToOldestUnreadSubtitle => 'När du öppnar en chatt med oinlästa meddelanden, scrolla till det första oinlästa meddelandet istället för det senaste.'; @override - String get appSettings_languageHu => 'Ungerskt'; + String get appSettings_languageHu => 'Ungerska'; @override String get appSettings_languageJa => 'Japanska'; @@ -4434,7 +4744,13 @@ class AppLocalizationsSv extends AppLocalizations { String get radioStats_tooltip => 'Radio- och mesh-statistik'; @override - String get radioStats_screenTitle => 'Radiostation'; + String get radioStats_screenTitle => 'Radiostatistik'; + + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; @override String get radioStats_notConnected => @@ -4442,7 +4758,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get radioStats_firmwareTooOld => - 'Radio statistik kräver kompatibel firmware version 8 eller senare.'; + 'Radiostatistik kräver Companion-firmware v8 eller senare.'; @override String get radioStats_waiting => 'Väntar på data…'; @@ -4474,7 +4790,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String get radioStats_chartCaption => - 'Ljudnivå (dBm) baserat på de senaste mätningarna.'; + 'Brusgolv (dBm) för de senaste mätningarna.'; @override String radioStats_stripNoise(int noiseDbm) { @@ -4485,52 +4801,51 @@ class AppLocalizationsSv extends AppLocalizations { String get radioStats_stripWaiting => 'Hämtar radiostatistik…'; @override - String get radioStats_settingsTile => 'Radiostation'; + String get radioStats_settingsTile => 'Radiostatistik'; @override String get radioStats_settingsSubtitle => - 'Bakgrundsnivå, RSSI, SNR och tillgänglig tid'; + 'Brusgolv, RSSI, SNR och sändningstid'; @override String get translation_title => 'Översättning'; @override - String get imageMessages_enableTitle => 'Bildermeddelanden'; + String get imageMessages_enableTitle => 'Aktivera bildmeddelanden'; @override String get imageMessages_enableSubtitle => - 'Send bilder över mönstret. Det kräver en enkelt bildmodellhämtning.'; + 'Skicka bilder över meshnätet. Kräver en engångsnedladdning av bildmodellen.'; @override String get imageMessages_modelSectionTitle => 'Bildmodell'; @override - String get imageMessages_downloadModel => 'Download'; + String get imageMessages_downloadModel => 'Ladda ned'; @override - String get imageMessages_cancelDownload => 'Avbud'; + String get imageMessages_cancelDownload => 'Avbryt'; @override - String get imageMessages_removeModel => 'Förhåll dig från modellen'; + String get imageMessages_removeModel => 'Ta bort modellen'; @override String get imageMessages_modelReady => 'Färdig'; @override String get imageMessages_modelNotPublished => - 'Ingen publikerad än — denna byggnads kan inte laddas ner av det.'; + 'Inte publicerad ännu — den här versionen kan inte ladda ned den.'; @override String get imageMessages_downloadFailed => 'Bildmodellen kunde inte laddas ner.'; @override - String get imageMessages_autoProcessTitle => - 'Automatiska bilder automatiserar'; + String get imageMessages_autoProcessTitle => 'Bearbeta bilder automatiskt'; @override String get imageMessages_autoProcessSubtitle => - 'Rekonstruera varje bild så snart den ankommer. Använder cirka 2 GB minne varje gång; låt det omför att rekonstruera genom ett tap.'; + 'Rekonstruera varje bild så snart den kommer. Använder cirka 2 GB minne i ungefär en sekund varje gång; låt detta vara avstängt om du hellre vill rekonstruera med ett tryck.'; @override String get translation_enableTitle => 'Aktivera översättning'; @@ -4552,13 +4867,13 @@ class AppLocalizationsSv extends AppLocalizations { @override String get translation_autoIncomingSubtitle => - 'Översätter meddelanden automatiskt för aviseringar och för chattar eller kanaler.'; + 'Översätter meddelanden automatiskt för notifieringar samt för chattar och kanaler.'; @override String get translation_translateMessage => 'Översätt meddelande'; @override - String get translation_targetLanguage => 'Målmedvetet språk'; + String get translation_targetLanguage => 'Målspråk'; @override String get translation_useAppLanguage => 'Använd appens språk'; @@ -4568,10 +4883,10 @@ class AppLocalizationsSv extends AppLocalizations { @override String get translation_presetModelLabel => - 'Fördefinierat Hugging Face-modell'; + 'Fördefinierad Hugging Face-modell'; @override - String get translation_manualUrlLabel => 'Manualens URL'; + String get translation_manualUrlLabel => 'Manuell modell-URL'; @override String get translation_downloadModel => 'Ladda ner modellen'; @@ -4580,7 +4895,7 @@ class AppLocalizationsSv extends AppLocalizations { String get translation_downloading => 'Nedladdning...'; @override - String get translation_working => 'Arbeta...'; + String get translation_working => 'Arbetar…'; @override String get translation_stop => 'Stopp'; @@ -4651,40 +4966,40 @@ class AppLocalizationsSv extends AppLocalizations { String get translation_systemLanguage => 'Språk för systemet'; @override - String get background_serviceTitle => 'MeshCore running'; + String get background_serviceTitle => 'MeshCore körs'; @override - String get background_serviceText => 'Keeping BLE connected'; + String get background_serviceText => 'Håller BLE-anslutningen aktiv'; @override String appSettings_translationModelDeleted(String name) { - return 'Deleted $name'; + return 'Tog bort $name'; } @override String appSettings_translationModelDeleteFailed(String error) { - return 'Failed to delete: $error'; + return 'Det gick inte att ta bort: $error'; } @override String channels_channelUpdateFailed(String error) { - return 'Failed to update channel: $error'; + return 'Det gick inte att uppdatera kanalen: $error'; } @override - String get contact_typeChat => 'Chat'; + String get contact_typeChat => 'Chatt'; @override String get contact_typeRepeater => 'Repeater'; @override - String get contact_typeRoom => 'Room'; + String get contact_typeRoom => 'Rum'; @override String get contact_typeSensor => 'Sensor'; @override - String get contact_typeUnknown => 'Unknown'; + String get contact_typeUnknown => 'Okänd'; @override String get map_zoomIn => 'Zooma in'; @@ -4693,7 +5008,7 @@ class AppLocalizationsSv extends AppLocalizations { String get map_zoomOut => 'Zooma ut'; @override - String get map_centerMap => 'Kartöversikt'; + String get map_centerMap => 'Centrera kartan'; @override String get chrome_bluetoothRequiresChromium => @@ -4744,7 +5059,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String pathMap_observedPaths(int count) { - return 'Observerade vägar: $count'; + return 'Observerade rutter: $count'; } @override @@ -4779,7 +5094,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String pathMap_sharedNodeCount(int count) { - return 'Används av $count vägar'; + return 'Används av $count rutter'; } @override @@ -4787,8 +5102,8 @@ class AppLocalizationsSv extends AppLocalizations { String _temp0 = intl.Intl.pluralLogic( count, locale: localeName, - other: '$count hopp saknar position — den visade vägen är ofullständig', - one: '1 hopp saknar position — den visade vägen är ofullständig', + other: '$count hopp saknar position — den visade rutten är ofullständig', + one: '1 hopp saknar position — den visade rutten är ofullständig', ); return '$_temp0'; } @@ -4797,10 +5112,10 @@ class AppLocalizationsSv extends AppLocalizations { String get pathMap_showAllPaths => 'Visa allt'; @override - String get pathMap_hidePath => 'Dölj väg'; + String get pathMap_hidePath => 'Dölj rutt'; @override - String get pathMap_showPath => 'Visa väg'; + String get pathMap_showPath => 'Visa rutt'; @override String get pathMap_collapsePanel => 'Fäll ihop panel'; @@ -4818,18 +5133,36 @@ class AppLocalizationsSv extends AppLocalizations { String get pathMap_unfollowPacket => 'Lås upp vy från paket'; @override - String get imageSend_title => 'Send vagnbild'; + String get imageSend_title => 'Skicka bild'; @override String get imageSend_cropNote => - 'Reserverat till 512 × 512 · förhållandet mellan storlek inte bevarat'; + 'Storleksändrad till 512 × 512 · bildförhållandet bevaras inte'; @override - String get imageSend_originalSize => - 'Ovanstående text (engelska)\n\nTranslation (svenskt):'; + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } @override - String get imageSend_onAirSize => 'Underför hjärnan'; + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + + @override + String get imageSend_originalSize => 'Original'; + + @override + String get imageSend_onAirSize => 'Överförd storlek'; @override String get imageSend_quality => 'Kvalitet'; @@ -4844,10 +5177,10 @@ class AppLocalizationsSv extends AppLocalizations { String get imageSend_packetsLabel => 'Paket'; @override - String get imageSend_airtimeLabel => 'Tid i övrighet'; + String get imageSend_airtimeLabel => 'Sändningstid'; @override - String get imageSend_sizeLabel => 'Ladning'; + String get imageSend_sizeLabel => 'Nyttolast'; @override String imageSend_packetsCount(int count) { @@ -4873,55 +5206,55 @@ class AppLocalizationsSv extends AppLocalizations { @override String get imageSend_radioUnknownBody => - 'Förkoppna till ett enhet så kan tiden på air beräknas.'; + 'Anslut till en enhet så att sändningstiden kan beräknas.'; @override - String get imageSend_longSendTitle => 'Långförsending'; + String get imageSend_longSendTitle => 'Lång överföring'; @override String imageSend_longSendBody(String duration) { - return 'Detta kommer att bevara kanalen roughly $duration.'; + return 'Det här kommer att hålla kanalen upptagen i ungefär $duration.'; } @override String get imageSend_floodNote => - 'Flodledning: varje repeater i ramen retransmitterar varje paket, så kan kanalen vara på arbete långare än den här tiden.'; + 'Flood-routing: varje repeater inom räckvidd sänder om varje paket, så kanalen hålls upptagen längre än så här.'; @override - String get imageSend_parityTitle => 'Omedlningspaket'; + String get imageSend_parityTitle => 'Lägg till återställningspaket'; @override String get imageSend_paritySubtitle => - 'En ytterligare paket. Gruppmeddelanden inte akceras, så den här tar hänsyn till att mottar kan återuppbygga bilden om ett enkelt paket förlorats.'; + 'Ett extra paket. Gruppmeddelanden kvitteras inte, så mottagaren kan återskapa bilden om ett enda paket går förlorat.'; @override String get imageSend_send => 'Sänd'; @override - String get imageSend_cancel => 'Avbud'; + String get imageSend_cancel => 'Avbryt'; @override String get imageSend_encodeFailed => 'Denna bild kan inte kodas.'; @override String get imageSend_codecDownloading => - 'Bildmodellen downloads fortfarande.'; + 'Bildmodellen laddas fortfarande ned.'; @override String get imageSend_codecUnavailable => - 'Bildsendning är inte tillgänglig på detta enhet.'; + 'Bildsändning är inte tillgänglig på den här enheten.'; @override String get imageSend_codecDisabled => - 'Bildmeddelanden är offna i inställningarna.'; + 'Bildmeddelanden är avstängda i inställningarna.'; @override String get imageSend_deviceUnsupported => - 'Denna radi kan inte senda bildpaket. Använd ett äventyrsgerät med companionsystemfirmware 13 eller nyare.'; + 'Den här radion kan inte skicka bildpaket. Anslut en enhet med Companion-firmware 13 eller senare.'; @override String get imageSend_directMessagesUnsupported => - 'Bilder senders som gruppod, så de kan endast skickas till ett kanal – inte i en direkt meddelning.'; + 'Bilder skickas som gruppdata och kan därför bara skickas till en kanal — inte som direktmeddelande.'; @override String get imageSend_tooLarge => @@ -4945,7 +5278,7 @@ class AppLocalizationsSv extends AppLocalizations { @override String imageSend_sendingProgress(int sent, int total) { - return 'Bild sendning — paket $sent av $total'; + return 'Skickar bild — paket $sent av $total'; } @override @@ -4955,21 +5288,21 @@ class AppLocalizationsSv extends AppLocalizations { @override String receivedImage_incoming(int received, int total) { - return 'VANTA $received av $total paket'; + return '$received av $total paket'; } @override - String get receivedImage_queued => 'Att väta att decodera'; + String get receivedImage_queued => 'Väntar på avkodning'; @override - String get receivedImage_tapToDecode => 'Tap för att decodera'; + String get receivedImage_tapToDecode => 'Tryck för att avkoda'; @override String get receivedImage_decoding => 'Rekonstruktion… om 1 sekund'; @override String receivedImage_incomplete(int received, int total) { - return 'Bilden är okomplett — $received av $total paket har ankomit'; + return 'Bilden är ofullständig — $received av $total paket kom fram'; } @override @@ -4977,22 +5310,45 @@ class AppLocalizationsSv extends AppLocalizations { @override String get receivedImage_decoderMissing => - 'Bild mottagen — bilddekoderingen är avbrott'; + 'Bild mottagen — bildavkodning är avstängd'; @override String get receivedImage_evicted => 'Bild inte lagrad längre'; @override - String get receivedImage_retry => 'Omförs igen'; + String get receivedImage_retry => 'Försök igen'; @override - String get receivedImage_decodeAgain => 'Kodera igen'; + String get receivedImage_decodeAgain => 'Avkoda igen'; @override - String get receivedImage_openSettings => 'Skapa en uppställning'; + String get receivedImage_openSettings => 'Konfigurera'; @override - String get receivedImage_tapToProcess => 'Tap för att behandla'; + String get receivedImage_tapToProcess => 'Tryck för att bearbeta'; + + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; @override String receivedImage_awaiting(int bytes, int packets) { @@ -5014,4 +5370,9 @@ class AppLocalizationsSv extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes min $seconds s'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Över 158 byte: skickas högst $count gånger'; + } } diff --git a/lib/l10n/app_localizations_uk.dart b/lib/l10n/app_localizations_uk.dart index 88048061..cc7c9d76 100644 --- a/lib/l10n/app_localizations_uk.dart +++ b/lib/l10n/app_localizations_uk.dart @@ -111,10 +111,44 @@ class AppLocalizationsUk extends AppLocalizations { String get messageStatus_repeated => 'Почув неодноразово'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => 'Показувати зображення за URL'; + + @override + String get urlImage_possible => + 'Можливе зображення за URL; увімкніть це в Налаштуваннях.'; @override String get common_reboot => 'Перезавантажити'; @@ -373,12 +407,33 @@ class AppLocalizationsUk extends AppLocalizations { @override String get settings_radioSettingsUpdated => 'Налаштування радіо оновлено'; + @override + String get settings_radioSettingsNotApplied => + 'Радіомодуль не застосував ці налаштування'; + @override String get settings_regionSettings => 'Ріси'; @override String get settings_regionSettingsSubtitle => 'Управляти збережених регіонів'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => 'Рégіональний управління'; @@ -500,6 +555,10 @@ class AppLocalizationsUk extends AppLocalizations { @override String get settings_telemetryEnvironmentMode => 'Режим середовища телеметрії'; + @override + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; + @override String get settings_advertLocation => 'Геопозиція в оголошенні'; @@ -518,6 +577,10 @@ class AppLocalizationsUk extends AppLocalizations { @override String get settings_multiAck => 'Багато підтверджень'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => 'Режим телеметрії оновлено'; @@ -622,7 +685,7 @@ class AppLocalizationsUk extends AppLocalizations { String get settings_infoPublicKey => 'Відкритий ключ'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => 'Публічний ключ скопійовано'; @override String get settings_infoContactsCount => 'Кількість контактів'; @@ -639,6 +702,13 @@ class AppLocalizationsUk extends AppLocalizations { @override String get settings_presets => 'Попередні налаштування'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => 'Частота (МГц)'; @@ -661,7 +731,9 @@ class AppLocalizationsUk extends AppLocalizations { String get settings_txPower => 'Потужність TX (дБм)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => 'Некоректна потужність TX (0-22 дБм)'; @@ -669,6 +741,11 @@ class AppLocalizationsUk extends AppLocalizations { @override String get settings_clientRepeat => 'Автономна система'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => 'Дозвольте цьому пристрою повторювати пакети даних для інших пристроїв.'; @@ -763,6 +840,39 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 байта'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => 'Увімкнути відстеження повідомлень'; @@ -798,6 +908,13 @@ class AppLocalizationsUk extends AppLocalizations { String get appSettings_messageNotificationsSubtitle => 'Показувати сповіщення при отриманні нових повідомлень'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => 'Сповіщення каналів'; @@ -1085,6 +1202,29 @@ class AppLocalizationsUk extends AppLocalizations { return 'Видалити $contactName з контактів?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => 'Керувати ретранслятором'; @@ -1235,6 +1375,18 @@ class AppLocalizationsUk extends AppLocalizations { @override String get channels_private => 'Приватний'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => 'Редагувати канал'; @@ -1366,6 +1518,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get channels_publicChannelAdded => 'Публічний канал додано'; + @override + String get channels_noFreeSlots => 'Немає вільних слотів для каналів'; + @override String get channels_sortBy => 'Сортувати за'; @@ -1433,6 +1588,19 @@ class AppLocalizationsUk extends AppLocalizations { @override String get channels_clearRegion => 'Чистя зона'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => 'Поки немає повідомлень.'; @@ -1492,6 +1660,12 @@ class AppLocalizationsUk extends AppLocalizations { @override String get chat_sendGif => 'Надіслати GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => 'Надіслати зображення через MeshCore'; @@ -1511,7 +1685,7 @@ class AppLocalizationsUk extends AppLocalizations { String get chat_me => 'Я'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => 'Реакції'; @override String get emojiCategorySmileys => 'Емодзі'; @@ -1662,14 +1836,14 @@ class AppLocalizationsUk extends AppLocalizations { String get routing_modeAuto => 'Автомобіль'; @override - String get routing_modeFlood => 'Повені'; + String get routing_modeFlood => 'Через всю мережу'; @override String get routing_modeManual => 'Інструкція'; @override String get routing_modeAutoHint => - 'Автоматично обирає найкращий відомий шлях, та у разі відсутності відомого шляху, використовує алгоритм \"занурення\".'; + 'Автоматично обирає найкращий відомий шлях, а за відсутності відомого шляху використовує режим «через всю мережу» (flood).'; @override String get routing_modeFloodHint => @@ -1710,7 +1884,7 @@ class AppLocalizationsUk extends AppLocalizations { String get routing_inUse => 'У робочому стані'; @override - String get routing_qualityStrong => 'Сильний перший стрибок'; + String get routing_qualityStrong => 'Сильний перший перехід'; @override String get routing_qualityGood => 'Чудова перша спроба'; @@ -1722,7 +1896,7 @@ class AppLocalizationsUk extends AppLocalizations { String get routing_qualityWorked => 'Доставлено'; @override - String get routing_qualityFlood => 'Дізнався через новини'; + String get routing_qualityFlood => 'Отримано через всю мережу (flood)'; @override String get routing_qualityUntested => 'Не протестовано'; @@ -1741,7 +1915,7 @@ class AppLocalizationsUk extends AppLocalizations { } @override - String get routing_floodDelivery => 'Доставка під час повені'; + String get routing_floodDelivery => 'Доставка через всю мережу (flood)'; @override String get pathEditor_title => 'Створити маршрут'; @@ -1753,10 +1927,10 @@ class AppLocalizationsUk extends AppLocalizations { @override String get pathEditor_noHops => - 'Ще не додано хміль. Натисніть на відповідні кнопки, щоб додати його в потрібному порядку, або збережіть рецепт без хмілю, щоб відправити його безпосередньо.'; + 'Ще не додано жодного переходу. Натисніть на відповідні кнопки нижче, щоб додати їх у потрібному порядку, або збережіть шлях без переходів, щоб надіслати напряму.'; @override - String get pathEditor_addHops => 'Додавайте хміль у наступній послідовності.'; + String get pathEditor_addHops => 'Додавайте переходи в потрібному порядку.'; @override String get pathEditor_searchRepeaters => 'Пошук повторювачів'; @@ -1785,7 +1959,7 @@ class AppLocalizationsUk extends AppLocalizations { String get pathEditor_usePath => 'Використовуйте цей шлях'; @override - String get pathEditor_removeHop => 'Видалити хміль'; + String get pathEditor_removeHop => 'Видалити перехід'; @override String get pathEditor_unknownHop => 'Невідомий ретранслятор'; @@ -1806,6 +1980,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get chat_path => 'Шлях'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => 'Відкритий ключ'; @@ -1843,6 +2020,12 @@ class AppLocalizationsUk extends AppLocalizations { @override String get chat_newMessages => 'Нові повідомлення'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => 'Відкрити посилання?'; @@ -1888,6 +2071,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get map_centerOnNode => 'Центрувати на вузлі'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => 'Деталі'; @@ -1906,6 +2092,10 @@ class AppLocalizationsUk extends AppLocalizations { @override String get map_noNodesWithLocation => 'Немає вузлів з даними про геопозицію'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => 'Вузли мають надавати свої GPS координати,\nщоб з\'явитись на карті.'; @@ -2048,6 +2238,16 @@ class AppLocalizationsUk extends AppLocalizations { String get map_showGuessedLocations => 'Показати геопозиції передбачених вузлів'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => 'Показати виявлені контакти'; @@ -2069,6 +2269,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get map_manageRepeater => 'Керувати ретранслятором'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => 'Натисніть на вузли, щоб додати їх до шляху'; @@ -2272,6 +2475,12 @@ class AppLocalizationsUk extends AppLocalizations { @override String get login_enterPassword => 'Введіть пароль'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => 'Зберегти пароль'; @@ -2287,6 +2496,9 @@ class AppLocalizationsUk extends AppLocalizations { String get login_roomDescription => 'Введіть пароль кімнати для доступу до налаштувань та статусу.'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => 'Маршрутизація'; @@ -2325,6 +2537,9 @@ class AppLocalizationsUk extends AppLocalizations { @override String get common_clear => 'Очистити'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => 'Поточний шлях'; @@ -2350,6 +2565,12 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_guestTools => 'Гостьові інструменти'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => 'Статус'; @@ -2728,7 +2949,7 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_floodMax => - 'Максимальна кількість стрибків під час повені'; + 'Максимальна кількість переходів під час поширення через всю мережу (flood)'; @override String get repeater_floodMaxHelper => @@ -2788,7 +3009,7 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_txDelayHelper => - 'Повторне надсилання з урахуванням навантаження від потоків транспорту, як множник від часу передачі пакета (0-2, за замовчуванням 0,5). Чим вище значення, тим менше конфліктів, але повільніше передавання.'; + 'Затримка повторного надсилання для трафіку через всю мережу (flood), як множник від часу передачі пакета (0-2, за замовчуванням 0,5). Чим вище значення, тим менше конфліктів, але повільніше передавання.'; @override String get repeater_directTxDelay => 'Пряме затримка TX'; @@ -2815,18 +3036,20 @@ class AppLocalizationsUk extends AppLocalizations { String get repeater_actionsTitle => 'Дії'; @override - String get repeater_sendAdvert => 'Надіслати рекламу щодо повені'; + String get repeater_sendAdvert => + 'Надіслати оголошення через всю мережу (flood)'; @override String get repeater_sendAdvertSubtitle => - 'Розповсюдити рекламу про надзвичайну ситуацію (повен) через мережу.'; + 'Розповсюдити оголошення через всю мережу (flood).'; @override - String get repeater_sendAdvertZeroHop => 'Надіслати рекламу без посередників'; + String get repeater_sendAdvertZeroHop => + 'Надіслати оголошення без ретрансляції'; @override String get repeater_sendAdvertZeroHopSubtitle => - 'Розповсюдити рекламу з однією переадресацією (без повторного розповсюдження)'; + 'Розповсюдити оголошення лише на один перехід (без ретрансляторів)'; @override String get repeater_clockSync => 'Синхронізувати годинник зараз'; @@ -2877,6 +3100,17 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_refreshPrivacyMode => 'Оновити режим приватності'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label оновлено'; @@ -3170,6 +3404,75 @@ class AppLocalizationsUk extends AppLocalizations { String get repeater_commandsListNote => 'ПРИМІТКА: для різних команд «set»... також існує команда «get»...'; + @override + String get repeater_frequencyRangeHelper => '150-2500 МГц'; + + @override + String get repeater_frequencyInvalid => 'Некоректна частота (150-2500 МГц)'; + + @override + String get repeater_txPowerRangeHelper => 'від -9 до 30 dBm'; + + @override + String get repeater_recvErrors => 'Помилки прийому'; + + @override + String get room_postsStored => 'Публікації'; + + @override + String get room_postsPushed => 'Надіслано публікацій'; + + @override + String get repeater_cliRegionLoadActive => + 'Режим завантаження регіонів: надсилайте по одному імені регіону в рядку, з відступом пробілами під батьківським регіоном (додайте F після імені, щоб дозволити поширення через всю мережу). Рядки не отримують відповіді. Надішліть порожній рядок, щоб завершити, а потім \"region save\", щоб зберегти результат.'; + + @override + String get repeater_cliRegionLoadHint => + 'Рядок регіону або порожній рядок для завершення'; + + @override + String get repeater_cliRegionLoadEnd => '(кінець завантаження регіонів)'; + + @override + String get repeater_cliHelpRegionDef => + 'Визначає ланцюжок регіонів однією командою: кожне ім’я додається під попереднім; \"name,parent\" додає ім’я і продовжує під вказаним батьківським регіоном. У відповідь повертає список регіонів.'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + 'Встановлює максимальну кількість переходів для пересилання пакетів через всю мережу (flood) без визначеної області регіону (0-64).'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => + 'Встановлює максимальну кількість переходів для пересилання оголошень через всю мережу (flood) (0-64).'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => + 'Показує максимальну кількість переходів для пакетів через всю мережу (flood) без визначеної області.'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => + 'Показує максимальну кількість переходів для оголошень через всю мережу (flood).'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + 'Перемикає підсилення RX (LNA) вхідного модуля LoRa. Плати без нього відповідають \"Error: unsupported\".'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + 'Перемикає підсилення TX (PA) вхідного модуля LoRa. Плати без нього відповідають \"Error: unsupported\".'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => + 'Показує, чи увімкнено підсилення RX вхідного модуля LoRa.'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => + 'Показує, чи увімкнено підсилення TX вхідного модуля LoRa.'; + + @override + String get repeater_bridgeNote => + 'Доступно лише для прошивки, зібраної з мостом (RS232 або ESP-NOW).'; + @override String get repeater_general => 'Загальні'; @@ -3219,7 +3522,7 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_cliHelpAdvertZeroHop => - 'Надсилає рекламу, яка не проходить через інші мережі (лише до безпосередніх сусідів).'; + 'Надсилає оголошення, яке не проходить через інші мережі (лише до безпосередніх сусідів).'; @override String get repeater_cliHelpStartOta => @@ -3343,11 +3646,11 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_cliHelpGetAdvertInterval => - 'Показує тривалість місцевої рекламної паузи в хвилинах.'; + 'Показує тривалість інтервалу локальних оголошень у хвилинах.'; @override String get repeater_cliHelpGetFloodAdvertInterval => - 'Показує інтервал часу між рекламними роликами про повені, виражений у годинах.'; + 'Показує інтервал оголошень через всю мережу (flood), виражений у годинах.'; @override String get repeater_cliHelpGetGuestPassword => @@ -3365,7 +3668,7 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_cliHelpGetTxDelay => - 'Показує коефіцієнт затримки сигналу у режимі затоплення.'; + 'Показує коефіцієнт затримки сигналу в режимі «через всю мережу» (flood).'; @override String get repeater_cliHelpGetDirectTxDelay => @@ -3373,7 +3676,7 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_cliHelpGetFloodMax => - 'Показує максимальну кількість підйомів, спричинених повенем.'; + 'Показує максимальну кількість переходів під час пересилання через всю мережу (flood).'; @override String get repeater_cliHelpGetOwnerInfo => @@ -3461,11 +3764,11 @@ class AppLocalizationsUk extends AppLocalizations { @override String get repeater_cliHelpRegionListAllowed => - 'Перелік регіонів, де дозволено рух транспорту під час повені.'; + 'Перелік регіонів, де дозволено поширення через всю мережу (flood).'; @override String get repeater_cliHelpRegionListDenied => - 'Перелік регіонів, які забороняють рух транспорту під час повені.'; + 'Перелік регіонів, де заборонено поширення через всю мережу (flood).'; @override String get repeater_cliHelpStatsPackets => @@ -4249,7 +4552,7 @@ class AppLocalizationsUk extends AppLocalizations { String get contacts_zeroHopAdvert => 'Оголошення без ретрансляції'; @override - String get contacts_floodAdvert => 'Оголошення з ретрансляцією'; + String get contacts_floodAdvert => 'Оголошення через всю мережу (flood)'; @override String get contacts_copyAdvertToClipboard => 'Копіювати оголошення'; @@ -4389,6 +4692,10 @@ class AppLocalizationsUk extends AppLocalizations { @override String get snrIndicator_lastSeen => 'Останній раз бачили'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => 'Налаштування контактів'; @@ -4496,6 +4803,12 @@ class AppLocalizationsUk extends AppLocalizations { @override String get radioStats_screenTitle => 'Статистика радіо'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => 'Підключіться до пристрою, щоб переглядати статистику радіо.'; @@ -4889,6 +5202,25 @@ class AppLocalizationsUk extends AppLocalizations { String get imageSend_cropNote => 'Манітовано до 512 × 512 · соотношення варість не зберігається'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => 'Оригінал'; @@ -4951,7 +5283,7 @@ class AppLocalizationsUk extends AppLocalizations { @override String get imageSend_floodNote => - 'Рухування потоків: кожен ретрансатор у діапазоні відправлює кожен пакет, тому канал залишається занятшим довше, ніж це.'; + 'Поширення через всю мережу (flood): кожен ретранслятор у діапазоні пересилає кожен пакет, тому канал залишається зайнятим довше, ніж зазначено тут.'; @override String get imageSend_parityTitle => 'Пакет відновлення'; @@ -5061,6 +5393,29 @@ class AppLocalizationsUk extends AppLocalizations { @override String get receivedImage_tapToProcess => 'Кликніть для обробки'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -5081,4 +5436,9 @@ class AppLocalizationsUk extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes хв $seconds с'; } + + @override + String chat_longMessageRetryNote(int count) { + return 'Понад 158 байтів: надсилається не більше $count разів'; + } } diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dart index 0e989024..e04d4800 100644 --- a/lib/l10n/app_localizations_zh.dart +++ b/lib/l10n/app_localizations_zh.dart @@ -111,10 +111,43 @@ class AppLocalizationsZh extends AppLocalizations { String get messageStatus_repeated => '多次听到'; @override - String get urlImage_enable => 'Enable URL images'; + String get messageStatus_failedChannel => + 'Your radio couldn\'t send this message.'; @override - String get urlImage_possible => 'Possible URL image; enable it in Settings.'; + String messageStatus_resending(int resends, int maxResends) { + return 'Not heard through enough repeaters yet. Resent $resends of $maxResends times.'; + } + + @override + String messageStatus_hopsNotReached(int hops, int required) { + return 'Sent, but only heard back through $hops of $required repeaters. It may still have gone further than your radio can hear.'; + } + + @override + String get messageStatus_sentChannel => + 'Sent. Channels don\'t confirm delivery, so this only means your radio sent it.'; + + @override + String get messageStatus_sentDirect => + 'Sent. Waiting for the contact to confirm.'; + + @override + String messageStatus_heardRepeatedCount(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: 'once', + ); + return 'Heard repeated $_temp0. Nearby repeaters passed it on.'; + } + + @override + String get urlImage_enable => '启用URL图片'; + + @override + String get urlImage_possible => '可能是URL图片,请在设置中启用。'; @override String get common_reboot => '重启'; @@ -356,12 +389,32 @@ class AppLocalizationsZh extends AppLocalizations { @override String get settings_radioSettingsUpdated => '无线电设置已更新'; + @override + String get settings_radioSettingsNotApplied => '收音机未应用这些设置'; + @override String get settings_regionSettings => '地区'; @override String get settings_regionSettingsSubtitle => '管理已存储的区域'; + @override + String get settings_regionEmptyExplanation => + 'Regions limit flood messages to repeaters in an area. Fetch them from nearby repeaters or add one by name.'; + + @override + String get settings_regionFetchFromRepeaters => 'Fetch from repeaters'; + + @override + String get settings_regionDefault => 'Default region'; + + @override + String get settings_regionDefaultSubtitle => + 'Used by channels without their own region'; + + @override + String get settings_regionDefaultNone => 'None'; + @override String get settings_regionManagement_screenTitle => '区域管理'; @@ -437,10 +490,10 @@ class AppLocalizationsZh extends AppLocalizations { String get settings_privacyMode => '隐私模式'; @override - String get settings_privacyModeSubtitle => '在广告中隐藏姓名/位置'; + String get settings_privacyModeSubtitle => '在广播中隐藏姓名/位置'; @override - String get settings_privacyModeToggle => '切换隐私模式以在广告中隐藏姓名和位置,保护个人信息。'; + String get settings_privacyModeToggle => '切换隐私模式以在广播中隐藏姓名和位置,保护个人信息。'; @override String get settings_privacyModeEnabled => '隐私模式已启用'; @@ -476,21 +529,29 @@ class AppLocalizationsZh extends AppLocalizations { String get settings_telemetryEnvironmentMode => '遥测环境模式'; @override - String get settings_advertLocation => '广告位置'; + String get settings_telemetryPerContactHint => + 'To allow a contact, open their chat and choose Contact Settings from the menu.'; @override - String get settings_advertLocationSubtitle => '在广告中包含位置'; + String get settings_advertLocation => '广播位置'; @override - String get settings_autoZeroHopAdvertOnGpsUpdate => 'GPS 更新时自动发送零跳广告'; + String get settings_advertLocationSubtitle => '在广播中包含位置'; + + @override + String get settings_autoZeroHopAdvertOnGpsUpdate => 'GPS 更新时自动发送零跳广播'; @override String get settings_autoZeroHopAdvertOnGpsUpdateSubtitle => - '当 GPS 位置变化时,发送零跳广告(需要在广告中包含位置)。'; + '当 GPS 位置变化时,发送零跳广播(需要在广播中包含位置)。'; @override String get settings_multiAck => '多重ACK'; + @override + String get settings_multiAckSubtitle => + 'Send extra ACKs for better delivery; uses more airtime'; + @override String get settings_telemetryModeUpdated => '遥测模式已更新'; @@ -587,7 +648,7 @@ class AppLocalizationsZh extends AppLocalizations { String get settings_infoPublicKey => '公钥'; @override - String get settings_publicKeyCopied => 'Public key copied'; + String get settings_publicKeyCopied => '公钥已复制'; @override String get settings_infoContactsCount => '联系人数量'; @@ -604,6 +665,13 @@ class AppLocalizationsZh extends AppLocalizations { @override String get settings_presets => '预设'; + @override + String get settings_presetCustom => 'Custom'; + + @override + String get settings_radioMatchWarning => + 'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'; + @override String get settings_frequency => '频率 (MHz)'; @@ -626,7 +694,9 @@ class AppLocalizationsZh extends AppLocalizations { String get settings_txPower => 'TX 功率 (dBm)'; @override - String get settings_txPowerHelper => '0 - 22'; + String settings_txPowerRangeHelper(int min, int max) { + return '$min to $max dBm'; + } @override String get settings_txPowerInvalid => '无效的发射功率(0-22 dBm)'; @@ -634,6 +704,11 @@ class AppLocalizationsZh extends AppLocalizations { @override String get settings_clientRepeat => '离网重复'; + @override + String settings_clientRepeatFrequencyNote(String freq) { + return 'Frequency set to $freq MHz for off-grid repeat'; + } + @override String get settings_clientRepeatSubtitle => '允许此设备重复发送网状数据包给其他设备'; @@ -727,6 +802,39 @@ class AppLocalizationsZh extends AppLocalizations { @override String get repeater_pathHashModeOption3 => '3 - 4 字节'; + @override + String get settings_pathHashModeHelper => + 'Size of each node ID recorded in the path of flood packets this radio sends: 1 byte (256 IDs, up to 64 hops), 2 bytes (65K IDs, up to 32 hops), 3 bytes (16M IDs, up to 21 hops). Larger IDs reduce collisions, but repeaters on firmware older than v1.14 drop packets with 2- or 3-byte IDs.'; + + @override + String settings_requiresFirmware(String version) { + return 'Requires firmware $version or newer'; + } + + @override + String get appSettings_channelMinHops => + 'Resend channel messages until they travel far enough'; + + @override + String get appSettings_channelMinHopsSubtitle => + 'If your message isn\'t heard coming back through enough repeaters, send it again. Uses more airtime.'; + + @override + String appSettings_channelMinHopsCount(int count) { + return 'Required hops: $count'; + } + + @override + String appSettings_channelMinHopsRetries(int count) { + String _temp0 = intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count times', + one: '1 time', + ); + return 'Resend up to $_temp0'; + } + @override String get appSettings_enableMessageTracing => '启用消息追踪'; @@ -757,6 +865,13 @@ class AppLocalizationsZh extends AppLocalizations { @override String get appSettings_messageNotificationsSubtitle => '收到新消息时显示通知'; + @override + String get appSettings_batteryOptimization => 'Background Activity'; + + @override + String get appSettings_batteryOptimizationSubtitle => + 'Set MeshCore Open to \"Don\'t optimize\" in battery settings so messages keep arriving in the background'; + @override String get appSettings_channelMessageNotifications => '频道消息通知'; @@ -1017,6 +1132,29 @@ class AppLocalizationsZh extends AppLocalizations { return '从联系人中移除 $contactName?'; } + @override + String get contacts_removeFromContacts => 'Remove from contacts'; + + @override + String contacts_removeFromContactsConfirm(String contactName) { + return '$contactName will move to Discovered contacts. Chat history will be deleted.'; + } + + @override + String get contacts_keepChatHistory => 'Keep chat history'; + + @override + String get contacts_remove => 'Remove'; + + @override + String contacts_discoveredNearby(int count) { + return 'Discovered nearby ($count)'; + } + + @override + String get contacts_noContactsDiscoveredHint => + 'Nodes your radio hears but hasn\'t added yet are listed in Discovered contacts'; + @override String get contacts_manageRepeater => '管理转发节点'; @@ -1163,6 +1301,18 @@ class AppLocalizationsZh extends AppLocalizations { @override String get channels_private => '私有'; + @override + String get channels_hashtag => 'Hashtag'; + + @override + String get channels_addSectionJoin => 'Join existing'; + + @override + String get channels_addSectionCreate => 'Create new'; + + @override + String get channels_dragToReorder => 'Drag to reorder'; + @override String get channels_editChannel => '编辑频道'; @@ -1290,6 +1440,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get channels_publicChannelAdded => '已添加公共频道'; + @override + String get channels_noFreeSlots => '所有频道插槽都已被占用'; + @override String get channels_sortBy => '排序方式'; @@ -1355,6 +1508,19 @@ class AppLocalizationsZh extends AppLocalizations { @override String get channels_clearRegion => '无碍区域'; + @override + String get channels_regionDefaultSuffix => '(default)'; + + @override + String get channels_regionSelectExplanation => + 'Flood messages on this channel will only be forwarded by repeaters in the selected region.'; + + @override + String get channels_regionEmpty => 'No regions yet.'; + + @override + String get channels_manageRegions => 'Manage regions'; + @override String get chat_noMessages => '暂无消息'; @@ -1413,6 +1579,12 @@ class AppLocalizationsZh extends AppLocalizations { @override String get chat_sendGif => '发送 GIF'; + @override + String get chat_removeGif => 'Remove GIF'; + + @override + String get chat_cancelReply => 'Cancel reply'; + @override String get chat_sendImageLora => '通过 MeshCore 发送图片'; @@ -1432,7 +1604,7 @@ class AppLocalizationsZh extends AppLocalizations { String get chat_me => '我'; @override - String get reaction_report => 'Emoji Reactions'; + String get reaction_report => '表情反应'; @override String get emojiCategorySmileys => '表情'; @@ -1571,13 +1743,13 @@ class AppLocalizationsZh extends AppLocalizations { String get routing_modeAuto => '汽车'; @override - String get routing_modeFlood => '洪水'; + String get routing_modeFlood => '泛洪'; @override String get routing_modeManual => '手册'; @override - String get routing_modeAutoHint => '自动选择已知最佳路径,当没有已知路径时,则进行“洪水”搜索。'; + String get routing_modeAutoHint => '自动选择已知最佳路径,当没有已知路径时,则进行“泛洪”搜索。'; @override String get routing_modeFloodHint => '通过所有中继站进行广播。 这种方式最可靠,但占用更多的时间。'; @@ -1625,7 +1797,7 @@ class AppLocalizationsZh extends AppLocalizations { String get routing_qualityWorked => '已完成'; @override - String get routing_qualityFlood => '通过新闻报道'; + String get routing_qualityFlood => '通过泛洪收到'; @override String get routing_qualityUntested => '未经测试'; @@ -1644,7 +1816,7 @@ class AppLocalizationsZh extends AppLocalizations { } @override - String get routing_floodDelivery => '洪水配送'; + String get routing_floodDelivery => '泛洪配送'; @override String get pathEditor_title => '构建路径'; @@ -1656,10 +1828,10 @@ class AppLocalizationsZh extends AppLocalizations { @override String get pathEditor_noHops => - '目前还没有添加任何啤酒花。点击下面的“添加”按钮,按顺序添加,或者直接保存,不添加任何啤酒花。'; + '目前还没有添加任何跳点。点击下面的“添加”按钮,按顺序添加,或者直接保存,不添加任何跳点。'; @override - String get pathEditor_addHops => '按照顺序添加啤酒花'; + String get pathEditor_addHops => '按照顺序添加跳点'; @override String get pathEditor_searchRepeaters => '重复搜索'; @@ -1671,7 +1843,7 @@ class AppLocalizationsZh extends AppLocalizations { String get pathEditor_hexLabel => '十六进制前缀'; @override - String get pathEditor_hexHelper => '每次跳跃,使用两个十六进制字符,用逗号分隔。'; + String get pathEditor_hexHelper => '每跳使用两个十六进制字符,用逗号分隔。'; @override String pathEditor_invalidTokens(String tokens) { @@ -1679,13 +1851,13 @@ class AppLocalizationsZh extends AppLocalizations { } @override - String get pathEditor_tooManyHops => '最多 64 个跳跃'; + String get pathEditor_tooManyHops => '最多 64 跳'; @override String get pathEditor_usePath => '请使用此路径'; @override - String get pathEditor_removeHop => '去除啤酒花'; + String get pathEditor_removeHop => '去除跳点'; @override String get pathEditor_unknownHop => '未知的重复器'; @@ -1705,6 +1877,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get chat_path => '路径'; + @override + String get chat_viewPathOnMap => 'View path on map'; + @override String get chat_publicKey => '公钥'; @@ -1742,6 +1917,12 @@ class AppLocalizationsZh extends AppLocalizations { @override String get chat_newMessages => '新的消息'; + @override + String get chat_today => 'Today'; + + @override + String get chat_yesterday => 'Yesterday'; + @override String get chat_openLink => '打开链接?'; @@ -1786,6 +1967,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get map_centerOnNode => '以节点为中心'; + @override + String get map_centerOnMe => 'Center on my location'; + @override String get map_details => '详细信息'; @@ -1804,6 +1988,10 @@ class AppLocalizationsZh extends AppLocalizations { @override String get map_noNodesWithLocation => '没有包含位置信息的节点'; + @override + String get map_noNodesLocationHint => + 'No nodes with a recent location. Widen the time filter, or set your own location in Settings.'; + @override String get map_nodesNeedGps => '节点需要共享 GPS 坐标才能在地图上显示'; @@ -1942,6 +2130,16 @@ class AppLocalizationsZh extends AppLocalizations { @override String get map_showGuessedLocations => '显示猜测的节点位置'; + @override + String get map_clusterNodes => 'Group nearby nodes'; + + @override + String get map_groupChip => 'Group'; + + @override + String get map_clusterNodesSubtitle => + 'When zoomed out, show nearby nodes as one numbered circle'; + @override String get map_showDiscoveryContacts => '显示发现联系人'; @@ -1963,6 +2161,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get map_manageRepeater => '管理转发节点'; + @override + String get map_manageServer => 'Manage Server'; + @override String get map_tapToAdd => '点击节点以添加到路径'; @@ -2162,6 +2363,12 @@ class AppLocalizationsZh extends AppLocalizations { @override String get login_enterPassword => '请输入密码'; + @override + String get login_showPassword => 'Show password'; + + @override + String get login_hidePassword => 'Hide password'; + @override String get login_savePassword => '保存密码'; @@ -2174,6 +2381,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get login_roomDescription => '输入房间服务器密码以访问设置和状态。'; + @override + String get login_advanced => 'Advanced'; + @override String get login_routing => '路由'; @@ -2211,6 +2421,9 @@ class AppLocalizationsZh extends AppLocalizations { @override String get common_clear => '清除'; + @override + String get common_clearSearch => 'Clear search'; + @override String get path_currentPathLabel => '当前路径'; @@ -2235,6 +2448,12 @@ class AppLocalizationsZh extends AppLocalizations { @override String get repeater_guestTools => '访客工具'; + @override + String get repeater_roleAdmin => 'ADMIN'; + + @override + String get repeater_roleGuest => 'GUEST'; + @override String get repeater_status => '状态'; @@ -2549,7 +2768,7 @@ class AppLocalizationsZh extends AppLocalizations { String get repeater_loopDetect => '循环检测'; @override - String get repeater_loopDetectHelper => '创建看起来像路由环的“洪水包”'; + String get repeater_loopDetectHelper => '创建看起来像路由环的“泛洪包”'; @override String get repeater_loopDetectOff => '离开'; @@ -2584,10 +2803,10 @@ class AppLocalizationsZh extends AppLocalizations { String get repeater_refreshOwnerInfo => '刷新操作员信息'; @override - String get repeater_floodMax => '最大跳跃次数'; + String get repeater_floodMax => '最大跳数'; @override - String get repeater_floodMaxHelper => '一个洪水包中,最大可以传输的跳数 (0-64)'; + String get repeater_floodMaxHelper => '一个泛洪包中,最大可以传输的跳数 (0-64)'; @override String get repeater_advancedSettings => '高级'; @@ -2635,11 +2854,11 @@ class AppLocalizationsZh extends AppLocalizations { } @override - String get repeater_txDelay => '洪水(德克萨斯州)延误'; + String get repeater_txDelay => '泛洪 TX 延迟'; @override String get repeater_txDelayHelper => - '对于洪水流量,重新传输间隔应设置为包的传输时间(0-2,默认值为0.5)的倍数。 较高的值意味着更少的冲突,但传输速度会变慢。'; + '对于泛洪流量,重新传输间隔应设置为包的传输时间(0-2,默认值为0.5)的倍数。 较高的值意味着更少的冲突,但传输速度会变慢。'; @override String get repeater_directTxDelay => '直接的 TX 延迟'; @@ -2666,16 +2885,16 @@ class AppLocalizationsZh extends AppLocalizations { String get repeater_actionsTitle => '行动'; @override - String get repeater_sendAdvert => '发布防洪广告'; + String get repeater_sendAdvert => '发送泛洪广播'; @override - String get repeater_sendAdvertSubtitle => '通过网络播放防洪广告'; + String get repeater_sendAdvertSubtitle => '向整个网络发送泛洪广播'; @override - String get repeater_sendAdvertZeroHop => '发送零跳广告'; + String get repeater_sendAdvertZeroHop => '发送零跳广播'; @override - String get repeater_sendAdvertZeroHopSubtitle => '进行单跳广告广播(不使用中继)'; + String get repeater_sendAdvertZeroHopSubtitle => '发送单跳广播(不使用中继)'; @override String get repeater_clockSync => '现在同步时钟'; @@ -2724,6 +2943,17 @@ class AppLocalizationsZh extends AppLocalizations { @override String get repeater_refreshPrivacyMode => '刷新隐私模式'; + @override + String get repeater_refreshAll => 'Refresh all'; + + @override + String get repeater_settingsNotLoaded => + 'Settings haven\'t been loaded from this repeater yet.'; + + @override + String get repeater_settingsLoadIncomplete => + 'Some settings could not be loaded. Use the refresh buttons to retry.'; + @override String repeater_refreshed(String label) { return '$label 已刷新'; @@ -2968,6 +3198,68 @@ class AppLocalizationsZh extends AppLocalizations { @override String get repeater_commandsListNote => '注意:多数 set 命令也有对应的 get 命令'; + @override + String get repeater_frequencyRangeHelper => '150-2500 MHz'; + + @override + String get repeater_frequencyInvalid => '无效频率(150-2500 MHz)'; + + @override + String get repeater_txPowerRangeHelper => '-9 至 30 dBm'; + + @override + String get repeater_recvErrors => '接收错误'; + + @override + String get room_postsStored => '帖子'; + + @override + String get room_postsPushed => '已推送的帖子'; + + @override + String get repeater_cliRegionLoadActive => + '区域加载模式:每行发送一个区域名称,并用空格缩进表示其位于父级之下(在名称后添加 F 可允许泛洪)。每行不会有回复。发送空行以结束,然后发送“region save”以保存结果。'; + + @override + String get repeater_cliRegionLoadHint => '区域行,或留空以结束'; + + @override + String get repeater_cliRegionLoadEnd => '(区域加载结束)'; + + @override + String get repeater_cliHelpRegionDef => + '在一条命令中定义一条区域链:每个名称都添加在上一个名称之下;“name,parent”会添加该名称,然后在指定的父级下继续。回复区域列表。'; + + @override + String get repeater_cliHelpSetFloodMaxUnscoped => + '设置转发无区域范围的泛洪数据包时的最大跳数(0-64)。'; + + @override + String get repeater_cliHelpSetFloodMaxAdvert => '设置转发泛洪广播包时的最大跳数(0-64)。'; + + @override + String get repeater_cliHelpGetFloodMaxUnscoped => '显示无区域范围的泛洪数据包的最大跳数。'; + + @override + String get repeater_cliHelpGetFloodMaxAdvert => '显示泛洪广播包的最大跳数。'; + + @override + String get repeater_cliHelpSetRadioFemRxGain => + '切换 LoRa 前端模块的 RX 增益(LNA)。不支持此功能的板卡会回复“Error: unsupported”。'; + + @override + String get repeater_cliHelpSetRadioFemTxGain => + '切换 LoRa 前端模块的 TX 增益(PA)。不支持此功能的板卡会回复“Error: unsupported”。'; + + @override + String get repeater_cliHelpGetRadioFemRxGain => '显示 LoRa 前端模块的 RX 增益是否已开启。'; + + @override + String get repeater_cliHelpGetRadioFemTxGain => '显示 LoRa 前端模块的 TX 增益是否已开启。'; + + @override + String get repeater_bridgeNote => '仅支持带有桥接功能(RS232 或 ESP-NOW)的固件。'; + @override String get repeater_general => '通用'; @@ -3011,7 +3303,7 @@ class AppLocalizationsZh extends AppLocalizations { String get repeater_cliHelpClkReboot => '将时钟重置为已知的时间点,并重启设备。'; @override - String get repeater_cliHelpAdvertZeroHop => '发送无中继广告(仅限于邻居)。'; + String get repeater_cliHelpAdvertZeroHop => '发送无中继广播(仅限于邻居)。'; @override String get repeater_cliHelpStartOta => '在支持的板上启动通过空中进行固件更新。'; @@ -3047,7 +3339,7 @@ class AppLocalizationsZh extends AppLocalizations { '(仅适用于 SX126x 芯片) 启用增强型 RX 增益,以在较高电流下提高灵敏度。'; @override - String get repeater_cliHelpSetOwnerInfo => '设置广告中包含的联系人信息字符串。使用 \'|\' 作为换行符。'; + String get repeater_cliHelpSetOwnerInfo => '设置广播中包含的联系人信息字符串。使用 \'|\' 作为换行符。'; @override String get repeater_cliHelpSetPathHashMode => @@ -3110,10 +3402,10 @@ class AppLocalizationsZh extends AppLocalizations { String get repeater_cliHelpGetAllowReadOnly => '显示是否允许访客仅限查看权限。'; @override - String get repeater_cliHelpGetAdvertInterval => '显示本地广告的时间间隔,单位为分钟。'; + String get repeater_cliHelpGetAdvertInterval => '显示本地广播的时间间隔,单位为分钟。'; @override - String get repeater_cliHelpGetFloodAdvertInterval => '显示洪水广告的播放时间间隔,以小时为单位。'; + String get repeater_cliHelpGetFloodAdvertInterval => '显示泛洪广播的播放时间间隔,以小时为单位。'; @override String get repeater_cliHelpGetGuestPassword => '显示已配置的访客密码。'; @@ -3128,13 +3420,13 @@ class AppLocalizationsZh extends AppLocalizations { String get repeater_cliHelpGetRxDelay => '显示 rxdelay 的基本值。'; @override - String get repeater_cliHelpGetTxDelay => '显示洪水模式下的传输延迟系数。'; + String get repeater_cliHelpGetTxDelay => '显示泛洪模式下的传输延迟系数。'; @override String get repeater_cliHelpGetDirectTxDelay => '显示直接模式下的时延系数。'; @override - String get repeater_cliHelpGetFloodMax => '显示最大洪水传播次数。'; + String get repeater_cliHelpGetFloodMax => '显示最大泛洪跳数。'; @override String get repeater_cliHelpGetOwnerInfo => '显示所有者的联系信息。'; @@ -3201,10 +3493,10 @@ class AppLocalizationsZh extends AppLocalizations { '设置默认的区域范围。使用 \"\" 可以清除。'; @override - String get repeater_cliHelpRegionListAllowed => '列出允许洪水交通的区域。'; + String get repeater_cliHelpRegionListAllowed => '列出允许泛洪交通的区域。'; @override - String get repeater_cliHelpRegionListDenied => '列出禁止洪水交通的区域。'; + String get repeater_cliHelpRegionListDenied => '列出禁止泛洪交通的区域。'; @override String get repeater_cliHelpStatsPackets => '(仅显示序列信息)显示数据包级别的统计信息。'; @@ -4061,6 +4353,10 @@ class AppLocalizationsZh extends AppLocalizations { @override String get snrIndicator_lastSeen => '最近访问'; + @override + String get snrIndicator_nearByRepeatersDescription => + 'Repeaters your radio heard directly, most recently heard first.'; + @override String get contactsSettings_title => '联系人设置'; @@ -4153,6 +4449,12 @@ class AppLocalizationsZh extends AppLocalizations { @override String get radioStats_screenTitle => '广播统计数据'; + @override + String get radioStats_sectionSignal => 'Signal'; + + @override + String get radioStats_sectionAirtime => 'Airtime'; + @override String get radioStats_notConnected => '连接到设备以查看收音机统计信息。'; @@ -4522,6 +4824,25 @@ class AppLocalizationsZh extends AppLocalizations { @override String get imageSend_cropNote => '调整大小至512 × 512 · 宽高比未保留'; + @override + String imageSend_lossyNote(int bytes) { + return 'Compressed to about $bytes bytes. The receiver\'s model reconstructs it, so details will differ.'; + } + + @override + String get imageSend_viewOriginal => 'Original'; + + @override + String get imageSend_viewReconstruction => 'What recipients see'; + + @override + String get imageSend_reconstructionUnavailable => + 'This device can\'t preview the reconstruction.'; + + @override + String get imageSend_modelNotDownloaded => + 'The image model isn\'t downloaded yet. Download it in Settings to send images.'; + @override String get imageSend_originalSize => '原文'; @@ -4580,7 +4901,7 @@ class AppLocalizationsZh extends AppLocalizations { } @override - String get imageSend_floodNote => '洪水路由:每个中继站都会转发每个数据包,因此信道比这段时间更长地处于繁忙状态。'; + String get imageSend_floodNote => '泛洪路由:每个中继站都会转发每个数据包,因此信道比这段时间更长地处于繁忙状态。'; @override String get imageSend_parityTitle => '恢复包'; @@ -4684,6 +5005,29 @@ class AppLocalizationsZh extends AppLocalizations { @override String get receivedImage_tapToProcess => '点击处理'; + @override + String get receivedImage_save => 'Save image'; + + @override + String receivedImage_shareCaption(int bytes) { + return 'AI-reconstructed from $bytes bytes; fine detail is generated, not transmitted.'; + } + + @override + String get receivedImage_packetInfo => 'Packet info'; + + @override + String get receivedImage_parityRecovered => + 'One packet was rebuilt from the recovery packet.'; + + @override + String receivedImage_decodeTime(int ms) { + return 'Reconstructed in $ms ms'; + } + + @override + String get receivedImage_saveFailed => 'Couldn\'t save the image'; + @override String receivedImage_awaiting(int bytes, int packets) { String _temp0 = intl.Intl.pluralLogic( @@ -4704,4 +5048,9 @@ class AppLocalizationsZh extends AppLocalizations { String imageSend_minutesSecondsValue(String minutes, String seconds) { return '$minutes 分 $seconds 秒'; } + + @override + String chat_longMessageRetryNote(int count) { + return '超过158字节:最多发送 $count 次'; + } } diff --git a/lib/l10n/app_nl.arb b/lib/l10n/app_nl.arb index eda38c12..a4f066f3 100644 --- a/lib/l10n/app_nl.arb +++ b/lib/l10n/app_nl.arb @@ -582,7 +582,7 @@ "chat_recentAckPaths": "Recente ACK Paden (tik om te gebruiken):", "chat_pathHistoryFull": "De voorgeschiedenis is vol. Verwijder vermeldingen om er nieuwe aan toe te voegen.", "chat_hopSingular": "Hop", - "chat_hopPlural": "hoppen", + "chat_hopPlural": "hops", "chat_hopsCount": "{count} {count, plural, =1{hop} other{hops}}", "@chat_hopsCount": { "placeholders": { @@ -632,7 +632,7 @@ } } }, - "chat_floodAuto": "Overstroming (van een auto)", + "chat_floodAuto": "Flood (automatisch)", "chat_direct": "Direct", "chat_poiShared": "Gedeelde POI", "chat_unread": "Nieuw: {count}", @@ -1046,7 +1046,7 @@ } } }, - "repeater_duplicatesFloodDirect": "Overstroming: {flood}, Direct: {direct}", + "repeater_duplicatesFloodDirect": "Flood: {flood}, Direct: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1175,7 +1175,7 @@ "repeater_pathHashMode": "Hash-modus voor paden", "repeater_pathHashModeHelper": "Bytes die gebruikt worden om de ID van deze repeater te coderen in flood-pad/lusdetectietags. 0=1 byte (256 ID's, tot 64 hops), 1=2 bytes (65.000 ID's, tot 32 hops), 2=3 bytes (16 miljoen ID's, tot 21 hops). Firmware vóór v1.14 gebruikte altijd 1-byte paden; v1.14 en nieuwer kunnen worden ingesteld op 2- of 3-byte paden.", "repeater_txDelay": "Vertraging bij Flood TX", - "repeater_txDelayHelper": "Herzendinterval voor verkeer tijdens overstromingen, als een veelvoud van de tijd die het pakket nodig heeft (0-2, standaard 0.5). Een hoger getal betekent minder botsingen, maar ook een langere leveringstijd.", + "repeater_txDelayHelper": "Herzendinterval voor flood-verkeer, als een veelvoud van de tijd die het pakket nodig heeft (0-2, standaard 0.5). Een hoger getal betekent minder botsingen, maar ook een langere leveringstijd.", "repeater_directTxDelay": "Directe vertraging", "repeater_directTxDelayHelper": "De overzending van tijdslots voor directe (niet-massaal) verkeer, als een vermenigvuldigingsfactor van de tijd die een pakket nodig heeft (0-2, standaard 0,3).", "repeater_intThresh": "Grenswaarde voor interferentie", @@ -1183,8 +1183,8 @@ "repeater_agcResetInterval": "Interval voor het opnieuw instellen van AGC", "repeater_agcResetIntervalHelper": "Hoe vaak moet u de automatische gainregeling van de radio opnieuw instellen om terug te keren van een situatie waarin de gain vastzit? Elke seconde, of elke 4e seconde. Het uitschakelen van de periodieke reset (0) zorgt ervoor dat de gain niet automatisch wordt aangepast.", "repeater_actionsTitle": "Acties", - "repeater_sendAdvert": "Verzend advertentie over overstromingen", - "repeater_sendAdvertSubtitle": "Zend een advertentie over overstromingen uit via het netwerk.", + "repeater_sendAdvert": "Verzend flood-advertentie", + "repeater_sendAdvertSubtitle": "Zend een flood-advertentie uit via het netwerk.", "repeater_sendAdvertZeroHop": "Verzend een advertentie zonder tussenliggende stap", "repeater_sendAdvertZeroHopSubtitle": "Zend een advertentie met één enkele verbinding (zonder tussenliggende zenders).", "repeater_clockSync": "Synchroniseer klok nu", @@ -1483,7 +1483,7 @@ } }, "channelPath_unknownPath": "Onbekend", - "channelPath_floodPath": "Overstroming", + "channelPath_floodPath": "Flood", "channelPath_directPath": "Direct", "channelPath_observedZeroOf": "0 van {total} sprongen", "@channelPath_observedZeroOf": { @@ -1755,8 +1755,8 @@ "appSettings_languageUk": "Oekraïens", "contacts_invalidAdvertFormat": "Ongeldige contactgegevens", "contacts_contactImportFailed": "Contact kon niet geïmporteerd worden.", - "contacts_zeroHopAdvert": "Zero Hop Reclame", - "contacts_floodAdvert": "Overstromingsadvertentie", + "contacts_zeroHopAdvert": "Zero-hop-advertentie", + "contacts_floodAdvert": "Flood-advertentie", "contacts_copyAdvertToClipboard": "Advert naar klembord kopiëren", "appSettings_languageRu": "Russisch", "appSettings_enableMessageTracing": "Berichttracking inschakelen", @@ -1765,7 +1765,7 @@ "contacts_addContactFromClipboard": "Contact uit klembord toevoegen", "contacts_contactImported": "Contact is geïmporteerd.", "contacts_zeroHopContactAdvertSent": "Contact verzonden via advertentie", - "contacts_contactAdvertCopied": "Reclame gekopieerd naar Klembord.", + "contacts_contactAdvertCopied": "Advertentie gekopieerd naar Klembord.", "contacts_contactAdvertCopyFailed": "Kopiëren van advertentie naar Clipboard is mislukt.", "contacts_ShareContact": "Contact naar Klembord kopiëren", "contacts_ShareContactZeroHop": "Contact delen via advertentie", @@ -2299,15 +2299,15 @@ "repeater_cliHelpGetAgcResetInterval": "Geeft het interval in seconden aan voor het resetten van de AGC (Automatic Gain Control).", "repeater_cliHelpGetMultiAcks": "Geeft aan of de modus \"dubbele bevestiging\" is ingeschakeld (1) of uitgeschakeld (0).", "repeater_cliHelpGetAllowReadOnly": "Geeft aan of er toegang is voor gastgebruikers zonder rechten.", - "repeater_cliHelpGetAdvertInterval": "Geeft de duur van de lokale reclame in minuten aan.", - "repeater_cliHelpGetFloodAdvertInterval": "Geeft de duur van de reclame-interval in uren aan.", + "repeater_cliHelpGetAdvertInterval": "Geeft de duur van het lokale advertentie-interval in minuten aan.", + "repeater_cliHelpGetFloodAdvertInterval": "Geeft de duur van het flood-advertentie-interval in uren aan.", "repeater_cliHelpGetGuestPassword": "Toont het ingestelde gastwachtwoord.", "repeater_cliHelpGetLat": "Toont de ingestelde breedtegraad.", "repeater_cliHelpGetLon": "Toont de ingestelde lengtegraad.", "repeater_cliHelpGetRxDelay": "Toont de basiswaarde van de rx-vertraging.", "repeater_cliHelpGetTxDelay": "Geeft de factor weer die de vertraging in de flood-modus bepaalt.", "repeater_cliHelpGetDirectTxDelay": "Geeft de factor voor de vertraging in de directe modus weer.", - "repeater_cliHelpGetFloodMax": "Toont het maximale aantal keer dat een overstroming heeft plaatsgevonden.", + "repeater_cliHelpGetFloodMax": "Toont het maximale aantal hops voor flood-pakketten.", "repeater_cliHelpGetOwnerInfo": "Toont de string met contactgegevens van de eigenaar.", "repeater_cliHelpGetPathHashMode": "Toont de modus voor het berekenen van de hash (0/1/2).", "repeater_cliHelpGetLoopDetect": "Geeft de gevoeligheid voor het detecteren van lusvorming weer.", @@ -2329,8 +2329,8 @@ "repeater_cliHelpSensorList": "Toont alle aangepaste instellingen voor sensoren, gegroepeerd op basis van een optionele startindex.", "repeater_cliHelpRegionDefault": "Toont het huidige standaard regio-bereik.", "repeater_cliHelpRegionDefaultSet": "Stelt de standaard regio-omvang in. Gebruik \"\" om deze te resetten.", - "repeater_cliHelpRegionListAllowed": "Lijst van gebieden waar doorstromen tijdens overstromingen is toegestaan.", - "repeater_cliHelpRegionListDenied": "Geeft een lijst van regio's die het verkeer tijdens overstromingen verbieden.", + "repeater_cliHelpRegionListAllowed": "Geeft een lijst van regio's die flood-verkeer toestaan.", + "repeater_cliHelpRegionListDenied": "Geeft een lijst van regio's die flood-verkeer verbieden.", "repeater_cliHelpStatsPackets": "(Alleen voor seriële verbindingen) Toont statistieken op pakketniveau.", "repeater_cliHelpStatsRadio": "(Alleen voor serienummers) Toont radio-statistieken.", "repeater_cliHelpStatsCore": "(Alleen voor seriële communicatie) Toont de belangrijkste firmware-statistieken.", @@ -2469,7 +2469,7 @@ "contacts_searchClose": "Zoeken", "routing_title": "Routeplanning", "routing_modeAuto": "Auto", - "routing_modeFlood": "Overstroming", + "routing_modeFlood": "Flood", "routing_modeManual": "Handleiding", "routing_modeAutoHint": "Selecteert automatisch het bekendste pad, en gebruikt een flood-algoritme als er geen bekend pad is.", "routing_modeFloodHint": "Uitzendingen via elke zender. De meest betrouwbare methode, maar vereist meer uitzendtijd.", @@ -2487,13 +2487,13 @@ "routing_qualityGood": "Een goede eerste stap", "routing_qualityFair": "Een goede eerste hop", "routing_qualityWorked": "Is geleverd", - "routing_qualityFlood": "Hears via een overstroming", + "routing_qualityFlood": "Gehoord via flood", "routing_qualityUntested": "Niet getest", "routing_neverWorked": "nooit bevestigd", "routing_deliveryCounts": "{successes} zijn behaald, {failures} zijn mislukt", - "routing_floodDelivery": "Levering bij overstroming", + "routing_floodDelivery": "Flood-levering", "pathEditor_title": "Pad creëren", - "pathEditor_hopCounter": "{count} van 64 hopgranen", + "pathEditor_hopCounter": "{count} van 64 hops", "pathEditor_noHops": "Er zijn nog geen hop toegevoegd. Klik op de onderstaande knoppen om ze in de juiste volgorde toe te voegen, of sla de bestelling op zonder hop om deze direct te versturen.", "pathEditor_addHops": "Voeg hop toe in de juiste volgorde.", "pathEditor_searchRepeaters": "Zoek naar herhaaldelijke zenders", @@ -2501,7 +2501,7 @@ "pathEditor_hexLabel": "Hex-voorkanten", "pathEditor_hexHelper": "Twee hex-tekens per stap, gescheiden door komma's", "pathEditor_invalidTokens": "Ongeldig: {tokens}", - "pathEditor_tooManyHops": "Maximaal 64 hopken", + "pathEditor_tooManyHops": "Maximaal 64 hops", "pathEditor_usePath": "Gebruik deze route.", "pathEditor_removeHop": "Verwijder de hop", "pathEditor_unknownHop": "Onbekend type zender", @@ -2798,7 +2798,7 @@ "imageSend_radioUnknownBody": "Verbinding maken met een apparaat zodat de uitzendtijd kan worden berekend.", "imageSend_longSendTitle": "Lange transmissie", "imageSend_longSendBody": "Dit houdt de kanaal ongeveer voor {duration} stand.", - "imageSend_floodNote": "Overstromingsrouting: elke repeater binnen bereik herzendsends elk pakket opnieuw, waardoor het kanaal langer bezig blijft dan dit.", + "imageSend_floodNote": "Flood-routing: elke repeater binnen bereik herzendsends elk pakket opnieuw, waardoor het kanaal langer bezig blijft dan dit.", "imageSend_parityTitle": "Herstelpakket", "imageSend_paritySubtitle": "Een extra pakje. Groepsberichten worden niet bevestigd, waardoor de ontvanger het beeld kan herstellen als een enkel pakket verloren gaat.", "imageSend_send": "Stuur", @@ -2828,5 +2828,39 @@ "receivedImage_tapToProcess": "Tik om te verwerken", "receivedImage_awaiting": "{bytes} bytes · {packets} {packets, plural, =1{pakket} other{pakketten}}", "imageSend_secondsValue": "{seconds} seconden", - "imageSend_minutesSecondsValue": "{minutes} m {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} m {seconds} s", + "channels_noFreeSlots": "Alle kanaalslots zijn bezet", + "chat_longMessageRetryNote": "Meer dan 158 bytes: maximaal {count} keer verzonden", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + }, + "reaction_report": "Emoji-reacties", + "repeater_bridgeNote": "Alleen beschikbaar bij firmware gebouwd met een bridge (RS232 of ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Toont het maximale aantal hops voor flood-advertenties.", + "repeater_cliHelpGetFloodMaxUnscoped": "Toont het maximale aantal hops voor flood-pakketten zonder regio-scope.", + "repeater_cliHelpGetRadioFemRxGain": "Toont of de RX-versterking van de LoRa-frontendmodule aan staat.", + "repeater_cliHelpGetRadioFemTxGain": "Toont of de TX-versterking van de LoRa-frontendmodule aan staat.", + "repeater_cliHelpRegionDef": "Definieert een keten van regio's in één commando: elke naam wordt onder de vorige toegevoegd; \"name,parent\" voegt de naam toe en gaat dan verder onder de opgegeven bovenliggende regio. Antwoordt met de regiolijst.", + "repeater_cliHelpSetFloodMaxAdvert": "Stelt het maximale aantal hops in voor het doorsturen van flood-advertenties (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Stelt het maximale aantal hops in voor het doorsturen van flood-pakketten zonder regio-scope (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Schakelt de RX-versterking (LNA) van de LoRa-frontendmodule. Boards zonder deze module antwoorden met \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Schakelt de TX-versterking (PA) van de LoRa-frontendmodule. Boards zonder deze module antwoorden met \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Regio-laadmodus: verstuur per regel één regionaam, ingesprongen met spaties onder de bovenliggende regio (voeg F toe na de naam om flood toe te staan). Regels krijgen geen antwoord. Verstuur een lege regel om te voltooien en dan \"region save\" om het resultaat te bewaren.", + "repeater_cliRegionLoadEnd": "(einde van regio-laadmodus)", + "repeater_cliRegionLoadHint": "Regioregel, of leeg om te voltooien", + "repeater_frequencyInvalid": "Ongeldige frequentie (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Ontvangstfouten", + "repeater_txPowerRangeHelper": "-9 tot 30 dBm", + "room_postsPushed": "Verzonden posts", + "room_postsStored": "Opgeslagen posts", + "settings_publicKeyCopied": "Openbare sleutel gekopieerd", + "settings_radioSettingsNotApplied": "De radio heeft deze instellingen niet toegepast", + "urlImage_enable": "URL-afbeeldingen inschakelen", + "urlImage_possible": "Mogelijke URL-afbeelding; schakel dit in bij Instellingen." } diff --git a/lib/l10n/app_pl.arb b/lib/l10n/app_pl.arb index 6f1811f8..af576481 100644 --- a/lib/l10n/app_pl.arb +++ b/lib/l10n/app_pl.arb @@ -201,7 +201,7 @@ "appSettings_pathsWillBeCleared": "Ścieżka zostanie wyczyszczona po 5 nieudanych próbach.", "appSettings_pathsWillNotBeCleared": "Ścieżka nie zostanie automatycznie wyczyszczona.", "appSettings_autoRouteRotation": "Automatyczna rotacja trasy", - "appSettings_autoRouteRotationSubtitle": "Przełączaj się między najlepszymi ścieżkami a trybem zalewowym.", + "appSettings_autoRouteRotationSubtitle": "Przełączaj się między najlepszymi ścieżkami a trybem flood.", "appSettings_autoRouteRotationEnabled": "Automatyczne obracanie tras włączone", "appSettings_autoRouteRotationDisabled": "Automatyczne obracanie tras wyłączone", "appSettings_battery": "Bateria", @@ -588,7 +588,7 @@ "chat_pathManagement": "Zarządzanie ścieżkami", "chat_routingMode": "Tryb routingu", "chat_autoUseSavedPath": "Automatyczne (użyj zapisanej ścieżki)", - "chat_forceFloodMode": "Wymuś tryb zalewowy", + "chat_forceFloodMode": "Wymuś tryb flood", "chat_recentAckPaths": "Ostatnie ścieżki ACK (naciśnij, aby użyć):", "chat_pathHistoryFull": "Historia ścieżek jest pełna. Usuń wpisy, aby dodać nowe.", "chat_hopSingular": "skok", @@ -611,7 +611,7 @@ "chat_clearPathSubtitle": "Wymuś ponowne wyznaczenie trasy przy następnym wysłaniu", "chat_pathCleared": "Ścieżka wyczyszczona. Następna wiadomość odnajdzie trasę.", "chat_floodModeSubtitle": "Użyj przełącznika routingu w pasku narzędzi.", - "chat_floodModeEnabled": "Tryb zalewowy włączony. Przełącz z powrotem ikoną routingu w pasku aplikacji.", + "chat_floodModeEnabled": "Tryb flood włączony. Przełącz z powrotem ikoną routingu w pasku aplikacji.", "chat_fullPath": "Pełna ścieżka", "chat_pathDetailsNotAvailable": "Szczegóły ścieżki jeszcze niedostępne. Spróbuj wysłać wiadomość, aby odświeżyć.", "chat_pathSetHops": "Ścieżka ustawiona: {hopCount} {hopCount, plural, =1{hop} other{hops}} - {status}", @@ -632,7 +632,7 @@ "chat_path": "Ścieżka", "chat_publicKey": "Klucz Publiczny", "chat_compressOutgoingMessages": "Kompresuj wychodzące wiadomości", - "chat_floodForced": "Zalew (wymuszony)", + "chat_floodForced": "Flood (wymuszony)", "chat_directForced": "Bezpośrednio (wymuszono)", "chat_hopsForced": "{count} skoków (wymuszonych)", "@chat_hopsForced": { @@ -642,7 +642,7 @@ } } }, - "chat_floodAuto": "Zalew (automatyczny)", + "chat_floodAuto": "Flood (automatyczny)", "chat_direct": "Bezpośrednio", "chat_poiShared": "Wspólny POI", "chat_unread": "Nieprzeczytane: {count}", @@ -910,7 +910,7 @@ "login_routing": "Trasowanie", "login_routingMode": "Tryb routingu", "login_autoUseSavedPath": "Automatycznie (użyj zapisanej ścieżki)", - "login_forceFloodMode": "Wymuś tryb zalewowy", + "login_forceFloodMode": "Wymuś tryb flood", "login_managePaths": "Zarządzaj Ścieżkami", "login_login": "Zaloguj się", "login_attempt": "Próba {current}/{max}", @@ -983,7 +983,7 @@ "repeater_statusTitle": "Status przekaźnika", "repeater_routingMode": "Tryb routingu", "repeater_autoUseSavedPath": "Automatycznie (użyj zapisanej ścieżki)", - "repeater_forceFloodMode": "Wymuś tryb zalewowy", + "repeater_forceFloodMode": "Wymuś tryb flood", "repeater_pathManagement": "Zarządzanie ścieżkami", "repeater_refresh": "Odśwież", "repeater_statusRequestTimeout": "Przekroczono czas oczekiwania na status.", @@ -1028,7 +1028,7 @@ } } }, - "repeater_packetTxTotal": "Razem: {total}, Zalew: {flood}, Bezpośrednio: {direct}", + "repeater_packetTxTotal": "Razem: {total}, Flood: {flood}, Bezpośrednio: {direct}", "@repeater_packetTxTotal": { "placeholders": { "total": { @@ -1042,7 +1042,7 @@ } } }, - "repeater_packetRxTotal": "Razem: {total}, Zalew: {flood}, Bezpośrednio: {direct}", + "repeater_packetRxTotal": "Razem: {total}, Flood: {flood}, Bezpośrednio: {direct}", "@repeater_packetRxTotal": { "placeholders": { "total": { @@ -1056,7 +1056,7 @@ } } }, - "repeater_duplicatesFloodDirect": "Zalew: {flood}, Bezpośrednie: {direct}", + "repeater_duplicatesFloodDirect": "Flood: {flood}, Bezpośrednie: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1113,7 +1113,7 @@ } } }, - "repeater_floodAdvertInterval": "Interwał rozgłoszenia zalewowego", + "repeater_floodAdvertInterval": "Interwał rozgłoszenia flood", "repeater_floodAdvertIntervalHours": "{hours} godzin", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1178,14 +1178,14 @@ "repeater_ownerInfo": "Informacje o operatorze", "repeater_ownerInfoHelper": "Publiczne metadane dla tego urządzenia powielającego", "repeater_refreshOwnerInfo": "Aktualizacja danych dotyczących operatora", - "repeater_floodMax": "Maksymalna liczba skoków podczas powodzi", + "repeater_floodMax": "Maksymalna liczba skoków flood", "repeater_floodMaxHelper": "Maksymalna liczba pakietów, które mogą przemieszczać się w jednym strumieniu (0-64)", "repeater_advancedSettings": "Zaawansowany", "repeater_advancedSettingsSubtitle": "Regulowane pokrętła dla doświadczonych operatorów", "repeater_pathHashMode": "Tryb haszujący ścieżkę", "repeater_pathHashModeHelper": "Bajty używane do kodowania identyfikatora tego repeatera w tagach ścieżki flood/wykrywania pętli. 0=1 bajt (256 identyfikatorów, do 64 skoków), 1=2 bajty (65 000 identyfikatorów, do 32 skoków), 2=3 bajty (16 milionów identyfikatorów, do 21 skoków). Firmware sprzed v1.14 zawsze używał ścieżek 1-bajtowych; v1.14 i nowsze można skonfigurować na ścieżki 2- lub 3-bajtowe.", "repeater_txDelay": "Opóźnienie w Flood, TX", - "repeater_txDelayHelper": "Ustawienie odstępu dla ruchu związanego z powodzią, jako mnożnik czasu przesyłania pakietu (0-2, domyślnie 0,5). Wyższe wartości oznaczają mniejszą liczbę kolizji, ale wolniejszą prędkość przesyłania.", + "repeater_txDelayHelper": "Ustawienie odstępu dla ruchu flood, jako mnożnik czasu przesyłania pakietu (0-2, domyślnie 0,5). Wyższe wartości oznaczają mniejszą liczbę kolizji, ale wolniejszą prędkość przesyłania.", "repeater_directTxDelay": "Bezpośrednie opóźnienie sygnału TX", "repeater_directTxDelayHelper": "Ustawienie odstępu dla ruchu bezpośredniego (bez rozgłaszania), jako mnożnika czasu przesyłania pakietu (0-2, domyślnie 0,3).", "repeater_intThresh": "Próg zakłóceń", @@ -1193,10 +1193,10 @@ "repeater_agcResetInterval": "Interwał resetowania AGC", "repeater_agcResetIntervalHelper": "Jak często należy resetować automatyczną regulację głośności radia, aby odzyskać z sytuacji, w której głośność jest ustawiona na stałe. Ustawienie \"0\" dezaktywuje okresowe resetowanie.", "repeater_actionsTitle": "Działania", - "repeater_sendAdvert": "Wysłać reklamę dotyczącą powodzi", - "repeater_sendAdvertSubtitle": "Wyemituj reklamę dotyczącą powodzi w sieci.", - "repeater_sendAdvertZeroHop": "Wysłać reklamę bez pośrednictwa", - "repeater_sendAdvertZeroHopSubtitle": "Napisz reklamę, która będzie transmitowana bezpośrednio (bez powtarzania).", + "repeater_sendAdvert": "Wysłać rozgłoszenie flood", + "repeater_sendAdvertSubtitle": "Wyemituj rozgłoszenie flood w sieci.", + "repeater_sendAdvertZeroHop": "Wysłać rozgłoszenie zero-hop", + "repeater_sendAdvertZeroHopSubtitle": "Wyemituj rozgłoszenie jednoskokowe (bez pośredników).", "repeater_clockSync": "Synchronizuj zegar", "repeater_clockSyncSubtitle": "Przekaż czas z telefonu do urządzenia powielającego", "repeater_actionSucceeded": "{action} zakończyło się pomyślnie", @@ -1293,7 +1293,7 @@ "repeater_cliHelpSetTx": "Ustawia moc transmisji LoRa w dBm. (zrestartuj, aby zastosować)", "repeater_cliHelpSetRepeat": "Włącza lub wyłącza rolę przekaźnika dla tego węzła.", "repeater_cliHelpSetAllowReadOnly": "(Serwer pokoju) Jeśli 'włączone', to logowanie z pustym hasłem będzie dozwolone, ale nie można publikować w pokoju (tylko czytać).", - "repeater_cliHelpSetFloodMax": "Ustawia maksymalną liczbę skoków pakietu zalewowego (jeśli >= max, pakiet nie jest przekierowywany)", + "repeater_cliHelpSetFloodMax": "Ustawia maksymalną liczbę skoków pakietu flood (jeśli >= max, pakiet nie jest przekierowywany)", "repeater_cliHelpSetIntThresh": "Ustawia Próg Interferencji (w dB). Domyślnie wynosi 14. Ustaw na 0, aby wyłączyć wykrywanie zakłóceń kanału.", "repeater_cliHelpSetAgcResetInterval": "Ustawia interwał do zresetowania automatycznego wzmocnienia (AGC). Ustaw na 0, aby wyłączyć.", "repeater_cliHelpSetMultiAcks": "Włącza lub wyłącza funkcję 'podwójnych potwierdzeń'.", @@ -1305,7 +1305,7 @@ "repeater_cliHelpSetLon": "Ustawia współrzędną długościową mapy rozgłoszeń. (stopnie dziesiętne)", "repeater_cliHelpSetRadio": "Ustawia nowe parametry radia i zapisuje je w preferencjach. Wymaga polecenia \"reboot\" do zastosowania.", "repeater_cliHelpSetRxDelay": "Ustawienia (eksperymentalne) bazowe (muszą być > 1, aby działać) do stosowania lekkiego opóźnienia dla odebranych pakietów, w oparciu o siłę sygnału/wynik. Ustaw na 0, aby wyłączyć.", - "repeater_cliHelpSetTxDelay": "Ustawia czynnik mnożony przez czas utrzymania w trybie zalewowym dla pakietu oraz z wykorzystaniem losowego systemu slotów, aby opóźnić jego przesyłanie (zmniejszając prawdopodobieństwo kolizji).", + "repeater_cliHelpSetTxDelay": "Ustawia czynnik mnożony przez czas utrzymania w trybie flood dla pakietu oraz z wykorzystaniem losowego systemu slotów, aby opóźnić jego przesyłanie (zmniejszając prawdopodobieństwo kolizji).", "repeater_cliHelpSetDirectTxDelay": "Taki sam jak txdelay, ale dla stosowania losowej opóźnienia przy przekazywaniu pakietów w trybie bezpośrednim.", "repeater_cliHelpSetBridgeEnabled": "Włącz/Wyłącz mostek.", "repeater_cliHelpSetBridgeDelay": "Ustaw czas opóźnienia przed ponownym wysyłaniem pakietów.", @@ -1321,13 +1321,13 @@ "repeater_cliHelpLogErase": "Usuwa logi pakietów z systemu plików.", "repeater_cliHelpNeighbors": "Wyświetla listę innych węzłów przekaźnikowych usłyszanych przez rozgłoszenia zero-hop. Każda linia to: id-prefix-hex:timestamp:snr-times-4", "repeater_cliHelpNeighborRemove": "Usuwa pierwszy pasujący wpis (z prefiksem pubkey (hex)) z listy sąsiadów.", - "repeater_cliHelpRegion": "(tylko port szeregowy) Wyświetla wszystkie zdefiniowane regiony i aktualne uprawnienia do zalewu.", + "repeater_cliHelpRegion": "(tylko port szeregowy) Wyświetla wszystkie zdefiniowane regiony i aktualne uprawnienia flood.", "repeater_cliHelpRegionLoad": "UWAGA: to jest specjalne wywołanie wielokomendowe. Każda następna komenda jest nazwą regionu (wcięta spacjami, aby wskazywać hierarchię nadrzędną, z minimum jedną spacją). Zakończona wysłaniem pustej linii/komendy.", "repeater_cliHelpRegionGet": "Wyszukuje region o podanej nazwie prefiksu (lub \"\" dla zakresu globalnego). Odpowiada \"-> region-name (parent-name) 'F'\"", "repeater_cliHelpRegionPut": "Dodaje lub aktualizuje definicję regionu z podaną nazwą.", "repeater_cliHelpRegionRemove": "Usuwa definicję regionu o podanej nazwie. (musi się dokładnie zgadzać i nie może mieć podregionów).", - "repeater_cliHelpRegionAllowf": "Ustawia uprawnienia 'F' (zalewowe) dla podanego regionu. ('' dla zakresu globalnego/starszego)", - "repeater_cliHelpRegionDenyf": "Usuwa uprawnienie 'F' (zalewowe) dla podanej strefy. (ZALECANE: na tym etapie NIE zaleca się używania tego na globalnym/starszym zakresie!!).", + "repeater_cliHelpRegionAllowf": "Ustawia uprawnienia 'F' (flood) dla podanego regionu. ('' dla zakresu globalnego/starszego)", + "repeater_cliHelpRegionDenyf": "Usuwa uprawnienie 'F' (flood) dla podanej strefy. (ZALECANE: na tym etapie NIE zaleca się używania tego na globalnym/starszym zakresie!!).", "repeater_cliHelpRegionHome": "Odpowiada z aktualnej 'home' region. (Uwaga: nie zostało jeszcze zastosowane, zarezerwowane na przyszłość).", "repeater_cliHelpRegionHomeSet": "Ustawia region 'domowe'.", "repeater_cliHelpRegionSave": "Zapisuje listę/mapę regionów do pamięci.", @@ -1493,7 +1493,7 @@ } }, "channelPath_unknownPath": "Nieznane", - "channelPath_floodPath": "Zalew", + "channelPath_floodPath": "Flood", "channelPath_directPath": "Bezpośrednio", "channelPath_observedZeroOf": "0 z {total} skoków", "@channelPath_observedZeroOf": { @@ -1768,7 +1768,7 @@ "appSettings_enableMessageTracingSubtitle": "Pokaż szczegółowe metadane trasowania i czasu dla wiadomości", "contacts_contactImportFailed": "Kontakt nie został zaimportowany.", "contacts_zeroHopAdvert": "Rozgłoszenie zero-hop", - "contacts_floodAdvert": "Rozgłoszenie zalewowe", + "contacts_floodAdvert": "Rozgłoszenie flood", "contacts_copyAdvertToClipboard": "Kopiuj rozgłoszenie do schowka", "contacts_clipboardEmpty": "Schowek jest pusty.", "contacts_invalidAdvertFormat": "Nieprawidłowe dane kontaktowe", @@ -1829,7 +1829,7 @@ "settings_gpxExportChat": "Lokalizacje towarzyszy", "settings_gpxExportShareText": "Dane mapy wyeksportowane z meshcore-open", "settings_gpxExportShareSubject": "Eksport danych mapy GPX meshcore-open", - "pathTrace_someHopsNoLocation": "Jeden lub więcej z chmieli nie ma określonej lokalizacji!", + "pathTrace_someHopsNoLocation": "Jeden lub więcej skoków nie ma określonej lokalizacji!", "map_pathTraceCancelled": "Śledzenie ścieżki anulowano.", "map_runTrace": "Uruchom ślad ścieżki", "pathTrace_clearTooltip": "Wyczyść ścieżkę", @@ -2135,7 +2135,7 @@ "settings_allowAll": "Zezwalaj na wszystko", "settings_telemetryLocationMode": "Tryb położenia telemetrycznego", "settings_telemetryEnvironmentMode": "Tryb środowiska telemetrycznego", - "settings_advertLocation": "Lokalizacja reklamowa", + "settings_advertLocation": "Lokalizacja rozgłoszenia", "settings_advertLocationSubtitle": "Uwzględnij lokalizację w ogłoszeniu", "settings_denyAll": "Odmów wszystkim", "settings_privacySubtitle": "Kontroluj jakie informacje są udostępniane.", @@ -2305,7 +2305,7 @@ "repeater_sensors": "Czujniki", "repeater_cliHelpPowerOff": "Wyłącza urządzenie. (oczekiwanie na brak reakcji)", "repeater_cliHelpClkReboot": "Przywraca zegar do znanego punktu odniesienia i resetuje urządzenie.", - "repeater_cliHelpAdvertZeroHop": "Wysyła reklamę, która dociera bezpośrednio do sąsiadów (bez pośrednictwa).", + "repeater_cliHelpAdvertZeroHop": "Wysyła rozgłoszenie, które dociera bezpośrednio do sąsiadów (bez pośrednictwa).", "repeater_cliHelpStartOta": "Rozpoczyna aktualizację oprogramowania przez sieć (bezpośrednio z urządzenia).", "repeater_cliHelpTime": "Ustawia zegar urządzenia na określone sekundy od epoki Unix. Zegar nie może się cofać.", "repeater_cliHelpBoard": "Wyświetla informacje o producencie płyty głównej / identyfikator sprzętu.", @@ -2336,15 +2336,15 @@ "repeater_cliHelpGetAgcResetInterval": "Pokazuje interwał resetowania AGC w sekundach.", "repeater_cliHelpGetMultiAcks": "Pokazuje, czy tryb podwójnego potwierdzania jest włączony (1) czy wyłączony (0).", "repeater_cliHelpGetAllowReadOnly": "Pokazuje, czy dostęp dla gości jest ograniczony do odczytu tylko.", - "repeater_cliHelpGetAdvertInterval": "Pokazuje czas trwania lokalnej reklamy w minutach.", - "repeater_cliHelpGetFloodAdvertInterval": "Pokazuje interwał reklamowy dotyczący powodzi w godzinach.", + "repeater_cliHelpGetAdvertInterval": "Pokazuje interwał lokalnego rozgłoszenia w minutach.", + "repeater_cliHelpGetFloodAdvertInterval": "Pokazuje interwał rozgłoszenia flood w godzinach.", "repeater_cliHelpGetGuestPassword": "Wyświetla ustawione hasło dla gościa.", "repeater_cliHelpGetLat": "Pokazuje ustawioną szerokość geograficzną.", "repeater_cliHelpGetLon": "Pokazuje ustawioną długość geograficzną.", "repeater_cliHelpGetRxDelay": "Pokazuje bazową wartość opóźnienia RX.", - "repeater_cliHelpGetTxDelay": "Pokazuje współczynnik opóźnienia transmisji w trybie zalewowym.", + "repeater_cliHelpGetTxDelay": "Pokazuje współczynnik opóźnienia transmisji w trybie flood.", "repeater_cliHelpGetDirectTxDelay": "Pokazuje współczynnik opóźnienia w trybie bezpośrednim.", - "repeater_cliHelpGetFloodMax": "Pokazuje maksymalną liczbę skoków spowodowanych powodzią.", + "repeater_cliHelpGetFloodMax": "Pokazuje maksymalną liczbę skoków flood.", "repeater_cliHelpGetOwnerInfo": "Wyświetla ciąg znaków zawierający dane kontaktowe właściciela.", "repeater_cliHelpGetPathHashMode": "Pokazuje tryb haszujący ścieżkę (0/1/2).", "repeater_cliHelpGetLoopDetect": "Pokazuje czułość detekcji pętli.", @@ -2366,8 +2366,8 @@ "repeater_cliHelpSensorList": "Wyświetla wszystkie ustawienia dla niestandardowych czujników, podzielone na strony, z opcjonalnym indeksem początkowym.", "repeater_cliHelpRegionDefault": "Pokazuje aktualny domyślny zakres regionu.", "repeater_cliHelpRegionDefaultSet": "Ustawia domyślny zakres regionu. Użyj wartości \"\", aby go zresetować.", - "repeater_cliHelpRegionListAllowed": "Wymienia regiony, w których dopuszczony jest ruch związany z powodzami.", - "repeater_cliHelpRegionListDenied": "Wymienia regiony, w których ruch związany z powodziami jest ograniczony.", + "repeater_cliHelpRegionListAllowed": "Wymienia regiony, w których dozwolony jest ruch flood.", + "repeater_cliHelpRegionListDenied": "Wymienia regiony, w których ruch flood jest zabroniony.", "repeater_cliHelpStatsPackets": "(Tylko dla serialu) Prezentuje statystyki na poziomie pakietów.", "repeater_cliHelpStatsRadio": "(Tylko serial) Prezentuje statystyki dotyczące nadawania radiowego.", "repeater_cliHelpStatsCore": "(Tylko wersja serialowa) Wyświetla podstawowe statystyki o oprogramowaniu.", @@ -2507,7 +2507,7 @@ "contacts_searchClose": "Zaawansowane wyszukiwanie", "routing_title": "Planowanie tras", "routing_modeAuto": "Samochód", - "routing_modeFlood": "Powódź", + "routing_modeFlood": "Flood", "routing_modeManual": "Instrukcja obsługi", "routing_modeAutoHint": "Automatycznie wybiera najpopularniejszą ścieżkę, a w przypadku braku znanej, przechodzi do trybu \"przepływu\".", "routing_modeFloodHint": "Transmisje za pośrednictwem każdego repeatera. Najbardziej niezawodna metoda, ale zużywa więcej czasu transmisji.", @@ -2529,11 +2529,11 @@ "routing_qualityUntested": "Nieużywany", "routing_lastWorked": "pracował {when}", "routing_neverWorked": "nigdy nie zostało potwierdzone", - "routing_floodDelivery": "Dostawa w przypadku powodzi", + "routing_floodDelivery": "Dostawa flood", "pathEditor_title": "Stworzenie ścieżki", - "pathEditor_hopCounter": "{count} z 64 rodzajów chmielu", - "pathEditor_noHops": "Na razie nie dodano żadnych chmielu. Aby dodać je w odpowiedniej kolejności, kliknij w odpowiednie przyciski poniżej, lub zapisz przepis bez chmielu, aby wysłać go bezpośrednio.", - "pathEditor_addHops": "Dodawaj chmiel zgodnie z kolejnością.", + "pathEditor_hopCounter": "{count} z 64 skoków", + "pathEditor_noHops": "Nie dodano jeszcze żadnych skoków. Stuknij przekaźniki poniżej, aby dodać je w kolejności, lub zapisz bez skoków, aby wysłać bezpośrednio.", + "pathEditor_addHops": "Dodawaj skoki w kolejności.", "pathEditor_searchRepeaters": "Funkcje powtarzania", "pathEditor_advancedHex": "Zaawansowane: ścieżka w formacie szesnastkowym", "pathEditor_hexLabel": "Prefiksy heksadecymalne", @@ -2541,7 +2541,7 @@ "pathEditor_invalidTokens": "Nieprawidłowe: {tokens}", "pathEditor_tooManyHops": "Maksymalnie 64 hopów", "pathEditor_usePath": "Użyj tej ścieżki.", - "pathEditor_removeHop": "Usuń dziką psiankę", + "pathEditor_removeHop": "Usuń skok", "pathEditor_unknownHop": "Nieznany repeater", "map_zoomIn": "Przybliż", "routing_deliveryCounts": "{successes} delivered, {failures} failed", @@ -2866,5 +2866,39 @@ "receivedImage_tapToProcess": "Kliknij, aby przetworzyć", "receivedImage_awaiting": "{bytes} bajtów · {packets} {packets, plural, =1{pakiet} other{pakiety}}", "imageSend_secondsValue": "{seconds} sekund", - "imageSend_minutesSecondsValue": "{minutes} minut {seconds} sekundy" + "imageSend_minutesSecondsValue": "{minutes} minut {seconds} sekundy", + "channels_noFreeSlots": "Wszystkie miejsca na kanały są zajęte", + "chat_longMessageRetryNote": "Powyżej 158 bajtów: wysyłane maksymalnie {count} razy", + "reaction_report": "Reakcje Emoji", + "repeater_bridgeNote": "Dostępne tylko w firmware zbudowanym z mostkiem (RS232 lub ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Pokazuje maksymalną liczbę skoków dla rozgłoszeń flood.", + "repeater_cliHelpGetFloodMaxUnscoped": "Pokazuje maksymalną liczbę skoków dla pakietów flood bez przypisanego regionu.", + "repeater_cliHelpGetRadioFemRxGain": "Pokazuje, czy wzmocnienie RX modułu front-end LoRa jest włączone.", + "repeater_cliHelpGetRadioFemTxGain": "Pokazuje, czy wzmocnienie TX modułu front-end LoRa jest włączone.", + "repeater_cliHelpRegionDef": "Definiuje łańcuch regionów w jednej komendzie: każda nazwa jest dodawana pod poprzednią; \"name,parent\" dodaje nazwę, a następnie kontynuuje pod podanym regionem nadrzędnym. Odpowiada listą regionów.", + "repeater_cliHelpSetFloodMaxAdvert": "Ustawia maksymalną liczbę skoków przy przekazywaniu rozgłoszeń flood (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Ustawia maksymalną liczbę skoków przy przekazywaniu pakietów flood bez przypisanego regionu (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Przełącza wzmocnienie RX (LNA) modułu front-end LoRa. Płytki bez tej funkcji odpowiadają \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Przełącza wzmocnienie TX (PA) modułu front-end LoRa. Płytki bez tej funkcji odpowiadają \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Tryb wczytywania regionów: wysyłaj po jednej nazwie regionu w linii, wcięte spacjami pod regionem nadrzędnym (dodaj F po nazwie, aby zezwolić na flood). Linie nie otrzymują odpowiedzi. Wyślij pustą linię, aby zakończyć, a następnie \"region save\", aby zachować wynik.", + "repeater_cliRegionLoadEnd": "(koniec wczytywania regionów)", + "repeater_cliRegionLoadHint": "Linia regionu lub pusta, aby zakończyć", + "repeater_frequencyInvalid": "Nieprawidłowa częstotliwość (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Błędy Odbioru", + "repeater_txPowerRangeHelper": "-9 do 30 dBm", + "room_postsPushed": "Wysłane Posty", + "room_postsStored": "Posty", + "settings_publicKeyCopied": "Skopiowano klucz publiczny", + "settings_radioSettingsNotApplied": "Radio nie zastosowało tych ustawień", + "urlImage_enable": "Włącz obrazy z URL", + "urlImage_possible": "Możliwy obraz z URL; włącz go w Ustawieniach.", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_pt.arb b/lib/l10n/app_pt.arb index e0da74bb..dac37b0c 100644 --- a/lib/l10n/app_pt.arb +++ b/lib/l10n/app_pt.arb @@ -110,7 +110,7 @@ "settings_actions": "Ações", "settings_deleteAllPaths": "Delete All Paths", "settings_deleteAllPathsSubtitle": "Clear all path data from contacts.", - "settings_sendAdvertisement": "Enviar Publicidade", + "settings_sendAdvertisement": "Enviar Anúncio", "settings_sendAdvertisementSubtitle": "Presença de transmissão agora", "settings_advertisementSent": "Anúncio enviado", "settings_syncTime": "Tempo de Sincronização", @@ -581,8 +581,8 @@ "chat_forceFloodMode": "Modo de Inundação Forçado", "chat_recentAckPaths": "Rotas de ACK Recentes (toque para usar):", "chat_pathHistoryFull": "O histórico está cheio. Remova entradas para adicionar novas.", - "chat_hopSingular": "pule", - "chat_hopPlural": "salta", + "chat_hopSingular": "salto", + "chat_hopPlural": "saltos", "chat_hopsCount": "{count} {count, plural, =1{salto} other{saltos}}", "@chat_hopsCount": { "placeholders": { @@ -1288,7 +1288,7 @@ "repeater_cliHelpSetAgcResetInterval": "Define o intervalo para resetar o Controlador de Ganho Automático. Defina como 0 para desativar.", "repeater_cliHelpSetMultiAcks": "Habilita ou desabilita a funcionalidade de \"double ACKs\".", "repeater_cliHelpSetAdvertInterval": "Define o intervalo do timer em minutos para enviar um pacote de anúncio local (sem salto). Defina como 0 para desativar.", - "repeater_cliHelpSetFloodAdvertInterval": "Define o intervalo do timer em horas para enviar um pacote de anúncio em massa. Defina como 0 para desativar.", + "repeater_cliHelpSetFloodAdvertInterval": "Define o intervalo do timer em horas para enviar um pacote de anúncio de inundação. Defina como 0 para desativar.", "repeater_cliHelpSetGuestPassword": "Define/atualiza a senha do convidado. (para repetidores, os logins de convidados podem enviar a solicitação \"Obter Estatísticas\")", "repeater_cliHelpSetName": "Define o nome do anúncio.", "repeater_cliHelpSetLat": "Define a latitude do mapa de anúncios. (graus decimais)", @@ -1316,8 +1316,8 @@ "repeater_cliHelpRegionGet": "Procura região com o prefixo de nome dado (ou \"\\\" para o âmbito global). Responde com \"-> nome-região (nome-pai) 'F'\"", "repeater_cliHelpRegionPut": "Adiciona ou atualiza uma definição de região com o nome fornecido.", "repeater_cliHelpRegionRemove": "Remove uma definição de região com o nome fornecido. (deve corresponder exatamente e não ter regiões filhas)", - "repeater_cliHelpRegionAllowf": "Define a permissão de 'F'luido para a região especificada. ('' para o escopo global/legado)", - "repeater_cliHelpRegionDenyf": "Remove a permissão de \"F\"luido para a região especificada. (NOTA: neste momento NÃO é aconselhável usar isso no escopo global/legado!!)", + "repeater_cliHelpRegionAllowf": "Define a permissão de 'F'lood para a região especificada. ('' para o escopo global/legado)", + "repeater_cliHelpRegionDenyf": "Remove a permissão de \"F\"lood para a região especificada. (NOTA: neste momento NÃO é aconselhável usar isso no escopo global/legado!!)", "repeater_cliHelpRegionHome": "Responde com a região 'home' atual. (Observação aplicada em nenhum lugar ainda, reservado para o futuro)", "repeater_cliHelpRegionHomeSet": "Define a região 'casa'.", "repeater_cliHelpRegionSave": "Persiste a lista/mapa de regiões para o armazenamento.", @@ -1534,7 +1534,7 @@ } } }, - "channelPath_noHopDetailsAvailable": "Não estão disponíveis detalhes de voo para este pacote.", + "channelPath_noHopDetailsAvailable": "Não estão disponíveis detalhes de salto para este pacote.", "channelPath_unknownRepeater": "Repetidor Desconhecido", "listFilter_tooltip": "Filtrar e ordenar", "listFilter_sortBy": "Ordenar por", @@ -1791,7 +1791,7 @@ "settings_gpxExportAllContacts": "Todos os locais de contatos", "settings_gpxExportShareText": "Dados do mapa exportados do meshcore-open", "settings_gpxExportShareSubject": "meshcore-open exportação de dados de mapa GPX", - "pathTrace_someHopsNoLocation": "Um ou mais dos lúpulos estão sem localização!", + "pathTrace_someHopsNoLocation": "Um ou mais dos saltos estão sem localização!", "map_runTrace": "Executar Traçado de Caminho", "map_pathTraceCancelled": "Rastreamento de caminho cancelado.", "pathTrace_clearTooltip": "Limpar caminho", @@ -2299,8 +2299,8 @@ "repeater_cliHelpGetAgcResetInterval": "Mostra o intervalo de reinicialização do AGC em segundos.", "repeater_cliHelpGetMultiAcks": "Indica se o modo de confirmação dupla está ativado (1) ou desativado (0).", "repeater_cliHelpGetAllowReadOnly": "Indica se o acesso somente de leitura para os convidados está habilitado.", - "repeater_cliHelpGetAdvertInterval": "Indica o intervalo de publicidade local em minutos.", - "repeater_cliHelpGetFloodAdvertInterval": "Mostra o intervalo de tempo da publicidade relacionada às inundações, em horas.", + "repeater_cliHelpGetAdvertInterval": "Indica o intervalo de anúncio local em minutos.", + "repeater_cliHelpGetFloodAdvertInterval": "Mostra o intervalo do anúncio de inundação, em horas.", "repeater_cliHelpGetGuestPassword": "Mostra a senha de convidado configurada.", "repeater_cliHelpGetLat": "Mostra a latitude configurada.", "repeater_cliHelpGetLon": "Mostra a longitude configurada.", @@ -2329,8 +2329,8 @@ "repeater_cliHelpSensorList": "Lista todas as configurações de sensores personalizadas, organizadas em páginas a partir de um índice de início opcional.", "repeater_cliHelpRegionDefault": "Mostra o escopo de região padrão atual.", "repeater_cliHelpRegionDefaultSet": "Define o escopo regional padrão. Use \"\" para limpar.", - "repeater_cliHelpRegionListAllowed": "Lista as regiões que permitem o tráfego em áreas de risco de inundações.", - "repeater_cliHelpRegionListDenied": "Lista as regiões que restringem o tráfego em áreas de risco de inundações.", + "repeater_cliHelpRegionListAllowed": "Lista as regiões que permitem o tráfego por inundação.", + "repeater_cliHelpRegionListDenied": "Lista as regiões que negam o tráfego por inundação.", "repeater_cliHelpStatsPackets": "(Apenas para séries) Apresenta estatísticas em nível de pacotes.", "repeater_cliHelpStatsRadio": "(Apenas para transmissões em série) Exibe estatísticas de rádio.", "repeater_cliHelpStatsCore": "(Apenas para dispositivos em série) Exibe estatísticas básicas do firmware.", @@ -2492,9 +2492,9 @@ "routing_neverWorked": "nunca confirmado", "routing_floodDelivery": "Entrega em áreas afetadas por inundações", "pathEditor_title": "Criar Caminho", - "pathEditor_hopCounter": "{count} de 64 gramas de lúpulo", - "pathEditor_noHops": "Ainda não há lúpulos adicionados. Clique nos repetidores abaixo para adicioná-los na ordem desejada, ou salve sem adicionar lúpulos para enviar diretamente.", - "pathEditor_addHops": "Adicione os lúpulos na seguinte ordem.", + "pathEditor_hopCounter": "{count} de 64 saltos", + "pathEditor_noHops": "Ainda não há saltos adicionados. Clique nos repetidores abaixo para adicioná-los na ordem desejada, ou salve sem adicionar saltos para enviar diretamente.", + "pathEditor_addHops": "Adicione os saltos na seguinte ordem.", "pathEditor_searchRepeaters": "Encontrar repetidores", "pathEditor_advancedHex": "Avançado: caminho hexadecimal bruto", "pathEditor_hexLabel": "Prefixos hexadecimais", @@ -2504,7 +2504,7 @@ "pathEditor_tooManyHops": "Máximo de 64 saltos", "routing_deliveryCounts": "{successes} delivered, {failures} failed", "pathEditor_usePath": "Utilize este caminho.", - "pathEditor_removeHop": "Remova o lúpulo", + "pathEditor_removeHop": "Remova o salto", "pathEditor_unknownHop": "Repetidor desconhecido", "map_zoomIn": "Ampliar", "map_zoomOut": "Ampliar", @@ -2828,5 +2828,38 @@ "receivedImage_tapToProcess": "Toque para processar", "receivedImage_awaiting": "{bytes} bytes · {packets} {packets, plural, =1{pacote} other{pacotes}}", "imageSend_secondsValue": "{seconds} segundos", - "imageSend_minutesSecondsValue": "{minutes} min {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} min {seconds} s", + "channels_noFreeSlots": "Todos os slots de canal estão em uso", + "chat_longMessageRetryNote": "Mais de 158 bytes: enviado no máximo {count} vezes", + "reaction_report": "Reações com Emoji", + "repeater_bridgeNote": "Disponível apenas em firmware compilado com uma ponte (RS232 ou ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Mostra o número máximo de saltos para os anúncios de inundação.", + "repeater_cliHelpGetFloodMaxUnscoped": "Mostra o número máximo de saltos para pacotes de inundação sem escopo regional.", + "repeater_cliHelpGetRadioFemRxGain": "Mostra se o ganho RX do módulo frontal de LoRa está ativado.", + "repeater_cliHelpGetRadioFemTxGain": "Mostra se o ganho TX do módulo frontal de LoRa está ativado.", + "repeater_cliHelpRegionDef": "Define uma cadeia de regiões em um único comando: cada nome é adicionado sob o anterior; \"name,parent\" adiciona o nome e continua sob o pai indicado. Responde com a lista de regiões.", + "repeater_cliHelpSetFloodMaxAdvert": "Define o número máximo de saltos para encaminhar anúncios de inundação (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Define o número máximo de saltos para encaminhar pacotes de inundação sem escopo regional (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Ativa ou desativa o ganho RX (LNA) do módulo frontal de LoRa. Placas sem esse módulo respondem \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Ativa ou desativa o ganho TX (PA) do módulo frontal de LoRa. Placas sem esse módulo respondem \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Modo de carregamento de regiões: envie um nome de região por linha, indentado com espaços sob sua região pai (adicione F após o nome para permitir inundação). As linhas não recebem resposta. Envie uma linha vazia para terminar e depois \"region save\" para salvar o resultado.", + "repeater_cliRegionLoadEnd": "(fim do carregamento de regiões)", + "repeater_cliRegionLoadHint": "Linha de região, ou vazia para terminar", + "repeater_frequencyInvalid": "Frequência inválida (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Erros de Recepção", + "repeater_txPowerRangeHelper": "-9 a 30 dBm", + "room_postsPushed": "Publicações Enviadas", + "room_postsStored": "Publicações", + "settings_publicKeyCopied": "Chave pública copiada", + "settings_radioSettingsNotApplied": "O rádio não aplicou estas configurações", + "urlImage_enable": "Ativar imagens de URL", + "urlImage_possible": "Possível imagem de URL; ative-a em Configurações.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_ru.arb b/lib/l10n/app_ru.arb index f34a52e5..0915a29b 100644 --- a/lib/l10n/app_ru.arb +++ b/lib/l10n/app_ru.arb @@ -77,8 +77,8 @@ "settings_locationIntervalInvalid": "Интервал должен составлять не менее 60 секунд и не более 86400 секунд.", "settings_latitude": "Широта", "settings_longitude": "Долгота", - "settings_autoZeroHopAdvertOnGpsUpdate": "Авто-объявление без хопов при обновлении GPS", - "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "Когда GPS-местоположение меняется, отправлять объявление без хопов (требуется геопозиция в объявлении).", + "settings_autoZeroHopAdvertOnGpsUpdate": "Авто-анонс без хопов при обновлении GPS", + "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "Когда GPS-местоположение меняется, отправлять анонс без хопов (требуется геопозиция в анонсе).", "settings_privacyMode": "Режим конфиденциальности", "settings_privacyModeSubtitle": "Скрыть имя/позицию в анонсировании", "settings_privacyModeToggle": "Включите режим конфиденциальности, чтобы скрыть свое имя и местоположение в анонсировании.", @@ -149,7 +149,7 @@ "appSettings_languageRu": "Русский", "appSettings_notifications": "Уведомления", "appSettings_enableNotifications": "Включить уведомления", - "appSettings_enableNotificationsSubtitle": "Получать уведомления о сообщениях и оповещениях", + "appSettings_enableNotificationsSubtitle": "Получать уведомления о сообщениях и анонсах", "appSettings_notificationPermissionDenied": "Разрешение на уведомления отклонено", "appSettings_notificationsEnabled": "Уведомления включены", "appSettings_notificationsDisabled": "Уведомления отключены", @@ -215,7 +215,7 @@ "appSettings_appDebugLoggingDisabled": "Журнал отладки приложения отключён", "contacts_title": "Контакты", "contacts_noContacts": "Контактов пока нет", - "contacts_contactsWillAppear": "Контакты появятся, когда устройства начнут рассылать оповещения", + "contacts_contactsWillAppear": "Контакты появятся, когда устройства начнут рассылать анонсы", "contacts_searchContacts": "Поиск контактов...", "contacts_noUnreadContacts": "Нет непрочитанных контактов", "contacts_noContactsFound": "Контакты или группы не найдены", @@ -623,7 +623,7 @@ "repeater_guestAccess": "Гостевой доступ", "repeater_guestAccessSubtitle": "Разрешить гостевой доступ только для чтения", "repeater_privacyMode": "Режим конфиденциальности", - "repeater_privacyModeSubtitle": "Скрывать имя/местоположение в оповещениях", + "repeater_privacyModeSubtitle": "Скрывать имя/местоположение в анонсах", "repeater_advertisementSettings": "Настройки анонсирования", "repeater_localAdvertInterval": "Интервал локальных анонсирований", "repeater_localAdvertIntervalMinutes": "{minutes} минут", @@ -692,9 +692,9 @@ "repeater_cliHelpSetAdvertInterval": "Устанавливает интервал (в минутах) отправки локального (нулевой хоп) анонсирования. Установите 0, чтобы отключить.", "repeater_cliHelpSetFloodAdvertInterval": "Устанавливает интервал (в часах) отправки анонсирований рассылкой. Установите 0, чтобы отключить.", "repeater_cliHelpSetGuestPassword": "Устанавливает/обновляет гостевой пароль. (для репитеров гости могут отправлять запрос «Get Stats»)", - "repeater_cliHelpSetName": "Устанавливает имя в оповещениях.", - "repeater_cliHelpSetLat": "Устанавливает широту для карты в оповещениях. (десятичные градусы)", - "repeater_cliHelpSetLon": "Устанавливает долготу для карты в оповещениях. (десятичные градусы)", + "repeater_cliHelpSetName": "Устанавливает имя анонса.", + "repeater_cliHelpSetLat": "Устанавливает широту для карты анонса. (десятичные градусы)", + "repeater_cliHelpSetLon": "Устанавливает долготу для карты анонса. (десятичные градусы)", "repeater_cliHelpSetRadio": "Устанавливает полностью новые параметры радио и сохраняет их в настройки. Требуется команда «reboot» для применения.", "repeater_cliHelpSetRxDelay": "Устанавливает (экспериментально) базовую задержку (>1 для эффекта) для принятых пакетов на основе качества сигнала. Установите 0, чтобы отключить.", "repeater_cliHelpSetTxDelay": "Устанавливает множитель времени в эфире для пакета в режиме рассылки и применяет случайную задержку перед пересылкой (чтобы уменьшить коллизии).", @@ -711,7 +711,7 @@ "repeater_cliHelpLogStart": "Начинает запись пакетов в файловую систему.", "repeater_cliHelpLogStop": "Останавливает запись пакетов в файловую систему.", "repeater_cliHelpLogErase": "Удаляет журналы пакетов из файловой системы.", - "repeater_cliHelpNeighbors": "Показывает список других репитеров, услышанных через оповещения нулевого хопа. Каждая строка: префикс-id-в-hex:временная-метка:snr×4", + "repeater_cliHelpNeighbors": "Показывает список других репитеров, услышанных через анонсы нулевого хопа. Каждая строка: префикс-id-в-hex:временная-метка:snr×4", "repeater_cliHelpNeighborRemove": "Удаляет первую подходящую запись (по префиксу публичного ключа в hex) из списка соседей.", "repeater_cliHelpRegion": "(только через последовательный порт) Показывает все определённые регионы и текущие права на рассылку.", "repeater_cliHelpRegionLoad": "ПРИМЕЧАНИЕ: это специальная многострочная команда. Каждая следующая строка — имя региона (с отступом пробелами для указания иерархии, минимум один пробел). Завершается пустой строкой.", @@ -925,20 +925,20 @@ "contacts_contactImported": "Контакт был импортирован", "contacts_contactImportFailed": "Контакт не удалось импортировать", "contacts_invalidAdvertFormat": "Недействительные контактные данные", - "contacts_zeroHopAdvert": "Реклама Zero Hop", + "contacts_zeroHopAdvert": "Анонс без хопов", "appSettings_languageUk": "Українська", "appSettings_enableMessageTracing": "Включить трассировку сообщений", "appSettings_enableMessageTracingSubtitle": "Показывать подробные метаданные о маршрутизации и времени для сообщений", - "contacts_floodAdvert": "Рекламный поток", + "contacts_floodAdvert": "Анонс рассылкой", "contacts_clipboardEmpty": "Буфер обмена пуст.", - "contacts_copyAdvertToClipboard": "Копировать рекламу в буфер обмена", + "contacts_copyAdvertToClipboard": "Копировать анонс в буфер обмена", "contacts_ShareContact": "Копировать контакт в буфер обмена", "contacts_zeroHopContactAdvertFailed": "Не удалось отправить контакт.", - "contacts_contactAdvertCopied": "Реклама скопирована в буфер обмена.", - "contacts_contactAdvertCopyFailed": "Копирование рекламы в буфер обмена не удалось.", + "contacts_contactAdvertCopied": "Анонс скопирован в буфер обмена.", + "contacts_contactAdvertCopyFailed": "Копирование анонса в буфер обмена не удалось.", "contacts_addContactFromClipboard": "Добавить контакт из буфера обмена", - "contacts_ShareContactZeroHop": "Поделиться контактом по объявлению", - "contacts_zeroHopContactAdvertSent": "Отправлено сообщение по объявлению.", + "contacts_ShareContactZeroHop": "Поделиться контактом по анонсу", + "contacts_zeroHopContactAdvertSent": "Контакт отправлен анонсом.", "notification_activityTitle": "Активность MeshCore", "notification_messagesCount": "{count} {count, plural, =1{сообщение} few{сообщения} many{сообщений} other{сообщений}}", "notification_channelMessagesCount": "{count} {count, plural, =1{сообщение канала} few{сообщения канала} many{сообщений канала} other{сообщений канала}}", @@ -960,7 +960,7 @@ "settings_gpxExportNoContacts": "Нет контактов для экспорта.", "settings_gpxExportShareText": "Данные карты экспортированы из meshcore-open", "settings_gpxExportShareSubject": "meshcore-open экспорт данных карты GPX", - "pathTrace_someHopsNoLocation": "Одному или нескольким хмелям не указано местоположение!", + "pathTrace_someHopsNoLocation": "У одного или нескольких хопов не указано местоположение!", "map_tapToAdd": "Нажимайте на узлы, чтобы добавить их в путь.", "map_removeLast": "Удалить последний", "map_pathTraceCancelled": "Отмена трассировки пути", @@ -1266,8 +1266,8 @@ "settings_privacySubtitle": "Контролируйте, какую информацию делиться.", "settings_telemetryLocationMode": "Режим местоположения телеметрии", "settings_telemetryEnvironmentMode": "Режим среды телеметрии", - "settings_advertLocation": "Местоположение рекламы", - "settings_advertLocationSubtitle": "Включить местоположение в объявление", + "settings_advertLocation": "Местоположение анонса", + "settings_advertLocationSubtitle": "Включить местоположение в анонс", "settings_allowAll": "Разрешить все", "settings_privacySettingsDescription": "Выберите, какую информацию ваше устройство будет делиться с другими.", "settings_denyAll": "Отклонить все", @@ -1539,14 +1539,14 @@ "repeater_ownerInfo": "Информация о операторе", "repeater_ownerInfoHelper": "Общая метаинформация для этого ретранслятора", "repeater_refreshOwnerInfo": "Обновить информацию о операторе", - "repeater_floodMax": "Максимальное количество прыжков при наводнении", + "repeater_floodMax": "Максимальное количество хопов при рассылке", "repeater_floodMaxHelper": "Максимальное количество пакетов, которые могут быть отправлены в одном потоке (0-64)", "repeater_advancedSettings": "Продвинутый", "repeater_advancedSettingsSubtitle": "Регуляторы для опытных операторов", "repeater_pathHashMode": "Режим хеширования пути", - "repeater_pathHashModeHelper": "Байты, используемые для кодирования идентификатора этого ретранслятора в тегах flood-маршрута/обнаружения циклов. 0 = 1 байт (256 идентификаторов, до 64 переходов), 1 = 2 байта (65 000 идентификаторов, до 32 переходов), 2 = 3 байта (16 миллионов идентификаторов, до 21 перехода). Прошивки до v1.14 всегда использовали 1-байтовые маршруты; v1.14 и новее можно настроить на 2- или 3-байтовые маршруты.", + "repeater_pathHashModeHelper": "Байты, используемые для кодирования идентификатора этого ретранслятора в тегах flood-маршрута/обнаружения циклов. 0 = 1 байт (256 идентификаторов, до 64 хопов), 1 = 2 байта (65 000 идентификаторов, до 32 хопов), 2 = 3 байта (16 миллионов идентификаторов, до 21 хопа). Прошивки до v1.14 всегда использовали 1-байтовые маршруты; v1.14 и новее можно настроить на 2- или 3-байтовые маршруты.", "repeater_txDelay": "Задержка в работе системы Flood TX", - "repeater_txDelayHelper": "Передача с увеличенным интервалом для трафика во время наводнения, в качестве коэффициента, умножающего время передачи пакета (от 0 до 2, по умолчанию 0,5). Более высокое значение означает меньшее количество столкновений, но более медленную передачу.", + "repeater_txDelayHelper": "Задержка повторной передачи для трафика при рассылке (flood), в качестве коэффициента, умножающего время передачи пакета (от 0 до 2, по умолчанию 0,5). Более высокое значение означает меньшее количество столкновений, но более медленную передачу.", "repeater_directTxDelay": "Прямая задержка сигнала TX", "repeater_directTxDelayHelper": "Передача промежуточных данных для прямого (немассового) трафика, в качестве коэффициента, равного времени передачи пакета (от 0 до 2, по умолчанию 0,3).", "repeater_intThresh": "Пороговое значение помех", @@ -1554,10 +1554,10 @@ "repeater_agcResetInterval": "Интервал сброса AGC", "repeater_agcResetIntervalHelper": "Как часто следует сбрасывать автоматическую регулировку усиления радио, чтобы вернуться к нормальному состоянию после заклинивания? Интервал сброса составляет несколько секунд, кратный 4. Отключение периодического сброса осуществляется с помощью параметра 0.", "repeater_actionsTitle": "Действия", - "repeater_sendAdvert": "Отправить объявление о наводнении", - "repeater_sendAdvertSubtitle": "Разместите рекламу о наводнении в эфире по всей сети.", - "repeater_sendAdvertZeroHop": "Опубликуйте рекламу, не требующую промежуточного распространения.", - "repeater_sendAdvertZeroHopSubtitle": "Разместите рекламу, распространяемую одним способом (без использования ретрансляторов).", + "repeater_sendAdvert": "Отправить анонс рассылкой", + "repeater_sendAdvertSubtitle": "Разошлите анонс рассылкой по всей сети.", + "repeater_sendAdvertZeroHop": "Опубликуйте анонс, не требующий промежуточного распространения.", + "repeater_sendAdvertZeroHopSubtitle": "Разместите анонс, распространяемый одним способом (без использования ретрансляторов).", "repeater_clockSync": "Синхронизировать время сейчас", "repeater_clockSyncSubtitle": "Установите время на вашем телефоне, чтобы оно совпадало со временем ретранслятора.", "repeater_actionSucceeded": "{action} succeeded", @@ -1654,7 +1654,7 @@ "repeater_sensors": "Датчики", "repeater_cliHelpPowerOff": "Отключает устройство. (ожидается отсутствие ответа).", "repeater_cliHelpClkReboot": "Сбрасывает часы до известной эпохи и перезапускает устройство.", - "repeater_cliHelpAdvertZeroHop": "Отправляет рекламу, распространяемую только среди ближайших соседей (без промежуточных узлов).", + "repeater_cliHelpAdvertZeroHop": "Отправляет анонс, распространяемый только среди ближайших соседей (без промежуточных узлов).", "repeater_cliHelpStartOta": "Запускает обновление прошивки по воздуху на поддерживаемых устройствах.", "repeater_cliHelpTime": "Устанавливает время устройства в соответствии с заданными секундами от начала эпохи Unix. Время не может сброситься назад.", "repeater_cliHelpBoard": "Отображает информацию о производителе платы / идентификатор аппаратного обеспечения.", @@ -1665,7 +1665,7 @@ "repeater_cliHelpSetDutyCycle": "Устанавливает максимальный допустимый цикл передачи данных в процентах (от 1 до 100). Внутренне корректирует коэффициент времени передачи.", "repeater_cliHelpSetPrvKey": "(Только для серийного использования) Заменяет приватный ключ, идентифицирующий устройство. Требуется перезагрузка для применения. Генерирует новый публичный ключ.", "repeater_cliHelpSetRadioRxGain": "(Только для SX126x) Переключает усиление RX для повышения чувствительности при больших токах потребления.", - "repeater_cliHelpSetOwnerInfo": "Указывает строку с контактной информацией владельца, которая должна быть включена в объявления. Используйте '|' для переносов строк.", + "repeater_cliHelpSetOwnerInfo": "Указывает строку с контактной информацией владельца, которая должна быть включена в анонсы. Используйте '|' для переносов строк.", "repeater_cliHelpSetPathHashMode": "Устанавливает режим хеширования пути. 0 = устаревший, 1 = стандартный, 2 = строгий. Влияет на то, как определяются маршруты.", "repeater_cliHelpSetLoopDetect": "Устанавливает чувствительность обнаружения циклов маршрутизации: \"выключено\", \"минимальная\", \"умеренная\" или \"строгая\".", "repeater_cliHelpSetFreq": "(Только для настройки) Быстро устанавливает только частоту. Требуется перезагрузка. Рекомендуется использовать функцию \"настройка радио\" для полного набора параметров.", @@ -1685,15 +1685,15 @@ "repeater_cliHelpGetAgcResetInterval": "Отображает интервал сброса автоматической регулировки усиления в секундах.", "repeater_cliHelpGetMultiAcks": "Показывает, включен ли режим двойной подтверждения (1) или выключен (0).", "repeater_cliHelpGetAllowReadOnly": "Отображает, разрешен ли доступ для чтения только для гостей.", - "repeater_cliHelpGetAdvertInterval": "Отображает продолжительность рекламного блока в минутах.", - "repeater_cliHelpGetFloodAdvertInterval": "Отображает интервал времени показа рекламного ролика в часах.", + "repeater_cliHelpGetAdvertInterval": "Отображает интервал локального анонсирования в минутах.", + "repeater_cliHelpGetFloodAdvertInterval": "Отображает интервал анонсирования рассылкой (flood) в часах.", "repeater_cliHelpGetGuestPassword": "Отображает установленный пароль для гостя.", "repeater_cliHelpGetLat": "Отображает заданную широту.", "repeater_cliHelpGetLon": "Отображает заданную долготу.", "repeater_cliHelpGetRxDelay": "Отображает базовое значение задержки.", - "repeater_cliHelpGetTxDelay": "Отображает коэффициент задержки при работе в режиме затопления.", + "repeater_cliHelpGetTxDelay": "Отображает коэффициент задержки при работе в режиме рассылки (flood).", "repeater_cliHelpGetDirectTxDelay": "Отображает коэффициент задержки в режиме прямого подключения.", - "repeater_cliHelpGetFloodMax": "Отображает максимальное количество переходов при затоплении.", + "repeater_cliHelpGetFloodMax": "Отображает максимальное количество хопов при рассылке.", "repeater_cliHelpGetOwnerInfo": "Отображает строку с контактной информацией владельца.", "repeater_cliHelpGetPathHashMode": "Отображает режим работы с хэшем пути (0/1/2).", "repeater_cliHelpGetLoopDetect": "Отображает чувствительность к обнаружению циклов.", @@ -1715,8 +1715,8 @@ "repeater_cliHelpSensorList": "Перечисляет все пользовательские настройки датчиков, разбитые на страницы с возможностью указания начального индекса.", "repeater_cliHelpRegionDefault": "Отображает текущий область действия по умолчанию.", "repeater_cliHelpRegionDefaultSet": "Устанавливает значение региона по умолчанию. Используйте \"\", чтобы сбросить значение.", - "repeater_cliHelpRegionListAllowed": "Перечисляет регионы, где разрешено движение транспорта во время наводнений.", - "repeater_cliHelpRegionListDenied": "Перечисляет регионы, где запрещено движение транспорта во время наводнений.", + "repeater_cliHelpRegionListAllowed": "Перечисляет регионы, где разрешена рассылка (flood).", + "repeater_cliHelpRegionListDenied": "Перечисляет регионы, где запрещена рассылка (flood).", "repeater_cliHelpStatsPackets": "(Только для серийной версии) Отображает статистику на уровне пакетов.", "repeater_cliHelpStatsRadio": "(Только для серий) Отображает статистику радио.", "repeater_cliHelpStatsCore": "(Только для серийного оборудования) Отображает основные статистические данные прошивки.", @@ -1772,7 +1772,7 @@ "contacts_searchClose": "Закрыть поиск", "routing_title": "Маршрутизация", "routing_modeAuto": "Авто", - "routing_modeFlood": "Наводнение", + "routing_modeFlood": "Рассылка", "routing_modeManual": "Инструкция", "routing_modeAutoHint": "Автоматически выбирает наиболее известный путь, и если такой путь неизвестен, использует алгоритм поиска пути.", "routing_modeFloodHint": "Передача сигнала через все ретрансляторы. Самый надежный способ, но требует больше времени на передачу.", @@ -1786,18 +1786,18 @@ "routing_knownPaths": "Известные маршруты", "routing_knownPathsHint": "Создайте маршрут для переключения на этот пункт.", "routing_inUse": "В эксплуатации", - "routing_qualityStrong": "Сильный первый скачок", + "routing_qualityStrong": "Сильный первый хоп", "routing_qualityGood": "Хорошее начало", "routing_qualityFair": "Первый хороший урожай", "routing_qualityWorked": "Осуществлено", "routing_qualityFlood": "Узнал из новостей, распространяющихся в интернете.", "routing_qualityUntested": "Непроверенный", "routing_neverWorked": "никогда не было подтверждено", - "routing_floodDelivery": "Доставка при затоплении", + "routing_floodDelivery": "Доставка рассылкой", "pathEditor_title": "Создать маршрут", - "pathEditor_hopCounter": "{count} из 64 хмеля", - "pathEditor_noHops": "На данный момент хмель еще не добавлен. Чтобы добавить его, нажмите на соответствующие кнопки ниже в нужном порядке, или сохраните рецепт без хмеля, чтобы отправить его напрямую.", - "pathEditor_addHops": "Добавляйте хмель в соответствии с указанным порядком.", + "pathEditor_hopCounter": "{count} из 64 хопов", + "pathEditor_noHops": "Пока не добавлено ни одного хопа. Нажимайте на репитеры ниже, чтобы добавлять их по порядку, или сохраните маршрут без хопов, чтобы отправить напрямую.", + "pathEditor_addHops": "Добавляйте хопы по порядку", "pathEditor_searchRepeaters": "Поиск повторителей", "pathEditor_advancedHex": "Продвинутый уровень: прямой путь в шестнадцатеричном формате", "pathEditor_hexLabel": "Префиксы шестнадцатеричной системы", @@ -1807,7 +1807,7 @@ "routing_deliveryCounts": "{successes} delivered, {failures} failed", "pathEditor_tooManyHops": "Максимальное количество ингредиентов – 64", "pathEditor_usePath": "Используйте этот путь", - "pathEditor_removeHop": "Удалить хмель", + "pathEditor_removeHop": "Удалить хоп", "pathEditor_unknownHop": "Неизвестный ретранслятор", "map_zoomIn": "Увеличить масштаб", "map_zoomOut": "Увеличить масштаб", @@ -2131,5 +2131,38 @@ "receivedImage_tapToProcess": "Нажмите для обработки", "receivedImage_awaiting": "{bytes} байт · {packets} {packets, plural, =1{пакет} other{пакетов}}", "imageSend_secondsValue": "{seconds} секунд", - "imageSend_minutesSecondsValue": "{minutes} м {seconds} с" + "imageSend_minutesSecondsValue": "{minutes} м {seconds} с", + "channels_noFreeSlots": "Нет свободных слотов для каналов", + "chat_longMessageRetryNote": "Более 158 байт: отправляется не более {count} раз", + "reaction_report": "Реакции", + "repeater_bridgeNote": "Доступно только на прошивке, собранной с мостом (RS232 или ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Показывает максимальное число хопов для анонсов, рассылаемых по сети (flood).", + "repeater_cliHelpGetFloodMaxUnscoped": "Показывает максимальное число хопов для пакетов рассылки (flood) без региональной области.", + "repeater_cliHelpGetRadioFemRxGain": "Показывает, включено ли усиление RX на входном модуле LoRa.", + "repeater_cliHelpGetRadioFemTxGain": "Показывает, включено ли усиление TX на входном модуле LoRa.", + "repeater_cliHelpRegionDef": "Задаёт цепочку регионов одной командой: каждое имя добавляется под предыдущим; \"name,parent\" добавляет имя и продолжает под указанным родителем. В ответ возвращается список регионов.", + "repeater_cliHelpSetFloodMaxAdvert": "Задаёт максимальное число хопов для пересылки анонсов, рассылаемых по сети (flood) (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Задаёт максимальное число хопов для пересылки пакетов рассылки (flood) без региональной области (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Переключает усиление RX (LNA) входного модуля LoRa. Платы без него отвечают \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Переключает усиление TX (PA) входного модуля LoRa. Платы без него отвечают \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Режим загрузки регионов: отправляйте по одному имени региона на строку, с отступом пробелами под родителем (добавьте F после имени, чтобы разрешить рассылку по сети). Строки не получают ответа. Отправьте пустую строку, чтобы завершить, затем \"region save\", чтобы сохранить результат.", + "repeater_cliRegionLoadEnd": "(конец загрузки регионов)", + "repeater_cliRegionLoadHint": "Строка региона или пусто для завершения", + "repeater_frequencyInvalid": "Недопустимая частота (150-2500 МГц)", + "repeater_frequencyRangeHelper": "150-2500 МГц", + "repeater_recvErrors": "Ошибки приёма", + "repeater_txPowerRangeHelper": "от -9 до 30 dBm", + "room_postsPushed": "Отправлено публикаций", + "room_postsStored": "Публикации", + "settings_publicKeyCopied": "Публичный ключ скопирован", + "settings_radioSettingsNotApplied": "Радиомодуль не применил эти настройки", + "urlImage_enable": "Показывать изображения по URL", + "urlImage_possible": "Возможно изображение по URL; включите это в настройках.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_sk.arb b/lib/l10n/app_sk.arb index 83f4147b..b09dbaad 100644 --- a/lib/l10n/app_sk.arb +++ b/lib/l10n/app_sk.arb @@ -103,16 +103,16 @@ "settings_autoZeroHopAdvertOnGpsUpdate": "Automatický zero-hop inzerát pri aktualizácii GPS", "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "Keď sa GPS poloha zmení, odoslať zero-hop inzerát (vyžaduje polohu v inzeráte).", "settings_privacyMode": "Režim ochrany súkromia", - "settings_privacyModeSubtitle": "Skryť meno/poloha v reklamách", - "settings_privacyModeToggle": "Prepínač súkromného režimu skryje vaše meno a polohu v reklamách.", + "settings_privacyModeSubtitle": "Skryť meno/poloha v inzerátoch", + "settings_privacyModeToggle": "Prepínač súkromného režimu skryje vaše meno a polohu v inzerátoch.", "settings_privacyModeEnabled": "Ochranný režim je povolený.", "settings_privacyModeDisabled": "Ochranný režim je vypnutý", "settings_actions": "Možné akcie", "settings_deleteAllPaths": "Delete All Paths", "settings_deleteAllPathsSubtitle": "Clear all path data from contacts.", - "settings_sendAdvertisement": "Odoslať reklamu", + "settings_sendAdvertisement": "Odoslať inzerát", "settings_sendAdvertisementSubtitle": "Momentálne priezornejšie.", - "settings_advertisementSent": "Reklama odeslaná", + "settings_advertisementSent": "Inzerát odoslaný", "settings_syncTime": "Čas synchronizácie", "settings_syncTimeSubtitle": "Nastaviť hodiny zariadenia na čas telefónu", "settings_timeSynchronized": "Čas synchronizovaný", @@ -193,7 +193,7 @@ "appSettings_messageNotificationsSubtitle": "Zobraziť upozornenie pri prijímaní nových správ", "appSettings_channelMessageNotifications": "Notifikácie z kanálov", "appSettings_channelMessageNotificationsSubtitle": "Zobraziť upozornenie pri prijímaní správ z kanálu", - "appSettings_advertisementNotifications": "Upozornenia na reklamy", + "appSettings_advertisementNotifications": "Upozornenia na inzeráty", "appSettings_advertisementNotificationsSubtitle": "Zobraziť upozornenie, keď sa objavia nové uzly.", "appSettings_messaging": "Správy", "appSettings_clearPathOnMaxRetry": "Vyčisti cestu na Max Retry", @@ -201,7 +201,7 @@ "appSettings_pathsWillBeCleared": "Cesty budú vymazané po 5 neúspešných pokusoch.", "appSettings_pathsWillNotBeCleared": "Cesty sa automaticky nevymazávajú.", "appSettings_autoRouteRotation": "Automatické prechodové trasy", - "appSettings_autoRouteRotationSubtitle": "Striedajte sa medzi najlepšími trasami a režimom povodňovej analýzy.", + "appSettings_autoRouteRotationSubtitle": "Striedajte sa medzi najlepšími trasami a flood režimom.", "appSettings_autoRouteRotationEnabled": "Automatické otáčanie trasy povolené", "appSettings_autoRouteRotationDisabled": "Automatické prekladanie trás pozastavené", "appSettings_battery": "Batéria", @@ -275,7 +275,7 @@ "appSettings_appDebugLoggingDisabled": "Zabudované ladenie aplikácie je vypnuté.", "contacts_title": "Kontakty", "contacts_noContacts": "Zatiaľ žiadne kontakty.", - "contacts_contactsWillAppear": "Kontakty sa zobrazia, keď zariadenia spúšťajú reklamu.", + "contacts_contactsWillAppear": "Kontakty sa zobrazia, keď zariadenia vysielajú inzerát.", "contacts_searchContacts": "Vyhľadávajte kontakty...", "contacts_noUnreadContacts": "Žiadne neprečítané kontakty", "contacts_noContactsFound": "Neboli nájdených žiadnych kontaktov ani skupiny.", @@ -578,7 +578,7 @@ "chat_pathManagement": "Správa ciest", "chat_routingMode": "Režim trasy", "chat_autoUseSavedPath": "Použiť uloženú cestu", - "chat_forceFloodMode": "Zavrieť režim núdzového povodňového režimu", + "chat_forceFloodMode": "Zavrieť núdzový flood režim", "chat_recentAckPaths": "Nedávne cesty ACK (klepni na použitie):", "chat_pathHistoryFull": "História ciest je plná. Odstráňte záznamy, aby ste mohli pridať nové.", "chat_hopSingular": "Skok", @@ -622,7 +622,7 @@ "chat_path": "Cesta", "chat_publicKey": "Verejný kľúč", "chat_compressOutgoingMessages": "Komprimovať odoslané správy", - "chat_floodForced": "Povodňová (nutená)", + "chat_floodForced": "Flood (vynútený)", "chat_directForced": "Priame (donútené)", "chat_hopsForced": "{count} skokov (nutené)", "@chat_hopsForced": { @@ -632,7 +632,7 @@ } } }, - "chat_floodAuto": "Povod (automaticky)", + "chat_floodAuto": "Flood (automaticky)", "chat_direct": "Priamo", "chat_poiShared": "Zdieľané body záujmu", "chat_unread": "Nezriadené: {count}", @@ -900,7 +900,7 @@ "login_routing": "Rútiace", "login_routingMode": "Režim trasy", "login_autoUseSavedPath": "Použiť uloženú cestu", - "login_forceFloodMode": "Zavrieť režim núdzového povodňového režimu", + "login_forceFloodMode": "Zavrieť núdzový flood režim", "login_managePaths": "Spravovať Cesty", "login_login": "Prihlásiť", "login_attempt": "Skúšaj {current}/{max}", @@ -973,7 +973,7 @@ "repeater_statusTitle": "Status opakého zboru", "repeater_routingMode": "Režim trasy", "repeater_autoUseSavedPath": "Použiť uloženú cestu", - "repeater_forceFloodMode": "Zavrieť režim núdzového povodňového režimu", + "repeater_forceFloodMode": "Zavrieť núdzový flood režim", "repeater_pathManagement": "Správa trás", "repeater_refresh": "Obnoviť", "repeater_statusRequestTimeout": "Požiadavka stavu zlyhala.", @@ -1018,7 +1018,7 @@ } } }, - "repeater_packetTxTotal": "Celkem: {total}, Povodňový režim: {flood}, Priamy: {direct}", + "repeater_packetTxTotal": "Celkem: {total}, Flood: {flood}, Priamy: {direct}", "@repeater_packetTxTotal": { "placeholders": { "total": { @@ -1032,7 +1032,7 @@ } } }, - "repeater_packetRxTotal": "Celkem: {total}, Povodňový režim: {flood}, Priamy: {direct}", + "repeater_packetRxTotal": "Celkem: {total}, Flood: {flood}, Priamy: {direct}", "@repeater_packetRxTotal": { "placeholders": { "total": { @@ -1046,7 +1046,7 @@ } } }, - "repeater_duplicatesFloodDirect": "Pond: {flood}, Priamy: {direct}", + "repeater_duplicatesFloodDirect": "Flood: {flood}, Priamy: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1092,9 +1092,9 @@ "repeater_guestAccess": "Prístup pre hostí", "repeater_guestAccessSubtitle": "Umožniť prístup hosta iba na čítanie.", "repeater_privacyMode": "Režim ochrany súkromia", - "repeater_privacyModeSubtitle": "Skryť meno/poloha v reklamách", - "repeater_advertisementSettings": "Nastavenia reklamy", - "repeater_localAdvertInterval": "Lokálna reklamná časová obdoba", + "repeater_privacyModeSubtitle": "Skryť meno/poloha v inzerátoch", + "repeater_advertisementSettings": "Nastavenia inzerátov", + "repeater_localAdvertInterval": "Lokálna inzertná časová obdoba", "repeater_localAdvertIntervalMinutes": "{minutes} minút", "@repeater_localAdvertIntervalMinutes": { "placeholders": { @@ -1103,7 +1103,7 @@ } } }, - "repeater_floodAdvertInterval": "Interval reklamnej povodňovej reklamy", + "repeater_floodAdvertInterval": "Interval flood inzerátu", "repeater_floodAdvertIntervalHours": "{hours} hodín", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1112,7 +1112,7 @@ } } }, - "repeater_encryptedAdvertInterval": "Šifrovaný reklamný interval", + "repeater_encryptedAdvertInterval": "Šifrovaný inzertný interval", "repeater_dangerZone": "Nebezpečná zóna", "repeater_rebootRepeater": "Restart Repetér", "repeater_rebootRepeaterSubtitle": "Resetovať vysielací prístroj", @@ -1168,14 +1168,14 @@ "repeater_ownerInfo": "Informácie o poskytovateľovi", "repeater_ownerInfoHelper": "Veľké dátové informácie pre tento vysielací zdroj", "repeater_refreshOwnerInfo": "Zísť informácie o operátore", - "repeater_floodMax": "Maximálny počet skokov pri povodni", + "repeater_floodMax": "Maximálny počet skokov flood", "repeater_floodMaxHelper": "Maximálny počet paketov, ktoré môžu preletieť cez jeden hop (0-64)", "repeater_advancedSettings": "Pokročilé", "repeater_advancedSettingsSubtitle": "Ovládacie knopy pre skúsených operátorov", "repeater_pathHashMode": "Režim hashovania cesty", "repeater_pathHashModeHelper": "Bajty použité na zakódovanie ID tohto opakovača v tagoch flood trasy/detekcie slučky. 0=1 bajt (256 ID, až 64 skokov), 1=2 bajty (65 000 ID, až 32 skokov), 2=3 bajty (16 miliónov ID, až 21 skokov). Firmvér pred v1.14 vždy používal 1-bajtové trasy; v1.14 a novšie možno nakonfigurovať na 2- alebo 3-bajtové trasy.", "repeater_txDelay": "Zpoždanie v Flood, TX", - "repeater_txDelayHelper": "Nastavenie pre opakované vysielanie pre dopravu počas povodní, ako násobok času, ktorý paket využije (0-2, výchoce hodnota 0,5). Vyššia hodnota znamená menej kolízii, ale pomalšie doručovanie.", + "repeater_txDelayHelper": "Nastavenie pre opakované vysielanie pre flood dopravu, ako násobok času, ktorý paket využije (0-2, výchoce hodnota 0,5). Vyššia hodnota znamená menej kolízii, ale pomalšie doručovanie.", "repeater_directTxDelay": "Priame oneskorenie TX", "repeater_directTxDelayHelper": "Nastavenie pre retransmisiu pre priame (nie pre plnú sieť), ako násobok času prenosu paketov (0-2, výchoce 0,3).", "repeater_intThresh": "Hranica, pri ktorej dochádza k rušeniu", @@ -1183,10 +1183,10 @@ "repeater_agcResetInterval": "Interval reštartu AGC", "repeater_agcResetIntervalHelper": "Ako často by ste mali reštartovať automatické ovládanie zosilnenia, aby ste sa vrátili do normálneho stavu, ak je zosilnenie zablokované? Nastavenie „4.0“ vypne pravidelné reštarty.", "repeater_actionsTitle": "Opatrenia", - "repeater_sendAdvert": "Odoslať inzerát o povodňovej situácii", - "repeater_sendAdvertSubtitle": "Zverejnite reklamu na povodňu prostredníctvom siete.", - "repeater_sendAdvertZeroHop": "Odoslať reklamu bez prenosu", - "repeater_sendAdvertZeroHopSubtitle": "Zverejnite reklamnú správu, ktorá sa prenáša len raz (bez prenosov).", + "repeater_sendAdvert": "Odoslať flood inzerát", + "repeater_sendAdvertSubtitle": "Zverejnite flood inzerát v sieti.", + "repeater_sendAdvertZeroHop": "Odoslať inzerát bez prenosu", + "repeater_sendAdvertZeroHopSubtitle": "Zverejnite inzerát, ktorý sa prenáša len raz (bez prenosov).", "repeater_clockSync": "Synchronizujte hodiny teraz", "repeater_clockSyncSubtitle": "Nastavte čas na vašom telefóne, aby odpovedal na volania z vysielacieho zariadenia.", "repeater_actionSucceeded": "{action} succeeded", @@ -1271,9 +1271,9 @@ "repeater_cliQuickGetTx": "Zísť TX", "repeater_cliQuickNeighbors": "Súsezný", "repeater_cliQuickVersion": "Verzia", - "repeater_cliQuickAdvertise": "Reklama", + "repeater_cliQuickAdvertise": "Inzerát", "repeater_cliQuickClock": "Hodiny", - "repeater_cliHelpAdvert": "Odosiela reklamnú balíček.", + "repeater_cliHelpAdvert": "Odosiela inzertný balíček.", "repeater_cliHelpReboot": "Resetuje zariadenie. (pozor, môže dôjsť k 'Timeoutu', čo je normálne)", "repeater_cliHelpClock": "Zobrazuje aktuálny čas podľa hodiniek zariadenia.", "repeater_cliHelpPassword": "Nastaví nový administrátorský prístupový údaj pre zariadenie.", @@ -1287,15 +1287,15 @@ "repeater_cliHelpSetIntThresh": "Nastavuje hranicu ruživeho ladenia (v dB). Predvolené je 14. Nastavením na 0 sa vypne detekcia ruživeho ladenia kanálu.", "repeater_cliHelpSetAgcResetInterval": "Nastavuje interval na reštartovanie Auto Gain Controlleru. Nastavenie na 0 vypne funkciu.", "repeater_cliHelpSetMultiAcks": "Povolí alebo pozastaví funkciiu \"dvojité potvrdenia\".", - "repeater_cliHelpSetAdvertInterval": "Nastavuje interval časovača v minútach na odošle miestny (bezprostredný) reklamný paket. Nastavenie na 0 vypne funkciu.", - "repeater_cliHelpSetFloodAdvertInterval": "Nastavuje interval časovača v hodinách na odeslanie reklamnej vlne. Nastavenie na 0 vypne.", + "repeater_cliHelpSetAdvertInterval": "Nastavuje interval časovača v minútach na odoslanie miestneho (bezprostredného) inzertného paketu. Nastavenie na 0 vypne funkciu.", + "repeater_cliHelpSetFloodAdvertInterval": "Nastavuje interval časovača v hodinách na odoslanie flood inzerátu. Nastavenie na 0 vypne.", "repeater_cliHelpSetGuestPassword": "Nastavuje/aktualizuje heslo hosťa. (pre opakované pripojenia môžu hosťovské prihlásenia posielať požadanie \"Get Stats\")", - "repeater_cliHelpSetName": "Nastaví názov reklamy.", - "repeater_cliHelpSetLat": "Nastaví geografickú šírku reklamnej mapy. (desatinné stupne)", - "repeater_cliHelpSetLon": "Nastavuje longitudinu reklamnej mapy. (desatinné stupne)", + "repeater_cliHelpSetName": "Nastaví názov inzerátu.", + "repeater_cliHelpSetLat": "Nastaví geografickú šírku mapy inzerátu. (desatinné stupne)", + "repeater_cliHelpSetLon": "Nastavuje longitúdu mapy inzerátu. (desatinné stupne)", "repeater_cliHelpSetRadio": "Nastavuje úplne nové parametre rádia a uloží ich do preferencií. Požaduje príkaz \"reboot\" na aplikáciu.", "repeater_cliHelpSetRxDelay": "Nastavenia (experimentálne) základné (musi byť > 1 pre účel) na aplikáciu mierneho onesenia prijatých paketov, na základe signálu/skóre. Nastavenie na 0 vypne.", - "repeater_cliHelpSetTxDelay": "Nastavuje faktor násobený časom na vzduchu pre paket v režime povodňovej vlny a s náhodným systémom slotov, aby sa oneskorene jeho prenosovanie (s cieľom znížiť pravdepodobnosť kolízii).", + "repeater_cliHelpSetTxDelay": "Nastavuje faktor násobený časom na vzduchu pre paket v režime flood a s náhodným systémom slotov, aby sa oneskorene jeho prenosovanie (s cieľom znížiť pravdepodobnosť kolízii).", "repeater_cliHelpSetDirectTxDelay": "Podobne ako txdelay, ale pre aplikáciu náhodného oneskorenia pri preposlaní paketov v režime priameho prenosu.", "repeater_cliHelpSetBridgeEnabled": "Aktivovať/Zatvárať most.", "repeater_cliHelpSetBridgeDelay": "Nastaviť odklad pred retransmisiou paketov.", @@ -1309,9 +1309,9 @@ "repeater_cliHelpLogStart": "Začína protokolovanie balíkov do systému súborov.", "repeater_cliHelpLogStop": "Zastaví protokolovanie paketov do systémového súboru.", "repeater_cliHelpLogErase": "Odstráni záznamy z balíkov z systému súborov.", - "repeater_cliHelpNeighbors": "Zobrazuje zoznam iných repeaterových uzlov zasielaných cez zero-hop reklamy. Každý riadok je id-prefix-hex:timestamp:snr-times-4", + "repeater_cliHelpNeighbors": "Zobrazuje zoznam iných repeaterových uzlov zasielaných cez zero-hop inzeráty. Každý riadok je id-prefix-hex:timestamp:snr-times-4", "repeater_cliHelpNeighborRemove": "Odstráni prvú zhodujúcu položku (podľa prefixu pubkey (hex)) z zoznamu susedov.", - "repeater_cliHelpRegion": "(len sériál) Zobrazuje všetky definované regióny a aktuálne povolenia pre povodňové situácie.", + "repeater_cliHelpRegion": "(len sériál) Zobrazuje všetky definované regióny a aktuálne povolenia pre flood.", "repeater_cliHelpRegionLoad": "Poznámka: toto je špeciálna multi-príkázová inštancia. Každé nasledujúce príkaza je názov oblasti (zapustený s medzerami na indikáciu hierarchického pomeru, s minimálne jednou medzerou). Ukončené odeslaním prázdnej platnej linky/príkazu.", "repeater_cliHelpRegionGet": "Hľadá región s daným príponou názvu (alebo \"\\\" pre globálny rozsah). Odpovedá \"-> región-název (rodič-název) 'F'\"", "repeater_cliHelpRegionPut": "Pridá alebo aktualizuje definíciu regiónu s daným menom.", @@ -1325,8 +1325,8 @@ "repeater_cliHelpGpsOnOff": "Prepínač stavu GPS napájania.", "repeater_cliHelpGpsSync": "Synchronizuje čas uzla s GPS hodinami.", "repeater_cliHelpGpsSetLoc": "Nastaví polohu uzla na GPS súradnice a uloží preferencie.", - "repeater_cliHelpGpsAdvert": "Poskytuje konfiguráciu reklamy pre uzol:\n- žiadna: nezahrňte polohu do reklám\n- zdieľať: zdieľajte GPS polohu (z SensorManager)\n- nastavenia: zobrazujte polohu uloženú v nastaveniach", - "repeater_cliHelpGpsAdvertSet": "Nastavuje konfiguráciu reklamy na zadané miesto.", + "repeater_cliHelpGpsAdvert": "Poskytuje konfiguráciu inzerátu pre uzol:\n- žiadna: nezahrňte polohu do inzerátov\n- zdieľať: zdieľajte GPS polohu (z SensorManager)\n- nastavenia: zobrazujte polohu uloženú v nastaveniach", + "repeater_cliHelpGpsAdvertSet": "Nastavuje konfiguráciu inzerátu na zadané miesto.", "repeater_commandsListTitle": "Zoznam príkazov", "repeater_commandsListNote": "Poznámka: pre rôzne príkazy \"set ...\" existuje aj príkaz \"get ...\".", "repeater_general": "Obecné", @@ -1483,7 +1483,7 @@ } }, "channelPath_unknownPath": "Neznáme", - "channelPath_floodPath": "Povodňová", + "channelPath_floodPath": "Flood", "channelPath_directPath": "Priamo", "channelPath_observedZeroOf": "0 z {total} skokov", "@channelPath_observedZeroOf": { @@ -1756,8 +1756,8 @@ "appSettings_languageUk": "Ukrajinská", "contacts_contactImportFailed": "Kontakt sa nepodarilo importovať.", "contacts_zeroHopAdvert": "Inzerát Zero Hop", - "contacts_floodAdvert": "Inzerát povodní", - "contacts_copyAdvertToClipboard": "Kopírovať reklamu do schránky", + "contacts_floodAdvert": "Flood inzerát", + "contacts_copyAdvertToClipboard": "Kopírovať inzerát do schránky", "contacts_invalidAdvertFormat": "Neplatné kontaktné údaje", "appSettings_languageRu": "Ruština", "appSettings_enableMessageTracing": "Povoliť sledovanie správ", @@ -1791,7 +1791,7 @@ "settings_gpxExportChat": "Lokácie sprievodcov", "settings_gpxExportShareText": "Mapové údaje exportované z meshcore-open", "settings_gpxExportShareSubject": "meshcore-open export dát GPX mapových údajov", - "pathTrace_someHopsNoLocation": "Jedna alebo viac chmeľov chýba lokalita!", + "pathTrace_someHopsNoLocation": "Jedna alebo viac skokov chýba lokalita!", "pathTrace_clearTooltip": "Zmazať cestu", "map_tapToAdd": "Kliknite na uzly, aby ste ich pridali k ceste.", "map_removeLast": "Odstrániť posledný", @@ -2268,7 +2268,7 @@ "repeater_sensors": "Senzory", "repeater_cliHelpPowerOff": "Vypína zariadenie. (neočakáva sa žiadna odpoveď)", "repeater_cliHelpClkReboot": "Resetuje hodiny na známu epochu a reštartuje zariadenie.", - "repeater_cliHelpAdvertZeroHop": "Rozosiela reklamu, ktorá sa prenáša len medzi susednými zariadeniami (bez prenosu cez iné siete).", + "repeater_cliHelpAdvertZeroHop": "Rozosiela inzerát, ktorý sa prenáša len medzi susednými zariadeniami (bez prenosu cez iné siete).", "repeater_cliHelpStartOta": "Spustí aktualizáciu firmvéru prostredníctvom diaľkového prenosu na podporovaných doskách.", "repeater_cliHelpTime": "Nastavuje časovník zariadenia na zadané sekundy od Unix epochy. Časovník sa nedá otáčať dozadu.", "repeater_cliHelpBoard": "Zobrazuje informácie o výrobcom dosky / identifikátor hardvéru.", @@ -2279,7 +2279,7 @@ "repeater_cliHelpSetDutyCycle": "Nastavuje maximálnu povolenú frekvenciu prenosu ako percento (1-100). Internálne upravuje faktor času prenosu.", "repeater_cliHelpSetPrvKey": "(Používa sa len v sériovej verzii) Nahradí privátny kľúč, ktorý identifikuje zariadenie. Po aplikácii je potrebné zariadenie reštartovať. Generuje nový verejný kľúč.", "repeater_cliHelpSetRadioRxGain": "(iba pre SX126x) Zapína zvýšený zisk prijímania pre zlepšenie citlivosti pri vyššom príkonu.", - "repeater_cliHelpSetOwnerInfo": "Definuje reťazec s informáciami o kontaktnom osobě, ktorý je zahrnutý v reklamách. Používajte '|' pre nové riadky.", + "repeater_cliHelpSetOwnerInfo": "Definuje reťazec s informáciami o kontaktnom osobě, ktorý je zahrnutý v inzerátoch. Používajte '|' pre nové riadky.", "repeater_cliHelpSetPathHashMode": "Nastavuje režim hashovania cesty. 0 = starý režim, 1 = štandardný režim, 2 = striktný režim. Ovplyvňuje, ako sa prekladajú trasy.", "repeater_cliHelpSetLoopDetect": "Nastavuje citlivosť detekcie slučky routovania: vypnutá, minimálna, stredná alebo prísna.", "repeater_cliHelpSetFreq": "(Používa sa len v sériovej verzii) Rýchlo nastavuje len frekvenciu. Je potrebné reštartovať. Pre úplné nastavenie rádia preferujte funkciu \"nastavenie rádia\".", @@ -2299,15 +2299,15 @@ "repeater_cliHelpGetAgcResetInterval": "Zobrazuje interval reštartovania AGC v sekundách.", "repeater_cliHelpGetMultiAcks": "Ukazuje, či je režim dvojité potvrdenie zapnutý (1) alebo vypnutý (0).", "repeater_cliHelpGetAllowReadOnly": "Ukazuje, či je povolená len čítacia funkcia pre hostí.", - "repeater_cliHelpGetAdvertInterval": "Zobrazuje čas trvania miestnej reklamnej pauzy v minútach.", - "repeater_cliHelpGetFloodAdvertInterval": "Zobrazuje časový interval reklamy počas záplavy v hodinách.", + "repeater_cliHelpGetAdvertInterval": "Zobrazuje interval miestneho inzerátu v minútach.", + "repeater_cliHelpGetFloodAdvertInterval": "Zobrazuje časový interval flood inzerátu v hodinách.", "repeater_cliHelpGetGuestPassword": "Zobrazuje nastavené heslo pre hosta.", "repeater_cliHelpGetLat": "Zobrazuje nastavenú šírku.", "repeater_cliHelpGetLon": "Zobrazuje nastavenú dĺžku.", "repeater_cliHelpGetRxDelay": "Zobrazuje základnú hodnotu rxdelay.", - "repeater_cliHelpGetTxDelay": "Ukazuje faktor zpoždenia pre režim povodňovej komunikácie.", + "repeater_cliHelpGetTxDelay": "Ukazuje faktor zpoždenia pre režim flood.", "repeater_cliHelpGetDirectTxDelay": "Zobrazuje faktor zloženia pri priamej modulácii.", - "repeater_cliHelpGetFloodMax": "Zobrazuje maximálny počet opakovaní povodňového stavu.", + "repeater_cliHelpGetFloodMax": "Zobrazuje maximálny počet skokov flood.", "repeater_cliHelpGetOwnerInfo": "Zobrazuje reťazec s kontaktnými údajmi vlastníka.", "repeater_cliHelpGetPathHashMode": "Zobrazuje režim hashovania cesty (0/1/2).", "repeater_cliHelpGetLoopDetect": "Ukazuje citlivosť na detekciu slučiek.", @@ -2329,8 +2329,8 @@ "repeater_cliHelpSensorList": "Zobrazuje všetky nastavenia pre špecifické senzory, zoradené podľa voliteľného indexu začiatku.", "repeater_cliHelpRegionDefault": "Zobrazuje aktuálnu rozsiahku, ktorá je nastavená ako výchozí.", "repeater_cliHelpRegionDefaultSet": "Nastavuje výchoce rozsiahku regiónu. Použite \"\", aby ju vymazal.", - "repeater_cliHelpRegionListAllowed": "Zoznam oblastí, ktoré umožňujú premávku počas povodní.", - "repeater_cliHelpRegionListDenied": "Zoznam oblastí, ktoré zakazujú premávku v dôsledku povodní.", + "repeater_cliHelpRegionListAllowed": "Zoznam oblastí, ktoré umožňujú premávku flood.", + "repeater_cliHelpRegionListDenied": "Zoznam oblastí, ktoré zakazujú premávku flood.", "repeater_cliHelpStatsPackets": "(Len pre sériové záznamy) Zobrazuje štatistiky na úrovni paketov.", "repeater_cliHelpStatsRadio": "(Len pre sériu) Zobrazuje údaje o rádiových staniciach.", "repeater_cliHelpStatsCore": "(Len pre sériové modely) Zobrazuje základné štatistiky firmvéru.", @@ -2469,7 +2469,7 @@ "contacts_searchClose": "Zavrieť vyhľadávanie", "routing_title": "Navigácia", "routing_modeAuto": "Auto", - "routing_modeFlood": "Povodňová vlna", + "routing_modeFlood": "Flood", "routing_modeManual": "Ručná príručka", "routing_modeAutoHint": "Automaticky vyberá najznámejší trasa, a ak žiadna nie je známa, použije náhodnú trasu.", "routing_modeFloodHint": "Prenos prostredníctvom všetkých opakovačov. Najspoľahlivejší spôsob, ale vyžaduje viac času vysielania.", @@ -2487,14 +2487,14 @@ "routing_qualityGood": "Úspešný prvý krok", "routing_qualityFair": "Prvá, spravodlivá fáza", "routing_qualityWorked": "Dosiahnutý úspech", - "routing_qualityFlood": "Zistil som to z informácií, ktoré som získal v dôsledku povodňovej situácie.", + "routing_qualityFlood": "Zistil som to z informácií, ktoré som získal cez flood.", "routing_qualityUntested": "Neotestované", "routing_neverWorked": "nikedy nebolo potvrdené", - "routing_floodDelivery": "Doručenie v prípade povodní", + "routing_floodDelivery": "Doručenie cez flood", "pathEditor_title": "Vytvorenie cesty", - "pathEditor_hopCounter": "{count} z 64 chmelových zŕš", - "pathEditor_noHops": "Zatiaľ žiadne chmel. Kliknite na opakované, aby ste ich pridali postupne, alebo uložte bez chmelu, aby ste ho mohli poslať priamo.", - "pathEditor_addHops": "Pridávajte chmel podľa zadaného poriadku.", + "pathEditor_hopCounter": "{count} z 64 skokov", + "pathEditor_noHops": "Zatiaľ žiadne skoky. Kliknite na opakovače nižšie, aby ste ich pridali postupne, alebo uložte bez skokov, aby ste správu mohli poslať priamo.", + "pathEditor_addHops": "Pridávajte skoky podľa zadaného poriadku.", "pathEditor_searchRepeaters": "Hľadať opakované", "pathEditor_advancedHex": "Pokročilé: pôvodná hexová cesta", "pathEditor_hexLabel": "Prefiksy pre hexadecimálne čísla", @@ -2504,7 +2504,7 @@ "routing_deliveryCounts": "{successes} delivered, {failures} failed", "pathEditor_tooManyHops": "Maximálne 64 krokov", "pathEditor_usePath": "Použite túto cestu", - "pathEditor_removeHop": "Odstráňte chmel", + "pathEditor_removeHop": "Odstráňte skok", "pathEditor_unknownHop": "Neznáme zariadenie na opakované vysielanie", "map_zoomIn": "Zväčšiť", "map_zoomOut": "Zmenť zamer zblízka", @@ -2798,7 +2798,7 @@ "imageSend_radioUnknownBody": "Zkonečte s určým prijemcem, aby sa mohlo výpočet času, ktorý je v prúbežu.", "imageSend_longSendTitle": "Dlouhá transmisia", "imageSend_longSendBody": "Tento dôvod udrží kanál priamo na {duration}.", - "imageSend_floodNote": "Povodný routing: každý repeater v rozsahu zrňa každý paket, takže kanál zostá zajetší dlouше, než tu.", + "imageSend_floodNote": "Flood routing: každý repeater v rozsahu zrňa každý paket, takže kanál zostá zajetší dlouše, než tu.", "imageSend_parityTitle": "Poučný paket pre očudenie", "imageSend_paritySubtitle": "Jedný dodatný paket. Skúsené súhlasy nie sa uznávaú, takže to umožňuje prechovávaču opraviť obraz, pokiaľ sa jedný paket niebyl ztrácený.", "imageSend_send": "Odeslať", @@ -2828,5 +2828,39 @@ "receivedImage_tapToProcess": "Ukliknite, aby sa príjomili", "receivedImage_awaiting": "{bytes} bajtov · {packets} {packets, plural, =1{paket} other{paketov}}", "imageSend_secondsValue": "{seconds} s", - "imageSend_minutesSecondsValue": "{minutes} min {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} min {seconds} s", + "channels_noFreeSlots": "Všetky miesta pre kanály sú obsadené", + "chat_longMessageRetryNote": "Nad 158 bajtov: odoslané najviac {count}-krát", + "reaction_report": "Emoji reakcie", + "repeater_bridgeNote": "Dostupné len vo firmvéri zostavenom s mostom (RS232 alebo ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Zobrazuje maximálny počet skokov pre flood inzeráty.", + "repeater_cliHelpGetFloodMaxUnscoped": "Zobrazuje maximálny počet skokov pre flood pakety bez priradeného regiónu.", + "repeater_cliHelpGetRadioFemRxGain": "Zobrazuje, či je zapnuté RX zosilnenie LoRa front-end modulu.", + "repeater_cliHelpGetRadioFemTxGain": "Zobrazuje, či je zapnuté TX zosilnenie LoRa front-end modulu.", + "repeater_cliHelpRegionDef": "Definuje reťazec regiónov v jednom príkaze: každý názov sa pridá pod predchádzajúci; \"name,parent\" pridá názov a potom pokračuje pod zadaným nadradeným regiónom. Odpovie zoznamom regiónov.", + "repeater_cliHelpSetFloodMaxAdvert": "Nastavuje maximálny počet skokov pri preposielaní flood inzerátov (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Nastavuje maximálny počet skokov pri preposielaní flood paketov bez priradeného regiónu (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Prepína RX zosilnenie (LNA) LoRa front-end modulu. Dosky bez neho odpovedia \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Prepína TX zosilnenie (PA) LoRa front-end modulu. Dosky bez neho odpovedia \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Režim načítania regiónov: pošlite po jednom názve regiónu na riadok, odsadenom medzerami pod jeho nadradeným regiónom (pridaním F za názov povolíte flood). Riadky nedostanú odpoveď. Prázdnym riadkom ukončite a potom príkazom \"region save\" výsledok uložte.", + "repeater_cliRegionLoadEnd": "(koniec načítania regiónov)", + "repeater_cliRegionLoadHint": "Riadok regiónu, alebo prázdny na ukončenie", + "repeater_frequencyInvalid": "Neplatná frekvencia (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Chyby príjmu", + "repeater_txPowerRangeHelper": "-9 až 30 dBm", + "room_postsPushed": "Odoslané príspevky", + "room_postsStored": "Príspevky", + "settings_publicKeyCopied": "Verejný kľúč skopírovaný", + "settings_radioSettingsNotApplied": "Rádio tieto nastavenia neuplatnilo", + "urlImage_enable": "Povoliť obrázky z URL", + "urlImage_possible": "Možný obrázok z URL; povoľte ho v Nastaveniach.", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_sl.arb b/lib/l10n/app_sl.arb index 1c70803f..c22326e3 100644 --- a/lib/l10n/app_sl.arb +++ b/lib/l10n/app_sl.arb @@ -578,7 +578,7 @@ "chat_pathManagement": "Upravljanje poti", "chat_routingMode": "Navodilo za usmerjevalni način", "chat_autoUseSavedPath": "Avto (uporabi shranjeno pot)", - "chat_forceFloodMode": "Nasilje obvezati v način", + "chat_forceFloodMode": "Vsili flood način", "chat_recentAckPaths": "Nedavni poti ACK (tap za uporabo):", "chat_pathHistoryFull": "Zapiske o poti so popolni. Izbriši vnose, da dodaš nove.", "chat_hopSingular": "skok", @@ -622,7 +622,7 @@ "chat_path": "Pot", "chat_publicKey": "Ključ javnega tipa", "chat_compressOutgoingMessages": "Stisnite izhodne sporočila", - "chat_floodForced": "Porolni (nasilje).", + "chat_floodForced": "Flood (vsiljeno)", "chat_directForced": "Nezglašen (nasilje)", "chat_hopsForced": "{count} skoki (nasilje)", "@chat_hopsForced": { @@ -632,7 +632,7 @@ } } }, - "chat_floodAuto": "Preplavljenje (avtomatizirano)", + "chat_floodAuto": "Flood (samodejno)", "chat_direct": "Neposredni", "chat_poiShared": "Deljeno točke MN", "chat_unread": "Nerešeno: {count}", @@ -900,7 +900,7 @@ "login_routing": "Usmerjanje", "login_routingMode": "Navodilo za usmerjevalni način", "login_autoUseSavedPath": "Avto (uporabi shranjeno pot)", - "login_forceFloodMode": "Nasilje obvezati v način", + "login_forceFloodMode": "Vsili flood način", "login_managePaths": "Upravljajte Potniške Proti", "login_login": "Prijava", "login_attempt": "Poskušajo {current}/{max}", @@ -973,7 +973,7 @@ "repeater_statusTitle": "Status ponovitelja", "repeater_routingMode": "Navodilo za usmerjevalni način", "repeater_autoUseSavedPath": "Avto (uporabi shranjeno pot)", - "repeater_forceFloodMode": "Nasilje obvezati v način", + "repeater_forceFloodMode": "Vsili flood način", "repeater_pathManagement": "Upravljanje poti", "repeater_refresh": "Ponovno obnavljati", "repeater_statusRequestTimeout": "Zahtev statusa je iztekla.", @@ -1018,7 +1018,7 @@ } } }, - "repeater_packetTxTotal": "Skupno: {total}, Poplava: {flood}, Neposredno: {direct}", + "repeater_packetTxTotal": "Skupno: {total}, Flood: {flood}, Neposredno: {direct}", "@repeater_packetTxTotal": { "placeholders": { "total": { @@ -1032,7 +1032,7 @@ } } }, - "repeater_packetRxTotal": "Skupno: {total}, Poplava: {flood}, Neposredno: {direct}", + "repeater_packetRxTotal": "Skupno: {total}, Flood: {flood}, Neposredno: {direct}", "@repeater_packetRxTotal": { "placeholders": { "total": { @@ -1046,7 +1046,7 @@ } } }, - "repeater_duplicatesFloodDirect": "Prah: {flood}, Neposredni: {direct}", + "repeater_duplicatesFloodDirect": "Flood: {flood}, Neposredni: {direct}", "@repeater_duplicatesFloodDirect": { "placeholders": { "flood": { @@ -1103,7 +1103,7 @@ } } }, - "repeater_floodAdvertInterval": "Razpon Obvestil o Poplavah", + "repeater_floodAdvertInterval": "Razpon Flood Oglasov", "repeater_floodAdvertIntervalHours": "{hours} ur", "@repeater_floodAdvertIntervalHours": { "placeholders": { @@ -1174,8 +1174,8 @@ "repeater_advancedSettingsSubtitle": "Gumbi za nastavljanje za izkušene uporabnike", "repeater_pathHashMode": "Način ustvarjanja hash-a poti", "repeater_pathHashModeHelper": "Bajti, uporabljeni za kodiranje ID-ja tega repetitorja v oznakah flood poti/zaznavanja zank. 0=1 bajt (256 ID-jev, do 64 skokov), 1=2 bajta (65.000 ID-jev, do 32 skokov), 2=3 bajti (16 milijonov ID-jev, do 21 skokov). Vdelana programska oprema pred v1.14 je vedno uporabljala 1-bajtne poti; v1.14 in novejše je mogoče nastaviti na 2- ali 3-bajtne poti.", - "repeater_txDelay": "Zatemnitevanje zaradi poplav v Texasu", - "repeater_txDelayHelper": "Uporaba intervalov za ponovno pošiljanje v primeru prometa zaradi poplav, kot pomnožnik časovne trajanje paketa (0-2, privzeto 0,5). Veje vrednost = manjše kolizije, vendar počasnejše dostavo.", + "repeater_txDelay": "Flood TX zakasnitev", + "repeater_txDelayHelper": "Uporaba intervalov za ponovno pošiljanje v primeru flood prometa, kot pomnožnik časovne trajanje paketa (0-2, privzeto 0,5). Veje vrednost = manjše kolizije, vendar počasnejše dostavo.", "repeater_directTxDelay": "Neposredni časovno odlašanje", "repeater_directTxDelayHelper": "Razdalja za ponovno pošiljanje za neposredno (neobvezen) promet, kot pomnožnik časovne trajanja paketa (0-2, privzeto 0,3).", "repeater_intThresh": "Meja, pri kateri nastane motnja", @@ -1183,8 +1183,8 @@ "repeater_agcResetInterval": "Interval ponovne kalibracije AGC", "repeater_agcResetIntervalHelper": "Kako pogosto je treba ponovno nastaviti samodejno regulacijo občutljivosti, da se vrnete v normalno stanje? Interval je nastavljen na nekaj sekund, natančno na 4. 0 izklopi periodično ponovno nastavljanje.", "repeater_actionsTitle": "Dejanja", - "repeater_sendAdvert": "Pošlji oglas o poplavah", - "repeater_sendAdvertSubtitle": "Razpustite oglas o poplavah preko omrežja.", + "repeater_sendAdvert": "Pošlji flood oglas", + "repeater_sendAdvertSubtitle": "Razpošlji flood oglas preko omrežja.", "repeater_sendAdvertZeroHop": "Pošlji oglas, ki ne potrebuje posrednika.", "repeater_sendAdvertZeroHopSubtitle": "Premejte oglas, ki uporablja eno povezavo (brez posrednikov).", "repeater_clockSync": "Sinerizirajte uro zdaj", @@ -1283,19 +1283,19 @@ "repeater_cliHelpSetTx": "Nastavi moč LoRa oddajanja v dBm. (za ponovni zagon za uporabo)", "repeater_cliHelpSetRepeat": "Omogoči ali onemogoči vlogo ponovitelja za tono.", "repeater_cliHelpSetAllowReadOnly": "(Osebni strežnik) Če je 'vklopljeno', potem bo dovoljeno prijavo z praznim geslom, vendar ne bo mogoče objaviti v sobo. (samo branje).", - "repeater_cliHelpSetFloodMax": "Nastavi največjo število skokov za vstopne poplave (če je >= maks, paket ni usmerjen)", + "repeater_cliHelpSetFloodMax": "Nastavi največje število skokov za vhodni flood paket (če je >= maks, paket ni posredovan)", "repeater_cliHelpSetIntThresh": "Nastavi Prag Interferencij (v dB). Privzeto je 14. Nastavi na 0 za onemogočitev zaznavanja interferenc kanalov.", "repeater_cliHelpSetAgcResetInterval": "Nastavi časovno razdaljo za ponovni zagon nadzornika Avtomatske uteži. Nastavi na 0 za onemogočanje.", "repeater_cliHelpSetMultiAcks": "Omogoči ali onemogoči funkcijo \"dvojakih potrdil\".", "repeater_cliHelpSetAdvertInterval": "Nastavi časovno obmesto v minutah za pošiljanje lokalnega (brezposrednega) napovednega paketa. Nastavi na 0 za onemogočiti.", - "repeater_cliHelpSetFloodAdvertInterval": "Nastavi časovno obmesto v urah za pošiljanje plovilnega oglasnega paketa. Nastavi na 0 za onemogočanje.", + "repeater_cliHelpSetFloodAdvertInterval": "Nastavi časovno obmesto v urah za pošiljanje flood oglasnega paketa. Nastavi na 0 za onemogočanje.", "repeater_cliHelpSetGuestPassword": "Nastavi/posodobi geslo gosta. (za ponovitve lahko gostov prijavi pošiljajo zahtevo \"Get Stats\")", "repeater_cliHelpSetName": "Nastavi ime oglasnika.", "repeater_cliHelpSetLat": "Nastavi zemljepisno širino oglaševalskega zemljevida (desetdeljne).", "repeater_cliHelpSetLon": "Nastavi zemljevidno širino oglasnika. (desetdelne stopnje)", "repeater_cliHelpSetRadio": "Nastavi popolnoma nove radijske parametre in jih shranjuje v nastavitve. Za uporabo je potrebna \"restart\" ukaz.", "repeater_cliHelpSetRxDelay": "Nastavitve (eksperimentalne) osnova (mora biti > 1 za učinkovanje) za uporabo rahle zakasnitve prejetih paketov, glede na moč signala/rezultat. Nastavite na 0 za onemogočanje.", - "repeater_cliHelpSetTxDelay": "Nastavi faktor, ki se množi s časom delovanja za paket v načinu poplavnega režima in z randomiziranim sistemom slotov, da odvrne njegovo posredovanje. (da se zmanjša verjetnost kolizij)", + "repeater_cliHelpSetTxDelay": "Nastavi faktor, ki se množi s časom delovanja za paket v flood načinu in z randomiziranim sistemom slotov, da odvrne njegovo posredovanje. (da se zmanjša verjetnost kolizij)", "repeater_cliHelpSetDirectTxDelay": "Ima podobno vrednost kot txdelay, vendar jo lahko uporabite za dodajanje naknadnega zamika pri posredovanju paketov v režimu neposredne prevodi.", "repeater_cliHelpSetBridgeEnabled": "Omogoči/Preklopi most.", "repeater_cliHelpSetBridgeDelay": "Nastavi zamik pred ponovnim poslanjem paketov.", @@ -1311,7 +1311,7 @@ "repeater_cliHelpLogErase": "Izbriše pakete zapisov iz datotek sistema.", "repeater_cliHelpNeighbors": "Prikaže seznam drugih ponovnih knopov, do katerih je prišlo preko brezposrednih oglasov. Vsaka vrstica je id-prefix-hex:timestamp:snr-times-4", "repeater_cliHelpNeighborRemove": "Izbriše prvo ustreznu postavko (po predpomnilku pubkey (heks),) iz seznama sosedov.", - "repeater_cliHelpRegion": "(Serija samo) Navaja vse definirane regije in trenutne poplave dovolilnosti.", + "repeater_cliHelpRegion": "(Serija samo) Navaja vse definirane regije in trenutna dovoljenja za flood.", "repeater_cliHelpRegionLoad": "Opomba: to je posebna več ukazna pozivna operacija. Vsak naslednji ukaz je ime regije (z lezijami za prikaz hierarhije, z enim ustvarjenim razmislom). Zaključena s pošiljanjem praznega reda/ukaza.", "repeater_cliHelpRegionGet": "Išče regijo s podanimi imenimi prefiksom (ali \"\\\" za globalni obseg). Odgovori se s \"-> regija-ime (rodič-ime) 'F'\"", "repeater_cliHelpRegionPut": "Dodaja ali posodobi regijsko definicijo s podanim imenom.", @@ -1483,7 +1483,7 @@ } }, "channelPath_unknownPath": "Neznano", - "channelPath_floodPath": "Prebivalstvo", + "channelPath_floodPath": "Flood", "channelPath_directPath": "Neposredni", "channelPath_observedZeroOf": "0 iz {total} skokov", "@channelPath_observedZeroOf": { @@ -1555,7 +1555,7 @@ } } }, - "repeater_neighborsSubtitle": "Pogledati nič sosednjih hopjev.", + "repeater_neighborsSubtitle": "Pogledati nič sosednjih skokov.", "repeater_neighbors": "Sosedi", "neighbors_receivedData": "Prejeto podatke o sosedih", "neighbors_requestTimedOut": "Sosedi zahtevajo izklop po dogovoru.", @@ -1758,8 +1758,8 @@ "appSettings_enableMessageTracingSubtitle": "Prikaži podrobne metapodatke o usmerjanju in časovnem usklajevanju sporočil", "contacts_contactImported": "Kontakt je bil uvožen.", "contacts_contactImportFailed": "Kontakt ni bil uspešno uvožen.", - "contacts_zeroHopAdvert": "Reklama brez posrednikov", - "contacts_floodAdvert": "Poplavna oglás", + "contacts_zeroHopAdvert": "Oglas brez posrednikov", + "contacts_floodAdvert": "Flood oglas", "contacts_invalidAdvertFormat": "Neveljavni kontaktne podatke", "contacts_clipboardEmpty": "Odložišče je prazno.", "contacts_copyAdvertToClipboard": "Kopiraj oglas v odložišče", @@ -1791,7 +1791,7 @@ "settings_gpxExportNoContacts": "Ni stikov za izvoz.", "settings_gpxExportNotAvailable": "Ni podprto na vašem napravi/operacijskem sistemu", "settings_gpxExportShareSubject": "meshcore-open izvoz podatkov GPX karte", - "pathTrace_someHopsNoLocation": "Ena ali več hmelju manjka lokacija!", + "pathTrace_someHopsNoLocation": "Enemu ali več skokom manjka lokacija!", "map_tapToAdd": "Pritisnite na vozlišča, da jih dodate poti.", "map_removeLast": "Odstrani Zadnji", "map_runTrace": "Zaženi sledenje poti", @@ -2298,15 +2298,15 @@ "repeater_cliHelpGetAgcResetInterval": "Prikazuje interval ponovne kalibracije AGC v sekundah.", "repeater_cliHelpGetMultiAcks": "Pokaže, ali je vklopljen način dvojnega potrdila (1) ali je izklopljen (0).", "repeater_cliHelpGetAllowReadOnly": "Pokaže, ali je omogočen le brani dostop za goste.", - "repeater_cliHelpGetAdvertInterval": "Prikazuje časovno obdobje lokalne reklame v minutah.", - "repeater_cliHelpGetFloodAdvertInterval": "Prikaže časovno obdobje, ko se prikazuje oglas o poplavah, v urah.", + "repeater_cliHelpGetAdvertInterval": "Prikazuje časovno obdobje lokalnega oglasa v minutah.", + "repeater_cliHelpGetFloodAdvertInterval": "Prikaže časovno obdobje flood oglasa, v urah.", "repeater_cliHelpGetGuestPassword": "Prikaže nastavljeno geslo za gostitelja.", "repeater_cliHelpGetLat": "Prikaže določeno zemljepisno širino.", "repeater_cliHelpGetLon": "Prikaže določeno merilo dolžine.", "repeater_cliHelpGetRxDelay": "Prikazuje osnovno vrednost RX odlašanja.", - "repeater_cliHelpGetTxDelay": "Prikazuje faktor zamude v načinu delovanja pri plavlju.", + "repeater_cliHelpGetTxDelay": "Prikazuje faktor zamude v flood načinu.", "repeater_cliHelpGetDirectTxDelay": "Prikazuje faktor odlašanja signala v režimu neposredne komunikacije.", - "repeater_cliHelpGetFloodMax": "Prikazuje največjo število, kolikokrat lahko voda doseže najvišjo višino.", + "repeater_cliHelpGetFloodMax": "Prikazuje največje število skokov za flood.", "repeater_cliHelpGetOwnerInfo": "Prikazuje niz z informacijami o lastniku.", "repeater_cliHelpGetPathHashMode": "Prikaže način delovanja z hashjem poti (0/1/2).", "repeater_cliHelpGetLoopDetect": "Prikazuje občutljivost na zaznavanje ciklov.", @@ -2328,8 +2328,8 @@ "repeater_cliHelpSensorList": "Navaja vse nastavitve za uporabniške senzorje, razvrščene po želeni začetni indeksu.", "repeater_cliHelpRegionDefault": "Prikaže trenutno privzeto območje.", "repeater_cliHelpRegionDefaultSet": "Določi privzeto območje. Za izbris uporabite \"\".", - "repeater_cliHelpRegionListAllowed": "Navaja regije, ki dovoljujejo promet v času poplav.", - "repeater_cliHelpRegionListDenied": "Navaja regije, ki preprečujejo promet zaradi poplav.", + "repeater_cliHelpRegionListAllowed": "Navaja regije, ki dovoljujejo flood promet.", + "repeater_cliHelpRegionListDenied": "Navaja regije, ki preprečujejo flood promet.", "repeater_cliHelpStatsPackets": "(Samo za serijske povezave) Prikazuje statistiko na nivoju paketov.", "repeater_cliHelpStatsRadio": "(Samo za serije) Prikazuje statistične podatke o radiju.", "repeater_cliHelpStatsCore": "(Samo za serijske naprave) Prikazuje osnovne statistične podatke.", @@ -2469,7 +2469,7 @@ "contacts_searchClose": "Izklopi iskanje", "routing_title": "Navigacija", "routing_modeAuto": "Avto", - "routing_modeFlood": "Poplavo", + "routing_modeFlood": "Flood", "routing_modeManual": "Navodilo", "routing_modeAutoHint": "Samodejno izbere najbolj poznano pot, in sicer, ko ni na voljo nobena.", "routing_modeFloodHint": "Prenosi preko vseh repetitorjev. Najzanesljivejši način, vendar zahteva več časa.", @@ -2487,15 +2487,15 @@ "routing_qualityGood": "Prva uspešna faza", "routing_qualityFair": "Prva, uspešna faza", "routing_qualityWorked": "Izpolnil", - "routing_qualityFlood": "Slišano preko poplave", + "routing_qualityFlood": "Slišano prek flooda", "routing_qualityUntested": "Ne preizkušen", "routing_lastWorked": "delal/a {when}", "routing_neverWorked": "nikoli ni bilo potrjeno", - "routing_floodDelivery": "Dostava zaradi poplave", + "routing_floodDelivery": "Dostava prek flooda", "pathEditor_title": "Izgradnja poti", - "pathEditor_hopCounter": "{count} od 64 različnih sort hropa", - "pathEditor_noHops": "Še niso dodani hmelji. Za dodajanje hmelja v vrstnem redu kliknite na povezavo spodaj, ali pa shranite brez dodanega hmelja, da ga lahko posredujete neposredno.", - "pathEditor_addHops": "Dodajte suho travo v skladu s postopkom.", + "pathEditor_hopCounter": "{count} od 64 skokov", + "pathEditor_noHops": "Še niso dodani skoki. Za dodajanje skokov v vrstnem redu kliknite na ponovitelje spodaj, ali pa shranite brez dodanih skokov, da ga lahko posredujete neposredno.", + "pathEditor_addHops": "Dodajte skoke v vrstnem redu.", "pathEditor_searchRepeaters": "Iskanje ponovitev", "pathEditor_advancedHex": "Napredno: surovi šestnajstni pot", "pathEditor_hexLabel": "Predfiks za heksadecimalno šifro", @@ -2503,7 +2503,7 @@ "pathEditor_invalidTokens": "Neveljaven: {tokens}", "pathEditor_tooManyHops": "Največ 64 hopov", "pathEditor_usePath": "Uporabite to poto", - "pathEditor_removeHop": "Odstranite hmelj", + "pathEditor_removeHop": "Odstranite skok", "pathEditor_unknownHop": "Neznani ponovitelj", "map_zoomIn": "Povečaj", "routing_deliveryCounts": "{successes} delivered, {failures} failed", @@ -2798,7 +2798,7 @@ "imageSend_radioUnknownBody": "Poučajte se na stroj, da se lahko izračunuje čas v prikazu.", "imageSend_longSendTitle": "Dluga preposlana", "imageSend_longSendBody": "Ovo bo ohranilo kanal prihodno za obliko {duration}.", - "imageSend_floodNote": "Povlatni potok: sve repeaterje v območju pretrasirajo svak paket, pa kanál ostane zanudnejši od tega.", + "imageSend_floodNote": "Flood usmerjanje: vsak ponovitelj v dosegu znova odda vsak paket, zato je kanal zaseden dlje kot to.", "imageSend_parityTitle": "Pobavni paket zdržbe", "imageSend_paritySubtitle": "Jedna dodatna paczka. Grupni izjasi ne izvajajo potvarnosti, pa ta izdelka omogoča preuzimanju ponovno izgleda, če je zgubjen pojedni paket.", "imageSend_send": "Posyłaj", @@ -2828,5 +2828,39 @@ "receivedImage_tapToProcess": "Kliknij za obravnavanje", "receivedImage_awaiting": "{bytes} bajtov · {packets} {packets, plural, =1{paket} other{paketov}}", "imageSend_secondsValue": "{seconds} s", - "imageSend_minutesSecondsValue": "{minutes} m {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} m {seconds} s", + "channels_noFreeSlots": "Vsa mesta za kanale so zasedena", + "chat_longMessageRetryNote": "Nad 158 bajtov: poslano največ {count}-krat", + "reaction_report": "Emoji reakcije", + "repeater_bridgeNote": "Na voljo samo v vdelani programski opremi, zgrajeni z mostom (RS232 ali ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Prikaže največje število skokov za flood oglase.", + "repeater_cliHelpGetFloodMaxUnscoped": "Prikaže največje število skokov za flood pakete brez določenega regijskega obsega.", + "repeater_cliHelpGetRadioFemRxGain": "Prikaže, ali je RX ojačanje LoRa front-end modula vklopljeno.", + "repeater_cliHelpGetRadioFemTxGain": "Prikaže, ali je TX ojačanje LoRa front-end modula vklopljeno.", + "repeater_cliHelpRegionDef": "Definira verigo regij z enim ukazom: vsako ime se doda pod prejšnje; \"name,parent\" doda ime in nato nadaljuje pod navedeno nadrejeno regijo. Odgovori s seznamom regij.", + "repeater_cliHelpSetFloodMaxAdvert": "Nastavi največje število skokov za posredovanje flood oglasov (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Nastavi največje število skokov za posredovanje flood paketov brez določenega regijskega obsega (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Preklopi RX ojačanje (LNA) LoRa front-end modula. Plošče brez njega odgovorijo z \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Preklopi TX ojačanje (PA) LoRa front-end modula. Plošče brez njega odgovorijo z \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Način nalaganja regij: pošljite eno ime regije na vrstico, zamaknjeno s presledki pod nadrejeno regijo (dodajte F za imenom, da dovolite flood). Vrstice ne prejmejo odgovora. Pošljite prazno vrstico za konec, nato pa \"region save\", da shranite rezultat.", + "repeater_cliRegionLoadEnd": "(konec nalaganja regij)", + "repeater_cliRegionLoadHint": "Vrstica regije ali prazna vrstica za konec", + "repeater_frequencyInvalid": "Neveljavna frekvenca (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Napake sprejema", + "repeater_txPowerRangeHelper": "-9 do 30 dBm", + "room_postsPushed": "Poslane objave", + "room_postsStored": "Objave", + "settings_publicKeyCopied": "Javni ključ kopiran", + "settings_radioSettingsNotApplied": "Radio teh nastavitev ni uveljavil", + "urlImage_enable": "Omogoči slike iz URL", + "urlImage_possible": "Mogoča slika iz URL; omogočite jo v Nastavitvah.", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_sv.arb b/lib/l10n/app_sv.arb index 5ae642b4..09b98b84 100644 --- a/lib/l10n/app_sv.arb +++ b/lib/l10n/app_sv.arb @@ -2829,5 +2829,38 @@ "receivedImage_tapToProcess": "Tryck för att bearbeta", "receivedImage_awaiting": "{bytes} byte · {packets} {packets, plural, =1{paket} other{paket}}", "imageSend_secondsValue": "{seconds} sekunder", - "imageSend_minutesSecondsValue": "{minutes} min {seconds} s" + "imageSend_minutesSecondsValue": "{minutes} min {seconds} s", + "channels_noFreeSlots": "Alla kanalplatser är upptagna", + "chat_longMessageRetryNote": "Över 158 byte: skickas högst {count} gånger", + "@chat_longMessageRetryNote": { + "description": "Shown under the DM composer when the message is too long for the firmware's later retry attempts", + "placeholders": { + "count": { + "type": "int" + } + } + }, + "repeater_bridgeNote": "Endast tillgängligt på firmware byggd med en brygga (RS232 eller ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Visar det maximala antalet hopp för flood-annonser.", + "repeater_cliHelpGetFloodMaxUnscoped": "Visar det maximala antalet hopp för flood-paket utan regionscope.", + "repeater_cliHelpGetRadioFemRxGain": "Visar om LoRa-frontändmodulens RX-gain är påslagen.", + "repeater_cliHelpGetRadioFemTxGain": "Visar om LoRa-frontändmodulens TX-gain är påslagen.", + "repeater_cliHelpRegionDef": "Definierar en kedja av regioner i ett kommando: varje namn läggs till under det föregående; \"name,parent\" lägger till namnet och fortsätter sedan under den angivna föräldern. Svarar med regionlistan.", + "repeater_cliHelpSetFloodMaxAdvert": "Anger det maximala antalet hopp för vidarebefordran av flood-annonser (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Anger det maximala antalet hopp för vidarebefordran av flood-paket utan regionscope (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Växlar LoRa-frontändmodulens RX-gain (LNA). Kort utan denna modul svarar \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Växlar LoRa-frontändmodulens TX-gain (PA). Kort utan denna modul svarar \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Regionladdningsläge: skicka ett regionnamn per rad, indraget med blanksteg under sin förälder (lägg till F efter namnet för att tillåta flood). Rader får inget svar. Skicka en tom rad för att avsluta, och sedan \"region save\" för att spara resultatet.", + "repeater_cliRegionLoadEnd": "(slut på regionladdning)", + "repeater_cliRegionLoadHint": "Regionrad, eller tom för att avsluta", + "repeater_frequencyInvalid": "Ogiltig frekvens (150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "Mottagningsfel", + "repeater_txPowerRangeHelper": "-9 till 30 dBm", + "room_postsPushed": "Skickade inlägg", + "room_postsStored": "Inlägg", + "settings_publicKeyCopied": "Publik nyckel kopierad", + "settings_radioSettingsNotApplied": "Radion tillämpade inte dessa inställningar", + "urlImage_enable": "Aktivera URL-bilder", + "urlImage_possible": "Möjlig URL-bild; aktivera den i Inställningar." } diff --git a/lib/l10n/app_uk.arb b/lib/l10n/app_uk.arb index 2e5e3de2..5ffaf809 100644 --- a/lib/l10n/app_uk.arb +++ b/lib/l10n/app_uk.arb @@ -1178,14 +1178,14 @@ "repeater_ownerInfo": "Інформація про оператора", "repeater_ownerInfoHelper": "Публічні метадані для цього ретранслятора", "repeater_refreshOwnerInfo": "Оновити інформацію про оператора", - "repeater_floodMax": "Максимальна кількість стрибків під час повені", + "repeater_floodMax": "Максимальна кількість переходів під час поширення через всю мережу (flood)", "repeater_floodMaxHelper": "Максимальна кількість хмелю, яку може містити один пакет (0-64)", "repeater_advancedSettings": "Просунутий", "repeater_advancedSettingsSubtitle": "Регулювальні ручки для досвідчених операторів", "repeater_pathHashMode": "Режим хешування шляху", "repeater_pathHashModeHelper": "Байти, що використовуються для кодування ідентифікатора цього ретранслятора в тегах flood-шляху/виявлення петель. 0=1 байт (256 ідентифікаторів, до 64 переходів), 1=2 байти (65 000 ідентифікаторів, до 32 переходів), 2=3 байти (16 мільйонів ідентифікаторів, до 21 переходу). Прошивки до v1.14 завжди використовували 1-байтові шляхи; v1.14 і новіші можна налаштувати на 2- або 3-байтові шляхи.", "repeater_txDelay": "Затримка у Flood, штат Техас", - "repeater_txDelayHelper": "Повторне надсилання з урахуванням навантаження від потоків транспорту, як множник від часу передачі пакета (0-2, за замовчуванням 0,5). Чим вище значення, тим менше конфліктів, але повільніше передавання.", + "repeater_txDelayHelper": "Затримка повторного надсилання для трафіку через всю мережу (flood), як множник від часу передачі пакета (0-2, за замовчуванням 0,5). Чим вище значення, тим менше конфліктів, але повільніше передавання.", "repeater_directTxDelay": "Пряме затримка TX", "repeater_directTxDelayHelper": "Відновлення інтервалів для прямого (немасового) трафіку, як множник часу передачі пакета (від 0 до 2, за замовчуванням 0,3).", "repeater_intThresh": "Порогове значення перешкод", @@ -1193,10 +1193,10 @@ "repeater_agcResetInterval": "Інтервал перезавантаження AGC", "repeater_agcResetIntervalHelper": "Як часто потрібно скидати автоматичне регулювання гучності радіо, щоб відновити нормальну роботу після ситуації, коли гучність була заблокована. Кожні кілька секунд, зменшуючи значення до кратного 4. Вимкнення періодичного скидання.", "repeater_actionsTitle": "Дії", - "repeater_sendAdvert": "Надіслати рекламу щодо повені", - "repeater_sendAdvertSubtitle": "Розповсюдити рекламу про надзвичайну ситуацію (повен) через мережу.", - "repeater_sendAdvertZeroHop": "Надіслати рекламу без посередників", - "repeater_sendAdvertZeroHopSubtitle": "Розповсюдити рекламу з однією переадресацією (без повторного розповсюдження)", + "repeater_sendAdvert": "Надіслати оголошення через всю мережу (flood)", + "repeater_sendAdvertSubtitle": "Розповсюдити оголошення через всю мережу (flood).", + "repeater_sendAdvertZeroHop": "Надіслати оголошення без ретрансляції", + "repeater_sendAdvertZeroHopSubtitle": "Розповсюдити оголошення лише на один перехід (без ретрансляторів)", "repeater_clockSync": "Синхронізувати годинник зараз", "repeater_clockSyncSubtitle": "Передайте час вашого телефону на ретранслятор.", "repeater_actionSucceeded": "{action} succeeded", @@ -1767,7 +1767,7 @@ "contacts_contactImported": "Контакт було імпортовано.", "contacts_contactImportFailed": "Контакт не вдалось імпортувати", "contacts_zeroHopAdvert": "Оголошення без ретрансляції", - "contacts_floodAdvert": "Оголошення з ретрансляцією", + "contacts_floodAdvert": "Оголошення через всю мережу (flood)", "contacts_copyAdvertToClipboard": "Копіювати оголошення", "contacts_clipboardEmpty": "Буфер обміну порожній", "appSettings_languageRu": "Російська", @@ -2277,7 +2277,7 @@ "repeater_sensors": "Датчики", "repeater_cliHelpPowerOff": "Вмикає живлення пристрою. (очікується відсутність відповіді)", "repeater_cliHelpClkReboot": "Скидає годинник до відомої епохи та перезавантажує пристрій.", - "repeater_cliHelpAdvertZeroHop": "Надсилає рекламу, яка не проходить через інші мережі (лише до безпосередніх сусідів).", + "repeater_cliHelpAdvertZeroHop": "Надсилає оголошення, яке не проходить через інші мережі (лише до безпосередніх сусідів).", "repeater_cliHelpStartOta": "Запускає оновлення прошивки безпосередньо через повітря на сумісних платах.", "repeater_cliHelpTime": "Встановлює час пристрою відповідно до заданих секунд від початку епохи Unix. Час не може відкачуватися назад.", "repeater_cliHelpBoard": "Показує виробника/ідентифікатор обладнання.", @@ -2308,15 +2308,15 @@ "repeater_cliHelpGetAgcResetInterval": "Показує інтервал перезавантаження AGC у секундах.", "repeater_cliHelpGetMultiAcks": "Показує, чи увімкнено режим подвійного підтвердження (1) або вимкнено (0).", "repeater_cliHelpGetAllowReadOnly": "Показує, чи дозволено лише читання для гостей.", - "repeater_cliHelpGetAdvertInterval": "Показує тривалість місцевої рекламної паузи в хвилинах.", - "repeater_cliHelpGetFloodAdvertInterval": "Показує інтервал часу між рекламними роликами про повені, виражений у годинах.", + "repeater_cliHelpGetAdvertInterval": "Показує тривалість інтервалу локальних оголошень у хвилинах.", + "repeater_cliHelpGetFloodAdvertInterval": "Показує інтервал оголошень через всю мережу (flood), виражений у годинах.", "repeater_cliHelpGetGuestPassword": "Відображає налаштований пароль для гостей.", "repeater_cliHelpGetLat": "Відображає задану широту.", "repeater_cliHelpGetLon": "Відображає задану довготу.", "repeater_cliHelpGetRxDelay": "Відображає базове значення rxdelay.", - "repeater_cliHelpGetTxDelay": "Показує коефіцієнт затримки сигналу у режимі затоплення.", + "repeater_cliHelpGetTxDelay": "Показує коефіцієнт затримки сигналу в режимі «через всю мережу» (flood).", "repeater_cliHelpGetDirectTxDelay": "Показує коефіцієнт затримки сигналу в режимі прямого зв'язку.", - "repeater_cliHelpGetFloodMax": "Показує максимальну кількість підйомів, спричинених повенем.", + "repeater_cliHelpGetFloodMax": "Показує максимальну кількість переходів під час пересилання через всю мережу (flood).", "repeater_cliHelpGetOwnerInfo": "Відображає рядок з контактною інформацією власника.", "repeater_cliHelpGetPathHashMode": "Відображає режим хешування шляху (0/1/2).", "repeater_cliHelpGetLoopDetect": "Демонструє чутливість до виявлення циклів.", @@ -2338,8 +2338,8 @@ "repeater_cliHelpSensorList": "Перераховує всі налаштування користувацьких датчиків, розділені на сторінки, починаючи з опціонального індексу початку.", "repeater_cliHelpRegionDefault": "Показує поточний область дії за замовчуванням.", "repeater_cliHelpRegionDefaultSet": "Встановлює значення регіону за замовчуванням. Використовуйте \"\", щоб очистити.", - "repeater_cliHelpRegionListAllowed": "Перелік регіонів, де дозволено рух транспорту під час повені.", - "repeater_cliHelpRegionListDenied": "Перелік регіонів, які забороняють рух транспорту під час повені.", + "repeater_cliHelpRegionListAllowed": "Перелік регіонів, де дозволено поширення через всю мережу (flood).", + "repeater_cliHelpRegionListDenied": "Перелік регіонів, де заборонено поширення через всю мережу (flood).", "repeater_cliHelpStatsPackets": "(Тільки для серійного використання) Відображає статистику на рівні пакетів.", "repeater_cliHelpStatsRadio": "(Тільки для серій) Відображає радіостатистику.", "repeater_cliHelpStatsCore": "(Тільки для серійного використання) Відображає основні статистичні дані про програмне забезпечення.", @@ -2449,9 +2449,9 @@ "contacts_searchClose": "Закрити пошук", "routing_title": "Маршрутизація", "routing_modeAuto": "Автомобіль", - "routing_modeFlood": "Повені", + "routing_modeFlood": "Через всю мережу", "routing_modeManual": "Інструкція", - "routing_modeAutoHint": "Автоматично обирає найкращий відомий шлях, та у разі відсутності відомого шляху, використовує алгоритм \"занурення\".", + "routing_modeAutoHint": "Автоматично обирає найкращий відомий шлях, а за відсутності відомого шляху використовує режим «через всю мережу» (flood).", "routing_modeFloodHint": "Передавання через усі ретранслятори. Найбільш надійний спосіб, але потребує більше часу.", "routing_modeManualHint": "Завжди доставляє точно за вказаним вами маршрутом.", "routing_currentRoute": "Поточний маршрут", @@ -2463,18 +2463,18 @@ "routing_knownPaths": "Відомі маршрути", "routing_knownPathsHint": "Виберіть опцію, щоб переключитися на неї.", "routing_inUse": "У робочому стані", - "routing_qualityStrong": "Сильний перший стрибок", + "routing_qualityStrong": "Сильний перший перехід", "routing_qualityGood": "Чудова перша спроба", "routing_qualityFair": "Перший, але вдалий, крок", "routing_qualityWorked": "Доставлено", - "routing_qualityFlood": "Дізнався через новини", + "routing_qualityFlood": "Отримано через всю мережу (flood)", "routing_qualityUntested": "Не протестовано", "routing_neverWorked": "ніколи не підтверджено", - "routing_floodDelivery": "Доставка під час повені", + "routing_floodDelivery": "Доставка через всю мережу (flood)", "pathEditor_title": "Створити маршрут", "pathEditor_hopCounter": "{count} з 64 штук хмелю", - "pathEditor_noHops": "Ще не додано хміль. Натисніть на відповідні кнопки, щоб додати його в потрібному порядку, або збережіть рецепт без хмілю, щоб відправити його безпосередньо.", - "pathEditor_addHops": "Додавайте хміль у наступній послідовності.", + "pathEditor_noHops": "Ще не додано жодного переходу. Натисніть на відповідні кнопки нижче, щоб додати їх у потрібному порядку, або збережіть шлях без переходів, щоб надіслати напряму.", + "pathEditor_addHops": "Додавайте переходи в потрібному порядку.", "pathEditor_searchRepeaters": "Пошук повторювачів", "pathEditor_advancedHex": "Просунутий рівень: пряма шлях у форматі шестнадцяткової системи.", "pathEditor_hexLabel": "Префікси для шестнадцяткової системи числення", @@ -2484,7 +2484,7 @@ "routing_deliveryCounts": "{successes} delivered, {failures} failed", "pathEditor_tooManyHops": "Максимум 64 хмелеві колоди", "pathEditor_usePath": "Використовуйте цей шлях", - "pathEditor_removeHop": "Видалити хміль", + "pathEditor_removeHop": "Видалити перехід", "pathEditor_unknownHop": "Невідомий ретранслятор", "map_zoomIn": "Увійти в режим збільшення", "map_zoomOut": "Видалити зум", @@ -2778,7 +2778,7 @@ "imageSend_radioUnknownBody": "Залучіться до пристрою, щоб можна було розрахунювати час в етері.", "imageSend_longSendTitle": "Длуга передача", "imageSend_longSendBody": "Це забезпечить канал на approximativno {duration} хвилин.", - "imageSend_floodNote": "Рухування потоків: кожен ретрансатор у діапазоні відправлює кожен пакет, тому канал залишається занятшим довше, ніж це.", + "imageSend_floodNote": "Поширення через всю мережу (flood): кожен ретранслятор у діапазоні пересилає кожен пакет, тому канал залишається зайнятим довше, ніж зазначено тут.", "imageSend_parityTitle": "Пакет відновлення", "imageSend_paritySubtitle": "Один дополний пакет. Групові посилання не відповідають, тому це дозволяє відвідувачу відтворити зображення, якщо один пакет втрачений.", "imageSend_send": "Пошутить", @@ -2808,5 +2808,38 @@ "receivedImage_tapToProcess": "Кликніть для обробки", "receivedImage_awaiting": "{bytes} байтів · {packets} {packets, plural, =1{пакет} other{пакетів}}", "imageSend_secondsValue": "{seconds} секунди", - "imageSend_minutesSecondsValue": "{minutes} хв {seconds} с" + "imageSend_minutesSecondsValue": "{minutes} хв {seconds} с", + "channels_noFreeSlots": "Немає вільних слотів для каналів", + "chat_longMessageRetryNote": "Понад 158 байтів: надсилається не більше {count} разів", + "reaction_report": "Реакції", + "repeater_bridgeNote": "Доступно лише для прошивки, зібраної з мостом (RS232 або ESP-NOW).", + "repeater_cliHelpGetFloodMaxAdvert": "Показує максимальну кількість переходів для оголошень через всю мережу (flood).", + "repeater_cliHelpGetFloodMaxUnscoped": "Показує максимальну кількість переходів для пакетів через всю мережу (flood) без визначеної області.", + "repeater_cliHelpGetRadioFemRxGain": "Показує, чи увімкнено підсилення RX вхідного модуля LoRa.", + "repeater_cliHelpGetRadioFemTxGain": "Показує, чи увімкнено підсилення TX вхідного модуля LoRa.", + "repeater_cliHelpRegionDef": "Визначає ланцюжок регіонів однією командою: кожне ім’я додається під попереднім; \"name,parent\" додає ім’я і продовжує під вказаним батьківським регіоном. У відповідь повертає список регіонів.", + "repeater_cliHelpSetFloodMaxAdvert": "Встановлює максимальну кількість переходів для пересилання оголошень через всю мережу (flood) (0-64).", + "repeater_cliHelpSetFloodMaxUnscoped": "Встановлює максимальну кількість переходів для пересилання пакетів через всю мережу (flood) без визначеної області регіону (0-64).", + "repeater_cliHelpSetRadioFemRxGain": "Перемикає підсилення RX (LNA) вхідного модуля LoRa. Плати без нього відповідають \"Error: unsupported\".", + "repeater_cliHelpSetRadioFemTxGain": "Перемикає підсилення TX (PA) вхідного модуля LoRa. Плати без нього відповідають \"Error: unsupported\".", + "repeater_cliRegionLoadActive": "Режим завантаження регіонів: надсилайте по одному імені регіону в рядку, з відступом пробілами під батьківським регіоном (додайте F після імені, щоб дозволити поширення через всю мережу). Рядки не отримують відповіді. Надішліть порожній рядок, щоб завершити, а потім \"region save\", щоб зберегти результат.", + "repeater_cliRegionLoadEnd": "(кінець завантаження регіонів)", + "repeater_cliRegionLoadHint": "Рядок регіону або порожній рядок для завершення", + "repeater_frequencyInvalid": "Некоректна частота (150-2500 МГц)", + "repeater_frequencyRangeHelper": "150-2500 МГц", + "repeater_recvErrors": "Помилки прийому", + "repeater_txPowerRangeHelper": "від -9 до 30 dBm", + "room_postsPushed": "Надіслано публікацій", + "room_postsStored": "Публікації", + "settings_publicKeyCopied": "Публічний ключ скопійовано", + "settings_radioSettingsNotApplied": "Радіомодуль не застосував ці налаштування", + "urlImage_enable": "Показувати зображення за URL", + "urlImage_possible": "Можливе зображення за URL; увімкніть це в Налаштуваннях.", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index 56989f27..64b8aa68 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -105,11 +105,11 @@ "settings_locationIntervalInvalid": "间隔时间必须至少为 60 秒,但不超过 86400 秒。", "settings_latitude": "纬度", "settings_longitude": "经度", - "settings_autoZeroHopAdvertOnGpsUpdate": "GPS 更新时自动发送零跳广告", - "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "当 GPS 位置变化时,发送零跳广告(需要在广告中包含位置)。", + "settings_autoZeroHopAdvertOnGpsUpdate": "GPS 更新时自动发送零跳广播", + "settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "当 GPS 位置变化时,发送零跳广播(需要在广播中包含位置)。", "settings_privacyMode": "隐私模式", - "settings_privacyModeSubtitle": "在广告中隐藏姓名/位置", - "settings_privacyModeToggle": "切换隐私模式以在广告中隐藏姓名和位置,保护个人信息。", + "settings_privacyModeSubtitle": "在广播中隐藏姓名/位置", + "settings_privacyModeToggle": "切换隐私模式以在广播中隐藏姓名和位置,保护个人信息。", "settings_privacyModeEnabled": "隐私模式已启用", "settings_privacyModeDisabled": "隐私模式已关闭", "settings_actions": "操作", @@ -1180,7 +1180,7 @@ "repeater_refreshMultiAcks": "刷新多个确认", "repeater_networkHealth": "网络健康", "repeater_loopDetect": "循环检测", - "repeater_loopDetectHelper": "创建看起来像路由环的“洪水包”", + "repeater_loopDetectHelper": "创建看起来像路由环的“泛洪包”", "repeater_loopDetectOff": "离开", "repeater_loopDetectMinimal": "最少", "repeater_loopDetectModerate": "适度的", @@ -1198,14 +1198,14 @@ "repeater_ownerInfo": "运营商信息", "repeater_ownerInfoHelper": "此复播器的公共元数据", "repeater_refreshOwnerInfo": "刷新操作员信息", - "repeater_floodMax": "最大跳跃次数", - "repeater_floodMaxHelper": "一个洪水包中,最大可以传输的跳数 (0-64)", + "repeater_floodMax": "最大跳数", + "repeater_floodMaxHelper": "一个泛洪包中,最大可以传输的跳数 (0-64)", "repeater_advancedSettings": "高级", "repeater_advancedSettingsSubtitle": "高级操作员使用的调节旋钮", "repeater_pathHashMode": "路径哈希模式", "repeater_pathHashModeHelper": "用于在洪泛路径/环路检测标签中编码此中继器 ID 的字节数。0=1 字节(256 个 ID,最多 64 跳),1=2 字节(65K 个 ID,最多 32 跳),2=3 字节(16M 个 ID,最多 21 跳)。v1.14 之前的固件始终使用 1 字节路径;v1.14 及更新版本可配置为 2 或 3 字节路径。", - "repeater_txDelay": "洪水(德克萨斯州)延误", - "repeater_txDelayHelper": "对于洪水流量,重新传输间隔应设置为包的传输时间(0-2,默认值为0.5)的倍数。 较高的值意味着更少的冲突,但传输速度会变慢。", + "repeater_txDelay": "泛洪 TX 延迟", + "repeater_txDelayHelper": "对于泛洪流量,重新传输间隔应设置为包的传输时间(0-2,默认值为0.5)的倍数。 较高的值意味着更少的冲突,但传输速度会变慢。", "repeater_directTxDelay": "直接的 TX 延迟", "repeater_directTxDelayHelper": "对于直接(非广播)流量,重新传输间隔应设置为包的传输时间(0-2,默认值为0.3)的倍数。", "repeater_intThresh": "干扰阈值", @@ -1213,10 +1213,10 @@ "repeater_agcResetInterval": "AGC 恢复间隔", "repeater_agcResetIntervalHelper": "为了从失控的增益状态中恢复,应该多久重置收音机的自动增益控制?设置为“秒”,每次重置间隔为4秒。将此选项设置为“0”将禁用周期性重置。", "repeater_actionsTitle": "行动", - "repeater_sendAdvert": "发布防洪广告", - "repeater_sendAdvertSubtitle": "通过网络播放防洪广告", - "repeater_sendAdvertZeroHop": "发送零跳广告", - "repeater_sendAdvertZeroHopSubtitle": "进行单跳广告广播(不使用中继)", + "repeater_sendAdvert": "发送泛洪广播", + "repeater_sendAdvertSubtitle": "向整个网络发送泛洪广播", + "repeater_sendAdvertZeroHop": "发送零跳广播", + "repeater_sendAdvertZeroHopSubtitle": "发送单跳广播(不使用中继)", "repeater_clockSync": "现在同步时钟", "repeater_clockSyncSubtitle": "将手机的时间设置为与中继器同步", "repeater_actionSucceeded": "{action} 成功", @@ -2102,8 +2102,8 @@ "settings_privacySettingsDescription": "选择您的设备与他人共享的信息。", "settings_telemetryBaseMode": "遥测基础模式", "settings_telemetryLocationMode": "遥测位置模式", - "settings_advertLocation": "广告位置", - "settings_advertLocationSubtitle": "在广告中包含位置", + "settings_advertLocation": "广播位置", + "settings_advertLocationSubtitle": "在广播中包含位置", "settings_allowByContact": "按联系人标志允许", "settings_denyAll": "拒绝所有", "settings_privacy": "隐私设置", @@ -2273,7 +2273,7 @@ "repeater_sensors": "传感器", "repeater_cliHelpPowerOff": "关闭设备。(不应有任何响应)", "repeater_cliHelpClkReboot": "将时钟重置为已知的时间点,并重启设备。", - "repeater_cliHelpAdvertZeroHop": "发送无中继广告(仅限于邻居)。", + "repeater_cliHelpAdvertZeroHop": "发送无中继广播(仅限于邻居)。", "repeater_cliHelpStartOta": "在支持的板上启动通过空中进行固件更新。", "repeater_cliHelpTime": "将设备时钟设置为给定的 Unix 纪元秒。时钟不能倒退。", "repeater_cliHelpBoard": "显示制造商/硬件标识。", @@ -2284,7 +2284,7 @@ "repeater_cliHelpSetDutyCycle": "设定允许的最大传输时段百分比(1-100)。内部调整空闲时间因子。", "repeater_cliHelpSetPrvKey": "(仅适用于序列号)替换设备身份私钥。需要重启才能应用。生成一个新的公钥。", "repeater_cliHelpSetRadioRxGain": "(仅适用于 SX126x 芯片) 启用增强型 RX 增益,以在较高电流下提高灵敏度。", - "repeater_cliHelpSetOwnerInfo": "设置广告中包含的联系人信息字符串。使用 '|' 作为换行符。", + "repeater_cliHelpSetOwnerInfo": "设置广播中包含的联系人信息字符串。使用 '|' 作为换行符。", "repeater_cliHelpSetPathHashMode": "设置路径哈希模式。 0 = 传统模式,1 = 标准模式,2 = 严格模式。 影响路由路径的匹配方式。", "repeater_cliHelpSetLoopDetect": "设置路由环检测的灵敏度:关闭、低、中、或高。", "repeater_cliHelpSetFreq": "(仅限串行模式)快速设置频率。需要重启。 建议使用“设置收音机参数”功能,以便设置完整的收音机参数。", @@ -2304,15 +2304,15 @@ "repeater_cliHelpGetAgcResetInterval": "显示 AGC 重置的间隔时间(以秒为单位)。", "repeater_cliHelpGetMultiAcks": "显示双重确认模式是否已启用(1)或已禁用(0)。", "repeater_cliHelpGetAllowReadOnly": "显示是否允许访客仅限查看权限。", - "repeater_cliHelpGetAdvertInterval": "显示本地广告的时间间隔,单位为分钟。", - "repeater_cliHelpGetFloodAdvertInterval": "显示洪水广告的播放时间间隔,以小时为单位。", + "repeater_cliHelpGetAdvertInterval": "显示本地广播的时间间隔,单位为分钟。", + "repeater_cliHelpGetFloodAdvertInterval": "显示泛洪广播的播放时间间隔,以小时为单位。", "repeater_cliHelpGetGuestPassword": "显示已配置的访客密码。", "repeater_cliHelpGetLat": "显示已配置的纬度。", "repeater_cliHelpGetLon": "显示已配置的经度。", "repeater_cliHelpGetRxDelay": "显示 rxdelay 的基本值。", - "repeater_cliHelpGetTxDelay": "显示洪水模式下的传输延迟系数。", + "repeater_cliHelpGetTxDelay": "显示泛洪模式下的传输延迟系数。", "repeater_cliHelpGetDirectTxDelay": "显示直接模式下的时延系数。", - "repeater_cliHelpGetFloodMax": "显示最大洪水传播次数。", + "repeater_cliHelpGetFloodMax": "显示最大泛洪跳数。", "repeater_cliHelpGetOwnerInfo": "显示所有者的联系信息。", "repeater_cliHelpGetPathHashMode": "显示哈希模式(0/1/2)。", "repeater_cliHelpGetLoopDetect": "显示循环检测的灵敏度。", @@ -2334,8 +2334,8 @@ "repeater_cliHelpSensorList": "列出所有自定义传感器设置,并按可选的起始索引进行分页显示。", "repeater_cliHelpRegionDefault": "显示当前默认的区域范围。", "repeater_cliHelpRegionDefaultSet": "设置默认的区域范围。使用 \"\" 可以清除。", - "repeater_cliHelpRegionListAllowed": "列出允许洪水交通的区域。", - "repeater_cliHelpRegionListDenied": "列出禁止洪水交通的区域。", + "repeater_cliHelpRegionListAllowed": "列出允许泛洪交通的区域。", + "repeater_cliHelpRegionListDenied": "列出禁止泛洪交通的区域。", "repeater_cliHelpStatsPackets": "(仅显示序列信息)显示数据包级别的统计信息。", "repeater_cliHelpStatsRadio": "(仅显示序列信息)显示收音机相关统计数据。", "repeater_cliHelpStatsCore": "(仅显示序列号)显示核心固件统计信息。", @@ -2474,9 +2474,9 @@ "contacts_searchClose": "高级搜索", "routing_title": "路由", "routing_modeAuto": "汽车", - "routing_modeFlood": "洪水", + "routing_modeFlood": "泛洪", "routing_modeManual": "手册", - "routing_modeAutoHint": "自动选择已知最佳路径,当没有已知路径时,则进行“洪水”搜索。", + "routing_modeAutoHint": "自动选择已知最佳路径,当没有已知路径时,则进行“泛洪”搜索。", "routing_modeFloodHint": "通过所有中继站进行广播。 这种方式最可靠,但占用更多的时间。", "routing_modeManualHint": "总是按照您设置的路径进行导航。", "routing_currentRoute": "当前路线", @@ -2492,22 +2492,22 @@ "routing_qualityGood": "不错的开端", "routing_qualityFair": "第一次尝试,结果良好", "routing_qualityWorked": "已完成", - "routing_qualityFlood": "通过新闻报道", + "routing_qualityFlood": "通过泛洪收到", "routing_qualityUntested": "未经测试", "routing_lastWorked": "工作于 {when}", "routing_neverWorked": "从未得到证实", - "routing_floodDelivery": "洪水配送", + "routing_floodDelivery": "泛洪配送", "pathEditor_title": "构建路径", - "pathEditor_noHops": "目前还没有添加任何啤酒花。点击下面的“添加”按钮,按顺序添加,或者直接保存,不添加任何啤酒花。", - "pathEditor_addHops": "按照顺序添加啤酒花", + "pathEditor_noHops": "目前还没有添加任何跳点。点击下面的“添加”按钮,按顺序添加,或者直接保存,不添加任何跳点。", + "pathEditor_addHops": "按照顺序添加跳点", "pathEditor_searchRepeaters": "重复搜索", "pathEditor_advancedHex": "高级:原始十六进制路径", "pathEditor_hexLabel": "十六进制前缀", - "pathEditor_hexHelper": "每次跳跃,使用两个十六进制字符,用逗号分隔。", + "pathEditor_hexHelper": "每跳使用两个十六进制字符,用逗号分隔。", "pathEditor_invalidTokens": "无效:{tokens}", - "pathEditor_tooManyHops": "最多 64 个跳跃", + "pathEditor_tooManyHops": "最多 64 跳", "pathEditor_usePath": "请使用此路径", - "pathEditor_removeHop": "去除啤酒花", + "pathEditor_removeHop": "去除跳点", "routing_deliveryCounts": "{successes} delivered, {failures} failed", "pathEditor_hopCounter": "{count} of 64 hops", "pathEditor_unknownHop": "未知的重复器", @@ -2803,7 +2803,7 @@ "imageSend_radioUnknownBody": "连接设备以计算播出时间。", "imageSend_longSendTitle": "长距离传输", "imageSend_longSendBody": "这将维持频道大约 {duration} 时间。", - "imageSend_floodNote": "洪水路由:每个中继站都会转发每个数据包,因此信道比这段时间更长地处于繁忙状态。", + "imageSend_floodNote": "泛洪路由:每个中继站都会转发每个数据包,因此信道比这段时间更长地处于繁忙状态。", "imageSend_parityTitle": "恢复包", "imageSend_paritySubtitle": "多一个数据包。群发消息不被确认,因此如果某个数据包丢失,接收方可以重新构建图像。", "imageSend_send": "发送", @@ -2833,5 +2833,38 @@ "receivedImage_tapToProcess": "点击处理", "receivedImage_awaiting": "{bytes} 字节 · {packets} {packets, plural, =1{个数据包} other{个数据包}}", "imageSend_secondsValue": "{seconds} 秒", - "imageSend_minutesSecondsValue": "{minutes} 分 {seconds} 秒" + "imageSend_minutesSecondsValue": "{minutes} 分 {seconds} 秒", + "channels_noFreeSlots": "所有频道插槽都已被占用", + "chat_longMessageRetryNote": "超过158字节:最多发送 {count} 次", + "reaction_report": "表情反应", + "repeater_bridgeNote": "仅支持带有桥接功能(RS232 或 ESP-NOW)的固件。", + "repeater_cliHelpGetFloodMaxAdvert": "显示泛洪广播包的最大跳数。", + "repeater_cliHelpGetFloodMaxUnscoped": "显示无区域范围的泛洪数据包的最大跳数。", + "repeater_cliHelpGetRadioFemRxGain": "显示 LoRa 前端模块的 RX 增益是否已开启。", + "repeater_cliHelpGetRadioFemTxGain": "显示 LoRa 前端模块的 TX 增益是否已开启。", + "repeater_cliHelpRegionDef": "在一条命令中定义一条区域链:每个名称都添加在上一个名称之下;“name,parent”会添加该名称,然后在指定的父级下继续。回复区域列表。", + "repeater_cliHelpSetFloodMaxAdvert": "设置转发泛洪广播包时的最大跳数(0-64)。", + "repeater_cliHelpSetFloodMaxUnscoped": "设置转发无区域范围的泛洪数据包时的最大跳数(0-64)。", + "repeater_cliHelpSetRadioFemRxGain": "切换 LoRa 前端模块的 RX 增益(LNA)。不支持此功能的板卡会回复“Error: unsupported”。", + "repeater_cliHelpSetRadioFemTxGain": "切换 LoRa 前端模块的 TX 增益(PA)。不支持此功能的板卡会回复“Error: unsupported”。", + "repeater_cliRegionLoadActive": "区域加载模式:每行发送一个区域名称,并用空格缩进表示其位于父级之下(在名称后添加 F 可允许泛洪)。每行不会有回复。发送空行以结束,然后发送“region save”以保存结果。", + "repeater_cliRegionLoadEnd": "(区域加载结束)", + "repeater_cliRegionLoadHint": "区域行,或留空以结束", + "repeater_frequencyInvalid": "无效频率(150-2500 MHz)", + "repeater_frequencyRangeHelper": "150-2500 MHz", + "repeater_recvErrors": "接收错误", + "repeater_txPowerRangeHelper": "-9 至 30 dBm", + "room_postsPushed": "已推送的帖子", + "room_postsStored": "帖子", + "settings_publicKeyCopied": "公钥已复制", + "settings_radioSettingsNotApplied": "收音机未应用这些设置", + "urlImage_enable": "启用URL图片", + "urlImage_possible": "可能是URL图片,请在设置中启用。", + "@chat_longMessageRetryNote": { + "placeholders": { + "count": { + "type": "int" + } + } + } } diff --git a/lib/l10n/contact_localization.dart b/lib/l10n/contact_localization.dart index 4f21c585..9f34e2ab 100644 --- a/lib/l10n/contact_localization.dart +++ b/lib/l10n/contact_localization.dart @@ -38,7 +38,7 @@ extension ContactLocalization on Contact { if (pathLength < 0) return l10n.channelPath_floodPath; if (pathLength == 0) return l10n.chat_direct; return l10n.chat_hopsCount( - _displayHopCount(path, pathLength, pathHashByteWidth), + _displayHopCount(path, pathLength, pathHashWidth), ); } diff --git a/lib/models/app_settings.dart b/lib/models/app_settings.dart index dd93cfe0..85fd35a2 100644 --- a/lib/models/app_settings.dart +++ b/lib/models/app_settings.dart @@ -89,6 +89,7 @@ class AppSettings { final String mapKeyPrefix; final bool mapShowMarkers; final bool mapShowGuessedLocations; + final bool mapClusterNodes; final bool enableMessageTracing; final Map? mapCacheBounds; final int mapCacheMinZoom; @@ -108,6 +109,9 @@ class AppSettings { final double routeWeightSuccessIncrement; final double routeWeightFailureDecrement; final int maxMessageRetries; + final bool channelMinHopsEnabled; + final int channelMinHops; + final int channelMinHopsRetries; final String themeMode; final String? languageOverride; // null = system default final bool appDebugLogEnabled; @@ -186,12 +190,13 @@ class AppSettings { this.mapShowChatNodes = true, this.mapShowOtherNodes = true, this.mapShowOverlaps = false, - this.mapTimeFilterHours = 0, // Default to all time + this.mapTimeFilterHours = 168, this.mapKeyPrefixEnabled = false, this.mapKeyPrefix = '', this.mapShowMarkers = true, this.mapShowGuessedLocations = true, - this.enableMessageTracing = true, + this.mapClusterNodes = true, + this.enableMessageTracing = false, this.mapCacheBounds, this.mapCacheMinZoom = 10, this.mapCacheMaxZoom = 15, @@ -210,6 +215,9 @@ class AppSettings { this.routeWeightSuccessIncrement = 0.5, this.routeWeightFailureDecrement = 0.2, this.maxMessageRetries = 5, + this.channelMinHopsEnabled = false, + this.channelMinHops = 2, + this.channelMinHopsRetries = 1, this.themeMode = 'system', this.languageOverride, this.appDebugLogEnabled = false, @@ -265,6 +273,7 @@ class AppSettings { 'map_key_prefix': mapKeyPrefix, 'map_show_markers': mapShowMarkers, 'map_show_guessed_locations': mapShowGuessedLocations, + 'map_cluster_nodes': mapClusterNodes, 'enable_message_tracing': enableMessageTracing, 'map_cache_bounds': mapCacheBounds, 'map_cache_min_zoom': mapCacheMinZoom, @@ -285,6 +294,9 @@ class AppSettings { 'route_weight_success_increment': routeWeightSuccessIncrement, 'route_weight_failure_decrement': routeWeightFailureDecrement, 'max_message_retries': maxMessageRetries, + 'channel_min_hops_enabled': channelMinHopsEnabled, + 'channel_min_hops': channelMinHops, + 'channel_min_hops_retries': channelMinHopsRetries, 'theme_mode': themeMode, 'language_override': languageOverride, 'app_debug_log_enabled': appDebugLogEnabled, @@ -336,13 +348,14 @@ class AppSettings { mapShowOtherNodes: json['map_show_other_nodes'] as bool? ?? true, mapShowOverlaps: json['map_show_overlaps'] as bool? ?? false, mapTimeFilterHours: - (json['map_time_filter_hours'] as num?)?.toDouble() ?? 0, + (json['map_time_filter_hours'] as num?)?.toDouble() ?? 168, mapKeyPrefixEnabled: json['map_key_prefix_enabled'] as bool? ?? false, mapKeyPrefix: json['map_key_prefix'] as String? ?? '', mapShowMarkers: json['map_show_markers'] as bool? ?? true, mapShowGuessedLocations: json['map_show_guessed_locations'] as bool? ?? true, - enableMessageTracing: json['enable_message_tracing'] as bool? ?? true, + mapClusterNodes: json['map_cluster_nodes'] as bool? ?? true, + enableMessageTracing: json['enable_message_tracing'] as bool? ?? false, mapCacheBounds: (json['map_cache_bounds'] as Map?)?.map( (key, value) => MapEntry(key.toString(), (value as num).toDouble()), ), @@ -370,6 +383,9 @@ class AppSettings { routeWeightFailureDecrement: (json['route_weight_failure_decrement'] as num?)?.toDouble() ?? 0.2, maxMessageRetries: json['max_message_retries'] as int? ?? 5, + channelMinHopsEnabled: json['channel_min_hops_enabled'] as bool? ?? false, + channelMinHops: json['channel_min_hops'] as int? ?? 2, + channelMinHopsRetries: json['channel_min_hops_retries'] as int? ?? 1, themeMode: json['theme_mode'] as String? ?? 'system', languageOverride: json['language_override'] as String?, appDebugLogEnabled: json['app_debug_log_enabled'] as bool? ?? false, @@ -477,6 +493,7 @@ class AppSettings { String? mapKeyPrefix, bool? mapShowMarkers, bool? mapShowGuessedLocations, + bool? mapClusterNodes, bool? enableMessageTracing, Object? mapCacheBounds = _unset, int? mapCacheMinZoom, @@ -496,6 +513,9 @@ class AppSettings { double? routeWeightSuccessIncrement, double? routeWeightFailureDecrement, int? maxMessageRetries, + bool? channelMinHopsEnabled, + int? channelMinHops, + int? channelMinHopsRetries, String? themeMode, Object? languageOverride = _unset, bool? appDebugLogEnabled, @@ -536,6 +556,7 @@ class AppSettings { mapShowMarkers: mapShowMarkers ?? this.mapShowMarkers, mapShowGuessedLocations: mapShowGuessedLocations ?? this.mapShowGuessedLocations, + mapClusterNodes: mapClusterNodes ?? this.mapClusterNodes, enableMessageTracing: enableMessageTracing ?? this.enableMessageTracing, mapCacheBounds: mapCacheBounds == _unset ? this.mapCacheBounds @@ -565,6 +586,11 @@ class AppSettings { routeWeightFailureDecrement: routeWeightFailureDecrement ?? this.routeWeightFailureDecrement, maxMessageRetries: maxMessageRetries ?? this.maxMessageRetries, + channelMinHopsEnabled: + channelMinHopsEnabled ?? this.channelMinHopsEnabled, + channelMinHops: channelMinHops ?? this.channelMinHops, + channelMinHopsRetries: + channelMinHopsRetries ?? this.channelMinHopsRetries, themeMode: themeMode ?? this.themeMode, languageOverride: languageOverride == _unset ? this.languageOverride diff --git a/lib/models/channel.dart b/lib/models/channel.dart index 324157ef..f05295ae 100644 --- a/lib/models/channel.dart +++ b/lib/models/channel.dart @@ -107,7 +107,7 @@ class Channel { /// Normalize a hashtag name for consistent community PSK derivation. /// Strips leading #, converts to lowercase, trims whitespace. static String _normalizeCommunityHashtag(String hashtag) { - return hashtag.replaceFirst(RegExp(r'^#'), '').toLowerCase().trim(); + return hashtag.trim().replaceFirst(RegExp(r'^#'), '').toLowerCase().trim(); } static String formatPskHex(Uint8List psk) { diff --git a/lib/models/channel_message.dart b/lib/models/channel_message.dart index 56bf4849..3f1421cc 100644 --- a/lib/models/channel_message.dart +++ b/lib/models/channel_message.dart @@ -157,7 +157,7 @@ class ChannelMessage { return null; } - int pathLen; + int? pathLen; int txtType; int? packetPathHashWidth; Uint8List pathBytes = Uint8List(0); @@ -169,20 +169,24 @@ class ChannelMessage { reader.skipBytes(1); // Skip reserved byte channelIdx = reader.readByte(); final pathByte = reader.readUInt8(); - // pathByte packs: top 2 bits = hash width mode, low 6 bits = hop count - packetPathHashWidth = ((pathByte & 0xC0) >> 6) + 1; - final hopCount = pathByte & 0x3F; - pathLen = hopCount; - // If a path is present, read hopCount * width bytes - if (hasPath && hopCount > 0) { - final totalPathBytes = hopCount * packetPathHashWidth; - pathBytes = reader.readBytes(totalPathBytes); + // 0xFF = direct-routed; hop count is not reported. + if (pathByte != 0xFF) { + // pathByte packs: top 2 bits = hash width mode, low 6 bits = hop count + packetPathHashWidth = ((pathByte & 0xC0) >> 6) + 1; + final hopCount = pathByte & 0x3F; + pathLen = hopCount; + // If a path is present, read hopCount * width bytes + if (hasPath && hopCount > 0) { + final totalPathBytes = hopCount * packetPathHashWidth; + pathBytes = reader.readBytes(totalPathBytes); + } } // After consuming optional path bytes, read the text type byte. txtType = reader.readByte(); } else { channelIdx = reader.readByte(); - pathLen = reader.readInt8(); + final pathByte = reader.readUInt8(); + pathLen = pathByte == 0xFF ? null : pathByte & 0x3F; txtType = reader.readByte(); } final timestampRaw = reader.readUInt32LE(); @@ -238,6 +242,7 @@ class ChannelMessage { String? originalText, String? translatedLanguageCode, String? translationModelId, + ChannelMessage? replyTo, }) { return ChannelMessage( senderKey: null, @@ -246,6 +251,9 @@ class ChannelMessage { originalText: originalText, translatedLanguageCode: translatedLanguageCode, translationModelId: translationModelId, + replyToMessageId: replyTo?.messageId, + replyToSenderName: replyTo?.senderName, + replyToText: replyTo?.text, timestamp: DateTime.now(), isOutgoing: true, status: ChannelMessageStatus.pending, @@ -318,7 +326,12 @@ class ChannelMessage { final emoji = entry.key; for (final senderName in entry.value) { reactionList.add( - ReactionInfo(targetHash: hash, emoji: emoji, senderName: senderName), + ReactionInfo( + targetHash: hash, // won't be used for anything + emoji: emoji, + senderName: senderName, + hashType: HashType.ours, // also not used for anything + ), ); } } diff --git a/lib/models/community.dart b/lib/models/community.dart index c0abf7f0..9a36f38c 100644 --- a/lib/models/community.dart +++ b/lib/models/community.dart @@ -76,12 +76,14 @@ class Community { factory Community.fromJson(Map json) { return Community( id: json['id'] as String, - name: json['name'] as String, + name: json['name'] as String? ?? '', secret: base64Decode(json['secret'] as String), - createdAt: DateTime.fromMillisecondsSinceEpoch(json['created_at'] as int), + createdAt: DateTime.fromMillisecondsSinceEpoch( + json['created_at'] as int? ?? 0, + ), hashtagChannels: (json['hashtag_channels'] as List?) - ?.map((e) => e as String) + ?.whereType() .toList() ?? [], ); @@ -157,7 +159,7 @@ class Community { /// Normalize a hashtag name for consistent PSK derivation. /// Strips leading #, converts to lowercase, trims whitespace. static String _normalizeCommunityHashtag(String hashtag) { - return hashtag.replaceFirst(RegExp(r'^#'), '').toLowerCase().trim(); + return hashtag.trim().replaceFirst(RegExp(r'^#'), '').toLowerCase().trim(); } /// Returns true if this is the community's public channel diff --git a/lib/models/contact.dart b/lib/models/contact.dart index d727210c..dd35993a 100644 --- a/lib/models/contact.dart +++ b/lib/models/contact.dart @@ -10,6 +10,7 @@ class Contact { final int flags; final int pathLength; // -1 = flood, 0+ = direct hops (from device) final Uint8List path; // Path bytes from device + final int pathHashWidth; // Bytes per hop in [path], as learned by the device final int? pathOverride; // User's path override: -1 = force flood, null = auto final Uint8List? pathOverrideBytes; // User's path override bytes @@ -29,6 +30,7 @@ class Contact { this.flags = 0, required this.pathLength, required this.path, + this.pathHashWidth = 1, this.pathOverride, this.pathOverrideBytes, this.latitude, @@ -81,6 +83,7 @@ class Contact { int? flags, int? pathLength, Uint8List? path, + int? pathHashWidth, int? pathOverride, Uint8List? pathOverrideBytes, bool clearPathOverride = false, @@ -99,6 +102,7 @@ class Contact { flags: flags ?? this.flags, pathLength: pathLength ?? this.pathLength, path: path ?? this.path, + pathHashWidth: pathHashWidth ?? this.pathHashWidth, pathOverride: clearPathOverride ? null : (pathOverride ?? this.pathOverride), @@ -140,6 +144,13 @@ class Contact { return "<${publicKeyHex.substring(0, 8)}...${publicKeyHex.substring(publicKeyHex.length - 8)}>"; } + /// Infers bytes per hop for stored paths that predate [pathHashWidth]. + static int inferPathHashWidth(int hopCount, int byteLen) { + if (hopCount <= 0 || byteLen % hopCount != 0) return 1; + final width = byteLen ~/ hopCount; + return width >= 1 && width <= 3 ? width : 1; + } + Uint8List get pathBytesForDisplay { if (pathOverride != null) { if (pathOverride! < 0) return Uint8List(0); @@ -168,12 +179,12 @@ class Contact { final pathLen = reader.readByte(); int hopCount = 0; int byteLen = 0; + int width = 1; if (pathLen == 0xFF) { hopCount = -1; } else { - final mode = (pathLen & 0xC0) >> 6; + width = ((pathLen & 0xC0) >> 6) + 1; hopCount = pathLen & 0x3F; - final width = mode + 1; byteLen = hopCount * width; } final safePathLen = byteLen > 0 @@ -225,6 +236,7 @@ class Contact { flags: flags, pathLength: hopCount, path: pathBytes, + pathHashWidth: width, latitude: lat, longitude: lon, lastSeen: DateTime.fromMillisecondsSinceEpoch( diff --git a/lib/models/delivery_observation.dart b/lib/models/delivery_observation.dart index a598d2a5..a4bd63bb 100644 --- a/lib/models/delivery_observation.dart +++ b/lib/models/delivery_observation.dart @@ -35,7 +35,7 @@ class DeliveryObservation { pathLength: json['path_length'] as int, messageBytes: json['message_bytes'] as int, secondsSinceLastRx: json['seconds_since_last_rx'] as int? ?? 0, - isFlood: json['is_flood'] as bool, + isFlood: json['is_flood'] as bool? ?? false, deliveryMs: json['delivery_ms'] as int, timestamp: DateTime.parse(json['timestamp'] as String), ); diff --git a/lib/models/radio_settings.dart b/lib/models/radio_settings.dart index 80acbee8..f7c4709c 100644 --- a/lib/models/radio_settings.dart +++ b/lib/models/radio_settings.dart @@ -525,7 +525,7 @@ class RadioSettings { ( 'Off-Grid 869', RadioSettings( - frequencyMHz: 869.0, + frequencyMHz: 869.495, bandwidth: LoRaBandwidth.bw250, spreadingFactor: LoRaSpreadingFactor.sf11, codingRate: LoRaCodingRate.cr4_8, diff --git a/lib/models/remote_node_stats.dart b/lib/models/remote_node_stats.dart new file mode 100644 index 00000000..25d42ae4 --- /dev/null +++ b/lib/models/remote_node_stats.dart @@ -0,0 +1,88 @@ +import 'dart:typed_data'; + +/// Binary status reply pushed as PUSH_CODE_STATUS_RESPONSE. +/// +/// The first 48 bytes are shared by repeater `RepeaterStats` and room +/// `ServerStats`. After that, repeaters send `total_rx_air_time_secs` and +/// `n_recv_errors` (uint32 each), rooms send `n_posted` and `n_post_push` +/// (uint16 each). +class RemoteNodeStats { + static const int payloadOffset = 8; + static const int commonSize = 48; + + final int batteryMv; + final int queueLen; + final int noiseFloor; + final int lastRssi; + final int packetsRecv; + final int packetsSent; + final int txAirSecs; + final int uptimeSecs; + final int floodTx; + final int directTx; + final int floodRx; + final int directRx; + final int errEvents; + final double lastSnr; + final int directDups; + final int floodDups; + final int? rxAirSecs; + final int? recvErrors; + final int? posted; + final int? postPushes; + + const RemoteNodeStats({ + required this.batteryMv, + required this.queueLen, + required this.noiseFloor, + required this.lastRssi, + required this.packetsRecv, + required this.packetsSent, + required this.txAirSecs, + required this.uptimeSecs, + required this.floodTx, + required this.directTx, + required this.floodRx, + required this.directRx, + required this.errEvents, + required this.lastSnr, + required this.directDups, + required this.floodDups, + this.rxAirSecs, + this.recvErrors, + this.posted, + this.postPushes, + }); + + static RemoteNodeStats? tryParse(Uint8List frame, {required bool isRoom}) { + if (frame.length < payloadOffset + commonSize) return null; + final data = ByteData.sublistView(frame, payloadOffset); + int u16(int o) => data.getUint16(o, Endian.little); + int i16(int o) => data.getInt16(o, Endian.little); + int u32(int o) => data.getUint32(o, Endian.little); + bool has(int o, int size) => data.lengthInBytes >= o + size; + + return RemoteNodeStats( + batteryMv: u16(0), + queueLen: u16(2), + noiseFloor: i16(4), + lastRssi: i16(6), + packetsRecv: u32(8), + packetsSent: u32(12), + txAirSecs: u32(16), + uptimeSecs: u32(20), + floodTx: u32(24), + directTx: u32(28), + floodRx: u32(32), + directRx: u32(36), + errEvents: u16(40), + lastSnr: i16(42) / 4.0, + directDups: u16(44), + floodDups: u16(46), + rxAirSecs: !isRoom && has(48, 4) ? u32(48) : null, + recvErrors: !isRoom && has(52, 4) ? u32(52) : null, + posted: isRoom && has(48, 2) ? u16(48) : null, + postPushes: isRoom && has(50, 2) ? u16(50) : null, + ); + } +} diff --git a/lib/screens/app_settings_screen.dart b/lib/screens/app_settings_screen.dart index e972c834..a38c4b38 100644 --- a/lib/screens/app_settings_screen.dart +++ b/lib/screens/app_settings_screen.dart @@ -9,11 +9,13 @@ import '../models/app_settings.dart'; import '../models/image_codec_support.dart'; import '../models/translation_support.dart'; import '../services/app_settings_service.dart'; +import '../services/background_service.dart'; import '../services/image_codec_service.dart'; import '../services/map_tile_cache_service.dart'; import '../services/notification_service.dart'; import '../services/translation_service.dart'; import '../theme/mesh_theme.dart'; +import '../utils/platform_info.dart'; import '../widgets/adaptive_app_bar_title.dart'; import '../widgets/mesh_ui.dart'; import '../widgets/sync_progress_overlay.dart'; @@ -320,6 +322,22 @@ class AppSettingsScreen extends StatelessWidget { ? (value) => settingsService.setNotifyOnNewMessage(value) : null, ), + if (PlatformInfo.isAndroid) ...[ + const Divider(height: 1, indent: 16), + ListTile( + contentPadding: const EdgeInsets.symmetric( + horizontal: 16, + vertical: 4, + ), + leading: const Icon(Icons.battery_saver_outlined, size: 20), + title: Text(context.l10n.appSettings_batteryOptimization), + subtitle: Text( + context.l10n.appSettings_batteryOptimizationSubtitle, + ), + trailing: const Icon(Icons.open_in_new, size: 18), + onTap: BackgroundService.openBatteryOptimizationSettings, + ), + ], const Divider(height: 1, indent: 16), SwitchListTile( contentPadding: const EdgeInsets.symmetric( @@ -610,6 +628,52 @@ class AppSettingsScreen extends StatelessWidget { }, ), const Divider(height: 1, indent: 16), + SwitchListTile( + contentPadding: const EdgeInsets.symmetric( + horizontal: 16, + vertical: 4, + ), + secondary: const Icon(Icons.cell_tower, size: 20), + title: Text(context.l10n.appSettings_channelMinHops), + subtitle: Text(context.l10n.appSettings_channelMinHopsSubtitle), + value: settingsService.settings.channelMinHopsEnabled, + onChanged: settingsService.setChannelMinHopsEnabled, + ), + if (settingsService.settings.channelMinHopsEnabled) ...[ + ListTile( + title: Text( + context.l10n.appSettings_channelMinHopsCount( + settingsService.settings.channelMinHops, + ), + ), + subtitle: Slider( + value: settingsService.settings.channelMinHops.toDouble(), + min: 1, + max: 8, + divisions: 7, + label: settingsService.settings.channelMinHops.toString(), + onChanged: (value) => + settingsService.setChannelMinHops(value.toInt()), + ), + ), + ListTile( + title: Text( + context.l10n.appSettings_channelMinHopsRetries( + settingsService.settings.channelMinHopsRetries, + ), + ), + subtitle: Slider( + value: settingsService.settings.channelMinHopsRetries.toDouble(), + min: 1, + max: 5, + divisions: 4, + label: settingsService.settings.channelMinHopsRetries.toString(), + onChanged: (value) => + settingsService.setChannelMinHopsRetries(value.toInt()), + ), + ), + ], + const Divider(height: 1, indent: 16), _ScrollIntoViewOnce( enabled: focusImageMessages, child: SwitchListTile( @@ -1557,7 +1621,11 @@ class AppSettingsScreen extends StatelessWidget { for (final model in settings.translationDownloadedModels) DropdownMenuItem( value: model.id, - child: Text(translationModelFriendlyName(model)), + child: Text( + translationModelFriendlyName(model), + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), ), ], onChanged: settings.translationDownloadedModels.isEmpty @@ -1580,7 +1648,11 @@ class AppSettingsScreen extends StatelessWidget { for (final preset in translationPresetModels) DropdownMenuItem( value: preset.sourceUrl, - child: Text(translationModelFriendlyName(preset)), + child: Text( + translationModelFriendlyName(preset), + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), ), ], onChanged: translationService.isBusy @@ -1741,6 +1813,7 @@ class AppSettingsScreen extends StatelessWidget { const SizedBox(height: 8), DropdownButtonFormField( initialValue: settingsService.settings.selectedCyr2latProfileId, + isExpanded: true, decoration: InputDecoration( labelText: context.l10n.channels_cyr2latSettingsSubheading, border: const OutlineInputBorder(), @@ -1748,7 +1821,11 @@ class AppSettingsScreen extends StatelessWidget { items: settingsService.settings.cyr2latProfiles.map((profile) { return DropdownMenuItem( value: profile.id, - child: Text(profile.name), + child: Text( + profile.name, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), ); }).toList(), onChanged: (value) { diff --git a/lib/screens/channel_chat_screen.dart b/lib/screens/channel_chat_screen.dart index fc8a4460..2373b30f 100644 --- a/lib/screens/channel_chat_screen.dart +++ b/lib/screens/channel_chat_screen.dart @@ -7,7 +7,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter/services.dart'; import 'package:image_picker/image_picker.dart'; -import 'package:intl/intl.dart' hide TextDirection; import 'package:provider/provider.dart'; import '../connector/meshcore_connector.dart'; @@ -33,9 +32,11 @@ import '../services/image_chunk_transport.dart'; import '../services/image_codec_service.dart'; import '../services/received_image_store.dart'; import '../services/translation_service.dart'; +import '../utils/image_save.dart'; import '../utils/lora_airtime.dart'; import '../widgets/received_image_message.dart'; import '../widgets/byte_count_input.dart'; +import '../widgets/chat_day_separator.dart'; import '../widgets/empty_state.dart'; import '../widgets/chat_zoom_wrapper.dart'; import '../widgets/emoji_picker.dart'; @@ -98,10 +99,6 @@ class _ChannelChatScreenState extends State { bool _channelSkipNextBottomSnap = false; String? _unreadDividerMessageId; - String? _cachedFormatLocale; - late DateFormat _hmFormat; - late DateFormat _mdFormat; - @override void initState() { super.initState(); @@ -321,21 +318,32 @@ class _ChannelChatScreenState extends State { ), Consumer( builder: (context, connector, _) { - final unreadCount = connector - .getUnreadCountForChannelIndex( - widget.channel.index, - ); - final privacy = widget.channel.isPublicChannel - ? context.l10n.channels_public - : context.l10n.channels_private; - final region = connector.getChannelRegion( + final privacy = switch (Channel.getChannelType( + widget.channel, + _communityIndex, + )) { + ChannelType.public => context.l10n.channels_public, + ChannelType.hashtag => context.l10n.channels_hashtag, + ChannelType.private => context.l10n.channels_private, + ChannelType.communityPublic => + context.l10n.community_publicChannel, + ChannelType.communityHashtag => + context.l10n.community_hashtagChannel, + }; + final ownRegion = connector.getChannelRegion( widget.channel.index, ); + final region = connector.getEffectiveChannelRegion( + widget.channel.index, + ); + final defaultSuffix = ownRegion.isEmpty + ? ' ${context.l10n.channels_regionDefaultSuffix}' + : ''; final regionText = region.isNotEmpty - ? ' • ${context.l10n.channels_regionSetTo(region)}' + ? ' • ${context.l10n.channels_regionSetTo(region)}$defaultSuffix' : ''; return Text( - '$privacy • ${context.l10n.chat_unread(unreadCount)}$regionText', + '$privacy$regionText', overflow: TextOverflow.ellipsis, style: const TextStyle(fontSize: 12), ); @@ -513,10 +521,22 @@ class _ChannelChatScreenState extends State { row.image!, textScale, ); - if (isUnreadAnchor) { + final startsDay = + index == reversedRows.length - 1 || + !isSameChatDay( + reversedRows[index + 1].timestamp, + row.timestamp, + ); + if (isUnreadAnchor || startsDay) { return Column( mainAxisSize: MainAxisSize.min, - children: [const UnreadDivider(), bubble], + children: [ + if (startsDay) + ChatDaySeparator(day: row.timestamp), + if (isUnreadAnchor) + const UnreadDivider(), + bubble, + ], ); } return bubble; @@ -799,7 +819,7 @@ class _ChannelChatScreenState extends State { buildTextContent(), ], ), - if (enableTracing && displayPath.isNotEmpty) ...[ + if (displayPath.isNotEmpty) ...[ const SizedBox(height: 3), Padding( padding: gifId != null @@ -813,21 +833,25 @@ class _ChannelChatScreenState extends State { isDirect: (message.pathLength ?? -1) >= 0, hops: displayHopCount, ), - const SizedBox(width: 4), - Flexible( - child: Text( - context.l10n.channels_via( - _formatPathPrefixes( - displayPath, - displayPathHashWidth, + if (enableTracing) ...[ + const SizedBox(width: 4), + Flexible( + child: Text( + context.l10n.channels_via( + _formatPathPrefixes( + displayPath, + displayPathHashWidth, + ), + ), + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: MeshTheme.mono( + fontSize: 9.5 * textScale, + color: metaColor, ), ), - style: MeshTheme.mono( - fontSize: 9.5 * textScale, - color: metaColor, - ), ), - ), + ], ], ), ), @@ -845,13 +869,15 @@ class _ChannelChatScreenState extends State { mainAxisSize: MainAxisSize.min, children: [ Text( - _formatTime(context, message.timestamp), + formatChatTime(context, message.timestamp), style: MeshTheme.mono( - fontSize: 10 * textScale, + fontSize: 12 * textScale, color: metaColor, ), ), - if (enableTracing && message.repeatCount > 0) ...[ + if (enableTracing && + !isOutgoing && + message.repeatCount > 0) ...[ const SizedBox(width: 6), Icon( Icons.repeat, @@ -862,7 +888,7 @@ class _ChannelChatScreenState extends State { Text( '${message.repeatCount}', style: MeshTheme.mono( - fontSize: 10 * textScale, + fontSize: 12 * textScale, color: metaColor, ), ), @@ -870,13 +896,16 @@ class _ChannelChatScreenState extends State { if (isOutgoing) ...[ const SizedBox(width: 4), MessageStatusIcon( - isAcked: - message.status == - ChannelMessageStatus.sent, - isRepeated: - message.status == - ChannelMessageStatus.sent && - displayPath.isNotEmpty, + size: 16 * textScale, + isAcked: false, + isChannel: true, + repeatCount: message.repeatCount, + resendProgress: context + .read() + .channelResendProgress(message.messageId), + hopShortfall: context + .read() + .channelHopShortfall(message.messageId), isPending: message.status == ChannelMessageStatus.pending, @@ -1224,16 +1253,37 @@ class _ChannelChatScreenState extends State { } } - /// Whether the image codec model is currently downloading. - /// - /// This must be read while [context] is building; popup item builders run - /// from an overlay and cannot listen to a provider. - bool _isImageCodecDownloading(BuildContext context) { - try { - return context.watch().isDownloading; - } on ProviderNotFoundException { - return false; + void _explainImageCodecNotReady(ImageCodecService codec) { + final l10n = context.l10n; + final availability = codec.availability; + final String message; + switch (availability) { + case ImageCodecAvailability.downloading: + message = l10n.imageSend_codecDownloading; + case ImageCodecAvailability.unavailable: + message = codec.unavailableReason ?? l10n.imageSend_codecUnavailable; + case ImageCodecAvailability.disabled: + message = codec.needsModelDownload + ? l10n.imageSend_modelNotDownloaded + : codec.statusReason ?? l10n.imageSend_codecDisabled; + case ImageCodecAvailability.ready: + return; } + showDismissibleSnackBar( + context, + content: Text(message), + action: availability == ImageCodecAvailability.disabled + ? SnackBarAction( + label: l10n.receivedImage_openSettings, + onPressed: () => Navigator.of(context).push( + MaterialPageRoute( + builder: (_) => + const AppSettingsScreen(focusImageMessages: true), + ), + ), + ) + : null, + ); } /// Takes no [BuildContext]: it uses the [State]'s own, so the `mounted` @@ -1241,6 +1291,10 @@ class _ChannelChatScreenState extends State { Future _showImageSendPreview() async { final codec = _imageCodec; if (codec == null) return; + if (codec.availability != ImageCodecAvailability.ready) { + _explainImageCodecNotReady(codec); + return; + } final connector = context.read(); // The picked bytes are kept past the preview on purpose: the sender's own @@ -1545,7 +1599,7 @@ class _ChannelChatScreenState extends State { final textColor = isOutgoing ? MeshPalette.meInk : scheme.onSurface; final metaColor = textColor.withValues(alpha: 0.65); - return Padding( + final bubble = Padding( padding: const EdgeInsets.symmetric(vertical: 3), child: Row( mainAxisAlignment: isOutgoing @@ -1612,9 +1666,9 @@ class _ChannelChatScreenState extends State { bottom: 4, ), child: Text( - _formatTime(context, entry.firstSeen), + formatChatTime(context, entry.firstSeen), style: MeshTheme.mono( - fontSize: 10 * textScale, + fontSize: 12 * textScale, color: metaColor, ), ), @@ -1626,6 +1680,123 @@ class _ChannelChatScreenState extends State { ], ), ); + return GestureDetector( + onLongPress: () => _showImageActions(entry), + onSecondaryTap: () => _showImageActions(entry), + child: bubble, + ); + } + + void _showImageActions(ReceivedImageEntry entry) { + final l10n = context.l10n; + final canSave = entry.state == ReceivedImageState.decoded; + showMeshSheet( + context, + builder: (sheetContext) => SafeArea( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + BottomSheetHeader( + title: l10n.receivedImage_awaiting( + entry.bitstreamByteCount, + entry.totalChunks, + ), + subtitle: _imageSenderLabel(entry), + ), + if (canSave) + ListTile( + leading: const Icon(Icons.save_alt), + title: Text(l10n.receivedImage_save), + onTap: () { + Navigator.pop(sheetContext); + _saveImage(entry); + }, + ), + ListTile( + leading: const Icon(Icons.info_outline), + title: Text(l10n.receivedImage_packetInfo), + onTap: () { + Navigator.pop(sheetContext); + _showImagePacketInfo(entry); + }, + ), + const Divider(height: 1), + ListTile( + leading: Icon( + Icons.delete_outline, + color: Theme.of(context).colorScheme.error, + ), + title: Text( + l10n.common_delete, + style: TextStyle(color: Theme.of(context).colorScheme.error), + ), + onTap: () async { + Navigator.pop(sheetContext); + await context.read().deleteImage( + entry.streamId, + ); + if (!mounted) return; + showDismissibleSnackBar( + context, + content: Text(l10n.chat_messageDeleted), + ); + }, + ), + const SizedBox(height: 8), + ], + ), + ), + ); + } + + Future _saveImage(ReceivedImageEntry entry) async { + final l10n = context.l10n; + final png = await context.read().ensurePng( + entry.streamId, + ); + if (!mounted) return; + final shareText = l10n.receivedImage_shareCaption(entry.bitstreamByteCount); + if (png == null || !await saveImagePng(png, entry, shareText: shareText)) { + if (!mounted) return; + showDismissibleSnackBar( + context, + content: Text(l10n.receivedImage_saveFailed), + ); + } + } + + void _showImagePacketInfo(ReceivedImageEntry entry) { + final l10n = context.l10n; + final decodeMs = entry.decodeMs; + showDialog( + context: context, + builder: (dialogContext) => AlertDialog( + title: Text(l10n.receivedImage_packetInfo), + content: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text(_imageSenderLabel(entry)), + Text(formatChatTime(context, entry.firstSeen)), + Text( + l10n.receivedImage_awaiting( + entry.bitstreamByteCount, + entry.totalChunks, + ), + ), + if (entry.recoveredWithParity) + Text(l10n.receivedImage_parityRecovered), + if (decodeMs != null) Text(l10n.receivedImage_decodeTime(decodeMs)), + ], + ), + actions: [ + TextButton( + onPressed: () => Navigator.pop(dialogContext), + child: Text(l10n.common_close), + ), + ], + ), + ); } /// GRP_DATA carries no sender name — only the 2-byte public-key prefix the @@ -1709,6 +1880,7 @@ class _ChannelChatScreenState extends State { ), IconButton( icon: const Icon(Icons.close, size: 18), + tooltip: context.l10n.chat_cancelReply, onPressed: _cancelReply, color: scheme.onSurfaceVariant, constraints: const BoxConstraints(minWidth: 44, minHeight: 44), @@ -1753,9 +1925,7 @@ class _ChannelChatScreenState extends State { final connector = context.watch(); final maxBytes = maxChannelMessageBytes(connector.selfName); final settings = context.watch().settings; - final imageCodecDownloading = _isImageCodecDownloading(context); - final showImageAction = - settings.imageMessagesEnabled && !imageCodecDownloading; + final showImageAction = settings.imageMessagesEnabled; final scheme = Theme.of(context).colorScheme; return Container( decoration: BoxDecoration( @@ -1811,13 +1981,6 @@ class _ChannelChatScreenState extends State { if (showImageAction) PopupMenuItem( value: 'meshcore-image', - // Gated on the codec, not just the setting. The preview - // sheet explains why a send is impossible, but a fully - // live button in a build that cannot encode invites the - // tap that produces that explanation. - enabled: - _imageCodec?.availability == - ImageCodecAvailability.ready, child: Row( children: [ const Icon(Icons.image_outlined), @@ -1872,6 +2035,7 @@ class _ChannelChatScreenState extends State { const SizedBox(width: 8), IconButton( icon: const Icon(Icons.close), + tooltip: context.l10n.chat_removeGif, onPressed: () { _textController.clear(); _textFieldFocusNode.requestFocus(); @@ -2055,6 +2219,7 @@ class _ChannelChatScreenState extends State { } // end transform + final replyTo = _replyingToMessage; _textController.clear(); _cancelReply(); _textFieldFocusNode.requestFocus(); @@ -2064,27 +2229,10 @@ class _ChannelChatScreenState extends State { originalText: originalText, translatedLanguageCode: translatedLanguageCode, translationModelId: translationModelId, + replyTo: replyTo, ); } - String _formatTime(BuildContext context, DateTime time) { - final now = DateTime.now(); - final diff = now.difference(time); - final locale = Localizations.localeOf(context).toString(); - if (locale != _cachedFormatLocale) { - _cachedFormatLocale = locale; - _hmFormat = DateFormat.Hm(locale); - _mdFormat = DateFormat.Md(locale); - } - final hm = _hmFormat.format(time); - - if (diff.inDays > 0) { - return '${_mdFormat.format(time)} $hm'; - } else { - return hm; - } - } - void _showMessagePathInfo(ChannelMessage message) { Navigator.push( context, @@ -2112,8 +2260,8 @@ class _ChannelChatScreenState extends State { mainAxisSize: MainAxisSize.min, children: [ BottomSheetHeader( - title: message.text.length > 40 - ? '${message.text.substring(0, 40)}…' + title: message.text.characters.length > 40 + ? '${message.text.characters.take(40)}…' : message.text, subtitle: message.senderName.isNotEmpty ? message.senderName @@ -2135,6 +2283,23 @@ class _ChannelChatScreenState extends State { _showMessagePathInfo(message); }, ), + if (message.pathBytes.isNotEmpty) + ListTile( + leading: const Icon(Icons.map_outlined), + title: Text(context.l10n.chat_viewPathOnMap), + onTap: () { + Navigator.pop(sheetContext); + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => ChannelMessagePathMapScreen( + message: message, + channelMessage: true, + ), + ), + ); + }, + ), // Can't react to your own messages if (!message.isOutgoing) ListTile( @@ -2253,6 +2418,13 @@ class _ChannelChatScreenState extends State { context.read().clearMessagesForChannel( widget.channel.index, ); + try { + await context.read().deleteImagesForChannel( + widget.channel.index, + ); + } on ProviderNotFoundException { + return; + } } } @@ -2337,57 +2509,77 @@ class _RegionSelectDialogState extends State<_RegionSelectDialog> { backgroundColor: Colors.transparent, title: Text(context.l10n.channels_regionSelect_Title), centerTitle: true, - actions: [ - IconButton( - tooltip: context.l10n.channels_clearRegion, - icon: const Icon(Icons.backspace_outlined), - onPressed: () { - context.read().setChannelRegion( - widget.channel.index, - '', + ), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16), + child: Text( + context.l10n.channels_regionSelectExplanation, + style: Theme.of(context).textTheme.bodySmall, + ), + ), + const SizedBox(height: 8), + if (regions.isEmpty) + Padding( + padding: const EdgeInsets.all(24), + child: Text(context.l10n.channels_regionEmpty), + ) + else + Expanded( + child: ListView.builder( + itemCount: regions.length, + itemBuilder: (context, index) { + final selected = selectedIndex == index; + return ListTile( + leading: Icon( + Icons.landscape, + color: selected ? MeshPalette.blue : null, + ), + title: Text(regions[index]), + trailing: selected + ? const Icon(Icons.check, color: MeshPalette.blue) + : null, + tileColor: selected ? MeshPalette.blueBg : null, + onTap: () { + // Tapping the already-selected region clears it. + context.read().setChannelRegion( + widget.channel.index, + selected ? '' : regions[index], + ); + Navigator.pop(context); + }, ); - Navigator.pop(context); }, ), - IconButton( - tooltip: context.l10n.settings_regionSettingsSubtitle, - icon: const Icon(Icons.settings), + ), + Row( + mainAxisAlignment: MainAxisAlignment.end, + children: [ + TextButton( + onPressed: + context + .read() + .getChannelRegion(widget.channel.index) + .isEmpty + ? null + : () { + context.read().setChannelRegion( + widget.channel.index, + '', + ); + Navigator.pop(context); + }, + child: Text(context.l10n.common_clear), + ), + TextButton( onPressed: () async { await pushRegionManagementScreen(context); if (!mounted) return; loadRegions(); }, + child: Text(context.l10n.channels_manageRegions), ), ], ), - const SizedBox(height: 15), - Expanded( - child: ListView.builder( - itemCount: regions.length, - itemBuilder: (context, index) { - final selected = selectedIndex == index; - return ListTile( - leading: Icon( - Icons.landscape, - color: selected ? MeshPalette.blue : null, - ), - title: Text(regions[index]), - trailing: selected - ? const Icon(Icons.check, color: MeshPalette.blue) - : null, - tileColor: selected ? MeshPalette.blueBg : null, - onTap: () { - // Tapping the already-selected region clears it. - context.read().setChannelRegion( - widget.channel.index, - selected ? '' : regions[index], - ); - Navigator.pop(context); - }, - ); - }, - ), - ), ], ), ), diff --git a/lib/screens/channels_screen.dart b/lib/screens/channels_screen.dart index 74c07c0c..1abba59c 100644 --- a/lib/screens/channels_screen.dart +++ b/lib/screens/channels_screen.dart @@ -12,6 +12,7 @@ import 'package:uuid/uuid.dart'; import '../connector/meshcore_connector.dart'; import '../l10n/l10n.dart'; import '../services/app_settings_service.dart'; +import '../services/received_image_store.dart'; import '../services/ui_view_state_service.dart'; import '../models/channel.dart'; import '../models/community.dart'; @@ -221,6 +222,7 @@ class _ChannelsScreenState extends State if (viewState.channelsSearchText.isNotEmpty) IconButton( icon: const Icon(Icons.clear), + tooltip: context.l10n.common_clearSearch, onPressed: () { _searchDebounce?.cancel(); _searchDebounce = null; @@ -402,7 +404,7 @@ class _ChannelsScreenState extends State iconColor = MeshPalette.signal; case ChannelType.hashtag: icon = Icons.tag; - iconColor = MeshPalette.blue; + iconColor = MeshPalette.warn; case ChannelType.private: icon = Icons.lock; iconColor = MeshPalette.blue; @@ -516,14 +518,18 @@ class _ChannelsScreenState extends State overflow: TextOverflow.ellipsis, ), ), - const SizedBox(width: 6), - Text( - 'CH ${channel.index}', - style: MeshTheme.mono( - fontSize: 11, - color: scheme.onSurfaceVariant.withValues(alpha: 0.7), + if (showDragHandle) ...[ + const SizedBox(width: 6), + Text( + 'CH ${channel.index}', + style: MeshTheme.mono( + fontSize: 11, + color: scheme.onSurfaceVariant.withValues( + alpha: 0.7, + ), + ), ), - ), + ], ], ), if (subtitle.isNotEmpty) ...[ @@ -584,17 +590,21 @@ class _ChannelsScreenState extends State ], ), if (showDragHandle && dragIndex != null) ...[ - const SizedBox(width: 4), ReorderableDragStartListener( index: dragIndex, - // Top-aligned with the "CH n" / time line. Bottom padding keeps - // a comfortable drag target without pushing the icon down. - child: Padding( - padding: const EdgeInsets.only(left: 8, right: 8, bottom: 16), - child: Icon( - Icons.drag_handle, - size: 18, - color: scheme.onSurfaceVariant, + child: MouseRegion( + cursor: SystemMouseCursors.grab, + child: Tooltip( + message: context.l10n.channels_dragToReorder, + child: SizedBox( + width: 48, + height: 48, + child: Icon( + Icons.drag_indicator, + size: 28, + color: scheme.onSurface, + ), + ), ), ), ), @@ -814,6 +824,13 @@ class _ChannelsScreenState extends State connector.channels, connector.maxChannels, ); + if (nextIndex == null) { + showDismissibleSnackBar( + context, + content: Text(context.l10n.channels_noFreeSlots), + ); + return; + } final hasPublicChannel = connector.channels.any((c) => c.isPublicChannel); int? selectedOption; final nameController = TextEditingController(); @@ -1455,24 +1472,7 @@ class _ChannelsScreenState extends State controller: scrollController, padding: const EdgeInsets.only(bottom: 24), children: [ - buildOptionCard( - optionIndex: 0, - icon: Icons.add, - title: sheetContext.l10n.channels_createPrivateChannel, - subtitle: - sheetContext.l10n.channels_createPrivateChannelDesc, - ), - if (selectedOption == 0) - buildExpandedContent(_channelMessageStore)!, - buildOptionCard( - optionIndex: 1, - icon: Icons.lock, - title: sheetContext.l10n.channels_joinPrivateChannel, - subtitle: - sheetContext.l10n.channels_joinPrivateChannelDesc, - ), - if (selectedOption == 1) - buildExpandedContent(_channelMessageStore)!, + SectionHeader(sheetContext.l10n.channels_addSectionJoin), if (!hasPublicChannel) ...[ buildOptionCard( optionIndex: 2, @@ -1493,6 +1493,15 @@ class _ChannelsScreenState extends State ), if (selectedOption == 3) buildExpandedContent(_channelMessageStore)!, + buildOptionCard( + optionIndex: 1, + icon: Icons.lock, + title: sheetContext.l10n.channels_joinPrivateChannel, + subtitle: + sheetContext.l10n.channels_joinPrivateChannelDesc, + ), + if (selectedOption == 1) + buildExpandedContent(_channelMessageStore)!, buildOptionCard( optionIndex: 4, icon: Icons.qr_code_scanner, @@ -1501,6 +1510,18 @@ class _ChannelsScreenState extends State ), if (selectedOption == 4) buildExpandedContent(_channelMessageStore)!, + SectionHeader( + sheetContext.l10n.channels_addSectionCreate, + ), + buildOptionCard( + optionIndex: 0, + icon: Icons.add, + title: sheetContext.l10n.channels_createPrivateChannel, + subtitle: + sheetContext.l10n.channels_createPrivateChannelDesc, + ), + if (selectedOption == 0) + buildExpandedContent(_channelMessageStore)!, buildOptionCard( optionIndex: 5, icon: Icons.groups, @@ -1737,6 +1758,12 @@ class _ChannelsScreenState extends State ChannelMessageStore channelMessageStore, Channel channel, ) { + ReceivedImageStore? imageStore; + try { + imageStore = context.read(); + } on ProviderNotFoundException { + imageStore = null; + } showDialog( context: context, builder: (dialogContext) => AlertDialog( @@ -1756,6 +1783,7 @@ class _ChannelsScreenState extends State await connector.deleteChannel(channel.index); await channelMessageStore.clearChannelMessages(channel.index); + await imageStore?.deleteImagesForChannel(channel.index); if (!context.mounted) return; @@ -1800,12 +1828,12 @@ class _ChannelsScreenState extends State ); } - int _findNextAvailableIndex(List channels, int maxChannels) { + int? _findNextAvailableIndex(List channels, int maxChannels) { final usedIndices = channels.map((c) => c.index).toSet(); for (int i = 0; i < maxChannels; i++) { if (!usedIndices.contains(i)) return i; } - return 0; + return null; } void _showManageCommunitiesDialog(BuildContext context) { diff --git a/lib/screens/chat_screen.dart b/lib/screens/chat_screen.dart index 6c1f306f..30aac388 100644 --- a/lib/screens/chat_screen.dart +++ b/lib/screens/chat_screen.dart @@ -31,6 +31,7 @@ import '../services/path_history_service.dart'; import '../services/translation_service.dart'; import '../widgets/chat_zoom_wrapper.dart'; import '../widgets/byte_count_input.dart'; +import '../widgets/chat_day_separator.dart'; import 'channel_message_path_screen.dart'; import 'map_screen.dart'; import '../widgets/emoji_picker.dart'; @@ -189,10 +190,6 @@ class _ChatScreenState extends State { title: Consumer2( builder: (context, pathService, connector, _) { final contact = _resolveContact(connector); - final unreadCount = connector.getUnreadCountForContactKey( - widget.contact.publicKeyHex, - ); - final unreadLabel = context.l10n.chat_unread(unreadCount); final pathLabel = _currentPathLabel(contact); return Column( @@ -211,7 +208,7 @@ class _ChatScreenState extends State { child: Padding( padding: const EdgeInsets.symmetric(vertical: 6), child: Text( - '$pathLabel • $unreadLabel', + pathLabel, overflow: TextOverflow.ellipsis, style: const TextStyle( fontSize: 11, @@ -435,10 +432,20 @@ class _ChatScreenState extends State { final isUnreadAnchor = _unreadDividerMessageId != null && message.messageId == _unreadDividerMessageId; - final child = isUnreadAnchor + final startsDay = + messageIndex == reversedMessages.length - 1 || + !isSameChatDay( + reversedMessages[messageIndex + 1].timestamp, + message.timestamp, + ); + final child = isUnreadAnchor || startsDay ? Column( mainAxisSize: MainAxisSize.min, - children: [const UnreadDivider(), bubble], + children: [ + if (startsDay) ChatDaySeparator(day: message.timestamp), + if (isUnreadAnchor) const UnreadDivider(), + bubble, + ], ) : bubble; if (identical(message, _pendingUnreadScrollTarget)) { @@ -479,26 +486,10 @@ class _ChatScreenState extends State { child: Row( crossAxisAlignment: CrossAxisAlignment.center, children: [ - PopupMenuButton( - icon: const Icon(Icons.add_circle_outline), - position: PopupMenuPosition.over, - offset: const Offset(0, -64), - tooltip: context.l10n.chat_selectSendAction, - onSelected: (action) { - if (action == 'gif') _showGifPicker(context); - }, - itemBuilder: (context) => [ - PopupMenuItem( - value: 'gif', - child: Row( - children: [ - const Icon(Icons.gif_box), - const SizedBox(width: 12), - Text(context.l10n.chat_sendGif), - ], - ), - ), - ], + IconButton( + icon: const Icon(Icons.gif_box_outlined), + tooltip: context.l10n.chat_sendGif, + onPressed: () => _showGifPicker(context), ), if (settings.translationEnabled) MessageTranslationButton( @@ -546,6 +537,7 @@ class _ChatScreenState extends State { const SizedBox(width: 8), IconButton( icon: const Icon(Icons.close), + tooltip: context.l10n.chat_removeGif, onPressed: () { _textController.clear(); _textFieldFocusNode.requestFocus(); @@ -557,6 +549,11 @@ class _ChatScreenState extends State { } return ByteCountedTextField( maxBytes: maxBytes, + softLimitBytes: + maxTextPayloadBytesAfterFullLengthAttempts, + softLimitNote: context.l10n.chat_longMessageRetryNote( + maxFullLengthTextAttempt + 1, + ), controller: _textController, focusNode: _textFieldFocusNode, hintText: context.l10n.chat_typeMessage, @@ -827,7 +824,7 @@ class _ChatScreenState extends State { final hopCount = _displayHopCount( contact.path, contact.pathLength, - connector.pathHashByteWidth, + contact.pathHashWidth, ); return context.l10n.chat_hopsCount(hopCount); } @@ -1116,7 +1113,11 @@ class _ChatScreenState extends State { ); } - void _openMessagePath(Message message, Contact contact) { + void _openMessagePath( + Message message, + Contact contact, { + bool openMap = false, + }) { final connector = context.read(); final fourByteHex = message.fourByteRoomContactKey .map((b) => b.toRadixString(16).padLeft(2, '0')) @@ -1148,7 +1149,9 @@ class _ChatScreenState extends State { Navigator.push( context, MaterialPageRoute( - builder: (context) => ChannelMessagePathScreen(message: pathMessage), + builder: (context) => openMap + ? ChannelMessagePathMapScreen(message: pathMessage) + : ChannelMessagePathScreen(message: pathMessage), ), ); } @@ -1170,8 +1173,8 @@ class _ChatScreenState extends State { mainAxisSize: MainAxisSize.min, children: [ BottomSheetHeader( - title: message.text.length > 40 - ? '${message.text.substring(0, 40)}…' + title: message.text.characters.length > 40 + ? '${message.text.characters.take(40)}…' : message.text, ), // Can't react to your own messages @@ -1192,6 +1195,15 @@ class _ChatScreenState extends State { _openMessagePath(message, contact); }, ), + if (message.pathBytes.isNotEmpty) + ListTile( + leading: const Icon(Icons.map_outlined), + title: Text(context.l10n.chat_viewPathOnMap), + onTap: () { + Navigator.pop(sheetContext); + _openMessagePath(message, contact, openMap: true); + }, + ), ListTile( leading: const Icon(Icons.copy), title: Text(context.l10n.common_copy), @@ -1623,16 +1635,16 @@ class _MessageBubble extends StatelessWidget { crossAxisAlignment: WrapCrossAlignment.center, children: [ Text( - _formatTime(message.timestamp), + formatChatTime(context, message.timestamp), style: MeshTheme.mono( - fontSize: 10 * textScale, + fontSize: 12 * textScale, color: metaColor, ), ), if (isOutgoing) ...[ const SizedBox(width: 2), MessageStatusIcon( - size: 12 * textScale, + size: 16 * textScale, onColor: metaColor, isAcked: message.status == @@ -1658,7 +1670,7 @@ class _MessageBubble extends StatelessWidget { Text( '${(message.tripTimeMs! / 1000).toStringAsFixed(1)}s', style: MeshTheme.mono( - fontSize: 9 * textScale, + fontSize: 11 * textScale, color: isOutgoing ? metaColor : scheme.tertiary, @@ -1837,12 +1849,6 @@ class _MessageBubble extends StatelessWidget { Widget _buildAvatar(String senderName) { return AvatarCircle(name: senderName, size: 32); } - - String _formatTime(DateTime time) { - final hour = time.hour.toString().padLeft(2, '0'); - final minute = time.minute.toString().padLeft(2, '0'); - return '$hour:$minute'; - } } /// Deterministic name-to-hue mapping consistent with [AvatarCircle]. diff --git a/lib/screens/companion_radio_stats_screen.dart b/lib/screens/companion_radio_stats_screen.dart index f7d8f46e..5f300829 100644 --- a/lib/screens/companion_radio_stats_screen.dart +++ b/lib/screens/companion_radio_stats_screen.dart @@ -46,8 +46,8 @@ class _CompanionRadioStatsScreenState extends State { @override void dispose() { _connector?.radioStatsNotifier.removeListener(_onStatsUpdate); - _connector?.releaseRadioStatsPolling(); _connector?.setPollingInterval(30); + _connector?.releaseRadioStatsPolling(); super.dispose(); } @@ -109,8 +109,8 @@ class _CompanionRadioStatsScreenState extends State { padding: const EdgeInsets.symmetric(vertical: 8), children: [ if (stats != null) ...[ - const SectionHeader( - 'Signal', + SectionHeader( + l10n.radioStats_sectionSignal, padding: EdgeInsets.fromLTRB(16, 16, 16, 8), ), MeshCard( @@ -144,8 +144,8 @@ class _CompanionRadioStatsScreenState extends State { ], ), ), - const SectionHeader( - 'Airtime', + SectionHeader( + l10n.radioStats_sectionAirtime, padding: EdgeInsets.fromLTRB(16, 16, 16, 8), ), MeshCard( diff --git a/lib/screens/contacts_screen.dart b/lib/screens/contacts_screen.dart index 1cfb20a8..f955ffe9 100644 --- a/lib/screens/contacts_screen.dart +++ b/lib/screens/contacts_screen.dart @@ -185,6 +185,14 @@ class _ContactsScreenState extends State } final hexString = pubKeyToHex(advertPacket); Clipboard.setData(ClipboardData(text: "meshcore://$hexString")); + _pendingOperations.remove(ContactOperationType.export); + if (mounted) { + showDismissibleSnackBar( + context, + content: Text(context.l10n.contacts_contactAdvertCopied), + ); + } + return; } // Generic OK/ERR acks carry no command correlation, so consume only @@ -704,7 +712,7 @@ class _ContactsScreenState extends State return EmptyState( icon: Icons.people_outline, title: context.l10n.contacts_noContacts, - subtitle: context.l10n.contacts_contactsWillAppear, + subtitle: context.l10n.contacts_noContactsDiscoveredHint, action: FilledButton.icon( onPressed: () => Navigator.push( context, @@ -882,6 +890,20 @@ class _ContactsScreenState extends State ], ), ), + ListTile( + dense: true, + leading: const Icon(Icons.person_add_rounded), + title: Text( + context.l10n.contacts_discoveredNearby( + connector.discoveredContacts.where((c) => !c.isActive).length, + ), + ), + trailing: const Icon(Icons.chevron_right), + onTap: () => Navigator.push( + context, + MaterialPageRoute(builder: (context) => const DiscoveryScreen()), + ), + ), Expanded( child: RefreshIndicator( onRefresh: () => connector.getContacts(), @@ -922,6 +944,7 @@ class _ContactsScreenState extends State onTap: () => _openChat(context, contact), onLongPress: () => _showContactOptions(context, connector, contact), + onManage: _manageAction(context, contact), ); }, ), @@ -1047,6 +1070,17 @@ class _ContactsScreenState extends State } } + VoidCallback? _manageAction(BuildContext context, Contact contact) { + if (contact.type == advTypeRepeater) { + return () => _showRepeaterLogin(context, contact); + } + if (contact.type == advTypeRoom) { + return () => + _showRoomLogin(context, contact, RoomLoginDestination.management); + } + return null; + } + void _handleQuickSwitch(int index, BuildContext context) { if (index == 0) return; switch (index) { @@ -1505,7 +1539,7 @@ class _ContactsScreenState extends State color: Theme.of(context).colorScheme.error, ), title: Text( - context.l10n.contacts_deleteContact, + context.l10n.contacts_removeFromContacts, style: TextStyle(color: Theme.of(context).colorScheme.error), ), onTap: () { @@ -1535,27 +1569,46 @@ class _ContactsScreenState extends State MeshCoreConnector connector, Contact contact, ) { + var keepHistory = false; showDialog( context: context, - builder: (dialogContext) => AlertDialog( - title: Text(context.l10n.contacts_deleteContact), - content: Text(context.l10n.contacts_removeConfirm(contact.name)), - actions: [ - TextButton( - onPressed: () => Navigator.pop(dialogContext), - child: Text(context.l10n.common_cancel), + builder: (dialogContext) => StatefulBuilder( + builder: (dialogContext, setDialogState) => AlertDialog( + title: Text(context.l10n.contacts_removeFromContacts), + content: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + context.l10n.contacts_removeFromContactsConfirm(contact.name), + ), + CheckboxListTile( + contentPadding: EdgeInsets.zero, + controlAffinity: ListTileControlAffinity.leading, + value: keepHistory, + title: Text(context.l10n.contacts_keepChatHistory), + onChanged: (value) => + setDialogState(() => keepHistory = value ?? false), + ), + ], ), - TextButton( - onPressed: () { - Navigator.pop(dialogContext); - connector.removeContact(contact); - }, - child: Text( - context.l10n.common_delete, - style: TextStyle(color: Theme.of(context).colorScheme.error), + actions: [ + TextButton( + onPressed: () => Navigator.pop(dialogContext), + child: Text(context.l10n.common_cancel), ), - ), - ], + TextButton( + onPressed: () { + Navigator.pop(dialogContext); + connector.removeContact(contact, keepMessages: keepHistory); + }, + child: Text( + context.l10n.contacts_remove, + style: TextStyle(color: Theme.of(context).colorScheme.error), + ), + ), + ], + ), ), ); } @@ -1569,6 +1622,7 @@ class _ContactTile extends StatelessWidget { final bool isFavorite; final VoidCallback onTap; final VoidCallback onLongPress; + final VoidCallback? onManage; const _ContactTile({ required this.contact, @@ -1578,6 +1632,7 @@ class _ContactTile extends StatelessWidget { required this.isFavorite, required this.onTap, required this.onLongPress, + this.onManage, }); /// Node-type avatar color per design language. @@ -1614,9 +1669,6 @@ class _ContactTile extends StatelessWidget { final scheme = Theme.of(context).colorScheme; final emoji = firstEmoji(contact.name); final isChat = contact.type == advTypeChat; - final pathLen = contact.pathBytesForDisplay.length; - final isDirect = contact.pathLength >= 0; - final hasPath = pathLen > 0 || contact.pathLength == 0; return GestureDetector( onSecondaryTapUp: PlatformInfo.isDesktop ? (_) => onLongPress() : null, @@ -1704,13 +1756,6 @@ class _ContactTile extends StatelessWidget { ), ), ), - if (hasPath) ...[ - const SizedBox(width: 6), - RouteChip( - isDirect: isDirect, - hops: isDirect ? contact.pathLength : null, - ), - ], ], ), ], @@ -1749,6 +1794,15 @@ class _ContactTile extends StatelessWidget { ], ), ), + if (onManage != null) + IconButton( + icon: const Icon(Icons.admin_panel_settings_outlined), + tooltip: contact.type == advTypeRoom + ? context.l10n.room_management + : context.l10n.contacts_manageRepeater, + visualDensity: VisualDensity.compact, + onPressed: onManage, + ), ], ), ), @@ -1788,6 +1842,7 @@ class _ContactTileEntrance extends StatelessWidget { final bool isFavorite; final VoidCallback onTap; final VoidCallback onLongPress; + final VoidCallback? onManage; const _ContactTileEntrance({ required this.index, @@ -1798,6 +1853,7 @@ class _ContactTileEntrance extends StatelessWidget { required this.isFavorite, required this.onTap, required this.onLongPress, + this.onManage, }); @override @@ -1812,6 +1868,7 @@ class _ContactTileEntrance extends StatelessWidget { isFavorite: isFavorite, onTap: onTap, onLongPress: onLongPress, + onManage: onManage, ), ); } diff --git a/lib/screens/discovery_screen.dart b/lib/screens/discovery_screen.dart index 4a782d6f..b749041c 100644 --- a/lib/screens/discovery_screen.dart +++ b/lib/screens/discovery_screen.dart @@ -34,9 +34,17 @@ class _DiscoveryScreenState extends State { ContactTypeFilter typeFilter = ContactTypeFilter.all; DiscoverySortOption discoverySortOption = DiscoverySortOption.lastSeen; Timer? _searchDebounce; + ScaffoldMessengerState? _messenger; + + @override + void didChangeDependencies() { + super.didChangeDependencies(); + _messenger = ScaffoldMessenger.maybeOf(context); + } @override void dispose() { + _messenger?.hideCurrentSnackBar(); _searchController.dispose(); _searchDebounce?.cancel(); super.dispose(); @@ -169,33 +177,7 @@ class _DiscoveryScreenState extends State { return ListEntrance( index: index, child: MeshCard( - onTap: () async { - try { - final imported = await connector.importDiscoveredContact(contact); - if (!context.mounted) return; - if (!imported) { - showDismissibleSnackBar( - context, - content: Text(context.l10n.contacts_contactImportFailed), - ); - return; - } - showDismissibleSnackBar( - context, - content: Text(context.l10n.discoveredContacts_contactAdded), - action: SnackBarAction( - label: context.l10n.common_undo, - onPressed: () => connector.removeContact(contact), - ), - ); - } catch (_) { - if (!context.mounted) return; - showDismissibleSnackBar( - context, - content: Text(context.l10n.contacts_contactImportFailed), - ); - } - }, + onTap: () => _addContact(context, contact, connector), onLongPress: () => _showContactContextMenu(contact, connector), onSecondaryTap: PlatformInfo.isDesktop ? () => _showContactContextMenu(contact, connector) @@ -296,12 +278,49 @@ class _DiscoveryScreenState extends State { ), ), ), + IconButton( + tooltip: context.l10n.discoveredContacts_addContact, + icon: const Icon(Icons.person_add_alt_1), + onPressed: () => _addContact(context, contact, connector), + ), ], ), ), ); } + Future _addContact( + BuildContext context, + Contact contact, + MeshCoreConnector connector, + ) async { + try { + final imported = await connector.importDiscoveredContact(contact); + if (!context.mounted) return; + if (!imported) { + showDismissibleSnackBar( + context, + content: Text(context.l10n.contacts_contactImportFailed), + ); + return; + } + showDismissibleSnackBar( + context, + content: Text(context.l10n.discoveredContacts_contactAdded), + action: SnackBarAction( + label: context.l10n.common_undo, + onPressed: () => connector.removeContact(contact), + ), + ); + } catch (_) { + if (!context.mounted) return; + showDismissibleSnackBar( + context, + content: Text(context.l10n.contacts_contactImportFailed), + ); + } + } + Future _showContactContextMenu( Contact contact, MeshCoreConnector connector, @@ -431,6 +450,7 @@ class _DiscoveryScreenState extends State { if (searchQuery.isNotEmpty) IconButton( icon: const Icon(Icons.clear), + tooltip: context.l10n.common_clearSearch, onPressed: () { _searchController.clear(); setState(() { diff --git a/lib/screens/map_screen.dart b/lib/screens/map_screen.dart index b283cd88..aec3ba9e 100644 --- a/lib/screens/map_screen.dart +++ b/lib/screens/map_screen.dart @@ -1,3 +1,4 @@ +import 'dart:async'; import 'dart:math'; import 'package:flutter/foundation.dart'; @@ -16,12 +17,15 @@ import '../l10n/l10n.dart'; import '../models/app_settings.dart'; import '../models/channel.dart'; import '../models/contact.dart'; +import '../models/path_history.dart'; import '../l10n/contact_localization.dart'; import '../services/app_settings_service.dart'; import '../services/path_history_service.dart'; import '../services/map_marker_service.dart'; import '../services/map_tile_cache_service.dart'; +import '../storage/prefs_manager.dart'; import '../utils/contact_search.dart'; +import '../utils/disconnect_navigation_mixin.dart'; import '../utils/battery_utils.dart'; import '../utils/route_transitions.dart'; import '../widgets/quick_switch_bar.dart'; @@ -34,6 +38,7 @@ import '../theme/mesh_theme.dart'; import '../widgets/mesh_ui.dart'; import '../widgets/repeater_login_dialog.dart'; import '../widgets/room_login_dialog.dart'; +import '../helpers/guessed_location_estimator.dart'; import '../helpers/snack_bar_builder.dart'; import 'repeater_hub_screen.dart'; import 'settings_screen.dart'; @@ -59,7 +64,7 @@ class MapScreen extends StatefulWidget { State createState() => _MapScreenState(); } -class _MapScreenState extends State { +class _MapScreenState extends State with DisconnectNavigationMixin { // Zoom level at which node labels start to appear static const double _labelZoomThreshold = 14.0; // Below this zoom, nearby nodes collapse into clusters. @@ -93,15 +98,51 @@ class _MapScreenState extends State { final FocusNode _searchFocus = FocusNode(); String _searchQuery = ''; List<_GuessedLocation> _cachedGuessedLocations = []; - String _guessedLocationsCacheKey = ''; + int? _guessedLocationsCacheKey; + static const Duration _guessMaxAge = Duration(days: 7); + ({LatLng center, double zoom})? _cachedFallbackCamera; + bool _guessInFlight = false; + VoidCallback? _guessRerun; + // Saved paths for contacts outside the path-history cache, read once. + final Map> _storedPaths = {}; int? _sharedMarkersCacheSignature; Locale? _sharedMarkersCacheLocale; List<_SharedMarker> _cachedSharedMarkers = const []; _NodeMarkersCacheKey? _nodeMarkersCacheKey; List _cachedNodeMarkers = const []; + static const String _lastCameraKey = 'map_last_camera'; + + ({LatLng center, double zoom}) _fallbackCamera(MeshCoreConnector connector) { + final lat = connector.selfLatitude; + final lon = connector.selfLongitude; + if (lat != null && lon != null && isPlausibleLocation(lat, lon)) { + return (center: LatLng(lat, lon), zoom: 12.0); + } + final saved = PrefsManager.instance.getStringList(_lastCameraKey); + if (saved != null && saved.length == 3) { + final values = saved.map(double.tryParse).toList(); + if (!values.contains(null)) { + return (center: LatLng(values[0]!, values[1]!), zoom: values[2]!); + } + } + return (center: const LatLng(20, 0), zoom: _mapMinZoom); + } + + void _saveLastCamera() { + try { + final camera = _mapController.camera; + PrefsManager.instance.setStringList(_lastCameraKey, [ + camera.center.latitude.toString(), + camera.center.longitude.toString(), + camera.zoom.toString(), + ]); + } catch (_) {} + } + @override void dispose() { + _saveLastCamera(); _searchController.dispose(); _searchFocus.dispose(); _mapController.dispose(); @@ -194,15 +235,6 @@ class _MapScreenState extends State { } } - bool _checkLocationPlausibility(double lat, double lon) { - const double epsilon = 1e-6; - return (lat.abs() > epsilon || lon.abs() > epsilon) && - lat >= -90.0 && - lat <= 90.0 && - lon >= -180.0 && - lon <= 180.0; - } - double _standardDeviation(List values) { if (values.length <= 1) { return 0.0; @@ -298,7 +330,7 @@ class _MapScreenState extends State { IconButton( color: MapPalette.selected, icon: const Icon(Icons.my_location), - tooltip: context.l10n.map_setAsMyLocation, + tooltip: context.l10n.map_centerOnMe, onPressed: () => _mapController.move( LatLng(connector.selfLatitude!, connector.selfLongitude!), max(_zoom, 14), @@ -345,6 +377,9 @@ class _MapScreenState extends State { _MapConnectorSnapshot.fromConnector, ); final connector = connectorSnapshot.connector; + if (!checkConnectionAndNavigate(connector)) { + return const SizedBox.shrink(); + } final settings = context.select( (service) => service.settings, ); @@ -426,33 +461,42 @@ class _MapScreenState extends State { noLocations: true, ); - // Compute guessed locations with caching + // Guessed locations are computed in a background isolate; the last + // result stays on screen until the new one arrives. final maxRangeKm = _estimateLoRaRangeKm(connector); - final pathHashByteWidth = connector.pathHashByteWidth - .clamp(1, 4) - .toInt(); - final filteredKeys = guessCandidates - .map((c) => '${c.publicKeyHex}:${c.path.join("-")}') - .join(','); - final anchorKeys = allContactsWithLocation - .map( + final cacheKey = Object.hash( + Object.hashAll( + guessCandidates.map( + (c) => Object.hash(c.publicKeyHex, _bytesSignature(c.path)), + ), + ), + Object.hashAll( + allContactsWithLocation.map( (c) => - '${c.publicKeyHex}:${c.latitude}:${c.longitude}:${PathHelper.formatHopHex(c.path.isNotEmpty ? c.path.sublist(max(0, c.path.length - pathHashByteWidth)) : const [])}', - ) - .join(','); - final cacheKey = - '$filteredKeys|$anchorKeys|$pathHistoryVersion:$pathHashByteWidth:${connector.currentFreqHz}:${connector.currentSf}:${connector.currentBwHz}:${connector.currentTxPower}:${settings.mapShowGuessedLocations}'; + Object.hash(c.publicKeyHex, c.latitude, c.longitude, c.type), + ), + ), + pathHistoryVersion, + maxRangeKm, + connector.selfLatitude, + connector.selfLongitude, + settings.mapShowGuessedLocations, + ); if (cacheKey != _guessedLocationsCacheKey) { _guessedLocationsCacheKey = cacheKey; - _cachedGuessedLocations = settings.mapShowGuessedLocations - ? _computeGuessedLocations( - guessCandidates, - allContactsWithLocation, - pathHistory, - maxRangeKm, - pathHashByteWidth, - ) - : []; + if (settings.mapShowGuessedLocations) { + unawaited( + _startGuessedLocations( + cacheKey, + guessCandidates, + allContactsWithLocation, + pathHistory, + maxRangeKm, + ), + ); + } else { + _cachedGuessedLocations = []; + } } final guessedLocations = settings.mapShowGuessedLocations ? _cachedGuessedLocations @@ -491,14 +535,13 @@ class _MapScreenState extends State { } } - // Calculate center and zoom of all nodes, or default to (0, 0) - LatLng center = const LatLng(0, 0); - double initialZoom = 10.0; - final hasMapContent = - contactsWithLocation.isNotEmpty || - sharedMarkers.isNotEmpty || - _isSelectingPoi || - highlightPosition != null; + // Only the first frame's camera matters; afterwards reuse it instead + // of re-reading prefs on every rebuild. + final (center: fallbackCenter, zoom: fallbackZoom) = _hasInitializedMap + ? (_cachedFallbackCamera ??= _fallbackCamera(connector)) + : _fallbackCamera(connector); + LatLng center = fallbackCenter; + double initialZoom = fallbackZoom; if (contactsWithLocation.isNotEmpty || sharedMarkers.isNotEmpty) { final allPoints = [ ...contactsWithLocation.map( @@ -573,13 +616,11 @@ class _MapScreenState extends State { _hasInitializedMap = true; _showNodeLabels = initialZoom >= _labelZoomThreshold; _zoom = initialZoom; - if (hasMapContent) { - WidgetsBinding.instance.addPostFrameCallback((_) { - if (mounted) { - _mapController.move(center, initialZoom); - } - }); - } + WidgetsBinding.instance.addPostFrameCallback((_) { + if (mounted) { + _mapController.move(center, initialZoom); + } + }); } final allowBack = !connector.isConnected; @@ -769,6 +810,12 @@ class _MapScreenState extends State { onSecondaryTap: (_, latLng) { _handleMapContextPress(context, connector, latLng); }, + onMapEvent: (event) { + if (event is MapEventMoveEnd || + event is MapEventFlingAnimationEnd) { + _saveLastCamera(); + } + }, onPositionChanged: (camera, hasGesture) { // Track zoom in half-step buckets so cluster/marker // detail levels update without rebuilding every frame. @@ -925,6 +972,20 @@ class _MapScreenState extends State { pinCount: sharedMarkers.length, ), if (_isBuildingPathTrace) _buildPathTraceOverlay(), + if (contactsWithLocation.isEmpty && + selectedContact == null && + !_isBuildingPathTrace) + Positioned( + left: 16, + right: 88, + bottom: 16, + child: Card( + child: Padding( + padding: const EdgeInsets.all(12), + child: Text(context.l10n.map_noNodesLocationHint), + ), + ), + ), if (selectedContact != null && !_isBuildingPathTrace) _buildSelectedNodeCard(context, selectedContact, connector), ], @@ -992,6 +1053,7 @@ class _MapScreenState extends State { showChatNodes: settings.mapShowChatNodes, showOtherNodes: settings.mapShowOtherNodes, isBuildingPathTrace: _isBuildingPathTrace, + clusterNodes: settings.mapClusterNodes, ); if (key != _nodeMarkersCacheKey) { _nodeMarkersCacheKey = key; @@ -1007,141 +1069,100 @@ class _MapScreenState extends State { return _cachedNodeMarkers; } - List<_GuessedLocation> _computeGuessedLocations( - List allContacts, + Future _startGuessedLocations( + int cacheKey, + List candidates, List withLocation, PathHistoryService pathHistory, double? maxRangeKm, - int pathHashByteWidth, - ) { - final result = <_GuessedLocation>[]; - final hopWidth = pathHashByteWidth.clamp(1, 4).toInt(); - final anchorsByPrefix = >{}; - for (final repeater in withLocation) { - if (repeater.type != advTypeRepeater) continue; - if (repeater.publicKey.length < hopWidth) continue; - final prefix = PathHelper.formatHopHex( - repeater.publicKey.sublist(0, hopWidth), + ) async { + if (_guessInFlight) { + _guessRerun = () => _startGuessedLocations( + cacheKey, + candidates, + withLocation, + pathHistory, + maxRangeKm, ); - anchorsByPrefix.putIfAbsent(prefix, () => []).add(repeater); + return; } - - for (final contact in allContacts) { - if (contact.hasLocation) continue; - if (contact.lastSeen.isBefore( - DateTime.now().subtract(const Duration(hours: 24)), - )) { - continue; // skip stale contacts - } - - final anchorSet = {}; - - // Collect the contact-side (last-hop) repeater from every known path. - // path = [device-side hop, ..., contact-side hop] - // Only the last hop chunk is actually within radio range of the contact. - final pathSets = >[ - contact.path.toList(), - ...pathHistory - .getRecentPaths(contact.publicKeyHex) - .map((r) => r.pathBytes), - ]; - for (final pathBytes in pathSets) { - if (pathBytes.isEmpty) continue; - final lastHop = pathBytes.sublist(max(0, pathBytes.length - hopWidth)); - if (lastHop.isEmpty) continue; - - final repeaters = anchorsByPrefix[PathHelper.formatHopHex(lastHop)]; - if (repeaters != null && repeaters.isNotEmpty) { - final repeater = repeaters.first; - anchorSet.add(LatLng(repeater.latitude!, repeater.longitude!)); - } - } - - // Filter anchors that are geometrically inconsistent with radio range. - // Two anchors more than 2 * maxRange apart cannot both be in direct radio - // range of the same node, so isolated outliers are removed. - final anchors = maxRangeKm != null && anchorSet.length > 1 - ? _filterConsistentAnchors(anchorSet.toList(), maxRangeKm) - : anchorSet.toList(); - - if (anchors.isEmpty) continue; - - final LatLng position; - if (anchors.length == 1) { - // Spread single-anchor guesses around the anchor so they remain visible. - position = _offsetGuessedPosition( - anchors[0], - contact, - radiusMeters: 330, - ); - if (!_checkLocationPlausibility( - position.latitude, - position.longitude, - )) { - continue; // discard implausible guesses near (0, 0) - } - } else { - double lat = 0, lon = 0, weight = 1.0; - int counted = 0; - for (final a in anchors) { - if (counted == 0) { - lat = a.latitude; - lon = a.longitude; - } else { - lat += a.latitude * weight; - lon += a.longitude * weight; - } - // weight subsequent anchors less to create a bias towards the first (if more than 2) - weight = weight / 2; - counted++; - } - position = _offsetGuessedPosition( - LatLng(lat / anchors.length, lon / anchors.length), - contact, - radiusMeters: anchors.length >= 3 ? 80 : 120, - ); - if (!_checkLocationPlausibility( - position.latitude, - position.longitude, - )) { - continue; // discard implausible guesses near (0, 0 - } - } - result.add( - _GuessedLocation( - contact: contact, - position: position, - highConfidence: anchors.length >= 2, - ), - ); + _guessInFlight = true; + final connector = context.read(); + final selfLat = connector.selfLatitude; + final selfLon = connector.selfLongitude; + // Old paths say little about where a node is now. + final cutoff = DateTime.now().subtract(_guessMaxAge); + final eligible = candidates + .where((c) => !c.hasLocation && c.lastSeen.isAfter(cutoff)) + .toList(); + for (final c in eligible) { + final key = c.publicKeyHex; + if (pathHistory.isCached(key) || _storedPaths.containsKey(key)) continue; + _storedPaths[key] = await pathHistory.readStoredPaths(key); } - - return result; - } - - LatLng _offsetGuessedPosition( - LatLng anchor, - Contact contact, { - required double radiusMeters, - }) { - final seed = _guessSeed(contact.publicKey); - final angle = ((seed & 0xFFFF) / 0x10000) * 2 * pi; - final latOffsetDeg = (radiusMeters / 111320.0) * cos(angle); - final lonScale = max(cos(anchor.latitude * pi / 180.0).abs(), 0.2); - final lonOffsetDeg = (radiusMeters / (111320.0 * lonScale)) * sin(angle); - return LatLng( - anchor.latitude + latOffsetDeg, - anchor.longitude + lonOffsetDeg, + if (!mounted) { + _guessInFlight = false; + return; + } + List pathsFor(String key) => pathHistory.isCached(key) + ? pathHistory.peekRecentPaths(key) + : _storedPaths[key] ?? const []; + final input = ( + candidates: [ + for (final c in eligible) + ( + publicKey: c.publicKey, + paths: [ + (c.path.toList(), c.pathHashWidth), + for (final r in pathsFor(c.publicKeyHex)) + ( + r.pathBytes, + Contact.inferPathHashWidth(r.hopCount, r.pathBytes.length), + ), + ], + ), + ], + anchors: [ + for (final r in withLocation) + if (r.type == advTypeRepeater || r.type == advTypeRoom) + (r.publicKey, r.latitude!, r.longitude!), + ], + selfPosition: + selfLat != null && + selfLon != null && + isPlausibleLocation(selfLat, selfLon) + ? (selfLat, selfLon) + : null, + maxRangeKm: maxRangeKm, ); - } - - int _guessSeed(Uint8List publicKey) { - var seed = 0x811C9DC5; - for (final byte in publicKey) { - seed ^= byte; - seed = (seed * 0x01000193) & 0x7FFFFFFF; + List<(int, double, double, bool)> placed; + try { + placed = await compute(estimateGuessedLocations, input); + } catch (e) { + debugPrint('Guessed location estimate failed: $e'); + placed = const []; + } finally { + _guessInFlight = false; } - return seed; + final rerun = _guessRerun; + _guessRerun = null; + if (!mounted) return; + if (!context.read().settings.mapShowGuessedLocations) { + return; + } + // Show this result even if inputs moved on; it is newer than what is on + // screen, and the queued rerun replaces it shortly. + rerun?.call(); + setState(() { + _cachedGuessedLocations = [ + for (final (index, lat, lon, highConfidence) in placed) + _GuessedLocation( + contact: eligible[index], + position: LatLng(lat, lon), + highConfidence: highConfidence, + ), + ]; + }); } /// Estimates the free-space maximum LoRa range in km from the connected @@ -1190,20 +1211,6 @@ class _MapScreenState extends State { } } - /// Removes anchors that have no neighbour within 2 * maxRangeKm. - /// A node cannot be simultaneously in radio range of two points farther apart - /// than twice the expected maximum range. - List _filterConsistentAnchors( - List anchors, - double maxRangeKm, - ) { - const distance = Distance(); - final maxDistM = maxRangeKm * 2000; - return anchors - .where((a) => anchors.any((b) => b != a && distance(a, b) <= maxDistM)) - .toList(); - } - List _buildGuessedMarker( List<_GuessedLocation> guessed, { required bool showLabels, @@ -1380,7 +1387,10 @@ class _MapScreenState extends State { } } - if (_zoom >= _clusterOffZoom || overlapsMode || _isBuildingPathTrace) { + if (!settings.mapClusterNodes || + _zoom >= _clusterOffZoom || + overlapsMode || + _isBuildingPathTrace) { for (final contact in items) { addNode(contact); } @@ -1832,6 +1842,7 @@ class _MapScreenState extends State { ? IconButton( color: _overlayPrimaryTextColor, icon: const Icon(Icons.close, size: 18), + tooltip: context.l10n.common_clearSearch, onPressed: () { setState(() { _searchQuery = ''; @@ -1953,6 +1964,14 @@ class _MapScreenState extends State { !settings.mapShowChatNodes, ), ), + _mapChip( + label: context.l10n.map_groupChip, + selected: settings.mapClusterNodes, + color: MapPalette.cluster, + onTap: () => settingsService.setMapClusterNodes( + !settings.mapClusterNodes, + ), + ), ]; if (constraints.maxWidth < 600) { @@ -1995,45 +2014,53 @@ class _MapScreenState extends State { final accent = color ?? MapPalette.selected; return Padding( padding: const EdgeInsets.only(right: 6), - child: Material( - color: selected - ? Color.alphaBlend( - accent.withValues(alpha: 0.34), - _overlayPanelColor, - ) - : _overlayPanelColor, - shape: StadiumBorder( - side: BorderSide( - color: selected ? accent : _overlayBorderColor, - width: selected ? 1.5 : 1, + child: Semantics( + button: true, + selected: selected, + child: Material( + color: selected + ? Color.alphaBlend( + accent.withValues(alpha: 0.34), + _overlayPanelColor, + ) + : _overlayPanelColor, + shape: StadiumBorder( + side: BorderSide( + color: selected ? accent : _overlayBorderColor, + width: selected ? 1.5 : 1, + ), ), - ), - clipBehavior: Clip.antiAlias, - child: InkWell( - onTap: () { - HapticFeedback.selectionClick(); - onTap(); - }, - child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 7), - child: Row( - mainAxisSize: MainAxisSize.min, - children: [ - if (selected) ...[ - Icon(Icons.check, size: 13, color: _overlayPrimaryTextColor), - const SizedBox(width: 4), - ], - Text( - label, - style: TextStyle( - fontSize: 12.5, - fontWeight: FontWeight.w600, - color: selected - ? _overlayPrimaryTextColor - : _overlaySecondaryTextColor, + clipBehavior: Clip.antiAlias, + child: InkWell( + onTap: () { + HapticFeedback.selectionClick(); + onTap(); + }, + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 7), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + if (selected) ...[ + Icon( + Icons.check, + size: 13, + color: _overlayPrimaryTextColor, + ), + const SizedBox(width: 4), + ], + Text( + label, + style: TextStyle( + fontSize: 12.5, + fontWeight: FontWeight.w600, + color: selected + ? _overlayPrimaryTextColor + : _overlaySecondaryTextColor, + ), ), - ), - ], + ], + ), ), ), ), @@ -2392,6 +2419,7 @@ class _MapScreenState extends State { IconButton( color: _overlayPrimaryTextColor, icon: const Icon(Icons.close, size: 20), + tooltip: context.l10n.common_close, onPressed: _clearSelection, ), ], @@ -2526,6 +2554,12 @@ class _MapScreenState extends State { } _showRoomLogin(context, contact); }), + action(context.l10n.map_manageServer, Icons.room_preferences, () { + if (!contact.isActive) { + connector.importDiscoveredContact(contact); + } + _showRoomLogin(context, contact, manage: true); + }), ]; default: return const []; @@ -2705,13 +2739,16 @@ class _MapScreenState extends State { ); } - void _showRoomLogin(BuildContext context, Contact room) { + void _showRoomLogin( + BuildContext context, + Contact room, { + bool manage = false, + }) { showDialog( context: context, builder: (context) => RoomLoginDialog( room: room, - // onLogin(password, isAdmin) isAdmin not used for room caht screen - onLogin: (password, _) { + onLogin: (password, isAdmin) { final connector = context.read(); final unread = connector.getUnreadCountForContactKey( room.publicKeyHex, @@ -2720,8 +2757,13 @@ class _MapScreenState extends State { Navigator.push( context, MaterialPageRoute( - builder: (context) => - ChatScreen(contact: room, initialUnreadCount: unread), + builder: (context) => manage + ? RepeaterHubScreen( + repeater: room, + password: password, + isAdmin: isAdmin, + ) + : ChatScreen(contact: room, initialUnreadCount: unread), ), ); }, @@ -2791,6 +2833,18 @@ class _MapScreenState extends State { child: Text(context.l10n.map_joinRoom), ), ); + actions.add( + FilledButton( + onPressed: () { + if (!contact.isActive) { + connector.importDiscoveredContact(contact); + } + Navigator.pop(sheetContext); + _showRoomLogin(context, contact, manage: true); + }, + child: Text(context.l10n.map_manageServer), + ), + ); } return SafeArea( child: SingleChildScrollView( @@ -3437,6 +3491,16 @@ class _MapScreenState extends State { onChanged: (value) => service.setMapShowMarkers(value), ), + SwitchListTile( + title: Text(sheetContext.l10n.map_clusterNodes), + subtitle: Text( + sheetContext.l10n.map_clusterNodesSubtitle, + ), + value: settings.mapClusterNodes, + dense: true, + onChanged: (value) => + service.setMapClusterNodes(value), + ), SwitchListTile( title: Text( sheetContext.l10n.map_showGuessedLocations, @@ -3794,6 +3858,7 @@ int _mapContactSignature(Contact contact) { contact.flags, contact.pathLength, _bytesSignature(contact.path), + contact.pathHashWidth, contact.pathOverride, _bytesSignature(contact.pathOverrideBytes), contact.latitude, @@ -3836,42 +3901,32 @@ class _MapConnectorSnapshot { ), ); + // Only detect that a conversation changed; _collectSharedMarkers does the + // per-message scan when this signature moves. final markerParts = [connector.selfName]; for (final contact in connector.contacts) { - markerParts.add(contact.publicKeyHex); - markerParts.add(contact.name); - for (final message in connector.getMessages(contact)) { - if (!message.text.trimLeft().startsWith('m:')) continue; - markerParts.add( - Object.hash( - message.messageId, - message.text, - message.timestamp.millisecondsSinceEpoch, - message.isOutgoing, - ), - ); - } + final messages = connector.getMessages(contact); + markerParts.add( + Object.hash( + contact.publicKeyHex, + contact.name, + messages.length, + messages.isEmpty ? null : messages.last.messageId, + ), + ); } for (final channel in connector.channels) { + final messages = connector.getChannelMessages(channel); markerParts.add( Object.hash( channel.index, channel.name, channel.isPublicChannel, channel.isEmpty, + messages.length, + messages.isEmpty ? null : messages.last.messageId, ), ); - for (final message in connector.getChannelMessages(channel)) { - if (!message.text.trimLeft().startsWith('m:')) continue; - markerParts.add( - Object.hash( - message.messageId, - message.text, - message.senderName, - message.timestamp.millisecondsSinceEpoch, - ), - ); - } } return _MapConnectorSnapshot( @@ -3929,6 +3984,7 @@ class _NodeMarkersCacheKey { final bool showChatNodes; final bool showOtherNodes; final bool isBuildingPathTrace; + final bool clusterNodes; const _NodeMarkersCacheKey({ required this.contactsSignature, @@ -3948,6 +4004,7 @@ class _NodeMarkersCacheKey { required this.showChatNodes, required this.showOtherNodes, required this.isBuildingPathTrace, + required this.clusterNodes, }); @override @@ -3969,7 +4026,8 @@ class _NodeMarkersCacheKey { showRepeaters == other.showRepeaters && showChatNodes == other.showChatNodes && showOtherNodes == other.showOtherNodes && - isBuildingPathTrace == other.isBuildingPathTrace; + isBuildingPathTrace == other.isBuildingPathTrace && + clusterNodes == other.clusterNodes; } @override @@ -3991,6 +4049,7 @@ class _NodeMarkersCacheKey { showChatNodes, showOtherNodes, isBuildingPathTrace, + clusterNodes, ); } @@ -4029,6 +4088,7 @@ MarkerPayload? parseMarkerText(String text) { 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); diff --git a/lib/screens/neighbors_screen.dart b/lib/screens/neighbors_screen.dart index 219afa6e..c3537948 100644 --- a/lib/screens/neighbors_screen.dart +++ b/lib/screens/neighbors_screen.dart @@ -31,12 +31,16 @@ class NeighborsScreen extends StatefulWidget { class _NeighborsScreenState extends State { static const int _reqNeighborsKeyLen = 4; + // Firmware packs results into a 130-byte buffer (simple_repeater/MyMesh.cpp). + static const int _reqNeighborsPageSize = 130 ~/ (_reqNeighborsKeyLen + 5); static const int _statusPayloadOffset = 8; static const int _statusStatsSize = 52; static const int _statusResponseBytes = _statusPayloadOffset + _statusStatsSize; Uint8List _tagData = Uint8List(4); + bool _awaitingSent = false; int _neighborCount = 0; + int _pageOffset = 0; bool _isLoading = false; bool _isLoaded = false; @@ -82,12 +86,14 @@ class _NeighborsScreenState extends State { _frameSubscription = connector.receivedFrames.listen((frame) { if (frame.isEmpty) return; - if (frame[0] == respCodeSent) { + if (frame[0] == respCodeSent && _awaitingSent && frame.length >= 6) { + _awaitingSent = false; _tagData = frame.sublist(2, 6); } // Check if it's a binary response if (frame[0] == pushCodeBinaryResponse && + frame.length >= 6 && listEquals(frame.sublist(2, 6), _tagData)) { _handleNeighborsResponse(connector, frame.sublist(6)); } @@ -148,7 +154,11 @@ class _NeighborsScreenState extends State { final contacts = connector.allContactsUnfiltered; try { final neighborCount = buffer.readUInt16LE(); - final parsedNeighbors = parseNeighborsData(buffer, buffer.readUInt16LE()); + final page = parseNeighborsData(buffer, buffer.readUInt16LE()); + final parsedNeighbors = [ + if (_pageOffset > 0) ...?_parsedNeighbors, + ...page, + ]; contacts.where((c) => c.type == advTypeRepeater).forEach((repeater) { for (var neighborData in parsedNeighbors) { final publicKey = neighborData['publicKey']; @@ -166,13 +176,19 @@ class _NeighborsScreenState extends State { _neighborCount = neighborCount; }); + _tagData = Uint8List(4); + _statusTimeout?.cancel(); + _recordStatusResult(true); + if (!mounted) return; + if (page.isNotEmpty && parsedNeighbors.length < neighborCount) { + _loadNeighbors(offset: parsedNeighbors.length); + return; + } showDismissibleSnackBar( context, content: Text(context.l10n.neighbors_receivedData), backgroundColor: Theme.of(context).colorScheme.tertiary, ); - _statusTimeout?.cancel(); - if (!mounted) return; setState(() { _isLoading = false; _isLoaded = true; @@ -183,9 +199,10 @@ class _NeighborsScreenState extends State { } } - Future _loadNeighbors() async { + Future _loadNeighbors({int offset = 0}) async { if (_commandService == null) return; + _pageOffset = offset; setState(() { _isLoading = true; _isLoaded = false; @@ -202,13 +219,14 @@ class _NeighborsScreenState extends State { payload: Uint8List.fromList([ reqTypeGetNeighbors, 0x00, - 0x0F, - 0x00, - 0x00, + _reqNeighborsPageSize, + offset & 0xFF, + (offset >> 8) & 0xFF, 0x00, _reqNeighborsKeyLen, ]), ); + _awaitingSent = true; await connector.sendFrame(frame); final pathLengthValue = selection.useFlood ? -1 : selection.hopCount; @@ -234,6 +252,7 @@ class _NeighborsScreenState extends State { _recordStatusResult(false); }); } catch (e) { + _awaitingSent = false; if (mounted) { setState(() { _isLoading = false; diff --git a/lib/screens/path_trace_map.dart b/lib/screens/path_trace_map.dart index 3d4032c8..5d1d8278 100644 --- a/lib/screens/path_trace_map.dart +++ b/lib/screens/path_trace_map.dart @@ -91,6 +91,7 @@ class _PathTraceMapScreenState extends State Timer? _timeoutTimer; bool _isLoading = false; + bool _awaitingTraceSent = false; bool _failed2Loaded = false; bool _hasData = false; PathTraceData? _traceData; @@ -112,6 +113,7 @@ class _PathTraceMapScreenState extends State // Live path resolved at trace time; used by the response handler for // endpoint inference so it matches the path that was actually traced. Uint8List _tracedPath = Uint8List(0); + int _tracedPathHashWidth = 1; // Packet-flow animation + multi-path view state. late final PathPlaybackController _playback; @@ -184,9 +186,13 @@ class _PathTraceMapScreenState extends State Uint8List? _tracePathFromBytes( Uint8List pathBytes, int traceHashByteWidth, - MeshCoreConnector connector, - ) { - final hops = PathHelper.splitPathBytes(pathBytes, widget.pathHashByteWidth); + MeshCoreConnector connector, { + int? pathHashByteWidth, + }) { + final hops = PathHelper.splitPathBytes( + pathBytes, + pathHashByteWidth ?? widget.pathHashByteWidth, + ); final traceBytes = []; for (final hop in hops) { final traceHop = _expandHopForTrace(hop, traceHashByteWidth, connector); @@ -316,11 +322,12 @@ class _PathTraceMapScreenState extends State Uint8List? buildPath( Uint8List pathBytes, int traceHashByteWidth, - MeshCoreConnector connector, - ) { + MeshCoreConnector connector, { + int? pathHashByteWidth, + }) { final pathHops = PathHelper.splitPathBytes( pathBytes, - widget.pathHashByteWidth, + pathHashByteWidth ?? widget.pathHashByteWidth, ); final hopWidth = traceHashByteWidth.clamp(1, pubKeySize).toInt(); @@ -375,17 +382,21 @@ class _PathTraceMapScreenState extends State /// route (flipPathAround), re-read that contact's live forced/auto path from /// the connector so a path the user just changed (force flood / set path / /// reset to auto) is honored immediately, instead of the value captured when - /// this screen was first pushed. - Uint8List _resolveLivePath(MeshCoreConnector connector) { + /// this screen was first pushed. Also returns the path's bytes per hop: the + /// contact's learned width for its device path, the local mode otherwise. + (Uint8List, int) _resolveLivePath(MeshCoreConnector connector) { final target = widget.targetContact; if (!widget.flipPathAround || target == null) { - return widget.path; + return (widget.path, widget.pathHashByteWidth); } final live = connector.allContactsUnfiltered.firstWhere( (c) => c.publicKeyHex == target.publicKeyHex, orElse: () => target, ); - return live.pathBytesForDisplay; + final width = live.pathOverride == null && live.path.isNotEmpty + ? live.pathHashWidth + : widget.pathHashByteWidth; + return (live.pathBytesForDisplay, width); } Future _doPathTrace() async { @@ -398,17 +409,28 @@ class _PathTraceMapScreenState extends State } final connector = Provider.of(context, listen: false); - final traceHashByteWidth = _traceHashByteWidth(widget.pathHashByteWidth); - final livePath = _resolveLivePath(connector); + final (livePath, hopWidth) = _resolveLivePath(connector); + final traceHashByteWidth = _traceHashByteWidth(hopWidth); _tracedPath = livePath; + _tracedPathHashWidth = hopWidth; final pathTmp = widget.reversePathAround - ? _reversePathByHop(livePath, widget.pathHashByteWidth) + ? _reversePathByHop(livePath, hopWidth) : livePath; final path = widget.flipPathAround - ? buildPath(pathTmp, traceHashByteWidth, connector) - : _tracePathFromBytes(pathTmp, traceHashByteWidth, connector); + ? buildPath( + pathTmp, + traceHashByteWidth, + connector, + pathHashByteWidth: hopWidth, + ) + : _tracePathFromBytes( + pathTmp, + traceHashByteWidth, + connector, + pathHashByteWidth: hopWidth, + ); if (path == null) { if (!mounted) return; @@ -442,6 +464,7 @@ class _PathTraceMapScreenState extends State flags, // flag payload: tracePayload, ); + _awaitingTraceSent = true; connector.sendFrame(frame); } @@ -455,7 +478,8 @@ class _PathTraceMapScreenState extends State try { final code = frameBuffer.readUInt8(); - if (code == respCodeSent) { + if (code == respCodeSent && _awaitingTraceSent) { + _awaitingTraceSent = false; frameBuffer.skipBytes(1); //reserved tagData = frameBuffer.readBytes(4); final timeoutMilliseconds = frameBuffer.readUInt32LE(); @@ -474,7 +498,8 @@ class _PathTraceMapScreenState extends State ); } - if (code == respCodeErr) { + if (code == respCodeErr && _awaitingTraceSent) { + _awaitingTraceSent = false; _timeoutTimer?.cancel(); if (!mounted) return; setState(() { @@ -593,7 +618,7 @@ class _PathTraceMapScreenState extends State c.hasLocation && c.path.isNotEmpty && _matchesHopPrefix( - _lastHopChunk(c.path, widget.pathHashByteWidth), + _lastHopChunk(c.path, c.pathHashWidth), hop, ), ) @@ -633,7 +658,7 @@ class _PathTraceMapScreenState extends State // sits in the middle of the symmetric sequence; .last is the local side. final tracedHops = PathHelper.splitPathBytes( _tracedPath, - widget.pathHashByteWidth, + _tracedPathHashWidth, ); final hopsForEndpoint = tracedHops.isNotEmpty ? tracedHops @@ -649,7 +674,7 @@ class _PathTraceMapScreenState extends State c.hasLocation && c.path.isNotEmpty && _matchesHopPrefix( - _lastHopChunk(c.path, widget.pathHashByteWidth), + _lastHopChunk(c.path, c.pathHashWidth), lastHop, ), ) @@ -795,7 +820,7 @@ class _PathTraceMapScreenState extends State c.hasLocation && c.path.isNotEmpty && _matchesHopPrefix( - _lastHopChunk(c.path, widget.pathHashByteWidth), + _lastHopChunk(c.path, c.pathHashWidth), hop, ), ) @@ -837,7 +862,10 @@ class _PathTraceMapScreenState extends State if (record.pathBytes.isEmpty) continue; final recordHops = PathHelper.splitPathBytes( record.pathBytes, - widget.pathHashByteWidth, + Contact.inferPathHashWidth( + record.hopCount, + record.pathBytes.length, + ), ); if (!seen.add(_pathKeyForHops(recordHops))) continue; if (altIndex >= kAlternatePathColors.length) break; diff --git a/lib/screens/region_management_screen.dart b/lib/screens/region_management_screen.dart index df6c477c..3997f8b9 100644 --- a/lib/screens/region_management_screen.dart +++ b/lib/screens/region_management_screen.dart @@ -78,13 +78,82 @@ class _RegionManagementScreenState extends State { ), ], ), - body: ListView.builder( - padding: const EdgeInsets.only(left: 16, right: 16, top: 8, bottom: 88), - itemCount: _regions.length, - itemBuilder: (context, index) { - final region = _regions[index]; - return _buildRegionTile(context, region); - }, + body: _regions.isEmpty + ? _buildEmptyState(context) + : ListView.builder( + padding: const EdgeInsets.only( + left: 16, + right: 16, + top: 8, + bottom: 88, + ), + itemCount: _regions.length + 1, + itemBuilder: (context, index) { + if (index == 0) return _buildDefaultRegionTile(context); + return _buildRegionTile(context, _regions[index - 1]); + }, + ), + ); + } + + Widget _buildEmptyState(BuildContext context) { + final l10n = context.l10n; + return Center( + child: Padding( + padding: const EdgeInsets.all(24), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + const Icon(Icons.landscape, size: 48, color: MeshPalette.blue), + const SizedBox(height: 16), + Text( + l10n.settings_regionEmptyExplanation, + textAlign: TextAlign.center, + style: Theme.of(context).textTheme.bodyMedium, + ), + const SizedBox(height: 24), + FilledButton.icon( + icon: const Icon(Icons.travel_explore), + label: Text(l10n.settings_regionFetchFromRepeaters), + onPressed: _isFetchingRegions ? null : _showFetchRegionsDialog, + ), + const SizedBox(height: 8), + OutlinedButton.icon( + icon: const Icon(Icons.add), + label: Text(l10n.settings_regionAddRegion), + onPressed: () => _showAddRegionDialog(context), + ), + ], + ), + ), + ); + } + + Widget _buildDefaultRegionTile(BuildContext context) { + final l10n = context.l10n; + final connector = context.watch(); + final current = _regions.contains(connector.defaultRegion) + ? connector.defaultRegion + : ''; + return Padding( + padding: const EdgeInsets.only(bottom: 8), + child: DropdownButtonFormField( + key: ValueKey(current), + initialValue: current, + decoration: InputDecoration( + labelText: l10n.settings_regionDefault, + helperText: l10n.settings_regionDefaultSubtitle, + border: const OutlineInputBorder(), + ), + items: [ + DropdownMenuItem( + value: '', + child: Text(l10n.settings_regionDefaultNone), + ), + for (final region in _regions) + DropdownMenuItem(value: region, child: Text(region)), + ], + onChanged: (value) => connector.setDefaultRegion(value ?? ''), ), ); } @@ -440,7 +509,12 @@ class _RegionManagementScreenState extends State { await connector.clearContactPath(repeater); return; } - await connector.setContactPath(repeater, originalPath, originalPathLength); + await connector.setContactPath( + repeater, + originalPath, + originalPathLength, + pathHashWidth: repeater.pathHashWidth, + ); } Set _parseRegionsResponse(Uint8List frame) { diff --git a/lib/screens/repeater_cli_screen.dart b/lib/screens/repeater_cli_screen.dart index 5024f334..b6cab578 100644 --- a/lib/screens/repeater_cli_screen.dart +++ b/lib/screens/repeater_cli_screen.dart @@ -34,6 +34,8 @@ class _RepeaterCliScreenState extends State { int _historyIndex = -1; StreamSubscription? _frameSubscription; RepeaterCommandService? _commandService; + bool _regionLoadActive = false; + static final RegExp _regionLoadPattern = RegExp(r'^region +load( |$)'); late final List> _quickCommands = [ {'labelKey': 'advertise', 'command': 'advert'}, @@ -111,8 +113,13 @@ class _RepeaterCliScreenState extends State { } void _sendCommand({bool showDebug = false}) async { + if (_regionLoadActive) { + _sendRegionLoadLine(); + return; + } final command = _commandController.text.trim(); if (command.isEmpty) return; + final startsRegionLoad = _regionLoadPattern.hasMatch(command.toLowerCase()); setState(() { _commandHistory.add({ @@ -121,6 +128,9 @@ class _RepeaterCliScreenState extends State { 'timestamp': DateTime.now().toString(), }); }); + _commandController.clear(); + _historyIndex = -1; + _commandFocusNode.requestFocus(); if (showDebug && mounted) { final frame = buildSendCliCommandFrame( @@ -168,12 +178,79 @@ class _RepeaterCliScreenState extends State { } } + // The reply to `region load` may be lost even though the repeater entered + // load mode, so enter it regardless; a blank line always ends it safely. + if (startsRegionLoad && mounted) { + setState(() { + _regionLoadActive = true; + _commandHistory.add({ + 'type': 'response', + 'text': context.l10n.repeater_cliRegionLoadActive, + 'timestamp': DateTime.now().toString(), + }); + }); + } + + _scrollToBottom(); + } + + /// In `region load` mode lines go out verbatim: no `XX|` prefix and no + /// trimming, since indentation encodes the parent. Region lines get no + /// reply; a blank line commits the load and is answered with + /// "OK - loaded N regions". + Future _sendRegionLoadLine() async { + final line = _commandController.text; + final isTerminator = line.trim().isEmpty; + final connector = Provider.of(context, listen: false); + final repeater = _resolveRepeater(connector); + setState(() { + _commandHistory.add({ + 'type': 'command', + 'text': isTerminator ? context.l10n.repeater_cliRegionLoadEnd : line, + 'timestamp': DateTime.now().toString(), + }); + }); _commandController.clear(); _historyIndex = -1; _commandFocusNode.requestFocus(); + String? response; + var ended = false; + try { + if (isTerminator) { + response = await _commandService!.sendCommand( + repeater, + '', + retries: 1, + raw: true, + ); + ended = true; + } else { + await _commandService!.sendUnansweredLine(repeater, line); + } + } catch (e) { + if (mounted) { + response = context.l10n.repeater_cliCommandError(e.toString()); + } + } + if (!mounted) return; + setState(() { + if (ended) _regionLoadActive = false; + if (response != null) { + _commandHistory.add({ + 'type': 'response', + 'text': response, + 'timestamp': DateTime.now().toString(), + }); + } + }); + _scrollToBottom(); + } + + void _scrollToBottom() { + if (!mounted) return; Future.delayed(const Duration(milliseconds: 100), () { - if (_scrollController.hasClients) { + if (mounted && _scrollController.hasClients) { _scrollController.animateTo( _scrollController.position.maxScrollExtent, duration: const Duration(milliseconds: 200), @@ -337,7 +414,9 @@ class _RepeaterCliScreenState extends State { backgroundColor: MeshPalette.blueBg, side: const BorderSide(color: MeshPalette.blueLine), visualDensity: VisualDensity.compact, - onPressed: () => _useQuickCommand(cmd['command']!), + onPressed: _regionLoadActive + ? null + : () => _useQuickCommand(cmd['command']!), ), ); }).toList(), @@ -392,12 +471,14 @@ class _RepeaterCliScreenState extends State { color: MeshPalette.ink, ), decoration: InputDecoration( - hintText: context.l10n.repeater_enterCommandHint, + hintText: _regionLoadActive + ? context.l10n.repeater_cliRegionLoadHint + : context.l10n.repeater_enterCommandHint, hintStyle: MeshTheme.mono( fontSize: 13, color: MeshPalette.ink4, ), - prefixText: '> ', + prefixText: _regionLoadActive ? '' : '> ', prefixStyle: MeshTheme.mono( fontSize: 13, color: MeshPalette.blue, @@ -609,22 +690,6 @@ class _RepeaterCliScreenState extends State { command: 'powersaving {on|off}', description: l10n.repeater_cliHelpPowersavingOnOff, ), - _CommandHelpEntry( - command: 'erase', - description: l10n.repeater_cliHelpErase, - ), - _CommandHelpEntry( - command: 'stats-packets', - description: l10n.repeater_cliHelpStatsPackets, - ), - _CommandHelpEntry( - command: 'stats-radio', - description: l10n.repeater_cliHelpStatsRadio, - ), - _CommandHelpEntry( - command: 'stats-core', - description: l10n.repeater_cliHelpStatsCore, - ), ]; final settingsCommands = [ @@ -648,6 +713,14 @@ class _RepeaterCliScreenState extends State { command: 'set flood.max {max-hops}', description: l10n.repeater_cliHelpSetFloodMax, ), + _CommandHelpEntry( + command: 'set flood.max.unscoped {0-64}', + description: l10n.repeater_cliHelpSetFloodMaxUnscoped, + ), + _CommandHelpEntry( + command: 'set flood.max.advert {0-64}', + description: l10n.repeater_cliHelpSetFloodMaxAdvert, + ), _CommandHelpEntry( command: 'set int.thresh {db}', description: l10n.repeater_cliHelpSetIntThresh, @@ -700,26 +773,6 @@ class _RepeaterCliScreenState extends State { command: 'set direct.txdelay {factor}', description: l10n.repeater_cliHelpSetDirectTxDelay, ), - _CommandHelpEntry( - command: 'set bridge.enabled {on|off}', - description: l10n.repeater_cliHelpSetBridgeEnabled, - ), - _CommandHelpEntry( - command: 'set bridge.delay {0-10000}', - description: l10n.repeater_cliHelpSetBridgeDelay, - ), - _CommandHelpEntry( - command: 'set bridge.source {rx|tx}', - description: l10n.repeater_cliHelpSetBridgeSource, - ), - _CommandHelpEntry( - command: 'set bridge.baud {speed}', - description: l10n.repeater_cliHelpSetBridgeBaud, - ), - _CommandHelpEntry( - command: 'set bridge.secret {shared-secret}', - description: l10n.repeater_cliHelpSetBridgeSecret, - ), _CommandHelpEntry( command: 'set adc.multiplier {factor}', description: l10n.repeater_cliHelpSetAdcMultiplier, @@ -744,6 +797,14 @@ class _RepeaterCliScreenState extends State { command: 'set radio.rxgain {on|off}', description: l10n.repeater_cliHelpSetRadioRxGain, ), + _CommandHelpEntry( + command: 'set radio.fem.rxgain {on|off}', + description: l10n.repeater_cliHelpSetRadioFemRxGain, + ), + _CommandHelpEntry( + command: 'set radio.fem.txgain {on|off}', + description: l10n.repeater_cliHelpSetRadioFemTxGain, + ), _CommandHelpEntry( command: 'set owner.info {text}', description: l10n.repeater_cliHelpSetOwnerInfo, @@ -756,17 +817,57 @@ class _RepeaterCliScreenState extends State { command: 'set loop.detect {off|minimal|moderate|strict}', description: l10n.repeater_cliHelpSetLoopDetect, ), + ]; + + final bridgeCommands = [ _CommandHelpEntry( - command: 'set freq {mhz}', - description: l10n.repeater_cliHelpSetFreq, + command: 'set bridge.enabled {on|off}', + description: l10n.repeater_cliHelpSetBridgeEnabled, + ), + _CommandHelpEntry( + command: 'set bridge.delay {0-10000}', + description: l10n.repeater_cliHelpSetBridgeDelay, + ), + _CommandHelpEntry( + command: 'set bridge.source {rx|tx}', + description: l10n.repeater_cliHelpSetBridgeSource, + ), + _CommandHelpEntry( + command: 'set bridge.baud {speed}', + description: l10n.repeater_cliHelpSetBridgeBaud, + ), + _CommandHelpEntry( + command: 'set bridge.secret {shared-secret}', + description: l10n.repeater_cliHelpSetBridgeSecret, ), _CommandHelpEntry( command: 'set bridge.channel {1-14}', description: l10n.repeater_cliHelpSetBridgeChannel, ), - ]; - - final bridgeCommands = [ + _CommandHelpEntry( + command: 'get bridge.enabled', + description: l10n.repeater_cliHelpGetBridgeEnabled, + ), + _CommandHelpEntry( + command: 'get bridge.delay', + description: l10n.repeater_cliHelpGetBridgeDelay, + ), + _CommandHelpEntry( + command: 'get bridge.source', + description: l10n.repeater_cliHelpGetBridgeSource, + ), + _CommandHelpEntry( + command: 'get bridge.baud', + description: l10n.repeater_cliHelpGetBridgeBaud, + ), + _CommandHelpEntry( + command: 'get bridge.channel', + description: l10n.repeater_cliHelpGetBridgeChannel, + ), + _CommandHelpEntry( + command: 'get bridge.secret', + description: l10n.repeater_cliHelpGetBridgeSecret, + ), _CommandHelpEntry( command: 'get bridge.type', description: l10n.repeater_cliHelpGetBridgeType, @@ -808,6 +909,10 @@ class _RepeaterCliScreenState extends State { command: 'region load', description: l10n.repeater_cliHelpRegionLoad, ), + _CommandHelpEntry( + command: 'region def {name}[,{jump-prefix}] ...', + description: l10n.repeater_cliHelpRegionDef, + ), _CommandHelpEntry( command: 'region get {* | name-prefix}', description: l10n.repeater_cliHelpRegionGet, @@ -871,10 +976,6 @@ class _RepeaterCliScreenState extends State { command: 'get public.key', description: l10n.repeater_cliHelpGetPublicKey, ), - _CommandHelpEntry( - command: 'get prv.key', - description: l10n.repeater_cliHelpGetPrvKey, - ), _CommandHelpEntry( command: 'get repeat', description: l10n.repeater_cliHelpGetRepeat, @@ -895,6 +996,14 @@ class _RepeaterCliScreenState extends State { command: 'get radio.rxgain', description: l10n.repeater_cliHelpGetRadioRxGain, ), + _CommandHelpEntry( + command: 'get radio.fem.rxgain', + description: l10n.repeater_cliHelpGetRadioFemRxGain, + ), + _CommandHelpEntry( + command: 'get radio.fem.txgain', + description: l10n.repeater_cliHelpGetRadioFemTxGain, + ), _CommandHelpEntry( command: 'get af', description: l10n.repeater_cliHelpGetAf, @@ -955,6 +1064,14 @@ class _RepeaterCliScreenState extends State { command: 'get flood.max', description: l10n.repeater_cliHelpGetFloodMax, ), + _CommandHelpEntry( + command: 'get flood.max.unscoped', + description: l10n.repeater_cliHelpGetFloodMaxUnscoped, + ), + _CommandHelpEntry( + command: 'get flood.max.advert', + description: l10n.repeater_cliHelpGetFloodMaxAdvert, + ), _CommandHelpEntry( command: 'get owner.info', description: l10n.repeater_cliHelpGetOwnerInfo, @@ -967,34 +1084,6 @@ class _RepeaterCliScreenState extends State { command: 'get loop.detect', description: l10n.repeater_cliHelpGetLoopDetect, ), - _CommandHelpEntry( - command: 'get acl', - description: l10n.repeater_cliHelpGetAcl, - ), - _CommandHelpEntry( - command: 'get bridge.enabled', - description: l10n.repeater_cliHelpGetBridgeEnabled, - ), - _CommandHelpEntry( - command: 'get bridge.delay', - description: l10n.repeater_cliHelpGetBridgeDelay, - ), - _CommandHelpEntry( - command: 'get bridge.source', - description: l10n.repeater_cliHelpGetBridgeSource, - ), - _CommandHelpEntry( - command: 'get bridge.baud', - description: l10n.repeater_cliHelpGetBridgeBaud, - ), - _CommandHelpEntry( - command: 'get bridge.channel', - description: l10n.repeater_cliHelpGetBridgeChannel, - ), - _CommandHelpEntry( - command: 'get bridge.secret', - description: l10n.repeater_cliHelpGetBridgeSecret, - ), _CommandHelpEntry( command: 'get bootloader.ver', description: l10n.repeater_cliHelpGetBootloaderVer, @@ -1103,7 +1192,12 @@ class _RepeaterCliScreenState extends State { const SizedBox(height: 16), _buildHelpSection(context, l10n.repeater_sensors, sensorCommands), const SizedBox(height: 16), - _buildHelpSection(context, l10n.repeater_bridge, bridgeCommands), + _buildHelpSection( + context, + l10n.repeater_bridge, + bridgeCommands, + note: l10n.repeater_bridgeNote, + ), const SizedBox(height: 16), _buildHelpSection( context, diff --git a/lib/screens/repeater_hub_screen.dart b/lib/screens/repeater_hub_screen.dart index 2de9225e..324cd231 100644 --- a/lib/screens/repeater_hub_screen.dart +++ b/lib/screens/repeater_hub_screen.dart @@ -122,7 +122,9 @@ class RepeaterHubScreen extends StatelessWidget { ), ), StatusChip( - label: isAdmin ? 'ADMIN' : 'GUEST', + label: isAdmin + ? l10n.repeater_roleAdmin + : l10n.repeater_roleGuest, color: isAdmin ? MeshPalette.blue : scheme.onSurfaceVariant, @@ -218,23 +220,26 @@ class RepeaterHubScreen extends StatelessWidget { }, ), - _HubActionTile( - index: 2, - icon: Icons.group, - title: l10n.repeater_neighbors, - subtitle: l10n.repeater_neighborsSubtitle, - accentColor: MeshPalette.signal, - onTap: () { - HapticFeedback.selectionClick(); - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => - NeighborsScreen(repeater: repeater, password: password), - ), - ); - }, - ), + if (repeater.type != advTypeRoom) + _HubActionTile( + index: 2, + icon: Icons.group, + title: l10n.repeater_neighbors, + subtitle: l10n.repeater_neighborsSubtitle, + accentColor: MeshPalette.signal, + onTap: () { + HapticFeedback.selectionClick(); + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => NeighborsScreen( + repeater: repeater, + password: password, + ), + ), + ); + }, + ), if (isAdmin) ...[ _HubActionTile( @@ -305,46 +310,53 @@ class _HubActionTile extends StatelessWidget { final scheme = Theme.of(context).colorScheme; return ListEntrance( index: index, - child: MeshCard( - onTap: onTap, - child: Row( - children: [ - Container( - width: 44, - height: 44, - decoration: BoxDecoration( - color: accentColor.withValues(alpha: 0.12), - borderRadius: BorderRadius.circular(MeshRadii.md), - border: Border.all(color: accentColor.withValues(alpha: 0.3)), + child: Semantics( + button: true, + child: MeshCard( + onTap: onTap, + child: Row( + children: [ + Container( + width: 44, + height: 44, + decoration: BoxDecoration( + color: accentColor.withValues(alpha: 0.12), + borderRadius: BorderRadius.circular(MeshRadii.md), + border: Border.all(color: accentColor.withValues(alpha: 0.3)), + ), + alignment: Alignment.center, + child: Icon(icon, size: 22, color: accentColor), ), - alignment: Alignment.center, - child: Icon(icon, size: 22, color: accentColor), - ), - const SizedBox(width: 14), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - title, - style: const TextStyle( - fontWeight: FontWeight.w600, - fontSize: 15, + const SizedBox(width: 14), + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + title, + style: const TextStyle( + fontWeight: FontWeight.w600, + fontSize: 15, + ), ), - ), - const SizedBox(height: 2), - Text( - subtitle, - style: TextStyle( - fontSize: 12.5, - color: scheme.onSurfaceVariant, + const SizedBox(height: 2), + Text( + subtitle, + style: TextStyle( + fontSize: 12.5, + color: scheme.onSurfaceVariant, + ), ), - ), - ], + ], + ), ), - ), - Icon(Icons.chevron_right, color: scheme.onSurfaceVariant, size: 20), - ], + Icon( + Icons.chevron_right, + color: scheme.onSurfaceVariant, + size: 20, + ), + ], + ), ), ), ); diff --git a/lib/screens/repeater_settings_screen.dart b/lib/screens/repeater_settings_screen.dart index 6c6d633a..47127041 100644 --- a/lib/screens/repeater_settings_screen.dart +++ b/lib/screens/repeater_settings_screen.dart @@ -7,6 +7,7 @@ import '../l10n/l10n.dart'; import '../models/contact.dart'; import '../connector/meshcore_connector.dart'; import '../connector/meshcore_protocol.dart'; +import '../helpers/utf8_length_limiter.dart'; import '../services/repeater_command_service.dart'; import '../services/storage_service.dart'; import '../theme/mesh_theme.dart'; @@ -112,6 +113,10 @@ class _RepeaterSettingsScreenState extends State { bool _refreshingIntThresh = false; bool _refreshingAgcResetInterval = false; bool _runningAction = false; + bool _loadingAll = false; + int _unansweredSections = 0; + double _loadAllProgress = 0; + final Set _loadedKeys = {}; bool _searchingForKeyPair = false; bool _stopSearchingForKeyPair = false; StreamSubscription? _frameSubscription; @@ -191,6 +196,13 @@ class _RepeaterSettingsScreenState extends State { ]; final List _spreadingFactorOptions = [5, 6, 7, 8, 9, 10, 11, 12]; final List _codingRateOptions = [5, 6, 7, 8]; + static const int _minRepeaterTxPower = -9; + static const int _maxRepeaterTxPower = 30; + // CommonCLI.h: password[16], node_name[32], owner_info[120]. + static const int _maxPasswordBytes = 15; + static const int _maxNameBytes = 31; + static const int _maxOwnerInfoBytes = 119; + static const int _maxAgcResetInterval = 255 * 4; @override void initState() { @@ -287,7 +299,7 @@ class _RepeaterSettingsScreenState extends State { break; case 'tx': final dbm = int.tryParse(value.replaceAll(RegExp(r'[^0-9-]'), '')); - if (dbm != null && dbm >= 1 && dbm <= 30) { + if (dbm != null && dbm >= -128 && dbm <= 127) { _txPowerController.text = dbm.toString(); } break; @@ -364,7 +376,9 @@ class _RepeaterSettingsScreenState extends State { break; case 'agc.reset.interval': final v = int.tryParse(value.trim()); - if (v != null && v >= 0) _agcResetInterval = v; + if (v != null && v >= 0) { + _agcResetInterval = v.clamp(0, _maxAgcResetInterval); + } break; } } @@ -388,10 +402,18 @@ class _RepeaterSettingsScreenState extends State { } } if (parts.length > 2) { - _spreadingFactor = int.tryParse(parts[2].trim()) ?? _spreadingFactor; + final sf = int.tryParse(parts[2].trim()); + if (sf != null && _spreadingFactorOptions.contains(sf)) { + _spreadingFactor = sf; + } } if (parts.length > 3) { - _codingRate = int.tryParse(parts[3].trim()) ?? _codingRate; + final cr = int.tryParse(parts[3].trim()); + // Some firmware reports CR as 1-4 instead of 5-8. + final uiCr = cr != null && cr <= 4 ? cr + 4 : cr; + if (uiCr != null && _codingRateOptions.contains(uiCr)) { + _codingRate = uiCr; + } } } @@ -423,10 +445,15 @@ class _RepeaterSettingsScreenState extends State { final key = normalized.substring(4).trim(); final value = _extractGetValue(response); if (value == null) return false; - setState(() => _applyGetValue(key, value)); + setState(() { + _applyGetValue(key, value); + _loadedKeys.add(key); + }); return true; } + bool _loaded(String key) => _loadedKeys.contains(key); + /// Firmware GET replies are always `> ` (CommonCLI.cpp `sprintf(reply, "> %s", ...)`). /// Returns the first such value, trimmed; null if none found. String? _extractGetValue(String response) { @@ -451,6 +478,7 @@ class _RepeaterSettingsScreenState extends State { setState(() => setRefreshing(true)); var successCount = 0; + var answered = false; final connector = Provider.of(context, listen: false); final repeater = _resolveRepeater(connector); for (final command in commands) { @@ -460,14 +488,22 @@ class _RepeaterSettingsScreenState extends State { command, retries: 1, ); + if (!mounted) return; + answered = true; if (_handleGetResponse(command, response)) successCount += 1; await Future.delayed(const Duration(milliseconds: 200)); } catch (e) { debugPrint('Error fetching $command: $e'); } + if (!mounted) return; } - if (mounted) { + if (_loadingAll) { + // A reply we can't use usually means older firmware without that + // setting; only a section that never answered counts as a failure. + if (!answered) _unansweredSections += 1; + setState(() => setRefreshing(false)); + } else { showDismissibleSnackBar( context, content: Text( @@ -702,9 +738,52 @@ class _RepeaterSettingsScreenState extends State { } } + Future _refreshAll() async { + if (_loadingAll) return; + final sections = Function()>[ + _refreshBasicSettings, + _refreshRadioSettings, + _refreshTxPower, + _refreshRxGain, + _refreshLat, + _refreshLon, + _refreshRepeat, + _refreshAllowReadOnly, + _refreshMultiAcks, + _refreshLoopDetect, + _refreshDutyCycle, + _refreshAdvertInterval, + _refreshFloodAdvertInterval, + _refreshFloodMax, + _refreshOwnerInfo, + _refreshPathHashMode, + _refreshTxDelay, + _refreshDirectTxDelay, + _refreshIntThresh, + _refreshAgcResetInterval, + ]; + _unansweredSections = 0; + setState(() { + _loadingAll = true; + _loadAllProgress = 0; + }); + for (var i = 0; i < sections.length; i++) { + if (!mounted) return; + await sections[i](); + if (!mounted) return; + setState(() => _loadAllProgress = (i + 1) / sections.length); + } + setState(() => _loadingAll = false); + if (_unansweredSections > 0) { + showDismissibleSnackBar( + context, + content: Text(context.l10n.repeater_settingsLoadIncomplete), + backgroundColor: Theme.of(context).colorScheme.error, + ); + } + } + Future _loadSettings() async { - // Just populate with current repeater data on initial load - // User must click sync button to fetch from device setState(() { _nameController.text = widget.repeater.name; @@ -734,11 +813,18 @@ class _RepeaterSettingsScreenState extends State { }); try { + final l10n = context.l10n; // Each pending command remembers the dirty-field it came from (null for // password commands, which always re-send when text is present). On // failure we keep that field in `_dirtyFields` so the Save button stays // available and the user can retry. final pending = <({_SettingField? field, String command})>[]; + final failures = []; + final retainDirty = <_SettingField>{}; + void reject(_SettingField field, String message) { + failures.add(message); + retainDirty.add(field); + } if (_dirtyFields.contains(_SettingField.name) && _nameController.text.isNotEmpty) { @@ -768,9 +854,24 @@ class _RepeaterSettingsScreenState extends State { _bandwidth != null && _spreadingFactor != null && _codingRate != null) { - final freqText = _freqController.text.trim(); - if (double.tryParse(freqText) != null) { - final bwKHz = _bandwidth! / 1000; + final freqText = _normalizeDecimal(_freqController.text); + final freq = double.tryParse(freqText); + final bwKHz = _bandwidth! / 1000; + if (freq == null || freq < 150 || freq > 2500) { + reject(_SettingField.radio, l10n.repeater_frequencyInvalid); + } else if (bwKHz < 7.8 || bwKHz > 500) { + reject(_SettingField.radio, '${l10n.repeater_bandwidth}: $bwKHz'); + } else if (_spreadingFactor! < 5 || _spreadingFactor! > 12) { + reject( + _SettingField.radio, + '${l10n.repeater_spreadingFactor}: $_spreadingFactor', + ); + } else if (_codingRate! < 5 || _codingRate! > 8) { + reject( + _SettingField.radio, + '${l10n.repeater_codingRate}: $_codingRate', + ); + } else { pending.add(( field: _SettingField.radio, command: @@ -782,26 +883,46 @@ class _RepeaterSettingsScreenState extends State { if (_dirtyFields.contains(_SettingField.txPower) && _txPowerController.text.isNotEmpty) { final dbm = int.tryParse(_txPowerController.text.trim()); - if (dbm != null) { + if (dbm == null || + dbm < _minRepeaterTxPower || + dbm > _maxRepeaterTxPower) { + reject( + _SettingField.txPower, + '${l10n.repeater_txPower}: ${_txPowerController.text.trim()} ' + '($_minRepeaterTxPower-$_maxRepeaterTxPower dBm)', + ); + } else { pending.add((field: _SettingField.txPower, command: 'set tx $dbm')); } } if (_dirtyFields.contains(_SettingField.lat) && - _latController.text.isNotEmpty && - _isValidCoordinate(_latController.text, 90)) { - pending.add(( - field: _SettingField.lat, - command: 'set lat ${_latController.text}', - )); + _latController.text.isNotEmpty) { + if (_isValidCoordinate(_latController.text, 90)) { + pending.add(( + field: _SettingField.lat, + command: 'set lat ${_normalizeDecimal(_latController.text)}', + )); + } else { + reject( + _SettingField.lat, + '${l10n.repeater_latitude}: ${_latController.text.trim()}', + ); + } } if (_dirtyFields.contains(_SettingField.lon) && - _lonController.text.isNotEmpty && - _isValidCoordinate(_lonController.text, 180)) { - pending.add(( - field: _SettingField.lon, - command: 'set lon ${_lonController.text}', - )); + _lonController.text.isNotEmpty) { + if (_isValidCoordinate(_lonController.text, 180)) { + pending.add(( + field: _SettingField.lon, + command: 'set lon ${_normalizeDecimal(_lonController.text)}', + )); + } else { + reject( + _SettingField.lon, + '${l10n.repeater_longitude}: ${_lonController.text.trim()}', + ); + } } if (_dirtyFields.contains(_SettingField.repeat)) { @@ -882,32 +1003,50 @@ class _RepeaterSettingsScreenState extends State { } if (_dirtyFields.contains(_SettingField.txDelay) && _txDelayController.text.isNotEmpty) { - final v = double.tryParse(_txDelayController.text.trim()); + final v = double.tryParse(_normalizeDecimal(_txDelayController.text)); if (v != null) { pending.add(( field: _SettingField.txDelay, command: 'set txdelay $v', )); + } else { + reject( + _SettingField.txDelay, + '${l10n.repeater_txDelay}: ${_txDelayController.text.trim()}', + ); } } if (_dirtyFields.contains(_SettingField.directTxDelay) && _directTxDelayController.text.isNotEmpty) { - final v = double.tryParse(_directTxDelayController.text.trim()); + final v = double.tryParse( + _normalizeDecimal(_directTxDelayController.text), + ); if (v != null) { pending.add(( field: _SettingField.directTxDelay, command: 'set direct.txdelay $v', )); + } else { + reject( + _SettingField.directTxDelay, + '${l10n.repeater_directTxDelay}: ' + '${_directTxDelayController.text.trim()}', + ); } } if (_dirtyFields.contains(_SettingField.intThresh) && _intThreshController.text.isNotEmpty) { final v = int.tryParse(_intThreshController.text.trim()); - if (v != null) { + if (v != null && v >= 0 && v <= 255) { pending.add(( field: _SettingField.intThresh, command: 'set int.thresh $v', )); + } else { + reject( + _SettingField.intThresh, + '${l10n.repeater_intThresh}: ${_intThreshController.text.trim()}', + ); } } if (_dirtyFields.contains(_SettingField.agcResetInterval)) { @@ -917,8 +1056,6 @@ class _RepeaterSettingsScreenState extends State { )); } - final failures = []; - final retainDirty = <_SettingField>{}; var passwordsFailed = false; var rebootNeeded = false; for (final entry in pending) { @@ -951,6 +1088,7 @@ class _RepeaterSettingsScreenState extends State { } await Future.delayed(const Duration(milliseconds: 200)); } + if (!mounted) return; // Only clear password fields if every password command succeeded — // otherwise the user keeps their typed value to retry. @@ -967,7 +1105,6 @@ class _RepeaterSettingsScreenState extends State { }); if (mounted) { - final l10n = context.l10n; if (failures.isEmpty && rebootNeeded) { showDismissibleSnackBar( context, @@ -990,11 +1127,10 @@ class _RepeaterSettingsScreenState extends State { } } } catch (e) { - setState(() { - _isLoading = false; - }); - if (mounted) { + setState(() { + _isLoading = false; + }); showDismissibleSnackBar( context, content: Text( @@ -1011,9 +1147,12 @@ class _RepeaterSettingsScreenState extends State { _flagHasChanges(); } + static String _normalizeDecimal(String text) => + text.trim().replaceAll(',', '.'); + static bool _isValidCoordinate(String text, double max) { if (text.trim().isEmpty) return true; - final value = double.tryParse(text.trim()); + final value = double.tryParse(_normalizeDecimal(text)); return value != null && value >= -max && value <= max; } @@ -1095,13 +1234,24 @@ class _RepeaterSettingsScreenState extends State { onPressed: () => ContactRoutingSheet.show(context, contact: repeater), ), + IconButton( + icon: const Icon(Icons.refresh), + tooltip: l10n.repeater_refreshAll, + onPressed: _loadingAll || _isLoading ? null : _refreshAll, + ), if (_hasChanges) TextButton.icon( - onPressed: _isLoading ? null : _saveSettings, + onPressed: _isLoading || _loadingAll ? null : _saveSettings, icon: const Icon(Icons.save), label: Text(l10n.common_save), ), ], + bottom: _loadingAll + ? PreferredSize( + preferredSize: const Size.fromHeight(4), + child: LinearProgressIndicator(value: _loadAllProgress), + ) + : null, ), body: SafeArea( top: false, @@ -1110,6 +1260,27 @@ class _RepeaterSettingsScreenState extends State { : ListView( padding: const EdgeInsets.only(bottom: 32), children: [ + if (_loadedKeys.isEmpty && !_loadingAll) + Padding( + padding: const EdgeInsets.only(top: 16), + child: MeshCard( + child: Row( + children: [ + const Icon(Icons.info_outline, size: 20), + const SizedBox(width: 12), + Expanded( + child: Text( + context.l10n.repeater_settingsNotLoaded, + ), + ), + TextButton( + onPressed: _isLoading ? null : _refreshAll, + child: Text(context.l10n.repeater_refreshAll), + ), + ], + ), + ), + ), _buildBasicSettingsCard(), _buildRadioSettingsCard(), _buildLocationSettingsCard(), @@ -1153,10 +1324,14 @@ class _RepeaterSettingsScreenState extends State { children: [ TextField( controller: _nameController, + enabled: _loaded('name'), decoration: InputDecoration( labelText: l10n.repeater_repeaterName, helperText: l10n.repeater_repeaterNameHelper, ), + inputFormatters: const [ + Utf8LengthLimitingTextInputFormatter(_maxNameBytes), + ], onChanged: (_) => _markChanged(_SettingField.name), ), const SizedBox(height: 12), @@ -1167,6 +1342,9 @@ class _RepeaterSettingsScreenState extends State { helperText: l10n.repeater_adminPasswordHelper, ), obscureText: true, + inputFormatters: const [ + Utf8LengthLimitingTextInputFormatter(_maxPasswordBytes), + ], onChanged: (_) => _flagHasChanges(), ), const SizedBox(height: 12), @@ -1177,6 +1355,9 @@ class _RepeaterSettingsScreenState extends State { helperText: l10n.repeater_guestPasswordHelper, ), obscureText: true, + inputFormatters: const [ + Utf8LengthLimitingTextInputFormatter(_maxPasswordBytes), + ], onChanged: (_) => _flagHasChanges(), ), ], @@ -1211,9 +1392,10 @@ class _RepeaterSettingsScreenState extends State { children: [ TextField( controller: _freqController, + enabled: _loaded('radio'), decoration: InputDecoration( labelText: l10n.repeater_frequencyMhz, - helperText: l10n.repeater_frequencyHelper, + helperText: l10n.repeater_frequencyRangeHelper, suffixText: 'MHz', ), keyboardType: const TextInputType.numberWithOptions( @@ -1228,12 +1410,15 @@ class _RepeaterSettingsScreenState extends State { Expanded( child: TextField( controller: _txPowerController, + enabled: _loaded('tx'), decoration: InputDecoration( labelText: l10n.repeater_txPower, - helperText: l10n.repeater_txPowerHelper, + helperText: l10n.repeater_txPowerRangeHelper, suffixText: 'dBm', ), - keyboardType: TextInputType.number, + keyboardType: const TextInputType.numberWithOptions( + signed: true, + ), onChanged: (_) => _markChanged(_SettingField.txPower), ), ), @@ -1254,14 +1439,16 @@ class _RepeaterSettingsScreenState extends State { child: Text(_formatBandwidthLabel(bw)), ); }).toList(), - onChanged: (value) { - if (value != null) { - setState(() { - _bandwidth = value; - }); - _markChanged(_SettingField.radio); - } - }, + onChanged: !_loaded('radio') + ? null + : (value) { + if (value != null) { + setState(() { + _bandwidth = value; + }); + _markChanged(_SettingField.radio); + } + }, ), const SizedBox(height: 12), DropdownButtonFormField( @@ -1272,14 +1459,16 @@ class _RepeaterSettingsScreenState extends State { items: _spreadingFactorOptions.map((sf) { return DropdownMenuItem(value: sf, child: Text('SF$sf')); }).toList(), - onChanged: (value) { - if (value != null) { - setState(() { - _spreadingFactor = value; - }); - _markChanged(_SettingField.radio); - } - }, + onChanged: !_loaded('radio') + ? null + : (value) { + if (value != null) { + setState(() { + _spreadingFactor = value; + }); + _markChanged(_SettingField.radio); + } + }, ), const SizedBox(height: 12), DropdownButtonFormField( @@ -1290,20 +1479,23 @@ class _RepeaterSettingsScreenState extends State { items: _codingRateOptions.map((cr) { return DropdownMenuItem(value: cr, child: Text('4/$cr')); }).toList(), - onChanged: (value) { - if (value != null) { - setState(() { - _codingRate = value; - }); - _markChanged(_SettingField.radio); - } - }, + onChanged: !_loaded('radio') + ? null + : (value) { + if (value != null) { + setState(() { + _codingRate = value; + }); + _markChanged(_SettingField.radio); + } + }, ), const SizedBox(height: 4), _buildFeatureToggleRow( title: l10n.repeater_rxGain, subtitle: l10n.repeater_rxGainHelper, value: _rxGainBoosted, + loaded: _loaded('radio.rxgain'), isRefreshing: _refreshingRxGain, onChanged: (v) { setState(() => _rxGainBoosted = v); @@ -1335,6 +1527,7 @@ class _RepeaterSettingsScreenState extends State { Expanded( child: TextField( controller: _latController, + enabled: _loaded('lat'), decoration: InputDecoration( labelText: l10n.repeater_latitude, helperText: l10n.repeater_latitudeHelper, @@ -1369,6 +1562,7 @@ class _RepeaterSettingsScreenState extends State { Expanded( child: TextField( controller: _lonController, + enabled: _loaded('lon'), decoration: InputDecoration( labelText: l10n.repeater_longitude, helperText: l10n.repeater_longitudeHelper, @@ -1417,6 +1611,7 @@ class _RepeaterSettingsScreenState extends State { title: l10n.repeater_packetForwarding, subtitle: l10n.repeater_packetForwardingSubtitle, value: _repeatEnabled, + loaded: _loaded('repeat'), isRefreshing: _refreshingRepeat, onChanged: (value) { setState(() { @@ -1431,6 +1626,7 @@ class _RepeaterSettingsScreenState extends State { title: l10n.repeater_guestAccess, subtitle: l10n.repeater_guestAccessSubtitle, value: _allowReadOnly, + loaded: _loaded('allow.read.only'), isRefreshing: _refreshingAllowReadOnly, onChanged: (value) { setState(() { @@ -1445,6 +1641,7 @@ class _RepeaterSettingsScreenState extends State { title: l10n.repeater_multiAcks, subtitle: l10n.repeater_multiAcksSubtitle, value: _multiAcks, + loaded: _loaded('multi.acks'), isRefreshing: _refreshingMultiAcks, onChanged: (v) { setState(() => _multiAcks = v); @@ -1479,6 +1676,7 @@ class _RepeaterSettingsScreenState extends State { required String title, required String subtitle, required bool value, + required bool loaded, required bool isRefreshing, required ValueChanged onChanged, required VoidCallback onRefresh, @@ -1490,8 +1688,8 @@ class _RepeaterSettingsScreenState extends State { child: SwitchListTile( title: Text(title), subtitle: Text(subtitle), - value: value, - onChanged: onChanged, + value: loaded && value, + onChanged: loaded ? onChanged : null, contentPadding: EdgeInsets.zero, ), ), @@ -1527,19 +1725,23 @@ class _RepeaterSettingsScreenState extends State { child: ListTile( title: Text(l10n.repeater_localAdvertInterval), subtitle: Text( - l10n.repeater_localAdvertIntervalMinutes( - _advertInterval, - ), + _loaded('advert.interval') + ? l10n.repeater_localAdvertIntervalMinutes( + _advertInterval, + ) + : '—', ), trailing: Switch( - value: _advertEnable, - onChanged: (value) { - setState(() { - _advertInterval = value ? 60 : 0; - _advertEnable = value; - }); - _markChanged(_SettingField.advertInterval); - }, + value: _loaded('advert.interval') && _advertEnable, + onChanged: !_loaded('advert.interval') + ? null + : (value) { + setState(() { + _advertInterval = value ? 60 : 0; + _advertEnable = value; + }); + _markChanged(_SettingField.advertInterval); + }, ), contentPadding: EdgeInsets.zero, ), @@ -1561,16 +1763,14 @@ class _RepeaterSettingsScreenState extends State { ], ), Slider( - value: _advertInterval == 0 - ? 60.toDouble() - : _advertInterval.toDouble(), + value: _advertInterval.clamp(60, 240).toDouble(), min: 60, max: 240, divisions: 18, label: l10n.repeater_localAdvertIntervalMinutes( _advertInterval, ), - onChanged: _advertEnable + onChanged: _advertEnable && _loaded('advert.interval') ? (value) { setState(() { _advertInterval = value.toInt(); @@ -1586,19 +1786,25 @@ class _RepeaterSettingsScreenState extends State { child: ListTile( title: Text(l10n.repeater_floodAdvertInterval), subtitle: Text( - l10n.repeater_floodAdvertIntervalHours( - _floodAdvertInterval, - ), + _loaded('flood.advert.interval') + ? l10n.repeater_floodAdvertIntervalHours( + _floodAdvertInterval, + ) + : '—', ), trailing: Switch( - value: _floodAdvertEnable, - onChanged: (value) { - setState(() { - _floodAdvertInterval = value ? 3 : 0; - _floodAdvertEnable = value; - }); - _markChanged(_SettingField.floodAdvertInterval); - }, + value: + _loaded('flood.advert.interval') && + _floodAdvertEnable, + onChanged: !_loaded('flood.advert.interval') + ? null + : (value) { + setState(() { + _floodAdvertInterval = value ? 3 : 0; + _floodAdvertEnable = value; + }); + _markChanged(_SettingField.floodAdvertInterval); + }, ), contentPadding: EdgeInsets.zero, ), @@ -1620,16 +1826,15 @@ class _RepeaterSettingsScreenState extends State { ], ), Slider( - value: _floodAdvertInterval == 0 - ? 3.toDouble() - : _floodAdvertInterval.toDouble(), + value: _floodAdvertInterval.clamp(3, 168).toDouble(), min: 3, max: 168, divisions: 165, label: l10n.repeater_floodAdvertIntervalHours( _floodAdvertInterval, ), - onChanged: _floodAdvertEnable + onChanged: + _floodAdvertEnable && _loaded('flood.advert.interval') ? (value) { setState(() { _floodAdvertInterval = value.toInt(); @@ -1646,7 +1851,7 @@ class _RepeaterSettingsScreenState extends State { title: Text(l10n.repeater_floodMax), subtitle: Text(l10n.repeater_floodMaxHelper), trailing: Text( - '$_floodMax', + _loaded('flood.max') ? '$_floodMax' : '—', style: const TextStyle(fontWeight: FontWeight.bold), ), contentPadding: EdgeInsets.zero, @@ -1672,10 +1877,12 @@ class _RepeaterSettingsScreenState extends State { max: 64, divisions: 64, label: '$_floodMax', - onChanged: (v) { - setState(() => _floodMax = v.toInt()); - _markChanged(_SettingField.floodMax); - }, + onChanged: !_loaded('flood.max') + ? null + : (v) { + setState(() => _floodMax = v.toInt()); + _markChanged(_SettingField.floodMax); + }, ), ], ), @@ -1699,7 +1906,7 @@ class _RepeaterSettingsScreenState extends State { children: [ Expanded( child: DropdownButtonFormField( - initialValue: _loopDetect, + initialValue: _loaded('loop.detect') ? _loopDetect : null, decoration: InputDecoration( labelText: l10n.repeater_loopDetect, helperText: l10n.repeater_loopDetectHelper, @@ -1723,12 +1930,14 @@ class _RepeaterSettingsScreenState extends State { child: Text(l10n.repeater_loopDetectStrict), ), ], - onChanged: (v) { - if (v != null) { - setState(() => _loopDetect = v); - _markChanged(_SettingField.loopDetect); - } - }, + onChanged: !_loaded('loop.detect') + ? null + : (v) { + if (v != null) { + setState(() => _loopDetect = v); + _markChanged(_SettingField.loopDetect); + } + }, ), ), _buildInlineRefreshButton( @@ -1746,7 +1955,9 @@ class _RepeaterSettingsScreenState extends State { title: Text(l10n.repeater_dutyCycle), subtitle: Text(l10n.repeater_dutyCycleHelper), trailing: Text( - l10n.repeater_dutyCyclePercent(_dutyCycle), + _loaded('dutycycle') + ? l10n.repeater_dutyCyclePercent(_dutyCycle) + : '—', style: const TextStyle(fontWeight: FontWeight.bold), ), contentPadding: EdgeInsets.zero, @@ -1772,10 +1983,12 @@ class _RepeaterSettingsScreenState extends State { max: 100, divisions: 99, label: l10n.repeater_dutyCyclePercent(_dutyCycle), - onChanged: (v) { - setState(() => _dutyCycle = v.toInt()); - _markChanged(_SettingField.dutyCycle); - }, + onChanged: !_loaded('dutycycle') + ? null + : (v) { + setState(() => _dutyCycle = v.toInt()); + _markChanged(_SettingField.dutyCycle); + }, ), ], ), @@ -1806,6 +2019,7 @@ class _RepeaterSettingsScreenState extends State { MeshCard( child: TextField( controller: _ownerInfoController, + enabled: _loaded('owner.info'), decoration: InputDecoration( labelText: l10n.repeater_ownerInfo, helperText: l10n.repeater_ownerInfoHelper, @@ -1813,6 +2027,9 @@ class _RepeaterSettingsScreenState extends State { ), maxLines: 4, minLines: 2, + inputFormatters: const [ + Utf8LengthLimitingTextInputFormatter(_maxOwnerInfoBytes), + ], onChanged: (_) => _markChanged(_SettingField.ownerInfo), ), ), @@ -1887,23 +2104,36 @@ class _RepeaterSettingsScreenState extends State { children: [ Expanded( child: DropdownButtonFormField( - initialValue: _pathHashMode, + initialValue: _loaded('path.hash.mode') + ? _pathHashMode + : null, decoration: InputDecoration( labelText: l10n.repeater_pathHashMode, helperText: l10n.repeater_pathHashModeHelper, helperMaxLines: 5, ), - items: const [ - DropdownMenuItem(value: 0, child: Text('0')), - DropdownMenuItem(value: 1, child: Text('1')), - DropdownMenuItem(value: 2, child: Text('2')), + 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: (v) { - if (v != null) { - setState(() => _pathHashMode = v); - _markChanged(_SettingField.pathHashMode); - } - }, + onChanged: !_loaded('path.hash.mode') + ? null + : (v) { + if (v != null) { + setState(() => _pathHashMode = v); + _markChanged(_SettingField.pathHashMode); + } + }, ), ), _buildInlineRefreshButton( @@ -1920,6 +2150,7 @@ class _RepeaterSettingsScreenState extends State { Expanded( child: TextField( controller: _txDelayController, + enabled: _loaded('txdelay'), decoration: InputDecoration( labelText: l10n.repeater_txDelay, helperText: l10n.repeater_txDelayHelper, @@ -1945,6 +2176,7 @@ class _RepeaterSettingsScreenState extends State { Expanded( child: TextField( controller: _directTxDelayController, + enabled: _loaded('direct.txdelay'), decoration: InputDecoration( labelText: l10n.repeater_directTxDelay, helperText: l10n.repeater_directTxDelayHelper, @@ -1970,6 +2202,7 @@ class _RepeaterSettingsScreenState extends State { Expanded( child: TextField( controller: _intThreshController, + enabled: _loaded('int.thresh'), decoration: InputDecoration( labelText: l10n.repeater_intThresh, helperText: l10n.repeater_intThreshHelper, @@ -1994,7 +2227,9 @@ class _RepeaterSettingsScreenState extends State { title: Text(l10n.repeater_agcResetInterval), subtitle: Text(l10n.repeater_agcResetIntervalHelper), trailing: Text( - '${_agcResetInterval}s', + _loaded('agc.reset.interval') + ? '${_agcResetInterval}s' + : '—', style: const TextStyle(fontWeight: FontWeight.bold), ), contentPadding: EdgeInsets.zero, @@ -2017,18 +2252,20 @@ class _RepeaterSettingsScreenState extends State { ], ), Slider( - value: _agcResetInterval.toDouble(), + value: _agcResetInterval.clamp(0, _maxAgcResetInterval).toDouble(), min: 0, - max: 240, - divisions: 60, + max: _maxAgcResetInterval.toDouble(), + divisions: _maxAgcResetInterval ~/ 4, label: '${_agcResetInterval}s', - onChanged: (v) { - setState(() { - // Clamp to multiple of 4 to match firmware semantics. - _agcResetInterval = (v.toInt() ~/ 4) * 4; - }); - _markChanged(_SettingField.agcResetInterval); - }, + onChanged: !_loaded('agc.reset.interval') + ? null + : (v) { + setState(() { + // Clamp to multiple of 4 to match firmware semantics. + _agcResetInterval = (v.toInt() ~/ 4) * 4; + }); + _markChanged(_SettingField.agcResetInterval); + }, ), ], ), diff --git a/lib/screens/repeater_status_screen.dart b/lib/screens/repeater_status_screen.dart index e7d1fbe6..a3661a18 100644 --- a/lib/screens/repeater_status_screen.dart +++ b/lib/screens/repeater_status_screen.dart @@ -1,12 +1,12 @@ import 'dart:async'; import 'dart:convert'; -import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; import '../l10n/l10n.dart'; import '../models/contact.dart'; import '../models/path_selection.dart'; +import '../models/remote_node_stats.dart'; import '../connector/meshcore_connector.dart'; import '../connector/meshcore_protocol.dart'; import '../services/app_settings_service.dart'; @@ -32,10 +32,7 @@ class RepeaterStatusScreen extends StatefulWidget { } class _RepeaterStatusScreenState extends State { - static const int _statusPayloadOffset = 8; - static const int _statusStatsSize = 52; - static const int _statusResponseBytes = - _statusPayloadOffset + _statusStatsSize; + static const int _statusResponseBytes = RemoteNodeStats.payloadOffset + 56; bool _isLoading = false; StreamSubscription? _frameSubscription; @@ -50,6 +47,9 @@ class _RepeaterStatusScreenState extends State { int? _noiseFloor; int? _txAirSecs; int? _rxAirSecs; + int? _recvErrors; + int? _posted; + int? _postPushes; int? _packetsSent; int? _packetsRecv; int? _floodTx; @@ -124,72 +124,39 @@ class _RepeaterStatusScreenState extends State { if (frame.length < 8) return; final prefix = frame.sublist(2, 8); if (!_matchesRepeaterPrefix(prefix)) return; - if (frame.length < _statusResponseBytes) return; - - final data = ByteData.sublistView( - frame, - _statusPayloadOffset, - _statusResponseBytes, - ); - int offset = 0; - - final batteryMv = data.getUint16(offset, Endian.little); - offset += 2; - final queueLen = data.getUint16(offset, Endian.little); - offset += 2; - final noiseFloor = data.getInt16(offset, Endian.little); - offset += 2; - final lastRssi = data.getInt16(offset, Endian.little); - offset += 2; - final packetsRecv = data.getUint32(offset, Endian.little); - offset += 4; - final packetsSent = data.getUint32(offset, Endian.little); - offset += 4; - final txAirSecs = data.getUint32(offset, Endian.little); - offset += 4; - final uptimeSecs = data.getUint32(offset, Endian.little); - offset += 4; - final floodTx = data.getUint32(offset, Endian.little); - offset += 4; - final directTx = data.getUint32(offset, Endian.little); - offset += 4; - final floodRx = data.getUint32(offset, Endian.little); - offset += 4; - final directRx = data.getUint32(offset, Endian.little); - offset += 4; - final errEvents = data.getUint16(offset, Endian.little); - offset += 2; - final lastSnrRaw = data.getInt16(offset, Endian.little); - offset += 2; - final directDups = data.getUint16(offset, Endian.little); - offset += 2; - final floodDups = data.getUint16(offset, Endian.little); - offset += 2; - final rxAirSecs = data.getUint32(offset, Endian.little); + final stats = RemoteNodeStats.tryParse(frame, isRoom: _isRoom); + if (stats == null) return; _statusTimeout?.cancel(); if (!mounted) return; + final rxAirSecs = stats.rxAirSecs; setState(() { _isLoading = false; - _batteryMv = batteryMv; - _queueLen = queueLen; - _noiseFloor = noiseFloor; - _lastRssi = lastRssi; - _packetsRecv = packetsRecv; - _packetsSent = packetsSent; - _txAirSecs = txAirSecs; + _batteryMv = stats.batteryMv; + _queueLen = stats.queueLen; + _noiseFloor = stats.noiseFloor; + _lastRssi = stats.lastRssi; + _packetsRecv = stats.packetsRecv; + _packetsSent = stats.packetsSent; + _txAirSecs = stats.txAirSecs; _rxAirSecs = rxAirSecs; - _uptimeSecs = uptimeSecs; - _floodTx = floodTx; - _directTx = directTx; - _floodRx = floodRx; - _directRx = directRx; - _debugFlags = errEvents; - _lastSnr = lastSnrRaw / 4.0; - _dupDirect = directDups; - _dupFlood = floodDups; - _chanUtil = ((txAirSecs + rxAirSecs) / uptimeSecs) * 100; + _recvErrors = stats.recvErrors; + _posted = stats.posted; + _postPushes = stats.postPushes; + _uptimeSecs = stats.uptimeSecs; + _floodTx = stats.floodTx; + _directTx = stats.directTx; + _floodRx = stats.floodRx; + _directRx = stats.directRx; + _debugFlags = stats.errEvents; + _lastSnr = stats.lastSnr; + _dupDirect = stats.directDups; + _dupFlood = stats.floodDups; + _chanUtil = rxAirSecs != null && stats.uptimeSecs > 0 + ? ((stats.txAirSecs + rxAirSecs) / stats.uptimeSecs) * 100 + : null; }); + final batteryMv = stats.batteryMv; final connector = Provider.of(context, listen: false); connector.updateRepeaterBatterySnapshot( widget.repeater.publicKeyHex, @@ -199,6 +166,8 @@ class _RepeaterStatusScreenState extends State { _recordStatusResult(true); } + bool get _isRoom => widget.repeater.type == advTypeRoom; + bool _matchesRepeaterPrefix(Uint8List prefix) { final target = widget.repeater.publicKey; if (target.length < 6 || prefix.length < 6) return false; @@ -266,6 +235,9 @@ class _RepeaterStatusScreenState extends State { _noiseFloor = null; _txAirSecs = null; _rxAirSecs = null; + _recvErrors = null; + _posted = null; + _postPushes = null; _packetsSent = null; _packetsRecv = null; _floodTx = null; @@ -551,12 +523,13 @@ class _RepeaterStatusScreenState extends State { value: _formatDuration(_txAirSecs), color: MeshPalette.warn, ), - _StatItem( - icon: Icons.download, - label: l10n.repeater_rxAirtime, - value: _formatDuration(_rxAirSecs), - color: MeshPalette.signal, - ), + if (!_isRoom) + _StatItem( + icon: Icons.download, + label: l10n.repeater_rxAirtime, + value: _formatDuration(_rxAirSecs), + color: MeshPalette.signal, + ), ]), ), @@ -583,16 +556,39 @@ class _RepeaterStatusScreenState extends State { value: _duplicateText(), color: scheme.onSurfaceVariant, ), - _StatItem( - icon: Icons.percent, - label: l10n.repeater_chanUtil, - value: _chanUtilText(), - color: _chanUtil != null && _chanUtil! > 80 - ? MeshPalette.alert - : _chanUtil != null && _chanUtil! > 50 - ? MeshPalette.warn - : MeshPalette.signal, - ), + if (_isRoom) ...[ + _StatItem( + icon: Icons.forum_outlined, + label: l10n.room_postsStored, + value: _formatValue(_posted), + color: MeshPalette.blue, + ), + _StatItem( + icon: Icons.outbox, + label: l10n.room_postsPushed, + value: _formatValue(_postPushes), + color: MeshPalette.signal, + ), + ] else + _StatItem( + icon: Icons.error_outline, + label: l10n.repeater_recvErrors, + value: _formatValue(_recvErrors), + color: _recvErrors != null && _recvErrors! > 0 + ? MeshPalette.warn + : scheme.onSurfaceVariant, + ), + if (!_isRoom) + _StatItem( + icon: Icons.percent, + label: l10n.repeater_chanUtil, + value: _chanUtilText(), + color: _chanUtil != null && _chanUtil! > 80 + ? MeshPalette.alert + : _chanUtil != null && _chanUtil! > 50 + ? MeshPalette.warn + : MeshPalette.signal, + ), ]), ), const SizedBox(height: 8), @@ -618,23 +614,33 @@ class _RepeaterStatusScreenState extends State { } Widget _buildStatGrid(List<_StatItem> items) { - return GridView.count( - crossAxisCount: 2, - shrinkWrap: true, - physics: const NeverScrollableScrollPhysics(), - mainAxisSpacing: 8, - crossAxisSpacing: 8, - childAspectRatio: 2.2, - children: items - .map( - (item) => StatTile( + final textScaler = MediaQuery.textScalerOf(context); + return LayoutBuilder( + builder: (context, constraints) { + final columns = constraints.maxWidth / textScaler.scale(1) < 320 + ? 1 + : 2; + return GridView.builder( + shrinkWrap: true, + physics: const NeverScrollableScrollPhysics(), + itemCount: items.length, + gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: columns, + mainAxisSpacing: 8, + crossAxisSpacing: 8, + mainAxisExtent: textScaler.scale(52) + 28, + ), + itemBuilder: (context, index) { + final item = items[index]; + return StatTile( icon: item.icon, label: item.label, value: item.value, color: item.color, - ), - ) - .toList(), + ); + }, + ); + }, ); } } diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dart index c28137d4..8885b24d 100644 --- a/lib/screens/settings_screen.dart +++ b/lib/screens/settings_screen.dart @@ -29,15 +29,24 @@ int _toUiCodingRate(int deviceCr) { return deviceCr <= 4 ? deviceCr + 4 : deviceCr; } -/// Convert UI coding-rate value (5-8) back to firmware encoding. -/// Uses the current device CR to detect which encoding the firmware expects. -int _toDeviceCodingRate(int uiCr, int? deviceCr) { - if (deviceCr != null && deviceCr <= 4) { - return uiCr - 4; +const Set _defaultRepeatFreqsKHz = {433000, 869495, 918000}; + +/// Whether the firmware accepts [freqKHz] for off-grid client repeat, using +/// the ranges from CMD_GET_ALLOWED_REPEAT_FREQ when known. +bool _isAllowedRepeatFreqKHz(MeshCoreConnector connector, int freqKHz) { + final ranges = connector.allowedRepeatFreqRanges; + if (ranges == null || ranges.isEmpty) { + return _defaultRepeatFreqsKHz.contains(freqKHz); } - return uiCr; + return ranges.any((r) => freqKHz >= r.lowKHz && freqKHz <= r.highKHz); } +/// Companion firmware version that added CMD_SET_PATH_HASH_MODE (v1.14.0). +const int _minFirmwareVerCodeForPathHashMode = 10; + +/// Lowest TX power companion firmware accepts (CMD_SET_RADIO_TX_POWER). +const int _minTxPowerDbm = -9; + class SettingsScreen extends StatefulWidget { const SettingsScreen({super.key}); @@ -499,7 +508,10 @@ class _SettingsScreenState extends State { context, icon: Icons.sensors_outlined, title: l10n.radioStats_settingsTile, - subtitle: l10n.radioStats_settingsSubtitle, + subtitle: + connector.isConnected && !connector.supportsCompanionRadioStats + ? l10n.settings_requiresFirmware('v1.10') + : l10n.radioStats_settingsSubtitle, onTap: connector.isConnected && connector.supportsCompanionRadioStats ? () => pushCompanionRadioStatsScreen(context) : null, @@ -509,8 +521,16 @@ class _SettingsScreenState extends State { context, icon: Icons.route_outlined, title: l10n.repeater_pathHashMode, - subtitle: _pathHashModeSubtitle(context, connector.pathHashByteWidth), - onTap: connector.isConnected + subtitle: + connector.isConnected && + (connector.firmwareVerCode ?? 0) < + _minFirmwareVerCodeForPathHashMode + ? l10n.settings_requiresFirmware('v1.14') + : _pathHashModeSubtitle(context, connector.pathHashByteWidth), + onTap: + connector.isConnected && + (connector.firmwareVerCode ?? 0) >= + _minFirmwareVerCodeForPathHashMode ? () => _editPathHashMode(context, connector) : null, ), @@ -818,12 +838,12 @@ class _SettingsScreenState extends State { void _editPathHashMode(BuildContext context, MeshCoreConnector connector) { final l10n = context.l10n; - var selectedMode = (connector.pathHashByteWidth - 1).clamp(0, 3).toInt(); + var selectedMode = (connector.pathHashByteWidth - 1).clamp(0, 2).toInt(); showDialog( context: context, builder: (dialogContext) => StatefulBuilder( - builder: (context, setDialogState) => AlertDialog( + builder: (builderContext, setDialogState) => AlertDialog( title: Text(l10n.repeater_pathHashMode), content: Column( mainAxisSize: MainAxisSize.min, @@ -848,10 +868,6 @@ class _SettingsScreenState extends State { value: 2, child: Text(l10n.repeater_pathHashModeOption2), ), - DropdownMenuItem( - value: 3, - child: Text(l10n.repeater_pathHashModeOption3), - ), ], onChanged: (value) { if (value == null) return; @@ -860,8 +876,8 @@ class _SettingsScreenState extends State { ), const SizedBox(height: 12), Text( - l10n.repeater_pathHashModeHelper, - style: Theme.of(context).textTheme.bodySmall, + l10n.settings_pathHashModeHelper, + style: Theme.of(builderContext).textTheme.bodySmall, ), ], ), @@ -921,7 +937,7 @@ class _SettingsScreenState extends State { showDialog( context: context, builder: (dialogContext) => StatefulBuilder( - builder: (context, setDialogState) => AlertDialog( + builder: (builderContext, setDialogState) => AlertDialog( title: Text(l10n.settings_location), content: Column( mainAxisSize: MainAxisSize.min, @@ -987,7 +1003,7 @@ class _SettingsScreenState extends State { ), actions: [ TextButton( - onPressed: () => Navigator.pop(context), + onPressed: () => Navigator.pop(dialogContext), child: Text(l10n.common_cancel), ), TextButton( @@ -1008,7 +1024,7 @@ class _SettingsScreenState extends State { } } - Navigator.pop(context); + Navigator.pop(dialogContext); if (interval != null) { await settingsService.setGpsIntervalSeconds( @@ -1326,21 +1342,37 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) { settingsService.settings.autoSendZeroHopAdvertOnGpsUpdate; final telemModeBase = [ - DropdownMenuItem(value: teleModeDeny, child: Text(l10n.settings_denyAll)), + DropdownMenuItem( + value: teleModeDeny, + child: Text( + l10n.settings_denyAll, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), + ), DropdownMenuItem( value: teleModeAllowFlags, - child: Text(l10n.settings_allowByContact), + child: Text( + l10n.settings_allowByContact, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), ), DropdownMenuItem( value: teleModeAllowAll, - child: Text(l10n.settings_allowAll), + child: Text( + l10n.settings_allowAll, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), ), ]; showDialog( context: context, builder: (dialogContext) => StatefulBuilder( - builder: (context, setDialogState) => AlertDialog( + builder: (builderContext, setDialogState) => AlertDialog( + insetPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 24), title: Text(l10n.settings_privacy), content: SingleChildScrollView( child: Column( @@ -1374,6 +1406,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) { const SizedBox(height: 8), SwitchListTile( title: Text(l10n.settings_multiAck), + subtitle: Text(l10n.settings_multiAckSubtitle), value: multiAcks == 1, onChanged: (value) { setDialogState(() => multiAcks = value ? 1 : 0); @@ -1383,6 +1416,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) { const SizedBox(height: 16), DropdownButtonFormField( initialValue: telemetryMode, + isExpanded: true, decoration: InputDecoration( labelText: l10n.settings_telemetryBaseMode, border: const OutlineInputBorder(), @@ -1397,6 +1431,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) { const SizedBox(height: 16), DropdownButtonFormField( initialValue: telemetryLocMode, + isExpanded: true, decoration: InputDecoration( labelText: l10n.settings_telemetryLocationMode, border: const OutlineInputBorder(), @@ -1411,6 +1446,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) { const SizedBox(height: 16), DropdownButtonFormField( initialValue: telemetryEnvMode, + isExpanded: true, decoration: InputDecoration( labelText: l10n.settings_telemetryEnvironmentMode, border: const OutlineInputBorder(), @@ -1422,17 +1458,22 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) { } }, ), + const SizedBox(height: 8), + Text( + l10n.settings_telemetryPerContactHint, + style: Theme.of(context).textTheme.bodySmall, + ), ], ), ), actions: [ TextButton( - onPressed: () => Navigator.pop(context), + onPressed: () => Navigator.pop(dialogContext), child: Text(l10n.common_cancel), ), TextButton( onPressed: () async { - Navigator.pop(context); + Navigator.pop(dialogContext); await connector.setTelemetryModeBase( telemetryMode, telemetryLocMode, @@ -1575,8 +1616,7 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { if (preset.frequencyHz == snapshot.frequencyHz && preset.bandwidth == snapshot.bandwidth && preset.spreadingFactor == snapshot.spreadingFactor && - preset.codingRate == snapshot.codingRate && - preset.txPowerDbm == snapshot.txPowerDbm) { + preset.codingRate == snapshot.codingRate) { return i; } } @@ -1610,9 +1650,15 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { } double _offGridFrequencyForBaseFrequency(double baseFrequencyMHz) { - if (baseFrequencyMHz < 500) return 433.0; - if (baseFrequencyMHz < 900) return 869.0; - return 918.0; + final baseKHz = (baseFrequencyMHz * 1000).round(); + final ranges = widget.connector.allowedRepeatFreqRanges; + final candidates = ranges == null || ranges.isEmpty + ? _defaultRepeatFreqsKHz + : {for (final r in ranges) baseKHz.clamp(r.lowKHz, r.highKHz)}; + final closestKHz = candidates.reduce( + (a, b) => (a - baseKHz).abs() <= (b - baseKHz).abs() ? a : b, + ); + return closestKHz / 1000.0; } double _normalFrequencyForBand(double frequencyMHz) { @@ -1657,14 +1703,13 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { if (offGridFreqHz == current.frequencyHz && preset.bandwidth == current.bandwidth && preset.spreadingFactor == current.spreadingFactor && - preset.codingRate == current.codingRate && - preset.txPowerDbm == current.txPowerDbm) { + preset.codingRate == current.codingRate) { return _RadioSettingsSnapshot( frequencyMHz: preset.frequencyMHz, bandwidth: preset.bandwidth, spreadingFactor: preset.spreadingFactor, codingRate: preset.codingRate, - txPowerDbm: preset.txPowerDbm, + txPowerDbm: current.txPowerDbm, ); } } @@ -1753,14 +1798,15 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { void _validateFields() { final l10n = context.l10n; final freqMHz = double.tryParse(_frequencyController.text); - _frequencyError = (freqMHz == null || freqMHz < 300 || freqMHz > 2500) + _frequencyError = (freqMHz == null || freqMHz < 150 || freqMHz > 2500) ? l10n.settings_frequencyInvalid : null; final maxTxPower = widget.connector.maxTxPower ?? 22; final txPower = int.tryParse(_txPowerController.text); - _txPowerError = (txPower == null || txPower < 0 || txPower > maxTxPower) - ? '${l10n.settings_txPowerInvalid} (0-$maxTxPower dBm)' + _txPowerError = + (txPower == null || txPower < _minTxPowerDbm || txPower > maxTxPower) + ? '${l10n.settings_txPowerInvalid} ($_minTxPowerDbm-$maxTxPower dBm)' : null; } @@ -1797,7 +1843,7 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { final freqMHz = double.tryParse(_frequencyController.text); final txPower = int.tryParse(_txPowerController.text); - if (freqMHz == null || freqMHz < 300 || freqMHz > 2500) { + if (freqMHz == null || freqMHz < 150 || freqMHz > 2500) { showDismissibleSnackBar( context, content: Text(l10n.settings_frequencyInvalid), @@ -1806,10 +1852,12 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { } final maxTxPower = widget.connector.maxTxPower ?? 22; - if (txPower == null || txPower < 0 || txPower > maxTxPower) { + if (txPower == null || txPower < _minTxPowerDbm || txPower > maxTxPower) { showDismissibleSnackBar( context, - content: Text('${l10n.settings_txPowerInvalid} (0-$maxTxPower dBm)'), + content: Text( + '${l10n.settings_txPowerInvalid} ($_minTxPowerDbm-$maxTxPower dBm)', + ), ); return; } @@ -1817,18 +1865,14 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { final freqHz = (freqMHz * 1000).round(); final bwHz = _bandwidth.hz; final sf = _spreadingFactor.value; - final cr = _toDeviceCodingRate( - _codingRate.value, - widget.connector.currentCr, - ); + final cr = _codingRate.value; // if the client repeat isnt null then we know its supported //otherwise we leave it out of the frame to avoid accidentally enabling final knownRepeat = widget.connector.clientRepeat != null; if (knownRepeat) { - const validRepeatFreqsKHz = {433000, 869000, 918000}; - if (_clientRepeat && !validRepeatFreqsKHz.contains(freqHz)) { + if (_clientRepeat && !_isAllowedRepeatFreqKHz(widget.connector, freqHz)) { showDismissibleSnackBar( context, content: Text(l10n.settings_clientRepeatFreqWarning), @@ -1839,23 +1883,53 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { try { _logRadioSettingsState('Saving radio settings'); - await widget.connector.sendFrame( - buildSetRadioParamsFrame( - freqHz, - bwHz, - sf, - cr, + final accepted = await widget.connector.setRadioParams( + freqHz, + bwHz, + sf, + cr, + clientRepeat: knownRepeat ? _clientRepeat : null, + ); + if (!accepted) { + _logRadioSettingsState('Radio rejected requested settings'); + if (!mounted) return; + showDismissibleSnackBar( + context, + content: Text(l10n.settings_radioSettingsNotApplied), + ); + return; + } + await widget.connector.sendFrame(buildSetRadioTxPowerFrame(txPower)); + final selfInfo = widget.connector.receivedFrames + .firstWhere((f) => f.isNotEmpty && f[0] == respCodeSelfInfo) + .timeout(const Duration(seconds: 5)); + await widget.connector.refreshDeviceInfo(); + final applied = await selfInfo.then( + (_) => _deviceMatches( + freqHz: freqHz, + bwHz: bwHz, + sf: sf, + cr: cr, + txPower: txPower, clientRepeat: knownRepeat ? _clientRepeat : null, ), + onError: (_) => true, ); - await widget.connector.sendFrame(buildSetRadioTxPowerFrame(txPower)); - await widget.connector.refreshDeviceInfo(); + if (!applied) { + _logRadioSettingsState('Radio did not apply requested settings'); + if (!mounted) return; + showDismissibleSnackBar( + context, + content: Text(l10n.settings_radioSettingsNotApplied), + ); + return; + } final rememberedSnapshot = _clientRepeat ? _lastNonRepeatSnapshot : _currentSnapshot(); if (rememberedSnapshot != null) { widget.connector.rememberNonRepeatRadioState( - rememberedSnapshot.toMeshCoreSnapshot(widget.connector.currentCr), + rememberedSnapshot.toMeshCoreSnapshot(), ); } @@ -1877,6 +1951,27 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { Navigator.pop(context); } + bool _deviceMatches({ + required int freqHz, + required int bwHz, + required int sf, + required int cr, + required int txPower, + required bool? clientRepeat, + }) { + final c = widget.connector; + // Firmware stores freq/bw as float MHz/kHz, so allow 1 unit of rounding. + return c.currentFreqHz != null && + (c.currentFreqHz! - freqHz).abs() <= 1 && + c.currentBwHz != null && + (c.currentBwHz! - bwHz).abs() <= 1 && + c.currentSf == sf && + c.currentCr != null && + _toUiCodingRate(c.currentCr!) == cr && + c.currentTxPower == txPower && + (clientRepeat == null || c.clientRepeat == clientRepeat); + } + String _presetLabel(int? index) { if (index == null) { return 'custom'; @@ -1923,20 +2018,30 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { children: [ DropdownButtonFormField( key: ValueKey(_selectedPresetIndex), - initialValue: _selectedPresetIndex, + initialValue: _selectedPresetIndex ?? -1, + isExpanded: true, decoration: InputDecoration( labelText: l10n.settings_presets, border: const OutlineInputBorder(), ), items: [ + if (_selectedPresetIndex == null) + DropdownMenuItem( + value: -1, + child: Text(l10n.settings_presetCustom), + ), for (final i in _visiblePresetIndexes()) DropdownMenuItem( value: i, - child: Text(RadioSettings.presets[i].$1), + child: Text( + RadioSettings.presets[i].$1, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), ), ], onChanged: (index) { - if (index != null) { + if (index != null && index >= 0) { _applyPreset(index); } }, @@ -1948,7 +2053,11 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { decoration: InputDecoration( labelText: l10n.settings_frequency, border: const OutlineInputBorder(), - helperText: l10n.settings_frequencyHelper, + helperText: _clientRepeat + ? l10n.settings_clientRepeatFrequencyNote( + _frequencyController.text, + ) + : l10n.settings_frequencyHelper, errorText: _frequencyError, ), keyboardType: const TextInputType.numberWithOptions( @@ -2030,9 +2139,10 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { decoration: InputDecoration( labelText: l10n.settings_txPower, border: const OutlineInputBorder(), - helperText: widget.connector.maxTxPower != null - ? '${l10n.settings_txPowerHelper} (max: ${widget.connector.maxTxPower} dBm)' - : l10n.settings_txPowerHelper, + helperText: l10n.settings_txPowerRangeHelper( + _minTxPowerDbm, + widget.connector.maxTxPower ?? 22, + ), errorText: _txPowerError, ), keyboardType: TextInputType.number, @@ -2047,6 +2157,11 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> { contentPadding: EdgeInsets.zero, ), ], + const SizedBox(height: 16), + Text( + l10n.settings_radioMatchWarning, + style: Theme.of(context).textTheme.bodySmall, + ), ], ), ), @@ -2108,12 +2223,12 @@ class _RadioSettingsSnapshot { } /// Convert back to the connector's raw-int snapshot. - MeshCoreRadioStateSnapshot toMeshCoreSnapshot(int? deviceCr) { + MeshCoreRadioStateSnapshot toMeshCoreSnapshot() { return MeshCoreRadioStateSnapshot( freqHz: frequencyHz, bwHz: bandwidth.hz, sf: spreadingFactor.value, - cr: _toDeviceCodingRate(codingRate.value, deviceCr), + cr: codingRate.value, txPowerDbm: txPowerDbm, ); } diff --git a/lib/screens/telemetry_screen.dart b/lib/screens/telemetry_screen.dart index 96a59c75..b5301a24 100644 --- a/lib/screens/telemetry_screen.dart +++ b/lib/screens/telemetry_screen.dart @@ -40,6 +40,7 @@ class _TelemetryScreenState extends State { static const int _autoRefreshMaxQuantity = 10; int _tagData = 0; + bool _awaitingSent = false; bool _isLoading = false; bool _isLoaded = false; @@ -101,7 +102,8 @@ class _TelemetryScreenState extends State { final reader = BufferReader(frame); try { final cmd = reader.readByte(); - if (cmd == respCodeSent) { + if (cmd == respCodeSent && _awaitingSent) { + _awaitingSent = false; reader.skipBytes(1); // Skip the reserved byte _tagData = reader.readUInt32LE(); _tripTime = reader.readUInt32LE(); @@ -183,6 +185,7 @@ class _TelemetryScreenState extends State { ); } _statusTimeout?.cancel(); + _recordTelemetryResult(true); if (!mounted) return; setState(() { _isLoading = false; @@ -217,8 +220,10 @@ class _TelemetryScreenState extends State { } else { frame = buildSendTelemetryReq(widget.contact.publicKey); } + _awaitingSent = true; await connector.sendFrame(frame); } catch (e) { + _awaitingSent = false; if (mounted) { setState(() { _isLoading = false; @@ -912,10 +917,12 @@ class _TelemetryScreenState extends State { ), ), const SizedBox(width: 8), - Text( - value, - style: MeshTheme.mono(fontSize: 13, color: scheme.onSurface), - textAlign: TextAlign.end, + Flexible( + child: Text( + value, + style: MeshTheme.mono(fontSize: 13, color: scheme.onSurface), + textAlign: TextAlign.end, + ), ), ], ), diff --git a/lib/services/app_settings_service.dart b/lib/services/app_settings_service.dart index 4f3a06ed..80b0e9a9 100644 --- a/lib/services/app_settings_service.dart +++ b/lib/services/app_settings_service.dart @@ -105,6 +105,10 @@ class AppSettingsService extends ChangeNotifier { await updateSettings(_settings.copyWith(mapShowGuessedLocations: value)); } + Future setMapClusterNodes(bool value) async { + await updateSettings(_settings.copyWith(mapClusterNodes: value)); + } + Future setEnableMessageTracing(bool value) async { await updateSettings(_settings.copyWith(enableMessageTracing: value)); } @@ -206,6 +210,18 @@ class AppSettingsService extends ChangeNotifier { await updateSettings(_settings.copyWith(maxMessageRetries: value)); } + Future setChannelMinHopsEnabled(bool value) async { + await updateSettings(_settings.copyWith(channelMinHopsEnabled: value)); + } + + Future setChannelMinHops(int value) async { + await updateSettings(_settings.copyWith(channelMinHops: value)); + } + + Future setChannelMinHopsRetries(int value) async { + await updateSettings(_settings.copyWith(channelMinHopsRetries: value)); + } + Future setThemeMode(String value) async { await updateSettings(_settings.copyWith(themeMode: value)); } diff --git a/lib/services/background_service.dart b/lib/services/background_service.dart index 23d5fafe..75684079 100644 --- a/lib/services/background_service.dart +++ b/lib/services/background_service.dart @@ -70,6 +70,11 @@ class BackgroundService { return AppLocalizations.delegate.load(match); } + static Future openBatteryOptimizationSettings() async { + if (!PlatformInfo.isAndroid) return; + await FlutterForegroundTask.openIgnoreBatteryOptimizationSettings(); + } + Future stop() async { if (!PlatformInfo.isAndroid) return; final running = await FlutterForegroundTask.isRunningService; diff --git a/lib/services/image_chunk_transport.dart b/lib/services/image_chunk_transport.dart index 558ebb73..2731d2b8 100644 --- a/lib/services/image_chunk_transport.dart +++ b/lib/services/image_chunk_transport.dart @@ -630,6 +630,9 @@ enum ImageReassemblyFailureReason { /// Reassembled but the metadata byte was undecodable /// ([ImageChunkStatus.unsupportedFormat]). unsupportedFormat, + + /// Dropped by [ImageReassembler.clear] (disconnect / new session). + disconnected, } /// A fully reassembled image. @@ -852,10 +855,27 @@ class ImageReassembler { /// Keys of the remembered completed images (test/debug aid). Iterable get completedKeys => _recentlyCompleted.keys; - /// Drops everything (e.g. on disconnect). Does not fire [onFailed]. - void clear() { + /// Drops everything (e.g. on disconnect). In-progress streams are reported + /// through [onFailed] right away, so their bubbles stop showing "receiving"; + /// nothing is left behind for [evictExpired] to report later. + void clear({DateTime? now}) { + final at = now ?? _clock(); + final dropped = _pending.values.toList(); _pending.clear(); _recentlyCompleted.clear(); + for (final entry in dropped) { + onFailed?.call( + ImageReassemblyFailure( + key: entry.key, + total: entry.total, + receivedDataChunks: entry.bodies.length, + hadParity: entry.hasParity, + firstSeen: entry.firstSeen, + expiredAt: at, + reason: ImageReassemblyFailureReason.disconnected, + ), + ); + } } /// Feeds one received GRP_DATA blob. @@ -883,6 +903,12 @@ class ImageReassembler { // A parity chunk must carry at least its length byte. return ImageChunkOutcome(ImageChunkStatus.malformed, header: header); } + if (!header.isParity && body.length > kImageChunkBodyBytes) { + // The blob cap leaves room for one byte more than the XOR buffer holds; + // such a body can never come from [buildImageChunks] and would overrun + // parity recovery. + return ImageChunkOutcome(ImageChunkStatus.malformed, header: header); + } final key = ImageStreamKey( senderPrefix: header.senderPrefix, diff --git a/lib/services/image_codec_service.dart b/lib/services/image_codec_service.dart index ed5972a7..fc356e84 100644 --- a/lib/services/image_codec_service.dart +++ b/lib/services/image_codec_service.dart @@ -90,6 +90,10 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec { String? _lastError; Future _queue = Future.value(); ImageCodecSession? _session; + + /// Teardown started by [handleMemoryPressure]; [_ensureSession] waits for it + /// so a second isolate is never spawned while the first is still resident. + Future? _pendingRelease; ImageCodecBundle? _loadedBundle; ImageCodecBundle? _failedBundle; int _downloadedBytes = 0; @@ -980,6 +984,17 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec { return bitstream; } + @override + Future decodePreview(Uint8List payload) async { + if (!canDecode) return null; + final result = await decodeBitstream( + bitstream: payload, + ratePoint: aeicRatePointForUi(kImageSendRatePoint), + resolution: kImageCodecSquareSize, + ); + return result?.pngBytes; + } + /// Encodes an already-decoded RGB image. /// /// [rgbBytes] must be exactly `512 * 512 * 3` packed 8-bit RGB. Anything else @@ -1339,6 +1354,12 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec { // ---- model memory (mirrors translation_service.dart:586-629) ------------- Future _ensureSession(ImageCodecBundle bundle) async { + final pendingRelease = _pendingRelease; + if (pendingRelease != null) { + try { + await pendingRelease; + } catch (_) {} + } if (_session != null && _loadedBundle == bundle) { return _session; } @@ -1455,8 +1476,16 @@ class ImageCodecService extends ChangeNotifier implements ImageSendCodec { if (session != null) { // Ask for the big half back before the shutdown handshake, so the peak // does not have to wait on isolate teardown. - await session.release(decoder: true); - await session.dispose(); + final release = () async { + await session.release(decoder: true); + await session.dispose(); + }(); + _pendingRelease = release; + try { + await release; + } finally { + if (identical(_pendingRelease, release)) _pendingRelease = null; + } } appLogger.info('Image codec model evicted', tag: 'ImageCodec'); _notify(); diff --git a/lib/services/map_tile_cache_service.dart b/lib/services/map_tile_cache_service.dart index df45c4ca..3be80f67 100644 --- a/lib/services/map_tile_cache_service.dart +++ b/lib/services/map_tile_cache_service.dart @@ -358,6 +358,19 @@ class MapTileCacheService extends ChangeNotifier { String get urlTemplate => _buildUrlTemplate(appSettingsService.settings); + /// Cache key for a tile URL: the URL without its `api_key`, so rotating the + /// Stadia key does not orphan every offline tile. + static String tileCacheKey(String url) { + final uri = Uri.tryParse(url); + if (uri == null || !uri.queryParameters.containsKey('api_key')) return url; + final params = Map.of(uri.queryParameters) + ..remove('api_key'); + final stripped = params.isEmpty + ? uri.replace(query: '') + : uri.replace(queryParameters: params); + return stripped.toString().replaceFirst(RegExp(r'\?$'), ''); + } + TileBuilder? get tileBuilder => null; static bool shouldApplyDarkFilterForSettings( @@ -614,7 +627,7 @@ class MapTileCacheService extends ChangeNotifier { final pending = >[]; Future queueDownload(String url) async { final future = cacheManager - .downloadFile(url, key: url, authHeaders: authHeaders) + .downloadFile(url, key: tileCacheKey(url), authHeaders: authHeaders) .then((_) { completed += 1; }) @@ -828,6 +841,7 @@ class CachedNetworkTileProvider extends TileProvider { final url = getTileUrl(coordinates, options); return CachedNetworkImageProvider( url, + cacheKey: MapTileCacheService.tileCacheKey(url), cacheManager: cacheManager, headers: headers, ); diff --git a/lib/services/message_retry_service.dart b/lib/services/message_retry_service.dart index 783b28ba..416e1b61 100644 --- a/lib/services/message_retry_service.dart +++ b/lib/services/message_retry_service.dart @@ -3,6 +3,7 @@ import 'dart:convert'; import 'package:flutter/foundation.dart'; import 'package:uuid/uuid.dart'; import 'package:crypto/crypto.dart'; +import '../connector/meshcore_protocol.dart'; import '../models/contact.dart'; import '../models/message.dart'; import '../models/path_selection.dart'; @@ -34,7 +35,7 @@ typedef AckHashMapping = ({ }); class RetryServiceConfig { - final void Function(Contact, String, int, int) sendMessage; + final FutureOr Function(Contact, String, int, int) sendMessage; final void Function(String, Message) addMessage; final void Function(Message) updateMessage; final Function(Contact)? clearContactPath; @@ -209,21 +210,46 @@ class MessageRetryService extends ChangeNotifier { final messageId = queue.removeAt(0); if (_pendingMessages.containsKey(messageId)) { _activeMessages.add(messageId); - _attemptSend(messageId).catchError((e) { - debugPrint('_attemptSend threw for $messageId: $e'); - final msg = _pendingMessages[messageId]; - if (msg != null) { - final failed = msg.copyWith(status: MessageStatus.failed); - _pendingMessages[messageId] = failed; - _config?.updateMessage(failed); - } - _onMessageResolved(messageId, contactKey); - }); + _attemptSendOrFail(messageId); return; } } } + void _attemptSendOrFail(String messageId) { + _attemptSend(messageId).catchError((Object e) { + debugPrint('_attemptSend threw for $messageId: $e'); + _config?.debugLogService?.warn( + 'Send failed for message $messageId: $e', + tag: 'AckHash', + ); + _failMessage(messageId); + }); + } + + /// Marks a message that could not be handed to the radio as failed and + /// releases its in-flight slot so the contact's queue keeps moving. + void _failMessage(String messageId) { + final message = _pendingMessages[messageId]; + if (message == null) return; + _timeoutTimers[messageId]?.cancel(); + if (message.status != MessageStatus.failed && + message.status != MessageStatus.delivered) { + _config?.updateMessage(message.copyWith(status: MessageStatus.failed)); + } + _cleanupMessage(messageId); + notifyListeners(); + } + + /// Fails every pending and queued message. Call when the radio link drops: + /// nothing in flight can be sent or acknowledged any more. + void failAllPending() { + _sendQueue.clear(); + for (final messageId in _pendingMessages.keys.toList()) { + _failMessage(messageId); + } + } + void _onMessageResolved(String messageId, String contactKey) { if (_resolvedMessages.contains(messageId)) return; _resolvedMessages.add(messageId); @@ -358,6 +384,9 @@ class MessageRetryService extends ChangeNotifier { // Compute expected ACK hash that device will return in RESP_CODE_SENT // IMPORTANT: Use the transformed text (with SMAZ encoding if enabled) to match device's hash final selfPubKey = config.getSelfPublicKey?.call(); + if (config.getSelfPublicKey != null && selfPubKey == null) { + throw StateError('Self public key unknown; cannot track ACK'); + } if (selfPubKey != null) { final outboundText = config.prepareContactOutboundText?.call(contact, message.text) ?? @@ -380,7 +409,7 @@ class MessageRetryService extends ChangeNotifier { ); } - config.sendMessage(contact, message.text, attempt, timestampSeconds); + await config.sendMessage(contact, message.text, attempt, timestampSeconds); } bool updateMessageFromSent(int ackHash, int timeoutMs) { @@ -535,7 +564,8 @@ class MessageRetryService extends ChangeNotifier { tag: 'AckHash', ); - if (message.retryCount < maxRetries - 1) { + if (message.retryCount < maxRetries - 1 && + _textFitsAttempt(message, contact, message.retryCount + 1)) { final backoffMs = 1000 * (1 << message.retryCount); if (selection != null) { @@ -563,7 +593,7 @@ class MessageRetryService extends ChangeNotifier { _timeoutTimers[messageId] = Timer(Duration(milliseconds: backoffMs), () { if (_pendingMessages.containsKey(messageId)) { - _attemptSend(messageId); + _attemptSendOrFail(messageId); } }); } else { @@ -598,6 +628,17 @@ class MessageRetryService extends ChangeNotifier { } } + /// From attempt 4 on the firmware appends [0][attempt] to the payload and + /// rejects text longer than MAX_TEXT_LEN - 2 (BaseChatMesh::composeMsgPacket). + bool _textFitsAttempt(Message message, Contact contact, int attempt) { + if (attempt <= maxFullLengthTextAttempt) return true; + final outboundText = + _config?.prepareContactOutboundText?.call(contact, message.text) ?? + message.text; + return utf8.encode(outboundText).length <= + maxTextPayloadBytesAfterFullLengthAttempts; + } + void _moveAckHashesToHistory(String messageId) { final ackHashes = _expectedAckHashes.remove(messageId); if (ackHashes != null && ackHashes.isNotEmpty) { diff --git a/lib/services/notification_service.dart b/lib/services/notification_service.dart index e2cad357..f4578558 100644 --- a/lib/services/notification_service.dart +++ b/lib/services/notification_service.dart @@ -8,6 +8,7 @@ import 'package:flutter_cache_manager/flutter_cache_manager.dart'; import '../helpers/message_url_image_helper.dart'; import '../helpers/reaction_helper.dart'; import '../l10n/app_localizations.dart'; +import '../storage/prefs_manager.dart'; import '../utils/platform_info.dart'; class NotificationService { @@ -123,9 +124,11 @@ class NotificationService { // Cached "are we allowed to post notifications" result. Null = not yet // determined. Avoids calling _notifications.show() when it would only throw - // "You must request notifications permissions first" (every web build, and - // Android 13+ before the user grants the permission). + // "You must request notifications permissions first" (every web build). + // Android denials are never cached so a later grant in system settings is + // picked up without restarting the app. bool? _canNotify; + static const _permissionRequestedKey = 'notification_permission_requested'; Future _ensureCanNotify() async { if (!await _ensureInitialized()) return false; @@ -143,8 +146,9 @@ class NotificationService { AndroidFlutterLocalNotificationsPlugin >(); if (androidPlugin != null) { - final enabled = await androidPlugin.areNotificationsEnabled(); - return _canNotify = enabled ?? false; + final enabled = await androidPlugin.areNotificationsEnabled() ?? false; + if (enabled) _canNotify = true; + return enabled; } // iOS/macOS request permission during initialize(); desktop has no gate. @@ -163,8 +167,8 @@ class NotificationService { >(); if (androidPlugin != null) { final granted = await androidPlugin.requestNotificationsPermission(); - _canNotify = granted ?? false; - return _canNotify!; + if (granted == true) _canNotify = true; + return granted ?? false; } // iOS permissions are requested during initialization @@ -178,13 +182,25 @@ class NotificationService { badge: true, sound: true, ); - _canNotify = granted ?? false; - return _canNotify!; + if (granted == true) _canNotify = true; + return granted ?? false; } return true; } + /// Asks for the Android 13+ notification permission the first time it is + /// needed. Never re-prompts after the user has answered once; iOS/macOS + /// already prompt during [initialize]. + Future requestPermissionsOnce() async { + if (!PlatformInfo.isAndroid || !await _ensureInitialized()) return; + final prefs = PrefsManager.instance; + if (prefs.getBool(_permissionRequestedKey) ?? false) return; + if (await _ensureCanNotify()) return; + await prefs.setBool(_permissionRequestedKey, true); + await requestPermissions(); + } + /// Format special message types for human-readable notifications. static String formatNotificationText(String text) { final trimmed = text.trim(); diff --git a/lib/services/path_history_service.dart b/lib/services/path_history_service.dart index 7a61e3f6..1de88941 100644 --- a/lib/services/path_history_service.dart +++ b/lib/services/path_history_service.dart @@ -9,8 +9,7 @@ class PathHistoryService extends ChangeNotifier { final Map _cache = {}; final Map _autoRotationIndex = {}; final Map _floodStats = {}; - final Set _pendingLoads = {}; - final Map> _deferredRecords = {}; + final Map> _pendingLoads = {}; // LRU cache eviction tracking static const int _maxCachedContacts = 50; @@ -23,6 +22,16 @@ class PathHistoryService extends ChangeNotifier { PathHistoryService(this._storage); + void setDevicePublicKey(String publicKeyHex) { + _storage.setPublicKeyHex = publicKeyHex; + _cache.clear(); + _cacheAccessOrder.clear(); + _autoRotationIndex.clear(); + _floodStats.clear(); + _version++; + notifyListeners(); + } + Future initialize() async { // Load cached path histories on startup if needed } @@ -40,7 +49,7 @@ class PathHistoryService extends ChangeNotifier { pathBytes: contact.path, successCount: 0, failureCount: 0, - routeWeight: initialWeight, + initialWeight: initialWeight, timestamp: null, ); } @@ -74,6 +83,20 @@ class PathHistoryService extends ChangeNotifier { double maxWeight = 5.0, }) { if (pathBytes.isEmpty || hopCount < 0) return; + if (!_cache.containsKey(contactPubKeyHex)) { + _ensureLoaded(contactPubKeyHex).then((_) { + if (!_cache.containsKey(contactPubKeyHex)) return; + recordFloodPathAttribution( + contactPubKeyHex: contactPubKeyHex, + pathBytes: pathBytes, + hopCount: hopCount, + tripTimeMs: tripTimeMs, + successIncrement: successIncrement, + maxWeight: maxWeight, + ); + }); + return; + } final existing = _findPathRecord(contactPubKeyHex, pathBytes); final successCount = (existing?.successCount ?? 0) + 1; @@ -124,6 +147,22 @@ class PathHistoryService extends ChangeNotifier { return; } + if (!_cache.containsKey(contactPubKeyHex)) { + _ensureLoaded(contactPubKeyHex).then((_) { + if (!_cache.containsKey(contactPubKeyHex)) return; + recordPathResult( + contactPubKeyHex, + selection, + success: success, + tripTimeMs: tripTimeMs, + successIncrement: successIncrement, + failureDecrement: failureDecrement, + maxWeight: maxWeight, + ); + }); + return; + } + final existing = _findPathRecord(contactPubKeyHex, selection.pathBytes); final successCount = (existing?.successCount ?? 0) + (success ? 1 : 0); final failureCount = (existing?.failureCount ?? 0) + (success ? 0 : 1); @@ -222,73 +261,11 @@ class PathHistoryService extends ChangeNotifier { required List pathBytes, required int successCount, required int failureCount, - double routeWeight = 1.0, + double? routeWeight, + double initialWeight = 1.0, DateTime? timestamp, }) { - var history = _cache[contactPubKeyHex]; - - if (history == null) { - // If a load is already in progress, defer this record - if (_pendingLoads.contains(contactPubKeyHex)) { - _deferredRecords.putIfAbsent(contactPubKeyHex, () => []); - _deferredRecords[contactPubKeyHex]!.add( - _DeferredPathRecord( - hopCount: hopCount, - tripTimeMs: tripTimeMs, - wasFloodDiscovery: wasFloodDiscovery, - pathBytes: pathBytes, - successCount: successCount, - failureCount: failureCount, - routeWeight: routeWeight, - timestamp: timestamp, - ), - ); - return; - } - - _pendingLoads.add(contactPubKeyHex); - _loadHistoryFromStorage(contactPubKeyHex).then((loaded) { - _cache[contactPubKeyHex] = - loaded ?? - ContactPathHistory( - contactPubKeyHex: contactPubKeyHex, - recentPaths: [], - ); - _addPathRecordInternal( - contactPubKeyHex, - hopCount, - tripTimeMs, - wasFloodDiscovery, - pathBytes, - successCount, - failureCount, - routeWeight, - timestamp, - ); - - // Apply any deferred records - final deferred = _deferredRecords.remove(contactPubKeyHex); - if (deferred != null) { - for (final record in deferred) { - _addPathRecordInternal( - contactPubKeyHex, - record.hopCount, - record.tripTimeMs, - record.wasFloodDiscovery, - record.pathBytes, - record.successCount, - record.failureCount, - record.routeWeight, - record.timestamp, - ); - } - } - _pendingLoads.remove(contactPubKeyHex); - }); - return; - } - - _addPathRecordInternal( + void add() => _addPathRecordInternal( contactPubKeyHex, hopCount, tripTimeMs, @@ -297,8 +274,34 @@ class PathHistoryService extends ChangeNotifier { successCount, failureCount, routeWeight, + initialWeight, timestamp, ); + + if (_cache.containsKey(contactPubKeyHex)) { + add(); + } else { + _ensureLoaded(contactPubKeyHex).then((_) => add()); + } + } + + Future _ensureLoaded(String contactPubKeyHex) { + if (_cache.containsKey(contactPubKeyHex)) return Future.value(); + return _pendingLoads[contactPubKeyHex] ??= + _loadHistoryFromStorage(contactPubKeyHex) + .then((loaded) { + _cache[contactPubKeyHex] ??= + loaded ?? + ContactPathHistory( + contactPubKeyHex: contactPubKeyHex, + recentPaths: [], + ); + _trackAccess(contactPubKeyHex); + _evictIfNeeded(); + }) + .whenComplete(() { + _pendingLoads.remove(contactPubKeyHex); + }); } void _addPathRecordInternal( @@ -309,7 +312,8 @@ class PathHistoryService extends ChangeNotifier { List pathBytes, int successCount, int failureCount, - double routeWeight, + double? routeWeight, + double initialWeight, DateTime? timestamp, ) { var history = _cache[contactPubKeyHex]; @@ -326,6 +330,7 @@ class PathHistoryService extends ChangeNotifier { wasFloodDiscovery = existing.wasFloodDiscovery || wasFloodDiscovery; timestamp ??= existing.timestamp; } + routeWeight ??= existing?.routeWeight ?? initialWeight; final newRecord = PathRecord( hopCount: hopCount, @@ -361,6 +366,24 @@ class PathHistoryService extends ChangeNotifier { notifyListeners(); } + /// Whether this contact's history is in the in-memory cache. + bool isCached(String contactPubKeyHex) => + _cache.containsKey(contactPubKeyHex); + + /// Paths already in memory, without loading from storage or changing the + /// cache order. For bulk readers that must not churn the 50-contact cache. + List peekRecentPaths(String contactPubKeyHex) => + _cache[contactPubKeyHex]?.recentPaths ?? const []; + + /// Reads saved paths straight from storage without adding them to the + /// cache, evicting anything, or notifying listeners. + Future> readStoredPaths(String contactPubKeyHex) async { + final cached = _cache[contactPubKeyHex]; + if (cached != null) return cached.recentPaths; + final stored = await _loadHistoryFromStorage(contactPubKeyHex); + return stored?.recentPaths ?? const []; + } + List getRecentPaths(String contactPubKeyHex) { final history = _cache[contactPubKeyHex]; if (history != null) { @@ -368,11 +391,8 @@ class PathHistoryService extends ChangeNotifier { return history.recentPaths; } - _loadHistoryFromStorage(contactPubKeyHex).then((loaded) { - if (loaded != null) { - _cache[contactPubKeyHex] = loaded; - _trackAccess(contactPubKeyHex); - _evictIfNeeded(); + _ensureLoaded(contactPubKeyHex).then((_) { + if (_cache[contactPubKeyHex]?.recentPaths.isNotEmpty ?? false) { _version++; notifyListeners(); } @@ -579,28 +599,6 @@ class PathHistoryService extends ChangeNotifier { } } -class _DeferredPathRecord { - final int hopCount; - final int tripTimeMs; - final bool wasFloodDiscovery; - final List pathBytes; - final int successCount; - final int failureCount; - final double routeWeight; - final DateTime? timestamp; - - _DeferredPathRecord({ - required this.hopCount, - required this.tripTimeMs, - required this.wasFloodDiscovery, - required this.pathBytes, - required this.successCount, - required this.failureCount, - this.routeWeight = 1.0, - this.timestamp, - }); -} - class _FloodStats { int successCount = 0; int failureCount = 0; diff --git a/lib/services/received_image_blob_store_io.dart b/lib/services/received_image_blob_store_io.dart index ef753f6d..3750b3cb 100644 --- a/lib/services/received_image_blob_store_io.dart +++ b/lib/services/received_image_blob_store_io.dart @@ -66,6 +66,10 @@ class FileReceivedImageBlobStore implements ReceivedImageBlobStore { String? _dirPath; Future? _pending; + /// Last queued sidecar operation per id. Writes share one `.tmp` path, so + /// two in flight for the same id would interleave; each waits for the last. + final Map> _sidecarOps = >{}; + FileReceivedImageBlobStore({ Future Function()? baseDirectory, this.directoryName = 'received_images', @@ -190,7 +194,19 @@ class FileReceivedImageBlobStore implements ReceivedImageBlobStore { /// atomic within a directory on every platform we ship, so a reader either /// sees the old record or the new one. @override - Future writeSidecar(String streamId, String json) async { + Future writeSidecar(String streamId, String json) => + _serializeSidecar(streamId, () => _writeSidecarNow(streamId, json)); + + Future _serializeSidecar(String streamId, Future Function() op) { + final previous = _sidecarOps[streamId] ?? Future.value(); + final next = previous.then((_) => op()); + _sidecarOps[streamId] = next; + return next.whenComplete(() { + if (identical(_sidecarOps[streamId], next)) _sidecarOps.remove(streamId); + }); + } + + Future _writeSidecarNow(String streamId, String json) async { try { final finalPath = await _pathFor(streamId, _sidecarExt); final tmpPath = await _pathFor(streamId, _tmpExt); @@ -207,10 +223,11 @@ class FileReceivedImageBlobStore implements ReceivedImageBlobStore { } @override - Future deleteSidecar(String streamId) async { - await _delete(streamId, _sidecarExt); - await _delete(streamId, _tmpExt); - } + Future deleteSidecar(String streamId) => + _serializeSidecar(streamId, () async { + await _delete(streamId, _sidecarExt); + await _delete(streamId, _tmpExt); + }); /// Startup scan. Also the only place orphaned bytes are reaped: anything /// whose sidecar is gone is invisible to the store and therefore to the diff --git a/lib/services/received_image_store.dart b/lib/services/received_image_store.dart index b4d522c3..0825a060 100644 --- a/lib/services/received_image_store.dart +++ b/lib/services/received_image_store.dart @@ -595,6 +595,10 @@ class ReceivedImageStore extends ChangeNotifier { /// True when the queue stopped because the codec was busy encoding. Cleared /// by anything that could plausibly have freed it. bool _parkedOnBusyDecoder = false; + + /// Set by [handleMemoryPressure] so the decode it cancels is parked rather + /// than reported as corrupt. + bool _cancelRequested = false; bool _foreground = true; bool _disposed = false; @@ -775,10 +779,13 @@ class ReceivedImageStore extends ChangeNotifier { // `conflicting` means the reassembler threw the old stream away and // restarted from this chunk. A stream that had already been surfaced // keeps its id (and therefore its message) only if it was still - // receiving; anything else gets a fresh entry. + // receiving; anything else gets a fresh entry. The same goes for a + // plain `accepted`: once an entry is past `receiving` the reassembler + // reports its stragglers as `duplicate`, so an accepted chunk on that + // key is a new image reusing the 8-bit id and must not overwrite it. final resets = outcome.status == ImageChunkStatus.conflicting; if (existing != null && - (!resets || existing.state == ReceivedImageState.receiving)) { + existing.state == ReceivedImageState.receiving) { final updated = existing.copyWith( state: ReceivedImageState.receiving, receivedChunks: resets @@ -824,7 +831,9 @@ class ReceivedImageStore extends ChangeNotifier { channelIndex: channelIndex, ), ); - if (entry == null) return null; + if (entry == null || entry.state != ReceivedImageState.receiving) { + return null; + } _queue.remove(entry.streamId); return _store( entry.copyWith( @@ -847,7 +856,9 @@ class ReceivedImageStore extends ChangeNotifier { ) async { final key = result.key; var entry = entryForKey(key); - if (entry == null) { + // A one-chunk image completes without an `accepted` first, so the key may + // still point at an older, finished image that reused the id. + if (entry == null || entry.state != ReceivedImageState.receiving) { final streamId = _uniqueStreamId( senderPrefix: key.senderPrefix, imgId: key.imgId, @@ -906,7 +917,7 @@ class ReceivedImageStore extends ChangeNotifier { // Already completed by a later chunk; the failure is stale. return entry; } - return _store( + final failed = await _store( entry.copyWith( // `isCorrupt` means every chunk arrived but the bytes were unusable // (CRC-16 mismatch or an undecodable metadata byte). The UI must say @@ -919,6 +930,8 @@ class ReceivedImageStore extends ChangeNotifier { error: failure.isCorrupt ? failure.reason.name : null, ), ); + await evictToBudget(protect: failed.streamId); + return failed; } /// Records the local user's own send so the outgoing bubble can show the real @@ -1027,6 +1040,7 @@ class ReceivedImageStore extends ChangeNotifier { /// Cancels the running decode and stops the queue; the entry goes back to /// `reassembled` and will be picked up again later. Future handleMemoryPressure() async { + _cancelRequested = true; decoder?.cancelCodecJob(); _queue.clear(); for (final entry in _entries.values.toList()) { @@ -1190,6 +1204,7 @@ class ReceivedImageStore extends ChangeNotifier { return; } final started = _clock(); + _cancelRequested = false; await _store(entry.copyWith(state: ReceivedImageState.decoding)); ImageCodecResult? result; @@ -1201,7 +1216,14 @@ class ReceivedImageStore extends ChangeNotifier { ); } catch (error) { final current = _entries[entry.streamId] ?? entry; - if (!_foreground) { + if (_cancelRequested) { + await _store( + current.copyWith( + state: ReceivedImageState.reassembled, + needsManualDecode: true, + ), + ); + } else if (!_foreground) { await _store(current.copyWith(state: ReceivedImageState.reassembled)); } else { await _store( @@ -1224,6 +1246,16 @@ class ReceivedImageStore extends ChangeNotifier { } final png = result.pngBytes; if (result.status != ImageCodecStatus.completed || png == null) { + if (_cancelRequested) { + // The codec reports a killed job as `failed`; the bitstream is fine. + await _store( + current.copyWith( + state: ReceivedImageState.reassembled, + needsManualDecode: true, + ), + ); + return; + } await _store( current.copyWith( state: ReceivedImageState.failedCorrupt, @@ -1348,9 +1380,15 @@ class ReceivedImageStore extends ChangeNotifier { final evicted = []; final now = _clock(); - // 1. Age budget: nothing survives, not even the bitstream. + // 1. Age budget: nothing survives, not even the bitstream. A failed image + // has no bubble worth keeping, so it goes entirely, sidecar included. for (final entry in _entries.values.toList()) { if (now.difference(entry.firstSeen) <= maxAge) continue; + if (entry.state.isFailure) { + await deleteImage(entry.streamId); + evicted.add(entry.streamId); + continue; + } if (!entry.pngStored && !entry.bitstreamStored) continue; await blobs.deletePng(entry.streamId); await blobs.deleteBitstream(entry.streamId); @@ -1414,6 +1452,22 @@ class ReceivedImageStore extends ChangeNotifier { evicted.add(victim.streamId); } + // 3. Failed entries hold no PNG, so the loop above never counts them; cap + // them by entry count, oldest first, or a noisy mesh grows the sidecars + // (and the startup load) without bound. + if (_entries.length > maxImages) { + final failures = + _entries.values + .where((e) => e.state.isFailure && e.streamId != protect) + .toList() + ..sort((a, b) => a.firstSeen.compareTo(b.firstSeen)); + for (final victim in failures) { + if (_entries.length <= maxImages) break; + await deleteImage(victim.streamId); + evicted.add(victim.streamId); + } + } + if (evicted.isNotEmpty) _notify(); return evicted; } diff --git a/lib/services/repeater_command_service.dart b/lib/services/repeater_command_service.dart index 61d22c8e..e3d6e8b3 100644 --- a/lib/services/repeater_command_service.dart +++ b/lib/services/repeater_command_service.dart @@ -4,6 +4,16 @@ import '../models/path_selection.dart'; import '../connector/meshcore_connector.dart'; import '../connector/meshcore_protocol.dart'; +/// Companion firmware (MeshCore commit 4a869163, 2025-12-30) replaces the CLI +/// frame timestamp with the companion node's RTC for TXT_TYPE_CLI_DATA, so a +/// plain "clock sync" sets the repeater clock to the node clock. The official +/// meshcore-cli translates it to an explicit `time ` command instead; +/// do the same so the repeater always gets the phone's time. +String normalizeRepeaterClockSyncCommand(String command, {int? nowSeconds}) { + final epoch = nowSeconds ?? DateTime.now().millisecondsSinceEpoch ~/ 1000; + return command.trim().toLowerCase() == 'clock sync' ? 'time $epoch' : command; +} + class RepeaterCommandService { final MeshCoreConnector _connector; final Map> _pendingCommands = {}; @@ -13,18 +23,22 @@ class RepeaterCommandService { int _prefixCounter = 0; static const int maxRetries = 5; + static final RegExp _prefixPattern = RegExp(r'^[0-9A-Fa-f]{2}\|'); RepeaterCommandService(this._connector); /// Send a CLI command to a repeater with automatic retries - /// Returns a future that completes when a response is received or after max retries + /// Returns a future that completes when a response is received or after max retries. + /// With [raw], the command is sent verbatim without the `XX|` reply prefix. Future sendCommand( Contact repeater, String command, { Function(String)? onResponse, Function(int)? onAttempt, int retries = maxRetries, + bool raw = false, }) async { + if (!raw) command = normalizeRepeaterClockSyncCommand(command); final attemptCount = retries < 1 ? 1 : retries; final selection = await _connector.preparePathForContactSend(repeater); @@ -36,6 +50,7 @@ class RepeaterCommandService { command, selection, attempt, + raw, ); onResponse?.call(response); return response; @@ -52,6 +67,7 @@ class RepeaterCommandService { String command, PathSelection selection, int attempt, + bool raw, ) async { final repeaterKey = repeater.publicKeyHex; final prefix = _nextPrefixToken(); @@ -62,7 +78,7 @@ class RepeaterCommandService { _pendingByPrefix[prefix] = commandId; try { - final framedCommand = '$prefix$command'; + final framedCommand = raw ? command : '$prefix$command'; final pathLengthValue = selection.useFlood ? -1 : selection.hopCount; final timestampSeconds = DateTime.now().millisecondsSinceEpoch ~/ 1000; _connector.trackRepeaterAck( @@ -112,6 +128,15 @@ class RepeaterCommandService { } } + /// Send [line] verbatim and don't wait for a reply. While `region load` is + /// active the firmware consumes each line before prefix stripping and + /// sends nothing back (simple_repeater/MyMesh.cpp handleCommand). + Future sendUnansweredLine(Contact repeater, String line) { + return _connector.sendFrame( + buildSendCliCommandFrame(repeater.publicKey, line), + ); + } + /// Call this when a text message response is received from a repeater void handleResponse(Contact repeater, String responseText) { // Find pending command for this repeater and complete it @@ -119,14 +144,17 @@ class RepeaterCommandService { String? commandId; String responsePayload = responseText; - if (responseText.length >= 3 && responseText[2] == '|') { - final prefix = responseText.substring(0, 3); + if (_prefixPattern.hasMatch(responseText)) { + final prefix = responseText.substring(0, 3).toUpperCase(); commandId = _pendingByPrefix[prefix]; + if (commandId == null || !commandId.startsWith('${repeaterKey}_')) { + return; + } responsePayload = responseText.substring(3).trimLeft(); } commandId ??= _pendingCommands.keys.firstWhere( - (id) => id.startsWith(repeaterKey), + (id) => id.startsWith('${repeaterKey}_'), orElse: () => '', ); diff --git a/lib/services/storage_service.dart b/lib/services/storage_service.dart index 0c78c592..e214d830 100644 --- a/lib/services/storage_service.dart +++ b/lib/services/storage_service.dart @@ -2,6 +2,7 @@ import 'dart:convert'; import '../models/delivery_observation.dart'; import '../models/path_history.dart'; import '../storage/prefs_manager.dart'; +import '../utils/app_logger.dart'; class StorageService { static const String _pathHistoryPrefix = 'path_history_'; @@ -11,6 +12,14 @@ class StorageService { 'repeater_auto_clock_sync_after_login'; static const String _deliveryObservationsKey = 'delivery_observations'; + String _publicKeyHex = ''; + set setPublicKeyHex(String value) => + _publicKeyHex = value.length > 10 ? value.substring(0, 10) : ''; + + String _pathHistoryKey(String contactPubKeyHex) => _publicKeyHex.isEmpty + ? '$_pathHistoryPrefix$contactPubKeyHex' + : '$_pathHistoryPrefix${_publicKeyHex}_$contactPubKeyHex'; + Future> _loadRepeaterAutoClockSyncAfterLogin() async { final prefs = PrefsManager.instance; final jsonStr = prefs.getString(_repeaterAutoClockSyncAfterLoginKey); @@ -48,15 +57,18 @@ class StorageService { ContactPathHistory history, ) async { final prefs = PrefsManager.instance; - final key = '$_pathHistoryPrefix$contactPubKeyHex'; + final key = _pathHistoryKey(contactPubKeyHex); final jsonStr = jsonEncode(history.toJson()); await prefs.setString(key, jsonStr); } Future loadPathHistory(String contactPubKeyHex) async { final prefs = PrefsManager.instance; - final key = '$_pathHistoryPrefix$contactPubKeyHex'; - final jsonStr = prefs.getString(key); + final key = _pathHistoryKey(contactPubKeyHex); + // Fall back to the pre-scoping key so learned routes survive the upgrade. + final jsonStr = + prefs.getString(key) ?? + prefs.getString('$_pathHistoryPrefix$contactPubKeyHex'); if (jsonStr == null) return null; @@ -70,8 +82,8 @@ class StorageService { Future clearPathHistory(String contactPubKeyHex) async { final prefs = PrefsManager.instance; - final key = '$_pathHistoryPrefix$contactPubKeyHex'; - await prefs.remove(key); + await prefs.remove(_pathHistoryKey(contactPubKeyHex)); + await prefs.remove('$_pathHistoryPrefix$contactPubKeyHex'); } Future clearAllPathHistories() async { @@ -173,14 +185,24 @@ class StorageService { if (jsonStr == null) return []; + final List list; try { - final list = jsonDecode(jsonStr) as List; - return list - .map((e) => DeliveryObservation.fromJson(e as Map)) - .toList(); + list = jsonDecode(jsonStr) as List; } catch (e) { + appLogger.warn('Stored delivery observations are unreadable: $e'); return []; } + final observations = []; + for (final e in list) { + try { + observations.add( + DeliveryObservation.fromJson(e as Map), + ); + } catch (err) { + appLogger.warn('Skipping malformed delivery observation: $err'); + } + } + return observations; } Future clearDeliveryObservations() async { diff --git a/lib/services/translation_file_store_io.dart b/lib/services/translation_file_store_io.dart index ad549ef8..9bd2f62c 100644 --- a/lib/services/translation_file_store_io.dart +++ b/lib/services/translation_file_store_io.dart @@ -58,7 +58,10 @@ class TranslationFileStore { required Stream> chunks, }) async { final directoryPath = await modelDirectoryPath(); - final file = File('$directoryPath/$fileName'); + final finalPath = '$directoryPath/$fileName'; + // Hidden until complete, so a killed download is swept by + // [scanDownloadedModels] instead of being registered as a model. + final file = File(_partPath(directoryPath, fileName)); final sink = file.openWrite(); var fileSizeBytes = 0; var completed = false; @@ -74,8 +77,9 @@ class TranslationFileStore { await file.delete(); } } + await file.rename(finalPath); return DownloadedModelFile( - localPath: file.path, + localPath: finalPath, fileSizeBytes: fileSizeBytes, ); } @@ -91,7 +95,8 @@ class TranslationFileStore { }) async { final dir = await modelDirectoryPath(); final finalPath = '$dir/$fileName'; - final sink = File(finalPath).openWrite(); + final partPath = _partPath(dir, fileName); + final sink = File(partPath).openWrite(); var totalSize = 0; var completed = false; try { @@ -110,14 +115,18 @@ class TranslationFileStore { } } if (!completed) { - final finalFile = File(finalPath); - if (finalFile.existsSync()) { - await finalFile.delete(); + final partFile = File(partPath); + if (partFile.existsSync()) { + await partFile.delete(); } } } + await File(partPath).rename(finalPath); return DownloadedModelFile(localPath: finalPath, fileSizeBytes: totalSize); } + + String _partPath(String dir, String fileName) => + fileName.startsWith('.') ? '$dir/$fileName.part' : '$dir/.$fileName.part'; } class DownloadedModelFile { diff --git a/lib/services/translation_service.dart b/lib/services/translation_service.dart index d01155ab..0be08c4e 100644 --- a/lib/services/translation_service.dart +++ b/lib/services/translation_service.dart @@ -271,10 +271,19 @@ class TranslationService extends ChangeNotifier { _downloadTotalBytes ??= response.contentLength; _notify(); final trackedStream = _trackDownloadProgress(response.stream); - return await _fileStore.writeModelBytes( + final downloaded = await _fileStore.writeModelBytes( fileName: fileName, chunks: trackedStream, ); + final expected = response.contentLength; + if (expected != null && downloaded.fileSizeBytes != expected) { + await _fileStore.deleteFile(downloaded.localPath); + throw StateError( + 'Model download incomplete: ' + '${downloaded.fileSizeBytes} of $expected bytes', + ); + } + return downloaded; } finally { client.close(); } @@ -350,10 +359,17 @@ class TranslationService extends ChangeNotifier { ); } final trackedStream = _trackDownloadProgress(response.stream); - await _fileStore.writeModelBytes( + final downloaded = await _fileStore.writeModelBytes( fileName: chunkPath.split(RegExp(r'[/\\]')).last, chunks: trackedStream, ); + final expected = end - start + 1; + if (downloaded.fileSizeBytes != expected) { + throw StateError( + 'Range download incomplete: ' + '${downloaded.fileSizeBytes} of $expected bytes', + ); + } } void cancelDownload() { diff --git a/lib/services/usb_serial_service_native.dart b/lib/services/usb_serial_service_native.dart index cc76ddea..cd99624e 100644 --- a/lib/services/usb_serial_service_native.dart +++ b/lib/services/usb_serial_service_native.dart @@ -558,7 +558,9 @@ class UsbSerialService { return; } if (data is ByteData) { - _ingestRawBytes(data.buffer.asUint8List()); + _ingestRawBytes( + data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes), + ); return; } _addFrameError( @@ -571,7 +573,11 @@ class UsbSerialService { } void _handleSerialDone() { + final wasConnected = _status == UsbSerialStatus.connected; unawaited(disconnect()); + if (wasConnected) { + _addFrameError(StateError('USB serial connection closed')); + } } void _ingestRawBytes(Uint8List bytes) { diff --git a/lib/storage/channel_message_store.dart b/lib/storage/channel_message_store.dart index 2d99f501..069588cb 100644 --- a/lib/storage/channel_message_store.dart +++ b/lib/storage/channel_message_store.dart @@ -68,13 +68,24 @@ class ChannelMessageStore { if (jsonString == null || jsonString.isEmpty) { return []; } + final List jsonList; try { - final jsonList = jsonDecode(jsonString) as List; - return jsonList.map((json) => _messageFromJson(json)).toList(); + jsonList = jsonDecode(jsonString) as List; } catch (e) { - // If parsing fails, return empty list + appLogger.warn( + 'Stored messages for channel $channelIndex are unreadable: $e', + ); return []; } + final messages = []; + for (final json in jsonList) { + try { + messages.add(_messageFromJson(json as Map)); + } catch (e) { + appLogger.warn('Skipping malformed stored channel message: $e'); + } + } + return messages; } /// Clear messages for a specific channel @@ -163,7 +174,7 @@ class ChannelMessageStore { senderKey: json['senderKey'] != null ? Uint8List.fromList(base64Decode(json['senderKey'])) : null, - senderName: json['senderName'] as String, + senderName: json['senderName'] as String? ?? 'Unknown', text: decodedText, originalText: json['originalText'] as String?, translatedText: json['translatedText'] as String?, @@ -173,8 +184,12 @@ class ChannelMessageStore { ), translationModelId: json['translationModelId'] as String?, timestamp: DateTime.fromMillisecondsSinceEpoch(json['timestamp'] as int), - isOutgoing: json['isOutgoing'] as bool, - status: ChannelMessageStatus.values[json['status'] as int], + isOutgoing: json['isOutgoing'] as bool? ?? false, + status: + ChannelMessageStatus.values.elementAtOrNull( + json['status'] as int? ?? -1, + ) ?? + ChannelMessageStatus.failed, repeatCount: (json['repeatCount'] as int?) ?? 0, pathLength: decodedPathLength, pathHashWidth: decodedPathHashWidth, diff --git a/lib/storage/channel_region_store.dart b/lib/storage/channel_region_store.dart index e28551a7..8d1029df 100644 --- a/lib/storage/channel_region_store.dart +++ b/lib/storage/channel_region_store.dart @@ -10,6 +10,18 @@ class ChannelRegionStore { String get keyFor => '$_keyPrefix$publicKeyHex'; + String get _defaultKey => 'default_region_$publicKeyHex'; + + String loadDefaultRegion() { + if (publicKeyHex.isEmpty) return ''; + return PrefsManager.instance.getString(_defaultKey) ?? ''; + } + + Future saveDefaultRegion(String region) async { + if (publicKeyHex.isEmpty) return; + await PrefsManager.instance.setString(_defaultKey, region); + } + Future loadRegion(int channelIndex) async { if (publicKeyHex.isEmpty) { appLogger.warn( diff --git a/lib/storage/community_store.dart b/lib/storage/community_store.dart index c69d0b80..75c7daf8 100644 --- a/lib/storage/community_store.dart +++ b/lib/storage/community_store.dart @@ -45,15 +45,22 @@ class CommunityStore { return []; } + final List jsonList; try { - final jsonList = jsonDecode(jsonString) as List; - return jsonList - .map((json) => Community.fromJson(json as Map)) - .toList(); + jsonList = jsonDecode(jsonString) as List; } catch (e) { - // If JSON is corrupted, return empty list + appLogger.warn('Stored communities are unreadable: $e'); return []; } + final communities = []; + for (final json in jsonList) { + try { + communities.add(Community.fromJson(json as Map)); + } catch (e) { + appLogger.warn('Skipping malformed stored community: $e'); + } + } + return communities; } /// Save all communities to storage diff --git a/lib/storage/contact_discovery_store.dart b/lib/storage/contact_discovery_store.dart index 98bf6e8d..1d8793c0 100644 --- a/lib/storage/contact_discovery_store.dart +++ b/lib/storage/contact_discovery_store.dart @@ -2,30 +2,54 @@ import 'dart:convert'; import 'dart:typed_data'; import '../models/contact.dart'; +import '../utils/app_logger.dart'; import 'prefs_manager.dart'; class ContactDiscoveryStore { static const String _keyPrefix = 'discovered_contacts'; + String publicKeyHex = ''; + set setPublicKeyHex(String value) => + publicKeyHex = value.length > 10 ? value.substring(0, 10) : ''; + + String get keyFor => '$_keyPrefix$publicKeyHex'; + Future> loadContacts() async { + if (publicKeyHex.isEmpty) return []; final prefs = PrefsManager.instance; - final jsonStr = prefs.getString(_keyPrefix); + var jsonStr = prefs.getString(keyFor); + if (jsonStr == null) { + jsonStr = prefs.getString(_keyPrefix); + if (jsonStr != null) { + await prefs.setString(keyFor, jsonStr); + await prefs.remove(_keyPrefix); + } + } if (jsonStr == null) return []; + final List jsonList; try { - final jsonList = jsonDecode(jsonStr) as List; - return jsonList - .map((entry) => _fromJson(entry as Map)) - .toList(); - } catch (_) { + jsonList = jsonDecode(jsonStr) as List; + } catch (e) { + appLogger.warn('Stored discovered contacts are unreadable: $e'); return []; } + final contacts = []; + for (final entry in jsonList) { + try { + contacts.add(_fromJson(entry as Map)); + } catch (e) { + appLogger.warn('Skipping malformed discovered contact: $e'); + } + } + return contacts; } Future saveContacts(List contacts) async { + if (publicKeyHex.isEmpty) return; final prefs = PrefsManager.instance; final jsonList = contacts.map(_toJson).toList(); - await prefs.setString(_keyPrefix, jsonEncode(jsonList)); + await prefs.setString(keyFor, jsonEncode(jsonList)); } Map _toJson(Contact contact) { @@ -36,6 +60,7 @@ class ContactDiscoveryStore { 'flags': contact.flags, 'pathLength': contact.pathLength, 'path': base64Encode(contact.path), + 'pathHashWidth': contact.pathHashWidth, 'pathOverride': contact.pathOverride, 'pathOverrideBytes': contact.pathOverrideBytes != null ? base64Encode(contact.pathOverrideBytes!) @@ -63,6 +88,7 @@ class ContactDiscoveryStore { int decodedPathLength = rawPathLength; Uint8List decodedPath = rawPath; + int? decodedPathHashWidth = json['pathHashWidth'] as int?; if (rawPathLength == 0xFF || rawPathLength < 0) { decodedPathLength = -1; @@ -73,6 +99,7 @@ class ContactDiscoveryStore { final width = mode + 1; final byteLen = hopCount * width; decodedPathLength = hopCount; + decodedPathHashWidth = width; if (byteLen <= rawPath.length) { decodedPath = rawPath.sublist(0, byteLen); } else { @@ -89,6 +116,9 @@ class ContactDiscoveryStore { flags: json['flags'] as int? ?? 0, pathLength: decodedPathLength, path: decodedPath, + pathHashWidth: + decodedPathHashWidth ?? + Contact.inferPathHashWidth(decodedPathLength, decodedPath.length), pathOverride: json['pathOverride'] as int?, pathOverrideBytes: json['pathOverrideBytes'] != null ? Uint8List.fromList( diff --git a/lib/storage/contact_store.dart b/lib/storage/contact_store.dart index fa4152d2..c23983a8 100644 --- a/lib/storage/contact_store.dart +++ b/lib/storage/contact_store.dart @@ -40,14 +40,22 @@ class ContactStore { return []; } + final List jsonList; try { - final jsonList = jsonDecode(jsonString) as List; - return jsonList - .map((entry) => _fromJson(entry as Map)) - .toList(); - } catch (_) { + jsonList = jsonDecode(jsonString) as List; + } catch (e) { + appLogger.warn('Stored contacts are unreadable: $e'); return []; } + final contacts = []; + for (final entry in jsonList) { + try { + contacts.add(_fromJson(entry as Map)); + } catch (e) { + appLogger.warn('Skipping malformed stored contact: $e'); + } + } + return contacts; } Future saveContacts(List contacts) async { @@ -68,6 +76,7 @@ class ContactStore { 'flags': contact.flags, 'pathLength': contact.pathLength, 'path': base64Encode(contact.path), + 'pathHashWidth': contact.pathHashWidth, 'pathOverride': contact.pathOverride, 'pathOverrideBytes': contact.pathOverrideBytes != null ? base64Encode(contact.pathOverrideBytes!) @@ -96,6 +105,7 @@ class ContactStore { int decodedPathLength = rawPathLength; Uint8List decodedPath = rawPath; + int? decodedPathHashWidth = json['pathHashWidth'] as int?; if (rawPathLength == 0xFF || rawPathLength < 0) { decodedPathLength = -1; @@ -106,6 +116,7 @@ class ContactStore { final width = mode + 1; final byteLen = hopCount * width; decodedPathLength = hopCount; + decodedPathHashWidth = width; if (byteLen <= rawPath.length) { decodedPath = rawPath.sublist(0, byteLen); } else { @@ -122,6 +133,9 @@ class ContactStore { flags: json['flags'] as int? ?? 0, pathLength: decodedPathLength, path: decodedPath, + pathHashWidth: + decodedPathHashWidth ?? + Contact.inferPathHashWidth(decodedPathLength, decodedPath.length), pathOverride: json['pathOverride'] as int?, pathOverrideBytes: json['pathOverrideBytes'] != null ? Uint8List.fromList( diff --git a/lib/storage/message_store.dart b/lib/storage/message_store.dart index 52f632b4..46377348 100644 --- a/lib/storage/message_store.dart +++ b/lib/storage/message_store.dart @@ -57,12 +57,22 @@ class MessageStore { return []; } + final List jsonList; try { - final jsonList = jsonDecode(jsonString) as List; - return jsonList.map((json) => _messageFromJson(json)).toList(); + jsonList = jsonDecode(jsonString) as List; } catch (e) { + appLogger.warn('Stored messages for $contactKeyHex are unreadable: $e'); return []; } + final messages = []; + for (final json in jsonList) { + try { + messages.add(_messageFromJson(json as Map)); + } catch (e) { + appLogger.warn('Skipping malformed stored message: $e'); + } + } + return messages; } Future clearMessages(String contactKeyHex) async { @@ -146,9 +156,11 @@ class MessageStore { senderKey: Uint8List.fromList(base64Decode(json['senderKey'] as String)), text: decodedText, timestamp: DateTime.fromMillisecondsSinceEpoch(json['timestamp'] as int), - isOutgoing: json['isOutgoing'] as bool, + isOutgoing: json['isOutgoing'] as bool? ?? false, isCli: isCli, - status: MessageStatus.values[json['status'] as int], + status: + MessageStatus.values.elementAtOrNull(json['status'] as int? ?? -1) ?? + MessageStatus.failed, messageId: json['messageId'] as String?, originalText: json['originalText'] as String?, translatedText: json['translatedText'] as String?, diff --git a/lib/storage/region_store.dart b/lib/storage/region_store.dart index af532da9..eddeabc2 100644 --- a/lib/storage/region_store.dart +++ b/lib/storage/region_store.dart @@ -47,6 +47,9 @@ class RegionStore { await channelRegionStore.saveRegion(channel.index, ''); } } + if (channelRegionStore.loadDefaultRegion() == region) { + await channelRegionStore.saveDefaultRegion(''); + } regions.remove(region); saveRegions(regions); } diff --git a/lib/utils/gpx_export.dart b/lib/utils/gpx_export.dart index e3a42898..ba594ccd 100644 --- a/lib/utils/gpx_export.dart +++ b/lib/utils/gpx_export.dart @@ -7,6 +7,7 @@ import 'dart:io'; import '../utils/platform_info.dart'; import 'package:share_plus/share_plus.dart'; +import 'package:file_selector/file_selector.dart'; class ContactExport { final String name; @@ -161,7 +162,6 @@ class GpxExport { final xml = GpxWriter().asString(gpx, pretty: true); // 2. Save to file - final dir = await getApplicationDocumentsDirectory(); final timestamp = DateTime.now() .toUtc() .toIso8601String() @@ -169,8 +169,29 @@ class GpxExport { .replaceAll('.', '-') .split('T') .join('_'); + final suggestedName = '$filename$timestamp.gpx'; - final path = '${dir.path}/$filename$timestamp.gpx'; + // share_plus cannot share files on desktop: Linux throws outright + // ("Sharing files not supported on Linux") and Windows only supports it + // from build 10.0.17763 up. Desktops have a real file system and a save + // dialog, so write the file where the user asks instead of sharing it. + if (PlatformInfo.isDesktop) { + final location = await getSaveLocation( + suggestedName: suggestedName, + acceptedTypeGroups: const [ + XTypeGroup(label: 'GPX', extensions: ['gpx']), + ], + ); + if (location == null) { + debugPrint('Save dialog was dismissed / cancelled by user.'); + return gpxExportCancelled; + } + await File(location.path).writeAsString(xml); + return gpxExportSuccess; + } + + final dir = await getApplicationDocumentsDirectory(); + final path = '${dir.path}/$suggestedName'; final file = File(path); await file.writeAsString(xml); diff --git a/lib/utils/image_save.dart b/lib/utils/image_save.dart new file mode 100644 index 00000000..17a761a5 --- /dev/null +++ b/lib/utils/image_save.dart @@ -0,0 +1,43 @@ +import 'package:file_selector/file_selector.dart'; +import 'package:flutter/foundation.dart'; +import 'package:share_plus/share_plus.dart'; + +import '../services/received_image_store.dart'; +import 'platform_info.dart'; + +/// Saves a transcript image: a save dialog on desktop, the share sheet +/// elsewhere. Reconstructed images are named as such so the file never passes +/// for a photograph. Returns false on failure; a cancelled dialog is not one. +Future saveImagePng( + Uint8List png, + ReceivedImageEntry entry, { + String? shareText, +}) async { + final name = entry.synthesized + ? 'meshcore-ai-reconstructed-${entry.streamId}.png' + : 'meshcore-${entry.streamId}.png'; + final file = XFile.fromData(png, mimeType: 'image/png', name: name); + try { + if (PlatformInfo.isDesktop) { + final location = await getSaveLocation( + suggestedName: name, + acceptedTypeGroups: const [ + XTypeGroup(label: 'PNG', extensions: ['png']), + ], + ); + if (location != null) await file.saveTo(location.path); + return true; + } + final result = await SharePlus.instance.share( + ShareParams( + files: [file], + fileNameOverrides: [name], + text: entry.synthesized ? shareText : null, + ), + ); + return result.status != ShareResultStatus.unavailable; + } catch (e) { + debugPrint('image save failed: $e'); + return false; + } +} diff --git a/lib/utils/lora_airtime.dart b/lib/utils/lora_airtime.dart index 9c85a8b6..0cf83509 100644 --- a/lib/utils/lora_airtime.dart +++ b/lib/utils/lora_airtime.dart @@ -55,11 +55,12 @@ const int kMeshCoreMaxTransUnit = 255; /// (it would compute CR 4/9..4/12), and passing a 1..4 value to /// [loraTimeOnAir] trips its assert in debug and understates airtime in /// release. Always normalise at the boundary. -/// * **Low-data-rate optimise.** `calculateLoRaAirtime()` takes `DE` as a -/// parameter and its one caller passes the `sf >= 11` shortcut, which is -/// wrong for SF11/BW250 and SF12/BW500 (Tsym is 8.192 ms there, below the -/// 16 ms threshold). This file derives `DE` from `Tsym > 16 ms`, per the -/// datasheet. See the LDRO tests in `test/lora_airtime_test.dart`. +/// * **Low-data-rate optimise.** `DE` is derived from `Tsym > 16 ms` (the +/// RadioLib rule), not the `sf >= 11` shortcut, which is wrong for +/// SF11/BW250 and SF12/BW500 (Tsym is 8.192 ms there). See the LDRO tests +/// in `test/lora_airtime_test.dart`. +/// * **Preamble.** Defaults to the firmware's per-SF length, see +/// [meshCorePreambleSymbols]. /// * **Precision and guards.** `calculateLoRaAirtime()` returns whole /// milliseconds and will throw `Unsupported operation: Infinity or NaN /// toInt` on `sf == 0` / `bw == 0`, which a half-initialised device does @@ -88,7 +89,7 @@ Duration loraTimeOnAir({ required int spreadingFactor, required int bandwidthHz, required int codingRate, - int preambleSymbols = 8, + int? preambleSymbols, bool crc = true, bool explicitHeader = true, }) { @@ -114,12 +115,18 @@ Duration loraTimeOnAir({ 0, ); - final preambleMs = (preambleSymbols + 4.25) * tsymMs; + final preamble = preambleSymbols ?? meshCorePreambleSymbols(sf); + final preambleMs = (preamble + 4.25) * tsymMs; final payloadMs = (8 + payloadSymbols) * tsymMs; return Duration(microseconds: ((preambleMs + payloadMs) * 1000).round()); } +/// Preamble length MeshCore firmware configures for [spreadingFactor] +/// (`RadioLibWrapper::preambleLengthForSF`): 32 symbols up to SF8, 16 above. +int meshCorePreambleSymbols(int spreadingFactor) => + spreadingFactor <= 8 ? 32 : 16; + /// Normalises a raw firmware coding rate into the 5..8 domain used by /// [loraTimeOnAir] and [LoRaCodingRate.value]. Some firmwares report 1..4. int normalizeCodingRate(int deviceCodingRate) => diff --git a/lib/widgets/byte_count_input.dart b/lib/widgets/byte_count_input.dart index 91f638b8..19356e85 100644 --- a/lib/widgets/byte_count_input.dart +++ b/lib/widgets/byte_count_input.dart @@ -54,6 +54,11 @@ class ByteCountedTextField extends StatelessWidget { /// If provided, byte limits and counters will use the encoded text length. final String Function(String)? encoder; + /// Optional byte count above which [softLimitNote] is shown next to the + /// counter (the text is still allowed up to [maxBytes]). + final int? softLimitBytes; + final String? softLimitNote; + const ByteCountedTextField({ super.key, required this.maxBytes, @@ -69,6 +74,8 @@ class ByteCountedTextField extends StatelessWidget { this.errorThreshold = 0.9, this.hideCounterWhenEmpty = true, this.encoder, + this.softLimitBytes, + this.softLimitNote, }); @override @@ -82,6 +89,10 @@ class ByteCountedTextField extends StatelessWidget { final usedBytes = utf8.encode(effectiveText).length; final ratio = maxBytes > 0 ? usedBytes / maxBytes : 0.0; final showCounter = !(hideCounterWhenEmpty && value.text.isEmpty); + final showSoftLimitNote = + softLimitNote != null && + softLimitBytes != null && + usedBytes > softLimitBytes!; final counterColor = ratio > errorThreshold ? Theme.of(context).colorScheme.error @@ -122,12 +133,25 @@ class ByteCountedTextField extends StatelessWidget { opacity: showCounter ? 1 : 0, child: Padding( padding: const EdgeInsets.only(top: 4, right: 4), - child: Align( - alignment: Alignment.centerRight, - child: Text( - '$usedBytes / $maxBytes', - style: TextStyle(fontSize: 11, color: counterColor), - ), + child: Row( + children: [ + Expanded( + child: showSoftLimitNote + ? Text( + softLimitNote!, + style: TextStyle( + fontSize: 11, + color: Theme.of(context).colorScheme.tertiary, + ), + ) + : const SizedBox.shrink(), + ), + const SizedBox(width: 8), + Text( + '$usedBytes / $maxBytes', + style: TextStyle(fontSize: 11, color: counterColor), + ), + ], ), ), ), diff --git a/lib/widgets/chat_day_separator.dart b/lib/widgets/chat_day_separator.dart new file mode 100644 index 00000000..292af8d6 --- /dev/null +++ b/lib/widgets/chat_day_separator.dart @@ -0,0 +1,65 @@ +import 'package:flutter/material.dart'; +import 'package:intl/intl.dart'; + +import '../l10n/l10n.dart'; +import '../theme/mesh_theme.dart'; + +bool isSameChatDay(DateTime a, DateTime b) { + final la = a.toLocal(); + final lb = b.toLocal(); + return la.year == lb.year && la.month == lb.month && la.day == lb.day; +} + +final Map<(String, bool), DateFormat> _timeFormats = {}; + +String formatChatTime(BuildContext context, DateTime time) { + final locale = Localizations.localeOf(context).toString(); + final use24h = MediaQuery.alwaysUse24HourFormatOf(context); + final format = _timeFormats.putIfAbsent(( + locale, + use24h, + ), () => use24h ? DateFormat.Hm(locale) : DateFormat.jm(locale)); + return format.format(time.toLocal()); +} + +String formatChatDayLabel(BuildContext context, DateTime time) { + final now = DateTime.now(); + if (isSameChatDay(time, now)) return context.l10n.chat_today; + final yesterday = DateTime(now.year, now.month, now.day - 1); + if (isSameChatDay(time, yesterday)) return context.l10n.chat_yesterday; + final locale = Localizations.localeOf(context).toString(); + return DateFormat.yMMMd(locale).format(time.toLocal()); +} + +class ChatDaySeparator extends StatelessWidget { + final DateTime day; + + const ChatDaySeparator({super.key, required this.day}); + + @override + Widget build(BuildContext context) { + final color = Theme.of(context).colorScheme.onSurfaceVariant; + final line = Expanded( + child: Container(height: 1, color: color.withValues(alpha: 0.2)), + ); + return Padding( + padding: const EdgeInsets.symmetric(vertical: 10), + child: Row( + children: [ + line, + const SizedBox(width: 10), + Text( + formatChatDayLabel(context, day), + style: MeshTheme.mono( + fontSize: 10.5, + fontWeight: FontWeight.w600, + color: color, + ), + ), + const SizedBox(width: 10), + line, + ], + ), + ); + } +} diff --git a/lib/widgets/emoji_picker.dart b/lib/widgets/emoji_picker.dart index 3a8fdf79..ab5c4edd 100644 --- a/lib/widgets/emoji_picker.dart +++ b/lib/widgets/emoji_picker.dart @@ -232,6 +232,7 @@ class EmojiPicker extends StatelessWidget { ), IconButton( icon: const Icon(Icons.close), + tooltip: l10n.common_close, onPressed: () => Navigator.pop(context), ), ], diff --git a/lib/widgets/gif_picker.dart b/lib/widgets/gif_picker.dart index 90b6261b..5205143d 100644 --- a/lib/widgets/gif_picker.dart +++ b/lib/widgets/gif_picker.dart @@ -136,6 +136,7 @@ class _GifPickerState extends State { const Spacer(), IconButton( icon: const Icon(Icons.close), + tooltip: context.l10n.common_close, onPressed: () => Navigator.pop(context), ), ], @@ -151,6 +152,7 @@ class _GifPickerState extends State { suffixIcon: _searchController.text.isNotEmpty ? IconButton( icon: const Icon(Icons.clear), + tooltip: context.l10n.common_clearSearch, onPressed: () { _searchController.clear(); _loadTrendingGifs(); diff --git a/lib/widgets/image_send_codec_binding.dart b/lib/widgets/image_send_codec_binding.dart index 02eaffdc..fe99a99b 100644 --- a/lib/widgets/image_send_codec_binding.dart +++ b/lib/widgets/image_send_codec_binding.dart @@ -121,6 +121,10 @@ abstract class ImageSendCodec { /// Implementations are expected to centre-crop to /// [kImageCodecSquareSize] square first. Future encode(Uint8List imageBytes, ImageCodecRatePoint rate); + + /// Decodes [payload] to PNG exactly as a recipient would, or null when this + /// device cannot decode. + Future decodePreview(Uint8List payload); } /// A deterministic stand-in used for widget previews and tests. @@ -157,4 +161,7 @@ class FakeImageSendCodec implements ImageSendCodec { List.generate(size, (i) => (i * 31 + rate.index) & 0xFF), ); } + + @override + Future decodePreview(Uint8List payload) async => null; } diff --git a/lib/widgets/image_send_preview_sheet.dart b/lib/widgets/image_send_preview_sheet.dart index d235a419..bcff1b42 100644 --- a/lib/widgets/image_send_preview_sheet.dart +++ b/lib/widgets/image_send_preview_sheet.dart @@ -1,10 +1,12 @@ import 'dart:typed_data'; +import 'dart:ui' as ui; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../connector/meshcore_connector.dart'; import '../l10n/l10n.dart'; +import '../services/image_chunk_transport.dart'; import '../utils/lora_airtime.dart'; import 'image_send_codec_binding.dart'; @@ -151,15 +153,76 @@ class _ImageSendPreviewSheetState extends State { /// does not have to touch an InheritedWidget after an await. ImageSendRadio? _radio; + /// Source `width / height`. Recipients un-stretch the 512x512 square back to + /// this shape, so both preview views use it. + double _aspect = 1; + // The shape recipients restore: the nearest supported ratio, or square. + double _recipientAspect = 1; + + bool _showReconstruction = false; + Uint8List? _reconstruction; + bool _reconstructing = false; + bool _reconstructionUnavailable = false; + @override void initState() { super.initState(); _parity = widget.initialParity; + _probeAspect(); if (widget.codec.availability == ImageCodecAvailability.ready) { _encode(); } } + Future _probeAspect() async { + try { + final buffer = await ui.ImmutableBuffer.fromUint8List(widget.imageBytes); + final descriptor = await ui.ImageDescriptor.encoded(buffer); + final ratio = descriptor.width / descriptor.height; + final code = + kImageAspectCodes[imageAspectCodeFor( + descriptor.width, + descriptor.height, + )]; + final recipientRatio = code[0] / code[1]; + descriptor.dispose(); + buffer.dispose(); + if (mounted && ratio.isFinite && ratio > 0) { + setState(() { + _aspect = ratio; + _recipientAspect = recipientRatio; + }); + } + } catch (_) {} + } + + Future _selectView(bool reconstruction) async { + setState(() => _showReconstruction = reconstruction); + final payload = _encoded; + if (!reconstruction || + payload == null || + _reconstruction != null || + _reconstructing) { + return; + } + setState(() => _reconstructing = true); + Uint8List? png; + try { + png = await widget.codec.decodePreview(payload); + } catch (_) { + png = null; + } + if (!mounted) return; + setState(() { + _reconstructing = false; + _reconstruction = png; + if (png == null) { + _reconstructionUnavailable = true; + _showReconstruction = false; + } + }); + } + Future _encode() async { final cached = _encoded; if (cached != null) return cached; @@ -297,7 +360,7 @@ class _ImageSendPreviewSheetState extends State { controller: scrollController, padding: const EdgeInsets.fromLTRB(16, 0, 16, 16), children: [ - _preview(theme, colors), + _preview(theme, colors, selected, ready), const SizedBox(height: 16), if (!ready) _unavailableBanner(theme, colors), if (ready) ...[ @@ -344,44 +407,85 @@ class _ImageSendPreviewSheetState extends State { ), ); - /// The square render. [BoxFit.fill] on a 1:1 box is exactly the 512x512 - /// centre crop the codec will take, so what is shown is what is sent. - /// /// The preview is deliberately capped in height: the packet count and airtime /// below it are the reason this screen exists and must not be pushed off the /// first screenful by a full-width square. - Widget _preview(ThemeData theme, ColorScheme colors) { + Widget _preview( + ThemeData theme, + ColorScheme colors, + _RateEstimate estimate, + bool ready, + ) { + final l10n = context.l10n; final maxSide = MediaQuery.sizeOf(context).height * 0.28; + final reconstruction = _showReconstruction ? _reconstruction : null; return Column( children: [ + if (ready) ...[ + SegmentedButton( + segments: [ + ButtonSegment( + value: false, + label: Text(l10n.imageSend_viewOriginal), + ), + ButtonSegment( + value: true, + label: Text(l10n.imageSend_viewReconstruction), + enabled: _encoded != null && !_reconstructionUnavailable, + ), + ], + selected: {_showReconstruction}, + onSelectionChanged: (s) => _selectView(s.first), + ), + const SizedBox(height: 12), + ], ConstrainedBox( constraints: BoxConstraints(maxHeight: maxSide, maxWidth: maxSide), child: ClipRRect( borderRadius: BorderRadius.circular(12), child: AspectRatio( - aspectRatio: 1, + aspectRatio: reconstruction != null ? _recipientAspect : _aspect, child: Container( color: colors.surfaceContainerHighest, - child: Image.memory( - widget.imageBytes, - fit: BoxFit.fill, - alignment: Alignment.center, - gaplessPlayback: true, - errorBuilder: (context, error, stack) => Center( - child: Icon( - Icons.broken_image_outlined, - size: 48, - color: colors.onSurfaceVariant, - ), - ), - ), + child: _showReconstruction && _reconstructing + ? const Center(child: CircularProgressIndicator()) + : Image.memory( + reconstruction ?? widget.imageBytes, + // The reconstruction is the stretched square; fill + // undoes the stretch into the recipient's shape. + fit: reconstruction != null + ? BoxFit.fill + : BoxFit.contain, + alignment: Alignment.center, + gaplessPlayback: true, + errorBuilder: (context, error, stack) => Center( + child: Icon( + Icons.broken_image_outlined, + size: 48, + color: colors.onSurfaceVariant, + ), + ), + ), ), ), ), ), + if (_reconstructionUnavailable) ...[ + const SizedBox(height: 8), + Text( + l10n.imageSend_reconstructionUnavailable, + textAlign: TextAlign.center, + style: theme.textTheme.bodySmall?.copyWith( + color: colors.onSurfaceVariant, + ), + ), + ], const SizedBox(height: 8), Text( - context.l10n.imageSend_cropNote, + l10n.imageSend_lossyNote( + estimate.payloadBytes ?? + ImageCodecRateStats.forRate(kImageSendRatePoint).meanBytes, + ), textAlign: TextAlign.center, style: theme.textTheme.bodySmall?.copyWith( color: colors.onSurfaceVariant, diff --git a/lib/widgets/mesh_ui.dart b/lib/widgets/mesh_ui.dart index cb4698bb..2943bc04 100644 --- a/lib/widgets/mesh_ui.dart +++ b/lib/widgets/mesh_ui.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; +import '../l10n/l10n.dart'; import '../theme/mesh_theme.dart'; /// MeshCore shared design kit. @@ -191,35 +192,39 @@ class StatTile extends StatelessWidget { label.toUpperCase(), style: MeshTheme.accentLabel( color: scheme.onSurfaceVariant, - fontSize: 9, + fontSize: 11, ), + maxLines: 2, overflow: TextOverflow.ellipsis, ), ), ], ), const SizedBox(height: 6), - Text.rich( - TextSpan( - text: value, - style: MeshTheme.mono( - fontSize: 17, - fontWeight: FontWeight.w600, - color: scheme.onSurface, - ), - children: [ - if (unit != null) - TextSpan( - text: ' $unit', - style: MeshTheme.mono( - fontSize: 11, - color: scheme.onSurfaceVariant, + FittedBox( + fit: BoxFit.scaleDown, + alignment: AlignmentDirectional.centerStart, + child: Text.rich( + TextSpan( + text: value, + style: MeshTheme.mono( + fontSize: 17, + fontWeight: FontWeight.w600, + color: scheme.onSurface, + ), + children: [ + if (unit != null) + TextSpan( + text: ' $unit', + style: MeshTheme.mono( + fontSize: 11, + color: scheme.onSurfaceVariant, + ), ), - ), - ], + ], + ), + maxLines: 1, ), - maxLines: 1, - overflow: TextOverflow.ellipsis, ), ], ), @@ -352,11 +357,14 @@ class RouteChip extends StatelessWidget { @override Widget build(BuildContext context) { final scheme = Theme.of(context).colorScheme; - final label = isDirect - ? (hops == null || hops == 0 - ? 'DIRECT' - : '$hops HOP${hops == 1 ? '' : 'S'}') - : 'FLOOD'; + final l10n = context.l10n; + final label = + (isDirect + ? (hops == null || hops == 0 + ? l10n.chat_direct + : l10n.chat_hopsCount(hops!)) + : l10n.routing_modeFlood) + .toUpperCase(); return Container( padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 2), decoration: BoxDecoration( @@ -518,6 +526,7 @@ class BottomSheetHeader extends StatelessWidget { ?trailing, IconButton( icon: const Icon(Icons.close, size: 20), + tooltip: MaterialLocalizations.of(context).closeButtonTooltip, onPressed: () => Navigator.of(context).maybePop(), ), ], diff --git a/lib/widgets/message_status_icon.dart b/lib/widgets/message_status_icon.dart index c1971c15..d52e93d0 100644 --- a/lib/widgets/message_status_icon.dart +++ b/lib/widgets/message_status_icon.dart @@ -8,7 +8,19 @@ class MessageStatusIcon extends StatefulWidget { final bool isAcked; final bool isFailed; final bool isPending; - final bool isRepeated; + + /// Channel messages have no delivery ACK. Instead of a delivered tick they + /// show how many times the mesh was heard repeating the message. + final bool isChannel; + final int repeatCount; + + /// While the app is resending a channel message to reach more repeaters: + /// how many resends so far and the limit. + final ({int resends, int maxResends})? resendProgress; + + /// Set when resending gave up before the message was heard through the + /// required number of repeaters. + final ({int hops, int required})? hopShortfall; final double size; /// Base tint for the sent/sending state. On a colored (outgoing) bubble a @@ -21,8 +33,11 @@ class MessageStatusIcon extends StatefulWidget { required this.isAcked, this.isFailed = false, this.isPending = false, - this.isRepeated = false, - this.size = 14, + this.isChannel = false, + this.repeatCount = 0, + this.resendProgress, + this.hopShortfall, + this.size = 16, this.onColor, }); @@ -68,46 +83,91 @@ class _MessageStatusIconState extends State final colorScheme = Theme.of(context).colorScheme; final double size = widget.size; final Color baseColor = widget.onColor ?? colorScheme.onSurfaceVariant; + final Color confirmedColor = MeshPalette.signal.withValues(alpha: 0.9); + final String label; + final Widget icon; if (widget.isFailed) { - return Semantics( - label: l10n.messageStatus_failed, - child: Icon(Icons.cancel, size: size, color: colorScheme.error), + label = widget.isChannel + ? l10n.messageStatus_failedChannel + : l10n.messageStatus_failed; + icon = Icon(Icons.cancel, size: size, color: colorScheme.error); + } else if (widget.isPending) { + label = l10n.messageStatus_pending; + icon = _SendingDots( + controller: _controller, + color: baseColor, + size: size, ); + } else if (widget.isChannel && widget.hopShortfall != null) { + final shortfall = widget.hopShortfall!; + label = l10n.messageStatus_hopsNotReached( + shortfall.hops, + shortfall.required, + ); + icon = Icon( + Icons.warning_amber_rounded, + size: size, + color: MeshPalette.warn, + ); + } else if (widget.isChannel && (widget.resendProgress?.resends ?? 0) > 0) { + final progress = widget.resendProgress!; + label = l10n.messageStatus_resending( + progress.resends, + progress.maxResends, + ); + icon = Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon(Icons.autorenew, size: size, color: MeshPalette.warn), + const SizedBox(width: 2), + Text( + '${progress.resends}/${progress.maxResends}', + style: MeshTheme.mono( + fontSize: size * 0.8, + fontWeight: FontWeight.w600, + color: MeshPalette.warn, + ), + ), + ], + ); + } else if (widget.isChannel && widget.repeatCount > 0) { + label = l10n.messageStatus_heardRepeatedCount(widget.repeatCount); + icon = Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon(Icons.repeat, size: size, color: confirmedColor), + const SizedBox(width: 2), + Text( + '${widget.repeatCount}', + style: MeshTheme.mono( + fontSize: size * 0.8, + fontWeight: FontWeight.w600, + color: confirmedColor, + ), + ), + ], + ); + } else if (widget.isChannel) { + label = l10n.messageStatus_sentChannel; + icon = Icon(Icons.done, size: size, color: baseColor); + } else if (widget.isAcked) { + label = l10n.messageStatus_delivered; + icon = SvgPicture.asset( + 'assets/icons/done_all.svg', + width: size, + height: size, + colorFilter: ColorFilter.mode(confirmedColor, BlendMode.srcIn), + ); + } else { + label = l10n.messageStatus_sentDirect; + icon = Icon(Icons.done, size: size, color: baseColor); } - if (widget.isPending) { - return Semantics( - label: l10n.messageStatus_pending, - child: _SendingDots( - controller: _controller, - color: baseColor, - size: size, - ), - ); - } - - final bool delivered = widget.isAcked || widget.isRepeated; - final String label = widget.isRepeated - ? l10n.messageStatus_repeated - : widget.isAcked - ? l10n.messageStatus_delivered - : l10n.messageStatus_sent; - // Use palette colors: tertiary (warn/amber) for acked/repeated, base for sent. - final Color color = delivered - ? MeshPalette.signal.withValues(alpha: 0.9) - : baseColor; - - return Semantics( - label: label, - child: delivered - ? SvgPicture.asset( - 'assets/icons/done_all.svg', - width: size, - height: size, - colorFilter: ColorFilter.mode(color, BlendMode.srcIn), - ) - : Icon(Icons.done, size: size, color: color), + return Tooltip( + message: label, + triggerMode: TooltipTriggerMode.tap, + child: icon, ); } } diff --git a/lib/widgets/repeater_login_dialog.dart b/lib/widgets/repeater_login_dialog.dart index 03f6e345..f3567742 100644 --- a/lib/widgets/repeater_login_dialog.dart +++ b/lib/widgets/repeater_login_dialog.dart @@ -7,11 +7,13 @@ import '../l10n/l10n.dart'; import '../models/contact.dart'; import '../l10n/contact_localization.dart'; import '../services/storage_service.dart'; +import '../services/repeater_command_service.dart'; import '../connector/meshcore_connector.dart'; import '../connector/meshcore_protocol.dart'; import '../theme/mesh_theme.dart'; import '../widgets/mesh_ui.dart'; import '../utils/app_logger.dart'; +import '../helpers/utf8_length_limiter.dart'; import 'routing_sheet.dart'; class RepeaterLoginDialog extends StatefulWidget { @@ -201,7 +203,10 @@ class _RepeaterLoginDialogState extends State { await _connector.sendFrame( buildSendCliCommandFrame( repeater.publicKey, - 'clock sync', + normalizeRepeaterClockSyncCommand( + 'clock sync', + nowSeconds: timestampSeconds, + ), timestampSeconds: timestampSeconds, ), ); @@ -276,6 +281,9 @@ class _RepeaterLoginDialogState extends State { final repeater = _resolveRepeater(connector); final isFloodMode = repeater.pathOverride == -1; return AlertDialog( + insetPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 24), + titlePadding: const EdgeInsets.fromLTRB(16, 20, 16, 0), + contentPadding: const EdgeInsets.fromLTRB(16, 16, 16, 0), title: Row( children: [ AvatarCircle( @@ -347,6 +355,10 @@ class _RepeaterLoginDialogState extends State { TextField( controller: _passwordController, obscureText: _obscurePassword, + // Firmware stores at most 15 bytes (CommonCLI.h password[16]). + inputFormatters: const [ + Utf8LengthLimitingTextInputFormatter(15), + ], decoration: InputDecoration( labelText: l10n.login_password, hintText: l10n.login_enterPassword, @@ -357,6 +369,9 @@ class _RepeaterLoginDialogState extends State { ? Icons.visibility : Icons.visibility_off, ), + tooltip: _obscurePassword + ? l10n.login_showPassword + : l10n.login_hidePassword, onPressed: () { setState(() { _obscurePassword = !_obscurePassword; @@ -393,101 +408,116 @@ class _RepeaterLoginDialogState extends State { controlAffinity: ListTileControlAffinity.leading, contentPadding: EdgeInsets.zero, ), - const Divider(), - Row( + ExpansionTile( + title: Text(l10n.login_advanced), + tilePadding: EdgeInsets.zero, + childrenPadding: EdgeInsets.zero, + expandedCrossAxisAlignment: CrossAxisAlignment.start, + shape: const Border(), + collapsedShape: const Border(), children: [ - Text( - l10n.login_routing, - style: MeshTheme.accentLabel( - color: scheme.onSurfaceVariant, - fontSize: 11, - ), - ), - const Spacer(), - PopupMenuButton( - icon: Icon(isFloodMode ? Icons.waves : Icons.route), - tooltip: l10n.login_routingMode, - onSelected: (mode) async { - if (mode == 'flood') { - await connector.setPathOverride( - repeater, - pathLen: -1, - ); - } else { - await connector.setPathOverride( - repeater, - pathLen: null, - ); - } - }, - itemBuilder: (context) => [ - PopupMenuItem( - value: 'auto', - child: Row( - children: [ - Icon( - Icons.auto_mode, - size: 20, - color: !isFloodMode ? scheme.primary : null, - ), - const SizedBox(width: 8), - Text( - l10n.login_autoUseSavedPath, - style: TextStyle( - fontWeight: !isFloodMode - ? FontWeight.bold - : FontWeight.normal, - ), - ), - ], + Row( + children: [ + Text( + l10n.login_routing, + style: MeshTheme.accentLabel( + color: scheme.onSurfaceVariant, + fontSize: 11, ), ), - PopupMenuItem( - value: 'flood', - child: Row( - children: [ - Icon( - Icons.waves, - size: 20, - color: isFloodMode ? scheme.primary : null, + const Spacer(), + PopupMenuButton( + icon: Icon(isFloodMode ? Icons.waves : Icons.route), + tooltip: l10n.login_routingMode, + onSelected: (mode) async { + if (mode == 'flood') { + await connector.setPathOverride( + repeater, + pathLen: -1, + ); + } else { + await connector.setPathOverride( + repeater, + pathLen: null, + ); + } + }, + itemBuilder: (context) => [ + PopupMenuItem( + value: 'auto', + child: Row( + children: [ + Icon( + Icons.auto_mode, + size: 20, + color: !isFloodMode + ? scheme.primary + : null, + ), + const SizedBox(width: 8), + Text( + l10n.login_autoUseSavedPath, + style: TextStyle( + fontWeight: !isFloodMode + ? FontWeight.bold + : FontWeight.normal, + ), + ), + ], ), - const SizedBox(width: 8), - Text( - l10n.login_forceFloodMode, - style: TextStyle( - fontWeight: isFloodMode - ? FontWeight.bold - : FontWeight.normal, - ), + ), + PopupMenuItem( + value: 'flood', + child: Row( + children: [ + Icon( + Icons.waves, + size: 20, + color: isFloodMode + ? scheme.primary + : null, + ), + const SizedBox(width: 8), + Text( + l10n.login_forceFloodMode, + style: TextStyle( + fontWeight: isFloodMode + ? FontWeight.bold + : FontWeight.normal, + ), + ), + ], ), - ], - ), + ), + ], ), ], ), + const SizedBox(height: 4), + Text( + repeater.pathLabel( + context.l10n, + pathHashByteWidth: connector.pathHashByteWidth, + ), + style: TextStyle( + fontSize: 11, + color: scheme.onSurfaceVariant, + ), + ), + const SizedBox(height: 8), + Align( + alignment: Alignment.centerLeft, + child: TextButton.icon( + onPressed: () => ContactRoutingSheet.show( + context, + contact: repeater, + ), + icon: const Icon(Icons.timeline, size: 18), + label: Text(l10n.login_managePaths), + ), + ), ], ), - const SizedBox(height: 4), - Text( - repeater.pathLabel( - context.l10n, - pathHashByteWidth: connector.pathHashByteWidth, - ), - style: TextStyle( - fontSize: 11, - color: scheme.onSurfaceVariant, - ), - ), - const SizedBox(height: 8), - Align( - alignment: Alignment.centerLeft, - child: TextButton.icon( - onPressed: () => - ContactRoutingSheet.show(context, contact: repeater), - icon: const Icon(Icons.timeline, size: 18), - label: Text(l10n.login_managePaths), - ), - ), ], ), ), diff --git a/lib/widgets/room_login_dialog.dart b/lib/widgets/room_login_dialog.dart index b88716f8..1ed67d33 100644 --- a/lib/widgets/room_login_dialog.dart +++ b/lib/widgets/room_login_dialog.dart @@ -14,6 +14,7 @@ import '../theme/mesh_theme.dart'; import '../widgets/mesh_ui.dart'; import '../utils/app_logger.dart'; import '../helpers/snack_bar_builder.dart'; +import '../helpers/utf8_length_limiter.dart'; import 'routing_sheet.dart'; class RoomLoginDialog extends StatefulWidget { @@ -233,6 +234,9 @@ class _RoomLoginDialogState extends State { final repeater = _resolveRepeater(connector); final isFloodMode = repeater.pathOverride == -1; return AlertDialog( + insetPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 24), + titlePadding: const EdgeInsets.fromLTRB(16, 20, 16, 0), + contentPadding: const EdgeInsets.fromLTRB(16, 16, 16, 0), title: Row( children: [ AvatarCircle( @@ -288,6 +292,10 @@ class _RoomLoginDialogState extends State { TextField( controller: _passwordController, obscureText: _obscurePassword, + // Firmware stores at most 15 bytes (CommonCLI.h password[16]). + inputFormatters: const [ + Utf8LengthLimitingTextInputFormatter(15), + ], decoration: InputDecoration( labelText: l10n.login_password, hintText: l10n.login_enterPassword, @@ -298,6 +306,9 @@ class _RoomLoginDialogState extends State { ? Icons.visibility : Icons.visibility_off, ), + tooltip: _obscurePassword + ? l10n.login_showPassword + : l10n.login_hidePassword, onPressed: () { setState(() { _obscurePassword = !_obscurePassword; @@ -329,101 +340,116 @@ class _RoomLoginDialogState extends State { controlAffinity: ListTileControlAffinity.leading, contentPadding: EdgeInsets.zero, ), - const Divider(), - Row( + ExpansionTile( + title: Text(l10n.login_advanced), + tilePadding: EdgeInsets.zero, + childrenPadding: EdgeInsets.zero, + expandedCrossAxisAlignment: CrossAxisAlignment.start, + shape: const Border(), + collapsedShape: const Border(), children: [ - Text( - l10n.login_routing, - style: MeshTheme.accentLabel( - color: scheme.onSurfaceVariant, - fontSize: 11, - ), - ), - const Spacer(), - PopupMenuButton( - icon: Icon(isFloodMode ? Icons.waves : Icons.route), - tooltip: l10n.login_routingMode, - onSelected: (mode) async { - if (mode == 'flood') { - await connector.setPathOverride( - repeater, - pathLen: -1, - ); - } else { - await connector.setPathOverride( - repeater, - pathLen: null, - ); - } - }, - itemBuilder: (context) => [ - PopupMenuItem( - value: 'auto', - child: Row( - children: [ - Icon( - Icons.auto_mode, - size: 20, - color: !isFloodMode ? scheme.primary : null, - ), - const SizedBox(width: 8), - Text( - l10n.login_autoUseSavedPath, - style: TextStyle( - fontWeight: !isFloodMode - ? FontWeight.bold - : FontWeight.normal, - ), - ), - ], + Row( + children: [ + Text( + l10n.login_routing, + style: MeshTheme.accentLabel( + color: scheme.onSurfaceVariant, + fontSize: 11, ), ), - PopupMenuItem( - value: 'flood', - child: Row( - children: [ - Icon( - Icons.waves, - size: 20, - color: isFloodMode ? scheme.primary : null, + const Spacer(), + PopupMenuButton( + icon: Icon(isFloodMode ? Icons.waves : Icons.route), + tooltip: l10n.login_routingMode, + onSelected: (mode) async { + if (mode == 'flood') { + await connector.setPathOverride( + repeater, + pathLen: -1, + ); + } else { + await connector.setPathOverride( + repeater, + pathLen: null, + ); + } + }, + itemBuilder: (context) => [ + PopupMenuItem( + value: 'auto', + child: Row( + children: [ + Icon( + Icons.auto_mode, + size: 20, + color: !isFloodMode + ? scheme.primary + : null, + ), + const SizedBox(width: 8), + Text( + l10n.login_autoUseSavedPath, + style: TextStyle( + fontWeight: !isFloodMode + ? FontWeight.bold + : FontWeight.normal, + ), + ), + ], ), - const SizedBox(width: 8), - Text( - l10n.login_forceFloodMode, - style: TextStyle( - fontWeight: isFloodMode - ? FontWeight.bold - : FontWeight.normal, - ), + ), + PopupMenuItem( + value: 'flood', + child: Row( + children: [ + Icon( + Icons.waves, + size: 20, + color: isFloodMode + ? scheme.primary + : null, + ), + const SizedBox(width: 8), + Text( + l10n.login_forceFloodMode, + style: TextStyle( + fontWeight: isFloodMode + ? FontWeight.bold + : FontWeight.normal, + ), + ), + ], ), - ], - ), + ), + ], ), ], ), + const SizedBox(height: 4), + Text( + repeater.pathLabel( + context.l10n, + pathHashByteWidth: connector.pathHashByteWidth, + ), + style: TextStyle( + fontSize: 11, + color: scheme.onSurfaceVariant, + ), + ), + const SizedBox(height: 8), + Align( + alignment: Alignment.centerLeft, + child: TextButton.icon( + onPressed: () => ContactRoutingSheet.show( + context, + contact: repeater, + ), + icon: const Icon(Icons.timeline, size: 18), + label: Text(l10n.login_managePaths), + ), + ), ], ), - const SizedBox(height: 4), - Text( - repeater.pathLabel( - context.l10n, - pathHashByteWidth: connector.pathHashByteWidth, - ), - style: TextStyle( - fontSize: 11, - color: scheme.onSurfaceVariant, - ), - ), - const SizedBox(height: 8), - Align( - alignment: Alignment.centerLeft, - child: TextButton.icon( - onPressed: () => - ContactRoutingSheet.show(context, contact: repeater), - icon: const Icon(Icons.timeline, size: 18), - label: Text(l10n.login_managePaths), - ), - ), ], ), ), diff --git a/lib/widgets/routing_sheet.dart b/lib/widgets/routing_sheet.dart index ee11937b..1b8e3e5d 100644 --- a/lib/widgets/routing_sheet.dart +++ b/lib/widgets/routing_sheet.dart @@ -99,7 +99,10 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { final override = contact.pathOverride; final initial = override != null && override > 0 ? (contact.pathOverrideBytes ?? Uint8List(0)) - : (contact.pathLength > 0 ? contact.path : Uint8List(0)); + : (contact.pathLength > 0 && + contact.pathHashWidth == connector.pathHashByteWidth + ? contact.path + : Uint8List(0)); final available = connector.allContacts .where((c) => c.publicKeyHex != contact.publicKeyHex) .toList(); @@ -169,7 +172,7 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { for (var i = 0; i < ranked.length && i < 3; i++) { if (ranked[i].matchesPathStart( record.pathBytes, - connector.pathHashByteWidth, + _recordPathHashWidth(record), )) { return switch (i) { 0 => _PathQuality.strong, @@ -252,7 +255,7 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { return PathHelper.resolvePathNames( contact.path, connector.allContacts, - connector.pathHashByteWidth, + contact.pathHashWidth, ); } } @@ -285,21 +288,26 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { ); } + int _recordPathHashWidth(PathRecord record) => + Contact.inferPathHashWidth(record.hopCount, record.pathBytes.length); + void _showPathDetail( BuildContext context, MeshCoreConnector connector, Contact contact, - List pathBytes, + PathRecord record, ) { final l10n = context.l10n; + final pathBytes = record.pathBytes; + final width = _recordPathHashWidth(record); final formattedPath = PathHelper.splitPathBytes( pathBytes, - connector.pathHashByteWidth, + width, ).map(PathHelper.formatHopHex).join(','); final resolvedNames = PathHelper.resolvePathNames( pathBytes, connector.allContacts, - connector.pathHashByteWidth, + width, ); showDialog( @@ -545,13 +553,13 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { ? PathHelper.resolvePathNames( record.pathBytes, connector.allContacts, - connector.pathHashByteWidth, + _recordPathHashWidth(record), ) : l10n.chat_hopsCount(record.hopCount); final displayHopCount = hasBytes ? PathHelper.splitPathBytes( record.pathBytes, - connector.pathHashByteWidth, + _recordPathHashWidth(record), ).length : record.hopCount; @@ -570,7 +578,7 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { behavior: HitTestBehavior.opaque, onSecondaryTapUp: PlatformInfo.isDesktop && hasBytes ? (_) => - _showPathDetail(context, connector, contact, record.pathBytes) + _showPathDetail(context, connector, contact, record) : null, child: Card( margin: const EdgeInsets.symmetric(vertical: 4), @@ -619,12 +627,7 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> { ? () => _applyHistoryPath(connector, contact, record) : null, onLongPress: hasBytes - ? () => _showPathDetail( - context, - connector, - contact, - record.pathBytes, - ) + ? () => _showPathDetail(context, connector, contact, record) : null, ), ), diff --git a/lib/widgets/snr_indicator.dart b/lib/widgets/snr_indicator.dart index 29512023..f485e0c0 100644 --- a/lib/widgets/snr_indicator.dart +++ b/lib/widgets/snr_indicator.dart @@ -226,79 +226,110 @@ class _SNRIndicatorState extends State { title: Text(l10n.snrIndicator_nearByRepeaters), content: SizedBox( width: double.maxFinite, - child: Scrollbar( - child: ListView.separated( - shrinkWrap: true, - padding: const EdgeInsets.symmetric(vertical: 4), - itemCount: directBestRepeaters.length, - separatorBuilder: (_, _) => const Divider(height: 1), - itemBuilder: (context, index) { - final repeater = directBestRepeaters[index]; - final allContacts = widget.connector.allContacts; + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + l10n.snrIndicator_nearByRepeatersDescription, + style: Theme.of(context).textTheme.bodySmall?.copyWith( + color: Theme.of(context).colorScheme.onSurfaceVariant, + ), + ), + const SizedBox(height: 8), + Flexible( + child: Scrollbar( + child: ListView.separated( + shrinkWrap: true, + padding: const EdgeInsets.symmetric(vertical: 4), + itemCount: directBestRepeaters.length, + separatorBuilder: (_, _) => const Divider(height: 1), + itemBuilder: (context, index) { + final repeater = directBestRepeaters[index]; + final allContacts = widget.connector.allContacts; - final selfLat = widget.connector.selfLatitude; - final selfLon = widget.connector.selfLongitude; + final selfLat = widget.connector.selfLatitude; + final selfLon = widget.connector.selfLongitude; - LatLng? selfPoint; - if (selfLat != null && - selfLon != null && - _isValidSelfLocation(selfLat, selfLon)) { - selfPoint = LatLng(selfLat, selfLon); - } + LatLng? selfPoint; + if (selfLat != null && + selfLon != null && + _isValidSelfLocation(selfLat, selfLon)) { + selfPoint = LatLng(selfLat, selfLon); + } - final contact = _getRepeaterPrefixMatchNearLocation( - allContacts, - repeater.pubkeyPrefix, - contactKeyHex: repeater.contactKeyHex, - searchPoint: selfPoint, - preferFavorites: true, - ); + final contact = _getRepeaterPrefixMatchNearLocation( + allContacts, + repeater.pubkeyPrefix, + contactKeyHex: repeater.contactKeyHex, + searchPoint: selfPoint, + preferFavorites: true, + ); - final name = contact?.name; - final prefixLabel = PathHelper.formatHopHex( - repeater.pubkeyPrefix, - ); - final snrColor = MeshTheme.snrColor( - repeater.snr, - blocked: false, - ); + final name = contact?.name; + final prefixLabel = PathHelper.formatHopHex( + repeater.pubkeyPrefix, + ); + final snrColor = MeshTheme.snrColor( + repeater.snr, + blocked: false, + ); + 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: snrColor, - ), - const SizedBox(width: 12), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, + return Padding( + padding: const EdgeInsets.symmetric( + horizontal: 16, + vertical: 10, + ), + child: Row( children: [ - Text( - name ?? prefixLabel, - style: Theme.of(context).textTheme.bodyMedium, + AvatarCircle( + name: name ?? prefixLabel, + size: 36, + color: colorScheme.onSurfaceVariant, ), - Text( - '${repeater.snr.toStringAsFixed(1)} dB • ${_formatLastUpdated(repeater.lastUpdated)}', - style: MeshTheme.mono( - fontSize: 11, - color: snrColor, + 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: 11, + color: colorScheme.onSurfaceVariant, + ), + ), + ], + ), + ], ), ), ], ), - ), - ], + ); + }, ), - ); - }, - ), + ), + ), + ], ), ), actions: [ diff --git a/pubspec.yaml b/pubspec.yaml index 01608a39..9115c3a7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -42,7 +42,7 @@ dependencies: flserial: git: url: https://github.com/MeshEnvy/flserial.git - ref: 48216310061efc8d5d217cc18014fc2cb501646e + ref: e1864de9b65cda9656dba804329bdd2890dd5a92 ffi: ^2.1.3 # calloc.free for flserial's native I/O buffers provider: ^6.1.5+1 shared_preferences: ^2.2.2 @@ -65,6 +65,7 @@ dependencies: flutter_linkify: ^6.0.0 # Auto-detect and linkify URLs in text gpx: ^2.3.0 path_provider: ^2.1.5 + file_selector: ^1.0.3 # desktop save dialog for GPX export share_plus: ^13.1.0 build_pipe: ^0.3.1 material_symbols_icons: ^4.2928.1 @@ -83,6 +84,7 @@ dependencies: # the abiFilters note in android/app/build.gradle.kts; a universal APK pays # ~56 MB for ORT instead of ~18 MB. flutter_onnxruntime: ^1.8.3 + base32: ^2.2.0 hooks: user_defines: diff --git a/test/connector/build_update_contact_path_frame_test.dart b/test/connector/build_update_contact_path_frame_test.dart index da88f9aa..1ab5961d 100644 --- a/test/connector/build_update_contact_path_frame_test.dart +++ b/test/connector/build_update_contact_path_frame_test.dart @@ -6,7 +6,7 @@ import 'package:meshcore_open/connector/meshcore_protocol.dart'; void main() { // Frame layout per the doc comment on buildUpdateContactPathFrame: // [cmd][pub_key x32][type][flags][path_len][path x64][name x32] - // [timestamp x4][Lat? x4, Lon? x4][timestamp? x4] + // [last_advert x4][Lat? x4, Lon? x4][lastmod? x4] // // Base (mandatory) bytes: // 1 cmd + 32 pubKey + 1 type + 1 flags + 1 pathLen + 64 path @@ -101,5 +101,77 @@ void main() { expect(latBytes.getInt32(0, Endian.little), (49.123456 * 1e6).round()); expect(lonBytes.getInt32(0, Endian.little), (-123.123456 * 1e6).round()); }); + + int lastAdvertField(Uint8List frame) => ByteData.sublistView( + frame, + baseFrameLength - 4, + baseFrameLength, + ).getUint32(0, Endian.little); + + test('writes the contact advert timestamp, not the phone clock', () { + final advert = DateTime.utc(2025, 6, 1, 12); + final frame = buildUpdateContactPathFrame( + pubKey, + path, + path.length, + lastAdvert: advert, + lastModified: DateTime.utc(2026, 1, 2), + ); + + expect(lastAdvertField(frame), advert.millisecondsSinceEpoch ~/ 1000); + expect( + ByteData.sublistView( + frame, + baseFrameLength + 8, + ).getUint32(0, Endian.little), + DateTime.utc(2026, 1, 2).millisecondsSinceEpoch ~/ 1000, + ); + }); + + test('writes 0 for last advert when unknown', () { + final frame = buildUpdateContactPathFrame(pubKey, path, path.length); + expect(lastAdvertField(frame), 0); + }); + }); + + group('auto-add / repeat freq frames', () { + test('SET_AUTOADD_CONFIG appends max hops only when given', () { + final withoutHops = buildSetAutoAddConfigFrame( + autoAddChat: true, + autoAddRepeater: false, + autoAddRoomServer: false, + autoAddSensor: false, + overwriteOldest: true, + ); + expect(withoutHops, [ + cmdSetAutoAddConfig, + autoAddChatFlag | autoAddOverwriteOldestFlag, + ]); + + final withHops = buildSetAutoAddConfigFrame( + autoAddChat: false, + autoAddRepeater: false, + autoAddRoomServer: false, + autoAddSensor: false, + overwriteOldest: false, + maxHops: 3, + ); + expect(withHops, [cmdSetAutoAddConfig, 0, 3]); + }); + + test('parses RESP_ALLOWED_REPEAT_FREQ ranges', () { + final data = ByteData(1 + 16); + data.setUint8(0, respCodeAllowedRepeatFreq); + data.setUint32(1, 433000, Endian.little); + data.setUint32(5, 433000, Endian.little); + data.setUint32(9, 869495, Endian.little); + data.setUint32(13, 869600, Endian.little); + final ranges = parseAllowedRepeatFreqFrame(data.buffer.asUint8List()); + expect(ranges, [ + (lowKHz: 433000, highKHz: 433000), + (lowKHz: 869495, highKHz: 869600), + ]); + expect(buildGetAllowedRepeatFreqFrame(), [cmdGetAllowedRepeatFreq]); + }); }); } diff --git a/test/connector/contact_push_codes_test.dart b/test/connector/contact_push_codes_test.dart new file mode 100644 index 00000000..5392c3fc --- /dev/null +++ b/test/connector/contact_push_codes_test.dart @@ -0,0 +1,57 @@ +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/storage/prefs_manager.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +Uint8List _contactFrame(int code, Uint8List key, String name) { + final data = ByteData(1 + 32 + 3 + 64 + 32 + 4 + 12); + final bytes = data.buffer.asUint8List(); + bytes[0] = code; + bytes.setRange(1, 33, key); + bytes[33] = advTypeChat; + bytes[35] = 0xFF; // path unknown + bytes.setRange(100, 100 + name.length, name.codeUnits); + data.setUint32(132, 1700000000, Endian.little); + return bytes; +} + +void main() { + TestWidgetsFlutterBinding.ensureInitialized(); + + setUp(() async { + SharedPreferences.setMockInitialValues({}); + PrefsManager.reset(); + await PrefsManager.initialize(); + }); + + final key = Uint8List.fromList(List.generate(32, (i) => i + 1)); + + test('NEW_ADVERT is discovered only, not a firmware contact', () { + final connector = MeshCoreConnector(); + connector.handleFrameForTest(_contactFrame(pushCodeNewAdvert, key, 'Bob')); + + expect(connector.contacts, isEmpty); + expect(connector.discoveredContacts.map((c) => c.name), contains('Bob')); + }); + + test('CONTACT_DELETED removes the firmware contact', () { + final connector = MeshCoreConnector(); + connector.handleFrameForTest(_contactFrame(respCodeContact, key, 'Bob')); + expect(connector.contacts.length, 1); + + connector.handleFrameForTest([pushCodeContactDeleted, ...key]); + expect(connector.contacts, isEmpty); + }); + + test('CONTACTS_FULL raises the storage-full signal', () async { + final connector = MeshCoreConnector(); + final events = connector.contactsFullEvents.first; + connector.handleFrameForTest([pushCodeContactsFull]); + + expect(connector.contactsStorageFull, isTrue); + await events; + }); +} diff --git a/test/connector/pending_command_replies_test.dart b/test/connector/pending_command_replies_test.dart new file mode 100644 index 00000000..0a8096a7 --- /dev/null +++ b/test/connector/pending_command_replies_test.dart @@ -0,0 +1,70 @@ +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/connector/meshcore_protocol.dart'; +import 'package:meshcore_open/connector/pending_command_replies.dart'; + +void main() { + Uint8List frame(List bytes) => Uint8List.fromList(bytes); + final keyA = Uint8List.fromList(List.generate(32, (i) => i + 1)); + final keyB = Uint8List.fromList(List.generate(32, (i) => i + 100)); + + PendingCommandReplies newQueue() => + PendingCommandReplies(staleAfter: const Duration(seconds: 10)); + + test('ERR goes to the oldest pending command (firmware order)', () { + final queue = newQueue(); + final time = queue.track(buildSetDeviceTimeFrame(1)); + queue.track(buildSetAdvertNameFrame('x')); + + final failed = queue.takeErr(6); + expect(failed, same(time)); + expect(queue.takeOk()?.commandCode, cmdSetAdvertName); + expect(queue.length, 0); + }); + + test('OK skips commands whose success is a specific RESP_CODE', () { + final queue = newQueue(); + queue.track(buildSendTextMsgFrame(keyA, 'hi')); + queue.track(buildRemoveContactFrame(keyA)); + + expect(queue.takeOk()?.commandCode, cmdRemoveContact); + expect(queue.completeReply(frame([respCodeSent, 0, 0, 0, 0, 0])), isTrue); + expect(queue.length, 0); + }); + + test('specific replies clear their entry so a later ERR is not misread', () { + final queue = newQueue(); + queue.track(buildGetChannelFrame(0)); + queue.track(buildSetChannelFrame(1, 'c', Uint8List(16))); + + expect(queue.completeReply(frame([respCodeChannelInfo, 0])), isTrue); + expect(queue.takeErr(2)?.commandCode, cmdSetChannel); + }); + + test('CONTACT only completes GET_CONTACT_BY_KEY for the same key', () { + final queue = newQueue(); + queue.track(buildGetContactByKeyFrame(keyA)); + + expect(queue.completeReply(frame([respCodeContact, ...keyB])), isFalse); + expect(queue.completeReply(frame([respCodeContact, ...keyA])), isTrue); + expect(queue.length, 0); + }); + + test('untracked commands are not enrolled', () { + final queue = newQueue(); + expect(queue.track(buildSyncNextMessageFrame()), isNull); + expect(queue.track(buildRebootFrame()), isNull); + expect(queue.takeErr(1), isNull); + }); + + test('awaited command completes with error on ERR', () async { + final queue = newQueue(); + final pending = queue.track( + buildSetRadioParamsFrame(869525, 250000, 11, 5), + waitForReply: true, + ); + queue.takeErr(6); + await expectLater(pending!.completer!.future, throwsException); + }); +} diff --git a/test/helpers/guessed_location_estimator_test.dart b/test/helpers/guessed_location_estimator_test.dart new file mode 100644 index 00000000..be9c0e6c --- /dev/null +++ b/test/helpers/guessed_location_estimator_test.dart @@ -0,0 +1,197 @@ +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:latlong2/latlong.dart'; +import 'package:meshcore_open/helpers/guessed_location_estimator.dart'; + +const _phoenix = (33.45, -112.07); +const _casaGrande = (32.88, -111.76); +const _flagstaff = (35.20, -111.65); +const _london = (51.50, -0.12); + +Uint8List _key(List bytes) => + Uint8List.fromList([...bytes, ...List.filled(32 - bytes.length, 0)]); + +GuessInput _input({ + required List candidates, + required List<(Uint8List, double, double)> anchors, + (double, double)? self, +}) => ( + candidates: candidates, + anchors: anchors, + selfPosition: self, + maxRangeKm: null, +); + +GuessCandidate _node(List<(List, int)> paths) => + (publicKey: _key([0x99]), paths: paths); + +double _km((double, double) a, double lat, double lon) => const Distance().as( + LengthUnit.Kilometer, + LatLng(a.$1, a.$2), + LatLng(lat, lon), +); + +void main() { + test('places a node next to the repeater its path ends on', () { + final result = estimateGuessedLocations( + _input( + candidates: [ + _node([ + ([0xA1, 0xB2], 1), + ]), + ], + anchors: [ + (_key([0xA1]), _phoenix.$1, _phoenix.$2), + (_key([0xB2]), _casaGrande.$1, _casaGrande.$2), + ], + self: _phoenix, + ), + ); + + expect(result, hasLength(1)); + final (index, lat, lon, highConfidence) = result.single; + expect(index, 0); + expect(_km(_casaGrande, lat, lon), lessThan(1)); + expect(highConfidence, isFalse); + }); + + test('resolves a colliding hop prefix to the repeater in range', () { + // Two repeaters share prefix 0xB2: one in Tucson, one in London. + final result = estimateGuessedLocations( + _input( + candidates: [ + _node([ + ([0xA1, 0xB2], 1), + ]), + ], + anchors: [ + (_key([0xA1]), _phoenix.$1, _phoenix.$2), + (_key([0xB2]), _london.$1, _london.$2), + (_key([0xB2, 0x01]), _casaGrande.$1, _casaGrande.$2), + ], + self: _phoenix, + ), + ); + + final (_, lat, lon, _) = result.single; + expect(_km(_casaGrande, lat, lon), lessThan(1)); + }); + + test('skips an ambiguous prefix when there is no reference point', () { + final result = estimateGuessedLocations( + _input( + candidates: [ + _node([ + ([0xB2], 1), + ]), + ], + anchors: [ + (_key([0xB2]), _london.$1, _london.$2), + (_key([0xB2, 0x01]), _casaGrande.$1, _casaGrande.$2), + ], + ), + ); + + expect(result, isEmpty); + }); + + test('weights repeaters by how many paths ended on them', () { + final result = estimateGuessedLocations( + _input( + candidates: [ + _node([ + ([0xB2], 1), + ([0xB2], 1), + ([0xB2], 1), + ([0xC3], 1), + ]), + ], + anchors: [ + (_key([0xB2]), _phoenix.$1, _phoenix.$2), + (_key([0xC3]), _casaGrande.$1, _casaGrande.$2), + ], + ), + ); + + final (_, lat, lon, highConfidence) = result.single; + expect(highConfidence, isTrue); + // Three votes for Phoenix, one for Tucson: a quarter of the way. + expect( + lat, + closeTo(_phoenix.$1 + (_casaGrande.$1 - _phoenix.$1) / 4, 0.01), + ); + expect( + lon, + closeTo(_phoenix.$2 + (_casaGrande.$2 - _phoenix.$2) / 4, 0.01), + ); + }); + + test('result does not depend on path order', () { + List<(int, double, double, bool)> run(List<(List, int)> paths) => + estimateGuessedLocations( + _input( + candidates: [_node(paths)], + anchors: [ + (_key([0xB2]), _phoenix.$1, _phoenix.$2), + (_key([0xC3]), _flagstaff.$1, _flagstaff.$2), + ], + ), + ); + + expect( + run([ + ([0xB2], 1), + ([0xC3], 1), + ]), + run([ + ([0xC3], 1), + ([0xB2], 1), + ]), + ); + }); + + test('drops a repeater too far from the others to share one node', () { + final result = estimateGuessedLocations( + _input( + candidates: [ + _node([ + ([0xB2], 1), + ([0xC3], 1), + ([0xD4], 1), + ]), + ], + anchors: [ + (_key([0xB2]), _phoenix.$1, _phoenix.$2), + (_key([0xC3]), _casaGrande.$1, _casaGrande.$2), + (_key([0xD4]), _london.$1, _london.$2), + ], + ), + ); + + final (_, lat, lon, _) = result.single; + expect(lat, closeTo((_phoenix.$1 + _casaGrande.$1) / 2, 0.01)); + expect(lon, closeTo((_phoenix.$2 + _casaGrande.$2) / 2, 0.01)); + }); + + test('handles 2-byte hop hashes', () { + final result = estimateGuessedLocations( + _input( + candidates: [ + _node([ + ([0xA1, 0x01, 0xB2, 0x02], 2), + ]), + ], + anchors: [ + (_key([0xA1, 0x01]), _phoenix.$1, _phoenix.$2), + (_key([0xB2, 0x02]), _casaGrande.$1, _casaGrande.$2), + (_key([0xB2, 0x03]), _flagstaff.$1, _flagstaff.$2), + ], + self: _phoenix, + ), + ); + + final (_, lat, lon, _) = result.single; + expect(_km(_casaGrande, lat, lon), lessThan(1)); + }); +} diff --git a/test/helpers/utf8_length_limiter_test.dart b/test/helpers/utf8_length_limiter_test.dart new file mode 100644 index 00000000..6aa2a7ef --- /dev/null +++ b/test/helpers/utf8_length_limiter_test.dart @@ -0,0 +1,75 @@ +import 'package:flutter/services.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/helpers/utf8_length_limiter.dart'; + +TextEditingValue _value(String text, [int? cursor]) => TextEditingValue( + text: text, + selection: TextSelection.collapsed(offset: cursor ?? text.length), +); + +void main() { + const formatter = Utf8LengthLimitingTextInputFormatter(5); + + test('accepts edits within the limit', () { + final result = formatter.formatEditUpdate(_value('ab'), _value('abc')); + expect(result.text, 'abc'); + }); + + test('clips only the inserted text and keeps the end of the draft', () { + // Paste "XYZ" at the start of "abc" (limit 5 bytes). + final result = formatter.formatEditUpdate( + _value('abc', 0), + _value('XYZabc', 3), + ); + expect(result.text, 'XYabc'); + expect(result.selection.baseOffset, 2); + }); + + test('rejects an insertion in the middle when full', () { + final result = formatter.formatEditUpdate( + _value('abcde', 2), + _value('abXcde', 3), + ); + expect(result.text, 'abcde'); + expect(result.selection.baseOffset, 2); + }); + + test('does not split a multi-code-point grapheme', () { + // Family emoji is 18 UTF-8 bytes, so it cannot fit in the 4 bytes left. + final result = formatter.formatEditUpdate( + _value('a'), + _value('a\u{1F468}‍\u{1F469}‍\u{1F467}'), + ); + expect(result.text, 'a'); + }); + + test('keeps whole emoji that fit', () { + const limiter = Utf8LengthLimitingTextInputFormatter(9); + final result = limiter.formatEditUpdate( + _value('a'), + _value('a\u{1F600}\u{1F601}'), + ); + expect(result.text, 'a\u{1F600}\u{1F601}'); + final clipped = const Utf8LengthLimitingTextInputFormatter( + 8, + ).formatEditUpdate(_value('a'), _value('a\u{1F600}\u{1F601}')); + expect(clipped.text, 'a\u{1F600}'); + }); + + test('replacing one emoji with another sharing a surrogate stays valid', () { + const limiter = Utf8LengthLimitingTextInputFormatter(5); + final result = limiter.formatEditUpdate( + _value('a\u{1F600}'), + _value('a\u{1F601}\u{1F602}'), + ); + expect(result.text, 'a\u{1F601}'); + }); + + test('allows deletions even when the text is already over the limit', () { + final result = formatter.formatEditUpdate( + _value('abcdefg'), + _value('abcdef'), + ); + expect(result.text, 'abcdef'); + }); +} diff --git a/test/image_chunk_transport_test.dart b/test/image_chunk_transport_test.dart index 31645ec3..d5a2959b 100644 --- a/test/image_chunk_transport_test.dart +++ b/test/image_chunk_transport_test.dart @@ -956,6 +956,55 @@ void main() { }); }); + group('oversized data body', () { + test('a 159-byte data body is rejected and parity cannot overrun', () { + final failed = []; + final r = ImageReassembler(onFailed: failed.add); + // Header: sender 0x1234, img 5, idx 0 of 2; body one byte past the cap. + final oversized = Uint8List.fromList([ + 0x12, + 0x34, + 5, + (0 << 4) | 2, + ...List.filled(kImageChunkBodyBytes + 1, 0xAA), + ]); + expect(oversized.length, kImageChunkBlobBytes); + expect(r.addChunk(oversized).status, ImageChunkStatus.malformed); + expect(r.pendingCount, 0); + + // A parity chunk for the same stream must not throw. + final parity = Uint8List.fromList([ + 0x12, + 0x34, + 5, + (2 << 4) | 2, + ...List.filled(kImageChunkBodyBytes + 1, 0x55), + ]); + expect(() => r.addChunk(parity), returnsNormally); + }); + }); + + group('clear()', () { + test('reports in-progress streams as failed (disconnected)', () { + final failed = []; + final r = ImageReassembler(onFailed: failed.add); + final set = buildImageChunks( + payload: payloadOf(400, seed: 3), + metadata: stdMeta, + senderPrefix: senderA, + imgId: 8, + ); + r.addChunk(set.blobs[0]); + expect(r.pendingCount, 1); + r.clear(); + expect(r.pendingCount, 0); + expect(failed, hasLength(1)); + expect(failed.single.reason, ImageReassemblyFailureReason.disconnected); + expect(failed.single.isCorrupt, isFalse); + expect(r.evictExpired(now: DateTime(2100)), isEmpty); + }); + }); + group('completed-image map is capped', () { /// A lone parity chunk of a `total == 1` image completes that image by /// itself — one packet, one remembered entry. That is the amplification the diff --git a/test/lora_airtime_test.dart b/test/lora_airtime_test.dart index 80aeb4f4..e40d3e1d 100644 --- a/test/lora_airtime_test.dart +++ b/test/lora_airtime_test.dart @@ -5,6 +5,7 @@ import 'package:meshcore_open/services/image_chunk_transport.dart'; import 'package:meshcore_open/widgets/image_send_codec_binding.dart'; import 'package:meshcore_open/models/radio_settings.dart'; import 'package:meshcore_open/utils/lora_airtime.dart'; +import 'package:meshcore_open/connector/meshcore_protocol.dart' as protocol; double _ms(Duration d) => d.inMicroseconds / 1000.0; @@ -22,24 +23,24 @@ RadioSettings _radio({ void main() { group('loraTimeOnAir reference values (255-byte packet)', () { - test('SF9, CR 4/8, BW 250 kHz -> 975 ms', () { + test('SF9, CR 4/8, BW 250 kHz -> 992 ms', () { final toa = loraTimeOnAir( payloadBytes: 255, spreadingFactor: 9, bandwidthHz: 250000, codingRate: 8, ); - expect(_ms(toa), closeTo(975, 1)); + expect(_ms(toa), closeTo(991.744, 1)); }); - test('SF10, CR 4/5, BW 250 kHz -> 1148 ms', () { + test('SF10, CR 4/5, BW 250 kHz -> 1181 ms', () { final toa = loraTimeOnAir( payloadBytes: 255, spreadingFactor: 10, bandwidthHz: 250000, codingRate: 5, ); - expect(_ms(toa), closeTo(1148, 1)); + expect(_ms(toa), closeTo(1180.672, 1)); }); }); @@ -52,8 +53,8 @@ void main() { codingRate: 5, ); // DE = 1 -> denominator 4*(12-2) = 40 -> 51 * 5 = 255 payload symbols - // ToA = (12.25 + 263) * 32.768 ms - expect(_ms(toa), closeTo(9019.392, 1)); + // ToA = (20.25 + 263) * 32.768 ms + expect(_ms(toa), closeTo(9281.536, 1)); }); test('SF12 / BW 500 kHz does NOT engage LDRO (Tsym = 8.192 ms)', () { @@ -64,8 +65,8 @@ void main() { codingRate: 5, ); // DE = 0 -> denominator 48 -> 43 * 5 = 215 payload symbols - // ToA = (12.25 + 223) * 8.192 ms - expect(_ms(toa), closeTo(1927.9296, 1)); + // ToA = (20.25 + 223) * 8.192 ms + expect(_ms(toa), closeTo(1992.704, 1)); }); test('SF11 / BW 250 kHz does NOT engage LDRO (Tsym = 8.192 ms)', () { @@ -77,9 +78,60 @@ void main() { codingRate: 5, ); // DE = 0 -> denominator 44 -> 47 * 5 = 235 payload symbols - // ToA = (12.25 + 243) * 8.192 ms - expect(_ms(withSf11), closeTo(2091.008, 1)); + // ToA = (20.25 + 243) * 8.192 ms + expect(_ms(withSf11), closeTo(2156.544, 1)); }); + + test('calculateLoRaAirtime derives LDRO off for SF11 / BW 250 kHz', () { + // cr is in the 1..4 domain here; 16-symbol preamble at SF11. + expect( + protocol.calculateLoRaAirtime( + payloadBytes: 255, + spreadingFactor: 11, + bandwidthHz: 250000, + codingRate: 1, + ), + 2157, + ); + }); + }); + + group('preamble matches firmware (32 symbols <= SF8, 16 above)', () { + test('meshCorePreambleSymbols', () { + expect(meshCorePreambleSymbols(7), 32); + expect(meshCorePreambleSymbols(8), 32); + expect(meshCorePreambleSymbols(9), 16); + expect(meshCorePreambleSymbols(12), 16); + }); + + for (final sf in [7, 8, 9, 12]) { + test('SF$sf default preamble equals explicit firmware length', () { + final preamble = sf <= 8 ? 32 : 16; + Duration toa({int? preambleSymbols}) => loraTimeOnAir( + payloadBytes: 100, + spreadingFactor: sf, + bandwidthHz: 125000, + codingRate: 5, + preambleSymbols: preambleSymbols, + ); + expect(toa(), toa(preambleSymbols: preamble)); + expect( + protocol.calculateLoRaAirtime( + payloadBytes: 100, + spreadingFactor: sf, + bandwidthHz: 125000, + codingRate: 1, + ), + protocol.calculateLoRaAirtime( + payloadBytes: 100, + spreadingFactor: sf, + bandwidthHz: 125000, + codingRate: 1, + preambleSymbols: preamble, + ), + ); + }); + } }); group('airtime monotonicity / sanity', () { @@ -136,7 +188,7 @@ void main() { codingRate: normalizeCodingRate(8), ); expect(a, b); - expect(_ms(a), closeTo(975, 1)); + expect(_ms(a), closeTo(991.744, 1)); }); }); diff --git a/test/models/channel_message_reply_test.dart b/test/models/channel_message_reply_test.dart new file mode 100644 index 00000000..1f350aa0 --- /dev/null +++ b/test/models/channel_message_reply_test.dart @@ -0,0 +1,29 @@ +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/models/channel_message.dart'; + +void main() { + test('outgoing reply keeps the selected target, not the latest post', () { + final older = ChannelMessage.outgoing('first post', 'Alice', 0); + ChannelMessage.outgoing('second post', 'Alice', 0); + + final reply = ChannelMessage.outgoing( + '@[Alice] answer', + 'Me', + 0, + replyTo: older, + ); + + expect(reply.replyToMessageId, older.messageId); + expect(reply.replyToSenderName, 'Alice'); + expect(reply.replyToText, 'first post'); + expect( + ChannelMessage.parseReplyMention(reply.text)?.actualMessage, + 'answer', + ); + }); + + test('outgoing message without reply has no reply target', () { + final message = ChannelMessage.outgoing('hello', 'Me', 0); + expect(message.replyToMessageId, isNull); + }); +} diff --git a/test/models/contact_path_width_test.dart b/test/models/contact_path_width_test.dart new file mode 100644 index 00000000..a8b3004c --- /dev/null +++ b/test/models/contact_path_width_test.dart @@ -0,0 +1,203 @@ +import 'dart:convert'; +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/connector/meshcore_protocol.dart'; +import 'package:meshcore_open/helpers/path_helper.dart'; +import 'package:meshcore_open/models/channel_message.dart'; +import 'package:meshcore_open/models/contact.dart'; +import 'package:meshcore_open/storage/contact_discovery_store.dart'; +import 'package:meshcore_open/storage/contact_store.dart'; +import 'package:meshcore_open/storage/prefs_manager.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +Uint8List _contactFrame(int pathLen, List path) { + final writer = BytesBuilder(); + writer.addByte(respCodeContact); + writer.add(List.generate(32, (i) => i + 1)); + writer.addByte(advTypeRepeater); + writer.addByte(0); + writer.addByte(pathLen); + writer.add(Uint8List(64)..setRange(0, path.length, path)); + writer.add(Uint8List(32)..setRange(0, 4, 'Node'.codeUnits)); + writer.add([0x01, 0x00, 0x00, 0x00]); + writer.add(Uint8List(12)); + return writer.toBytes(); +} + +Contact _contact({required int pathHashWidth}) => Contact( + publicKey: Uint8List.fromList(List.generate(32, (i) => i + 1)), + name: 'Node', + type: advTypeRepeater, + pathLength: 2, + path: Uint8List.fromList([0xA1, 0xA2, 0xB1, 0xB2]), + pathHashWidth: pathHashWidth, + lastSeen: DateTime.fromMillisecondsSinceEpoch(1000), +); + +void main() { + TestWidgetsFlutterBinding.ensureInitialized(); + + setUp(() async { + SharedPreferences.setMockInitialValues({}); + PrefsManager.reset(); + await PrefsManager.initialize(); + }); + + group('Contact.fromFrame keeps the path hash width', () { + test('2-byte hops', () { + final contact = Contact.fromFrame( + _contactFrame((1 << 6) | 2, [0xA1, 0xA2, 0xB1, 0xB2]), + )!; + expect(contact.pathLength, 2); + expect(contact.pathHashWidth, 2); + expect(contact.path, [0xA1, 0xA2, 0xB1, 0xB2]); + expect(PathHelper.splitPathBytes(contact.path, contact.pathHashWidth), [ + [0xA1, 0xA2], + [0xB1, 0xB2], + ]); + }); + + test('3-byte hops', () { + final contact = Contact.fromFrame( + _contactFrame((2 << 6) | 1, [0xA1, 0xA2, 0xA3]), + )!; + expect(contact.pathLength, 1); + expect(contact.pathHashWidth, 3); + expect(contact.path, [0xA1, 0xA2, 0xA3]); + }); + + test('flood defaults to width 1', () { + final contact = Contact.fromFrame(_contactFrame(0xFF, const []))!; + expect(contact.pathLength, -1); + expect(contact.pathHashWidth, 1); + }); + + test('copyWith preserves width', () { + final contact = _contact(pathHashWidth: 2).copyWith(name: 'Renamed'); + expect(contact.pathHashWidth, 2); + }); + }); + + group('Contact.inferPathHashWidth', () { + test('divides bytes by hops', () { + expect(Contact.inferPathHashWidth(2, 4), 2); + expect(Contact.inferPathHashWidth(1, 3), 3); + }); + + test('falls back to 1', () { + expect(Contact.inferPathHashWidth(0, 0), 1); + expect(Contact.inferPathHashWidth(-1, 0), 1); + expect(Contact.inferPathHashWidth(2, 3), 1); + expect(Contact.inferPathHashWidth(1, 4), 1); + }); + }); + + group('Contact stores persist the path hash width', () { + test('ContactStore round-trip', () async { + final store = ContactStore()..publicKeyHex = '1234567890'; + await store.saveContacts([_contact(pathHashWidth: 2)]); + final loaded = await store.loadContacts(); + expect(loaded.single.pathHashWidth, 2); + expect(loaded.single.path, [0xA1, 0xA2, 0xB1, 0xB2]); + }); + + test('ContactDiscoveryStore round-trip', () async { + final store = ContactDiscoveryStore()..setPublicKeyHex = 'AABBCCDDEEFF00'; + await store.saveContacts([_contact(pathHashWidth: 2)]); + final loaded = await store.loadContacts(); + expect(loaded.single.pathHashWidth, 2); + }); + + test('legacy data without width is inferred from hops', () async { + final store = ContactStore()..publicKeyHex = '1234567890'; + final json = { + 'publicKey': base64Encode(List.generate(32, (i) => i + 1)), + 'name': 'Legacy', + 'type': advTypeRepeater, + 'pathLength': 2, + 'path': base64Encode([0xA1, 0xA2, 0xB1, 0xB2]), + 'lastSeen': 1000, + }; + await PrefsManager.instance.setString(store.keyFor, jsonEncode([json])); + final loaded = await store.loadContacts(); + expect(loaded.single.pathHashWidth, 2); + }); + + test('legacy flood data without width falls back to 1', () async { + final store = ContactStore()..publicKeyHex = '1234567890'; + final json = { + 'publicKey': base64Encode(List.generate(32, (i) => i + 1)), + 'name': 'Legacy', + 'type': advTypeRepeater, + 'pathLength': -1, + 'path': base64Encode(const []), + 'lastSeen': 1000, + }; + await PrefsManager.instance.setString(store.keyFor, jsonEncode([json])); + final loaded = await store.loadContacts(); + expect(loaded.single.pathHashWidth, 1); + }); + + test('legacy mode-encoded pathLength yields its width', () async { + final store = ContactStore()..publicKeyHex = '1234567890'; + final json = { + 'publicKey': base64Encode(List.generate(32, (i) => i + 1)), + 'name': 'Legacy', + 'type': advTypeRepeater, + 'pathLength': (2 << 6) | 1, + 'path': base64Encode([0xA1, 0xA2, 0xA3]), + 'lastSeen': 1000, + }; + await PrefsManager.instance.setString(store.keyFor, jsonEncode([json])); + final loaded = await store.loadContacts(); + expect(loaded.single.pathLength, 1); + expect(loaded.single.pathHashWidth, 3); + }); + }); + + group('ChannelMessage.fromFrame path_len 0xFF (direct)', () { + Uint8List frame({required bool v3}) { + final writer = BytesBuilder(); + if (v3) { + writer.add([respCodeChannelMsgRecvV3, 0x10, 0x01, 0x00]); + } else { + writer.addByte(respCodeChannelMsgRecv); + } + writer.addByte(3); // channel index + writer.addByte(0xFF); + writer.addByte(txtTypePlain); + writer.add([0x01, 0x00, 0x00, 0x00]); + writer.add(utf8.encode('Alice: hi')); + writer.addByte(0); + return writer.toBytes(); + } + + test('V3 does not read 63 x 4-byte hops', () { + final message = ChannelMessage.fromFrame(frame(v3: true))!; + expect(message.text, 'hi'); + expect(message.senderName, 'Alice'); + expect(message.pathLength, isNull); + expect(message.pathBytes, isEmpty); + expect(message.pathHashWidth, isNull); + expect(message.channelIndex, 3); + }); + + test('non-V3 reads path_len unsigned', () { + final message = ChannelMessage.fromFrame(frame(v3: false))!; + expect(message.text, 'hi'); + expect(message.pathLength, isNull); + }); + }); + + test('PathHelper treats width 4 as invalid and clamps to 3', () { + expect(PathHelper.splitPathBytes([1, 2, 3, 4], 4), [ + [1, 2, 3], + [4], + ]); + }); + + test('buildSetPathHashModeFrame rejects reserved mode 3', () { + expect(buildSetPathHashModeFrame(3), [cmdSetPathHashMode, 0, 2]); + }); +} diff --git a/test/models/model_changes_test.dart b/test/models/model_changes_test.dart index c91a9c73..fa834a4f 100644 --- a/test/models/model_changes_test.dart +++ b/test/models/model_changes_test.dart @@ -616,7 +616,8 @@ void main() { test( 'ContactDiscoveryStore decodes and migrates legacy mode-encoded paths', () async { - final store = ContactDiscoveryStore(); + final store = ContactDiscoveryStore() + ..setPublicKeyHex = 'AABBCCDDEEFF00112233'; final rawPath = Uint8List(64) ..[0] = 0x11 @@ -641,6 +642,8 @@ void main() { expect(contacts, hasLength(1)); expect(contacts.first.pathLength, equals(1)); expect(contacts.first.path, equals(Uint8List.fromList([0x11, 0x22]))); + expect(prefs.getString('discovered_contacts'), isNull); + expect(prefs.getString(store.keyFor), isNotNull); }, ); }); diff --git a/test/models/remote_node_stats_test.dart b/test/models/remote_node_stats_test.dart new file mode 100644 index 00000000..92546472 --- /dev/null +++ b/test/models/remote_node_stats_test.dart @@ -0,0 +1,66 @@ +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/models/remote_node_stats.dart'; + +Uint8List _frame(int statsSize, void Function(ByteData stats) fill) { + final frame = Uint8List(RemoteNodeStats.payloadOffset + statsSize); + fill(ByteData.sublistView(frame, RemoteNodeStats.payloadOffset)); + return frame; +} + +void _fillCommon(ByteData d) { + d.setUint16(0, 4100, Endian.little); + d.setInt16(4, -110, Endian.little); + d.setUint32(16, 300, Endian.little); + d.setUint32(20, 3600, Endian.little); + d.setInt16(42, -22, Endian.little); + d.setUint16(46, 9, Endian.little); +} + +void main() { + test('decodes repeater stats with rx airtime and recv errors', () { + final frame = _frame(56, (d) { + _fillCommon(d); + d.setUint32(48, 120, Endian.little); + d.setUint32(52, 7, Endian.little); + }); + final stats = RemoteNodeStats.tryParse(frame, isRoom: false)!; + expect(stats.batteryMv, 4100); + expect(stats.noiseFloor, -110); + expect(stats.txAirSecs, 300); + expect(stats.uptimeSecs, 3600); + expect(stats.lastSnr, -5.5); + expect(stats.floodDups, 9); + expect(stats.rxAirSecs, 120); + expect(stats.recvErrors, 7); + expect(stats.posted, isNull); + }); + + test('older repeater frame without recv errors', () { + final frame = _frame(52, (d) { + _fillCommon(d); + d.setUint32(48, 120, Endian.little); + }); + final stats = RemoteNodeStats.tryParse(frame, isRoom: false)!; + expect(stats.rxAirSecs, 120); + expect(stats.recvErrors, isNull); + }); + + test('decodes room server posted / pushed counters', () { + final frame = _frame(52, (d) { + _fillCommon(d); + d.setUint16(48, 42, Endian.little); + d.setUint16(50, 17, Endian.little); + }); + final stats = RemoteNodeStats.tryParse(frame, isRoom: true)!; + expect(stats.posted, 42); + expect(stats.postPushes, 17); + expect(stats.rxAirSecs, isNull); + expect(stats.recvErrors, isNull); + }); + + test('rejects frames shorter than the common layout', () { + expect(RemoteNodeStats.tryParse(Uint8List(50), isRoom: false), isNull); + }); +} diff --git a/test/reaction_helper_test.dart b/test/reaction_helper_test.dart index 2f4502e5..d3a952d8 100644 --- a/test/reaction_helper_test.dart +++ b/test/reaction_helper_test.dart @@ -1,3 +1,4 @@ +import 'package:characters/characters.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:meshcore_open/helpers/reaction_helper.dart'; import 'package:meshcore_open/widgets/emoji_picker.dart'; @@ -340,6 +341,162 @@ void main() { }); }); + group('MeshCoreOne Reactions', () { + test('emoji validation sanity checks', () { + // This is more a test of expectations than of app code, but it was + // a good place to get this sorted out cleanly, and I leave it for + // anyone interested in understanding the emoji validation and tests. + expect('🥳'.length, equals(2)); + expect('\u{1f44c}\u{1f3ff}'.length, equals(4)); + final oneChar = RegExp(r'^(.)$'); + final twoChar = RegExp(r'^(..)$'); + expect(oneChar.firstMatch('🥳'), isNull); + expect(oneChar.firstMatch('\u{1F642}'), isNull); + expect(oneChar.firstMatch('\u{1f44c}\u{1f3ff}'), isNull); + expect(twoChar.firstMatch('\u{1f44c}\u{1f3ff}'), isNull); + + final regex = RegExp(r'^(.{1,4})$'); + expect(regex.firstMatch('🥳'), isNotNull); + expect(regex.firstMatch('😀'), isNotNull); + expect(regex.firstMatch('\u{1F642}'), isNotNull); + expect(regex.firstMatch('\u{1f44c}\u{1f3ff}'), isNotNull); + + expect(Characters('🥳').length, equals(1)); + expect(Characters('\u{1F642}').length, equals(1)); + expect(Characters('\u{1F642}').length, equals(1)); + expect(Characters('\u{1f44c}\u{1f3ff}').length, equals(1)); + expect(Characters('🧑‍🧑‍🧒‍🧒').length, equals(1)); + }); + + test('parse MeshCoreOne reaction', () { + final emoji = '🥳'; + final senderName = 'entropy 📓'; + final hash = 'b3je6qf7'; + final info = ReactionHelper.parseReactionMC1( + '@[$senderName]$emoji\n$hash', + ); + expect(info, isNotNull); + expect(info!.targetHash, equals('$hash:$senderName')); + expect(info.emoji, equals(emoji)); + + List messages = [ + '🥳\n01234567', + '@[entropy]🥳\n01234567', + '\u{1f44c}\u{1f3ff}\n01234567', + '@[entropy]\u{1f44c}\u{1f3ff}\n01234567', + '@[entropy]🧑‍🧑‍🧒\n01234567', // long composite emoji - 21 bytes + '🧑‍🧑‍🧒‍🧒\n01234567', // long composite emoji - 25 bytes + ]; + for (String txt in messages) { + final info = ReactionHelper.parseReactionMC1(txt); + expect(info, isNotNull, reason: "$txt did not parse"); + } + }); + + test('parse MeshCoreOne reaction - avoid false positives', () { + List messages = [ + 'test\nabcdefgh', + '🥳\nhashistoolong', + '🥳\nshort', + '🥳🥳\n01234567', // two emojis not composed into one grapheme + 'X\n01234567', + '🥳\nabcuuxyz', // u is not valid as we don't support checksums + ]; + for (String txt in messages) { + final info = ReactionHelper.parseReactionMC1(txt); + expect(info, isNull, reason: "$txt should not have parsed"); + } + }); + + test('parse MeshCoreOne reaction - Legacy format', () { + final emoji = '🥳'; + final senderName = 'entropy 📓'; + final hash = 'b3je6qf7'; + final info = ReactionHelper.parseReactionMC1Legacy( + '$emoji@[$senderName]\n$hash', + ); + expect(info, isNotNull); + expect(info!.targetHash, equals('$hash:$senderName')); + expect(info.emoji, equals(emoji)); + + List messages = [ + '🥳\n01234567', + '🥳@[entropy]\n01234567', + '\u{1f44c}\u{1f3ff}\n01234567', + '\u{1f44c}\u{1f3ff}@[entropy]\n01234567', + '🧑‍🧑‍🧒@[entropy]\n01234567', // long composite emoji - 21 bytes + '🧑‍🧑‍🧒‍🧒\n01234567', // long composite emoji - 25 bytes + ]; + for (String txt in messages) { + final info = ReactionHelper.parseReactionMC1Legacy(txt); + expect(info, isNotNull, reason: "$txt did not parse"); + } + }); + + test( + 'parse MeshCoreOne reaction - Legacy format - avoid false positives', + () { + List messages = [ + 'test\nabcdefgh', + '🥳\nhashistoolong', + '🥳\nshort', + '🥳🥳\n01234567', // two emojis not composed into one grapheme + 'X\n01234567', + '🥳\nabcuuxyz', // u is not valid as we don't support checksums + ]; + for (String txt in messages) { + final info = ReactionHelper.parseReactionMC1Legacy(txt); + expect(info, isNull, reason: "$txt should not have parsed"); + } + }, + ); + + test('parse MeshCoreOne reaction - main entry', () { + final emoji = '🥳'; + final senderName = 'entropy 📓'; + final hash = 'b3je6qf7'; + final info = ReactionHelper.parseReaction( + '@[$senderName]$emoji\n$hash', + ); + expect(info, isNotNull); + expect(info!.targetHash, equals('$hash:$senderName')); + expect(info.emoji, equals(emoji)); + }); + + test('parse MeshCoreOne reaction Legacy format - main entry', () { + final emoji = '🥳'; + final senderName = 'entropy 📓'; + final hash = 'b3je6qf7'; + final info = ReactionHelper.parseReaction( + '$emoji@[$senderName]\n$hash', + ); + expect(info, isNotNull); + expect(info!.targetHash, equals('$hash:$senderName')); + expect(info.emoji, equals(emoji)); + }); + + test('parse MeshCoreOne reaction for DM chats', () { + final emoji = '🥳'; + final hash = 'b3je6qf7'; + final info = ReactionHelper.parseReaction('$emoji\n$hash'); + expect(info, isNotNull); + expect(info!.targetHash, equals('$hash:')); + expect(info.emoji, equals(emoji)); + }); + + test('computeq MeshCoreOne reaction hash', () { + const timestamp = 1234567890; + const senderName = 'Alice'; + const messageText = 'Hello world!'; + final hash = ReactionHelper.computeReactionHashMC1( + timestamp, + senderName, + messageText, + ); + expect(hash, equals('tyvbkb33')); + }); + }); + group('full reaction flow', () { test('should encode and decode reaction correctly', () { // Simulate sending a reaction diff --git a/test/screens/map_marker_parse_test.dart b/test/screens/map_marker_parse_test.dart new file mode 100644 index 00000000..53b846c2 --- /dev/null +++ b/test/screens/map_marker_parse_test.dart @@ -0,0 +1,19 @@ +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/screens/map_screen.dart'; + +void main() { + test('parseMarkerText accepts in-range coordinates', () { + final payload = parseMarkerText('m:45.5,-122.6|Camp|x'); + expect(payload, isNotNull); + expect(payload!.position.latitude, 45.5); + expect(payload.position.longitude, -122.6); + expect(payload.label, 'Camp'); + }); + + test('parseMarkerText rejects out-of-range coordinates', () { + expect(parseMarkerText('m:999,999|x|'), isNull); + expect(parseMarkerText('m:90.1,0|x|'), isNull); + expect(parseMarkerText('m:0,-180.5|x|'), isNull); + expect(parseMarkerText('m:-90,180|edge|'), isNotNull); + }); +} diff --git a/test/services/map_tile_cache_key_test.dart b/test/services/map_tile_cache_key_test.dart new file mode 100644 index 00000000..e734869b --- /dev/null +++ b/test/services/map_tile_cache_key_test.dart @@ -0,0 +1,23 @@ +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/services/map_tile_cache_service.dart'; + +void main() { + test('tile cache key drops api_key and keeps everything else', () { + expect( + MapTileCacheService.tileCacheKey( + 'https://tiles.stadiamaps.com/tiles/outdoors/10/1/2@2x.png?api_key=k1', + ), + 'https://tiles.stadiamaps.com/tiles/outdoors/10/1/2@2x.png', + ); + expect( + MapTileCacheService.tileCacheKey('https://x/t/1/2/3.png?a=1&api_key=k2'), + 'https://x/t/1/2/3.png?a=1', + ); + expect( + MapTileCacheService.tileCacheKey( + 'https://tile.openstreetmap.org/1/2/3.png', + ), + 'https://tile.openstreetmap.org/1/2/3.png', + ); + }); +} diff --git a/test/services/message_retry_failure_test.dart b/test/services/message_retry_failure_test.dart new file mode 100644 index 00000000..b0c9e0d3 --- /dev/null +++ b/test/services/message_retry_failure_test.dart @@ -0,0 +1,85 @@ +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/models/contact.dart'; +import 'package:meshcore_open/models/message.dart'; +import 'package:meshcore_open/services/message_retry_service.dart'; + +Contact _contact() => Contact( + publicKey: Uint8List.fromList(List.generate(32, (i) => 0xAA + i)), + name: 'Test', + type: 1, + pathLength: -1, + path: Uint8List(0), + lastSeen: DateTime.now(), +); + +void main() { + late MessageRetryService service; + late Map latest; + late List sentTexts; + late bool failSends; + Uint8List? selfKey; + + setUp(() { + service = MessageRetryService(); + latest = {}; + sentTexts = []; + failSends = false; + selfKey = Uint8List(32); + service.initialize( + RetryServiceConfig( + sendMessage: (_, text, _, _) async { + if (failSends) throw StateError('Not connected'); + sentTexts.add(text); + }, + addMessage: (_, m) => latest[m.messageId] = m, + updateMessage: (m) => latest[m.messageId] = m, + getSelfPublicKey: () => selfKey, + ), + ); + }); + + tearDown(() => service.dispose()); + + Message byText(String text) => + latest.values.firstWhere((m) => m.text == text); + + test('failed send fails the message and frees the contact slot', () async { + failSends = true; + final contact = _contact(); + await service.sendMessageWithRetry(contact: contact, text: 'a'); + await pumpEventQueue(); + expect(byText('a').status, MessageStatus.failed); + + failSends = false; + await service.sendMessageWithRetry(contact: contact, text: 'b'); + await pumpEventQueue(); + expect(sentTexts, ['b']); + }); + + test('unknown self key fails instead of waiting forever', () async { + selfKey = null; + await service.sendMessageWithRetry(contact: _contact(), text: 'a'); + await pumpEventQueue(); + expect(byText('a').status, MessageStatus.failed); + expect(sentTexts, isEmpty); + expect(service.hasPendingMessages, isFalse); + }); + + test('failAllPending fails in-flight and queued messages', () async { + final contact = _contact(); + await service.sendMessageWithRetry(contact: contact, text: 'a'); + await service.sendMessageWithRetry(contact: contact, text: 'b'); + await pumpEventQueue(); + expect(sentTexts, ['a']); + + service.failAllPending(); + await pumpEventQueue(); + + expect(byText('a').status, MessageStatus.failed); + expect(byText('b').status, MessageStatus.failed); + expect(service.hasPendingMessages, isFalse); + expect(sentTexts, ['a']); + }); +} diff --git a/test/services/path_history_service_test.dart b/test/services/path_history_service_test.dart index 3ea6acf1..a5403b5f 100644 --- a/test/services/path_history_service_test.dart +++ b/test/services/path_history_service_test.dart @@ -823,4 +823,70 @@ void main() { expect(paths.first.routeWeight, closeTo(1.5, 0.001)); }); }); + + group('learned state is preserved', () { + const sel = PathSelection(pathBytes: [0x01], hopCount: 1, useFlood: false); + + test('recordPathAttempt keeps the learned route weight', () async { + final pubKey = _hex('k001'); + await _seed(svc, pubKey, pathBytes: [0x01], weight: 1.0); + svc.recordPathResult(pubKey, sel, success: true, successIncrement: 1.0); + await _flush(); + + svc.recordPathAttempt(pubKey, sel); + await _flush(); + + expect(svc.getRecentPaths(pubKey).first.routeWeight, closeTo(2.0, 1e-9)); + }); + + test('handlePathUpdated keeps the learned route weight', () async { + final pubKey = _hex('k002'); + await _seed(svc, pubKey, pathBytes: [0x01], weight: 3.0); + + svc.handlePathUpdated( + _makeContact(publicKeyHex: pubKey, pathLength: 1, path: [0x01]), + ); + await _flush(); + + expect(svc.getRecentPaths(pubKey).first.routeWeight, closeTo(3.0, 1e-9)); + }); + + test('recordPathResult after eviction merges with stored counts', () async { + final pubKey = _hex('k003'); + await _seed(svc, pubKey, pathBytes: [0x01], weight: 1.0); + for (var i = 0; i < 3; i++) { + svc.recordPathResult(pubKey, sel, success: true, successIncrement: 0.5); + } + await _flush(); + + final fresh = PathHistoryService(storage); + fresh.recordPathResult(pubKey, sel, success: true, successIncrement: 0.5); + await _flush(); + + final record = fresh.getRecentPaths(pubKey).first; + expect(record.successCount, equals(4)); + expect(record.routeWeight, closeTo(3.0, 1e-9)); + }); + + test('getRecentPaths load does not drop a concurrent add', () async { + final pubKey = _hex('k004'); + await _seed(svc, pubKey, pathBytes: [0x01], weight: 1.0); + + final fresh = PathHistoryService(storage); + fresh.getRecentPaths(pubKey); + fresh.handlePathUpdated( + _makeContact(publicKeyHex: pubKey, pathLength: 1, path: [0x02]), + ); + await _flush(); + + final paths = fresh.getRecentPaths(pubKey).map((p) => p.pathBytes); + expect( + paths, + containsAll([ + [0x01], + [0x02], + ]), + ); + }); + }); } diff --git a/test/services/received_image_store_test.dart b/test/services/received_image_store_test.dart index 20a7e96a..feaa9982 100644 --- a/test/services/received_image_store_test.dart +++ b/test/services/received_image_store_test.dart @@ -990,6 +990,16 @@ void main() { FileReceivedImageBlobStore newStore() => FileReceivedImageBlobStore(baseDirectory: () async => tempDir); + test('concurrent sidecar writes for one id land the last one', () async { + final blobs = newStore(); + await Future.wait([ + for (var i = 0; i < 20; i++) + blobs.writeSidecar('1a2b0700693f21', '{"n":$i}'), + ]); + final sidecars = await blobs.readSidecars(); + expect(sidecars['1a2b0700693f21'], '{"n":19}'); + }); + test('round-trips bytes and sidecars through real files', () async { final blobs = newStore(); await blobs.writeBitstream('1a2b0700693f21', _payload(155)); @@ -1170,6 +1180,109 @@ void main() { expect(listenable.value!.state, ReceivedImageState.decoded); }, ); + + group('review fixes 2026-09-24', () { + Future startTwoChunk(_Rig h, int imgId) async { + final set = buildImageChunks( + payload: _payload(kImageChunkFirstCapacity + 20, imgId), + metadata: const ImageStreamMetadata(rate: ImageCodecRatePoint.standard), + senderPrefix: kSender, + imgId: imgId, + ); + final entry = await h.store.handleOutcome( + h.reassembler.addChunk(set.blobs[0], channelIndex: 3, now: h.clock()), + channelIndex: 3, + at: h.clock(), + ); + return entry!; + } + + Future failIt(_Rig h, ReceivedImageEntry entry) async { + await h.store.handleFailure( + ImageReassemblyFailure( + key: entry.key, + total: 2, + receivedDataChunks: 1, + hadParity: false, + firstSeen: entry.firstSeen, + expiredAt: h.clock(), + ), + ); + } + + test('a reused img_id does not overwrite a decoded image', () async { + final h = _build(); + final first = await _completeOne(h, imgId: 11, seed: 1); + await h.store.settle(); + expect( + h.store.entryFor(first.streamId)!.state, + ReceivedImageState.decoded, + ); + + h.advance(const Duration(minutes: 1)); + final second = await startTwoChunk(h, 11); + expect(second.streamId, isNot(first.streamId)); + expect(second.state, ReceivedImageState.receiving); + expect( + h.store.entryFor(first.streamId)!.state, + ReceivedImageState.decoded, + ); + + h.advance(const Duration(minutes: 10)); + h.reassembler.clear(); + final third = await _completeOne(h, imgId: 11, seed: 9); + expect(third.streamId, isNot(first.streamId)); + expect( + h.store.entryFor(first.streamId)!.state, + ReceivedImageState.decoded, + ); + }); + + test('failed entries are capped by count, oldest first', () async { + final h = _build(maxImages: 2); + final ids = []; + for (var i = 0; i < 4; i++) { + final entry = await startTwoChunk(h, 70 + i); + await failIt(h, entry); + ids.add(entry.streamId); + h.advance(const Duration(seconds: 5)); + } + expect(h.store.entries.length, 2); + expect(h.store.entryFor(ids[0]), isNull); + expect(h.blobs.hasSidecar(ids[0]), isFalse); + expect( + h.store.entryFor(ids[3])!.state, + ReceivedImageState.failedIncomplete, + ); + }); + + test('failed entries past maxAge are deleted outright', () async { + final h = _build(maxAge: const Duration(days: 1)); + final entry = await startTwoChunk(h, 80); + await failIt(h, entry); + h.advance(const Duration(days: 2)); + await h.store.evictToBudget(); + expect(h.store.entryFor(entry.streamId), isNull); + expect(h.blobs.hasSidecar(entry.streamId), isFalse); + }); + + test('foreground memory pressure mid-decode parks, not corrupt', () async { + final decoder = _FakeDecoder(mode: 'fail') + ..delay = const Duration(milliseconds: 50); + final h = _build(decoder: decoder); + final entry = await _completeOne(h); + await Future.delayed(const Duration(milliseconds: 10)); + expect( + h.store.entryFor(entry.streamId)!.state, + ReceivedImageState.decoding, + ); + await h.store.handleMemoryPressure(); + await h.store.settle(); + final after = h.store.entryFor(entry.streamId)!; + expect(after.state, ReceivedImageState.reassembled); + expect(after.needsManualDecode, isTrue); + }); + }); } /// Delivers a whole single-chunk image and returns its entry (state diff --git a/test/services/repeater_command_service_test.dart b/test/services/repeater_command_service_test.dart new file mode 100644 index 00000000..ee7ee06a --- /dev/null +++ b/test/services/repeater_command_service_test.dart @@ -0,0 +1,121 @@ +import 'dart:async'; +import 'dart:typed_data'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/connector/meshcore_connector.dart'; +import 'package:meshcore_open/models/contact.dart'; +import 'package:meshcore_open/models/path_selection.dart'; +import 'package:meshcore_open/services/repeater_command_service.dart'; + +class _FakeConnector extends MeshCoreConnector { + @override + Future preparePathForContactSend(Contact contact) async => + const PathSelection(pathBytes: [], hopCount: -1, useFlood: true); + + @override + Future sendFrame( + Uint8List data, { + String? channelSendQueueId, + bool expectsGenericAck = false, + bool waitForGenericAck = false, + }) async {} +} + +Contact _repeater(int seed) => Contact( + publicKey: Uint8List.fromList(List.generate(32, (i) => seed + i)), + name: 'R$seed', + type: 2, + pathLength: -1, + path: Uint8List(0), + lastSeen: DateTime.now(), +); + +void main() { + group('normalizeRepeaterClockSyncCommand', () { + test('translates "clock sync" to explicit time command', () { + final result = normalizeRepeaterClockSyncCommand( + 'clock sync', + nowSeconds: 1787900000, + ); + expect(result, 'time 1787900000'); + }); + + test('is case-insensitive and tolerates surrounding whitespace', () { + expect( + normalizeRepeaterClockSyncCommand(' Clock Sync ', nowSeconds: 1), + 'time 1', + ); + }); + + test('passes other commands through unchanged', () { + expect( + normalizeRepeaterClockSyncCommand('clock', nowSeconds: 1), + 'clock', + ); + expect( + normalizeRepeaterClockSyncCommand('get radio', nowSeconds: 1), + 'get radio', + ); + expect( + normalizeRepeaterClockSyncCommand('time 123', nowSeconds: 1), + 'time 123', + ); + }); + + test('uses current time when nowSeconds is omitted', () { + final before = DateTime.now().millisecondsSinceEpoch ~/ 1000; + final result = normalizeRepeaterClockSyncCommand('clock sync'); + final after = DateTime.now().millisecondsSinceEpoch ~/ 1000; + + expect(result, startsWith('time ')); + final epoch = int.parse(result.substring('time '.length)); + expect(epoch, inInclusiveRange(before, after)); + }); + }); + + group('RepeaterCommandService.handleResponse', () { + late RepeaterCommandService service; + + setUp(() => service = RepeaterCommandService(_FakeConnector())); + tearDown(() => service.dispose()); + + test('unknown prefix does not complete the pending command', () async { + final repeater = _repeater(1); + String? result; + unawaited( + service + .sendCommand(repeater, 'ver', retries: 1) + .then((r) => result = r, onError: (_) {}), + ); + await pumpEventQueue(); + + service.handleResponse(repeater, 'FE|late reply'); + await pumpEventQueue(); + expect(result, isNull); + + service.handleResponse(repeater, '00|v1.0'); + await pumpEventQueue(); + expect(result, 'v1.0'); + }); + + test('prefix owned by another repeater is ignored', () async { + final a = _repeater(1); + final b = _repeater(100); + String? result; + unawaited( + service + .sendCommand(a, 'ver', retries: 1) + .then((r) => result = r, onError: (_) {}), + ); + await pumpEventQueue(); + + service.handleResponse(b, '00|wrong'); + await pumpEventQueue(); + expect(result, isNull); + + service.handleResponse(a, 'unprefixed'); + await pumpEventQueue(); + expect(result, 'unprefixed'); + }); + }); +} diff --git a/test/storage/store_tolerant_parsing_test.dart b/test/storage/store_tolerant_parsing_test.dart new file mode 100644 index 00000000..d74d00d6 --- /dev/null +++ b/test/storage/store_tolerant_parsing_test.dart @@ -0,0 +1,93 @@ +import 'dart:convert'; + +import 'package:flutter_test/flutter_test.dart'; +import 'package:meshcore_open/models/community.dart'; +import 'package:meshcore_open/services/storage_service.dart'; +import 'package:meshcore_open/storage/channel_message_store.dart'; +import 'package:meshcore_open/storage/community_store.dart'; +import 'package:meshcore_open/storage/message_store.dart'; +import 'package:meshcore_open/storage/prefs_manager.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +const _device = 'abcdef012345'; + +Future _init(Map values) async { + SharedPreferences.setMockInitialValues(values); + PrefsManager.reset(); + await PrefsManager.initialize(); +} + +void main() { + test( + 'message store skips a malformed record instead of dropping all', + () async { + final good = { + 'senderKey': base64Encode([1, 2, 3]), + 'text': 'hello', + 'timestamp': 1000, + 'status': 1, + }; + await _init({ + 'messages_${_device.substring(0, 10)}c1': jsonEncode([ + good, + {'text': 'no timestamp'}, + ]), + }); + final store = MessageStore()..setPublicKeyHex = _device; + final messages = await store.loadMessages('c1'); + expect(messages.map((m) => m.text), ['hello']); + expect(messages.single.isOutgoing, isFalse); + }, + ); + + test('channel message store skips a malformed record', () async { + await _init({ + 'channel_messages_${_device.substring(0, 10)}0': jsonEncode([ + {'text': 'hi', 'timestamp': 1000, 'status': 1}, + 'garbage', + ]), + }); + final store = ChannelMessageStore()..setPublicKeyHex = _device; + final messages = await store.loadChannelMessages(0); + expect(messages.map((m) => m.text), ['hi']); + }); + + test('community store keeps valid communities next to a bad one', () async { + final community = Community.create(id: 'c1', name: 'Ops'); + await _init({ + 'communities_v1${_device.substring(0, 10)}': jsonEncode([ + community.toJson(), + {'id': 'broken'}, + ]), + }); + final store = CommunityStore()..setPublicKeyHex = _device; + final communities = await store.loadCommunities(); + expect(communities.map((c) => c.id), ['c1']); + }); + + test('delivery observations skip malformed entries', () async { + await _init({ + 'delivery_observations': jsonEncode([ + { + 'contact_key': 'k', + 'path_length': 1, + 'message_bytes': 10, + 'delivery_ms': 500, + 'timestamp': DateTime(2026).toIso8601String(), + }, + {'contact_key': 'bad'}, + ]), + }); + final observations = await StorageService().loadDeliveryObservations(); + expect(observations, hasLength(1)); + expect(observations.single.isFlood, isFalse); + }); + + test('community hashtag normalization trims before stripping #', () { + final community = Community.create(id: 'c1', name: 'Ops'); + expect( + community.deriveCommunityHashtagPsk(' #ops'), + community.deriveCommunityHashtagPsk('#ops'), + ); + }); +} diff --git a/untranslated.json b/untranslated.json index 5b598895..cb51386f 100644 --- a/untranslated.json +++ b/untranslated.json @@ -1,116 +1,1293 @@ { "bg": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "de": [ - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "es": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "fr": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "hu": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "it": [ - "urlImage_enable", - "urlImage_possible", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "ja": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "ko": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "nl": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "pl": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "pt": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "ru": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "sk": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "sl": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "sv": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "uk": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ], "zh": [ - "urlImage_enable", - "urlImage_possible", - "settings_publicKeyCopied", - "reaction_report" + "messageStatus_failedChannel", + "messageStatus_resending", + "messageStatus_hopsNotReached", + "messageStatus_sentChannel", + "messageStatus_sentDirect", + "messageStatus_heardRepeatedCount", + "settings_regionEmptyExplanation", + "settings_regionFetchFromRepeaters", + "settings_regionDefault", + "settings_regionDefaultSubtitle", + "settings_regionDefaultNone", + "settings_telemetryPerContactHint", + "settings_multiAckSubtitle", + "settings_presetCustom", + "settings_radioMatchWarning", + "settings_txPowerRangeHelper", + "settings_clientRepeatFrequencyNote", + "settings_pathHashModeHelper", + "settings_requiresFirmware", + "appSettings_channelMinHops", + "appSettings_channelMinHopsSubtitle", + "appSettings_channelMinHopsCount", + "appSettings_channelMinHopsRetries", + "appSettings_batteryOptimization", + "appSettings_batteryOptimizationSubtitle", + "contacts_removeFromContacts", + "contacts_removeFromContactsConfirm", + "contacts_keepChatHistory", + "contacts_remove", + "contacts_discoveredNearby", + "contacts_noContactsDiscoveredHint", + "channels_hashtag", + "channels_addSectionJoin", + "channels_addSectionCreate", + "channels_dragToReorder", + "channels_regionDefaultSuffix", + "channels_regionSelectExplanation", + "channels_regionEmpty", + "channels_manageRegions", + "chat_removeGif", + "chat_cancelReply", + "chat_viewPathOnMap", + "chat_today", + "chat_yesterday", + "map_centerOnMe", + "map_noNodesLocationHint", + "map_clusterNodes", + "map_groupChip", + "map_clusterNodesSubtitle", + "map_manageServer", + "login_showPassword", + "login_hidePassword", + "login_advanced", + "common_clearSearch", + "repeater_roleAdmin", + "repeater_roleGuest", + "repeater_refreshAll", + "repeater_settingsNotLoaded", + "repeater_settingsLoadIncomplete", + "snrIndicator_nearByRepeatersDescription", + "radioStats_sectionSignal", + "radioStats_sectionAirtime", + "imageSend_lossyNote", + "imageSend_viewOriginal", + "imageSend_viewReconstruction", + "imageSend_reconstructionUnavailable", + "imageSend_modelNotDownloaded", + "receivedImage_save", + "receivedImage_shareCaption", + "receivedImage_packetInfo", + "receivedImage_parityRecovered", + "receivedImage_decodeTime", + "receivedImage_saveFailed" ] }