Merge remote-tracking branch 'origin/dev' into self-telemetry
This commit is contained in:
commit
052a45e3cd
237 files changed
+51244
-4960
No files matched your search
@@ -12,6 +12,8 @@ MeshCore Open is a cross-platform mobile application for communicating with Mesh
|
||||
<img src="assets/badges/badge_obtainium.png" height="80" align="center" alt="Get it on Obtainium"/>
|
||||
</a>
|
||||
|
||||
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
|
||||
|
||||
<table>
|
||||
@@ -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:**
|
||||
|
||||
@@ -7,6 +7,15 @@
|
||||
|
||||
# The following line activates a set of recommended lints for Flutter apps,
|
||||
# packages, and plugins designed to encourage good coding practices.
|
||||
analyzer:
|
||||
exclude:
|
||||
- build/**
|
||||
- android/**
|
||||
- ios/**
|
||||
- web/**
|
||||
- windows/**
|
||||
- macos/**
|
||||
- linux/**
|
||||
include: package:flutter_lints/flutter.yaml
|
||||
|
||||
linter:
|
||||
|
||||
@@ -43,9 +43,22 @@ android {
|
||||
// arguments += listOf("-DANDROID_STL=c++_shared")
|
||||
// }
|
||||
// }
|
||||
// ndk {
|
||||
// abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86_64")
|
||||
// }
|
||||
// arm64-v8a only, deliberately.
|
||||
//
|
||||
// * ONNX Runtime (flutter_onnxruntime, used by the AEIC-SE image codec)
|
||||
// ships a per-ABI .so. arm64-v8a alone costs ~18 MB of APK; a
|
||||
// universal APK carrying armeabi-v7a and x86_64 as well costs ~56 MB.
|
||||
// * llamadart only declares android-arm64 and android-x64 backends in
|
||||
// pubspec.yaml's `hooks.user_defines`, so an armeabi-v7a build already
|
||||
// has no translation backend at all.
|
||||
// * The image codec needs ~2.7 GiB peak resident, which no 32-bit
|
||||
// address space can provide regardless of ABI.
|
||||
//
|
||||
// Consequence: this APK will not install on 32-bit-only ARM devices or on
|
||||
// x86_64 emulators. For emulator work, temporarily add "x86_64" here.
|
||||
ndk {
|
||||
abiFilters += listOf("arm64-v8a")
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
@@ -67,6 +80,13 @@ android {
|
||||
} else {
|
||||
signingConfigs.getByName("debug")
|
||||
}
|
||||
// ONNX Runtime resolves its Java classes from native code by name.
|
||||
// Without these rules R8 renames them and the process SIGABRTs with
|
||||
// "java_class == null" the instant the codec runs a model.
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
# ONNX Runtime looks its Java classes up from native code with FindClass /
|
||||
# GetMethodID, by literal name. R8 renames them, the lookup returns null, and
|
||||
# the process dies with:
|
||||
#
|
||||
# JNI DETECTED ERROR IN APPLICATION: java_class == null
|
||||
# at art::JNI<false>::GetMethodID
|
||||
# from convertToTensorInfo -> Java_ai_onnxruntime_OrtSession_run
|
||||
#
|
||||
# It is a hard SIGABRT in native code, so nothing in Dart can catch it: the app
|
||||
# vanishes the moment the codec touches the model. Keep the whole package —
|
||||
# these are the types the native layer reflects on to build tensors and read
|
||||
# results back.
|
||||
-keep class ai.onnxruntime.** { *; }
|
||||
-keepclassmembers class ai.onnxruntime.** { *; }
|
||||
-dontwarn ai.onnxruntime.**
|
||||
|
||||
# The Flutter plugin's platform-channel handler, reached the same way.
|
||||
-keep class com.masicai.flutteronnxruntime.** { *; }
|
||||
-dontwarn com.masicai.flutteronnxruntime.**
|
||||
+1
-1
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
|
||||
@@ -19,8 +19,8 @@ pluginManagement {
|
||||
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.9.1" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
|
||||
id("com.android.application") version "8.11.1" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
+28
-11
@@ -1,6 +1,6 @@
|
||||
# Privacy Policy for MeshCore Open
|
||||
|
||||
**Last Updated:** January 11, 2026
|
||||
**Last Updated:** August 23, 2026
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -11,16 +11,17 @@ MeshCore Open ("the App") is an open-source Flutter application for communicatin
|
||||
### Data We Do NOT Collect
|
||||
|
||||
MeshCore Open does **not**:
|
||||
- Collect personal information
|
||||
- Send data to external servers (except map tile requests)
|
||||
- Collect personal information for the developer
|
||||
- Track your usage or behavior
|
||||
- Use analytics services
|
||||
- Require account creation
|
||||
- Share any data with third parties
|
||||
- Sell personal information
|
||||
|
||||
The App does make limited requests to third-party services when you use features that require internet access, as described below.
|
||||
|
||||
### Data Stored Locally on Your Device
|
||||
|
||||
The App stores the following data **locally on your device only**:
|
||||
The App stores the following data **locally on your device**:
|
||||
|
||||
- **Messages**: Chat messages sent and received through the mesh network
|
||||
- **Contacts**: Names and identifiers of mesh network contacts
|
||||
@@ -30,7 +31,7 @@ The App stores the following data **locally on your device only**:
|
||||
- **Debug Logs**: Optional BLE and app debug logs (if enabled by user)
|
||||
- **Cached Map Tiles**: Offline map data for the mapping feature
|
||||
|
||||
All locally stored data remains on your device and is never transmitted to us or any third party.
|
||||
This locally stored data is not transmitted to the MeshCore Open developer. Some features may send specific data to third-party services as described in the Third-Party Services section.
|
||||
|
||||
## Permissions
|
||||
|
||||
@@ -45,12 +46,12 @@ These permissions are used solely to discover and communicate with MeshCore hard
|
||||
### Location Permission
|
||||
- **ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION**
|
||||
|
||||
Required by Android for BLE scanning on Android 11 and below. The App does not track or store your location. Location data may be optionally shared over the mesh network if you choose to enable location sharing features.
|
||||
Required by Android for BLE scanning on Android 11 and below. MeshCore Open does not use the phone's GPS to determine your location. Location data shown in the App comes from MeshCore devices and mesh advertisements. Location data may also be optionally shared over the mesh network if you choose to enable location sharing features.
|
||||
|
||||
### Internet Permission
|
||||
- **INTERNET**
|
||||
|
||||
Used only for downloading map tiles from OpenStreetMap tile servers when using the map feature. No personal data is transmitted.
|
||||
Used for features that access third-party internet services, including map tiles, Line-of-Sight elevation lookups, optional model downloads, and optional GIF search.
|
||||
|
||||
### Notification Permission
|
||||
- **POST_NOTIFICATIONS** (Android 13+)
|
||||
@@ -65,7 +66,23 @@ Used to maintain BLE connection with your MeshCore device while the app is in th
|
||||
## Third-Party Services
|
||||
|
||||
### Map Tiles
|
||||
The App uses OpenStreetMap tile servers to display maps. When viewing maps, your device's IP address may be visible to the tile server. No other data is shared. See [OpenStreetMap's Privacy Policy](https://wiki.osmfoundation.org/wiki/Privacy_Policy) for more information.
|
||||
The App uses OpenStreetMap and, when selected in settings, Stadia Maps tile servers to display maps. Map tile requests include tile coordinates that identify the geographic area being viewed, and your device's IP address may be visible to the tile provider.
|
||||
|
||||
See [OpenStreetMap's Privacy Policy](https://wiki.osmfoundation.org/wiki/Privacy_Policy) and [Stadia Maps' Privacy Policy](https://stadiamaps.com/privacy/) for more information.
|
||||
|
||||
### Line-of-Sight Elevation Lookups (Open-Meteo)
|
||||
When you use the Line-of-Sight (LOS) analysis feature, the App sends latitude and longitude coordinates for points along the selected radio path to the Open-Meteo Elevation API. These coordinates come from MeshCore node positions or locations selected in the map, not from the phone's GPS.
|
||||
|
||||
Open-Meteo uses these coordinates to return terrain elevation data needed for the LOS calculation. The request also exposes your device's IP address to Open-Meteo as part of normal internet communication.
|
||||
|
||||
LOS elevation lookups are only made when the LOS feature is used. See [Open-Meteo's Terms and Privacy information](https://open-meteo.com/en/terms) for more information.
|
||||
|
||||
### Model Downloads (Hugging Face)
|
||||
The App can download optional translation models and the optional neural image-codec model bundle from Hugging Face when you choose to install or update those models in Settings.
|
||||
|
||||
When a model download is requested, the App sends standard HTTP requests for the selected model files to `huggingface.co`. Your device's IP address is visible to Hugging Face as part of normal internet communication. The App does not upload your messages, contacts, mesh location data, or other locally stored content to Hugging Face as part of these model downloads.
|
||||
|
||||
Model-download requests are only made when you choose to download or update a model. See [Hugging Face's Privacy Policy](https://huggingface.co/privacy) for more information.
|
||||
|
||||
### GIF Search (Giphy)
|
||||
The App includes a GIF picker feature powered by Giphy. When you use the GIF search feature:
|
||||
@@ -81,7 +98,7 @@ Messages sent through the MeshCore mesh network are transmitted over radio frequ
|
||||
|
||||
## Data Security
|
||||
|
||||
All data is stored locally on your device using standard Flutter/Android storage mechanisms. The App does not implement additional encryption for locally stored data beyond what the operating system provides.
|
||||
All data stored locally on your device uses standard Flutter/Android storage mechanisms. The App does not implement additional encryption for locally stored data beyond what the operating system provides.
|
||||
|
||||
## Children's Privacy
|
||||
|
||||
@@ -101,4 +118,4 @@ If you have questions about this Privacy Policy or the App's privacy practices,
|
||||
|
||||
---
|
||||
|
||||
**Summary**: MeshCore Open is a privacy-respecting app that stores all data locally on your device. We do not collect, track, or share your personal information.
|
||||
**Summary**: MeshCore Open does not use the phone's GPS for location, does not include analytics, and does not collect personal information for the developer. Some optional features communicate with third-party services, including map tile providers, Open-Meteo for LOS elevation lookups, Hugging Face for model downloads, and Giphy for GIF search.
|
||||
@@ -37,6 +37,8 @@
|
||||
<string>This app uses Bluetooth to communicate with MeshCore devices.</string>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>This app uses the camera to scan QR codes for joining communities.</string>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>This app lets you pick a photo to compress and send over the mesh.</string>
|
||||
<key>UIApplicationSceneManifest</key>
|
||||
<dict>
|
||||
<key>UIApplicationSupportsMultipleScenes</key>
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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<RepeatFreqRange> parseAllowedRepeatFreqFrame(Uint8List frame) {
|
||||
final ranges = <RepeatFreqRange>[];
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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<void>? 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<PendingCommandReply> _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<void>() : 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));
|
||||
}
|
||||
}
|
||||
@@ -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>, int)> paths});
|
||||
|
||||
typedef GuessInput = ({
|
||||
List<GuessCandidate> 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 = <String, List<LatLng>>{};
|
||||
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<int> 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 = <LatLng, int>{};
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:image_picker/image_picker.dart';
|
||||
|
||||
import '../l10n/l10n.dart';
|
||||
import '../widgets/image_send_codec_binding.dart';
|
||||
import '../widgets/image_send_preview_sheet.dart';
|
||||
|
||||
/// Shared "attach an image" flow, used by both the direct-message and channel
|
||||
/// chat screens so the two surfaces cannot drift apart.
|
||||
///
|
||||
/// Picks a photo, then shows [ImageSendPreviewSheet] so the user sees the
|
||||
/// packet count and airtime *before* committing to a send that may occupy the
|
||||
/// channel for seconds. Returns null if the user backed out at either step.
|
||||
///
|
||||
/// The caller owns the actual transmission: this only produces the payload.
|
||||
Future<ImageSendPreviewResult?> pickAndPreviewImage({
|
||||
required BuildContext context,
|
||||
required ImageSendCodec codec,
|
||||
ImagePicker? picker,
|
||||
}) async {
|
||||
final XFile? picked;
|
||||
try {
|
||||
picked = await (picker ?? ImagePicker()).pickImage(
|
||||
source: ImageSource.gallery,
|
||||
// The codec centre-crops to 512x512 anyway, so there is nothing to gain
|
||||
// from decoding a 12 MP original -- but stay well above 512 so the crop
|
||||
// still has detail to work with.
|
||||
maxWidth: 2048,
|
||||
maxHeight: 2048,
|
||||
);
|
||||
} on Exception catch (e) {
|
||||
debugPrint('image pick failed: $e');
|
||||
if (context.mounted) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text(context.l10n.chat_imagePickFailed)),
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
if (picked == null) return null; // user cancelled the picker
|
||||
|
||||
final Uint8List bytes;
|
||||
int originalBytes;
|
||||
try {
|
||||
bytes = await picked.readAsBytes();
|
||||
originalBytes = bytes.length;
|
||||
if (!kIsWeb) {
|
||||
// length() is the on-disk size, which is what we want to show against the
|
||||
// transmitted size; fall back to the in-memory length if it fails.
|
||||
try {
|
||||
originalBytes = await File(picked.path).length();
|
||||
} on FileSystemException {
|
||||
// keep the in-memory length
|
||||
}
|
||||
}
|
||||
} on Exception catch (e) {
|
||||
debugPrint('image read failed: $e');
|
||||
if (context.mounted) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text(context.l10n.chat_imagePickFailed)),
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!context.mounted) return null;
|
||||
|
||||
return showImageSendPreviewSheet(
|
||||
context: context,
|
||||
imageBytes: bytes,
|
||||
originalFileBytes: originalBytes,
|
||||
codec: codec,
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,340 @@
|
||||
import 'dart:async';
|
||||
import 'dart:collection';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
/// Finds and renders image URLs embedded in ordinary text messages.
|
||||
///
|
||||
/// This is deliberately separate from MeshCore's transmitted channel-image
|
||||
/// protocol, which is handled by [ReceivedImageStore].
|
||||
class MessageUrlImageHelper {
|
||||
static final Map<String, Future<bool>> _verifiedImageCache =
|
||||
<String, Future<bool>>{};
|
||||
static const int _maxMessageImageCacheEntries = 200;
|
||||
static final LinkedHashMap<String, Future<String?>> _messageImageCache =
|
||||
LinkedHashMap<String, Future<String?>>();
|
||||
|
||||
/// HTTP client used to resolve sharing pages.
|
||||
///
|
||||
/// Tests override this because `flutter_test` blocks real network requests.
|
||||
@visibleForTesting
|
||||
static http.Client? httpClient;
|
||||
|
||||
static final RegExp _pyxPattern = RegExp(
|
||||
r'''https?://pyx\.li/\?i=([A-Za-z0-9_-]+)''',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
static final RegExp _ipfsUrlPattern = RegExp(
|
||||
r'''https?://[^\s<>'"`]+/(?:ipfs|ipns)/[^\s<>'"`]+''',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
static final RegExp _ipfsCidPattern = RegExp(
|
||||
r'''ipfs:(?://)?([^\s<>'"`]+)''',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
static final RegExp _ibbSharePattern = RegExp(
|
||||
r'''https?://(?:www\.)?ibb\.co/[^\s<>'"`/?#]+(?:[/?#][^\s<>'"`]*)?''',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
static final RegExp _imagePattern = RegExp(
|
||||
r'''https?://[^\s<>'"`]+?\.(?:png|jpe?g|webp)(?:\?[^\s<>'"`]+)?(?:#[^\s<>'"`]+)?''',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
/// Checks locally whether [text] contains a URL format this helper supports.
|
||||
/// This deliberately does not resolve sharing pages or fetch image data.
|
||||
static bool hasPotentialImageUrl(String text) {
|
||||
return _pyxPattern.hasMatch(text) ||
|
||||
_ipfsUrlPattern.hasMatch(text) ||
|
||||
_ipfsCidPattern.hasMatch(text) ||
|
||||
_ibbSharePattern.hasMatch(text) ||
|
||||
_imagePattern.hasMatch(text);
|
||||
}
|
||||
|
||||
static Future<String?> parse(String text) async {
|
||||
final trimmed = text.trim();
|
||||
if (trimmed.isEmpty) return null;
|
||||
|
||||
final pyxMatch = _pyxPattern.firstMatch(trimmed);
|
||||
if (pyxMatch != null) {
|
||||
return 'https://pyx.li/i/${pyxMatch.group(1)!}.jpg';
|
||||
}
|
||||
|
||||
final ipfsUrlMatch = _ipfsUrlPattern.firstMatch(trimmed);
|
||||
if (ipfsUrlMatch != null) {
|
||||
return _trimBoundary(ipfsUrlMatch.group(0)!);
|
||||
}
|
||||
|
||||
final ipfsCidMatch = _ipfsCidPattern.firstMatch(trimmed);
|
||||
if (ipfsCidMatch != null) {
|
||||
final cid = _trimBoundary(ipfsCidMatch.group(1)!);
|
||||
return 'https://ipfs.io/ipfs/$cid';
|
||||
}
|
||||
|
||||
final ibbMatch = _ibbSharePattern.firstMatch(trimmed);
|
||||
if (ibbMatch != null) {
|
||||
return _extractFromUrl(
|
||||
_trimBoundary(ibbMatch.group(0)!),
|
||||
RegExp(
|
||||
r'''<meta[^>]+property=["']og:image["'][^>]+content=["']([^"']+)["']''',
|
||||
caseSensitive: false,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
final imageMatch = _imagePattern.firstMatch(trimmed);
|
||||
if (imageMatch != null) {
|
||||
return _trimBoundary(imageMatch.group(0)!);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
static Future<String?> parseVerified(String text) async {
|
||||
final imageUrl = await parse(text);
|
||||
if (imageUrl == null) return null;
|
||||
|
||||
final verified = await _verifyImageUrl(imageUrl);
|
||||
return verified ? imageUrl : null;
|
||||
}
|
||||
|
||||
/// Caches successful URL-image parsing by stable message identity.
|
||||
///
|
||||
/// Null results are evicted so temporary connectivity or host failures can
|
||||
/// be retried when a message is shown again.
|
||||
static Future<String?> parseVerifiedForMessage(
|
||||
String messageId,
|
||||
String text,
|
||||
) {
|
||||
final cached = _messageImageCache.remove(messageId);
|
||||
if (cached != null) {
|
||||
_messageImageCache[messageId] = cached;
|
||||
return cached;
|
||||
}
|
||||
|
||||
final parsing = parseVerified(text);
|
||||
_messageImageCache[messageId] = parsing;
|
||||
parsing.then((imageUrl) {
|
||||
if (imageUrl == null &&
|
||||
identical(_messageImageCache[messageId], parsing)) {
|
||||
_messageImageCache.remove(messageId);
|
||||
} else if (imageUrl != null) {
|
||||
while (_messageImageCache.length > _maxMessageImageCacheEntries) {
|
||||
_messageImageCache.remove(_messageImageCache.keys.first);
|
||||
}
|
||||
}
|
||||
});
|
||||
return parsing;
|
||||
}
|
||||
|
||||
static Future<String?> _extractFromUrl(String pageUrl, RegExp pattern) async {
|
||||
try {
|
||||
final uri = Uri.parse(pageUrl);
|
||||
final client = httpClient;
|
||||
final response = await (client == null ? http.get(uri) : client.get(uri))
|
||||
.timeout(const Duration(seconds: 8));
|
||||
if (response.statusCode < 200 || response.statusCode >= 300) {
|
||||
return null;
|
||||
}
|
||||
final value = pattern.firstMatch(response.body)?.group(1);
|
||||
if (value == null || value.isEmpty) return null;
|
||||
|
||||
final imageUrl = uri.resolve(value.replaceAll('&', '&'));
|
||||
return imageUrl.scheme == 'http' || imageUrl.scheme == 'https'
|
||||
? imageUrl.toString()
|
||||
: null;
|
||||
} catch (_) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
static String _trimBoundary(String value) {
|
||||
return value.trim().replaceAll(RegExp(r"[.,;:!?]+$"), '');
|
||||
}
|
||||
|
||||
static Future<bool> _verifyImageUrl(String imageUrl) {
|
||||
final cached = _verifiedImageCache[imageUrl];
|
||||
if (cached != null) return cached;
|
||||
|
||||
final verification = _tryLoadImage(imageUrl);
|
||||
_verifiedImageCache[imageUrl] = verification;
|
||||
verification.then((verified) {
|
||||
if (!verified && identical(_verifiedImageCache[imageUrl], verification)) {
|
||||
_verifiedImageCache.remove(imageUrl);
|
||||
}
|
||||
});
|
||||
return verification;
|
||||
}
|
||||
|
||||
static Future<bool> _tryLoadImage(String imageUrl) async {
|
||||
final completer = Completer<bool>();
|
||||
final stream = CachedNetworkImageProvider(
|
||||
imageUrl,
|
||||
).resolve(const ImageConfiguration());
|
||||
|
||||
late final ImageStreamListener listener;
|
||||
listener = ImageStreamListener(
|
||||
(_, _) {
|
||||
if (!completer.isCompleted) completer.complete(true);
|
||||
stream.removeListener(listener);
|
||||
},
|
||||
onError: (_, _) {
|
||||
if (!completer.isCompleted) completer.complete(false);
|
||||
stream.removeListener(listener);
|
||||
},
|
||||
);
|
||||
|
||||
stream.addListener(listener);
|
||||
|
||||
return completer.future.timeout(
|
||||
const Duration(seconds: 8),
|
||||
onTimeout: () {
|
||||
stream.removeListener(listener);
|
||||
return false;
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class MessageUrlImageFutureBuilder extends StatefulWidget {
|
||||
const MessageUrlImageFutureBuilder({
|
||||
super.key,
|
||||
required this.messageId,
|
||||
required this.text,
|
||||
required this.builder,
|
||||
});
|
||||
|
||||
final String messageId;
|
||||
final String text;
|
||||
final AsyncWidgetBuilder<String?> builder;
|
||||
|
||||
@override
|
||||
State<MessageUrlImageFutureBuilder> createState() =>
|
||||
_MessageUrlImageFutureBuilderState();
|
||||
}
|
||||
|
||||
class _MessageUrlImageFutureBuilderState
|
||||
extends State<MessageUrlImageFutureBuilder> {
|
||||
late Future<String?> _imageFuture;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_imageFuture = MessageUrlImageHelper.parseVerifiedForMessage(
|
||||
widget.messageId,
|
||||
widget.text,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void didUpdateWidget(covariant MessageUrlImageFutureBuilder oldWidget) {
|
||||
super.didUpdateWidget(oldWidget);
|
||||
if (oldWidget.messageId != widget.messageId) {
|
||||
_imageFuture = MessageUrlImageHelper.parseVerifiedForMessage(
|
||||
widget.messageId,
|
||||
widget.text,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return FutureBuilder<String?>(
|
||||
future: _imageFuture,
|
||||
builder: widget.builder,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class MessageUrlImagePreview extends StatelessWidget {
|
||||
const MessageUrlImagePreview({super.key, required this.imageUrl});
|
||||
|
||||
final String imageUrl;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GestureDetector(
|
||||
onTap: () {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) => Dialog(
|
||||
insetPadding: const EdgeInsets.all(12),
|
||||
backgroundColor: Colors.black,
|
||||
child: SizedBox(
|
||||
width: double.infinity,
|
||||
height: double.infinity,
|
||||
child: Stack(
|
||||
children: [
|
||||
Positioned.fill(
|
||||
child: InteractiveViewer(
|
||||
boundaryMargin: const EdgeInsets.all(80),
|
||||
minScale: 1.0,
|
||||
maxScale: 3.0,
|
||||
child: Center(
|
||||
child: CachedNetworkImage(
|
||||
imageUrl: imageUrl,
|
||||
fit: BoxFit.contain,
|
||||
placeholder: (context, url) => const Center(
|
||||
child: CircularProgressIndicator(strokeWidth: 2),
|
||||
),
|
||||
errorWidget: (context, url, error) => const Center(
|
||||
child: Icon(
|
||||
Icons.broken_image,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
top: 12,
|
||||
right: 12,
|
||||
child: IconButton(
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
icon: const Icon(Icons.close, color: Colors.white),
|
||||
style: IconButton.styleFrom(
|
||||
backgroundColor: Colors.black54,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
child: SizedBox(
|
||||
width: 240,
|
||||
height: 240,
|
||||
child: CachedNetworkImage(
|
||||
imageUrl: imageUrl,
|
||||
fit: BoxFit.contain,
|
||||
placeholder: (context, url) => ColoredBox(
|
||||
color: Theme.of(context).colorScheme.surfaceContainerHighest,
|
||||
child: const Center(
|
||||
child: CircularProgressIndicator(strokeWidth: 2),
|
||||
),
|
||||
),
|
||||
errorWidget: (context, url, error) => Container(
|
||||
padding: const EdgeInsets.all(12),
|
||||
color: Theme.of(context).colorScheme.surfaceContainerHighest,
|
||||
child: Text(
|
||||
'Unable to load image',
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -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 = <Uint8List>[];
|
||||
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<int> pathBytes,
|
||||
List<Contact> allContacts,
|
||||
|
||||
@@ -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 = <String, List<Contact>>{};
|
||||
for (final contact in contacts) {
|
||||
if (contact.publicKey.length < width) continue;
|
||||
|
||||
@@ -1,10 +1,29 @@
|
||||
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;
|
||||
HashType hashType;
|
||||
String? senderName; // Who sent the reaction
|
||||
|
||||
ReactionInfo({required this.targetHash, required this.emoji});
|
||||
ReactionInfo({
|
||||
required this.targetHash,
|
||||
required this.emoji,
|
||||
required this.hashType,
|
||||
this.senderName,
|
||||
});
|
||||
|
||||
String identifier() {
|
||||
return '$targetHash:$emoji:$hashType:${senderName ?? ""}';
|
||||
}
|
||||
}
|
||||
|
||||
class ReactionHelper {
|
||||
@@ -26,25 +45,34 @@ class ReactionHelper {
|
||||
required int Function(T) getTimestampSecs,
|
||||
required String? Function(T) getSenderName,
|
||||
required String Function(T) getMessageText,
|
||||
required Map<String, int> Function(T) getReactions,
|
||||
required Map<String, List<String?>> Function(T) getReactions,
|
||||
required bool Function(T) shouldSkip,
|
||||
required void Function(int index, Map<String, int> newReactions)
|
||||
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),
|
||||
);
|
||||
if (msgHash == targetHash) {
|
||||
final currentReactions = Map<String, int>.from(getReactions(msg));
|
||||
currentReactions[reactionInfo.emoji] =
|
||||
(currentReactions[reactionInfo.emoji] ?? 0) + 1;
|
||||
final currentReactions = Map<String, List<String?>>.from(
|
||||
getReactions(msg),
|
||||
);
|
||||
(currentReactions[reactionInfo.emoji] ??= []).add(
|
||||
reactionInfo.senderName,
|
||||
);
|
||||
updateMessage(i, currentReactions);
|
||||
return true;
|
||||
}
|
||||
@@ -97,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.
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
+317
-61
@@ -100,19 +100,19 @@
|
||||
"settings_locationInvalid": "Невалидна ширина или дължина.",
|
||||
"settings_latitude": "Широчина",
|
||||
"settings_longitude": "Дължина",
|
||||
"settings_autoZeroHopAdvertOnGpsUpdate": "Автоматична zero-hop обява при GPS обновяване",
|
||||
"settings_autoZeroHopAdvertOnGpsUpdateSubtitle": "Когато GPS местоположението се промени, изпрати zero-hop обява (изисква местоположение в обявата).",
|
||||
"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": "Няма намерени контакти или групи.",
|
||||
@@ -485,6 +485,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Изберете действие за изпращане",
|
||||
"chat_sendGif": "Изпрати GIF",
|
||||
"chat_reply": "Отговори",
|
||||
"chat_addReaction": "Добави Реакция",
|
||||
@@ -577,7 +578,7 @@
|
||||
"chat_pathManagement": "Управление на пътищата",
|
||||
"chat_routingMode": "Режим на маршрутизиране",
|
||||
"chat_autoUseSavedPath": "Автоматично (използвай запазения път)",
|
||||
"chat_forceFloodMode": "Принуди режим на наводняване",
|
||||
"chat_forceFloodMode": "Принуди режим Flood",
|
||||
"chat_recentAckPaths": "Последни ACK пътища (докоснете, за да използвате):",
|
||||
"chat_pathHistoryFull": "Историята на пътя е пълна. Премахнете записи, за да добавите нови.",
|
||||
"chat_hopSingular": "скок",
|
||||
@@ -600,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}",
|
||||
@@ -621,7 +622,7 @@
|
||||
"chat_path": "Път",
|
||||
"chat_publicKey": "Публичен ключ",
|
||||
"chat_compressOutgoingMessages": "Компресиране на изходящи съобщения",
|
||||
"chat_floodForced": "Наводняване (принудително)",
|
||||
"chat_floodForced": "Flood (принудително)",
|
||||
"chat_directForced": "Директно (принудително)",
|
||||
"chat_hopsForced": "{count} скока (принудително)",
|
||||
"@chat_hopsForced": {
|
||||
@@ -631,7 +632,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_floodAuto": "Наводняване (автоматично)",
|
||||
"chat_floodAuto": "Flood (автоматично)",
|
||||
"chat_direct": "Директно",
|
||||
"chat_poiShared": "Споделена точка на интерес",
|
||||
"chat_unread": "Непрочетени: {count}",
|
||||
@@ -899,7 +900,7 @@
|
||||
"login_routing": "Маршрутизиране",
|
||||
"login_routingMode": "Режим на маршрутизиране",
|
||||
"login_autoUseSavedPath": "Автоматично (използвай запазения път)",
|
||||
"login_forceFloodMode": "Принуди режим на наводняване",
|
||||
"login_forceFloodMode": "Принуди режим Flood",
|
||||
"login_managePaths": "Управление на пътищата",
|
||||
"login_login": "Вход",
|
||||
"login_attempt": "Опитвате {current}/{max}",
|
||||
@@ -942,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 байт).",
|
||||
@@ -972,7 +973,7 @@
|
||||
"repeater_statusTitle": "Статус на повтарянето",
|
||||
"repeater_routingMode": "Режим на маршрутизиране",
|
||||
"repeater_autoUseSavedPath": "Автоматично (използвай запазения път)",
|
||||
"repeater_forceFloodMode": "Принуди режим на наводняване",
|
||||
"repeater_forceFloodMode": "Принуди режим Flood",
|
||||
"repeater_pathManagement": "Управление на пътища",
|
||||
"repeater_refresh": "Презареди",
|
||||
"repeater_statusRequestTimeout": "Заявката за статус премина прекалено дълго.",
|
||||
@@ -1017,7 +1018,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_packetTxTotal": "Общо: {total}, Наводнение: {flood}, Директно: {direct}",
|
||||
"repeater_packetTxTotal": "Общо: {total}, Flood: {flood}, Директно: {direct}",
|
||||
"@repeater_packetTxTotal": {
|
||||
"placeholders": {
|
||||
"total": {
|
||||
@@ -1031,7 +1032,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_packetRxTotal": "Общо: {total}, Наводнение: {flood}, Директно: {direct}",
|
||||
"repeater_packetRxTotal": "Общо: {total}, Flood: {flood}, Директно: {direct}",
|
||||
"@repeater_packetRxTotal": {
|
||||
"placeholders": {
|
||||
"total": {
|
||||
@@ -1045,7 +1046,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "Поливане: {flood}, Директен: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "Flood: {flood}, Директен: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1091,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": {
|
||||
@@ -1102,7 +1103,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_floodAdvertInterval": "Интервал на рекламата за наводняване",
|
||||
"repeater_floodAdvertInterval": "Интервал на Flood обявата",
|
||||
"repeater_floodAdvertIntervalHours": "{hours} часа",
|
||||
"@repeater_floodAdvertIntervalHours": {
|
||||
"placeholders": {
|
||||
@@ -1111,7 +1112,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_encryptedAdvertInterval": "Криптиран интервал на рекламата",
|
||||
"repeater_encryptedAdvertInterval": "Криптиран интервал на обявата",
|
||||
"repeater_dangerZone": "Опасна зона",
|
||||
"repeater_rebootRepeater": "Рестартирай повторителя",
|
||||
"repeater_rebootRepeaterSubtitle": "Рестартира повторителя.",
|
||||
@@ -1167,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": "Праг на смущенията",
|
||||
@@ -1182,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} успешно",
|
||||
@@ -1270,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": "Задава се нова администраторска парола за устройството.",
|
||||
@@ -1282,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": "Задайте забавяне преди преизпращане на пакети.",
|
||||
@@ -1308,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": "Добавя или актуализира дефиниция на регион с дадено име.",
|
||||
@@ -1324,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 ...\".",
|
||||
@@ -1482,7 +1483,7 @@
|
||||
}
|
||||
},
|
||||
"channelPath_unknownPath": "Неизвестно",
|
||||
"channelPath_floodPath": "Поливане",
|
||||
"channelPath_floodPath": "Flood",
|
||||
"channelPath_directPath": "Директно",
|
||||
"channelPath_observedZeroOf": "0 от {total} скокове",
|
||||
"@channelPath_observedZeroOf": {
|
||||
@@ -1758,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": "Копирането на обявата в клипборда не успя.",
|
||||
@@ -1790,7 +1791,7 @@
|
||||
"settings_gpxExportAllContacts": "Местоположения на всички контакти",
|
||||
"settings_gpxExportShareText": "Картинни данни изнесени от meshcore-open",
|
||||
"settings_gpxExportShareSubject": "meshcore-open износ на данни за карта в формат GPX",
|
||||
"pathTrace_someHopsNoLocation": "Един или повече от хмелите липсва местоположение!",
|
||||
"pathTrace_someHopsNoLocation": "Един или повече от скоковете няма определено местоположение!",
|
||||
"map_pathTraceCancelled": "Отменен е следването на пътя.",
|
||||
"pathTrace_clearTooltip": "Изчисти пътя",
|
||||
"map_removeLast": "Премахни последното",
|
||||
@@ -2266,7 +2267,7 @@
|
||||
"repeater_sensors": "Датчици",
|
||||
"repeater_cliHelpPowerOff": "Изключва устройството. (не се очаква отговор)",
|
||||
"repeater_cliHelpClkReboot": "Възстановява часовника до известна историческа дата и рестартира устройството.",
|
||||
"repeater_cliHelpAdvertZeroHop": "Изпраща реклама, която достига само до съседни устройства (само до съседни мрежи).",
|
||||
"repeater_cliHelpAdvertZeroHop": "Изпраща обява, която достига само до съседни устройства (само до съседни мрежи).",
|
||||
"repeater_cliHelpStartOta": "Стартира актуализация на фърмуера чрез въздушното, на всички поддържани платки.",
|
||||
"repeater_cliHelpTime": "Задава времето на устройството към зададените секунди от началото на Unix ерата. Времето не може да се върне назад.",
|
||||
"repeater_cliHelpBoard": "Показва производителя на платката / идентификатора на хардуера.",
|
||||
@@ -2277,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": "(Само за серийно управление) Бързо задава само честотата. Необходимо е рестартиране. Препоръчително е да се използват настройките за \"радио\", за да се зададат всички параметри.",
|
||||
@@ -2297,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": "Показва чувствителността към откриване на цикли.",
|
||||
@@ -2327,8 +2328,8 @@
|
||||
"repeater_cliHelpSensorList": "Показва всички настройки на потребителските сензори, разделени на страници, започвайки от опционален индекс.",
|
||||
"repeater_cliHelpRegionDefault": "Показва текущия обхват на региона по подразбиране.",
|
||||
"repeater_cliHelpRegionDefaultSet": "Задава обхвата на региона по подразбиране. Използвайте \"<null>\", за да го изчистите.",
|
||||
"repeater_cliHelpRegionListAllowed": "Списва регионите, които позволяват преминаване на превозни средства при наводнение.",
|
||||
"repeater_cliHelpRegionListDenied": "Списва региони, които забраняват движението по пътищата при наводнения.",
|
||||
"repeater_cliHelpRegionListAllowed": "Списва регионите, които разрешават Flood трафик.",
|
||||
"repeater_cliHelpRegionListDenied": "Списва региони, които забраняват Flood трафик.",
|
||||
"repeater_cliHelpStatsPackets": "(Само за серия) Показва статистически данни на ниво пакет.",
|
||||
"repeater_cliHelpStatsRadio": "(Само за конкретен сериал) Показва радиостатистика.",
|
||||
"repeater_cliHelpStatsCore": "(Само за серийния номер) Показва основните статистически данни за фърмуера.",
|
||||
@@ -2468,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": "Текущ маршрут",
|
||||
@@ -2486,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": "Все още няма добавени скокове. Можете да използвате бутоните по-долу, за да ги добавите по ред, или да запазите пътя без скокове, за да го изпратите директно.",
|
||||
@@ -2605,5 +2606,260 @@
|
||||
"pathMap_noLocation": "Без посочено местоположение",
|
||||
"pathMap_followPacket": "Проследи пакета",
|
||||
"pathMap_unfollowPacket": "Спри проследяването на пакета",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Региони",
|
||||
"settings_regionSettingsSubtitle": "Управляне на хранилищни региони",
|
||||
"settings_regionManagement_screenTitle": "Регионално управление",
|
||||
"settings_regionNameHint": "Възразна название на региона",
|
||||
"settings_regionAddRegion": "Добавете регион",
|
||||
"settings_regionFetchRegions": "Извън рептерите от региони",
|
||||
"settings_regionFetchRegionsFail": "Не бъде открити никако региони",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Тата регион е уже добавена",
|
||||
"settings_regionName": "Регионноименоване",
|
||||
"settings_regionDeleted": "Регион отстранен",
|
||||
"settings_deleteRegion": "Удаляне на регион",
|
||||
"settings_deleteRegionConfirm": "Състрясна: отпиште \"{region}\" от списка региони?",
|
||||
"settings_infoHardware": "Оборудование",
|
||||
"settings_infoFirmware": "Програмно-оборонни системни программи (фirmware)",
|
||||
"repeater_pathHashModeOption0": "0 - 1 байт",
|
||||
"repeater_pathHashModeOption1": "1 - 2 байта",
|
||||
"repeater_pathHashModeOption2": "2 - 3 байта",
|
||||
"repeater_pathHashModeOption3": "3 - 4 байта",
|
||||
"appSettings_batteryLipoHv": "LiPo ВЗГ (3,0-4,35 В)",
|
||||
"channels_regionSetTo": "Регион: {region}",
|
||||
"channels_regionNotSet": "Регион: ние",
|
||||
"channels_regionSelect_Title": "Выберете регион",
|
||||
"channels_clearRegion": "Чиста зона",
|
||||
"chat_sendImageLora": "Изпращане на изображение чрез MeshCore",
|
||||
"chat_imagePickFailed": "Не мог да откривам та изображин",
|
||||
"chat_receivedGif": "Получил GIF",
|
||||
"repeater_keySettings": "Изменяне на идентичности ключа",
|
||||
"repeater_keySettingsSubtitle": "Замени ключовият пар от публични/частни",
|
||||
"repeater_prvKey": "Частни ключ",
|
||||
"repeater_prvKeyHelper": "Нова приватна ключ на повторчето, 128-символовна шестнадатерична строка.",
|
||||
"repeater_generatePrvKey": "Генериране на случайна ключи",
|
||||
"repeater_stopGeneratingPrvKey": "Прервана поискна на ключова парта",
|
||||
"repeater_pubKey": "Публична ключ",
|
||||
"repeater_pubKeyHelper": "Та е публичната ключ, която се свързува с генериранта приватна ключ. Трябва да не настройте тоа напрямо.",
|
||||
"repeater_pubKeyPrefix": "Желата префикс",
|
||||
"repeater_pubKeyPrefixHelper": "Наискате публична ключ, който почева с този шестнадатницил. Ожидавани проби: {tries}.",
|
||||
"imageMessages_enableTitle": "Абilitiraм изображените сообщения",
|
||||
"imageMessages_enableSubtitle": "Изправате изображения чрез сетката. Треба е одноразовна загрузка модел на изображение.",
|
||||
"imageMessages_modelSectionTitle": "Изображени модель",
|
||||
"imageMessages_downloadModel": "Скачане",
|
||||
"imageMessages_cancelDownload": "Отмена",
|
||||
"imageMessages_removeModel": "Удалете модель",
|
||||
"imageMessages_modelReady": "Готов",
|
||||
"imageMessages_modelNotPublished": "Еще не опубликовано — тази версия не може да скане.",
|
||||
"imageMessages_downloadFailed": "Модел за изображение не може да бъде скачан.",
|
||||
"imageMessages_autoProcessTitle": "Автоматически обрабатвате изображения",
|
||||
"imageMessages_autoProcessSubtitle": "Катализиране на всята изображение сразу по пришествие. Използване на около 2 ГБ на втора пъти; откажете от реконструкцията чаке при натискане.",
|
||||
"imageSend_title": "Изпрати изображение",
|
||||
"imageSend_cropNote": "Масштабиран до 512 × 512 · соотношение сторон не съхранясе",
|
||||
"imageSend_originalSize": "Късно на използване на език:",
|
||||
"imageSend_onAirSize": "В ефир",
|
||||
"imageSend_quality": "Качество",
|
||||
"imageSend_qualityStandard": "Стандарт",
|
||||
"imageSend_qualityHigh": "Высок",
|
||||
"imageSend_packetsLabel": "Пакети",
|
||||
"imageSend_airtimeLabel": "Времето на изкъсване",
|
||||
"imageSend_sizeLabel": "Баланса",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{пакет} other{пакета}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Настройки на радио неизвестни",
|
||||
"imageSend_radioUnknownBody": "Усредете се с устройство, за да се отработа часът на изстъпане.",
|
||||
"imageSend_longSendTitle": "Долга пресилка",
|
||||
"imageSend_longSendBody": "Тази буде поддержива открит отряд на около {duration}.",
|
||||
"imageSend_floodNote": "Flood маршрутизация: всеки повторител в обхват препредава всеки пакет, затова каналът остава зает по-дълго от посоченото тук време.",
|
||||
"imageSend_parityTitle": "Возобновителен пакет",
|
||||
"imageSend_paritySubtitle": "Едно дополително пакет. Групни извещания не принимаются, след това разбирателят едно пакетто, какщо е пропущен един пакет.",
|
||||
"imageSend_send": "Отправляй",
|
||||
"imageSend_cancel": "Отмена",
|
||||
"imageSend_encodeFailed": "Тази изображение не може да бъде кодирано.",
|
||||
"imageSend_codecDownloading": "Модел на изображение еще разгрузира.",
|
||||
"imageSend_codecUnavailable": "Изглед отправа не е доступен на този устройство.",
|
||||
"imageSend_codecDisabled": "Изображенията на извещенията е отключена в настройките.",
|
||||
"imageSend_deviceUnsupported": "Та радиота не може да пресылава изображени пакети. Подключите устройство, който работи с компанионски прошивка 13 или новия.",
|
||||
"imageSend_directMessagesUnsupported": "Изображенията се превозводя се как групова информация, следато да се отправят единствено на канал — не в лична вестка.",
|
||||
"imageSend_tooLarge": "Таата изображение е кодирано в по-числа пакети, отгоре както формат на сетта разрешава.",
|
||||
"imageSend_sentConfirmation": "Изображението е изпратено като {count} {count, plural, =1{пакет} other{пакета}}.",
|
||||
"imageSend_sendFailed": "Изображение не може да бъде отправено: {error}",
|
||||
"imageSend_sendingProgress": "Отправка наизображение — пакет {sent} от {total}",
|
||||
"receivedImage_senderPrefix": "Узъдето {prefix}",
|
||||
"receivedImage_incoming": "{received} от {total} пакета",
|
||||
"receivedImage_queued": "Ожидането за декодиране",
|
||||
"receivedImage_tapToDecode": "Натискнете за декодиране",
|
||||
"receivedImage_decoding": "Повторно… за приблизително 1 секунда",
|
||||
"receivedImage_incomplete": "Изображение неполно — {received} от {total} пакети отправили",
|
||||
"receivedImage_corrupt": "Изображение не може да бъде воссоздано",
|
||||
"receivedImage_decoderMissing": "Получена изображение — разгадка на изображение е вреjan",
|
||||
"receivedImage_evicted": "Изображение не е хранитено",
|
||||
"receivedImage_retry": "Повтори",
|
||||
"receivedImage_decodeAgain": "Правилейте заново",
|
||||
"receivedImage_openSettings": "Настройте",
|
||||
"receivedImage_tapToProcess": "Натискнете за обработка",
|
||||
"receivedImage_awaiting": "{bytes} байта · {packets} {packets, plural, =1{пакет} other{пакета}}",
|
||||
"imageSend_secondsValue": "{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} пъти"
|
||||
}
|
||||
+258
-29
@@ -507,6 +507,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Sendeaktion auswählen",
|
||||
"chat_sendGif": "GIF senden",
|
||||
"chat_reply": "Antworten",
|
||||
"chat_addReaction": "Reaktion hinzufügen",
|
||||
@@ -599,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",
|
||||
@@ -622,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}",
|
||||
@@ -643,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": {
|
||||
@@ -653,7 +654,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_floodAuto": "Geflutet (automatisch)",
|
||||
"chat_floodAuto": "Flood (automatisch)",
|
||||
"chat_direct": "Direkt",
|
||||
"chat_poiShared": "Geteilter POI",
|
||||
"chat_unread": "Ungelesen: {count}",
|
||||
@@ -921,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}",
|
||||
@@ -994,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.",
|
||||
@@ -1194,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",
|
||||
@@ -1309,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.",
|
||||
@@ -1337,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.",
|
||||
@@ -1346,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",
|
||||
@@ -1581,7 +1582,7 @@
|
||||
}
|
||||
},
|
||||
"channelPath_unknownPath": "Unbekannt",
|
||||
"channelPath_floodPath": "Geflutet",
|
||||
"channelPath_floodPath": "Flood",
|
||||
"channelPath_directPath": "Direkt",
|
||||
"channelPath_observedZeroOf": "0 von {total} Sprüngen",
|
||||
"@channelPath_observedZeroOf": {
|
||||
@@ -1657,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}",
|
||||
@@ -1862,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}}",
|
||||
@@ -2393,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.",
|
||||
@@ -2424,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.",
|
||||
@@ -2625,28 +2626,30 @@
|
||||
"messageStatus_pending": "Wird gesendet",
|
||||
"messageStatus_failed": "Senden fehlgeschlagen",
|
||||
"messageStatus_repeated": "Mehrfach gehört",
|
||||
"urlImage_enable": "URL-Bilder anzeigen",
|
||||
"urlImage_possible": "Mögliches URL-Bild; in den Einstellungen aktivieren.",
|
||||
"contacts_moreOptions": "Weitere Optionen",
|
||||
"contacts_searchOpen": "Suche öffnen",
|
||||
"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",
|
||||
@@ -2767,5 +2770,231 @@
|
||||
"pathMap_noLocation": "Keine Standortdaten",
|
||||
"pathMap_followPacket": "Ansicht auf Paket fixieren",
|
||||
"pathMap_unfollowPacket": "Fixierung aufheben",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionFetchRegions": "Regionen von Wiederholern abrufen",
|
||||
"settings_regionFetchRegionsFail": "Es wurden keine Regionen gefunden.",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Diese Region wurde bereits hinzugefügt",
|
||||
"settings_infoHardware": "Hardware",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 Byte",
|
||||
"repeater_pathHashModeOption1": "1 - 2 Bytes",
|
||||
"repeater_pathHashModeOption2": "2 - 3 Bytes",
|
||||
"repeater_pathHashModeOption3": "3 - 4 Bytes",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3,0–4,35 V)",
|
||||
"chat_sendImageLora": "Bild über MeshCore senden",
|
||||
"chat_imagePickFailed": "Konnte dieses Bild nicht öffnen.",
|
||||
"chat_receivedGif": "Erhalten eines GIF",
|
||||
"repeater_keySettings": "Identitätsschlüssel ändern",
|
||||
"repeater_keySettingsSubtitle": "Ändern Sie das öffentliche/private Schlüsselpaar",
|
||||
"repeater_prvKey": "Privatschlüssel",
|
||||
"repeater_prvKeyHelper": "Ein neuer privater Schlüssel für den Repeater, eine 128-stellige Hexadezimalzeichenkette.",
|
||||
"repeater_generatePrvKey": "Generiere ein zufälliges Schlüsselpaar",
|
||||
"repeater_stopGeneratingPrvKey": "Suchvorgang für Schlüsselpaar unterbrechen",
|
||||
"repeater_pubKey": "Öffentlicher Schlüssel",
|
||||
"repeater_pubKeyHelper": "Dies ist der öffentliche Schlüssel, der zum generierten privaten Schlüssel gehört. Sie können dies nicht direkt festlegen.",
|
||||
"repeater_pubKeyPrefix": "Gewünschtes Präfix",
|
||||
"repeater_pubKeyPrefixHelper": "Suchen Sie einen öffentlichen Schlüssel, der mit diesen Hexadezimalziffern beginnt. Erwartete Versuche: {tries}.",
|
||||
"imageMessages_enableTitle": "Bildnachrichten aktivieren",
|
||||
"imageMessages_enableSubtitle": "Bilder über das Netzwerk senden. Einmaliges Herunterladen eines Bildmodells erforderlich.",
|
||||
"imageMessages_modelSectionTitle": "Bildmodell",
|
||||
"imageMessages_downloadModel": "Herunterladen",
|
||||
"imageMessages_cancelDownload": "Stornieren",
|
||||
"imageMessages_removeModel": "Modell entfernen",
|
||||
"imageMessages_modelReady": "Bereit",
|
||||
"imageMessages_modelNotPublished": "Noch nicht veröffentlicht – dieser Build kann es nicht herunterladen.",
|
||||
"imageMessages_downloadFailed": "Das Bildmodell konnte nicht heruntergeladen werden.",
|
||||
"imageMessages_autoProcessTitle": "Automatisch Bilder verarbeiten",
|
||||
"imageMessages_autoProcessSubtitle": "Rekonstruiere jedes Bild sofort nach dem Eintreffen. Verbraucht etwa 2 GB Arbeitsspeicher für jede zweite Wiederherstellung; deaktiviere die automatische Rekonstruktion mit einem Tippen.",
|
||||
"imageSend_title": "Bild senden",
|
||||
"imageSend_cropNote": "Für 512 × 512 skaliert · Seitenverhältnis nicht erhalten",
|
||||
"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.",
|
||||
"imageSend_onAirSize": "On air",
|
||||
"imageSend_quality": "Qualität",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "Hoch",
|
||||
"imageSend_packetsLabel": "Pakete",
|
||||
"imageSend_airtimeLabel": "Sendezeit",
|
||||
"imageSend_sizeLabel": "Nutzlast",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{Paket} other{Pakete}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Radioeinstellungen unbekannt",
|
||||
"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": "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",
|
||||
"imageSend_cancel": "Stornieren",
|
||||
"imageSend_encodeFailed": "Dieses Bild konnte nicht kodiert werden.",
|
||||
"imageSend_codecDownloading": "Das Bildmodell wird noch heruntergeladen.",
|
||||
"imageSend_codecUnavailable": "Bildversand ist auf diesem Gerät nicht verfügbar.",
|
||||
"imageSend_codecDisabled": "Bildnachrichten sind in den Einstellungen deaktiviert.",
|
||||
"imageSend_deviceUnsupported": "Dieses Radio kann keine Bildpakete senden. Verbinden Sie ein Gerät mit der Companion-Firmware-Version 13 oder neuer.",
|
||||
"imageSend_directMessagesUnsupported": "Bilder werden als Gruppendaten übertragen, daher können sie nur an einen Kanal gesendet werden – nicht per Direktnachricht.",
|
||||
"imageSend_tooLarge": "Dieses Bild wurde in mehr Pakete kodiert, als das Mesh-Format zulässt.",
|
||||
"imageSend_sentConfirmation": "Bild gesendet als {count} {count, plural, =1{Paket} other{Pakete}}.",
|
||||
"imageSend_sendFailed": "Das Bild konnte nicht gesendet werden: {error}",
|
||||
"imageSend_sendingProgress": "Bildversand — Paket {sent} von {total}",
|
||||
"receivedImage_senderPrefix": "Kritisch: Diese Platzhalter {prefix} beibehalten.",
|
||||
"receivedImage_incoming": "{received} von {total} Paketen",
|
||||
"receivedImage_queued": "Warten auf die Entschlüsselung",
|
||||
"receivedImage_tapToDecode": "Tippen Sie, um zu entschlüsseln",
|
||||
"receivedImage_decoding": "Rekonstruktion… ca. 1 s",
|
||||
"receivedImage_incomplete": "Bild unvollständig — {received} von {total} Paketen eingetroffen",
|
||||
"receivedImage_corrupt": "Das Bild konnte nicht rekonstruiert werden.",
|
||||
"receivedImage_decoderMissing": "Bild empfangen — Bilddekodierung fehlgeschlagen",
|
||||
"receivedImage_evicted": "Bild nicht mehr gespeichert",
|
||||
"receivedImage_retry": "Versuchen Sie es erneut",
|
||||
"receivedImage_decodeAgain": "Entschlüsseln Sie es erneut",
|
||||
"receivedImage_openSettings": "Einrichten",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
+405
-24
@@ -30,10 +30,45 @@
|
||||
"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",
|
||||
"common_loading": "Loading...",
|
||||
"common_notAvailable": "—",
|
||||
@@ -158,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",
|
||||
@@ -199,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",
|
||||
@@ -246,21 +289,44 @@
|
||||
"settings_infoStatus": "Status",
|
||||
"settings_infoBattery": "Battery",
|
||||
"settings_infoPublicKey": "Public Key",
|
||||
"settings_publicKeyCopied": "Public key copied",
|
||||
"settings_infoContactsCount": "Contacts Count",
|
||||
"settings_infoChannelCount": "Channel Count",
|
||||
"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": {
|
||||
@@ -292,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",
|
||||
@@ -306,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",
|
||||
@@ -343,6 +438,7 @@
|
||||
"appSettings_batteryNmc": "18650 NMC (3.0-4.2V)",
|
||||
"appSettings_batteryLifepo4": "LiFePO4 (2.6-3.65V)",
|
||||
"appSettings_batteryLipo": "LiPo (3.0-4.2V)",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3.0-4.35V)",
|
||||
"appSettings_mapDisplay": "Map Display",
|
||||
"appSettings_showRepeaters": "Show Repeaters",
|
||||
"appSettings_showRepeatersSubtitle": "Display repeater nodes on the map",
|
||||
@@ -472,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",
|
||||
@@ -565,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",
|
||||
@@ -656,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",
|
||||
@@ -685,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}",
|
||||
@@ -737,11 +862,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Select send action",
|
||||
"chat_sendGif": "Send GIF",
|
||||
"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"
|
||||
},
|
||||
"chat_receivedGif": "Received a GIF",
|
||||
"chat_reply": "Reply",
|
||||
"chat_addReaction": "Add Reaction",
|
||||
"chat_me": "Me",
|
||||
"reaction_report": "Emoji Reactions",
|
||||
"emojiCategorySmileys": "Smileys",
|
||||
"emojiCategoryGestures": "Gestures",
|
||||
"emojiCategoryHearts": "Hearts",
|
||||
@@ -914,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)",
|
||||
@@ -939,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",
|
||||
@@ -960,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": {
|
||||
@@ -1031,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",
|
||||
@@ -1038,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.",
|
||||
@@ -1219,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)",
|
||||
@@ -1251,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",
|
||||
@@ -1259,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",
|
||||
@@ -1477,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",
|
||||
@@ -1553,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": {
|
||||
@@ -1653,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",
|
||||
@@ -1679,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.",
|
||||
@@ -1708,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.",
|
||||
@@ -2389,6 +2560,11 @@
|
||||
"contacts_floodAdvert": "Flood Advert",
|
||||
"contacts_copyAdvertToClipboard": "Copy Advert to Clipboard",
|
||||
"contacts_addContactFromClipboard": "Add Contact from Clipboard",
|
||||
"contacts_scanQrCode": "Scan QR Code",
|
||||
"contacts_scanQrInstructions": "Point the camera at a MeshCore contact QR code",
|
||||
"contacts_qrFromGallery": "Scan QR from Gallery",
|
||||
"contacts_noQrCodeFound": "No QR code found in the selected image.",
|
||||
"contacts_qrGalleryFailed": "Could not open the gallery.",
|
||||
"contacts_ShareContact": "Copy contact to Clipboard",
|
||||
"contacts_ShareContactZeroHop": "Share contact by advert",
|
||||
"contacts_zeroHopContactAdvertSent": "Sent contact by advert.",
|
||||
@@ -2446,6 +2622,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",
|
||||
@@ -2476,6 +2653,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…",
|
||||
@@ -2532,6 +2711,17 @@
|
||||
"radioStats_settingsTile": "Radio stats",
|
||||
"radioStats_settingsSubtitle": "Noise floor, RSSI, SNR, and airtime",
|
||||
"translation_title": "Translation",
|
||||
"imageMessages_enableTitle": "Enable image messages",
|
||||
"imageMessages_enableSubtitle": "Send images over the mesh. Requires a one-time image model download.",
|
||||
"imageMessages_modelSectionTitle": "Image model",
|
||||
"imageMessages_downloadModel": "Download",
|
||||
"imageMessages_cancelDownload": "Cancel",
|
||||
"imageMessages_removeModel": "Remove model",
|
||||
"imageMessages_modelReady": "Ready",
|
||||
"imageMessages_modelNotPublished": "Not published yet — this build cannot download it.",
|
||||
"imageMessages_downloadFailed": "The image model could not be downloaded.",
|
||||
"imageMessages_autoProcessTitle": "Process images automatically",
|
||||
"imageMessages_autoProcessSubtitle": "Reconstruct every image as soon as it arrives. Uses about 2 GB of memory for a second each time; leave off to reconstruct with a tap instead.",
|
||||
"translation_enableTitle": "Enable translation",
|
||||
"translation_enableSubtitle": "Translate incoming messages and allow pre-send translation.",
|
||||
"translation_composerTitle": "Translate before sending",
|
||||
@@ -2713,5 +2903,196 @@
|
||||
"pathMap_expandPanel": "Expand panel",
|
||||
"pathMap_noLocation": "No location",
|
||||
"pathMap_followPacket": "Lock view to packet",
|
||||
"pathMap_unfollowPacket": "Unlock view from packet"
|
||||
"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",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "High",
|
||||
"imageSend_packetsLabel": "Packets",
|
||||
"imageSend_airtimeLabel": "Time on air",
|
||||
"imageSend_sizeLabel": "Payload",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{packet} other{packets}}",
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Radio settings unknown",
|
||||
"imageSend_radioUnknownBody": "Connect to a device so the time on air can be calculated.",
|
||||
"imageSend_longSendTitle": "Long transmission",
|
||||
"imageSend_longSendBody": "This will hold the channel for about {duration}.",
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_floodNote": "Flood routing: every repeater in range retransmits each packet, so the channel stays busy longer than this.",
|
||||
"imageSend_parityTitle": "Add recovery packet",
|
||||
"imageSend_paritySubtitle": "One extra packet. Group messages are not acknowledged, so this lets the receiver rebuild the image if a single packet is lost.",
|
||||
"imageSend_send": "Send",
|
||||
"imageSend_cancel": "Cancel",
|
||||
"imageSend_encodeFailed": "This image could not be encoded.",
|
||||
"imageSend_codecDownloading": "The image model is still downloading.",
|
||||
"imageSend_codecUnavailable": "Image sending is not available on this device.",
|
||||
"imageSend_codecDisabled": "Image messages are turned off in settings.",
|
||||
"imageSend_deviceUnsupported": "This radio cannot send image packets. Connect a device running companion firmware 13 or newer.",
|
||||
"imageSend_directMessagesUnsupported": "Images travel as group data, so they can only be sent to a channel — not in a direct message.",
|
||||
"imageSend_tooLarge": "That image encoded to more packets than the mesh format allows.",
|
||||
"imageSend_sentConfirmation": "Image sent as {count} {count, plural, =1{packet} other{packets}}.",
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_sendFailed": "The image could not be sent: {error}",
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_sendingProgress": "Sending image — packet {sent} of {total}",
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"receivedImage_senderPrefix": "Node {prefix}",
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"receivedImage_incoming": "{received} of {total} packets",
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"receivedImage_queued": "Waiting to decode",
|
||||
"receivedImage_tapToDecode": "Tap to decode",
|
||||
"receivedImage_decoding": "Reconstructing… about 1 s",
|
||||
"receivedImage_incomplete": "Image incomplete — {received} of {total} packets arrived",
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"receivedImage_corrupt": "Image could not be reconstructed",
|
||||
"receivedImage_decoderMissing": "Image received — image decoding is off",
|
||||
"receivedImage_evicted": "Image no longer stored",
|
||||
"receivedImage_retry": "Try again",
|
||||
"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": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_secondsValue": "{seconds} s",
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imageSend_minutesSecondsValue": "{minutes} m {seconds} s",
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+268
-12
@@ -507,6 +507,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Seleccionar acción de envío",
|
||||
"chat_sendGif": "Enviar GIF",
|
||||
"chat_reply": "Responder",
|
||||
"chat_addReaction": "Añadir Reacción",
|
||||
@@ -1171,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",
|
||||
@@ -1294,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.",
|
||||
@@ -1312,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).",
|
||||
@@ -1337,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'.",
|
||||
@@ -1346,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",
|
||||
@@ -2425,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.",
|
||||
@@ -2455,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 \"<null>\" 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.",
|
||||
@@ -2739,5 +2740,260 @@
|
||||
"pathMap_noLocation": "Sin ubicación",
|
||||
"pathMap_followPacket": "Seguir paquete",
|
||||
"pathMap_unfollowPacket": "Dejar de seguir el paquete",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regiones",
|
||||
"settings_regionSettingsSubtitle": "Gestionar regiones almacenadas",
|
||||
"settings_regionManagement_screenTitle": "Gestión de Regiones",
|
||||
"settings_regionNameHint": "Nombre de la región",
|
||||
"settings_regionAddRegion": "Añadir región",
|
||||
"settings_regionFetchRegions": "Obtener regiones de repetidores",
|
||||
"settings_regionFetchRegionsFail": "No se encontraron regiones",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Esta región ya ha sido agregada",
|
||||
"settings_regionName": "Nombre de la Región",
|
||||
"settings_regionDeleted": "Región eliminada",
|
||||
"settings_deleteRegion": "Eliminar Región",
|
||||
"settings_deleteRegionConfirm": "¿Eliminar \"{region}\" de la lista de regiones?",
|
||||
"settings_infoHardware": "Hardware",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 byte",
|
||||
"repeater_pathHashModeOption1": "1 - 2 bytes",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bytes",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bytes",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3.0-4.35V)",
|
||||
"channels_regionSetTo": "Región: {region}",
|
||||
"channels_regionNotSet": "Región: ninguna",
|
||||
"channels_regionSelect_Title": "Seleccione una región",
|
||||
"channels_clearRegion": "Zona despejada",
|
||||
"chat_sendImageLora": "Enviar imagen mediante MeshCore",
|
||||
"chat_imagePickFailed": "No pude abrir esa imagen",
|
||||
"chat_receivedGif": "Recibido un GIF",
|
||||
"repeater_keySettings": "Cambiar Claves de Identidad",
|
||||
"repeater_keySettingsSubtitle": "Cambiar la pareja de claves pública/privada",
|
||||
"repeater_prvKey": "Clave privada",
|
||||
"repeater_prvKeyHelper": "Una nueva clave privada para el repetidor, una cadena hexadecimal de 128 caracteres.",
|
||||
"repeater_generatePrvKey": "Genera un par de claves aleatorias",
|
||||
"repeater_stopGeneratingPrvKey": "Interrumpir la búsqueda de par de claves",
|
||||
"repeater_pubKey": "Clave pública",
|
||||
"repeater_pubKeyHelper": "Esta es la clave pública que corresponde a la clave privada generada. No se puede establecer directamente.",
|
||||
"repeater_pubKeyPrefix": "Prefijo deseado",
|
||||
"repeater_pubKeyPrefixHelper": "Encuentre una clave pública que comience con estos dígitos hexadecimales. Se esperan {tries} intentos.",
|
||||
"imageMessages_enableTitle": "Mensajes de imagen",
|
||||
"imageMessages_enableSubtitle": "Enviar imágenes a través de la malla. Requiere la descarga de un modelo de imagen único.",
|
||||
"imageMessages_modelSectionTitle": "Modelo de imagen",
|
||||
"imageMessages_downloadModel": "Descargar",
|
||||
"imageMessages_cancelDownload": "Cancelar",
|
||||
"imageMessages_removeModel": "Eliminar modelo",
|
||||
"imageMessages_modelReady": "Listo",
|
||||
"imageMessages_modelNotPublished": "Aún no publicado — esta versión no puede descargarlo.",
|
||||
"imageMessages_downloadFailed": "El modelo de imagen no pudo ser descargado.",
|
||||
"imageMessages_autoProcessTitle": "Procesar imágenes automáticamente",
|
||||
"imageMessages_autoProcessSubtitle": "Reconstruya cada imagen tan pronto como llegue. Utiliza aproximadamente 2 GB de memoria durante un segundo cada vez; desactívelo para reconstruir con un toque.",
|
||||
"imageSend_title": "Enviar imagen",
|
||||
"imageSend_cropNote": "Redimensionado a 512 × 512 · la relación de aspecto no se conservó",
|
||||
"imageSend_originalSize": "Texto original",
|
||||
"imageSend_onAirSize": "En emisión",
|
||||
"imageSend_quality": "Calidad",
|
||||
"imageSend_qualityStandard": "Estándar",
|
||||
"imageSend_qualityHigh": "Alto",
|
||||
"imageSend_packetsLabel": "Paquetes",
|
||||
"imageSend_airtimeLabel": "Tiempo en pantalla",
|
||||
"imageSend_sizeLabel": "Carga útil",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{paquete} other{paquetes}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Configuración de radio desconocida",
|
||||
"imageSend_radioUnknownBody": "Conéctese a un dispositivo para que se pueda calcular la hora de transmisión.",
|
||||
"imageSend_longSendTitle": "Larga transmisión",
|
||||
"imageSend_longSendBody": "Esto mantendrá el canal durante aproximadamente {duration}.",
|
||||
"imageSend_floodNote": "Enrutamiento de inundación: cada repetidor dentro del rango retransmite cada paquete, por lo que el canal permanece ocupado durante más tiempo que esto.",
|
||||
"imageSend_parityTitle": "Paquete de recuperación",
|
||||
"imageSend_paritySubtitle": "Un paquete adicional. Los mensajes grupales no son reconocidos, por lo que esto permite al receptor reconstruir la imagen si se pierde un solo paquete.",
|
||||
"imageSend_send": "Enviar",
|
||||
"imageSend_cancel": "Cancelar",
|
||||
"imageSend_encodeFailed": "Esta imagen no pudo ser codificada.",
|
||||
"imageSend_codecDownloading": "El modelo de imagen todavía se está descargando.",
|
||||
"imageSend_codecUnavailable": "El envío de imágenes no está disponible en este dispositivo.",
|
||||
"imageSend_codecDisabled": "Los mensajes de imagen están desactivados en la configuración.",
|
||||
"imageSend_deviceUnsupported": "Esta radio no puede enviar paquetes de imagen. Conecte un dispositivo con el firmware Companion versión 13 o superior.",
|
||||
"imageSend_directMessagesUnsupported": "Las imágenes se transmiten como datos grupales, por lo que solo se pueden enviar a un canal, no mediante mensajes directos.",
|
||||
"imageSend_tooLarge": "Esa imagen se codificó en más paquetes de los que permite el formato de malla.",
|
||||
"imageSend_sentConfirmation": "Imagen enviada como {count} {count, plural, =1{paquete} other{paquetes}}.",
|
||||
"imageSend_sendFailed": "La imagen no pudo ser enviada: {error}",
|
||||
"imageSend_sendingProgress": "Envío de imagen — paquete {sent} de {total}",
|
||||
"receivedImage_senderPrefix": "Nodo {prefix}",
|
||||
"receivedImage_incoming": "{received} de {total} paquetes",
|
||||
"receivedImage_queued": "Esperando descifrar",
|
||||
"receivedImage_tapToDecode": "Toque para decodificar",
|
||||
"receivedImage_decoding": "Reconstruyendo… aproximadamente 1 segundo",
|
||||
"receivedImage_incomplete": "Imagen incompleta — {received} de {total} paquetes llegados",
|
||||
"receivedImage_corrupt": "La imagen no pudo ser reconstruida",
|
||||
"receivedImage_decoderMissing": "Imagen recibida — la decodificación de la imagen no funciona",
|
||||
"receivedImage_evicted": "Imagen ya no almacenada",
|
||||
"receivedImage_retry": "Inténtalo de nuevo",
|
||||
"receivedImage_decodeAgain": "Decodificar de nuevo",
|
||||
"receivedImage_openSettings": "Configurar",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+262
-6
@@ -507,6 +507,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Sélectionner une action d’envoi",
|
||||
"chat_sendGif": "Envoyer un GIF",
|
||||
"chat_reply": "Répondre",
|
||||
"chat_addReaction": "Ajouter une réaction",
|
||||
@@ -1304,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 ».",
|
||||
@@ -1337,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'.",
|
||||
@@ -2393,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.",
|
||||
@@ -2424,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.",
|
||||
@@ -2739,5 +2740,260 @@
|
||||
"pathMap_noLocation": "Aucune localisation",
|
||||
"pathMap_followPacket": "Verrouiller la vue sur le paquet",
|
||||
"pathMap_unfollowPacket": "Déverrouiller la vue du paquet",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Régions",
|
||||
"settings_regionSettingsSubtitle": "Gérer les régions stockées",
|
||||
"settings_regionManagement_screenTitle": "Gestion de région",
|
||||
"settings_regionNameHint": "Entrer le nom de la région",
|
||||
"settings_regionAddRegion": "Ajouter une région",
|
||||
"settings_regionFetchRegions": "Récupérer les régions à partir des répéteurs",
|
||||
"settings_regionFetchRegionsFail": "Aucune région n'a été trouvée",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Cette région a déjà été ajoutée",
|
||||
"settings_regionName": "Nom de la région",
|
||||
"settings_regionDeleted": "Région supprimée",
|
||||
"settings_deleteRegion": "Supprimer la région",
|
||||
"settings_deleteRegionConfirm": "Supprimez {region} de la liste des régions ?",
|
||||
"settings_infoHardware": "Matériel",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 octet",
|
||||
"repeater_pathHashModeOption1": "1 à 2 octets",
|
||||
"repeater_pathHashModeOption2": "2 à 3 octets",
|
||||
"repeater_pathHashModeOption3": "3 à 4 octets",
|
||||
"appSettings_batteryLipoHv": "Tension élevée LiPo (3,0-4,35 V)",
|
||||
"channels_regionSetTo": "Région : {region}",
|
||||
"channels_regionNotSet": "Région : aucune",
|
||||
"channels_regionSelect_Title": "Choisissez une région",
|
||||
"channels_clearRegion": "Zone dégagée",
|
||||
"chat_sendImageLora": "Envoyer une image via MeshCore",
|
||||
"chat_imagePickFailed": "Je n'ai pas pu ouvrir cette image",
|
||||
"chat_receivedGif": "Reçu un GIF",
|
||||
"repeater_keySettings": "Modifier les clés d'identité",
|
||||
"repeater_keySettingsSubtitle": "Modifier la paire de clés publique/privée",
|
||||
"repeater_prvKey": "Clé privée",
|
||||
"repeater_prvKeyHelper": "Une nouvelle clé privée pour le répéteur, une chaîne hexadécimale de 128 caractères.",
|
||||
"repeater_generatePrvKey": "Générez une paire de clés aléatoire",
|
||||
"repeater_stopGeneratingPrvKey": "Arrêter la recherche de la paire de clés",
|
||||
"repeater_pubKey": "Clé publique",
|
||||
"repeater_pubKeyHelper": "Voici la clé publique associée à la clé privée générée. Vous ne pouvez pas la définir directement.",
|
||||
"repeater_pubKeyPrefix": "Préfixe souhaité",
|
||||
"repeater_pubKeyPrefixHelper": "Trouvez une clé publique qui commence par ces chiffres hexadécimaux. Nombre de tentatives nécessaires : {tries}.",
|
||||
"imageMessages_enableTitle": "Messages avec images",
|
||||
"imageMessages_enableSubtitle": "Envoyer des images via le maillage. Nécessite un téléchargement unique du modèle d'image.",
|
||||
"imageMessages_modelSectionTitle": "Modèle d'image",
|
||||
"imageMessages_downloadModel": "Télécharger",
|
||||
"imageMessages_cancelDownload": "Annuler",
|
||||
"imageMessages_removeModel": "Supprimer le modèle",
|
||||
"imageMessages_modelReady": "Prêt",
|
||||
"imageMessages_modelNotPublished": "Non publié — cette version ne peut pas le télécharger.",
|
||||
"imageMessages_downloadFailed": "Le modèle d'image ne pouvait pas être téléchargé.",
|
||||
"imageMessages_autoProcessTitle": "Traiter automatiquement les images",
|
||||
"imageMessages_autoProcessSubtitle": "Reconstruisez chaque image dès son arrivée. Cela utilise environ 2 Go de mémoire pendant une seconde à chaque fois ; désactivez la reconstruction au toucher pour éviter cela.",
|
||||
"imageSend_title": "Envoyer l'image",
|
||||
"imageSend_cropNote": "Redimensionné à 512 × 512 · le rapport d’aspect n’a pas été conservé",
|
||||
"imageSend_originalSize": "Texte original\n\nVeuillez traduire le texte suivant en français :",
|
||||
"imageSend_onAirSize": "En direct",
|
||||
"imageSend_quality": "Qualité",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "Haut",
|
||||
"imageSend_packetsLabel": "Paquets",
|
||||
"imageSend_airtimeLabel": "Durée de diffusion",
|
||||
"imageSend_sizeLabel": "Charge utile",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{paquet} other{paquets}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Réglages de la radio inconnus",
|
||||
"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 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",
|
||||
"imageSend_cancel": "Annuler",
|
||||
"imageSend_encodeFailed": "Cette image ne peut pas être encodée.",
|
||||
"imageSend_codecDownloading": "Le modèle d'image est toujours en téléchargement.",
|
||||
"imageSend_codecUnavailable": "L'envoi d'images n'est pas disponible sur cet appareil.",
|
||||
"imageSend_codecDisabled": "Les messages d'images sont désactivés dans les paramètres.",
|
||||
"imageSend_deviceUnsupported": "Cette radio ne peut pas envoyer de paquets d'images. Connectez un appareil exécutant le firmware compagnon version 13 ou ultérieure.",
|
||||
"imageSend_directMessagesUnsupported": "Les images se déplacent en tant que données de groupe, elles ne peuvent donc être envoyées que sur un canal — et non par message direct.",
|
||||
"imageSend_tooLarge": "Cette image a été encodée en plus de paquets que le format de maillage ne permet.",
|
||||
"imageSend_sentConfirmation": "Image envoyée en {count} {count, plural, =1{paquet} other{paquets}}.",
|
||||
"imageSend_sendFailed": "L'image n'a pas pu être envoyée : {error}",
|
||||
"imageSend_sendingProgress": "Envoi de l'image — paquet {sent} sur {total}",
|
||||
"receivedImage_senderPrefix": "Nœud {prefix}",
|
||||
"receivedImage_incoming": "{received} sur {total} paquets",
|
||||
"receivedImage_queued": "En attendant de décoder",
|
||||
"receivedImage_tapToDecode": "Tapez pour décoder",
|
||||
"receivedImage_decoding": "Reconstitution… d’environ 1 s",
|
||||
"receivedImage_incomplete": "Image incomplète — {received} sur {total} paquets reçus",
|
||||
"receivedImage_corrupt": "L'image ne pouvait pas être reconstruite",
|
||||
"receivedImage_decoderMissing": "Image reçue — le décodage de l'image est interrompu",
|
||||
"receivedImage_evicted": "Image non stockée",
|
||||
"receivedImage_retry": "Réessayez",
|
||||
"receivedImage_decodeAgain": "Décoder à nouveau",
|
||||
"receivedImage_openSettings": "Mettre en place",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+289
-32
@@ -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",
|
||||
@@ -657,6 +657,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Küldési művelet kiválasztása",
|
||||
"chat_sendGif": "GIF küldése",
|
||||
"chat_reply": "Válasz",
|
||||
"chat_addReaction": "Reakció hozzáadása",
|
||||
@@ -773,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}",
|
||||
@@ -794,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": {
|
||||
@@ -804,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}",
|
||||
@@ -1203,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": {
|
||||
@@ -1217,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": {
|
||||
@@ -1231,7 +1232,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "Árvíz: {flood}, Közvetlen: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "Elárasztás: {flood}, Közvetlen: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1278,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": {
|
||||
@@ -1288,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": {
|
||||
@@ -1335,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",
|
||||
@@ -1353,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",
|
||||
@@ -1368,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",
|
||||
@@ -1458,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.",
|
||||
@@ -1468,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)",
|
||||
@@ -1496,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.",
|
||||
@@ -1654,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ő",
|
||||
@@ -1696,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": {
|
||||
@@ -1904,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}",
|
||||
@@ -2059,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",
|
||||
@@ -2336,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.",
|
||||
@@ -2365,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 \"<null>\" 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.",
|
||||
@@ -2506,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.",
|
||||
@@ -2524,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",
|
||||
@@ -2643,5 +2644,261 @@
|
||||
"pathMap_noLocation": "Nincs hely",
|
||||
"pathMap_followPacket": "Nézet zárolása a csomaghoz",
|
||||
"pathMap_unfollowPacket": "A nézet feloldása a csomagból",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Tájak",
|
||||
"settings_regionSettingsSubtitle": "Kincstani megjelenítette gyakorlatos területeket",
|
||||
"settings_regionManagement_screenTitle": "Regionális Kezelés",
|
||||
"settings_regionNameHint": "Felhasználja a regioni név",
|
||||
"settings_regionAddRegion": "Egyes region",
|
||||
"settings_regionFetchRegions": "Féregelmezők a repeaterekból",
|
||||
"settings_regionFetchRegionsFail": "Nem található egyéb területek",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Ez a terítet nemisértették meg.",
|
||||
"settings_regionName": "Feldúr Neve",
|
||||
"settings_regionDeleted": "Felült region",
|
||||
"settings_deleteRegion": "Felajánlatos Tér",
|
||||
"settings_deleteRegionConfirm": "Kell kiszámítsd a {region}ot a részekre?",
|
||||
"settings_infoHardware": "Hardverő",
|
||||
"settings_infoFirmware": "Firmver",
|
||||
"repeater_pathHashModeOption0": "0 - 1 byte",
|
||||
"repeater_pathHashModeOption1": "1 - 2 szavak",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bajt",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bajt",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3.0-4.35V)",
|
||||
"channels_regionSetTo": "Tájékoztatás: A {region} -t\n\nEz a tájékoztatás a magyar nyelvben a következően kell szóva:\n\nTájékoztatás: A {region} -t",
|
||||
"channels_regionNotSet": "Tájékoztetés: nem",
|
||||
"channels_regionSelect_Title": "Válassz egy regionot",
|
||||
"channels_clearRegion": "Kéres kör",
|
||||
"chat_sendImageLora": "Kép küldése MeshCore-on keresztül",
|
||||
"chat_imagePickFailed": "Nem tudtam ezt a fenti fényre kapni",
|
||||
"chat_receivedGif": "GIF-ot kapott",
|
||||
"repeater_keySettings": "Képzőítsekei jelölt",
|
||||
"repeater_keySettingsSubtitle": "Közelítse a közlekedési/private képlékt",
|
||||
"repeater_prvKey": "Kis házas",
|
||||
"repeater_prvKeyHelper": "Kínai nyelvben:\n\nA repeteróhoz új képes kód, 128 karakteri hex-kód.",
|
||||
"repeater_generatePrvKey": "Egy random képléktár generáld meg",
|
||||
"repeater_stopGeneratingPrvKey": "Kéypair szavakat kérdéset kaphatás",
|
||||
"repeater_pubKey": "Kiváló kiegészítő",
|
||||
"repeater_pubKeyHelper": "Ez a kiváló kód, amely tükrözi a gyártott kiegészítő kódot. Ezet nem lehet megjelenítani direktusan.",
|
||||
"repeater_pubKeyPrefix": "Kiváló prefix",
|
||||
"repeater_pubKeyPrefixHelper": "Kiválasztsa meg a közös kódot, amely az alábbi hex-kifüggőnek előre van. Várható kiválasztások száma: {tries}.",
|
||||
"imageMessages_enableTitle": "Fenti hírüket biztosítani",
|
||||
"imageMessages_enableSubtitle": "Fényokat a hálózatban küldd el. Egyértelmű fénymodell hozzáadásra kell.",
|
||||
"imageMessages_modelSectionTitle": "Image model",
|
||||
"imageMessages_downloadModel": "Hozzáladás",
|
||||
"imageMessages_cancelDownload": "Színviselés",
|
||||
"imageMessages_removeModel": "Kisnövezdés",
|
||||
"imageMessages_modelReady": "Hozzá",
|
||||
"imageMessages_modelNotPublished": "Érkeztetve nem — ez a építési módszert nem lehet lejobbítani.",
|
||||
"imageMessages_downloadFailed": "Életmódelmát nem tudtam hozni.",
|
||||
"imageMessages_autoProcessTitle": "Automatikusan kínaltatja fénybetek",
|
||||
"imageMessages_autoProcessSubtitle": "Minden fenti image-t kiválasztsa meg, amikor érkezik. Minden más esetben 2 GB fényre kell szükséges; megoldja a rekonstruálisi a támogatásra egy klikkel.",
|
||||
"imageSend_title": "Felhasználj az image",
|
||||
"imageSend_cropNote": "512 × 512 órák számára megosztva · képszöget nem biztosítva",
|
||||
"imageSend_originalSize": "Következtetés:",
|
||||
"imageSend_onAirSize": "Erőben",
|
||||
"imageSend_quality": "Hosszú Képesség",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "High: Magas",
|
||||
"imageSend_packetsLabel": "Paketek",
|
||||
"imageSend_airtimeLabel": "Kiválasztás a fent",
|
||||
"imageSend_sizeLabel": "Kártya",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{csomag} other{csomag}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Radiooldalok nem tudom",
|
||||
"imageSend_radioUnknownBody": "Kizárdhoz kapcsolódd a rendszert, hogy a súly az az álló időt lehet elismerni.",
|
||||
"imageSend_longSendTitle": "Uzun hírás",
|
||||
"imageSend_longSendBody": "Ez megbízható a kanal {duration}-n.",
|
||||
"imageSend_floodNote": "Fúró irányozás: Minden repeater a fúró körüléggel megköveti mindkét paketet, ezért a kanal eltartja más a lehetséges időt.",
|
||||
"imageSend_parityTitle": "Korzolás paksa",
|
||||
"imageSend_paritySubtitle": "Egy kibőbbes kapszula. Gruppos hírselek nem érkezik, ezért az empfangó nem kell elismerni a jel, ha egy egyes kapszula kaland, hogy nem teljesen érkezz.",
|
||||
"imageSend_send": "Keresés",
|
||||
"imageSend_cancel": "Színviselés",
|
||||
"imageSend_encodeFailed": "Ez a fényet nem tudtam kódolni.",
|
||||
"imageSend_codecDownloading": "Érdekesz az image model megstálása még van.",
|
||||
"imageSend_codecUnavailable": "Felhasználó észintje nem kapható ezen a rendszert.",
|
||||
"imageSend_codecDisabled": "Image hírletek belsőoldal elkalmáznak a konfigurációban.",
|
||||
"imageSend_deviceUnsupported": "Ez a radio nem tudja verseni színekfájltakat. Habilítd a kompatibilis firmware 13 vagy újabb versionot kapcsált eszközet.",
|
||||
"imageSend_directMessagesUnsupported": "Fényiak gyakorolják grupos adatban, ezért nem lehetek versenek egy hozzáfűzésre, csak egy kanalra.",
|
||||
"imageSend_tooLarge": "A figyelmetes fentet nem kínálhat a körközlettel ismétálás elterjesztésére.",
|
||||
"imageSend_sentConfirmation": "Kép elküldve {count} {count, plural, =1{csomagként} other{csomagként}}.",
|
||||
"imageSend_sendFailed": "Fentami nem tűnik: {error}",
|
||||
"imageSend_sendingProgress": "Felhasználó: Lehet a következőkét kifejezetet – {sent} paket {total}",
|
||||
"receivedImage_senderPrefix": "Node {prefix}",
|
||||
"receivedImage_incoming": "Kulcsfontosságú: Kiválasztja meg a {received} {total} paketot",
|
||||
"receivedImage_queued": "Kódoláshoz küldőzve",
|
||||
"receivedImage_tapToDecode": "Kódoláshoz klikd el",
|
||||
"receivedImage_decoding": "Korlátozás… egy 1 perc után",
|
||||
"receivedImage_incomplete": "Kérem, az {received} {total} paketet kapottak.",
|
||||
"receivedImage_corrupt": "Fény nem tudtam megrealítani",
|
||||
"receivedImage_decoderMissing": "Kezd az image — image decodálás nem kapható",
|
||||
"receivedImage_evicted": "Fény nem tartalmazva",
|
||||
"receivedImage_retry": "Kérem kell próbálni",
|
||||
"receivedImage_decodeAgain": "Kodoldó",
|
||||
"receivedImage_openSettings": "Jelzése",
|
||||
"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.)",
|
||||
"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."
|
||||
}
|
||||
+277
-63
@@ -140,6 +140,7 @@
|
||||
"settings_infoStatus": "Stato",
|
||||
"settings_infoBattery": "Batteria",
|
||||
"settings_infoPublicKey": "Chiave Pubblica",
|
||||
"settings_publicKeyCopied": "Chiave pubblica copiata",
|
||||
"settings_infoContactsCount": "Numero di contatti",
|
||||
"settings_infoChannelCount": "Numero di canali",
|
||||
"settings_presets": "Preset",
|
||||
@@ -191,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",
|
||||
@@ -551,6 +552,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Seleziona azione di invio",
|
||||
"chat_sendGif": "Invia GIF",
|
||||
"chat_reply": "Rispondi",
|
||||
"chat_addReaction": "Aggiungi Reazione",
|
||||
@@ -1221,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": {
|
||||
@@ -1233,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",
|
||||
@@ -1248,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",
|
||||
@@ -1338,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.",
|
||||
@@ -1348,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).",
|
||||
@@ -1376,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.",
|
||||
@@ -1736,7 +1738,6 @@
|
||||
"settings_locationGPSEnableSubtitle": "Abilita l'aggiornamento automatico della posizione tramite GPS.",
|
||||
"settings_locationIntervalSec": "Intervallo GPS (Secondi)",
|
||||
"settings_locationIntervalInvalid": "L'intervallo deve essere di almeno 60 secondi e inferiore a 86400 secondi.",
|
||||
"contacts_manageRoom": "Gestisci server stanza",
|
||||
"room_management": "Gestione del Server di Camera",
|
||||
"@community_joinConfirmation": {
|
||||
"placeholders": {
|
||||
@@ -1900,10 +1901,15 @@
|
||||
"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.",
|
||||
"contacts_scanQrCode": "Scansiona codice QR",
|
||||
"contacts_scanQrInstructions": "Inquadra un codice QR di un contatto MeshCore",
|
||||
"contacts_qrFromGallery": "Scansiona QR dalla galleria",
|
||||
"contacts_noQrCodeFound": "Nessun codice QR trovato nell'immagine selezionata.",
|
||||
"contacts_qrGalleryFailed": "Impossibile aprire la galleria.",
|
||||
"contacts_ShareContact": "Copia contatto negli Appunti",
|
||||
"contacts_contactImported": "Il contatto è stato importato.",
|
||||
"contacts_contactImportFailed": "Contatto non importato con successo.",
|
||||
@@ -1946,7 +1952,6 @@
|
||||
}
|
||||
},
|
||||
"notification_receivedNewMessage": "Nuovo messaggio ricevuto",
|
||||
"notification_receivedNewMessage": "Nuovo messaggio ricevuto",
|
||||
"settings_gpxExportRepeaters": "Esporta ripetitori / server di stanza in GPX",
|
||||
"settings_gpxExportContacts": "Esporta compagni in GPX",
|
||||
"settings_gpxExportSuccess": "Esportazione del file GPX completata con successo.",
|
||||
@@ -1962,7 +1967,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",
|
||||
@@ -2121,52 +2126,7 @@
|
||||
"listFilter_addToFavorites": "Aggiungi ai preferiti",
|
||||
"listFilter_removeFromFavorites": "Rimuovi dai preferiti",
|
||||
"listFilter_favorites": "Preferiti",
|
||||
"@contacts_searchFavorites": {
|
||||
"placeholders": {
|
||||
"number": {
|
||||
"type": "int"
|
||||
},
|
||||
"str": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@contacts_searchUsers": {
|
||||
"placeholders": {
|
||||
"number": {
|
||||
"type": "int"
|
||||
},
|
||||
"str": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@contacts_searchRepeaters": {
|
||||
"placeholders": {
|
||||
"number": {
|
||||
"type": "int"
|
||||
},
|
||||
"str": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@contacts_searchRoomServers": {
|
||||
"placeholders": {
|
||||
"number": {
|
||||
"type": "int"
|
||||
},
|
||||
"str": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contacts_searchUsers": "Cerca {number}{str} utenti...",
|
||||
"contacts_searchContactsNoNumber": "Cerca contatti...",
|
||||
"contacts_searchFavorites": "Cerca {number}{str} preferiti...",
|
||||
"contacts_unread": "Non letti",
|
||||
"contacts_searchRepeaters": "Cerca {number}{str} ripetitori...",
|
||||
"contacts_searchRoomServers": "Cerca {number}{str} server stanza...",
|
||||
"contactsSettings_title": "Impostazioni dei contatti",
|
||||
"settings_contactSettings": "Impostazioni di contatto",
|
||||
"contactsSettings_otherTitle": "Altre impostazioni relative ai contatti",
|
||||
@@ -2472,7 +2432,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.",
|
||||
@@ -2786,5 +2746,259 @@
|
||||
"pathMap_noLocation": "Nessuna posizione",
|
||||
"pathMap_followPacket": "Blocca la vista sul pacchetto",
|
||||
"pathMap_unfollowPacket": "Sblocca la vista dal pacchetto",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regioni",
|
||||
"settings_regionSettingsSubtitle": "Gestione delle regioni salvate",
|
||||
"settings_regionManagement_screenTitle": "Gestione Regionale",
|
||||
"settings_regionNameHint": "Inserisci il nome della regione",
|
||||
"settings_regionAddRegion": "Aggiungi regione",
|
||||
"settings_regionFetchRegions": "Recupera le regioni dai ripetitori",
|
||||
"settings_regionFetchRegionsFail": "Non sono state trovate regioni",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Questa regione è già stata aggiunta",
|
||||
"settings_regionName": "Nome della Regione",
|
||||
"settings_regionDeleted": "Regione cancellata",
|
||||
"settings_deleteRegion": "Elimina Regione",
|
||||
"settings_deleteRegionConfirm": "Rimuovere \"{region}\" dalla lista delle regioni?",
|
||||
"settings_infoHardware": "Hardware",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 byte",
|
||||
"repeater_pathHashModeOption1": "1 - 2 byte",
|
||||
"repeater_pathHashModeOption2": "2 - 3 byte",
|
||||
"repeater_pathHashModeOption3": "3 - 4 byte",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3,0-4,35 V)",
|
||||
"channels_regionSetTo": "Regione: {region}",
|
||||
"channels_regionNotSet": "Regione: nessuna",
|
||||
"channels_regionSelect_Title": "Scegli una regione",
|
||||
"channels_clearRegion": "Zona chiara",
|
||||
"chat_sendImageLora": "Invia immagine tramite MeshCore",
|
||||
"chat_imagePickFailed": "Non sono riuscito ad aprire quell'immagine",
|
||||
"chat_receivedGif": "Ricevuto un GIF",
|
||||
"repeater_keySettings": "Cambia le Chiavi di Identità",
|
||||
"repeater_keySettingsSubtitle": "Cambia la coppia di chiavi pubblica/privata",
|
||||
"repeater_prvKey": "Chiave privata",
|
||||
"repeater_prvKeyHelper": "Una nuova chiave privata per il ripetitore, una stringa esadecimale di 128 caratteri.",
|
||||
"repeater_generatePrvKey": "Genera una coppia di chiavi casuale",
|
||||
"repeater_stopGeneratingPrvKey": "Interrompi la ricerca della coppia di chiavi",
|
||||
"repeater_pubKey": "Chiave pubblica",
|
||||
"repeater_pubKeyHelper": "Questa è la chiave pubblica che accompagna la chiave privata generata. Non è possibile impostarla direttamente.",
|
||||
"repeater_pubKeyPrefix": "Prefisso desiderato",
|
||||
"repeater_pubKeyPrefixHelper": "Trova una chiave pubblica che inizia con queste cifre esadecimali. Tentativi necessari previsti: {tries}.",
|
||||
"imageMessages_enableTitle": "Messaggi con immagini",
|
||||
"imageMessages_enableSubtitle": "Invia le immagini tramite la mesh. È necessario scaricare il modello dell'immagine una tantum.",
|
||||
"imageMessages_modelSectionTitle": "Modello di immagine",
|
||||
"imageMessages_downloadModel": "Scarica",
|
||||
"imageMessages_cancelDownload": "Annullare",
|
||||
"imageMessages_removeModel": "Rimuovi il modello",
|
||||
"imageMessages_modelReady": "Pronto",
|
||||
"imageMessages_modelNotPublished": "Non pubblicato ancora — questa versione non può scaricarlo.",
|
||||
"imageMessages_downloadFailed": "Il modello di immagine non può essere scaricato.",
|
||||
"imageMessages_autoProcessTitle": "Elabora automaticamente le immagini",
|
||||
"imageMessages_autoProcessSubtitle": "Ricostruisci ogni immagine non appena arriva. Utilizza circa 2 GB di memoria per un secondo ogni volta; disattiva la ricostruzione con un semplice tocco.",
|
||||
"imageSend_title": "Invia immagine",
|
||||
"imageSend_cropNote": "Ridimensionato a 512 × 512 · rapporto d'aspetto non conservato",
|
||||
"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)",
|
||||
"imageSend_onAirSize": "In onda",
|
||||
"imageSend_quality": "Qualità",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "Alto",
|
||||
"imageSend_packetsLabel": "Pacchetti",
|
||||
"imageSend_airtimeLabel": "Tempo in onda",
|
||||
"imageSend_sizeLabel": "Carico utile",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{pacchetto} other{pacchetti}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Impostazioni radio sconosciute",
|
||||
"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 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",
|
||||
"imageSend_cancel": "Annullare",
|
||||
"imageSend_encodeFailed": "Questa immagine non può essere codificata.",
|
||||
"imageSend_codecDownloading": "Il modello di immagine sta ancora scaricando.",
|
||||
"imageSend_codecUnavailable": "L'invio di immagini non è disponibile su questo dispositivo.",
|
||||
"imageSend_codecDisabled": "I messaggi immagine sono disattivati nelle impostazioni.",
|
||||
"imageSend_deviceUnsupported": "Questa radio non può inviare pacchetti di immagini. Collegare un dispositivo con firmware companion versione 13 o successiva.",
|
||||
"imageSend_directMessagesUnsupported": "Le immagini viaggiano come dati di gruppo, quindi possono essere inviate solo a un canale — non tramite messaggio diretto.",
|
||||
"imageSend_tooLarge": "Quella immagine è stata codificata in un numero di pacchetti superiore a quello consentito dal formato mesh.",
|
||||
"imageSend_sentConfirmation": "Immagine inviata come {count} {count, plural, =1{pacchetto} other{pacchetti}}.",
|
||||
"imageSend_sendFailed": "L'immagine non può essere inviata: {error}",
|
||||
"imageSend_sendingProgress": "Invio immagine — pacchetto {sent} di {total}",
|
||||
"receivedImage_senderPrefix": "Nodo {prefix}",
|
||||
"receivedImage_incoming": "{received} di {total} pacchetti",
|
||||
"receivedImage_queued": "In attesa di decodificare",
|
||||
"receivedImage_tapToDecode": "Tocca per decodificare",
|
||||
"receivedImage_decoding": "Ricostruire… circa 1 s",
|
||||
"receivedImage_incomplete": "Immagine incompleta — {received} su {total} pacchetti ricevuti",
|
||||
"receivedImage_corrupt": "L'immagine non potrebbe essere ricostruita",
|
||||
"receivedImage_decoderMissing": "Immagine ricevuta — decodifica dell'immagine non funzionante",
|
||||
"receivedImage_evicted": "Immagine non più memorizzata",
|
||||
"receivedImage_retry": "Prova ancora",
|
||||
"receivedImage_decodeAgain": "Decodifica di nuovo",
|
||||
"receivedImage_openSettings": "Imposta",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+305
-55
@@ -28,11 +28,11 @@
|
||||
"common_enable": "有効にする",
|
||||
"common_disable": "無効にする",
|
||||
"common_undo": "元に戻す",
|
||||
"messageStatus_sent": "送信済み",
|
||||
"messageStatus_delivered": "配信済み",
|
||||
"messageStatus_pending": "送信中",
|
||||
"messageStatus_failed": "送信に失敗",
|
||||
"messageStatus_repeated": "重複受信",
|
||||
"messageStatus_sent": "送信",
|
||||
"messageStatus_delivered": "配達",
|
||||
"messageStatus_pending": "送信",
|
||||
"messageStatus_failed": "送信できませんでした",
|
||||
"messageStatus_repeated": "何度も聞いた",
|
||||
"common_autoRefresh": "自動更新",
|
||||
"common_interval": "間隔",
|
||||
"common_reboot": "再起動",
|
||||
@@ -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}",
|
||||
@@ -675,6 +675,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "送信アクションを選択",
|
||||
"chat_sendGif": "GIF を送信",
|
||||
"chat_reply": "返信",
|
||||
"chat_addReaction": "リアクションを追加",
|
||||
@@ -1158,7 +1159,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"path_tooLong": "経路が長すぎる。最大64回のジャンプのみ許可。",
|
||||
"path_tooLong": "経路が長すぎる。最大64回のホップのみ許可。",
|
||||
"path_setPath": "パスを設定",
|
||||
"repeater_management": "リピータ管理",
|
||||
"room_management": "ルームサーバーの管理",
|
||||
@@ -1295,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": {
|
||||
@@ -1306,7 +1307,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_floodAdvertInterval": "フラッドに関する広告の表示間隔",
|
||||
"repeater_floodAdvertInterval": "フラッドに関するアドバートの表示間隔",
|
||||
"repeater_floodAdvertIntervalHours": "{hours} 時間",
|
||||
"@repeater_floodAdvertIntervalHours": {
|
||||
"placeholders": {
|
||||
@@ -1315,7 +1316,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_encryptedAdvertInterval": "暗号化された広告表示間",
|
||||
"repeater_encryptedAdvertInterval": "暗号化されたアドバート表示間",
|
||||
"repeater_dangerZone": "危険区域",
|
||||
"repeater_rebootRepeater": "リピータを再起動する",
|
||||
"repeater_rebootRepeaterSubtitle": "リピータデバイスを再起動する",
|
||||
@@ -1386,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} が成功しました",
|
||||
@@ -1474,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": "デバイス用の新しい管理者パスワードを設定します。",
|
||||
@@ -1490,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": "パケットを再送信する前に、遅延を設定する。",
|
||||
@@ -1512,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つのスペースが必要です)、空行/コマンドで終了します。",
|
||||
@@ -1528,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": "一般的な",
|
||||
@@ -2153,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": {
|
||||
@@ -2308,8 +2309,8 @@
|
||||
"settings_telemetryBaseMode": "テレメトリ基本モード",
|
||||
"settings_telemetryLocationMode": "テレメトリ位置特定モード",
|
||||
"settings_telemetryEnvironmentMode": "テレメトリ環境モード",
|
||||
"settings_advertLocation": "広告掲載場所",
|
||||
"settings_advertLocationSubtitle": "広告に場所を記載してください。",
|
||||
"settings_advertLocation": "アドバート位置",
|
||||
"settings_advertLocationSubtitle": "アドバートに位置情報を含めてください。",
|
||||
"settings_telemetryModeUpdated": "テレメトリモードが更新されました",
|
||||
"contact_info": "連絡先",
|
||||
"contact_settings": "連絡設定",
|
||||
@@ -2399,7 +2400,7 @@
|
||||
"repeater_sensors": "センサー",
|
||||
"repeater_cliHelpPowerOff": "デバイスをシャットダウンします。(応答は期待されていません)",
|
||||
"repeater_cliHelpClkReboot": "時計を既知の基準時点にリセットし、デバイスを再起動します。",
|
||||
"repeater_cliHelpAdvertZeroHop": "近隣のデバイスのみに、ゼロホップの広告を送信します。",
|
||||
"repeater_cliHelpAdvertZeroHop": "近隣のデバイスのみに、ゼロホップのアドバートを送信します。",
|
||||
"repeater_cliHelpStartOta": "サポートされているボードに対して、無線でファームウェアのアップデートを開始します。",
|
||||
"repeater_cliHelpTime": "デバイスのクロックを、指定されたUnixエポックの秒数に設定します。クロックは逆方向に進むことはできません。",
|
||||
"repeater_cliHelpBoard": "製造元の名前/ハードウェア識別子を表示します。",
|
||||
@@ -2410,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": "(シリアル設定のみ)特定の周波数のみを素早く設定できます。再起動が必要です。「ラジオ設定」を使用すると、ラジオのすべてのパラメータを設定できます。",
|
||||
@@ -2430,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": "設定された経度を表示します。",
|
||||
@@ -2597,13 +2598,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageStatus_delivered": "配達",
|
||||
"common_undo": "元に戻す",
|
||||
"messageStatus_pending": "送信",
|
||||
"messageStatus_sent": "送信",
|
||||
"messageStatus_failed": "送信できませんでした",
|
||||
"contacts_moreOptions": "さらに多くの選択肢",
|
||||
"messageStatus_repeated": "何度も聞いた",
|
||||
"contacts_searchOpen": "連絡先を検索する",
|
||||
"contacts_searchClose": "検索を終了",
|
||||
"routing_modeFlood": "フラッド",
|
||||
@@ -2745,5 +2740,260 @@
|
||||
"pathMap_noLocation": "位置情報なし",
|
||||
"pathMap_followPacket": "パケットを追跡",
|
||||
"pathMap_unfollowPacket": "パケットの追跡を解除",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "地域",
|
||||
"settings_regionSettingsSubtitle": "保存された領域の管理",
|
||||
"settings_regionManagement_screenTitle": "地域管理",
|
||||
"settings_regionNameHint": "地域名を入力してください",
|
||||
"settings_regionAddRegion": "地域を追加",
|
||||
"settings_regionFetchRegions": "リピーターからのフェッチ地域",
|
||||
"settings_regionFetchRegionsFail": "地域は見つかりませんでした",
|
||||
"settings_regionFetchRegionsAlreadyExists": "この地域はすでに追加されています。",
|
||||
"settings_regionName": "地域名",
|
||||
"settings_regionDeleted": "地域が削除されました",
|
||||
"settings_deleteRegion": "地域を削除",
|
||||
"settings_deleteRegionConfirm": "{region} を地域リストから削除しますか?",
|
||||
"settings_infoHardware": "ハードウェア",
|
||||
"settings_infoFirmware": "ファームウェア",
|
||||
"repeater_pathHashModeOption0": "0 - 1バイト",
|
||||
"repeater_pathHashModeOption1": "1〜2バイト",
|
||||
"repeater_pathHashModeOption2": "2〜3バイト",
|
||||
"repeater_pathHashModeOption3": "3〜4バイト",
|
||||
"appSettings_batteryLipoHv": "リポバッテリー HV(3.0〜4.35V)",
|
||||
"channels_regionSetTo": "地域:{region}",
|
||||
"channels_regionNotSet": "地域:なし",
|
||||
"channels_regionSelect_Title": "地域を選択する",
|
||||
"channels_clearRegion": "クリアな地域",
|
||||
"chat_sendImageLora": "MeshCore経由で画像を送信",
|
||||
"chat_imagePickFailed": "その画像を開けませんでした",
|
||||
"chat_receivedGif": "GIFを受け取りました",
|
||||
"repeater_keySettings": "アイデンティティキーの変更",
|
||||
"repeater_keySettingsSubtitle": "公開鍵/秘密鍵を変更する",
|
||||
"repeater_prvKey": "プライベートキー",
|
||||
"repeater_prvKeyHelper": "リピーター用の新しいプライベートキー。128文字の16進文字列です。",
|
||||
"repeater_generatePrvKey": "ランダムな鍵ペアを生成する",
|
||||
"repeater_stopGeneratingPrvKey": "キーペアの検索を中断",
|
||||
"repeater_pubKey": "公開鍵",
|
||||
"repeater_pubKeyHelper": "これは生成された秘密鍵に対応する公開鍵です。直接設定することはできません。",
|
||||
"repeater_pubKeyPrefix": "希望する接頭辞",
|
||||
"repeater_pubKeyPrefixHelper": "これらの16進数で始まる公開鍵を見つけてください。予想される試行回数: {tries}。",
|
||||
"imageMessages_enableTitle": "画像メッセージを有効にする",
|
||||
"imageMessages_enableSubtitle": "メッシュ経由で画像を送信してください。画像モデルを一度限りのダウンロードが必要です。",
|
||||
"imageMessages_modelSectionTitle": "画像モデル",
|
||||
"imageMessages_downloadModel": "ダウンロード",
|
||||
"imageMessages_cancelDownload": "キャンセル",
|
||||
"imageMessages_removeModel": "モデルを削除",
|
||||
"imageMessages_modelReady": "準備完了",
|
||||
"imageMessages_modelNotPublished": "まだ公開されていません — このビルドではダウンロードできません。",
|
||||
"imageMessages_downloadFailed": "画像モデルがダウンロードできませんでした。",
|
||||
"imageMessages_autoProcessTitle": "画像を自動的に処理する",
|
||||
"imageMessages_autoProcessSubtitle": "画像が届き次第、すぐに再構築してください。1回あたり約2GBのメモリを使用します。タップで再構築を解除できます。",
|
||||
"imageSend_title": "画像を送信",
|
||||
"imageSend_cropNote": "512 × 512にリサイズされました。アスペクト比は保持されませんでした。",
|
||||
"imageSend_originalSize": "原文:\nThe early morning light filtered through the curtains, casting a soft glow on the room.\n\n翻訳:\n早朝の光がカーテンをすり抜け、部屋に柔らかな光を投げかけていた。",
|
||||
"imageSend_onAirSize": "放送中",
|
||||
"imageSend_quality": "品質",
|
||||
"imageSend_qualityStandard": "標準",
|
||||
"imageSend_qualityHigh": "ハイ",
|
||||
"imageSend_packetsLabel": "パケット",
|
||||
"imageSend_airtimeLabel": "放送時間",
|
||||
"imageSend_sizeLabel": "ペイロード",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{パケット} other{パケット}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "ラジオの設定が不明です",
|
||||
"imageSend_radioUnknownBody": "放送時間の計算ができるように、デバイスに接続してください。",
|
||||
"imageSend_longSendTitle": "長距離伝送",
|
||||
"imageSend_longSendBody": "このチャンネルは約 {duration} 間保持されます。",
|
||||
"imageSend_floodNote": "フラッドルーティング:範囲内の各リピーターが各パケットを再送信するため、チャネルはこれよりも長く占有されたままになります。",
|
||||
"imageSend_parityTitle": "回復パケット",
|
||||
"imageSend_paritySubtitle": "追加のパケットが1つあります。グループメッセージは確認されないため、1つのパケットが失われても受信者が画像を再構築できます。",
|
||||
"imageSend_send": "送る",
|
||||
"imageSend_cancel": "キャンセル",
|
||||
"imageSend_encodeFailed": "この画像はエンコードできませんでした。",
|
||||
"imageSend_codecDownloading": "画像モデルはまだダウンロード中です。",
|
||||
"imageSend_codecUnavailable": "このデバイスでは画像送信が利用できません。",
|
||||
"imageSend_codecDisabled": "設定で画像メッセージはオフになっています。",
|
||||
"imageSend_deviceUnsupported": "このラジオは画像パケットを送信できません。コンパニオン ファームウェア 13 以降を実行しているデバイスを接続してください。",
|
||||
"imageSend_directMessagesUnsupported": "画像はグループデータとして送信されるため、ダイレクトメッセージではなくチャンネルに送ることができます。",
|
||||
"imageSend_tooLarge": "その画像は、メッシュ形式が許容するよりも多くのパケットにエンコードされています。",
|
||||
"imageSend_sentConfirmation": "{count} {count, plural, =1{パケット} other{パケット}}として画像を送信しました。",
|
||||
"imageSend_sendFailed": "画像を送信できませんでした:{error}",
|
||||
"imageSend_sendingProgress": "画像送信 — パケット {sent} 件、合計 {total} 件",
|
||||
"receivedImage_senderPrefix": "ノード {prefix}",
|
||||
"receivedImage_incoming": "{total} パケット中 {received} パケット",
|
||||
"receivedImage_queued": "復号を待っている",
|
||||
"receivedImage_tapToDecode": "デコードするにはタップしてください。",
|
||||
"receivedImage_decoding": "再構築… 約1秒",
|
||||
"receivedImage_incomplete": "画像が不完全です — {total} パケット中 {received} パケットが到着しました",
|
||||
"receivedImage_corrupt": "画像を再構成することはできませんでした",
|
||||
"receivedImage_decoderMissing": "画像を受信しました — 画像のデコードが失敗しました",
|
||||
"receivedImage_evicted": "画像はもう保存されていません",
|
||||
"receivedImage_retry": "もう一度試してください",
|
||||
"receivedImage_decodeAgain": "もう一度デコードしてください",
|
||||
"receivedImage_openSettings": "設定する",
|
||||
"receivedImage_tapToProcess": "処理するにはタップしてください",
|
||||
"receivedImage_awaiting": "{bytes} バイト・{packets} {packets, plural, =1{パケット} other{パケット}}",
|
||||
"imageSend_secondsValue": "{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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+323
-70
@@ -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} 연락처 검색...",
|
||||
@@ -657,6 +657,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "전송 작업 선택",
|
||||
"chat_sendGif": "GIF 보내기",
|
||||
"chat_reply": "답변",
|
||||
"chat_addReaction": "댓글 추가",
|
||||
@@ -750,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": {
|
||||
@@ -773,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}",
|
||||
@@ -794,7 +795,7 @@
|
||||
"chat_path": "경로",
|
||||
"chat_publicKey": "공개 키",
|
||||
"chat_compressOutgoingMessages": "전송되는 메시지 압축",
|
||||
"chat_floodForced": "플러드 (강제)",
|
||||
"chat_floodForced": "플러딩 (강제)",
|
||||
"chat_directForced": "직접 (강제)",
|
||||
"chat_hopsForced": "{count}홉 (강제)",
|
||||
"@chat_hopsForced": {
|
||||
@@ -804,7 +805,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_floodAuto": "플러드 (자동)",
|
||||
"chat_floodAuto": "플러딩 (자동)",
|
||||
"chat_direct": "직접",
|
||||
"chat_poiShared": "공유된 POI",
|
||||
"chat_unread": "읽지 않음: {count}",
|
||||
@@ -1082,7 +1083,7 @@
|
||||
"login_routing": "라우팅",
|
||||
"login_routingMode": "라우팅 모드",
|
||||
"login_autoUseSavedPath": "자동 (저장된 경로 사용)",
|
||||
"login_forceFloodMode": "강수 모드 활성화",
|
||||
"login_forceFloodMode": "플러딩 모드 강제 활성화",
|
||||
"login_managePaths": "경로 관리",
|
||||
"login_login": "로그인",
|
||||
"login_attempt": "시도 {current}/{max}",
|
||||
@@ -1158,7 +1159,7 @@
|
||||
"repeater_statusTitle": "반복 장치 상태",
|
||||
"repeater_routingMode": "라우팅 방식",
|
||||
"repeater_autoUseSavedPath": "자동 (저장된 경로 사용)",
|
||||
"repeater_forceFloodMode": "강수 모드 활성화",
|
||||
"repeater_forceFloodMode": "플러딩 모드 강제 활성화",
|
||||
"repeater_pathManagement": "경로 관리",
|
||||
"repeater_refresh": "새롭게",
|
||||
"repeater_statusRequestTimeout": "상태 확인 요청이 시간 초과되었습니다.",
|
||||
@@ -1203,7 +1204,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_packetTxTotal": "총: {total}, 홍수: {flood}, 직접: {direct}",
|
||||
"repeater_packetTxTotal": "총: {total}, 플러딩: {flood}, 직접: {direct}",
|
||||
"@repeater_packetTxTotal": {
|
||||
"placeholders": {
|
||||
"total": {
|
||||
@@ -1217,7 +1218,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_packetRxTotal": "총: {total}, 홍수: {flood}, 직접: {direct}",
|
||||
"repeater_packetRxTotal": "총: {total}, 플러딩: {flood}, 직접: {direct}",
|
||||
"@repeater_packetRxTotal": {
|
||||
"placeholders": {
|
||||
"total": {
|
||||
@@ -1231,7 +1232,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "홍수: {flood}, 직접: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "플러딩: {flood}, 직접: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1277,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": {
|
||||
@@ -1288,7 +1289,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_floodAdvertInterval": "홍수 광고 간격",
|
||||
"repeater_floodAdvertInterval": "플러딩 어드버트 간격",
|
||||
"repeater_floodAdvertIntervalHours": "{hours} 시간",
|
||||
"@repeater_floodAdvertIntervalHours": {
|
||||
"placeholders": {
|
||||
@@ -1297,7 +1298,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_encryptedAdvertInterval": "암호화된 광고 간격",
|
||||
"repeater_encryptedAdvertInterval": "암호화된 어드버트 간격",
|
||||
"repeater_dangerZone": "위험 구역",
|
||||
"repeater_rebootRepeater": "리부트 반복",
|
||||
"repeater_rebootRepeaterSubtitle": "리피터 장치를 재시작하세요.",
|
||||
@@ -1358,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": "간섭 허용치",
|
||||
@@ -1368,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}이 성공적으로 완료되었습니다.",
|
||||
@@ -1456,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": "장치에 새로운 관리자 비밀번호를 설정합니다.",
|
||||
@@ -1468,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": "공통 패킷의 전송 지연 시간을 설정하며, 시간-공기 시간과 무작위 슬롯 시스템을 곱하여 충돌 가능성을 줄입니다.",
|
||||
@@ -1494,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": "주어진 이름으로 지역 정의를 추가하거나 업데이트합니다.",
|
||||
@@ -1510,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": "일반",
|
||||
@@ -1696,7 +1697,7 @@
|
||||
}
|
||||
},
|
||||
"channelPath_unknownPath": "알 수 없음",
|
||||
"channelPath_floodPath": "홍수",
|
||||
"channelPath_floodPath": "플러딩",
|
||||
"channelPath_directPath": "직접",
|
||||
"channelPath_observedZeroOf": "{total} 중 0개",
|
||||
"@channelPath_observedZeroOf": {
|
||||
@@ -2058,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": {
|
||||
@@ -2213,8 +2214,8 @@
|
||||
"settings_telemetryBaseMode": "원격 모니터링 기본 설정",
|
||||
"settings_telemetryLocationMode": "텔레메트리 위치 모드",
|
||||
"settings_telemetryEnvironmentMode": "텔레메트리 환경 모드",
|
||||
"settings_advertLocation": "광고 위치",
|
||||
"settings_advertLocationSubtitle": "광고에 위치 정보를 포함하세요.",
|
||||
"settings_advertLocation": "어드버트 위치",
|
||||
"settings_advertLocationSubtitle": "어드버트에 위치 정보를 포함하세요.",
|
||||
"settings_telemetryModeUpdated": "텔레메트리 모드 업데이트 완료",
|
||||
"contact_info": "연락처",
|
||||
"contact_settings": "연락처 설정",
|
||||
@@ -2304,7 +2305,7 @@
|
||||
"repeater_sensors": "센서",
|
||||
"repeater_cliHelpPowerOff": "장치를 끄는 기능 (응답이 없을 것으로 예상)",
|
||||
"repeater_cliHelpClkReboot": "시계를 알려진 시점으로 재설정하고 장치를 재부팅합니다.",
|
||||
"repeater_cliHelpAdvertZeroHop": "직접적인 연결 없이 이웃에게만 광고를 전송합니다.",
|
||||
"repeater_cliHelpAdvertZeroHop": "직접적인 연결 없이 이웃에게만 어드버트를 전송합니다.",
|
||||
"repeater_cliHelpStartOta": "지원되는 보드에서 무선으로 펌웨어 업데이트를 시작합니다.",
|
||||
"repeater_cliHelpTime": "장치를 주어진 유닉스 에포크 초부터 시간으로 설정합니다. 시간은 이전으로 이동할 수 없습니다.",
|
||||
"repeater_cliHelpBoard": "제조사/하드웨어 식별 정보를 표시합니다.",
|
||||
@@ -2315,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": "(단일 기능) 특정 주파수만 빠르게 설정합니다. 재부팅이 필요합니다. 전체 라디오 파라미터 설정에는 \"라디오 설정\" 기능을 사용하는 것이 좋습니다.",
|
||||
@@ -2335,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": "루프 탐지 감도를 보여줍니다.",
|
||||
@@ -2365,8 +2366,8 @@
|
||||
"repeater_cliHelpSensorList": "사용자 정의 센서 설정 목록을, 선택적으로 지정된 시작 인덱스부터 페이지 나누어 표시합니다.",
|
||||
"repeater_cliHelpRegionDefault": "현재 기본 지역 범위를 보여줍니다.",
|
||||
"repeater_cliHelpRegionDefaultSet": "기본 지역 범위를 설정합니다. \"<null>\"을 사용하여 초기화합니다.",
|
||||
"repeater_cliHelpRegionListAllowed": "홍수 피해 차량 통행이 가능한 지역 목록",
|
||||
"repeater_cliHelpRegionListDenied": "홍수 발생 시 통행 금지 지역 목록",
|
||||
"repeater_cliHelpRegionListAllowed": "플러딩 트래픽이 허용되는 지역 목록",
|
||||
"repeater_cliHelpRegionListDenied": "플러딩 트래픽이 금지되는 지역 목록",
|
||||
"repeater_cliHelpStatsPackets": "(전송 속도만 표시) 패킷 수준의 통계 정보를 보여줍니다.",
|
||||
"repeater_cliHelpStatsRadio": "(특정 시리즈만 해당) 라디오 통계 정보를 표시합니다.",
|
||||
"repeater_cliHelpStatsCore": "(시리얼 번호만 표시) 핵심 펌웨어 통계 정보를 보여줍니다.",
|
||||
@@ -2495,13 +2496,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageStatus_pending": "발송",
|
||||
"messageStatus_sent": "발송",
|
||||
"messageStatus_delivered": "배송 완료",
|
||||
"common_undo": "되돌리기",
|
||||
"messageStatus_pending": "전송 중",
|
||||
"messageStatus_sent": "전송됨",
|
||||
"messageStatus_delivered": "전달됨",
|
||||
"common_undo": "되돌리기",
|
||||
"messageStatus_failed": "전송 실패",
|
||||
"messageStatus_repeated": "반복 수신됨",
|
||||
"contacts_searchOpen": "연락처 검색",
|
||||
@@ -2509,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": "현재 경로",
|
||||
@@ -2527,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": "아직 홉이 추가되지 않았습니다. 아래 탭을 사용해 순서대로 추가하거나, 홉 없이 바로 보내려면 \"홉 없음\"으로 저장하세요.",
|
||||
@@ -2742,5 +2740,260 @@
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "지역",
|
||||
"settings_regionSettingsSubtitle": "저장된 지역 관리",
|
||||
"settings_regionManagement_screenTitle": "지역 관리",
|
||||
"settings_regionNameHint": "지역 이름 입력",
|
||||
"settings_regionAddRegion": "지역 추가",
|
||||
"settings_regionFetchRegions": "리피터에서 지역을 가져옵니다.",
|
||||
"settings_regionFetchRegionsFail": "어떤 지역도 발견되지 않았습니다.",
|
||||
"settings_regionFetchRegionsAlreadyExists": "이 지역은 이미 추가되었습니다.",
|
||||
"settings_regionName": "지역 이름",
|
||||
"settings_regionDeleted": "지역 삭제",
|
||||
"settings_deleteRegion": "지역 삭제",
|
||||
"settings_deleteRegionConfirm": "\"{region}\"을(를) 지역 목록에서 삭제하시겠습니까?",
|
||||
"settings_infoHardware": "하드웨어",
|
||||
"settings_infoFirmware": "펌웨어",
|
||||
"repeater_pathHashModeOption0": "0 - 1 바이트",
|
||||
"repeater_pathHashModeOption1": "1~2 바이트",
|
||||
"repeater_pathHashModeOption2": "2 - 3 바이트",
|
||||
"repeater_pathHashModeOption3": "3 - 4 바이트",
|
||||
"appSettings_batteryLipoHv": "리포 HV (3.0-4.35V)",
|
||||
"channels_regionSetTo": "지역: {region}",
|
||||
"channels_regionNotSet": "지역: 없음",
|
||||
"channels_regionSelect_Title": "지역을 선택하세요",
|
||||
"channels_clearRegion": "명확한 지역",
|
||||
"chat_sendImageLora": "MeshCore를 통해 이미지 보내기",
|
||||
"chat_imagePickFailed": "그 이미지를 열 수 없었어요.",
|
||||
"chat_receivedGif": "GIF를 받았습니다",
|
||||
"repeater_keySettings": "신원 키 변경",
|
||||
"repeater_keySettingsSubtitle": "공개/비공개 키 쌍을 변경하세요",
|
||||
"repeater_prvKey": "개인 키",
|
||||
"repeater_prvKeyHelper": "리피터의 새로운 개인 키로, 128자리의 16진수 문자열입니다.",
|
||||
"repeater_generatePrvKey": "임의의 키 쌍을 생성하세요.",
|
||||
"repeater_stopGeneratingPrvKey": "키페어 검색 중단",
|
||||
"repeater_pubKey": "공개 키",
|
||||
"repeater_pubKeyHelper": "이것은 생성된 개인 키와 함께 사용되는 공개 키입니다. 직접 설정할 수 없습니다.",
|
||||
"repeater_pubKeyPrefix": "원하는 접두사",
|
||||
"repeater_pubKeyPrefixHelper": "이러한 16진수로 시작하는 공개 키를 찾으세요. 필요한 시도 횟수: {tries}.",
|
||||
"imageMessages_enableTitle": "이미지 메시지 활성화",
|
||||
"imageMessages_enableSubtitle": "메시를 통해 이미지를 전송하세요. 일회성 이미지 모델 다운로드가 필요합니다.",
|
||||
"imageMessages_modelSectionTitle": "이미지 모델",
|
||||
"imageMessages_downloadModel": "다운로드",
|
||||
"imageMessages_cancelDownload": "취소",
|
||||
"imageMessages_removeModel": "모델 제거",
|
||||
"imageMessages_modelReady": "준비 완료",
|
||||
"imageMessages_modelNotPublished": "아직 출판되지 않았습니다 — 이 빌드로는 다운로드할 수 없습니다.",
|
||||
"imageMessages_downloadFailed": "이미지 모델을 다운로드할 수 없었습니다.",
|
||||
"imageMessages_autoProcessTitle": "자동으로 프로세스 이미지를 처리합니다.",
|
||||
"imageMessages_autoProcessSubtitle": "이미지가 도착하는 즉시 재구성하세요. 매번 2GB의 메모리를 사용하며, 탭으로 재구성을 원할 경우 해제하세요.",
|
||||
"imageSend_title": "이미지를 보내세요",
|
||||
"imageSend_cropNote": "512 × 512로 크기가 조정되었으며, 종횡비는 유지되지 않았습니다.",
|
||||
"imageSend_originalSize": "원문 없음",
|
||||
"imageSend_onAirSize": "방송 중",
|
||||
"imageSend_quality": "품질",
|
||||
"imageSend_qualityStandard": "표준",
|
||||
"imageSend_qualityHigh": "높다",
|
||||
"imageSend_packetsLabel": "패킷",
|
||||
"imageSend_airtimeLabel": "방송 시간",
|
||||
"imageSend_sizeLabel": "페이로드",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{패킷} other{패킷}}",
|
||||
"imageSend_range": "{min}~{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "라디오 설정 정보 없음",
|
||||
"imageSend_radioUnknownBody": "방송 시간을 계산할 수 있도록 기기와 연결하세요.",
|
||||
"imageSend_longSendTitle": "장거리 송신",
|
||||
"imageSend_longSendBody": "이것은 약 {duration} 동안 채널을 유지할 것입니다.",
|
||||
"imageSend_floodNote": "플러딩 라우팅: 범위 내의 모든 리피터가 각 패킷을 재전송하므로, 채널이 이보다 더 오래 점유 상태를 유지합니다.",
|
||||
"imageSend_parityTitle": "회복 패킷",
|
||||
"imageSend_paritySubtitle": "추가 한 개의 패킷입니다. 그룹 메시지는 확인되지 않으므로, 하나의 패킷이 손실되었을 경우 수신자가 이미지를 다시 구성할 수 있습니다.",
|
||||
"imageSend_send": "보내다",
|
||||
"imageSend_cancel": "취소",
|
||||
"imageSend_encodeFailed": "이 이미지는 인코딩할 수 없습니다.",
|
||||
"imageSend_codecDownloading": "이미지 모델이 아직 다운로드 중입니다.",
|
||||
"imageSend_codecUnavailable": "이 기기에서는 이미지 전송이 불가능합니다.",
|
||||
"imageSend_codecDisabled": "설정에서 이미지 메시지가 꺼져 있습니다.",
|
||||
"imageSend_deviceUnsupported": "이 라디오는 이미지 패킷을 전송할 수 없습니다. 컴패니언 펌웨어 13 이상을 실행하는 장치를 연결해 주세요.",
|
||||
"imageSend_directMessagesUnsupported": "이미지는 그룹 데이터로 전송되므로, 직접 메시지가 아닌 채널로만 보낼 수 있습니다.",
|
||||
"imageSend_tooLarge": "그 이미지는 메시 형식이 허용하는 것보다 더 많은 패킷으로 인코딩되었습니다.",
|
||||
"imageSend_sentConfirmation": "이미지가 {count} {count, plural, =1{패킷} other{패킷}}로 전송되었습니다.",
|
||||
"imageSend_sendFailed": "이미지를 보낼 수 없습니다: {error}",
|
||||
"imageSend_sendingProgress": "이미지 전송 — {sent}개의 {total} 패킷",
|
||||
"receivedImage_senderPrefix": "노드 {prefix}",
|
||||
"receivedImage_incoming": "{total}개 패킷 중 {received}개",
|
||||
"receivedImage_queued": "해독을 기다리는 중입니다.",
|
||||
"receivedImage_tapToDecode": "해독하려면 탭을 누르세요.",
|
||||
"receivedImage_decoding": "재구성하는… 약 1초 정도",
|
||||
"receivedImage_incomplete": "이미지 불완전 — {total}개 중 {received}개 패킷 수신됨",
|
||||
"receivedImage_corrupt": "이미지는 재구성될 수 없습니다.",
|
||||
"receivedImage_decoderMissing": "수신된 이미지 — 이미지 해독이 되지 않았습니다",
|
||||
"receivedImage_evicted": "이미지는 더 이상 저장되지 않았습니다.",
|
||||
"receivedImage_retry": "다시 시도해 보세요",
|
||||
"receivedImage_decodeAgain": "다시 해독하다",
|
||||
"receivedImage_openSettings": "설정하다",
|
||||
"receivedImage_tapToProcess": "처리하려면 탭을 누르세요.",
|
||||
"receivedImage_awaiting": "{bytes} 바이트 · {packets} {packets, plural, =1{패킷} other{패킷}}",
|
||||
"imageSend_secondsValue": "{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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1033
-25
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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,45 @@ 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';
|
||||
|
||||
@override
|
||||
String get urlImage_possible => 'Possible URL image; enable it in Settings.';
|
||||
|
||||
@override
|
||||
String get common_reboot => 'Reboot';
|
||||
|
||||
@@ -363,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';
|
||||
@@ -476,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';
|
||||
@@ -502,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';
|
||||
|
||||
@@ -605,23 +675,39 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get settings_infoPublicKey => 'Public Key';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopied => 'Public key copied';
|
||||
|
||||
@override
|
||||
String get settings_infoContactsCount => 'Contacts Count';
|
||||
|
||||
@override
|
||||
String get settings_infoChannelCount => 'Channel Count';
|
||||
|
||||
@override
|
||||
String get settings_infoHardware => 'Hardware';
|
||||
|
||||
@override
|
||||
String get settings_infoFirmware => 'Firmware';
|
||||
|
||||
@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';
|
||||
@@ -636,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) {
|
||||
@@ -727,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';
|
||||
@@ -772,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';
|
||||
@@ -882,6 +1016,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get appSettings_batteryLipo => 'LiPo (3.0-4.2V)';
|
||||
|
||||
@override
|
||||
String get appSettings_batteryLipoHv => 'LiPo HV (3.0-4.35V)';
|
||||
|
||||
@override
|
||||
String get appSettings_mapDisplay => 'Map Display';
|
||||
|
||||
@@ -1053,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';
|
||||
|
||||
@@ -1200,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';
|
||||
|
||||
@@ -1329,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';
|
||||
|
||||
@@ -1395,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';
|
||||
|
||||
@@ -1447,9 +1635,24 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
return 'Retry $current/$max';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_selectSendAction => 'Select send action';
|
||||
|
||||
@override
|
||||
String get chat_sendGif => 'Send GIF';
|
||||
|
||||
@override
|
||||
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';
|
||||
|
||||
@override
|
||||
String get chat_receivedGif => 'Received a GIF';
|
||||
|
||||
@@ -1462,6 +1665,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get chat_me => 'Me';
|
||||
|
||||
@override
|
||||
String get reaction_report => 'Emoji Reactions';
|
||||
|
||||
@override
|
||||
String get emojiCategorySmileys => 'Smileys';
|
||||
|
||||
@@ -1747,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';
|
||||
|
||||
@@ -1784,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?';
|
||||
|
||||
@@ -1829,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';
|
||||
|
||||
@@ -1847,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';
|
||||
@@ -1988,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';
|
||||
|
||||
@@ -2009,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.';
|
||||
|
||||
@@ -2209,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';
|
||||
|
||||
@@ -2218,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';
|
||||
|
||||
@@ -2262,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';
|
||||
|
||||
@@ -2286,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';
|
||||
|
||||
@@ -2664,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';
|
||||
@@ -2799,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';
|
||||
@@ -3090,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';
|
||||
|
||||
@@ -3187,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 =>
|
||||
@@ -3296,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 =>
|
||||
@@ -4158,6 +4490,23 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_addContactFromClipboard => 'Add Contact from Clipboard';
|
||||
|
||||
@override
|
||||
String get contacts_scanQrCode => 'Scan QR Code';
|
||||
|
||||
@override
|
||||
String get contacts_scanQrInstructions =>
|
||||
'Point the camera at a MeshCore contact QR code';
|
||||
|
||||
@override
|
||||
String get contacts_qrFromGallery => 'Scan QR from Gallery';
|
||||
|
||||
@override
|
||||
String get contacts_noQrCodeFound =>
|
||||
'No QR code found in the selected image.';
|
||||
|
||||
@override
|
||||
String get contacts_qrGalleryFailed => 'Could not open the gallery.';
|
||||
|
||||
@override
|
||||
String get contacts_ShareContact => 'Copy contact to Clipboard';
|
||||
|
||||
@@ -4280,6 +4629,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';
|
||||
|
||||
@@ -4379,6 +4732,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.';
|
||||
@@ -4437,6 +4796,43 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get translation_title => 'Translation';
|
||||
|
||||
@override
|
||||
String get imageMessages_enableTitle => 'Enable image messages';
|
||||
|
||||
@override
|
||||
String get imageMessages_enableSubtitle =>
|
||||
'Send images over the mesh. Requires a one-time image model download.';
|
||||
|
||||
@override
|
||||
String get imageMessages_modelSectionTitle => 'Image model';
|
||||
|
||||
@override
|
||||
String get imageMessages_downloadModel => 'Download';
|
||||
|
||||
@override
|
||||
String get imageMessages_cancelDownload => 'Cancel';
|
||||
|
||||
@override
|
||||
String get imageMessages_removeModel => 'Remove model';
|
||||
|
||||
@override
|
||||
String get imageMessages_modelReady => 'Ready';
|
||||
|
||||
@override
|
||||
String get imageMessages_modelNotPublished =>
|
||||
'Not published yet — this build cannot download it.';
|
||||
|
||||
@override
|
||||
String get imageMessages_downloadFailed =>
|
||||
'The image model could not be downloaded.';
|
||||
|
||||
@override
|
||||
String get imageMessages_autoProcessTitle => 'Process images automatically';
|
||||
|
||||
@override
|
||||
String get imageMessages_autoProcessSubtitle =>
|
||||
'Reconstruct every image as soon as it arrives. Uses about 2 GB of memory for a second each time; leave off to reconstruct with a tap instead.';
|
||||
|
||||
@override
|
||||
String get translation_enableTitle => 'Enable translation';
|
||||
|
||||
@@ -4718,4 +5114,248 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get pathMap_unfollowPacket => 'Unlock view from packet';
|
||||
|
||||
@override
|
||||
String get imageSend_title => 'Send image';
|
||||
|
||||
@override
|
||||
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';
|
||||
|
||||
@override
|
||||
String get imageSend_onAirSize => 'On air';
|
||||
|
||||
@override
|
||||
String get imageSend_quality => 'Quality';
|
||||
|
||||
@override
|
||||
String get imageSend_qualityStandard => 'Standard';
|
||||
|
||||
@override
|
||||
String get imageSend_qualityHigh => 'High';
|
||||
|
||||
@override
|
||||
String get imageSend_packetsLabel => 'Packets';
|
||||
|
||||
@override
|
||||
String get imageSend_airtimeLabel => 'Time on air';
|
||||
|
||||
@override
|
||||
String get imageSend_sizeLabel => 'Payload';
|
||||
|
||||
@override
|
||||
String imageSend_packetsCount(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: 'packets',
|
||||
one: 'packet',
|
||||
);
|
||||
return '$count $_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String imageSend_range(String min, String max) {
|
||||
return '$min–$max';
|
||||
}
|
||||
|
||||
@override
|
||||
String get imageSend_unknownValue => '—';
|
||||
|
||||
@override
|
||||
String get imageSend_radioUnknownTitle => 'Radio settings unknown';
|
||||
|
||||
@override
|
||||
String get imageSend_radioUnknownBody =>
|
||||
'Connect to a device so the time on air can be calculated.';
|
||||
|
||||
@override
|
||||
String get imageSend_longSendTitle => 'Long transmission';
|
||||
|
||||
@override
|
||||
String imageSend_longSendBody(String duration) {
|
||||
return 'This will hold the channel for about $duration.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get imageSend_floodNote =>
|
||||
'Flood routing: every repeater in range retransmits each packet, so the channel stays busy longer than this.';
|
||||
|
||||
@override
|
||||
String get imageSend_parityTitle => 'Add recovery packet';
|
||||
|
||||
@override
|
||||
String get imageSend_paritySubtitle =>
|
||||
'One extra packet. Group messages are not acknowledged, so this lets the receiver rebuild the image if a single packet is lost.';
|
||||
|
||||
@override
|
||||
String get imageSend_send => 'Send';
|
||||
|
||||
@override
|
||||
String get imageSend_cancel => 'Cancel';
|
||||
|
||||
@override
|
||||
String get imageSend_encodeFailed => 'This image could not be encoded.';
|
||||
|
||||
@override
|
||||
String get imageSend_codecDownloading =>
|
||||
'The image model is still downloading.';
|
||||
|
||||
@override
|
||||
String get imageSend_codecUnavailable =>
|
||||
'Image sending is not available on this device.';
|
||||
|
||||
@override
|
||||
String get imageSend_codecDisabled =>
|
||||
'Image messages are turned off in settings.';
|
||||
|
||||
@override
|
||||
String get imageSend_deviceUnsupported =>
|
||||
'This radio cannot send image packets. Connect a device running companion firmware 13 or newer.';
|
||||
|
||||
@override
|
||||
String get imageSend_directMessagesUnsupported =>
|
||||
'Images travel as group data, so they can only be sent to a channel — not in a direct message.';
|
||||
|
||||
@override
|
||||
String get imageSend_tooLarge =>
|
||||
'That image encoded to more packets than the mesh format allows.';
|
||||
|
||||
@override
|
||||
String imageSend_sentConfirmation(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: 'packets',
|
||||
one: 'packet',
|
||||
);
|
||||
return 'Image sent as $count $_temp0.';
|
||||
}
|
||||
|
||||
@override
|
||||
String imageSend_sendFailed(String error) {
|
||||
return 'The image could not be sent: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String imageSend_sendingProgress(int sent, int total) {
|
||||
return 'Sending image — packet $sent of $total';
|
||||
}
|
||||
|
||||
@override
|
||||
String receivedImage_senderPrefix(String prefix) {
|
||||
return 'Node $prefix';
|
||||
}
|
||||
|
||||
@override
|
||||
String receivedImage_incoming(int received, int total) {
|
||||
return '$received of $total packets';
|
||||
}
|
||||
|
||||
@override
|
||||
String get receivedImage_queued => 'Waiting to decode';
|
||||
|
||||
@override
|
||||
String get receivedImage_tapToDecode => 'Tap to decode';
|
||||
|
||||
@override
|
||||
String get receivedImage_decoding => 'Reconstructing… about 1 s';
|
||||
|
||||
@override
|
||||
String receivedImage_incomplete(int received, int total) {
|
||||
return 'Image incomplete — $received of $total packets arrived';
|
||||
}
|
||||
|
||||
@override
|
||||
String get receivedImage_corrupt => 'Image could not be reconstructed';
|
||||
|
||||
@override
|
||||
String get receivedImage_decoderMissing =>
|
||||
'Image received — image decoding is off';
|
||||
|
||||
@override
|
||||
String get receivedImage_evicted => 'Image no longer stored';
|
||||
|
||||
@override
|
||||
String get receivedImage_retry => 'Try again';
|
||||
|
||||
@override
|
||||
String get receivedImage_decodeAgain => 'Decode again';
|
||||
|
||||
@override
|
||||
String get receivedImage_openSettings => 'Set up';
|
||||
|
||||
@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(
|
||||
packets,
|
||||
locale: localeName,
|
||||
other: 'packets',
|
||||
one: 'packet',
|
||||
);
|
||||
return '$bytes bytes · $packets $_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String imageSend_secondsValue(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
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';
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+1040
-396
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+278
-21
@@ -485,6 +485,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Verzendactie selecteren",
|
||||
"chat_sendGif": "GIF verzenden",
|
||||
"chat_reply": "Reageren",
|
||||
"chat_addReaction": "Reactie toevoegen",
|
||||
@@ -581,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": {
|
||||
@@ -631,7 +632,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_floodAuto": "Overstroming (van een auto)",
|
||||
"chat_floodAuto": "Flood (automatisch)",
|
||||
"chat_direct": "Direct",
|
||||
"chat_poiShared": "Gedeelde POI",
|
||||
"chat_unread": "Nieuw: {count}",
|
||||
@@ -1045,7 +1046,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "Overstroming: {flood}, Direct: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "Flood: {flood}, Direct: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1174,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",
|
||||
@@ -1182,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",
|
||||
@@ -1482,7 +1483,7 @@
|
||||
}
|
||||
},
|
||||
"channelPath_unknownPath": "Onbekend",
|
||||
"channelPath_floodPath": "Overstroming",
|
||||
"channelPath_floodPath": "Flood",
|
||||
"channelPath_directPath": "Direct",
|
||||
"channelPath_observedZeroOf": "0 van {total} sprongen",
|
||||
"@channelPath_observedZeroOf": {
|
||||
@@ -1754,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",
|
||||
@@ -1764,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",
|
||||
@@ -2298,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.",
|
||||
@@ -2328,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 \"<null>\" 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.",
|
||||
@@ -2468,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.",
|
||||
@@ -2486,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",
|
||||
@@ -2500,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",
|
||||
@@ -2605,5 +2606,261 @@
|
||||
"pathMap_noLocation": "Geen locatie",
|
||||
"pathMap_followPacket": "Weergave vergrendelen op pakket",
|
||||
"pathMap_unfollowPacket": "Weergave ontgrendelen van pakket",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regio's",
|
||||
"settings_regionSettingsSubtitle": "Beheer van opgeslagen regio's",
|
||||
"settings_regionManagement_screenTitle": "Regionale Bestuur",
|
||||
"settings_regionNameHint": "Regio naam invoeren",
|
||||
"settings_regionAddRegion": "Regio toevoegen",
|
||||
"settings_regionFetchRegions": "Haal regio's uit herhalers",
|
||||
"settings_regionFetchRegionsFail": "Er zijn geen regio's gevonden",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Deze regio is al toegevoegd.",
|
||||
"settings_regionName": "Regio Naam",
|
||||
"settings_regionDeleted": "Regio verwijderd",
|
||||
"settings_deleteRegion": "Regio verwijden",
|
||||
"settings_deleteRegionConfirm": "Verwijder \"{region}\" uit de regio-lijst?",
|
||||
"settings_infoHardware": "Hardware",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 byte",
|
||||
"repeater_pathHashModeOption1": "1 - 2 bytes",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bytes",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bytes",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3,0-4,35 V)",
|
||||
"channels_regionSetTo": "Regio: {region}",
|
||||
"channels_regionNotSet": "Regio: geen",
|
||||
"channels_regionSelect_Title": "Kies een regio",
|
||||
"channels_clearRegion": "Duidelijke regio",
|
||||
"chat_sendImageLora": "Afbeelding verzenden via MeshCore",
|
||||
"chat_imagePickFailed": "Kunde die afbeelding niet openen",
|
||||
"chat_receivedGif": "Ontvangen van een GIF",
|
||||
"repeater_keySettings": "Verander de Identiteitskies",
|
||||
"repeater_keySettingsSubtitle": "Wijzig de openbare/private sleutelpaar",
|
||||
"repeater_prvKey": "Geheime sleutel",
|
||||
"repeater_prvKeyHelper": "Een nieuwe private sleutel voor de repeater, een 128-karakter lange hexadecimale string.",
|
||||
"repeater_generatePrvKey": "Stel een willekeurige sleutelpaar op",
|
||||
"repeater_stopGeneratingPrvKey": "Stop zoek naar sleutelpaar",
|
||||
"repeater_pubKey": "Openbaar sleutel",
|
||||
"repeater_pubKeyHelper": "Dit is de openbare sleutel die past bij de gegenereerde privésleutel. U kunt dit niet direct instellen.",
|
||||
"repeater_pubKeyPrefix": "Verlangde voorvoegsel",
|
||||
"repeater_pubKeyPrefixHelper": "Zoek een openbare sleutel die begint met deze hexadecimale cijfers. Verwacht aantal pogingen: {tries}.",
|
||||
"imageMessages_enableTitle": "Bijbehorende afbeeldingen activeren",
|
||||
"imageMessages_enableSubtitle": "Beeldjes verzenden via het netwerk. Vereist eenmalig afdaling van een beeldmodel.",
|
||||
"imageMessages_modelSectionTitle": "Beeldmodel",
|
||||
"imageMessages_downloadModel": "Download",
|
||||
"imageMessages_cancelDownload": "Annuleren",
|
||||
"imageMessages_removeModel": "Model verwijderen",
|
||||
"imageMessages_modelReady": "Klaar",
|
||||
"imageMessages_modelNotPublished": "Nog niet gepubliceerd — deze versie kan dit niet downloaden.",
|
||||
"imageMessages_downloadFailed": "Het beeldmodel kon niet worden gedownload.",
|
||||
"imageMessages_autoProcessTitle": "Beeldverwerking automatisch",
|
||||
"imageMessages_autoProcessSubtitle": "Reconstrueer elk beeld direct nadat het binnenkomt. Het gebruikt ongeveer 2 GB geheugen voor elke keer; schakel het reconstrueren uit met een tik als je het niet nodig hebt.",
|
||||
"imageSend_title": "Beeld verzenden",
|
||||
"imageSend_cropNote": "Aangepast aan 512 × 512 · het aspectverhouding is niet behouden",
|
||||
"imageSend_originalSize": "Oorspronkelijk",
|
||||
"imageSend_onAirSize": "Op de lucht",
|
||||
"imageSend_quality": "Kwaliteit",
|
||||
"imageSend_qualityStandard": "Standaard",
|
||||
"imageSend_qualityHigh": "Hoog",
|
||||
"imageSend_packetsLabel": "Pakketten",
|
||||
"imageSend_airtimeLabel": "Tijd op de lucht",
|
||||
"imageSend_sizeLabel": "Belasting",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{pakket} other{pakketten}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Radio-instellingen onbekend",
|
||||
"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": "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",
|
||||
"imageSend_cancel": "Annuleren",
|
||||
"imageSend_encodeFailed": "Dit beeld kon niet worden gecodeerd.",
|
||||
"imageSend_codecDownloading": "Het beeldmodel wordt nog steeds gedownload.",
|
||||
"imageSend_codecUnavailable": "Het verzenden van een afbeelding is niet mogelijk op dit apparaat.",
|
||||
"imageSend_codecDisabled": "Boodschappen met afbeeldingen zijn uitgeschakeld in de instellingen.",
|
||||
"imageSend_deviceUnsupported": "Dit radio kan geen beeldpakketten verzenden. Verbind een apparaat met de bijbehorende firmware versie 13 of nieuwer.",
|
||||
"imageSend_directMessagesUnsupported": "Afbeeldingen worden verzonden als groepsgegevens, dus ze kunnen alleen naar een kanaal worden gestuurd — niet via een directe boodschap.",
|
||||
"imageSend_tooLarge": "Die afbeelding werd gecodeerd in meer pakketten dan het mesh-formaat toelaat.",
|
||||
"imageSend_sentConfirmation": "Afbeelding verzonden als {count} {count, plural, =1{pakket} other{pakketten}}.",
|
||||
"imageSend_sendFailed": "Het beeld kon niet worden verzonden: {error}",
|
||||
"imageSend_sendingProgress": "Beeld verzenden — pakket {sent} van {total}",
|
||||
"receivedImage_senderPrefix": "Knipper {prefix}",
|
||||
"receivedImage_incoming": "{received} van de {total} pakketten",
|
||||
"receivedImage_queued": "Wachten op het ontcijferen",
|
||||
"receivedImage_tapToDecode": "Tik om te decoderen",
|
||||
"receivedImage_decoding": "Herstellen… ongeveer 1 seconde",
|
||||
"receivedImage_incomplete": "Afbeelding onvolledig — {received} van {total} pakketten ontvangen",
|
||||
"receivedImage_corrupt": "Afbeelding kon niet worden gereconstrueerd",
|
||||
"receivedImage_decoderMissing": "Beeld ontvangen — beeldontcipheringsapparatuur is uitgeschakeld",
|
||||
"receivedImage_evicted": "Afbeelding niet langer opgeslagen",
|
||||
"receivedImage_retry": "Probeer het opnieuw",
|
||||
"receivedImage_decodeAgain": "Decode opnieuw",
|
||||
"receivedImage_openSettings": "Inricht",
|
||||
"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",
|
||||
"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."
|
||||
}
|
||||
+297
-40
@@ -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",
|
||||
@@ -495,6 +495,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Wybierz czynność wysyłania",
|
||||
"chat_sendGif": "Wyślij GIF",
|
||||
"chat_reply": "Odpowiedz",
|
||||
"chat_addReaction": "Dodaj Reakcję",
|
||||
@@ -587,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",
|
||||
@@ -610,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}",
|
||||
@@ -631,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": {
|
||||
@@ -641,7 +642,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_floodAuto": "Zalew (automatyczny)",
|
||||
"chat_floodAuto": "Flood (automatyczny)",
|
||||
"chat_direct": "Bezpośrednio",
|
||||
"chat_poiShared": "Wspólny POI",
|
||||
"chat_unread": "Nieprzeczytane: {count}",
|
||||
@@ -909,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}",
|
||||
@@ -982,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.",
|
||||
@@ -1027,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": {
|
||||
@@ -1041,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": {
|
||||
@@ -1055,7 +1056,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "Zalew: {flood}, Bezpośrednie: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "Flood: {flood}, Bezpośrednie: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1112,7 +1113,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_floodAdvertInterval": "Interwał rozgłoszenia zalewowego",
|
||||
"repeater_floodAdvertInterval": "Interwał rozgłoszenia flood",
|
||||
"repeater_floodAdvertIntervalHours": "{hours} godzin",
|
||||
"@repeater_floodAdvertIntervalHours": {
|
||||
"placeholders": {
|
||||
@@ -1177,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ń",
|
||||
@@ -1192,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",
|
||||
@@ -1292,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ń'.",
|
||||
@@ -1304,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.",
|
||||
@@ -1320,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.",
|
||||
@@ -1492,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": {
|
||||
@@ -1767,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",
|
||||
@@ -1828,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ę",
|
||||
@@ -2134,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.",
|
||||
@@ -2304,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.",
|
||||
@@ -2335,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.",
|
||||
@@ -2365,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 \"<null>\", 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.",
|
||||
@@ -2506,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.",
|
||||
@@ -2528,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",
|
||||
@@ -2540,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",
|
||||
@@ -2643,5 +2644,261 @@
|
||||
"pathMap_noLocation": "Brak lokalizacji",
|
||||
"pathMap_followPacket": "Śledź pakiet",
|
||||
"pathMap_unfollowPacket": "Przestań śledzić pakiet",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regiony",
|
||||
"settings_regionSettingsSubtitle": "Zarządzanie zapisanymi regionami",
|
||||
"settings_regionManagement_screenTitle": "Zarządzanie Regionami",
|
||||
"settings_regionNameHint": "Wprowadź nazwę regionu",
|
||||
"settings_regionAddRegion": "Dodaj region",
|
||||
"settings_regionFetchRegions": "Pobierz regiony z repeaterów",
|
||||
"settings_regionFetchRegionsFail": "Nie znaleziono żadnych regionów",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Ten region został już dodany",
|
||||
"settings_regionName": "Nazwa Regionu",
|
||||
"settings_regionDeleted": "Region usunięto",
|
||||
"settings_deleteRegion": "Usuń Region",
|
||||
"settings_deleteRegionConfirm": "Czy usunąć \"{region}\" z listy regionów?",
|
||||
"settings_infoHardware": "Sprzęt",
|
||||
"settings_infoFirmware": "Oprogramowanie wbudowane",
|
||||
"repeater_pathHashModeOption0": "0 - 1 bajt",
|
||||
"repeater_pathHashModeOption1": "1 - 2 bity",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bajty",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bajty",
|
||||
"appSettings_batteryLipoHv": "Bateria LiPo HV (3,0-4,35 V)",
|
||||
"channels_regionSetTo": "Region: {region}",
|
||||
"channels_regionNotSet": "Region: brak",
|
||||
"channels_regionSelect_Title": "Wybierz region",
|
||||
"channels_clearRegion": "Przejrzyste obszar",
|
||||
"chat_sendImageLora": "Wyślij obraz przez MeshCore",
|
||||
"chat_imagePickFailed": "Nie mogłem otworzyć tego obrazu",
|
||||
"chat_receivedGif": "Otrzymano GIF",
|
||||
"repeater_keySettings": "Zmiana kluczy tożsamości",
|
||||
"repeater_keySettingsSubtitle": "Zmień parę kluczy publiczną/prywatną",
|
||||
"repeater_prvKey": "Klucz prywatny",
|
||||
"repeater_prvKeyHelper": "Nowy klucz prywatny dla wzmacniacza, 128-znakowa string hexadecyimalny.",
|
||||
"repeater_generatePrvKey": "Wygeneruj losowy klucz parowy",
|
||||
"repeater_stopGeneratingPrvKey": "Przerwij wyszukiwanie kluczowego paru",
|
||||
"repeater_pubKey": "Klucz publiczny",
|
||||
"repeater_pubKeyHelper": "To jest klucz publiczny, który odpowiada wygenerowanemu kluczowi prywatnemu. Nie można go ustawić bezpośrednio.",
|
||||
"repeater_pubKeyPrefix": "Pożądane przedrostek",
|
||||
"repeater_pubKeyPrefixHelper": "Znajdź klucz publiczny, który zaczyna się od tych cyfr hex. Oczekiwana liczba prób: {tries}.",
|
||||
"imageMessages_enableTitle": "Włącz wiadomości ze zdjęciami",
|
||||
"imageMessages_enableSubtitle": "Przesyłaj zdjęcia przez siatkę. Wymaga jednorazowego pobrania modelu obrazu.",
|
||||
"imageMessages_modelSectionTitle": "Model obrazowy",
|
||||
"imageMessages_downloadModel": "Pobierz",
|
||||
"imageMessages_cancelDownload": "Anuluj",
|
||||
"imageMessages_removeModel": "Usuń model",
|
||||
"imageMessages_modelReady": "Gotowy",
|
||||
"imageMessages_modelNotPublished": "Nie opublikowane — ten build nie może tego pobrać.",
|
||||
"imageMessages_downloadFailed": "Model obrazowy nie mógł zostać pobrany.",
|
||||
"imageMessages_autoProcessTitle": "Obrazki są przetwarzane automatycznie.",
|
||||
"imageMessages_autoProcessSubtitle": "Odbuduj każde zdjęcie, jak tylko przyjdzie. Zużywa około 2 GB pamięci za każdą drugą sekundę; wyłącz odbudowywanie jednym dotknięciem.",
|
||||
"imageSend_title": "Wyślij obraz",
|
||||
"imageSend_cropNote": "Zmniejszone do 512 × 512 · proporcje nie zostały zachowane",
|
||||
"imageSend_originalSize": "Oryginalny",
|
||||
"imageSend_onAirSize": "W eterze",
|
||||
"imageSend_quality": "Jakość",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "Wysoko",
|
||||
"imageSend_packetsLabel": "Pakiet",
|
||||
"imageSend_airtimeLabel": "Czas w eterze",
|
||||
"imageSend_sizeLabel": "Payload",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{pakiet} other{pakietów}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Ustawienia radia nieznane",
|
||||
"imageSend_radioUnknownBody": "Połącz urządzenie, aby można było obliczyć czas trwania transmisji.",
|
||||
"imageSend_longSendTitle": "Długa transmisja",
|
||||
"imageSend_longSendBody": "Ten kanał będzie dostępny przez około {duration}.",
|
||||
"imageSend_floodNote": "Przepływ pakietów: każdy retransmitujący w zasięgu przekazuje każdy pakiet, przez co kanał pozostaje zajęty dłużej niż ten czas.",
|
||||
"imageSend_parityTitle": "Pakiet odzysku",
|
||||
"imageSend_paritySubtitle": "Jedna dodatkowa paczka. Wiadomości grupowe nie są potwierdzane, dzięki czemu odbiorca może odbudować obraz, jeśli zostanie utracona pojedyncza paczka.",
|
||||
"imageSend_send": "Wyślij",
|
||||
"imageSend_cancel": "Anuluj",
|
||||
"imageSend_encodeFailed": "Ten obraz nie mógł zostać zakodowany.",
|
||||
"imageSend_codecDownloading": "Model obrazowy jest nadal pobierany.",
|
||||
"imageSend_codecUnavailable": "Wysyłanie obrazu nie jest dostępne na tym urządzeniu.",
|
||||
"imageSend_codecDisabled": "Wiadomości ze zdjęciami są wyłączone w ustawieniach.",
|
||||
"imageSend_deviceUnsupported": "Ten radiodysk nie może wysyłać pakietów obrazu. Podłącz urządzenie z oprogramowaniem firmware 13 lub nowszym.",
|
||||
"imageSend_directMessagesUnsupported": "Obrazy są przesyłane jako dane grupowe, więc można je wysłać tylko do kanału — nie w wiadomości prywatnej.",
|
||||
"imageSend_tooLarge": "Obraz zakodowany do więcej pakietów niż pozwala format siatki.",
|
||||
"imageSend_sentConfirmation": "Obraz wysłany jako {count} {count, plural, =1{pakiet} other{pakietów}}.",
|
||||
"imageSend_sendFailed": "Obraz nie mogł zostać wysłany: {error}",
|
||||
"imageSend_sendingProgress": "Wysyłanie obrazu — pakiet {sent} z {total}",
|
||||
"receivedImage_senderPrefix": "Węzeł {prefix}",
|
||||
"receivedImage_incoming": "Otrzymano: {received} z {total} pakietów",
|
||||
"receivedImage_queued": "Oczekiwanie na rozszyfrowanie",
|
||||
"receivedImage_tapToDecode": "Kliknij, aby odszyfrować",
|
||||
"receivedImage_decoding": "Odtwarzanie… około 1 sekundy",
|
||||
"receivedImage_incomplete": "Obraz niepełny — {received} z {total} pakietów dotarło",
|
||||
"receivedImage_corrupt": "Obraz nie może zostać zrekonstruowany",
|
||||
"receivedImage_decoderMissing": "Otrzymano obraz — dekodowanie obrazu jest nieprawidłowe.",
|
||||
"receivedImage_evicted": "Obraz nie jest już przechowywany",
|
||||
"receivedImage_retry": "Spróbuj ponownie",
|
||||
"receivedImage_decodeAgain": "Zdekoduj ponownie",
|
||||
"receivedImage_openSettings": "Ustaw",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+273
-17
@@ -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",
|
||||
@@ -485,6 +485,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Selecionar ação de envio",
|
||||
"chat_sendGif": "Enviar GIF",
|
||||
"chat_reply": "Responder",
|
||||
"chat_addReaction": "Adicionar Reação",
|
||||
@@ -580,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": {
|
||||
@@ -1287,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)",
|
||||
@@ -1315,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.",
|
||||
@@ -1533,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",
|
||||
@@ -1790,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",
|
||||
@@ -2298,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.",
|
||||
@@ -2328,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 \"<null>\" 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.",
|
||||
@@ -2491,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",
|
||||
@@ -2503,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",
|
||||
@@ -2605,5 +2606,260 @@
|
||||
"pathMap_noLocation": "Sem localização",
|
||||
"pathMap_followPacket": "Fixar vista no pacote",
|
||||
"pathMap_unfollowPacket": "Liberar vista do pacote",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regiões",
|
||||
"settings_regionSettingsSubtitle": "Gerenciar regiões armazenadas",
|
||||
"settings_regionManagement_screenTitle": "Gestão de Região",
|
||||
"settings_regionNameHint": "Nome da região",
|
||||
"settings_regionAddRegion": "Adicionar região",
|
||||
"settings_regionFetchRegions": "Regiões de obtenção a partir de repetidores",
|
||||
"settings_regionFetchRegionsFail": "Nenhuma região foi encontrada",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Esta região já foi adicionada",
|
||||
"settings_regionName": "Nome da Região",
|
||||
"settings_regionDeleted": "Região excluída",
|
||||
"settings_deleteRegion": "Excluir Região",
|
||||
"settings_deleteRegionConfirm": "Remover \"{region}\" da lista de regiões?",
|
||||
"settings_infoHardware": "Hardware",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 byte",
|
||||
"repeater_pathHashModeOption1": "1 - 2 bytes",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bytes",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bytes",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3,0-4,35V)",
|
||||
"channels_regionSetTo": "Região: {region}",
|
||||
"channels_regionNotSet": "Região: nenhuma",
|
||||
"channels_regionSelect_Title": "Escolha uma região",
|
||||
"channels_clearRegion": "Região desimpedida",
|
||||
"chat_sendImageLora": "Enviar imagem via MeshCore",
|
||||
"chat_imagePickFailed": "Não consegui abrir essa imagem",
|
||||
"chat_receivedGif": "Recebi um GIF",
|
||||
"repeater_keySettings": "Alterar Chaves de Identidade",
|
||||
"repeater_keySettingsSubtitle": "Altere a chave pública/chave privada",
|
||||
"repeater_prvKey": "Chave privada",
|
||||
"repeater_prvKeyHelper": "Uma nova chave privada para o repetidor, uma string hexadecimal de 128 caracteres.",
|
||||
"repeater_generatePrvKey": "Gere um par de chaves aleatório",
|
||||
"repeater_stopGeneratingPrvKey": "Interrompa a busca por par de chaves",
|
||||
"repeater_pubKey": "Chave pública",
|
||||
"repeater_pubKeyHelper": "Esta é a chave pública que acompanha a chave privada gerada. Você não pode definir isso diretamente.",
|
||||
"repeater_pubKeyPrefix": "Prefixo desejado",
|
||||
"repeater_pubKeyPrefixHelper": "Encontre uma chave pública que comece com esses dígitos hexadecimais. Número esperado de tentativas: {tries}.",
|
||||
"imageMessages_enableTitle": "Mensagens de imagem",
|
||||
"imageMessages_enableSubtitle": "Envie as imagens pela malha. Requer o download de um modelo de imagem único.",
|
||||
"imageMessages_modelSectionTitle": "Modelo de imagem",
|
||||
"imageMessages_downloadModel": "Download",
|
||||
"imageMessages_cancelDownload": "Cancelar",
|
||||
"imageMessages_removeModel": "Remover modelo",
|
||||
"imageMessages_modelReady": "Pronto",
|
||||
"imageMessages_modelNotPublished": "Ainda não publicado — esta versão não pode baixá-lo.",
|
||||
"imageMessages_downloadFailed": "O modelo de imagem não pôde ser baixado.",
|
||||
"imageMessages_autoProcessTitle": "Processar imagens automaticamente",
|
||||
"imageMessages_autoProcessSubtitle": "Reconstrua cada imagem assim que ela chegar. Utiliza cerca de 2 GB de memória por segundo; dispense a reconstrução com um toque.",
|
||||
"imageSend_title": "Enviar imagem",
|
||||
"imageSend_cropNote": "Redimensionado para 512 × 512 · a proporção de aspecto não foi preservada",
|
||||
"imageSend_originalSize": "Texto Original",
|
||||
"imageSend_onAirSize": "Ao ar",
|
||||
"imageSend_quality": "Qualidade",
|
||||
"imageSend_qualityStandard": "Padrão",
|
||||
"imageSend_qualityHigh": "Alto",
|
||||
"imageSend_packetsLabel": "Pacotes",
|
||||
"imageSend_airtimeLabel": "Tempo em transmissão",
|
||||
"imageSend_sizeLabel": "Carga útil",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{pacote} other{pacotes}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Configurações de rádio desconhecidas",
|
||||
"imageSend_radioUnknownBody": "Conecte-se a um dispositivo para que o horário de transmissão possa ser calculado.",
|
||||
"imageSend_longSendTitle": "Transmissão longa",
|
||||
"imageSend_longSendBody": "Isso manterá o canal por cerca de {duration}.",
|
||||
"imageSend_floodNote": "Roteamento de inundação: cada repetidor na faixa retransmite cada pacote, fazendo com que o canal permaneça ocupado por mais tempo do que isso.",
|
||||
"imageSend_parityTitle": "Pacote de recuperação",
|
||||
"imageSend_paritySubtitle": "Um pacote extra. As mensagens em grupo não são reconhecidas, assim permitindo que o destinatário reconstrua a imagem caso um pacote seja perdido.",
|
||||
"imageSend_send": "Enviar",
|
||||
"imageSend_cancel": "Cancelar",
|
||||
"imageSend_encodeFailed": "Esta imagem não pode ser codificada.",
|
||||
"imageSend_codecDownloading": "O modelo de imagem ainda está baixando.",
|
||||
"imageSend_codecUnavailable": "O envio de imagem não está disponível neste dispositivo.",
|
||||
"imageSend_codecDisabled": "As mensagens de imagem estão desativadas nas configurações.",
|
||||
"imageSend_deviceUnsupported": "Este rádio não pode enviar pacotes de imagem. Conecte um dispositivo com firmware companheiro versão 13 ou superior.",
|
||||
"imageSend_directMessagesUnsupported": "As imagens viajam como dados em grupo, portanto, só podem ser enviadas para um canal — não em mensagem direta.",
|
||||
"imageSend_tooLarge": "Essa imagem foi codificada em mais pacotes do que o formato de malha permite.",
|
||||
"imageSend_sentConfirmation": "Imagem enviada como {count} {count, plural, =1{pacote} other{pacotes}}.",
|
||||
"imageSend_sendFailed": "A imagem não pôde ser enviada: {error}",
|
||||
"imageSend_sendingProgress": "Envio da imagem — pacote {sent} de {total}",
|
||||
"receivedImage_senderPrefix": "Nó {prefix}",
|
||||
"receivedImage_incoming": "{received} de {total} pacotes",
|
||||
"receivedImage_queued": "Aguardando para decodificar",
|
||||
"receivedImage_tapToDecode": "Toque para decodificar",
|
||||
"receivedImage_decoding": "Reconstruindo… cerca de 1 segundo",
|
||||
"receivedImage_incomplete": "Imagem incompleta — {received} de {total} pacotes chegaram",
|
||||
"receivedImage_corrupt": "A imagem não pôde ser reconstruída",
|
||||
"receivedImage_decoderMissing": "Imagem recebida — decodificação de imagem incorreta",
|
||||
"receivedImage_evicted": "Imagem não armazenada",
|
||||
"receivedImage_retry": "Tente novamente",
|
||||
"receivedImage_decodeAgain": "Decodifique novamente",
|
||||
"receivedImage_openSettings": "Configurar",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+298
-42
@@ -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": "Контакты или группы не найдены",
|
||||
@@ -316,6 +316,7 @@
|
||||
"chat_messageDeleted": "Сообщение удалено",
|
||||
"chat_retryingMessage": "Повтор отправки сообщения",
|
||||
"chat_retryCount": "Попытка {current}/{max}",
|
||||
"chat_selectSendAction": "Выберите действие отправки",
|
||||
"chat_sendGif": "Отправить GIF",
|
||||
"chat_reply": "Ответить",
|
||||
"chat_addReaction": "Добавить реакцию",
|
||||
@@ -622,7 +623,7 @@
|
||||
"repeater_guestAccess": "Гостевой доступ",
|
||||
"repeater_guestAccessSubtitle": "Разрешить гостевой доступ только для чтения",
|
||||
"repeater_privacyMode": "Режим конфиденциальности",
|
||||
"repeater_privacyModeSubtitle": "Скрывать имя/местоположение в оповещениях",
|
||||
"repeater_privacyModeSubtitle": "Скрывать имя/местоположение в анонсах",
|
||||
"repeater_advertisementSettings": "Настройки анонсирования",
|
||||
"repeater_localAdvertInterval": "Интервал локальных анонсирований",
|
||||
"repeater_localAdvertIntervalMinutes": "{minutes} минут",
|
||||
@@ -691,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": "Устанавливает множитель времени в эфире для пакета в режиме рассылки и применяет случайную задержку перед пересылкой (чтобы уменьшить коллизии).",
|
||||
@@ -710,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": "ПРИМЕЧАНИЕ: это специальная многострочная команда. Каждая следующая строка — имя региона (с отступом пробелами для указания иерархии, минимум один пробел). Завершается пустой строкой.",
|
||||
@@ -924,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{сообщений канала}}",
|
||||
@@ -959,7 +960,7 @@
|
||||
"settings_gpxExportNoContacts": "Нет контактов для экспорта.",
|
||||
"settings_gpxExportShareText": "Данные карты экспортированы из meshcore-open",
|
||||
"settings_gpxExportShareSubject": "meshcore-open экспорт данных карты GPX",
|
||||
"pathTrace_someHopsNoLocation": "Одному или нескольким хмелям не указано местоположение!",
|
||||
"pathTrace_someHopsNoLocation": "У одного или нескольких хопов не указано местоположение!",
|
||||
"map_tapToAdd": "Нажимайте на узлы, чтобы добавить их в путь.",
|
||||
"map_removeLast": "Удалить последний",
|
||||
"map_pathTraceCancelled": "Отмена трассировки пути",
|
||||
@@ -1265,8 +1266,8 @@
|
||||
"settings_privacySubtitle": "Контролируйте, какую информацию делиться.",
|
||||
"settings_telemetryLocationMode": "Режим местоположения телеметрии",
|
||||
"settings_telemetryEnvironmentMode": "Режим среды телеметрии",
|
||||
"settings_advertLocation": "Местоположение рекламы",
|
||||
"settings_advertLocationSubtitle": "Включить местоположение в объявление",
|
||||
"settings_advertLocation": "Местоположение анонса",
|
||||
"settings_advertLocationSubtitle": "Включить местоположение в анонс",
|
||||
"settings_allowAll": "Разрешить все",
|
||||
"settings_privacySettingsDescription": "Выберите, какую информацию ваше устройство будет делиться с другими.",
|
||||
"settings_denyAll": "Отклонить все",
|
||||
@@ -1538,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": "Пороговое значение помех",
|
||||
@@ -1553,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",
|
||||
@@ -1653,7 +1654,7 @@
|
||||
"repeater_sensors": "Датчики",
|
||||
"repeater_cliHelpPowerOff": "Отключает устройство. (ожидается отсутствие ответа).",
|
||||
"repeater_cliHelpClkReboot": "Сбрасывает часы до известной эпохи и перезапускает устройство.",
|
||||
"repeater_cliHelpAdvertZeroHop": "Отправляет рекламу, распространяемую только среди ближайших соседей (без промежуточных узлов).",
|
||||
"repeater_cliHelpAdvertZeroHop": "Отправляет анонс, распространяемый только среди ближайших соседей (без промежуточных узлов).",
|
||||
"repeater_cliHelpStartOta": "Запускает обновление прошивки по воздуху на поддерживаемых устройствах.",
|
||||
"repeater_cliHelpTime": "Устанавливает время устройства в соответствии с заданными секундами от начала эпохи Unix. Время не может сброситься назад.",
|
||||
"repeater_cliHelpBoard": "Отображает информацию о производителе платы / идентификатор аппаратного обеспечения.",
|
||||
@@ -1664,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": "(Только для настройки) Быстро устанавливает только частоту. Требуется перезагрузка. Рекомендуется использовать функцию \"настройка радио\" для полного набора параметров.",
|
||||
@@ -1684,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": "Отображает чувствительность к обнаружению циклов.",
|
||||
@@ -1714,8 +1715,8 @@
|
||||
"repeater_cliHelpSensorList": "Перечисляет все пользовательские настройки датчиков, разбитые на страницы с возможностью указания начального индекса.",
|
||||
"repeater_cliHelpRegionDefault": "Отображает текущий область действия по умолчанию.",
|
||||
"repeater_cliHelpRegionDefaultSet": "Устанавливает значение региона по умолчанию. Используйте \"<null>\", чтобы сбросить значение.",
|
||||
"repeater_cliHelpRegionListAllowed": "Перечисляет регионы, где разрешено движение транспорта во время наводнений.",
|
||||
"repeater_cliHelpRegionListDenied": "Перечисляет регионы, где запрещено движение транспорта во время наводнений.",
|
||||
"repeater_cliHelpRegionListAllowed": "Перечисляет регионы, где разрешена рассылка (flood).",
|
||||
"repeater_cliHelpRegionListDenied": "Перечисляет регионы, где запрещена рассылка (flood).",
|
||||
"repeater_cliHelpStatsPackets": "(Только для серийной версии) Отображает статистику на уровне пакетов.",
|
||||
"repeater_cliHelpStatsRadio": "(Только для серий) Отображает статистику радио.",
|
||||
"repeater_cliHelpStatsCore": "(Только для серийного оборудования) Отображает основные статистические данные прошивки.",
|
||||
@@ -1771,7 +1772,7 @@
|
||||
"contacts_searchClose": "Закрыть поиск",
|
||||
"routing_title": "Маршрутизация",
|
||||
"routing_modeAuto": "Авто",
|
||||
"routing_modeFlood": "Наводнение",
|
||||
"routing_modeFlood": "Рассылка",
|
||||
"routing_modeManual": "Инструкция",
|
||||
"routing_modeAutoHint": "Автоматически выбирает наиболее известный путь, и если такой путь неизвестен, использует алгоритм поиска пути.",
|
||||
"routing_modeFloodHint": "Передача сигнала через все ретрансляторы. Самый надежный способ, но требует больше времени на передачу.",
|
||||
@@ -1785,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": "Префиксы шестнадцатеричной системы",
|
||||
@@ -1806,7 +1807,7 @@
|
||||
"routing_deliveryCounts": "{successes} delivered, {failures} failed",
|
||||
"pathEditor_tooManyHops": "Максимальное количество ингредиентов – 64",
|
||||
"pathEditor_usePath": "Используйте этот путь",
|
||||
"pathEditor_removeHop": "Удалить хмель",
|
||||
"pathEditor_removeHop": "Удалить хоп",
|
||||
"pathEditor_unknownHop": "Неизвестный ретранслятор",
|
||||
"map_zoomIn": "Увеличить масштаб",
|
||||
"map_zoomOut": "Увеличить масштаб",
|
||||
@@ -1908,5 +1909,260 @@
|
||||
"pathMap_noLocation": "Нет координат",
|
||||
"pathMap_followPacket": "Следить за пакетом",
|
||||
"pathMap_unfollowPacket": "Не следить за пакетом",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Регионы",
|
||||
"settings_regionSettingsSubtitle": "Управление сохранёнными регионами",
|
||||
"settings_regionManagement_screenTitle": "Управление регионами",
|
||||
"settings_regionNameHint": "Введите название региона",
|
||||
"settings_regionAddRegion": "Добавить регион",
|
||||
"settings_regionFetchRegions": "Извлекать регионы с ретрансляторов",
|
||||
"settings_regionFetchRegionsFail": "Не были найдены никакие регионы",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Этот регион уже был добавлен",
|
||||
"settings_regionName": "Название региона",
|
||||
"settings_regionDeleted": "Регион удалён",
|
||||
"settings_deleteRegion": "Удалить регион",
|
||||
"settings_deleteRegionConfirm": "Удалить \"{region}\" из списка регионов?",
|
||||
"settings_infoHardware": "Оборудование",
|
||||
"settings_infoFirmware": "Производственное программное обеспечение",
|
||||
"repeater_pathHashModeOption0": "0 - 1 байт",
|
||||
"repeater_pathHashModeOption1": "1 - 2 байта",
|
||||
"repeater_pathHashModeOption2": "2 - 3 байта",
|
||||
"repeater_pathHashModeOption3": "3 - 4 байта",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3,0–4,35 В)",
|
||||
"channels_regionSetTo": "РЕГИОН: {region}",
|
||||
"channels_regionNotSet": "Регион: отсутствует",
|
||||
"channels_regionSelect_Title": "Выберите регион",
|
||||
"channels_clearRegion": "Чистый регион",
|
||||
"chat_sendImageLora": "Отправить изображение через MeshCore",
|
||||
"chat_imagePickFailed": "Не удалось открыть это изображение",
|
||||
"chat_receivedGif": "Получен GIF",
|
||||
"repeater_keySettings": "Изменить ключи идентичности",
|
||||
"repeater_keySettingsSubtitle": "Измените пару публичных/частных ключей",
|
||||
"repeater_prvKey": "Личный ключ",
|
||||
"repeater_prvKeyHelper": "Для повторителя генерируется новый приватный ключ — шестнадцатеричная строка из 128 символов.",
|
||||
"repeater_generatePrvKey": "Сгенерируйте случайный ключ-пару",
|
||||
"repeater_stopGeneratingPrvKey": "Прервать поиск ключной пары",
|
||||
"repeater_pubKey": "Публичный ключ",
|
||||
"repeater_pubKeyHelper": "Это публичный ключ, который соответствует сгенерированному приватному ключу. Вы не можете установить его напрямую.",
|
||||
"repeater_pubKeyPrefix": "Желаемый префикс",
|
||||
"repeater_pubKeyPrefixHelper": "Найдите публичный ключ, начинающийся этими шестнадцатеричными цифрами. Ожидаемое количество попыток: {tries}.",
|
||||
"imageMessages_enableTitle": "Включить изображения в сообщения",
|
||||
"imageMessages_enableSubtitle": "Отправьте изображения через сеть. Требуется однократная загрузка шаблона изображения.",
|
||||
"imageMessages_modelSectionTitle": "Модель изображения",
|
||||
"imageMessages_downloadModel": "Скачать",
|
||||
"imageMessages_cancelDownload": "Отмена",
|
||||
"imageMessages_removeModel": "Удалить модель",
|
||||
"imageMessages_modelReady": "Готов",
|
||||
"imageMessages_modelNotPublished": "Пока не опубликовано — эта сборка не может скачать это.",
|
||||
"imageMessages_downloadFailed": "Модель изображения не удалось скачать.",
|
||||
"imageMessages_autoProcessTitle": "Автоматически обрабатывать изображения",
|
||||
"imageMessages_autoProcessSubtitle": "Примерно каждое изображение реконструируйте сразу после его поступления. Для этого на каждый раз используется около 2 ГБ памяти; отключите реконструкцию касанием.",
|
||||
"imageSend_title": "Отправьте изображение",
|
||||
"imageSend_cropNote": "Меняется размер на 512 × 512 · соотношение сторон не сохраняется",
|
||||
"imageSend_originalSize": "Оригинал",
|
||||
"imageSend_onAirSize": "В эфире",
|
||||
"imageSend_quality": "Качество",
|
||||
"imageSend_qualityStandard": "Стандарт",
|
||||
"imageSend_qualityHigh": "Высота",
|
||||
"imageSend_packetsLabel": "Пакеты",
|
||||
"imageSend_airtimeLabel": "Время на эфире",
|
||||
"imageSend_sizeLabel": "Пакет",
|
||||
"imageSend_packetsCount": "{count} {count, plural, one{пакет} few{пакета} many{пакетов} other{пакета}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Настройки радио неизвестны",
|
||||
"imageSend_radioUnknownBody": "Подключитесь к устройству, чтобы можно было рассчитать время эфирного времени.",
|
||||
"imageSend_longSendTitle": "Долгая передача",
|
||||
"imageSend_longSendBody": "Это будет поддерживать канал примерно {duration}.",
|
||||
"imageSend_floodNote": "Руководство по маршрутизации потоков: каждый ретрансатор в зоне перераспределяет каждый пакет, поэтому канал остаётся занятным дольше, чем это.",
|
||||
"imageSend_parityTitle": "Пакет восстановления",
|
||||
"imageSend_paritySubtitle": "Один дополнительный пакет. Групповые сообщения не подтверждаются, поэтому это позволяет получателю восстановить изображение, если один пакет потерян.",
|
||||
"imageSend_send": "Отправить",
|
||||
"imageSend_cancel": "Отмена",
|
||||
"imageSend_encodeFailed": "Это изображение не может быть закодировано.",
|
||||
"imageSend_codecDownloading": "Модель изображения всё ещё загружается.",
|
||||
"imageSend_codecUnavailable": "Отправка изображения на этом устройстве недоступна.",
|
||||
"imageSend_codecDisabled": "В настройках отключены сообщения с изображениями.",
|
||||
"imageSend_deviceUnsupported": "Это радио не может отправлять пакеты изображений. Подключите устройство, работающее на прошивке-компаньоне версии 13 или выше.",
|
||||
"imageSend_directMessagesUnsupported": "Изображения передаются как групповые данные, поэтому их можно отправлять только в канал, а не в личное сообщение.",
|
||||
"imageSend_tooLarge": "Изображение было закодировано в больше пакетов, чем позволяет формат сетки.",
|
||||
"imageSend_sentConfirmation": "Изображение отправлено как {count} {count, plural, =1{пакет} other{пакетов}}.",
|
||||
"imageSend_sendFailed": "Изображение не может быть отправлено: {error}",
|
||||
"imageSend_sendingProgress": "Отправка изображения — пакет {sent} из {total}",
|
||||
"receivedImage_senderPrefix": "Узел {prefix}",
|
||||
"receivedImage_incoming": "{received} из {total} пакетов",
|
||||
"receivedImage_queued": "Ожидание расшифровки",
|
||||
"receivedImage_tapToDecode": "Нажмите для декодирования",
|
||||
"receivedImage_decoding": "Реконструкция… примерно за 1 секунду",
|
||||
"receivedImage_incomplete": "Отсутствует изображение — {received} из {total} пакетов пришло",
|
||||
"receivedImage_corrupt": "Изображение не может быть восстановлено",
|
||||
"receivedImage_decoderMissing": "Получен изображение — декодирование изображения неправильное",
|
||||
"receivedImage_evicted": "Изображение больше не сохраняется",
|
||||
"receivedImage_retry": "Попробуйте снова",
|
||||
"receivedImage_decodeAgain": "Декодируйте снова",
|
||||
"receivedImage_openSettings": "Настройте",
|
||||
"receivedImage_tapToProcess": "Нажмите для обработки",
|
||||
"receivedImage_awaiting": "{bytes} байт · {packets} {packets, plural, =1{пакет} other{пакетов}}",
|
||||
"imageSend_secondsValue": "{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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+315
-58
@@ -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.",
|
||||
@@ -485,6 +485,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Vybrať akciu odoslania",
|
||||
"chat_sendGif": "Odoslať GIF",
|
||||
"chat_reply": "Odpovedať",
|
||||
"chat_addReaction": "Pridať Reakciu",
|
||||
@@ -577,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",
|
||||
@@ -621,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": {
|
||||
@@ -631,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}",
|
||||
@@ -899,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}",
|
||||
@@ -972,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.",
|
||||
@@ -1017,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": {
|
||||
@@ -1031,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": {
|
||||
@@ -1045,7 +1046,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "Pond: {flood}, Priamy: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "Flood: {flood}, Priamy: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1091,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": {
|
||||
@@ -1102,7 +1103,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_floodAdvertInterval": "Interval reklamnej povodňovej reklamy",
|
||||
"repeater_floodAdvertInterval": "Interval flood inzerátu",
|
||||
"repeater_floodAdvertIntervalHours": "{hours} hodín",
|
||||
"@repeater_floodAdvertIntervalHours": {
|
||||
"placeholders": {
|
||||
@@ -1111,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",
|
||||
@@ -1167,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",
|
||||
@@ -1182,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",
|
||||
@@ -1270,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.",
|
||||
@@ -1286,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.",
|
||||
@@ -1308,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.",
|
||||
@@ -1324,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é",
|
||||
@@ -1482,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": {
|
||||
@@ -1755,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",
|
||||
@@ -1790,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ý",
|
||||
@@ -2267,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.",
|
||||
@@ -2278,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\".",
|
||||
@@ -2298,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.",
|
||||
@@ -2328,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 \"<null>\", 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.",
|
||||
@@ -2468,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.",
|
||||
@@ -2486,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",
|
||||
@@ -2503,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",
|
||||
@@ -2605,5 +2606,261 @@
|
||||
"pathMap_noLocation": "Bez polohy",
|
||||
"pathMap_followPacket": "Uzamknúť pohľad na paket",
|
||||
"pathMap_unfollowPacket": "Odomknúť pohľad od paketu",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regiony",
|
||||
"settings_regionSettingsSubtitle": "Zohľať uložené regiony",
|
||||
"settings_regionManagement_screenTitle": "Regiónne vedenie",
|
||||
"settings_regionNameHint": "Vstuptejte název regionu",
|
||||
"settings_regionAddRegion": "Dodajte region",
|
||||
"settings_regionFetchRegions": "Odberanie regionov z repeaterov",
|
||||
"settings_regionFetchRegionsFail": "Nebylo našli žiadné regiony",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Tento oblast je už dodán",
|
||||
"settings_regionName": "Regionné název",
|
||||
"settings_regionDeleted": "Regionu zníteno",
|
||||
"settings_deleteRegion": "Vyniknúcia regionu",
|
||||
"settings_deleteRegionConfirm": "Odstraniť {region} z listy regionov?",
|
||||
"settings_infoHardware": "Hardware",
|
||||
"settings_infoFirmware": "Firmware",
|
||||
"repeater_pathHashModeOption0": "0 - 1 byt",
|
||||
"repeater_pathHashModeOption1": "1 - 2 bity",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bity",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bity",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3.0-4.35V)",
|
||||
"channels_regionSetTo": "Region: {region}",
|
||||
"channels_regionNotSet": "Region: žiadné",
|
||||
"channels_regionSelect_Title": "Vyberte region",
|
||||
"channels_clearRegion": "Jasný údajný oblasť",
|
||||
"chat_sendImageLora": "Odoslať obrázok cez MeshCore",
|
||||
"chat_imagePickFailed": "Nesmiela jsem otvoriť tento obrázok",
|
||||
"chat_receivedGif": "Odeslaný GIF",
|
||||
"repeater_keySettings": "Zmena identititačných klíčov",
|
||||
"repeater_keySettingsSubtitle": "Zmena prehľadného/osobného klíčového zbraň",
|
||||
"repeater_prvKey": "Prívatná klíč",
|
||||
"repeater_prvKeyHelper": "Nová prívna klíčová číslo pre repeater, 128-znáčlový šestnáctorýč.",
|
||||
"repeater_generatePrvKey": "Vytvorenie príma kľúčového paru",
|
||||
"repeater_stopGeneratingPrvKey": "Prerušenie hľadania klíčového paru",
|
||||
"repeater_pubKey": "Public key",
|
||||
"repeater_pubKeyHelper": "Táto je veľká klíč, ktorý sa vztahuje s generovaným manéčným klíčom. Nemožné je to ustanovit priateľne.",
|
||||
"repeater_pubKeyPrefix": "Požadovaný prefiks",
|
||||
"repeater_pubKeyPrefixHelper": "Zahľadnite sa veľkú publicenu klíču, ktorá začíná tými šestícih štiastkami. Očekivané potrebné pokusy: {tries}.",
|
||||
"imageMessages_enableTitle": "Zabezpečte zobrazi",
|
||||
"imageMessages_enableSubtitle": "Odeslanie obrazov pre mšťanie. Potrebujete jednorazové stáhnutie modelu obrazov.",
|
||||
"imageMessages_modelSectionTitle": "Model v kínajme",
|
||||
"imageMessages_downloadModel": "Stáhnie",
|
||||
"imageMessages_cancelDownload": "Zastavenie",
|
||||
"imageMessages_removeModel": "Vyhniť model",
|
||||
"imageMessages_modelReady": "Čiačný",
|
||||
"imageMessages_modelNotPublished": "Nesprávne vypisáné — tento prechovka nie môže jej stáhnuť.",
|
||||
"imageMessages_downloadFailed": "Model s obrázkom nemôžno sťažovať.",
|
||||
"imageMessages_autoProcessTitle": "Automaticky prepojiť slučaje.",
|
||||
"imageMessages_autoProcessSubtitle": "Rekonstruujte každý obraz tak, ako pridá. Používajete okolo 2 GB pamäti pre drugú hodinu; odložte rekonstrukciu tým kliknutím.",
|
||||
"imageSend_title": "Vyslat obraz",
|
||||
"imageSend_cropNote": "Zmeneno na 512 × 512 · vzorýst nie byl zachovan",
|
||||
"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.\"",
|
||||
"imageSend_onAirSize": "V prúce",
|
||||
"imageSend_quality": "Kvalita",
|
||||
"imageSend_qualityStandard": "Stándard",
|
||||
"imageSend_qualityHigh": "Vysoká",
|
||||
"imageSend_packetsLabel": "Pakety",
|
||||
"imageSend_airtimeLabel": "Čas na anteni",
|
||||
"imageSend_sizeLabel": "Základ",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{paket} other{paketov}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Nastavenia radio nezná",
|
||||
"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": "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ť",
|
||||
"imageSend_cancel": "Zastavenie",
|
||||
"imageSend_encodeFailed": "Tento obráz nie byla byla schována.",
|
||||
"imageSend_codecDownloading": "Model prehľadovania prebeža stále stále stále prechádza.",
|
||||
"imageSend_codecUnavailable": "Zobrazenie nie je dostupný na tomto zariadení.",
|
||||
"imageSend_codecDisabled": "Zobrazy s prešteľkami sú v nastavení vypnené.",
|
||||
"imageSend_deviceUnsupported": "Tento radiok nie môže odeslať obrazové pakety. Podeďte správne určité zařízení s oprogramovaním spolupráce 13 alebo novším.",
|
||||
"imageSend_directMessagesUnsupported": "Obrazy sa prechádzajú jako skupinové údaje, preto sa ich môžu odeslať len na kanál — nie v príbeh sa.",
|
||||
"imageSend_tooLarge": "Tento obraz byl skodyrovany do viac paketov, ako umožňuje si sítka format.",
|
||||
"imageSend_sentConfirmation": "Obrázok odoslaný ako {count} {count, plural, =1{paket} other{paketov}}.",
|
||||
"imageSend_sendFailed": "Obraz nemôžlo odeslať: {error}",
|
||||
"imageSend_sendingProgress": "Vysyťanie obrazu — pakét {sent} z {total}",
|
||||
"receivedImage_senderPrefix": "Vęzlo {prefix}",
|
||||
"receivedImage_incoming": "Otrzymané {received} z {total} pakotí",
|
||||
"receivedImage_queued": "Čekanie na dekódovanie",
|
||||
"receivedImage_tapToDecode": "Kliknite, aby dekódovať",
|
||||
"receivedImage_decoding": "Rekonstrukcia… o čoľve 1 s",
|
||||
"receivedImage_incomplete": "Obraz nieješťajný — {received} z {total} paciek príšlo",
|
||||
"receivedImage_corrupt": "Obraz nemôžu byť prepojený",
|
||||
"receivedImage_decoderMissing": "Otrzymaná slúba — dekódovanie slúby je vypadejce",
|
||||
"receivedImage_evicted": "Obraz nemá uložený",
|
||||
"receivedImage_retry": "Zkôr to opítajte",
|
||||
"receivedImage_decodeAgain": "Zdeľte sa znovu",
|
||||
"receivedImage_openSettings": "Založte",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+293
-36
@@ -485,6 +485,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Izberite dejanje pošiljanja",
|
||||
"chat_sendGif": "Pošlji GIF",
|
||||
"chat_reply": "Odgovori",
|
||||
"chat_addReaction": "Dodaj reakcijo",
|
||||
@@ -577,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",
|
||||
@@ -621,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": {
|
||||
@@ -631,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}",
|
||||
@@ -899,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}",
|
||||
@@ -972,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.",
|
||||
@@ -1017,7 +1018,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_packetTxTotal": "Skupno: {total}, Poplava: {flood}, Neposredno: {direct}",
|
||||
"repeater_packetTxTotal": "Skupno: {total}, Flood: {flood}, Neposredno: {direct}",
|
||||
"@repeater_packetTxTotal": {
|
||||
"placeholders": {
|
||||
"total": {
|
||||
@@ -1031,7 +1032,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_packetRxTotal": "Skupno: {total}, Poplava: {flood}, Neposredno: {direct}",
|
||||
"repeater_packetRxTotal": "Skupno: {total}, Flood: {flood}, Neposredno: {direct}",
|
||||
"@repeater_packetRxTotal": {
|
||||
"placeholders": {
|
||||
"total": {
|
||||
@@ -1045,7 +1046,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_duplicatesFloodDirect": "Prah: {flood}, Neposredni: {direct}",
|
||||
"repeater_duplicatesFloodDirect": "Flood: {flood}, Neposredni: {direct}",
|
||||
"@repeater_duplicatesFloodDirect": {
|
||||
"placeholders": {
|
||||
"flood": {
|
||||
@@ -1102,7 +1103,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_floodAdvertInterval": "Razpon Obvestil o Poplavah",
|
||||
"repeater_floodAdvertInterval": "Razpon Flood Oglasov",
|
||||
"repeater_floodAdvertIntervalHours": "{hours} ur",
|
||||
"@repeater_floodAdvertIntervalHours": {
|
||||
"placeholders": {
|
||||
@@ -1173,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",
|
||||
@@ -1182,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",
|
||||
@@ -1282,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.",
|
||||
@@ -1310,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.",
|
||||
@@ -1482,7 +1483,7 @@
|
||||
}
|
||||
},
|
||||
"channelPath_unknownPath": "Neznano",
|
||||
"channelPath_floodPath": "Prebivalstvo",
|
||||
"channelPath_floodPath": "Flood",
|
||||
"channelPath_directPath": "Neposredni",
|
||||
"channelPath_observedZeroOf": "0 iz {total} skokov",
|
||||
"@channelPath_observedZeroOf": {
|
||||
@@ -1554,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.",
|
||||
@@ -1757,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",
|
||||
@@ -1790,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",
|
||||
@@ -2297,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.",
|
||||
@@ -2327,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 \"<null>\".",
|
||||
"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.",
|
||||
@@ -2468,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.",
|
||||
@@ -2486,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",
|
||||
@@ -2502,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",
|
||||
@@ -2605,5 +2606,261 @@
|
||||
"pathMap_noLocation": "Brez lokacije",
|
||||
"pathMap_followPacket": "Zakleni pogled na paket",
|
||||
"pathMap_unfollowPacket": "Odkleni pogled od paketa",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Regioni",
|
||||
"settings_regionSettingsSubtitle": "Upravljanje opisanih regionov",
|
||||
"settings_regionManagement_screenTitle": "Regijonsko upravljanje",
|
||||
"settings_regionNameHint": "Naslov občine",
|
||||
"settings_regionAddRegion": "Dodaj region",
|
||||
"settings_regionFetchRegions": "Pobražujte izvajne področja iz ponavljalnikov",
|
||||
"settings_regionFetchRegionsFail": "Nižnih občin ni izkrali",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Taj oblasi je več pomanjkan.",
|
||||
"settings_regionName": "Naziv Regiona",
|
||||
"settings_regionDeleted": "Oblikačena regija",
|
||||
"settings_deleteRegion": "Prihoda Region",
|
||||
"settings_deleteRegionConfirm": "Ostani {region} iz listy regionov?",
|
||||
"settings_infoHardware": "Hardver",
|
||||
"settings_infoFirmware": "Pravilnik",
|
||||
"repeater_pathHashModeOption0": "0 - 1 bajt",
|
||||
"repeater_pathHashModeOption1": "1 - 2 bite",
|
||||
"repeater_pathHashModeOption2": "2 - 3 bite",
|
||||
"repeater_pathHashModeOption3": "3 - 4 bite",
|
||||
"appSettings_batteryLipoHv": "LiPo HV (3,0–4,35 V)",
|
||||
"channels_regionSetTo": "Osebno: {region}",
|
||||
"channels_regionNotSet": "Region: brak",
|
||||
"channels_regionSelect_Title": "Vablajte region",
|
||||
"channels_clearRegion": "Jasna regija",
|
||||
"chat_sendImageLora": "Pošlji sliko prek MeshCore",
|
||||
"chat_imagePickFailed": "Nispeval sem tega ta slik",
|
||||
"chat_receivedGif": "Otrvljen GIF",
|
||||
"repeater_keySettings": "Zmeničke ključe identitete",
|
||||
"repeater_keySettingsSubtitle": "Zamenjajte publican ali privatni ključni par",
|
||||
"repeater_prvKey": "Privarna ključa",
|
||||
"repeater_prvKeyHelper": "Nova privatna ključa za prekaznik, 128- znakovni šestnastik.",
|
||||
"repeater_generatePrvKey": "Sporočna ključna para",
|
||||
"repeater_stopGeneratingPrvKey": "Prekajanje odkrivanja ključne paro",
|
||||
"repeater_pubKey": "Public key (publična ključa)",
|
||||
"repeater_pubKeyHelper": "Taj je publicna ključ, ki pomeni pripovedno privatno ključ. Ne možeš to vrediti direktno.",
|
||||
"repeater_pubKeyPrefix": "Poželana prefiks",
|
||||
"repeater_pubKeyPrefixHelper": "Najdi publicen ključ, ki začne s tih hexnih čitov. Očekivani pokusi: {tries}.",
|
||||
"imageMessages_enableTitle": "Pozivni izkričile slike",
|
||||
"imageMessages_enableSubtitle": "Prešli vzorce pre mrežo. Potrebno je jednokratno stworiti model vzorca.",
|
||||
"imageMessages_modelSectionTitle": "Obrazni model",
|
||||
"imageMessages_downloadModel": "Storba",
|
||||
"imageMessages_cancelDownload": "Odločite",
|
||||
"imageMessages_removeModel": "Ubrani model",
|
||||
"imageMessages_modelReady": "Gotov",
|
||||
"imageMessages_modelNotPublished": "Jo še niso izdana — ta izdelka te ne može prebaviti.",
|
||||
"imageMessages_downloadFailed": "Obrazni model ne može biti preuzet.",
|
||||
"imageMessages_autoProcessTitle": "Avtomatizirane slike",
|
||||
"imageMessages_autoProcessSubtitle": "Katero je oblikovanje svega oblikov, ko se pošteva. Za drugo okolo časa se koristi ok. 2 GB pamične prostore; odločite se za oblikovanje s tukom.",
|
||||
"imageSend_title": "Sločaji slik",
|
||||
"imageSend_cropNote": "Zadovoljno izmenjeno na 512 × 512 · vzorovni odnos ne ohranjen",
|
||||
"imageSend_originalSize": "Original text:\n\nThe early bird catches the worm.\n\nTranslation:\n\nPojdi prvi, zlati v kroku.",
|
||||
"imageSend_onAirSize": "Na vodi",
|
||||
"imageSend_quality": "Kakovost",
|
||||
"imageSend_qualityStandard": "Standard",
|
||||
"imageSend_qualityHigh": "Vysoko",
|
||||
"imageSend_packetsLabel": "Pakete",
|
||||
"imageSend_airtimeLabel": "Čas v eteru",
|
||||
"imageSend_sizeLabel": "Napravo",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{paket} other{paketov}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Naslušniki radio neznane",
|
||||
"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": "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",
|
||||
"imageSend_cancel": "Odločite",
|
||||
"imageSend_encodeFailed": "Ovo slikovo ne more biti zakodirano.",
|
||||
"imageSend_codecDownloading": "Obrazni model še pospeva preborjanje.",
|
||||
"imageSend_codecUnavailable": "Poslanje slike nema na tem zelo naročnem naročnem.",
|
||||
"imageSend_codecDisabled": "Obrazi s pomanjkanjem so v nastavnih.",
|
||||
"imageSend_deviceUnsupported": "Taj radio ne može posredovati slike pakuete. Prepoštijo izbirni napravnik s kompanijskimi programi na čevem 13 ali novšejšim.",
|
||||
"imageSend_directMessagesUnsupported": "Obrazy se pojavijo kot skupnih podatkov, pa lahko ih poslujejo samo na kanal — ne v prilogih.",
|
||||
"imageSend_tooLarge": "Taj slik je zakodiran v viših pakotnih od športne formate, ki omogoča mrežni format.",
|
||||
"imageSend_sentConfirmation": "Slika poslana kot {count} {count, plural, =1{paket} other{paketov}}.",
|
||||
"imageSend_sendFailed": "Obraz ne može biti poslany: {error}",
|
||||
"imageSend_sendingProgress": "Prekazivanje izkaza — paket {sent} od {total}",
|
||||
"receivedImage_senderPrefix": "Vrtitev {prefix}",
|
||||
"receivedImage_incoming": "Otrteno od {received} na {total} poslovanih potokov",
|
||||
"receivedImage_queued": "Čekanje, da se dekodira",
|
||||
"receivedImage_tapToDecode": "Kliknite, da razkrivete",
|
||||
"receivedImage_decoding": "Ostvarjanje… o prihodnosti za okolo 1 s",
|
||||
"receivedImage_incomplete": "Obraz nije kompletan — {received} od {total} poslaničev je prishodil",
|
||||
"receivedImage_corrupt": "Obraz ne more lahko rekonstruirati",
|
||||
"receivedImage_decoderMissing": "Otrgena slika — dekodirana slika je izključena",
|
||||
"receivedImage_evicted": "Obraz ni več niso zakajiren",
|
||||
"receivedImage_retry": "Pokušajte znova",
|
||||
"receivedImage_decodeAgain": "Dekodiraj ponovno",
|
||||
"receivedImage_openSettings": "Nastavite",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+637
-380
File diff suppressed because it is too large.
Load diff
+279
-23
@@ -488,6 +488,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "Виберіть дію надсилання",
|
||||
"chat_sendGif": "Надіслати GIF",
|
||||
"chat_reply": "Відповісти",
|
||||
"chat_addReaction": "Додати реакцію",
|
||||
@@ -1177,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": "Порогове значення перешкод",
|
||||
@@ -1192,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",
|
||||
@@ -1766,7 +1767,7 @@
|
||||
"contacts_contactImported": "Контакт було імпортовано.",
|
||||
"contacts_contactImportFailed": "Контакт не вдалось імпортувати",
|
||||
"contacts_zeroHopAdvert": "Оголошення без ретрансляції",
|
||||
"contacts_floodAdvert": "Оголошення з ретрансляцією",
|
||||
"contacts_floodAdvert": "Оголошення через всю мережу (flood)",
|
||||
"contacts_copyAdvertToClipboard": "Копіювати оголошення",
|
||||
"contacts_clipboardEmpty": "Буфер обміну порожній",
|
||||
"appSettings_languageRu": "Російська",
|
||||
@@ -2276,7 +2277,7 @@
|
||||
"repeater_sensors": "Датчики",
|
||||
"repeater_cliHelpPowerOff": "Вмикає живлення пристрою. (очікується відсутність відповіді)",
|
||||
"repeater_cliHelpClkReboot": "Скидає годинник до відомої епохи та перезавантажує пристрій.",
|
||||
"repeater_cliHelpAdvertZeroHop": "Надсилає рекламу, яка не проходить через інші мережі (лише до безпосередніх сусідів).",
|
||||
"repeater_cliHelpAdvertZeroHop": "Надсилає оголошення, яке не проходить через інші мережі (лише до безпосередніх сусідів).",
|
||||
"repeater_cliHelpStartOta": "Запускає оновлення прошивки безпосередньо через повітря на сумісних платах.",
|
||||
"repeater_cliHelpTime": "Встановлює час пристрою відповідно до заданих секунд від початку епохи Unix. Час не може відкачуватися назад.",
|
||||
"repeater_cliHelpBoard": "Показує виробника/ідентифікатор обладнання.",
|
||||
@@ -2307,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": "Демонструє чутливість до виявлення циклів.",
|
||||
@@ -2337,8 +2338,8 @@
|
||||
"repeater_cliHelpSensorList": "Перераховує всі налаштування користувацьких датчиків, розділені на сторінки, починаючи з опціонального індексу початку.",
|
||||
"repeater_cliHelpRegionDefault": "Показує поточний область дії за замовчуванням.",
|
||||
"repeater_cliHelpRegionDefaultSet": "Встановлює значення регіону за замовчуванням. Використовуйте \"<null>\", щоб очистити.",
|
||||
"repeater_cliHelpRegionListAllowed": "Перелік регіонів, де дозволено рух транспорту під час повені.",
|
||||
"repeater_cliHelpRegionListDenied": "Перелік регіонів, які забороняють рух транспорту під час повені.",
|
||||
"repeater_cliHelpRegionListAllowed": "Перелік регіонів, де дозволено поширення через всю мережу (flood).",
|
||||
"repeater_cliHelpRegionListDenied": "Перелік регіонів, де заборонено поширення через всю мережу (flood).",
|
||||
"repeater_cliHelpStatsPackets": "(Тільки для серійного використання) Відображає статистику на рівні пакетів.",
|
||||
"repeater_cliHelpStatsRadio": "(Тільки для серій) Відображає радіостатистику.",
|
||||
"repeater_cliHelpStatsCore": "(Тільки для серійного використання) Відображає основні статистичні дані про програмне забезпечення.",
|
||||
@@ -2448,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": "Поточний маршрут",
|
||||
@@ -2462,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": "Префікси для шестнадцяткової системи числення",
|
||||
@@ -2483,7 +2484,7 @@
|
||||
"routing_deliveryCounts": "{successes} delivered, {failures} failed",
|
||||
"pathEditor_tooManyHops": "Максимум 64 хмелеві колоди",
|
||||
"pathEditor_usePath": "Використовуйте цей шлях",
|
||||
"pathEditor_removeHop": "Видалити хміль",
|
||||
"pathEditor_removeHop": "Видалити перехід",
|
||||
"pathEditor_unknownHop": "Невідомий ретранслятор",
|
||||
"map_zoomIn": "Увійти в режим збільшення",
|
||||
"map_zoomOut": "Видалити зум",
|
||||
@@ -2585,5 +2586,260 @@
|
||||
"pathMap_noLocation": "Без геопозиції",
|
||||
"pathMap_followPacket": "Прив'язати вигляд до пакету",
|
||||
"pathMap_unfollowPacket": "Відв'язати вигляд від пакету",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS"
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "Ріси",
|
||||
"settings_regionSettingsSubtitle": "Управляти збережених регіонів",
|
||||
"settings_regionManagement_screenTitle": "Рégіональний управління",
|
||||
"settings_regionNameHint": "Назва регіону",
|
||||
"settings_regionAddRegion": "Добачить регіон",
|
||||
"settings_regionFetchRegions": "Збираємо регіони з репітерів",
|
||||
"settings_regionFetchRegionsFail": "Ні відкриті регіони",
|
||||
"settings_regionFetchRegionsAlreadyExists": "Цей регіон вже було доданий",
|
||||
"settings_regionName": "Ріонна назва",
|
||||
"settings_regionDeleted": "Ріон витертений",
|
||||
"settings_deleteRegion": "Видалення регіону",
|
||||
"settings_deleteRegionConfirm": "Вирішіть \"{region}\" з списку регіонів?",
|
||||
"settings_infoHardware": "Оборудовання",
|
||||
"settings_infoFirmware": "Програмне вміст (фirmware)",
|
||||
"repeater_pathHashModeOption0": "0 - 1 байт",
|
||||
"repeater_pathHashModeOption1": "1 - 2 байти",
|
||||
"repeater_pathHashModeOption2": "2 - 3 байти",
|
||||
"repeater_pathHashModeOption3": "3 - 4 байта",
|
||||
"appSettings_batteryLipoHv": "ЛиPo HV (3,0-4,35 В)",
|
||||
"channels_regionSetTo": "Ріон: {region}",
|
||||
"channels_regionNotSet": "Ріон: нема",
|
||||
"channels_regionSelect_Title": "Вybірте регіон",
|
||||
"channels_clearRegion": "Чистя зона",
|
||||
"chat_sendImageLora": "Надіслати зображення через MeshCore",
|
||||
"chat_imagePickFailed": "Неможливо відкрити це изображення",
|
||||
"chat_receivedGif": "Підймовано GIF",
|
||||
"repeater_keySettings": "Зміна ключів ідентифікації",
|
||||
"repeater_keySettingsSubtitle": "Замініть публічний/приватний ключ",
|
||||
"repeater_prvKey": "Приватний ключ",
|
||||
"repeater_prvKeyHelper": "Нова приватна ключ для репітера, 128-символова штучна штука в шестнадцатеричному форматі.",
|
||||
"repeater_generatePrvKey": "Синхронізujте ключовий пару",
|
||||
"repeater_stopGeneratingPrvKey": "Прервити шук ключового пару",
|
||||
"repeater_pubKey": "Публічна ключ",
|
||||
"repeater_pubKeyHelper": "Це публична ключ, який пов'язано з створеною приватною ключом. Ви не можете встановлювати його напрямую.",
|
||||
"repeater_pubKeyPrefix": "Високорейтингове прикінання",
|
||||
"repeater_pubKeyPrefixHelper": "Найдіть відповідний открытий ключ, який починається ціми шестнадцатыми цифрами. Ожидається кількість потрібних попыток: {tries}.",
|
||||
"imageMessages_enableTitle": "Підтримка зображень для посилання",
|
||||
"imageMessages_enableSubtitle": "Пошукуєте изображення через сеть. Вимagaєте однократне скачання моделю изображення.",
|
||||
"imageMessages_modelSectionTitle": "Модель для зображень",
|
||||
"imageMessages_downloadModel": "Скачання",
|
||||
"imageMessages_cancelDownload": "Завершити",
|
||||
"imageMessages_removeModel": "Видалим модель",
|
||||
"imageMessages_modelReady": "Готово",
|
||||
"imageMessages_modelNotPublished": "Щоб не було опубліковано — це версія не дозволяє зробити скачання.",
|
||||
"imageMessages_downloadFailed": "Модель для зображень не можна сказати.",
|
||||
"imageMessages_autoProcessTitle": "Автоматично оброблювати obraзи",
|
||||
"imageMessages_autoProcessSubtitle": "Кожна картинка повинні бути відтворена на мій момент прибуття. Використовує приблизно 2 ГБ пам'яті на кожен раз; відключіть від відтворення за допомогою кlikу.",
|
||||
"imageSend_title": "Нашкоду зовні\n\n(or more naturally, depending on context)\n\nПошукуєте изображення",
|
||||
"imageSend_cropNote": "Манітовано до 512 × 512 · соотношення варість не зберігається",
|
||||
"imageSend_originalSize": "Оригінал",
|
||||
"imageSend_onAirSize": "На ері",
|
||||
"imageSend_quality": "Качество",
|
||||
"imageSend_qualityStandard": "Стандарт",
|
||||
"imageSend_qualityHigh": "Висок",
|
||||
"imageSend_packetsLabel": "Пакети",
|
||||
"imageSend_airtimeLabel": "Час на ері",
|
||||
"imageSend_sizeLabel": "Підлог",
|
||||
"imageSend_packetsCount": "{count} {count, plural, one{пакет} few{пакети} many{пакетів} other{пакета}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "Настройки радио неизвестні",
|
||||
"imageSend_radioUnknownBody": "Залучіться до пристрою, щоб можна було розрахунювати час в етері.",
|
||||
"imageSend_longSendTitle": "Длуга передача",
|
||||
"imageSend_longSendBody": "Це забезпечить канал на approximativno {duration} хвилин.",
|
||||
"imageSend_floodNote": "Поширення через всю мережу (flood): кожен ретранслятор у діапазоні пересилає кожен пакет, тому канал залишається зайнятим довше, ніж зазначено тут.",
|
||||
"imageSend_parityTitle": "Пакет відновлення",
|
||||
"imageSend_paritySubtitle": "Один дополний пакет. Групові посилання не відповідають, тому це дозволяє відвідувачу відтворити зображення, якщо один пакет втрачений.",
|
||||
"imageSend_send": "Пошутить",
|
||||
"imageSend_cancel": "Завершити",
|
||||
"imageSend_encodeFailed": "Це изображення не може бути кодировано.",
|
||||
"imageSend_codecDownloading": "Модель для відтворення изображень ще збирається.",
|
||||
"imageSend_codecUnavailable": "Постій для відправлення изображень на цьому пристрої не доступний.",
|
||||
"imageSend_codecDisabled": "Пictesovani posyly wyключені в настройках.",
|
||||
"imageSend_deviceUnsupported": "Цей радіопередач не може отправляти пакети зображень. Зконнете пристрої, що працює з обладнанням керемонітом компаньєр 13 або новшим.",
|
||||
"imageSend_directMessagesUnsupported": "Фотографії передаються як дані групою, тому їх можна відправляти лише на канал — не в прямому посилання.",
|
||||
"imageSend_tooLarge": "Це изображення кодує більше пакітів, ніж дозволяє формат сети.",
|
||||
"imageSend_sentConfirmation": "Зображення надіслано як {count} {count, plural, =1{пакет} other{пакетів}}.",
|
||||
"imageSend_sendFailed": "Изображення не можна відправити: {error}",
|
||||
"imageSend_sendingProgress": "Пошускаємо изображення — пакет {sent} з {total}",
|
||||
"receivedImage_senderPrefix": "Нод {prefix}",
|
||||
"receivedImage_incoming": "Підходяче: {received} з {total} пакітів",
|
||||
"receivedImage_queued": "Очікування розслівання коду",
|
||||
"receivedImage_tapToDecode": "Кliknite для декодування",
|
||||
"receivedImage_decoding": "Повноювання… за прибуття 1 с.",
|
||||
"receivedImage_incomplete": "Образок не повний — {received} з {total} пакітів прибавлено",
|
||||
"receivedImage_corrupt": "Obraz не можна відтворити",
|
||||
"receivedImage_decoderMissing": "Під час приємки — розшифровка зображення не вдалося.",
|
||||
"receivedImage_evicted": "Изображення не зберігається",
|
||||
"receivedImage_retry": "Попробуй ще раз",
|
||||
"receivedImage_decodeAgain": "Декодуй ще раз",
|
||||
"receivedImage_openSettings": "Заведіть",
|
||||
"receivedImage_tapToProcess": "Кликніть для обробки",
|
||||
"receivedImage_awaiting": "{bytes} байтів · {packets} {packets, plural, =1{пакет} other{пакетів}}",
|
||||
"imageSend_secondsValue": "{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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+289
-33
@@ -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": "操作",
|
||||
@@ -512,6 +512,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_selectSendAction": "选择发送操作",
|
||||
"chat_sendGif": "发送 GIF",
|
||||
"chat_reply": "回复",
|
||||
"chat_addReaction": "添加表情",
|
||||
@@ -1179,7 +1180,7 @@
|
||||
"repeater_refreshMultiAcks": "刷新多个确认",
|
||||
"repeater_networkHealth": "网络健康",
|
||||
"repeater_loopDetect": "循环检测",
|
||||
"repeater_loopDetectHelper": "创建看起来像路由环的“洪水包”",
|
||||
"repeater_loopDetectHelper": "创建看起来像路由环的“泛洪包”",
|
||||
"repeater_loopDetectOff": "离开",
|
||||
"repeater_loopDetectMinimal": "最少",
|
||||
"repeater_loopDetectModerate": "适度的",
|
||||
@@ -1197,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": "干扰阈值",
|
||||
@@ -1212,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} 成功",
|
||||
@@ -2101,8 +2102,8 @@
|
||||
"settings_privacySettingsDescription": "选择您的设备与他人共享的信息。",
|
||||
"settings_telemetryBaseMode": "遥测基础模式",
|
||||
"settings_telemetryLocationMode": "遥测位置模式",
|
||||
"settings_advertLocation": "广告位置",
|
||||
"settings_advertLocationSubtitle": "在广告中包含位置",
|
||||
"settings_advertLocation": "广播位置",
|
||||
"settings_advertLocationSubtitle": "在广播中包含位置",
|
||||
"settings_allowByContact": "按联系人标志允许",
|
||||
"settings_denyAll": "拒绝所有",
|
||||
"settings_privacy": "隐私设置",
|
||||
@@ -2272,7 +2273,7 @@
|
||||
"repeater_sensors": "传感器",
|
||||
"repeater_cliHelpPowerOff": "关闭设备。(不应有任何响应)",
|
||||
"repeater_cliHelpClkReboot": "将时钟重置为已知的时间点,并重启设备。",
|
||||
"repeater_cliHelpAdvertZeroHop": "发送无中继广告(仅限于邻居)。",
|
||||
"repeater_cliHelpAdvertZeroHop": "发送无中继广播(仅限于邻居)。",
|
||||
"repeater_cliHelpStartOta": "在支持的板上启动通过空中进行固件更新。",
|
||||
"repeater_cliHelpTime": "将设备时钟设置为给定的 Unix 纪元秒。时钟不能倒退。",
|
||||
"repeater_cliHelpBoard": "显示制造商/硬件标识。",
|
||||
@@ -2283,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": "(仅限串行模式)快速设置频率。需要重启。 建议使用“设置收音机参数”功能,以便设置完整的收音机参数。",
|
||||
@@ -2303,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": "显示循环检测的灵敏度。",
|
||||
@@ -2333,8 +2334,8 @@
|
||||
"repeater_cliHelpSensorList": "列出所有自定义传感器设置,并按可选的起始索引进行分页显示。",
|
||||
"repeater_cliHelpRegionDefault": "显示当前默认的区域范围。",
|
||||
"repeater_cliHelpRegionDefaultSet": "设置默认的区域范围。使用 \"<null>\" 可以清除。",
|
||||
"repeater_cliHelpRegionListAllowed": "列出允许洪水交通的区域。",
|
||||
"repeater_cliHelpRegionListDenied": "列出禁止洪水交通的区域。",
|
||||
"repeater_cliHelpRegionListAllowed": "列出允许泛洪交通的区域。",
|
||||
"repeater_cliHelpRegionListDenied": "列出禁止泛洪交通的区域。",
|
||||
"repeater_cliHelpStatsPackets": "(仅显示序列信息)显示数据包级别的统计信息。",
|
||||
"repeater_cliHelpStatsRadio": "(仅显示序列信息)显示收音机相关统计数据。",
|
||||
"repeater_cliHelpStatsCore": "(仅显示序列号)显示核心固件统计信息。",
|
||||
@@ -2473,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": "当前路线",
|
||||
@@ -2491,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": "未知的重复器",
|
||||
@@ -2610,5 +2611,260 @@
|
||||
"pathMap_followPacket": "锁定视图跟随数据包",
|
||||
"pathMap_unfollowPacket": "解锁视图跟随",
|
||||
"pathMap_gpsCount": "{confirmed}/{total} GPS",
|
||||
"pathMap_partialAnimation": "{count, plural, =1{1 跳无位置信息 — 显示的路径不完整} other{{count} 跳无位置信息 — 显示的路径不完整}}"
|
||||
"pathMap_partialAnimation": "{count, plural, =1{1 跳无位置信息 — 显示的路径不完整} other{{count} 跳无位置信息 — 显示的路径不完整}}",
|
||||
"@settings_deleteRegionConfirm": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@channels_regionSetTo": {
|
||||
"placeholders": {
|
||||
"region": {
|
||||
"type": "String",
|
||||
"example": "de-mitte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@chat_imagePickFailed": {
|
||||
"description": "Shown when picking or reading a photo to send fails"
|
||||
},
|
||||
"@repeater_pubKeyPrefixHelper": {
|
||||
"placeholders": {
|
||||
"tries": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_packetsCount": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_range": {
|
||||
"placeholders": {
|
||||
"min": {
|
||||
"type": "String"
|
||||
},
|
||||
"max": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_longSendBody": {
|
||||
"placeholders": {
|
||||
"duration": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sentConfirmation": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_sendingProgress": {
|
||||
"placeholders": {
|
||||
"sent": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_senderPrefix": {
|
||||
"placeholders": {
|
||||
"prefix": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incoming": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_incomplete": {
|
||||
"placeholders": {
|
||||
"received": {
|
||||
"type": "int"
|
||||
},
|
||||
"total": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@receivedImage_awaiting": {
|
||||
"placeholders": {
|
||||
"bytes": {
|
||||
"type": "int"
|
||||
},
|
||||
"packets": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_secondsValue": {
|
||||
"placeholders": {
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"@imageSend_minutesSecondsValue": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "String"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings_regionSettings": "地区",
|
||||
"settings_regionSettingsSubtitle": "管理已存储的区域",
|
||||
"settings_regionManagement_screenTitle": "区域管理",
|
||||
"settings_regionNameHint": "区域名称",
|
||||
"settings_regionAddRegion": "增加地区",
|
||||
"settings_regionFetchRegions": "从中继器获取区域",
|
||||
"settings_regionFetchRegionsFail": "未发现任何地区",
|
||||
"settings_regionFetchRegionsAlreadyExists": "该地区已被添加",
|
||||
"settings_regionName": "地区名称",
|
||||
"settings_regionDeleted": "区域已删除",
|
||||
"settings_deleteRegion": "删除区域",
|
||||
"settings_deleteRegionConfirm": "从 {region} 列表中删除?",
|
||||
"settings_infoHardware": "硬件",
|
||||
"settings_infoFirmware": "固件",
|
||||
"repeater_pathHashModeOption0": "0 - 1 字节",
|
||||
"repeater_pathHashModeOption1": "1 - 2 字节",
|
||||
"repeater_pathHashModeOption2": "2 - 3 字节",
|
||||
"repeater_pathHashModeOption3": "3 - 4 字节",
|
||||
"appSettings_batteryLipoHv": "锂多压电源(3.0-4.35伏)",
|
||||
"channels_regionSetTo": "地区:{region}",
|
||||
"channels_regionNotSet": "地区:无",
|
||||
"channels_regionSelect_Title": "选择一个地区",
|
||||
"channels_clearRegion": "无碍区域",
|
||||
"chat_sendImageLora": "通过 MeshCore 发送图片",
|
||||
"chat_imagePickFailed": "无法打开该图片",
|
||||
"chat_receivedGif": "收到一个GIF",
|
||||
"repeater_keySettings": "更改身份密钥",
|
||||
"repeater_keySettingsSubtitle": "更换公钥/私钥对",
|
||||
"repeater_prvKey": "私钥",
|
||||
"repeater_prvKeyHelper": "中继器的新私钥,为一个128位的十六进制字符串。",
|
||||
"repeater_generatePrvKey": "生成一个随机的密钥对",
|
||||
"repeater_stopGeneratingPrvKey": "中断密钥对搜索",
|
||||
"repeater_pubKey": "公钥",
|
||||
"repeater_pubKeyHelper": "这是与生成的私钥配对的公钥。您不能直接设置此内容。",
|
||||
"repeater_pubKeyPrefix": "期望的前缀",
|
||||
"repeater_pubKeyPrefixHelper": "找到一组以这些十六进制数字开头的公钥。预计尝试次数:{tries}",
|
||||
"imageMessages_enableTitle": "启用图片消息",
|
||||
"imageMessages_enableSubtitle": "通过网格发送图像。需要一次性下载图像模型。",
|
||||
"imageMessages_modelSectionTitle": "图像模型",
|
||||
"imageMessages_downloadModel": "下载",
|
||||
"imageMessages_cancelDownload": "取消",
|
||||
"imageMessages_removeModel": "移除模型",
|
||||
"imageMessages_modelReady": "准备就绪",
|
||||
"imageMessages_modelNotPublished": "尚未发布——此版本无法下载该内容。",
|
||||
"imageMessages_downloadFailed": "图像模型无法下载。",
|
||||
"imageMessages_autoProcessTitle": "自动处理图像",
|
||||
"imageMessages_autoProcessSubtitle": "每次图像到达后立即重建,每次需要约2GB的内存;若想关闭重建功能,可通过点击取消开启。",
|
||||
"imageSend_title": "发送图片",
|
||||
"imageSend_cropNote": "调整大小至512 × 512 · 宽高比未保留",
|
||||
"imageSend_originalSize": "原文",
|
||||
"imageSend_onAirSize": "直播中",
|
||||
"imageSend_quality": "质量",
|
||||
"imageSend_qualityStandard": "标准",
|
||||
"imageSend_qualityHigh": "高",
|
||||
"imageSend_packetsLabel": "数据包",
|
||||
"imageSend_airtimeLabel": "播出时间",
|
||||
"imageSend_sizeLabel": "有效载荷",
|
||||
"imageSend_packetsCount": "{count} {count, plural, =1{个数据包} other{个数据包}}",
|
||||
"imageSend_range": "{min}–{max}",
|
||||
"imageSend_unknownValue": "—",
|
||||
"imageSend_radioUnknownTitle": "无线电设置未知",
|
||||
"imageSend_radioUnknownBody": "连接设备以计算播出时间。",
|
||||
"imageSend_longSendTitle": "长距离传输",
|
||||
"imageSend_longSendBody": "这将维持频道大约 {duration} 时间。",
|
||||
"imageSend_floodNote": "泛洪路由:每个中继站都会转发每个数据包,因此信道比这段时间更长地处于繁忙状态。",
|
||||
"imageSend_parityTitle": "恢复包",
|
||||
"imageSend_paritySubtitle": "多一个数据包。群发消息不被确认,因此如果某个数据包丢失,接收方可以重新构建图像。",
|
||||
"imageSend_send": "发送",
|
||||
"imageSend_cancel": "取消",
|
||||
"imageSend_encodeFailed": "此图像无法编码。",
|
||||
"imageSend_codecDownloading": "图像模型仍在下载中。",
|
||||
"imageSend_codecUnavailable": "此设备无法发送图片。",
|
||||
"imageSend_codecDisabled": "图片消息在设置中已关闭。",
|
||||
"imageSend_deviceUnsupported": "此无线电无法发送图像数据包。请连接运行伴侣固件13或更高版本的设备。",
|
||||
"imageSend_directMessagesUnsupported": "图片作为群组数据传输,因此只能发送到频道,而不能直接发送给个人。",
|
||||
"imageSend_tooLarge": "该图像编码的数据包数量超过了网格格式所允许的范围。",
|
||||
"imageSend_sentConfirmation": "图像已作为 {count} {count, plural, =1{个数据包} other{个数据包}} 发送。",
|
||||
"imageSend_sendFailed": "无法发送图片:{error}",
|
||||
"imageSend_sendingProgress": "发送图像 — 已发送 {sent} 包含 {total}",
|
||||
"receivedImage_senderPrefix": "节点 {prefix}",
|
||||
"receivedImage_incoming": "已收到的 {received} 个包含在 {total} 个包裹中",
|
||||
"receivedImage_queued": "等待解码",
|
||||
"receivedImage_tapToDecode": "点击解锁",
|
||||
"receivedImage_decoding": "重建……大约1秒",
|
||||
"receivedImage_incomplete": "图片不完整 — {received} 已收到 {total} 个数据包",
|
||||
"receivedImage_corrupt": "图像无法重建",
|
||||
"receivedImage_decoderMissing": "收到图片 — 图像解码失败",
|
||||
"receivedImage_evicted": "图片已不再存储",
|
||||
"receivedImage_retry": "再试一次",
|
||||
"receivedImage_decodeAgain": "重新解码",
|
||||
"receivedImage_openSettings": "建立",
|
||||
"receivedImage_tapToProcess": "点击处理",
|
||||
"receivedImage_awaiting": "{bytes} 字节 · {packets} {packets, plural, =1{个数据包} other{个数据包}}",
|
||||
"imageSend_secondsValue": "{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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
+231
-12
@@ -1,3 +1,5 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
@@ -9,7 +11,13 @@ import 'screens/chrome_required_screen.dart';
|
||||
import 'utils/platform_info.dart';
|
||||
|
||||
import 'connector/meshcore_connector.dart';
|
||||
import 'models/image_codec_support.dart';
|
||||
import 'screens/scanner_screen.dart';
|
||||
import 'services/image_chunk_transport.dart';
|
||||
import 'services/image_codec_service.dart';
|
||||
import 'services/image_codec_settings_store.dart';
|
||||
import 'services/received_image_blob_store_factory.dart';
|
||||
import 'services/received_image_store.dart';
|
||||
import 'services/storage_service.dart';
|
||||
import 'services/message_retry_service.dart';
|
||||
import 'services/path_history_service.dart';
|
||||
@@ -26,6 +34,7 @@ import 'services/timeout_prediction_service.dart';
|
||||
import 'storage/prefs_manager.dart';
|
||||
import 'theme/mesh_theme.dart';
|
||||
import 'utils/app_logger.dart';
|
||||
import 'widgets/image_send_codec_binding.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
@@ -59,9 +68,52 @@ void main() async {
|
||||
final uiViewStateService = UiViewStateService();
|
||||
final timeoutPredictionService = TimeoutPredictionService(storage);
|
||||
|
||||
// Load settings
|
||||
// Load settings before anything reads them. The image stack below takes its
|
||||
// model registry and its "process automatically" default straight off
|
||||
// `appSettingsService.settings`, so this cannot stay where it used to be
|
||||
// (after the constructions) without those two starting out wrong.
|
||||
await appSettingsService.loadSettings();
|
||||
|
||||
// ---- image messages (AEIC over GRP_DATA) --------------------------------
|
||||
// The codec owns the ONNX decoder; the store owns received-image state and
|
||||
// the decode queue; the reassembler/transport pair is the receive path the
|
||||
// connector feeds raw frames into.
|
||||
final imageCodecService = ImageCodecService(
|
||||
appSettingsService,
|
||||
settingsStore: AppSettingsImageCodecStore(appSettingsService),
|
||||
);
|
||||
final receivedImageStore = ReceivedImageStore(
|
||||
// Without a file-backed store this silently falls back to memory and every
|
||||
// received image — sidecar included — is gone at the next launch.
|
||||
blobs: createReceivedImageBlobStore(),
|
||||
decoder: ImageCodecServiceDecoder(imageCodecService),
|
||||
processAutomatically: appSettingsService.settings.imageProcessAutomatically,
|
||||
);
|
||||
// A decode peaks around 2.16 GiB, so the setting is the user's consent to
|
||||
// spend it. Mirrored on every settings change; the store applies it to
|
||||
// future arrivals only, so turning it on does not decode a backlog.
|
||||
appSettingsService.addListener(() {
|
||||
receivedImageStore.processAutomatically =
|
||||
appSettingsService.settings.imageProcessAutomatically;
|
||||
});
|
||||
// Availability/isBusy changes are the only thing that un-parks a decode
|
||||
// queue that stopped because the codec was unusable or busy.
|
||||
imageCodecService.addListener(receivedImageStore.notifyDecoderChanged);
|
||||
final imageReassembler = ImageStreamReassembler(store: receivedImageStore);
|
||||
final imageTransport = ImageChunkTransport(
|
||||
reassembler: imageReassembler,
|
||||
// The UI sends whole chunk sets through connector.sendImageChunks so it
|
||||
// gets real inter-chunk pacing and per-chunk progress; this closure only
|
||||
// keeps ImageChunkTransport.sendImage() usable on its own.
|
||||
send: (blob, channelIndex) => connector.sendImageChunks(
|
||||
<Uint8List>[blob],
|
||||
channelIndex: channelIndex,
|
||||
interChunkDelay: Duration.zero,
|
||||
),
|
||||
// Overwritten by onImageSenderPrefix as soon as SELF_INFO lands.
|
||||
senderPrefix: 0,
|
||||
);
|
||||
|
||||
// Initialize app logger
|
||||
appLogger.initialize(
|
||||
appDebugLogService,
|
||||
@@ -79,6 +131,8 @@ void main() async {
|
||||
|
||||
await chatTextScaleService.initialize();
|
||||
await translationService.refreshDownloadedModels();
|
||||
await imageCodecService.refreshDownloadedModels();
|
||||
await receivedImageStore.load();
|
||||
await uiViewStateService.initialize();
|
||||
await timeoutPredictionService.initialize();
|
||||
|
||||
@@ -92,6 +146,12 @@ void main() async {
|
||||
appDebugLogService: appDebugLogService,
|
||||
backgroundService: backgroundService,
|
||||
timeoutPredictionService: timeoutPredictionService,
|
||||
imageCodecService: imageCodecService,
|
||||
imageTransport: imageTransport,
|
||||
// ImageStreamReassembler.addChunk already forwards every outcome to the
|
||||
// store together with the channel index (which ImageChunkOutcome itself
|
||||
// does not carry), so onImageChunk would be a second, channel-blind path.
|
||||
onImageSenderPrefix: (prefix) => imageReassembler.selfPrefix = prefix,
|
||||
);
|
||||
|
||||
await connector.loadContactCache();
|
||||
@@ -116,10 +176,107 @@ void main() async {
|
||||
translationService: translationService,
|
||||
uiViewStateService: uiViewStateService,
|
||||
timeoutPredictionService: timeoutPredictionService,
|
||||
imageCodecService: imageCodecService,
|
||||
receivedImageStore: receivedImageStore,
|
||||
imageReassembler: imageReassembler,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// [ReceivedImageDecoder] over [ImageCodecService].
|
||||
///
|
||||
/// Pure delegation. It exists so `received_image_store.dart` never imports
|
||||
/// `image_codec_service.dart` (and so the store stays testable without an
|
||||
/// 872 MB ONNX graph).
|
||||
class ImageCodecServiceDecoder implements ReceivedImageDecoder {
|
||||
final ImageCodecService service;
|
||||
|
||||
const ImageCodecServiceDecoder(this.service);
|
||||
|
||||
@override
|
||||
ImageCodecAvailability get availability => service.availability;
|
||||
|
||||
@override
|
||||
bool get isBusy => service.isBusy;
|
||||
|
||||
@override
|
||||
Future<ImageCodecResult?> decodeBitstream({
|
||||
required Uint8List bitstream,
|
||||
required AeicRatePoint ratePoint,
|
||||
required int resolution,
|
||||
}) => service.decodeBitstream(
|
||||
bitstream: bitstream,
|
||||
ratePoint: ratePoint,
|
||||
resolution: resolution,
|
||||
);
|
||||
|
||||
@override
|
||||
void cancelCodecJob() => service.cancelCodecJob();
|
||||
}
|
||||
|
||||
/// [ImageCodecSettingsStore] backed by [AppSettingsService].
|
||||
///
|
||||
/// Replaces `PrefsImageCodecSettingsStore` now that the five `imageCodec*`
|
||||
/// fields live on [AppSettings]; the JSON keys were already the same, so a
|
||||
/// user upgrading keeps their model registry only if it was written through
|
||||
/// this adapter — the old standalone `image_codec_settings` blob is not
|
||||
/// migrated, because a placeholder-URL build cannot have produced one.
|
||||
class AppSettingsImageCodecStore implements ImageCodecSettingsStore {
|
||||
final AppSettingsService _service;
|
||||
|
||||
const AppSettingsImageCodecStore(this._service);
|
||||
|
||||
@override
|
||||
ImageCodecPreferences get preferences => _service.settings.imageCodec;
|
||||
|
||||
@override
|
||||
Future<void> load() async {
|
||||
// AppSettingsService.loadSettings() already ran in main().
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> save(ImageCodecPreferences preferences) =>
|
||||
_service.setImageCodecPreferences(preferences);
|
||||
}
|
||||
|
||||
/// An [ImageReassembler] that (a) learns the local sender prefix after
|
||||
/// SELF_INFO and (b) forwards every outcome to [ReceivedImageStore] together
|
||||
/// with the channel index.
|
||||
///
|
||||
/// Both exist because of upstream shapes this file cannot change:
|
||||
/// * `ImageReassembler.selfPrefix` is `final`, but the local public key does
|
||||
/// not exist until `RESP_CODE_SELF_INFO`, so a reassembler built here would
|
||||
/// start with a null prefix and never be able to drop our own flood echo.
|
||||
/// Overriding the getter is the smallest fix that does not touch the
|
||||
/// transport; see the report's "needs from others".
|
||||
/// * `ImageChunkOutcome` carries no channel index, so the connector's
|
||||
/// `onImageChunk` callback cannot call `handleOutcome`, which requires one.
|
||||
/// Intercepting `addChunk` — the only place the index is in scope — can.
|
||||
class ImageStreamReassembler extends ImageReassembler {
|
||||
final ReceivedImageStore store;
|
||||
|
||||
int? _selfPrefix;
|
||||
|
||||
ImageStreamReassembler({required this.store})
|
||||
: super(onFailed: ((failure) => unawaited(store.handleFailure(failure))));
|
||||
|
||||
@override
|
||||
int? get selfPrefix => _selfPrefix;
|
||||
|
||||
set selfPrefix(int? value) => _selfPrefix = value;
|
||||
|
||||
@override
|
||||
ImageChunkOutcome addChunk(
|
||||
Uint8List blob, {
|
||||
int channelIndex = 0,
|
||||
DateTime? now,
|
||||
}) {
|
||||
final outcome = super.addChunk(blob, channelIndex: channelIndex, now: now);
|
||||
unawaited(store.handleOutcome(outcome, channelIndex: channelIndex));
|
||||
return outcome;
|
||||
}
|
||||
}
|
||||
|
||||
void _registerThirdPartyLicenses() {
|
||||
LicenseRegistry.addLicense(() async* {
|
||||
yield const LicenseEntryWithLineBreaks(
|
||||
@@ -141,7 +298,7 @@ https://creativecommons.org/licenses/by/4.0/
|
||||
});
|
||||
}
|
||||
|
||||
class MeshCoreApp extends StatelessWidget {
|
||||
class MeshCoreApp extends StatefulWidget {
|
||||
final MeshCoreConnector connector;
|
||||
final MessageRetryService retryService;
|
||||
final PathHistoryService pathHistoryService;
|
||||
@@ -154,6 +311,9 @@ class MeshCoreApp extends StatelessWidget {
|
||||
final TranslationService translationService;
|
||||
final UiViewStateService uiViewStateService;
|
||||
final TimeoutPredictionService timeoutPredictionService;
|
||||
final ImageCodecService imageCodecService;
|
||||
final ReceivedImageStore receivedImageStore;
|
||||
final ImageStreamReassembler imageReassembler;
|
||||
|
||||
const MeshCoreApp({
|
||||
super.key,
|
||||
@@ -169,24 +329,83 @@ class MeshCoreApp extends StatelessWidget {
|
||||
required this.translationService,
|
||||
required this.uiViewStateService,
|
||||
required this.timeoutPredictionService,
|
||||
required this.imageCodecService,
|
||||
required this.receivedImageStore,
|
||||
required this.imageReassembler,
|
||||
});
|
||||
|
||||
@override
|
||||
State<MeshCoreApp> createState() => _MeshCoreAppState();
|
||||
}
|
||||
|
||||
/// How often abandoned image streams are swept.
|
||||
///
|
||||
/// `ImageReassembler.evictExpired` otherwise only runs from `addChunk`, so a
|
||||
/// sender that stops mid-image would leave its bubble stuck on "2 of 3
|
||||
/// packets" until some unrelated image arrived.
|
||||
const Duration _kImageSweepInterval = Duration(seconds: 5);
|
||||
|
||||
class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
|
||||
Timer? _imageSweepTimer;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
WidgetsBinding.instance.addObserver(this);
|
||||
_imageSweepTimer = Timer.periodic(
|
||||
_kImageSweepInterval,
|
||||
(_) => widget.imageReassembler.evictExpired(),
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_imageSweepTimer?.cancel();
|
||||
WidgetsBinding.instance.removeObserver(this);
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||
super.didChangeAppLifecycleState(state);
|
||||
widget.receivedImageStore.setForeground(state == AppLifecycleState.resumed);
|
||||
// ~2.7 GiB resident in a backgrounded app is a low-memory-killer kill, so
|
||||
// unlike the translation stack the graph is dropped on background rather
|
||||
// than held until the radio disconnects.
|
||||
if (state == AppLifecycleState.paused ||
|
||||
state == AppLifecycleState.hidden) {
|
||||
unawaited(widget.imageCodecService.handleMemoryPressure());
|
||||
unawaited(widget.receivedImageStore.handleMemoryPressure());
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void didHaveMemoryPressure() {
|
||||
super.didHaveMemoryPressure();
|
||||
unawaited(widget.imageCodecService.handleMemoryPressure());
|
||||
unawaited(widget.receivedImageStore.handleMemoryPressure());
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final connector = widget.connector;
|
||||
final storage = widget.storage;
|
||||
return MultiProvider(
|
||||
providers: [
|
||||
ChangeNotifierProvider.value(value: connector),
|
||||
ChangeNotifierProvider.value(value: retryService),
|
||||
ChangeNotifierProvider.value(value: pathHistoryService),
|
||||
ChangeNotifierProvider.value(value: appSettingsService),
|
||||
ChangeNotifierProvider.value(value: bleDebugLogService),
|
||||
ChangeNotifierProvider.value(value: appDebugLogService),
|
||||
ChangeNotifierProvider.value(value: chatTextScaleService),
|
||||
ChangeNotifierProvider.value(value: translationService),
|
||||
ChangeNotifierProvider.value(value: uiViewStateService),
|
||||
ChangeNotifierProvider.value(value: widget.retryService),
|
||||
ChangeNotifierProvider.value(value: widget.pathHistoryService),
|
||||
ChangeNotifierProvider.value(value: widget.appSettingsService),
|
||||
ChangeNotifierProvider.value(value: widget.bleDebugLogService),
|
||||
ChangeNotifierProvider.value(value: widget.appDebugLogService),
|
||||
ChangeNotifierProvider.value(value: widget.chatTextScaleService),
|
||||
ChangeNotifierProvider.value(value: widget.translationService),
|
||||
ChangeNotifierProvider.value(value: widget.uiViewStateService),
|
||||
Provider.value(value: storage),
|
||||
ChangeNotifierProvider.value(value: mapTileCacheService),
|
||||
ChangeNotifierProvider.value(value: timeoutPredictionService),
|
||||
ChangeNotifierProvider.value(value: widget.mapTileCacheService),
|
||||
ChangeNotifierProvider.value(value: widget.timeoutPredictionService),
|
||||
ChangeNotifierProvider.value(value: widget.imageCodecService),
|
||||
ChangeNotifierProvider.value(value: widget.receivedImageStore),
|
||||
],
|
||||
child: Consumer<AppSettingsService>(
|
||||
builder: (context, settingsService, child) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'image_codec_support.dart';
|
||||
import 'translation_support.dart';
|
||||
|
||||
enum UnitSystem { metric, imperial }
|
||||
@@ -76,8 +77,7 @@ class Cyr2LatProfile {
|
||||
|
||||
class AppSettings {
|
||||
static const Object _unset = Object();
|
||||
static const String stadiaDemo =
|
||||
'51bd0381-4685-4666-bae8-48940f6d77c0';
|
||||
static const String stadiaDemo = '51bd0381-4685-4666-bae8-48940f6d77c0';
|
||||
|
||||
final bool clearPathOnMaxRetry;
|
||||
final bool mapShowRepeaters;
|
||||
@@ -89,6 +89,7 @@ class AppSettings {
|
||||
final String mapKeyPrefix;
|
||||
final bool mapShowMarkers;
|
||||
final bool mapShowGuessedLocations;
|
||||
final bool mapClusterNodes;
|
||||
final bool enableMessageTracing;
|
||||
final Map<String, double>? 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;
|
||||
@@ -119,6 +123,29 @@ class AppSettings {
|
||||
final String tcpServerAddress;
|
||||
final int tcpServerPort;
|
||||
final bool jumpToOldestUnread;
|
||||
final bool imageMessagesEnabled;
|
||||
|
||||
/// Whether a received image is decoded as soon as it is reassembled.
|
||||
///
|
||||
/// Off by default and deliberately so: a decode peaks around 2.16 GiB
|
||||
/// resident and takes about a second, so an unattended chat must not be able
|
||||
/// to trigger one per arriving image. When false, `ReceivedImageStore` parks
|
||||
/// the arrival as a "Tap to process" placeholder instead of queueing it.
|
||||
final bool imageProcessAutomatically;
|
||||
|
||||
// ---- neural image codec (AEIC-SE) ---------------------------------------
|
||||
// Structural twins of the translation block above; the JSON keys match
|
||||
// ImageCodecPreferences.toJson so ImageCodecService reads them unchanged.
|
||||
final bool imageCodecEnabled;
|
||||
final String? imageCodecSelectedModelId;
|
||||
final String? imageCodecModelSourceUrl;
|
||||
|
||||
/// [AeicRatePoint.wireValue] of the composer's default rate point.
|
||||
/// 4 == ft32, the only rate point this build ships.
|
||||
final int imageCodecRatePoint;
|
||||
|
||||
final List<ImageCodecModelRecord> imageCodecDownloadedModels;
|
||||
|
||||
final bool translationEnabled;
|
||||
final bool autoTranslateIncomingMessages;
|
||||
final String? translationTargetLanguageCode;
|
||||
@@ -129,6 +156,16 @@ class AppSettings {
|
||||
final List<Cyr2LatProfile> cyr2latProfiles;
|
||||
final String selectedCyr2latProfileId;
|
||||
|
||||
/// The five `imageCodec*` fields as the value object `ImageCodecService`
|
||||
/// consumes. Assembled rather than stored so the settings blob stays flat.
|
||||
ImageCodecPreferences get imageCodec => ImageCodecPreferences(
|
||||
enabled: imageCodecEnabled,
|
||||
selectedModelId: imageCodecSelectedModelId,
|
||||
modelSourceUrl: imageCodecModelSourceUrl,
|
||||
ratePoint: imageCodecRatePoint,
|
||||
downloadedModels: imageCodecDownloadedModels,
|
||||
);
|
||||
|
||||
String get effectiveMapTileApiKey {
|
||||
final apiKey = mapTileApiKey?.trim();
|
||||
if (apiKey == null || apiKey.isEmpty) {
|
||||
@@ -137,8 +174,7 @@ class AppSettings {
|
||||
return apiKey;
|
||||
}
|
||||
|
||||
bool get usesstadiaDemo =>
|
||||
effectiveMapTileApiKey == stadiaDemo;
|
||||
bool get usesstadiaDemo => effectiveMapTileApiKey == stadiaDemo;
|
||||
|
||||
Map<String, String> get cyr2latCharMap {
|
||||
final profile = cyr2latProfiles.firstWhere(
|
||||
@@ -154,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,
|
||||
@@ -178,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,
|
||||
@@ -189,6 +229,13 @@ class AppSettings {
|
||||
this.tcpServerAddress = '',
|
||||
this.tcpServerPort = 0,
|
||||
this.jumpToOldestUnread = false,
|
||||
this.imageMessagesEnabled = false,
|
||||
this.imageProcessAutomatically = false,
|
||||
this.imageCodecEnabled = false,
|
||||
this.imageCodecSelectedModelId,
|
||||
this.imageCodecModelSourceUrl,
|
||||
this.imageCodecRatePoint = 4,
|
||||
List<ImageCodecModelRecord>? imageCodecDownloadedModels,
|
||||
this.translationEnabled = false,
|
||||
this.autoTranslateIncomingMessages = true,
|
||||
this.translationTargetLanguageCode,
|
||||
@@ -201,6 +248,7 @@ class AppSettings {
|
||||
}) : batteryChemistryByDeviceId = batteryChemistryByDeviceId ?? {},
|
||||
batteryChemistryByRepeaterId = batteryChemistryByRepeaterId ?? {},
|
||||
mutedChannels = mutedChannels ?? {},
|
||||
imageCodecDownloadedModels = imageCodecDownloadedModels ?? const [],
|
||||
translationDownloadedModels = translationDownloadedModels ?? const [],
|
||||
cyr2latProfiles =
|
||||
cyr2latProfiles ??
|
||||
@@ -225,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,
|
||||
@@ -245,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,
|
||||
@@ -256,6 +308,15 @@ class AppSettings {
|
||||
'tcp_server_address': tcpServerAddress,
|
||||
'tcp_server_port': tcpServerPort,
|
||||
'jump_to_oldest_unread': jumpToOldestUnread,
|
||||
'image_messages_enabled': imageMessagesEnabled,
|
||||
'image_process_automatically': imageProcessAutomatically,
|
||||
'image_codec_enabled': imageCodecEnabled,
|
||||
'image_codec_selected_model_id': imageCodecSelectedModelId,
|
||||
'image_codec_model_source_url': imageCodecModelSourceUrl,
|
||||
'image_codec_rate_point': imageCodecRatePoint,
|
||||
'image_codec_downloaded_models': imageCodecDownloadedModels
|
||||
.map((model) => model.toJson())
|
||||
.toList(),
|
||||
'translation_enabled': translationEnabled,
|
||||
'auto_translate_incoming_messages': autoTranslateIncomingMessages,
|
||||
'translation_target_language_code': translationTargetLanguageCode,
|
||||
@@ -287,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()),
|
||||
),
|
||||
@@ -321,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,
|
||||
@@ -345,6 +410,23 @@ class AppSettings {
|
||||
tcpServerAddress: json['tcp_server_address'] as String? ?? '',
|
||||
tcpServerPort: json['tcp_server_port'] as int? ?? 0,
|
||||
jumpToOldestUnread: json['jump_to_oldest_unread'] as bool? ?? false,
|
||||
imageMessagesEnabled: json['image_messages_enabled'] as bool? ?? false,
|
||||
imageProcessAutomatically:
|
||||
json['image_process_automatically'] as bool? ?? false,
|
||||
imageCodecEnabled: json['image_codec_enabled'] as bool? ?? false,
|
||||
imageCodecSelectedModelId:
|
||||
json['image_codec_selected_model_id'] as String?,
|
||||
imageCodecModelSourceUrl: json['image_codec_model_source_url'] as String?,
|
||||
imageCodecRatePoint: json['image_codec_rate_point'] as int? ?? 4,
|
||||
imageCodecDownloadedModels:
|
||||
(json['image_codec_downloaded_models'] as List<dynamic>?)
|
||||
?.map(
|
||||
(entry) => ImageCodecModelRecord.fromJson(
|
||||
Map<String, dynamic>.from(entry as Map),
|
||||
),
|
||||
)
|
||||
.toList() ??
|
||||
const [],
|
||||
translationEnabled: json['translation_enabled'] as bool? ?? false,
|
||||
autoTranslateIncomingMessages:
|
||||
json['auto_translate_incoming_messages'] as bool? ?? true,
|
||||
@@ -411,6 +493,7 @@ class AppSettings {
|
||||
String? mapKeyPrefix,
|
||||
bool? mapShowMarkers,
|
||||
bool? mapShowGuessedLocations,
|
||||
bool? mapClusterNodes,
|
||||
bool? enableMessageTracing,
|
||||
Object? mapCacheBounds = _unset,
|
||||
int? mapCacheMinZoom,
|
||||
@@ -430,6 +513,9 @@ class AppSettings {
|
||||
double? routeWeightSuccessIncrement,
|
||||
double? routeWeightFailureDecrement,
|
||||
int? maxMessageRetries,
|
||||
bool? channelMinHopsEnabled,
|
||||
int? channelMinHops,
|
||||
int? channelMinHopsRetries,
|
||||
String? themeMode,
|
||||
Object? languageOverride = _unset,
|
||||
bool? appDebugLogEnabled,
|
||||
@@ -441,6 +527,13 @@ class AppSettings {
|
||||
String? tcpServerAddress,
|
||||
int? tcpServerPort,
|
||||
bool? jumpToOldestUnread,
|
||||
bool? imageMessagesEnabled,
|
||||
bool? imageProcessAutomatically,
|
||||
bool? imageCodecEnabled,
|
||||
Object? imageCodecSelectedModelId = _unset,
|
||||
Object? imageCodecModelSourceUrl = _unset,
|
||||
int? imageCodecRatePoint,
|
||||
List<ImageCodecModelRecord>? imageCodecDownloadedModels,
|
||||
bool? translationEnabled,
|
||||
bool? autoTranslateIncomingMessages,
|
||||
Object? translationTargetLanguageCode = _unset,
|
||||
@@ -463,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
|
||||
@@ -492,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
|
||||
@@ -508,6 +607,19 @@ class AppSettings {
|
||||
tcpServerAddress: tcpServerAddress ?? this.tcpServerAddress,
|
||||
tcpServerPort: tcpServerPort ?? this.tcpServerPort,
|
||||
jumpToOldestUnread: jumpToOldestUnread ?? this.jumpToOldestUnread,
|
||||
imageMessagesEnabled: imageMessagesEnabled ?? this.imageMessagesEnabled,
|
||||
imageProcessAutomatically:
|
||||
imageProcessAutomatically ?? this.imageProcessAutomatically,
|
||||
imageCodecEnabled: imageCodecEnabled ?? this.imageCodecEnabled,
|
||||
imageCodecSelectedModelId: imageCodecSelectedModelId == _unset
|
||||
? this.imageCodecSelectedModelId
|
||||
: imageCodecSelectedModelId as String?,
|
||||
imageCodecModelSourceUrl: imageCodecModelSourceUrl == _unset
|
||||
? this.imageCodecModelSourceUrl
|
||||
: imageCodecModelSourceUrl as String?,
|
||||
imageCodecRatePoint: imageCodecRatePoint ?? this.imageCodecRatePoint,
|
||||
imageCodecDownloadedModels:
|
||||
imageCodecDownloadedModels ?? this.imageCodecDownloadedModels,
|
||||
translationEnabled: translationEnabled ?? this.translationEnabled,
|
||||
autoTranslateIncomingMessages:
|
||||
autoTranslateIncomingMessages ?? this.autoTranslateIncomingMessages,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -50,7 +50,7 @@ class ChannelMessage {
|
||||
final String? replyToMessageId;
|
||||
final String? replyToSenderName;
|
||||
final String? replyToText;
|
||||
final Map<String, int> reactions;
|
||||
final Map<String, List<String?>> reactions;
|
||||
|
||||
ChannelMessage({
|
||||
this.senderKey,
|
||||
@@ -76,7 +76,7 @@ class ChannelMessage {
|
||||
this.replyToMessageId,
|
||||
this.replyToSenderName,
|
||||
this.replyToText,
|
||||
Map<String, int>? reactions,
|
||||
Map<String, List<String?>>? reactions,
|
||||
}) : messageId =
|
||||
messageId ??
|
||||
'${timestamp.millisecondsSinceEpoch}_${senderName.hashCode}_${text.hashCode}',
|
||||
@@ -107,7 +107,7 @@ class ChannelMessage {
|
||||
Object? translatedLanguageCode = _unset,
|
||||
MessageTranslationStatus? translationStatus,
|
||||
Object? translationModelId = _unset,
|
||||
Map<String, int>? reactions,
|
||||
Map<String, List<String?>>? reactions,
|
||||
}) {
|
||||
return ChannelMessage(
|
||||
senderKey: senderKey,
|
||||
@@ -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,
|
||||
@@ -297,8 +305,37 @@ class ChannelMessage {
|
||||
);
|
||||
}
|
||||
|
||||
static ReactionInfo? parseReaction(String text) {
|
||||
return ReactionHelper.parseReaction(text);
|
||||
ReactionInfo? parseReaction() {
|
||||
final reactionInfo = ReactionHelper.parseReaction(text);
|
||||
reactionInfo?.senderName = senderName;
|
||||
return reactionInfo;
|
||||
}
|
||||
|
||||
String computeReactionHash() {
|
||||
return ReactionHelper.computeReactionHash(
|
||||
timestamp.millisecondsSinceEpoch ~/ 1000,
|
||||
senderName,
|
||||
text,
|
||||
);
|
||||
}
|
||||
|
||||
List<ReactionInfo> reactionList() {
|
||||
final String hash = computeReactionHash();
|
||||
List<ReactionInfo> reactionList = [];
|
||||
for (final entry in reactions.entries) {
|
||||
final emoji = entry.key;
|
||||
for (final senderName in entry.value) {
|
||||
reactionList.add(
|
||||
ReactionInfo(
|
||||
targetHash: hash, // won't be used for anything
|
||||
emoji: emoji,
|
||||
senderName: senderName,
|
||||
hashType: HashType.ours, // also not used for anything
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
return reactionList;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -76,12 +76,14 @@ class Community {
|
||||
factory Community.fromJson(Map<String, dynamic> 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<dynamic>?)
|
||||
?.map((e) => e as String)
|
||||
?.whereType<String>()
|
||||
.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
|
||||
|
||||
+14
-2
@@ -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(
|
||||
|
||||
@@ -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),
|
||||
);
|
||||
|
||||
@@ -0,0 +1,835 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import '../widgets/image_send_codec_binding.dart';
|
||||
|
||||
/// Model registry + value types for the neural image codec (AEIC-SE).
|
||||
///
|
||||
/// Mirrors `lib/models/translation_support.dart` field-for-field so the
|
||||
/// settings screen, the file store and the download machinery can be copied
|
||||
/// from the translation stack with no structural changes.
|
||||
|
||||
enum ImageCodecStatus { none, pending, completed, failed, skipped }
|
||||
|
||||
extension ImageCodecStatusValue on ImageCodecStatus {
|
||||
String get value {
|
||||
switch (this) {
|
||||
case ImageCodecStatus.pending:
|
||||
return 'pending';
|
||||
case ImageCodecStatus.completed:
|
||||
return 'completed';
|
||||
case ImageCodecStatus.failed:
|
||||
return 'failed';
|
||||
case ImageCodecStatus.skipped:
|
||||
return 'skipped';
|
||||
case ImageCodecStatus.none:
|
||||
return 'none';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ImageCodecStatus parseImageCodecStatus(dynamic value) {
|
||||
if (value is! String) {
|
||||
return ImageCodecStatus.none;
|
||||
}
|
||||
for (final status in ImageCodecStatus.values) {
|
||||
if (status.value == value) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
return ImageCodecStatus.none;
|
||||
}
|
||||
|
||||
/// Shape of the decoder's only input tensor: `y_hat`, float32,
|
||||
/// `[1, 256, 16, 16]`. Static — the export has no dynamic axes and no batching.
|
||||
const List<int> kImageCodecLatentShape = <int>[1, 256, 16, 16];
|
||||
|
||||
/// Element count implied by [kImageCodecLatentShape] (65,536).
|
||||
const int kImageCodecLatentElements = 256 * 16 * 16;
|
||||
|
||||
/// Graph input/output names in the promoted export. Used as a preference when
|
||||
/// binding tensors; the backend falls back to the graph's sole input/output if
|
||||
/// a future re-export renames them.
|
||||
const String kImageCodecDecoderInputName = 'y_hat';
|
||||
const String kImageCodecDecoderOutputName = 'image';
|
||||
|
||||
/// Rate point = which `AEIC_SE_ft*.pkl` the encoder was fine-tuned from.
|
||||
///
|
||||
/// **ft32 IS THE ONLY SHIPPING RATE POINT** ([kShippingAeicRatePoint]). One
|
||||
/// checkpoint ships, so [aeicRatePointForUi] is constant and the UI has no
|
||||
/// quality selector to honour. The other members are retained *only* because
|
||||
/// their ordinals are already persisted in `image_codec_rate_point` and cross
|
||||
/// the isolate boundary, and because the measured byte counts below are real
|
||||
/// data worth keeping. Do not reorder, do not add a second shipping entry
|
||||
/// without a second model in [imageCodecPresetModels].
|
||||
///
|
||||
/// NOTE ON THE WIRE VALUE. This enum's ordinal is NOT the on-air rate nibble.
|
||||
/// The on-air chunk-0 metadata byte is defined by `ImageStreamMetadata` in
|
||||
/// `lib/services/image_chunk_transport.dart` and carries
|
||||
/// [ImageCodecRatePoint.index], because the transport only ever exposes UI rate
|
||||
/// points. [AeicRatePointValue]'s `wireValue` is the *model-selection ordinal*:
|
||||
/// it is what gets persisted in settings and what crosses the isolate boundary
|
||||
/// to pick a checkpoint. Convert with [aeicRatePointForUi] /
|
||||
/// [uiRatePointForAeic]; never assume they are the same integer.
|
||||
///
|
||||
/// Measured real rANS bitstream sizes at 512x512 over 26 images
|
||||
/// (Kodak 24 + 2 custom). `ft2`/`ft4` have not been measured on this corpus.
|
||||
enum AeicRatePoint { ft2, ft4, ft8, ft16, ft32 }
|
||||
|
||||
/// The one rate point this build encodes and decodes at.
|
||||
///
|
||||
/// ft32: mean 155.8 B, min 110 B, max 209 B over the 26-image corpus, i.e. 1-2
|
||||
/// data chunks plus one XOR parity chunk. ft16 was dropped: it needs 2-3 data
|
||||
/// chunks and leaves only 79 B of headroom under the 3-chunk ceiling.
|
||||
const AeicRatePoint kShippingAeicRatePoint = AeicRatePoint.ft32;
|
||||
|
||||
extension AeicRatePointValue on AeicRatePoint {
|
||||
int get wireValue => index;
|
||||
|
||||
/// Mean measured bitstream size in bytes, or `null` where unmeasured.
|
||||
int? get meanBytes {
|
||||
switch (this) {
|
||||
case AeicRatePoint.ft2:
|
||||
case AeicRatePoint.ft4:
|
||||
return null;
|
||||
case AeicRatePoint.ft8:
|
||||
return 507;
|
||||
case AeicRatePoint.ft16:
|
||||
return 288;
|
||||
case AeicRatePoint.ft32:
|
||||
return 156;
|
||||
}
|
||||
}
|
||||
|
||||
/// Largest bitstream observed on the measurement corpus, or `null`.
|
||||
int? get maxBytes {
|
||||
switch (this) {
|
||||
case AeicRatePoint.ft2:
|
||||
case AeicRatePoint.ft4:
|
||||
return null;
|
||||
case AeicRatePoint.ft8:
|
||||
return 732;
|
||||
case AeicRatePoint.ft16:
|
||||
return 409;
|
||||
case AeicRatePoint.ft32:
|
||||
return 209;
|
||||
}
|
||||
}
|
||||
|
||||
/// `'ft32 (~156 B)'`. Uses the enum's own `name` for the prefix — do not add
|
||||
/// a `name` getter here, it would collide with `dart:core`'s `EnumName`.
|
||||
String get label {
|
||||
final mean = meanBytes;
|
||||
return mean == null ? name : '$name (~$mean B)';
|
||||
}
|
||||
}
|
||||
|
||||
AeicRatePoint parseAeicRatePoint(int wireValue) {
|
||||
if (wireValue < 0 || wireValue >= AeicRatePoint.values.length) {
|
||||
return kShippingAeicRatePoint;
|
||||
}
|
||||
return AeicRatePoint.values[wireValue];
|
||||
}
|
||||
|
||||
/// Maps the UI-level rate selector onto the codec's rate points.
|
||||
///
|
||||
/// ft32-only, so this is deliberately constant and ignores [rate]. It is kept
|
||||
/// as a function (rather than inlining [kShippingAeicRatePoint] at the call
|
||||
/// sites) so that adding a second checkpoint is a one-function change, and so
|
||||
/// this file never names an [ImageCodecRatePoint] member — that enum is owned by
|
||||
/// `image_send_codec_binding.dart` and its membership is the UI's to shrink.
|
||||
AeicRatePoint aeicRatePointForUi(ImageCodecRatePoint rate) =>
|
||||
kShippingAeicRatePoint;
|
||||
|
||||
/// Inverse of [aeicRatePointForUi]. Constant for the same reason: every rate
|
||||
/// point this build can produce is the standard one.
|
||||
ImageCodecRatePoint uiRatePointForAeic(AeicRatePoint rate) =>
|
||||
ImageCodecRatePoint.standard;
|
||||
|
||||
/// Bundle layout revision written into [ImageCodecModelRecord.bundleVersion].
|
||||
///
|
||||
/// 0 means "installed before the entropy bundle existed", i.e. a decoder-only
|
||||
/// install that can render a latent but cannot encode or decode a bitstream.
|
||||
/// Bump this only when the *set of files* a model needs changes; it is what
|
||||
/// `ImageCodecService.needsModelUpgrade` keys off.
|
||||
///
|
||||
/// 1 -> 2: the bundle gained the **decode-side** entropy graph
|
||||
/// (`aeic_entropy_decode_fp32_op17.onnx`). A version-1 install has the
|
||||
/// send-side graph only, so it can encode but cannot decode a bitstream; the
|
||||
/// remedy is a re-download, which is exactly what `needsModelUpgrade` asks for.
|
||||
const int kImageCodecBundleVersion = 2;
|
||||
|
||||
/// Same shape and field order as `TranslationModelRecord`, plus the two fields
|
||||
/// a multi-asset install needs.
|
||||
class ImageCodecModelRecord {
|
||||
final String id;
|
||||
final String name;
|
||||
final String sourceUrl;
|
||||
|
||||
/// Path of the **decoder graph** — the file ONNX Runtime is handed. The other
|
||||
/// assets are its siblings in the same directory; see [assetFileNames].
|
||||
final String localPath;
|
||||
|
||||
final DateTime downloadedAt;
|
||||
final int fileSizeBytes;
|
||||
|
||||
/// Every file that was installed for this model, by exact on-disk name.
|
||||
///
|
||||
/// Recorded rather than re-derived so the service can locate the entropy
|
||||
/// graph and the CDF tables without guessing filenames, and so `deleteModel`
|
||||
/// can remove all ~1.0 GB instead of just the 3 MB graph.
|
||||
final List<String> assetFileNames;
|
||||
|
||||
/// What each installed file IS, keyed by its exact on-disk name.
|
||||
///
|
||||
/// Recorded at install time because [assetFileNames] alone stopped being
|
||||
/// enough at bundle version 2: the bundle now holds THREE `.onnx` files —
|
||||
/// the synthesis decoder, the send-side entropy graph and the decode-side
|
||||
/// entropy graph — and no property of a filename distinguishes the last two.
|
||||
/// Handing the decode-side export to the encoder fails at the first run;
|
||||
/// handing the send-side one to the decoder would feed rANS the wrong
|
||||
/// probabilities, which is the silent-corruption failure mode.
|
||||
///
|
||||
/// Empty for records written before this field existed. Consumers fall back
|
||||
/// to the registry spec, and only then to a filename heuristic.
|
||||
final Map<String, ImageCodecAssetRole> assetRoles;
|
||||
|
||||
/// [kImageCodecBundleVersion] at install time; 0 for a pre-bundle install.
|
||||
final int bundleVersion;
|
||||
|
||||
const ImageCodecModelRecord({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.sourceUrl,
|
||||
required this.localPath,
|
||||
required this.downloadedAt,
|
||||
required this.fileSizeBytes,
|
||||
this.assetFileNames = const [],
|
||||
this.assetRoles = const {},
|
||||
this.bundleVersion = 0,
|
||||
});
|
||||
|
||||
/// The installed file recorded as [role], or null when none was.
|
||||
String? fileNameForRole(ImageCodecAssetRole role) {
|
||||
for (final entry in assetRoles.entries) {
|
||||
if (entry.value == role && assetFileNames.contains(entry.key)) {
|
||||
return entry.key;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'id': id,
|
||||
'name': name,
|
||||
'source_url': sourceUrl,
|
||||
'local_path': localPath,
|
||||
'downloaded_at': downloadedAt.millisecondsSinceEpoch,
|
||||
'file_size_bytes': fileSizeBytes,
|
||||
'asset_file_names': assetFileNames,
|
||||
// Role NAMES, not ordinals: appending a member to ImageCodecAssetRole
|
||||
// must never re-label files already on disk.
|
||||
'asset_roles': <String, String>{
|
||||
for (final entry in assetRoles.entries) entry.key: entry.value.name,
|
||||
},
|
||||
'bundle_version': bundleVersion,
|
||||
};
|
||||
}
|
||||
|
||||
factory ImageCodecModelRecord.fromJson(Map<String, dynamic> json) {
|
||||
final rawAssets = json['asset_file_names'];
|
||||
final rawRoles = json['asset_roles'];
|
||||
return ImageCodecModelRecord(
|
||||
id: json['id'] as String? ?? '',
|
||||
name: json['name'] as String? ?? '',
|
||||
sourceUrl: json['source_url'] as String? ?? '',
|
||||
localPath: json['local_path'] as String? ?? '',
|
||||
downloadedAt: DateTime.fromMillisecondsSinceEpoch(
|
||||
json['downloaded_at'] as int? ?? 0,
|
||||
),
|
||||
fileSizeBytes: json['file_size_bytes'] as int? ?? 0,
|
||||
assetFileNames: rawAssets is List
|
||||
? [
|
||||
for (final entry in rawAssets)
|
||||
if (entry is String && entry.isNotEmpty) entry,
|
||||
]
|
||||
: const [],
|
||||
assetRoles: rawRoles is Map
|
||||
? <String, ImageCodecAssetRole>{
|
||||
for (final entry in rawRoles.entries)
|
||||
if (entry.key is String && entry.value is String)
|
||||
entry.key as String: ?parseImageCodecAssetRole(
|
||||
entry.value as String,
|
||||
),
|
||||
}
|
||||
: const {},
|
||||
bundleVersion: json['bundle_version'] as int? ?? 0,
|
||||
);
|
||||
}
|
||||
|
||||
ImageCodecModelRecord copyWith({
|
||||
String? id,
|
||||
String? name,
|
||||
String? sourceUrl,
|
||||
String? localPath,
|
||||
DateTime? downloadedAt,
|
||||
int? fileSizeBytes,
|
||||
List<String>? assetFileNames,
|
||||
Map<String, ImageCodecAssetRole>? assetRoles,
|
||||
int? bundleVersion,
|
||||
}) {
|
||||
return ImageCodecModelRecord(
|
||||
id: id ?? this.id,
|
||||
name: name ?? this.name,
|
||||
sourceUrl: sourceUrl ?? this.sourceUrl,
|
||||
localPath: localPath ?? this.localPath,
|
||||
downloadedAt: downloadedAt ?? this.downloadedAt,
|
||||
fileSizeBytes: fileSizeBytes ?? this.fileSizeBytes,
|
||||
assetFileNames: assetFileNames ?? this.assetFileNames,
|
||||
assetRoles: assetRoles ?? this.assetRoles,
|
||||
bundleVersion: bundleVersion ?? this.bundleVersion,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
String imageCodecModelFriendlyName(ImageCodecModelRecord model) {
|
||||
for (final spec in imageCodecPresetModels) {
|
||||
if (spec.id == model.id || spec.fileName == model.name) {
|
||||
return spec.label;
|
||||
}
|
||||
}
|
||||
final trimmed = model.name.trim();
|
||||
if (trimmed.endsWith('.onnx')) {
|
||||
return trimmed.substring(0, trimmed.length - 5);
|
||||
}
|
||||
return trimmed.isEmpty ? model.id : trimmed;
|
||||
}
|
||||
|
||||
/// What a downloaded file *is*, so nothing has to infer it from position or
|
||||
/// filename.
|
||||
///
|
||||
/// This exists because the bundle stopped being "graph, then its data sibling".
|
||||
/// `assets.first` is a decoder graph today and would silently become the
|
||||
/// entropy graph the moment anyone reordered the list; the ONNX session would
|
||||
/// then load 67 MB of entropy model and fail on an input named `y_hat`.
|
||||
enum ImageCodecAssetRole {
|
||||
/// The synthesis graph handed to ORT: `y_hat -> image`.
|
||||
decoderGraph,
|
||||
|
||||
/// `<decoderGraph>.data`. ORT resolves it by the literal filename recorded
|
||||
/// inside the graph, so it MUST sit beside [decoderGraph] under that name.
|
||||
decoderWeights,
|
||||
|
||||
/// The fp32 **send-side** entropy graph: one input `image [1,3,512,512]`,
|
||||
/// outputs `z_q`, `yq0..3`, `sc0..3`. Kept fp32 deliberately — see the
|
||||
/// bit-exactness note in `image_codec_backend.dart`.
|
||||
///
|
||||
/// This is the ENCODE half only. It emits every stage at once, which is valid
|
||||
/// because the encoder already knows `y`; a decoder cannot use it at all.
|
||||
entropyGraph,
|
||||
|
||||
/// Reserved. The 67 MB entropy export is self-contained today and carries no
|
||||
/// external-data sibling; the role exists so a future re-export that does is
|
||||
/// a registry change rather than a schema change.
|
||||
entropyWeights,
|
||||
|
||||
/// The quantised CDF tables the rANS coder indexes. A *wrong* table set
|
||||
/// desynchronises rANS and yields a sharp, plausible, wrong image with no
|
||||
/// error, which is why this asset must carry a SHA-256 before ship.
|
||||
cdfTables,
|
||||
|
||||
/// The fp32 **decode-side** entropy graph, added in bundle version 2.
|
||||
///
|
||||
/// Decoding is inherently sequential — the symbols of stage `i` must be
|
||||
/// decoded before stage `i+1`'s context exists — so the receiver cannot use
|
||||
/// the emit-everything-at-once [entropyGraph]. This export is the same
|
||||
/// sub-networks behind an ONNX `If` on a `stage` selector, so the app can
|
||||
/// call it five times per image:
|
||||
///
|
||||
/// inputs : `z_q [1,128,4,4]`, `base [1,256,16,16]`, `stage int32 [1]`
|
||||
/// outputs: `base0`, `means`, `scales`, all `[1,256,16,16]`
|
||||
///
|
||||
/// `stage < 0` runs the hyper-synthesis branch and fills `base0`;
|
||||
/// `stage 0..3` runs the context branch and fills `means`/`scales`, already
|
||||
/// multiplied by that stage's mask. The branch not taken emits zeros.
|
||||
///
|
||||
/// Appended after [cdfTables] rather than beside [entropyGraph] so no
|
||||
/// existing enum ordinal moves.
|
||||
entropyDecodeGraph,
|
||||
}
|
||||
|
||||
/// Parses a role written by [ImageCodecModelRecord.toJson], or null when the
|
||||
/// string names no role this build knows.
|
||||
///
|
||||
/// Null rather than a default: a record from a NEWER build may name a role that
|
||||
/// does not exist here, and silently filing it under some other role would be
|
||||
/// worse than admitting the file's purpose is unknown.
|
||||
ImageCodecAssetRole? parseImageCodecAssetRole(String value) {
|
||||
for (final role in ImageCodecAssetRole.values) {
|
||||
if (role.name == value) {
|
||||
return role;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// One downloadable file belonging to a model.
|
||||
///
|
||||
/// A model is not always one file. The promoted decoder is an ONNX graph plus an
|
||||
/// external-weights sibling (`<name>.onnx.data`, referenced by relative filename
|
||||
/// from inside the graph), and ONNX Runtime will not load the graph unless the
|
||||
/// sibling sits next to it under exactly that name. Downloading only the 2.8 MB
|
||||
/// graph produces an `ORT_INVALID_PROTOBUF`-class failure at session creation,
|
||||
/// which is indistinguishable from a corrupt download — hence [sha256].
|
||||
class ImageCodecModelAsset {
|
||||
/// Name the file must have on disk. Not derived from the URL: the external
|
||||
/// data reference inside the graph is a literal filename.
|
||||
final String fileName;
|
||||
|
||||
final String sourceUrl;
|
||||
|
||||
/// Expected size in bytes. Advisory — the download re-reads it from the HEAD
|
||||
/// response — but it is what the UI shows before the first byte arrives.
|
||||
final int sizeBytes;
|
||||
|
||||
/// Lowercase hex SHA-256 of the file, or `''` when no digest is known.
|
||||
///
|
||||
/// An empty value **skips verification**; see [hasChecksum]. That is the state
|
||||
/// today, deliberately: nothing has been uploaded, so no digest of a
|
||||
/// *published* file exists and a hard-failing guess would block the feature.
|
||||
final String sha256;
|
||||
|
||||
/// What this file is for. See [ImageCodecAssetRole].
|
||||
final ImageCodecAssetRole role;
|
||||
|
||||
const ImageCodecModelAsset({
|
||||
required this.fileName,
|
||||
required this.sourceUrl,
|
||||
required this.sizeBytes,
|
||||
required this.role,
|
||||
this.sha256 = '',
|
||||
});
|
||||
|
||||
bool get hasChecksum => sha256.length == 64;
|
||||
}
|
||||
|
||||
/// A declared preset model: its identity plus every file it needs on disk.
|
||||
///
|
||||
/// Mirrors the role of `translationPresetModels` (translation_support.dart:117)
|
||||
/// but is a *spec*, not an [ImageCodecModelRecord]. Records describe what is
|
||||
/// actually on this device (path, mtime, real size); specs describe what could
|
||||
/// be fetched. Conflating them is what made the translation stack unable to
|
||||
/// express a two-file model.
|
||||
class ImageCodecModelSpec {
|
||||
final String id;
|
||||
final String label;
|
||||
|
||||
/// Every file the model needs, tagged by [ImageCodecAssetRole]. Downloaded in
|
||||
/// list order into one directory; the order is a download preference only —
|
||||
/// nothing resolves an asset by position.
|
||||
final List<ImageCodecModelAsset> assets;
|
||||
|
||||
/// True while [assets] carry URLs that have never been fetched by anybody.
|
||||
/// The UI must not offer a download for a spec with this set unless the user
|
||||
/// has supplied their own URL. See the note on [imageCodecPresetModels].
|
||||
final bool urlsArePlaceholders;
|
||||
|
||||
/// Which checkpoint these graphs and tables belong to.
|
||||
///
|
||||
/// Tables and graphs are per-checkpoint and are not interchangeable: decoding
|
||||
/// an ft32 bitstream with ft16 tables desynchronises rANS. The bundle's rate
|
||||
/// point is checked against the bitstream's chunk-0 metadata before a decode.
|
||||
final AeicRatePoint ratePoint;
|
||||
|
||||
const ImageCodecModelSpec({
|
||||
required this.id,
|
||||
required this.label,
|
||||
required this.assets,
|
||||
this.ratePoint = kShippingAeicRatePoint,
|
||||
this.urlsArePlaceholders = false,
|
||||
});
|
||||
|
||||
/// The one asset with [role], or throws when the spec omits it.
|
||||
ImageCodecModelAsset assetFor(ImageCodecAssetRole role) =>
|
||||
assets.firstWhere((asset) => asset.role == role);
|
||||
|
||||
ImageCodecModelAsset? maybeAssetFor(ImageCodecAssetRole role) {
|
||||
for (final asset in assets) {
|
||||
if (asset.role == role) return asset;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// The decoder graph — the path handed to ONNX Runtime.
|
||||
///
|
||||
/// Defined by role, not by position. Kept under the old name so the settings
|
||||
/// screen and [imageCodecModelFriendlyName] keep working.
|
||||
ImageCodecModelAsset get graph => assetFor(ImageCodecAssetRole.decoderGraph);
|
||||
|
||||
String get fileName => graph.fileName;
|
||||
|
||||
int get totalSizeBytes =>
|
||||
assets.fold<int>(0, (sum, asset) => sum + asset.sizeBytes);
|
||||
|
||||
/// True when this spec describes a bundle that can encode AND decode.
|
||||
///
|
||||
/// All five roles, not four: without [ImageCodecAssetRole.entropyDecodeGraph]
|
||||
/// the install could send a picture and never open one.
|
||||
bool get isComplete =>
|
||||
maybeAssetFor(ImageCodecAssetRole.decoderGraph) != null &&
|
||||
maybeAssetFor(ImageCodecAssetRole.decoderWeights) != null &&
|
||||
maybeAssetFor(ImageCodecAssetRole.entropyGraph) != null &&
|
||||
maybeAssetFor(ImageCodecAssetRole.entropyDecodeGraph) != null &&
|
||||
maybeAssetFor(ImageCodecAssetRole.cdfTables) != null;
|
||||
}
|
||||
|
||||
/// The set of on-disk paths a codec session needs, replacing the bare
|
||||
/// `String modelPath` that used to cross the isolate boundary.
|
||||
///
|
||||
/// [entropyGraphPath], [entropyDecodeGraphPath] and [tablesPath] are nullable
|
||||
/// because a build that was installed before the entropy bundle existed has
|
||||
/// none of them, and that install must keep working for latent synthesis rather
|
||||
/// than becoming unloadable.
|
||||
class ImageCodecBundle {
|
||||
/// `*.onnx`; its `*.onnx.data` sibling must be in the same directory under
|
||||
/// the exact filename the graph records.
|
||||
final String decoderGraphPath;
|
||||
|
||||
/// fp32 **send-side** entropy graph (`image -> z_q, yq*, sc*`), or null on a
|
||||
/// pre-bundle install. Encoding needs this one and only this one.
|
||||
final String? entropyGraphPath;
|
||||
|
||||
/// fp32 **decode-side** entropy graph (`z_q, base, stage -> base0, means,
|
||||
/// scales`), or null on a bundle-version-1 (or pre-bundle) install.
|
||||
///
|
||||
/// Separate from [entropyGraphPath] because they are two different exports of
|
||||
/// the same weights: the send side emits all four stages at once, which a
|
||||
/// decoder cannot use, and a decoder needs the `If`-branched graph it can call
|
||||
/// five times per image. See [ImageCodecAssetRole.entropyDecodeGraph].
|
||||
final String? entropyDecodeGraphPath;
|
||||
|
||||
/// CDF tables binary, or null on a pre-bundle install.
|
||||
final String? tablesPath;
|
||||
|
||||
/// Checkpoint the graphs and tables belong to.
|
||||
final AeicRatePoint ratePoint;
|
||||
|
||||
const ImageCodecBundle({
|
||||
required this.decoderGraphPath,
|
||||
this.entropyGraphPath,
|
||||
this.entropyDecodeGraphPath,
|
||||
this.tablesPath,
|
||||
this.ratePoint = kShippingAeicRatePoint,
|
||||
});
|
||||
|
||||
/// True when this install can run the **send** half of the entropy path.
|
||||
///
|
||||
/// Deliberately does NOT require [entropyDecodeGraphPath]: a version-1 install
|
||||
/// can still encode, and reporting it as unable to do anything would be wrong.
|
||||
/// Use [supportsDecode] to gate a decode.
|
||||
bool get isComplete => entropyGraphPath != null && tablesPath != null;
|
||||
|
||||
/// True when this install can also turn a bitstream back into a picture.
|
||||
bool get supportsDecode => isComplete && entropyDecodeGraphPath != null;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
other is ImageCodecBundle &&
|
||||
other.decoderGraphPath == decoderGraphPath &&
|
||||
other.entropyGraphPath == entropyGraphPath &&
|
||||
other.entropyDecodeGraphPath == entropyDecodeGraphPath &&
|
||||
other.tablesPath == tablesPath &&
|
||||
other.ratePoint == ratePoint;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
decoderGraphPath,
|
||||
entropyGraphPath,
|
||||
entropyDecodeGraphPath,
|
||||
tablesPath,
|
||||
ratePoint,
|
||||
);
|
||||
|
||||
@override
|
||||
String toString() =>
|
||||
'ImageCodecBundle(decoder: $decoderGraphPath, entropy: $entropyGraphPath, '
|
||||
'entropyDecode: $entropyDecodeGraphPath, tables: $tablesPath, '
|
||||
'rate: ${ratePoint.name})';
|
||||
}
|
||||
|
||||
/// Published bundle: https://huggingface.co/zjs81/aeic-se-onnx
|
||||
///
|
||||
/// URL shape matches `translation_support.dart`:
|
||||
/// `https://huggingface.co/<repo>/resolve/main/<file>?download=true`.
|
||||
///
|
||||
/// Sizes and digests below are of the published bytes, verified against the
|
||||
/// local exports under `/Users/Zach/Documents/mycode/aic`. The CDF digest is
|
||||
/// not optional: a table set that disagrees with the checkpoint desynchronises
|
||||
/// rANS and produces a sharp, plausible, WRONG image with no error anywhere.
|
||||
///
|
||||
/// EXACTLY ONE ENTRY, and it is ONE bundle rather than a send-only and a
|
||||
/// receive-capable download: encode needs the entropy graph + tables, decode
|
||||
/// needs those *and* the decoder, so splitting them only creates an install
|
||||
/// that can do half the feature.
|
||||
///
|
||||
/// WHY `qdq_conv_pct` AND NOT `qdq_conv_pct_novae`. The `novae` variant leaves
|
||||
/// the VAE decoder in fp32, and the VAE is the only part that runs at full
|
||||
/// 512x512, so its activations dominate: 872 MB on disk and 2.99 GiB peak RSS
|
||||
/// against 835 MB / 2.16 GiB here, for 0.17 dB against the ORIGINAL image.
|
||||
/// 830 MB of phone RAM is the wrong price for that on the platform where RAM,
|
||||
/// not quality, is the binding constraint.
|
||||
final List<ImageCodecModelSpec> imageCodecPresetModels = [
|
||||
const ImageCodecModelSpec(
|
||||
id: 'aeic-se-ft32-bundle-v1',
|
||||
label: 'AEIC-SE 512 image codec (ft32)',
|
||||
ratePoint: AeicRatePoint.ft32,
|
||||
urlsArePlaceholders: false,
|
||||
assets: [
|
||||
ImageCodecModelAsset(
|
||||
role: ImageCodecAssetRole.decoderGraph,
|
||||
fileName: 'aeic_decoder_qdq_conv_pct.onnx',
|
||||
sourceUrl:
|
||||
'https://huggingface.co/zjs81/aeic-se-onnx/resolve/main/aeic_decoder_qdq_conv_pct.onnx?download=true',
|
||||
sizeBytes: 3066597,
|
||||
sha256:
|
||||
'fa1ca65c52ecb9e1ec43c05ef792ac8b95ecab21dcb6ab89a825b4dad6a5a571',
|
||||
),
|
||||
ImageCodecModelAsset(
|
||||
role: ImageCodecAssetRole.decoderWeights,
|
||||
fileName: 'aeic_decoder_qdq_conv_pct.onnx.data',
|
||||
sourceUrl:
|
||||
'https://huggingface.co/zjs81/aeic-se-onnx/resolve/main/aeic_decoder_qdq_conv_pct.onnx.data?download=true',
|
||||
sizeBytes: 872896480,
|
||||
sha256:
|
||||
'f7714df0ec8cc495be1fb4bad3be0458c186c8a61d87b8487f2e8e6b84b8242a',
|
||||
),
|
||||
ImageCodecModelAsset(
|
||||
role: ImageCodecAssetRole.entropyGraph,
|
||||
fileName: 'aeic_entropy_side_fp32_op17.onnx',
|
||||
sourceUrl:
|
||||
'https://huggingface.co/zjs81/aeic-se-onnx/resolve/main/aeic_entropy_side_fp32_op17.onnx?download=true',
|
||||
sizeBytes: 67262167,
|
||||
sha256:
|
||||
'b7b55b0f6a8a02ec2e8f6e85820c064c741c870c226d276c78df45e83ca1a9d6',
|
||||
),
|
||||
// Local digest, for the uploader to confirm the bytes match:
|
||||
// efcbbc4829a0029f487f17b7b52373c6af339d7f74a6417463981d0778d6d444
|
||||
ImageCodecModelAsset(
|
||||
role: ImageCodecAssetRole.entropyDecodeGraph,
|
||||
fileName: 'aeic_entropy_decode_fp32_op17.onnx',
|
||||
sourceUrl:
|
||||
'https://huggingface.co/zjs81/aeic-se-onnx/resolve/main/aeic_entropy_decode_fp32_op17.onnx?download=true',
|
||||
sizeBytes: 60509540,
|
||||
sha256:
|
||||
'efcbbc4829a0029f487f17b7b52373c6af339d7f74a6417463981d0778d6d444',
|
||||
),
|
||||
ImageCodecModelAsset(
|
||||
role: ImageCodecAssetRole.cdfTables,
|
||||
fileName: 'aeic_cdf_ft32.bin',
|
||||
sourceUrl:
|
||||
'https://huggingface.co/zjs81/aeic-se-onnx/resolve/main/aeic_cdf_ft32.bin?download=true',
|
||||
sizeBytes: 813648,
|
||||
sha256:
|
||||
'4089fde2af16c340642a5c857be42f6d0f21caf71dd5b4f32d62efcd41c77bd5',
|
||||
),
|
||||
],
|
||||
),
|
||||
];
|
||||
|
||||
/// Total download for the one shipping bundle: 1,004,548,432 B (958.0 MiB).
|
||||
///
|
||||
/// Named so the pre-flight space check and the tests share one number instead
|
||||
/// of each re-summing the asset list. Breakdown: 835 MiB decoder (graph +
|
||||
/// external weights), 64.1 MiB send-side entropy graph, 57.7 MiB decode-side
|
||||
/// entropy graph, 0.8 MiB CDF tables.
|
||||
const int kImageCodecBundleTotalBytes = 1004548432;
|
||||
|
||||
/// Result of an encode or a decode.
|
||||
class ImageCodecResult {
|
||||
/// Encode result: the compressed payload only, with no chunk headers.
|
||||
final Uint8List? bitstream;
|
||||
|
||||
/// Decode result: PNG-encoded RGB image.
|
||||
final Uint8List? pngBytes;
|
||||
|
||||
/// Decode result: packed 8-bit RGB, `resolution * resolution * 3` bytes.
|
||||
///
|
||||
/// This is what the inference backend actually produces; [pngBytes] is an
|
||||
/// optional re-encoding of it for widgets that want an `Image.memory`.
|
||||
final Uint8List? rgbBytes;
|
||||
|
||||
final AeicRatePoint ratePoint;
|
||||
|
||||
/// Square edge length. 512 today and a hard floor — the SD-Turbo UNet in the
|
||||
/// decoder needs a 64x64 latent and collapses below it.
|
||||
final int resolution;
|
||||
|
||||
final int durationMs;
|
||||
final ImageCodecStatus status;
|
||||
|
||||
const ImageCodecResult({
|
||||
required this.ratePoint,
|
||||
required this.resolution,
|
||||
required this.durationMs,
|
||||
required this.status,
|
||||
this.bitstream,
|
||||
this.pngBytes,
|
||||
this.rgbBytes,
|
||||
});
|
||||
}
|
||||
|
||||
class ImageCodecDownloadCancelled implements Exception {
|
||||
const ImageCodecDownloadCancelled();
|
||||
|
||||
@override
|
||||
String toString() => 'Download canceled.';
|
||||
}
|
||||
|
||||
/// Raised by the codec session while the native inference seam is unimplemented.
|
||||
class ImageCodecUnimplemented implements Exception {
|
||||
final String detail;
|
||||
|
||||
const ImageCodecUnimplemented(this.detail);
|
||||
|
||||
@override
|
||||
String toString() => 'Image codec backend not implemented: $detail';
|
||||
}
|
||||
|
||||
/// Raised when a bitstream-level [encode]/[decode] is attempted but the entropy
|
||||
/// path is not present in this build.
|
||||
///
|
||||
/// WHY THIS EXISTS AND WHY IT IS NOT A BUG TO FIX HERE. The shipping ONNX
|
||||
/// artifact is the **synthesis half only**: `y_hat [1,256,16,16] -> image
|
||||
/// [1,3,512,512]`. Turning bytes into `y_hat` (and back) needs two more things
|
||||
/// that do not exist in Dart or in the shipped artifact:
|
||||
///
|
||||
/// 1. the entropy-side graph (`h_s`, `g_c` and the four adapters, kept in
|
||||
/// fp32 — `aic/onnx/aeic_entropy_side_fp32_op*.onnx`, 67 MB, not exported
|
||||
/// into the shipped model), and
|
||||
/// 2. the rANS range coder itself, which today exists only as the AEIC C++
|
||||
/// extension (`aic/aeic/src/codec/MLCodec_rans*.so`).
|
||||
///
|
||||
/// Until both land, [ImageCodecBackend.decodeLatentToRgb] is the real, working
|
||||
/// entry point and the bitstream methods throw this. Faking them is not an
|
||||
/// option: an rANS desync produces a sharp, plausible, *wrong* image with no
|
||||
/// error raised, so a stub that returns noise-shaped bytes would be
|
||||
/// indistinguishable from the genuine failure mode this codec already has.
|
||||
class ImageCodecEntropyPathMissing extends ImageCodecUnimplemented {
|
||||
const ImageCodecEntropyPathMissing([
|
||||
super.detail =
|
||||
'the rANS entropy path (entropy-side graph + range coder) is not part '
|
||||
'of this build; only latent->image synthesis is available',
|
||||
]);
|
||||
}
|
||||
|
||||
/// Raised when a bitstream operation is attempted against an install that
|
||||
/// predates the entropy bundle.
|
||||
///
|
||||
/// Distinct from [ImageCodecEntropyPathMissing] on purpose. That one means the
|
||||
/// *build* cannot do this and no user action helps; this one means the *files
|
||||
/// on this device* are a decoder-only install and the remedy is a download.
|
||||
/// Reporting the second as the first is what would strand every user who
|
||||
/// installed the decoder-only build.
|
||||
class ImageCodecBundleIncomplete extends ImageCodecUnimplemented {
|
||||
const ImageCodecBundleIncomplete([
|
||||
super.detail =
|
||||
'the installed model predates the entropy bundle; re-download the '
|
||||
'image codec model',
|
||||
]);
|
||||
}
|
||||
|
||||
/// Raised when a downloaded asset's SHA-256 does not match the expected digest.
|
||||
class ImageCodecIntegrityFailure implements Exception {
|
||||
final String fileName;
|
||||
final String expected;
|
||||
final String actual;
|
||||
|
||||
const ImageCodecIntegrityFailure({
|
||||
required this.fileName,
|
||||
required this.expected,
|
||||
required this.actual,
|
||||
});
|
||||
|
||||
@override
|
||||
String toString() =>
|
||||
'Checksum mismatch for $fileName: expected $expected, got $actual.';
|
||||
}
|
||||
|
||||
/// Persisted image-codec preferences.
|
||||
///
|
||||
/// These five fields are destined for `AppSettings` (see the integration notes
|
||||
/// for task B4, item 1); they live in their own value type until then so this
|
||||
/// workstream adds no edits to `app_settings.dart`. The JSON keys already match
|
||||
/// the `image_codec_*` names the AppSettings migration will use, so moving them
|
||||
/// is a copy, not a rewrite.
|
||||
class ImageCodecPreferences {
|
||||
final bool enabled;
|
||||
final String? selectedModelId;
|
||||
final String? modelSourceUrl;
|
||||
|
||||
/// [AeicRatePoint.wireValue] of the composer's default rate point.
|
||||
final int ratePoint;
|
||||
|
||||
final List<ImageCodecModelRecord> downloadedModels;
|
||||
|
||||
const ImageCodecPreferences({
|
||||
this.enabled = false,
|
||||
this.selectedModelId,
|
||||
this.modelSourceUrl,
|
||||
this.ratePoint = 4, // AeicRatePoint.ft32
|
||||
this.downloadedModels = const [],
|
||||
});
|
||||
|
||||
AeicRatePoint get aeicRatePoint => parseAeicRatePoint(ratePoint);
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'image_codec_enabled': enabled,
|
||||
'image_codec_selected_model_id': selectedModelId,
|
||||
'image_codec_model_source_url': modelSourceUrl,
|
||||
'image_codec_rate_point': ratePoint,
|
||||
'image_codec_downloaded_models': [
|
||||
for (final model in downloadedModels) model.toJson(),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
factory ImageCodecPreferences.fromJson(Map<String, dynamic> json) {
|
||||
final rawModels = json['image_codec_downloaded_models'];
|
||||
return ImageCodecPreferences(
|
||||
enabled: json['image_codec_enabled'] as bool? ?? false,
|
||||
selectedModelId: json['image_codec_selected_model_id'] as String?,
|
||||
modelSourceUrl: json['image_codec_model_source_url'] as String?,
|
||||
ratePoint: json['image_codec_rate_point'] as int? ?? 4,
|
||||
downloadedModels: rawModels is List
|
||||
? [
|
||||
for (final entry in rawModels)
|
||||
if (entry is Map<String, dynamic>)
|
||||
ImageCodecModelRecord.fromJson(entry),
|
||||
]
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
||||
static const Object _unset = Object();
|
||||
|
||||
ImageCodecPreferences copyWith({
|
||||
bool? enabled,
|
||||
Object? selectedModelId = _unset,
|
||||
Object? modelSourceUrl = _unset,
|
||||
int? ratePoint,
|
||||
List<ImageCodecModelRecord>? downloadedModels,
|
||||
}) {
|
||||
return ImageCodecPreferences(
|
||||
enabled: enabled ?? this.enabled,
|
||||
selectedModelId: identical(selectedModelId, _unset)
|
||||
? this.selectedModelId
|
||||
: selectedModelId as String?,
|
||||
modelSourceUrl: identical(modelSourceUrl, _unset)
|
||||
? this.modelSourceUrl
|
||||
: modelSourceUrl as String?,
|
||||
ratePoint: ratePoint ?? this.ratePoint,
|
||||
downloadedModels: downloadedModels ?? this.downloadedModels,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ enum MessageStatus { pending, sent, delivered, failed }
|
||||
class Message {
|
||||
static const Object _unset = Object();
|
||||
|
||||
final Uint8List senderKey;
|
||||
final Uint8List senderKey; // For outgoing msgs, gets used as recipientKey
|
||||
final String text;
|
||||
final DateTime timestamp;
|
||||
final bool isOutgoing;
|
||||
@@ -30,7 +30,7 @@ class Message {
|
||||
final int? tripTimeMs;
|
||||
final int? pathLength;
|
||||
final Uint8List pathBytes;
|
||||
final Map<String, int> reactions;
|
||||
final Map<String, List<String?>> reactions;
|
||||
final Map<String, MessageStatus> reactionStatuses;
|
||||
final Uint8List fourByteRoomContactKey;
|
||||
|
||||
@@ -56,7 +56,7 @@ class Message {
|
||||
this.pathLength,
|
||||
Uint8List? pathBytes,
|
||||
Uint8List? fourByteRoomContactKey,
|
||||
Map<String, int>? reactions,
|
||||
Map<String, List<String?>>? reactions,
|
||||
Map<String, MessageStatus>? reactionStatuses,
|
||||
}) : messageId =
|
||||
messageId ??
|
||||
@@ -84,7 +84,7 @@ class Message {
|
||||
Object? translatedLanguageCode = _unset,
|
||||
MessageTranslationStatus? translationStatus,
|
||||
Object? translationModelId = _unset,
|
||||
Map<String, int>? reactions,
|
||||
Map<String, List<String?>>? reactions,
|
||||
Map<String, MessageStatus>? reactionStatuses,
|
||||
Uint8List? fourByteRoomContactKey,
|
||||
}) {
|
||||
|
||||
@@ -476,9 +476,19 @@ class RadioSettings {
|
||||
RadioSettings(
|
||||
frequencyMHz: 908.205,
|
||||
bandwidth: LoRaBandwidth.bw62_5,
|
||||
spreadingFactor: LoRaSpreadingFactor.sf10,
|
||||
spreadingFactor: LoRaSpreadingFactor.sf9,
|
||||
codingRate: LoRaCodingRate.cr4_8,
|
||||
txPowerDbm: 22,
|
||||
),
|
||||
),
|
||||
(
|
||||
'USA Philly',
|
||||
RadioSettings(
|
||||
frequencyMHz: 902.250,
|
||||
bandwidth: LoRaBandwidth.bw500,
|
||||
spreadingFactor: LoRaSpreadingFactor.sf11,
|
||||
codingRate: LoRaCodingRate.cr4_5,
|
||||
txPowerDbm: 20,
|
||||
txPowerDbm: 22,
|
||||
),
|
||||
),
|
||||
(
|
||||
@@ -488,7 +498,7 @@ class RadioSettings {
|
||||
bandwidth: LoRaBandwidth.bw62_5,
|
||||
spreadingFactor: LoRaSpreadingFactor.sf7,
|
||||
codingRate: LoRaCodingRate.cr4_5,
|
||||
txPowerDbm: 20,
|
||||
txPowerDbm: 22,
|
||||
),
|
||||
),
|
||||
(
|
||||
@@ -515,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,
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -6,12 +6,16 @@ import 'package:provider/provider.dart';
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
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';
|
||||
@@ -19,7 +23,16 @@ import '../helpers/snack_bar_builder.dart';
|
||||
import 'map_cache_screen.dart';
|
||||
|
||||
class AppSettingsScreen extends StatelessWidget {
|
||||
const AppSettingsScreen({super.key});
|
||||
/// Scrolls the image-message settings into view once, on first build.
|
||||
///
|
||||
/// This is how the received-image placeholder's "no model installed" tap
|
||||
/// lands somewhere useful: the image block sits below appearance,
|
||||
/// notifications, messaging, battery, map and translation, so pushing the
|
||||
/// plain settings screen would drop the user at the top with no hint that
|
||||
/// the thing they tapped for is several screens down.
|
||||
final bool focusImageMessages;
|
||||
|
||||
const AppSettingsScreen({super.key, this.focusImageMessages = false});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -309,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(
|
||||
@@ -598,10 +627,252 @@ class AppSettingsScreen extends StatelessWidget {
|
||||
settingsService.setEnableMessageTracing(value);
|
||||
},
|
||||
),
|
||||
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(
|
||||
contentPadding: const EdgeInsets.symmetric(
|
||||
horizontal: 16,
|
||||
vertical: 4,
|
||||
),
|
||||
secondary: const Icon(Icons.image_outlined, size: 20),
|
||||
title: Text(context.l10n.imageMessages_enableTitle),
|
||||
subtitle: Text(context.l10n.imageMessages_enableSubtitle),
|
||||
value: settingsService.settings.imageMessagesEnabled,
|
||||
onChanged: (value) async {
|
||||
// ImageCodecService.availability requires BOTH the app-level
|
||||
// toggle and its own `enabled` preference; one switch drives both
|
||||
// so the user is never left with a silently half-on feature.
|
||||
final codec = _imageCodecService(context);
|
||||
await settingsService.setImageMessagesEnabled(value);
|
||||
await codec?.setEnabled(value);
|
||||
},
|
||||
),
|
||||
),
|
||||
if (settingsService.settings.imageMessagesEnabled) ...[
|
||||
const Divider(height: 1, indent: 16),
|
||||
SwitchListTile(
|
||||
contentPadding: const EdgeInsets.symmetric(
|
||||
horizontal: 16,
|
||||
vertical: 4,
|
||||
),
|
||||
secondary: const Icon(Icons.auto_awesome_outlined, size: 20),
|
||||
title: Text(context.l10n.imageMessages_autoProcessTitle),
|
||||
subtitle: Text(context.l10n.imageMessages_autoProcessSubtitle),
|
||||
value: settingsService.settings.imageProcessAutomatically,
|
||||
onChanged: (value) =>
|
||||
settingsService.setImageProcessAutomatically(value),
|
||||
),
|
||||
_buildImageCodecModels(context),
|
||||
],
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
/// The image codec, or null when it is not registered (screen tests).
|
||||
ImageCodecService? _imageCodecService(BuildContext context) {
|
||||
try {
|
||||
return Provider.of<ImageCodecService>(context, listen: false);
|
||||
} on ProviderNotFoundException {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// Model registry for image messages: the download entry point, the
|
||||
/// downloaded weights, and — when the build simply cannot run the codec —
|
||||
/// [ImageCodecService.unavailableReason] instead of a dead download button.
|
||||
Widget _buildImageCodecModels(BuildContext context) {
|
||||
final ImageCodecService codec;
|
||||
try {
|
||||
codec = context.watch<ImageCodecService>();
|
||||
} on ProviderNotFoundException {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
final reason = codec.unavailableReason;
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 4, 16, 16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
context.l10n.imageMessages_modelSectionTitle,
|
||||
style: textTheme.titleSmall,
|
||||
),
|
||||
const SizedBox(height: 6),
|
||||
if (reason != null)
|
||||
Container(
|
||||
padding: const EdgeInsets.all(12),
|
||||
decoration: BoxDecoration(
|
||||
color: scheme.surfaceContainerHighest,
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
),
|
||||
child: Text(
|
||||
reason,
|
||||
style: textTheme.bodySmall?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
for (final spec in imageCodecPresetModels)
|
||||
_buildImageCodecPreset(context, codec, spec),
|
||||
for (final model in codec.availableModels)
|
||||
ListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
dense: true,
|
||||
leading: const Icon(Icons.check_circle_outline, size: 20),
|
||||
title: Text(model.name.isEmpty ? model.id : model.name),
|
||||
subtitle: Text(_formatModelBytes(model.fileSizeBytes)),
|
||||
trailing: IconButton(
|
||||
icon: const Icon(Icons.delete_outline, size: 20),
|
||||
tooltip: context.l10n.imageMessages_removeModel,
|
||||
onPressed: codec.isBusy || codec.isDownloading
|
||||
? null
|
||||
: () => codec.removeModel(model),
|
||||
),
|
||||
),
|
||||
if (codec.lastError != null) ...[
|
||||
const SizedBox(height: 6),
|
||||
Text(
|
||||
codec.lastError!,
|
||||
style: textTheme.bodySmall?.copyWith(color: scheme.error),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildImageCodecPreset(
|
||||
BuildContext context,
|
||||
ImageCodecService codec,
|
||||
ImageCodecModelSpec spec,
|
||||
) {
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final alreadyHave = codec.availableModels.any((m) => m.id == spec.id);
|
||||
// downloadPresetModel throws StateError on a placeholder URL, deliberately,
|
||||
// so the button must not be offerable until the weights are published.
|
||||
final blocked = spec.urlsArePlaceholders;
|
||||
final busy = codec.isDownloading;
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(top: 4),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
ListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
dense: true,
|
||||
leading: const Icon(Icons.download_outlined, size: 20),
|
||||
title: Text(spec.label),
|
||||
subtitle: Text(
|
||||
blocked
|
||||
? context.l10n.imageMessages_modelNotPublished
|
||||
: _formatModelBytes(spec.totalSizeBytes),
|
||||
),
|
||||
trailing: alreadyHave
|
||||
? Text(
|
||||
context.l10n.imageMessages_modelReady,
|
||||
style: textTheme.labelMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
: busy
|
||||
? TextButton(
|
||||
onPressed: codec.cancelDownload,
|
||||
child: Text(context.l10n.imageMessages_cancelDownload),
|
||||
)
|
||||
: TextButton(
|
||||
onPressed: blocked
|
||||
? null
|
||||
: () => _downloadImageCodecModel(context, codec, spec),
|
||||
child: Text(context.l10n.imageMessages_downloadModel),
|
||||
),
|
||||
),
|
||||
if (busy)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8),
|
||||
child: LinearProgressIndicator(value: codec.downloadProgress),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _downloadImageCodecModel(
|
||||
BuildContext context,
|
||||
ImageCodecService codec,
|
||||
ImageCodecModelSpec spec,
|
||||
) async {
|
||||
final messenger = ScaffoldMessenger.of(context);
|
||||
final failed = context.l10n.imageMessages_downloadFailed;
|
||||
try {
|
||||
await codec.downloadPresetModel(spec);
|
||||
} on Exception catch (error) {
|
||||
messenger.showSnackBar(SnackBar(content: Text('$failed $error')));
|
||||
}
|
||||
}
|
||||
|
||||
String _formatModelBytes(int bytes) {
|
||||
if (bytes >= 1024 * 1024 * 1024) {
|
||||
return '${(bytes / (1024 * 1024 * 1024)).toStringAsFixed(2)} GB';
|
||||
}
|
||||
if (bytes >= 1024 * 1024) {
|
||||
return '${(bytes / (1024 * 1024)).toStringAsFixed(0)} MB';
|
||||
}
|
||||
if (bytes >= 1024) return '${(bytes / 1024).toStringAsFixed(0)} kB';
|
||||
return '$bytes B';
|
||||
}
|
||||
|
||||
Widget _buildBatteryContent(
|
||||
BuildContext context,
|
||||
AppSettingsService settingsService,
|
||||
@@ -688,6 +959,10 @@ class AppSettingsScreen extends StatelessWidget {
|
||||
value: 'lipo',
|
||||
child: Text(context.l10n.appSettings_batteryLipo),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'lipo_hv',
|
||||
child: Text(context.l10n.appSettings_batteryLipoHv),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -1153,9 +1428,7 @@ class AppSettingsScreen extends StatelessWidget {
|
||||
) {
|
||||
final currentApiKey = settingsService.settings.mapTileApiKey?.trim() ?? '';
|
||||
final maskedApiKey = _maskApiKey(
|
||||
currentApiKey.isEmpty
|
||||
? AppSettings.stadiaDemo
|
||||
: currentApiKey,
|
||||
currentApiKey.isEmpty ? AppSettings.stadiaDemo : currentApiKey,
|
||||
);
|
||||
final controller = TextEditingController(text: maskedApiKey);
|
||||
showDialog(
|
||||
@@ -1348,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
|
||||
@@ -1371,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
|
||||
@@ -1532,6 +1813,7 @@ class AppSettingsScreen extends StatelessWidget {
|
||||
const SizedBox(height: 8),
|
||||
DropdownButtonFormField<String>(
|
||||
initialValue: settingsService.settings.selectedCyr2latProfileId,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: context.l10n.channels_cyr2latSettingsSubheading,
|
||||
border: const OutlineInputBorder(),
|
||||
@@ -1539,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) {
|
||||
@@ -2507,3 +2793,45 @@ class _TranslationLanguageDialogContentState
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Scrolls [child] into view exactly once, after the first frame.
|
||||
///
|
||||
/// A `StatefulWidget` rather than a post-frame callback in `build` because the
|
||||
/// settings screen rebuilds on every `AppSettingsService` notification: a
|
||||
/// callback in `build` would yank the list back to the image block every time
|
||||
/// the user touched an unrelated switch.
|
||||
///
|
||||
/// Silently does nothing when there is no enclosing [Scrollable] (screen tests
|
||||
/// that render a section in isolation) or when the element is gone by the time
|
||||
/// the frame lands.
|
||||
class _ScrollIntoViewOnce extends StatefulWidget {
|
||||
final bool enabled;
|
||||
final Widget child;
|
||||
|
||||
const _ScrollIntoViewOnce({required this.enabled, required this.child});
|
||||
|
||||
@override
|
||||
State<_ScrollIntoViewOnce> createState() => _ScrollIntoViewOnceState();
|
||||
}
|
||||
|
||||
class _ScrollIntoViewOnceState extends State<_ScrollIntoViewOnce> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
if (!widget.enabled) return;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!mounted) return;
|
||||
final scrollable = Scrollable.maybeOf(context);
|
||||
if (scrollable == null) return;
|
||||
Scrollable.ensureVisible(
|
||||
context,
|
||||
duration: const Duration(milliseconds: 300),
|
||||
curve: Curves.easeOut,
|
||||
alignment: 0.1,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => widget.child;
|
||||
}
|
||||
+1117
-204
File diff suppressed because it is too large.
Load diff
@@ -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<ChannelsScreen>
|
||||
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<ChannelsScreen>
|
||||
iconColor = MeshPalette.signal;
|
||||
case ChannelType.hashtag:
|
||||
icon = Icons.tag;
|
||||
iconColor = MeshPalette.blue;
|
||||
iconColor = MeshPalette.warn;
|
||||
case ChannelType.private:
|
||||
icon = Icons.lock;
|
||||
iconColor = MeshPalette.blue;
|
||||
@@ -412,7 +414,8 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
final messages = connector.getChannelMessages(channel);
|
||||
final lastMessage = messages.isNotEmpty ? messages.last : null;
|
||||
final lastMessageText = lastMessage?.text ?? '';
|
||||
final lastPreview = lastMessageText.isNotEmpty &&
|
||||
final lastPreview =
|
||||
lastMessageText.isNotEmpty &&
|
||||
GifHelper.parseGif(lastMessageText) != null
|
||||
? context.l10n.chat_receivedGif
|
||||
: lastMessageText;
|
||||
@@ -515,14 +518,18 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
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) ...[
|
||||
@@ -583,17 +590,21 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
],
|
||||
),
|
||||
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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -813,6 +824,13 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
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();
|
||||
@@ -1454,24 +1472,7 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
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,
|
||||
@@ -1492,6 +1493,15 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
),
|
||||
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,
|
||||
@@ -1500,6 +1510,18 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
),
|
||||
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,
|
||||
@@ -1532,6 +1554,7 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
final pskController = TextEditingController(text: channel.pskHex);
|
||||
bool smazEnabled = connector.isChannelSmazEnabled(channel.index);
|
||||
bool cyr2latEnabled = connector.isChannelCyr2LatEnabled(channel.index);
|
||||
bool urlImagesEnabled = connector.isChannelUrlImagesEnabled(channel.index);
|
||||
String? selectedCyr2LatProfileId = connector.getChannelCyr2LatProfileId(
|
||||
channel.index,
|
||||
);
|
||||
@@ -1634,6 +1657,13 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
),
|
||||
),
|
||||
],
|
||||
SwitchListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
title: Text(sheetContext.l10n.urlImage_enable),
|
||||
value: urlImagesEnabled,
|
||||
onChanged: (value) =>
|
||||
setSheetState(() => urlImagesEnabled = value),
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
],
|
||||
),
|
||||
@@ -1683,6 +1713,10 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
channel.index,
|
||||
cyr2latEnabled,
|
||||
);
|
||||
await connector.setChannelUrlImagesEnabled(
|
||||
channel.index,
|
||||
urlImagesEnabled,
|
||||
);
|
||||
await connector.setChannelCyr2LatProfileId(
|
||||
channel.index,
|
||||
selectedCyr2LatProfileId,
|
||||
@@ -1724,6 +1758,12 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
ChannelMessageStore channelMessageStore,
|
||||
Channel channel,
|
||||
) {
|
||||
ReceivedImageStore? imageStore;
|
||||
try {
|
||||
imageStore = context.read<ReceivedImageStore>();
|
||||
} on ProviderNotFoundException {
|
||||
imageStore = null;
|
||||
}
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
@@ -1743,6 +1783,7 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
await connector.deleteChannel(channel.index);
|
||||
|
||||
await channelMessageStore.clearChannelMessages(channel.index);
|
||||
await imageStore?.deleteImagesForChannel(channel.index);
|
||||
|
||||
if (!context.mounted) return;
|
||||
|
||||
@@ -1787,12 +1828,12 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
);
|
||||
}
|
||||
|
||||
int _findNextAvailableIndex(List<Channel> channels, int maxChannels) {
|
||||
int? _findNextAvailableIndex(List<Channel> 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) {
|
||||
|
||||
+170
-43
@@ -7,11 +7,13 @@ import 'package:flutter/scheduler.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../utils/app_logger.dart';
|
||||
import '../utils/platform_info.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
import '../helpers/cyr2lat.dart';
|
||||
import '../helpers/message_url_image_helper.dart';
|
||||
import '../helpers/path_helper.dart';
|
||||
import '../helpers/reaction_helper.dart';
|
||||
import '../widgets/message_status_icon.dart';
|
||||
@@ -29,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';
|
||||
@@ -47,6 +50,14 @@ import '../theme/mesh_theme.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import 'telemetry_screen.dart';
|
||||
|
||||
// Image messages are deliberately absent from this screen, and there is no
|
||||
// flag to flip: the AEIC wire format is `CMD_SEND_CHANNEL_DATA` (62) /
|
||||
// GRP_DATA 0x06, which addresses a channel index rather than a contact key,
|
||||
// and the companion protocol has no direct-message equivalent (there is no
|
||||
// CMD_SEND_DATA — see `meshcore_protocol.dart`). Sending a private photo on
|
||||
// channel 0 to reach one contact would broadcast it to everyone on that
|
||||
// channel. Channel chats keep the feature; see `channel_chat_screen.dart`.
|
||||
|
||||
class ChatScreen extends StatefulWidget {
|
||||
final Contact contact;
|
||||
final int initialUnreadCount;
|
||||
@@ -179,10 +190,6 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
title: Consumer2<PathHistoryService, MeshCoreConnector>(
|
||||
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(
|
||||
@@ -201,7 +208,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 6),
|
||||
child: Text(
|
||||
'$pathLabel • $unreadLabel',
|
||||
pathLabel,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
fontSize: 11,
|
||||
@@ -425,10 +432,20 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
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)) {
|
||||
@@ -470,9 +487,9 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.gif_box),
|
||||
onPressed: () => _showGifPicker(context),
|
||||
icon: const Icon(Icons.gif_box_outlined),
|
||||
tooltip: context.l10n.chat_sendGif,
|
||||
onPressed: () => _showGifPicker(context),
|
||||
),
|
||||
if (settings.translationEnabled)
|
||||
MessageTranslationButton(
|
||||
@@ -480,6 +497,9 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
languageCode: settings.translationTargetLanguageCode,
|
||||
onPressed: _showTranslationOptions,
|
||||
),
|
||||
// No image button here: the image wire format is GRP_DATA, a
|
||||
// channel primitive with no DM equivalent (see the note at the
|
||||
// top of this file).
|
||||
Expanded(
|
||||
child: ValueListenableBuilder<TextEditingValue>(
|
||||
valueListenable: _textController,
|
||||
@@ -517,6 +537,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
const SizedBox(width: 8),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.close),
|
||||
tooltip: context.l10n.chat_removeGif,
|
||||
onPressed: () {
|
||||
_textController.clear();
|
||||
_textFieldFocusNode.requestFocus();
|
||||
@@ -528,6 +549,11 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
}
|
||||
return ByteCountedTextField(
|
||||
maxBytes: maxBytes,
|
||||
softLimitBytes:
|
||||
maxTextPayloadBytesAfterFullLengthAttempts,
|
||||
softLimitNote: context.l10n.chat_longMessageRetryNote(
|
||||
maxFullLengthTextAttempt + 1,
|
||||
),
|
||||
controller: _textController,
|
||||
focusNode: _textFieldFocusNode,
|
||||
hintText: context.l10n.chat_typeMessage,
|
||||
@@ -798,7 +824,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
final hopCount = _displayHopCount(
|
||||
contact.path,
|
||||
contact.pathLength,
|
||||
connector.pathHashByteWidth,
|
||||
contact.pathHashWidth,
|
||||
);
|
||||
return context.l10n.chat_hopsCount(hopCount);
|
||||
}
|
||||
@@ -867,6 +893,9 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
bool cyr2latEnabled = connector.isContactCyr2LatEnabled(
|
||||
contact.publicKeyHex,
|
||||
);
|
||||
bool urlImagesEnabled = connector.isContactUrlImagesEnabled(
|
||||
contact.publicKeyHex,
|
||||
);
|
||||
String? selectedCyr2LatProfileId = connector.getContactCyr2LatProfileId(
|
||||
contact.publicKeyHex,
|
||||
);
|
||||
@@ -966,6 +995,19 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
),
|
||||
],
|
||||
const Divider(height: 8),
|
||||
SwitchListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
title: Text(context.l10n.urlImage_enable),
|
||||
value: urlImagesEnabled,
|
||||
onChanged: (value) {
|
||||
connector.setContactUrlImagesEnabled(
|
||||
contact.publicKeyHex,
|
||||
value,
|
||||
);
|
||||
setDialogState(() => urlImagesEnabled = value);
|
||||
},
|
||||
),
|
||||
const Divider(height: 8),
|
||||
SwitchListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
title: Text(context.l10n.contact_teleBase),
|
||||
@@ -1071,7 +1113,11 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
void _openMessagePath(Message message, Contact contact) {
|
||||
void _openMessagePath(
|
||||
Message message,
|
||||
Contact contact, {
|
||||
bool openMap = false,
|
||||
}) {
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
final fourByteHex = message.fourByteRoomContactKey
|
||||
.map((b) => b.toRadixString(16).padLeft(2, '0'))
|
||||
@@ -1103,7 +1149,9 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => ChannelMessagePathScreen(message: pathMessage),
|
||||
builder: (context) => openMap
|
||||
? ChannelMessagePathMapScreen(message: pathMessage)
|
||||
: ChannelMessagePathScreen(message: pathMessage),
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -1125,8 +1173,8 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
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
|
||||
@@ -1147,6 +1195,15 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
_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),
|
||||
@@ -1270,6 +1327,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
final senderName = liveContact.type == advTypeRoom
|
||||
? senderContact.name
|
||||
: null;
|
||||
appLogger.info('Sending reaction using senderName: $senderName');
|
||||
final hash = ReactionHelper.computeReactionHash(
|
||||
timestampSecs,
|
||||
senderName,
|
||||
@@ -1306,6 +1364,9 @@ class _MessageBubble extends StatelessWidget {
|
||||
final gifId = GifHelper.parseGif(message.text);
|
||||
final poi = parseMarkerText(message.text);
|
||||
final isFailed = message.status == MessageStatus.failed;
|
||||
final urlImagesEnabled = context.select<MeshCoreConnector, bool>(
|
||||
(connector) => connector.isContactUrlImagesEnabled(sourceId),
|
||||
);
|
||||
|
||||
// Bubble colors — outgoing uses MeshPalette.me / meBorder / meInk.
|
||||
final bubbleColor = isFailed
|
||||
@@ -1353,6 +1414,30 @@ class _MessageBubble extends StatelessWidget {
|
||||
? message.originalText
|
||||
: (translatedDisplayText != messageText ? messageText : null);
|
||||
|
||||
Widget buildTextContent() {
|
||||
return Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: [
|
||||
Flexible(
|
||||
child: TranslatedMessageContent(
|
||||
displayText: translatedDisplayText,
|
||||
originalText: originalDisplayText,
|
||||
style: TextStyle(
|
||||
color: textColor,
|
||||
fontSize: bodyFontSize * textScale,
|
||||
),
|
||||
originalStyle: TextStyle(
|
||||
color: textColor.withValues(alpha: 0.72),
|
||||
fontSize: bodyFontSize * textScale,
|
||||
),
|
||||
onSecondaryTap: PlatformInfo.isDesktop ? onLongPress : null,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 3),
|
||||
child: Column(
|
||||
@@ -1440,28 +1525,76 @@ class _MessageBubble extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
)
|
||||
else if (urlImagesEnabled)
|
||||
MessageUrlImageFutureBuilder(
|
||||
messageId: message.messageId,
|
||||
text: message.text,
|
||||
builder: (context, snapshot) {
|
||||
final imageAttachment = snapshot.data;
|
||||
|
||||
if (imageAttachment != null) {
|
||||
return Column(
|
||||
crossAxisAlignment:
|
||||
CrossAxisAlignment.start,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 4,
|
||||
),
|
||||
child: Align(
|
||||
alignment: isOutgoing
|
||||
? Alignment.centerRight
|
||||
: Alignment.centerLeft,
|
||||
child: MessageUrlImagePreview(
|
||||
imageUrl: imageAttachment,
|
||||
),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: TranslatedMessageContent(
|
||||
displayText: translatedDisplayText,
|
||||
originalText: originalDisplayText,
|
||||
style: TextStyle(
|
||||
color: textColor,
|
||||
fontSize: bodyFontSize * textScale,
|
||||
),
|
||||
originalStyle: TextStyle(
|
||||
color: textColor.withValues(
|
||||
alpha: 0.72,
|
||||
),
|
||||
fontSize: bodyFontSize * textScale,
|
||||
),
|
||||
onSecondaryTap: PlatformInfo.isDesktop
|
||||
? onLongPress
|
||||
: null,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
return buildTextContent();
|
||||
},
|
||||
)
|
||||
else
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Flexible(
|
||||
child: TranslatedMessageContent(
|
||||
displayText: translatedDisplayText,
|
||||
originalText: originalDisplayText,
|
||||
style: TextStyle(
|
||||
color: textColor,
|
||||
fontSize: bodyFontSize * textScale,
|
||||
if (MessageUrlImageHelper.hasPotentialImageUrl(
|
||||
message.text,
|
||||
))
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 4),
|
||||
child: Text(
|
||||
context.l10n.urlImage_possible,
|
||||
style: TextStyle(
|
||||
color: metaColor,
|
||||
fontSize: 11 * textScale,
|
||||
),
|
||||
),
|
||||
originalStyle: TextStyle(
|
||||
color: textColor.withValues(alpha: 0.72),
|
||||
fontSize: bodyFontSize * textScale,
|
||||
),
|
||||
onSecondaryTap: PlatformInfo.isDesktop
|
||||
? onLongPress
|
||||
: null,
|
||||
),
|
||||
),
|
||||
buildTextContent(),
|
||||
],
|
||||
),
|
||||
if (enableTracing &&
|
||||
@@ -1502,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 ==
|
||||
@@ -1537,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,
|
||||
@@ -1643,7 +1776,7 @@ class _MessageBubble extends StatelessWidget {
|
||||
runSpacing: 6,
|
||||
children: message.reactions.entries.map((entry) {
|
||||
final emoji = entry.key;
|
||||
final count = entry.value;
|
||||
final count = entry.value.length;
|
||||
final status = message.reactionStatuses[emoji];
|
||||
final isPending =
|
||||
status == MessageStatus.pending || status == MessageStatus.sent;
|
||||
@@ -1716,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].
|
||||
|
||||
@@ -47,8 +47,8 @@ class _CompanionRadioStatsScreenState extends State<CompanionRadioStatsScreen> {
|
||||
@override
|
||||
void dispose() {
|
||||
_connector?.radioStatsNotifier.removeListener(_onStatsUpdate);
|
||||
_connector?.releaseRadioStatsPolling();
|
||||
_connector?.setPollingInterval(30);
|
||||
_connector?.releaseRadioStatsPolling();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@@ -117,8 +117,8 @@ class _CompanionRadioStatsScreenState extends State<CompanionRadioStatsScreen> {
|
||||
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(
|
||||
@@ -152,8 +152,8 @@ class _CompanionRadioStatsScreenState extends State<CompanionRadioStatsScreen> {
|
||||
],
|
||||
),
|
||||
),
|
||||
const SectionHeader(
|
||||
'Airtime',
|
||||
SectionHeader(
|
||||
l10n.radioStats_sectionAirtime,
|
||||
padding: EdgeInsets.fromLTRB(16, 16, 16, 8),
|
||||
),
|
||||
MeshCard(
|
||||
|
||||
@@ -0,0 +1,310 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:image_picker/image_picker.dart';
|
||||
import 'package:mobile_scanner/mobile_scanner.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../utils/contact_qr.dart';
|
||||
import '../utils/contact_qr_frame.dart';
|
||||
import '../widgets/adaptive_app_bar_title.dart';
|
||||
import '../widgets/qr_scanner_widget.dart';
|
||||
|
||||
/// Screen for scanning MeshCore contact QR codes, either with the camera
|
||||
/// or by picking a photo containing a QR code from the gallery.
|
||||
class ContactQrScannerScreen extends StatefulWidget {
|
||||
const ContactQrScannerScreen({super.key});
|
||||
|
||||
@override
|
||||
State<ContactQrScannerScreen> createState() => _ContactQrScannerScreenState();
|
||||
}
|
||||
|
||||
class _ContactQrScannerScreenState extends State<ContactQrScannerScreen> {
|
||||
bool _isProcessing = false;
|
||||
|
||||
/// Set after a failed import so the camera does not immediately rescan the
|
||||
/// same QR and resend the frame in a loop.
|
||||
bool _importFailed = false;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: AdaptiveAppBarTitle(context.l10n.contacts_scanQrCode),
|
||||
centerTitle: true,
|
||||
actions: [
|
||||
IconButton(
|
||||
tooltip: context.l10n.contacts_qrFromGallery,
|
||||
icon: const Icon(Icons.photo_library),
|
||||
onPressed: _isProcessing ? null : _pickFromGallery,
|
||||
),
|
||||
],
|
||||
),
|
||||
body: _isProcessing
|
||||
? Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
child: const Center(child: CircularProgressIndicator()),
|
||||
)
|
||||
: _importFailed
|
||||
? _buildImportFailed(context)
|
||||
: QrScannerWidget(
|
||||
onScanned: (data) => _handleScannedData(data),
|
||||
validator: (data) => parseContactQr(data) != null,
|
||||
onValidationFailed: (_) => _showInvalidQrError(),
|
||||
instructions: context.l10n.contacts_scanQrInstructions,
|
||||
overlay: _buildThemedOverlay(context),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildImportFailed(BuildContext context) {
|
||||
return Center(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(24),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Icon(
|
||||
Icons.error_outline,
|
||||
size: 64,
|
||||
color: Theme.of(context).colorScheme.error,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
context.l10n.contacts_contactImportFailed,
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
FilledButton.icon(
|
||||
onPressed: () => setState(() => _importFailed = false),
|
||||
icon: const Icon(Icons.refresh),
|
||||
label: Text(context.l10n.common_retry),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildThemedOverlay(BuildContext context) {
|
||||
return Stack(
|
||||
fit: StackFit.expand,
|
||||
children: [
|
||||
// Dark semi-transparent background with cutout
|
||||
ColorFiltered(
|
||||
colorFilter: ColorFilter.mode(
|
||||
Colors.black.withValues(alpha: 0.5),
|
||||
BlendMode.srcOut,
|
||||
),
|
||||
child: Stack(
|
||||
fit: StackFit.expand,
|
||||
children: [
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
color: Colors.black,
|
||||
backgroundBlendMode: BlendMode.dstOut,
|
||||
),
|
||||
),
|
||||
Center(
|
||||
child: Container(
|
||||
height: 250,
|
||||
width: 250,
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.red,
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
// Corner brackets on top
|
||||
const ScannerCornerOverlay(
|
||||
scanWindowSize: 250,
|
||||
borderColor: MeshPalette.blue,
|
||||
borderWidth: 2,
|
||||
cornerLength: 24,
|
||||
),
|
||||
// Instructions pill below the scan window
|
||||
Center(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const SizedBox(height: 250 + 24),
|
||||
Container(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 20,
|
||||
vertical: 10,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.black.withValues(alpha: 0.72),
|
||||
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||
),
|
||||
child: Text(
|
||||
context.l10n.contacts_scanQrInstructions,
|
||||
style: const TextStyle(color: MeshPalette.ink2, fontSize: 13),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _pickFromGallery() async {
|
||||
if (_isProcessing) return;
|
||||
|
||||
// Claim the flag before awaiting the picker, otherwise a camera detection
|
||||
// can start a second import while the gallery sheet is open.
|
||||
setState(() {
|
||||
_isProcessing = true;
|
||||
});
|
||||
|
||||
final XFile? image;
|
||||
try {
|
||||
image = await ImagePicker().pickImage(source: ImageSource.gallery);
|
||||
} catch (e) {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
});
|
||||
_showGalleryError();
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!mounted) return;
|
||||
if (image == null) {
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
String? rawValue;
|
||||
bool decodedAnyBarcode = false;
|
||||
final controller = MobileScannerController();
|
||||
try {
|
||||
final capture = await controller.analyzeImage(image.path);
|
||||
for (final barcode in capture?.barcodes ?? const []) {
|
||||
final value = barcode.rawValue;
|
||||
if (value == null || value.isEmpty) continue;
|
||||
decodedAnyBarcode = true;
|
||||
if (parseContactQr(value) != null) {
|
||||
rawValue = value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} on UnsupportedError {
|
||||
rawValue = null;
|
||||
} catch (e) {
|
||||
rawValue = null;
|
||||
} finally {
|
||||
controller.dispose();
|
||||
}
|
||||
|
||||
if (!mounted) return;
|
||||
|
||||
if (rawValue == null) {
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
});
|
||||
if (decodedAnyBarcode) {
|
||||
_showInvalidQrError();
|
||||
} else {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.contacts_noQrCodeFound),
|
||||
backgroundColor: MeshPalette.warn,
|
||||
duration: const Duration(seconds: 2),
|
||||
);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
});
|
||||
await _handleScannedData(rawValue);
|
||||
}
|
||||
|
||||
Future<void> _handleScannedData(String data) async {
|
||||
if (_isProcessing) return;
|
||||
|
||||
setState(() {
|
||||
_isProcessing = true;
|
||||
_importFailed = false;
|
||||
});
|
||||
|
||||
final scanned = parseContactQr(data);
|
||||
if (scanned == null) {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
});
|
||||
_showInvalidQrError();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
final publicKey = scanned.publicKey;
|
||||
// Saved contacts first (their flags matter), then discovery-only records,
|
||||
// which still carry a known name worth preserving.
|
||||
final existing = publicKey == null
|
||||
? null
|
||||
: connector.allContactsUnfiltered
|
||||
.where(
|
||||
(contact) => contact.publicKeyHex == pubKeyToHex(publicKey),
|
||||
)
|
||||
.firstOrNull;
|
||||
final frame = buildContactQrFrame(
|
||||
scanned,
|
||||
existing: existing,
|
||||
pathHashByteWidth: connector.pathHashByteWidth,
|
||||
);
|
||||
|
||||
try {
|
||||
await connector.sendFrame(frame, waitForGenericAck: true);
|
||||
await connector.refreshContacts();
|
||||
if (!mounted) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.contacts_contactImported),
|
||||
);
|
||||
// Keep _isProcessing set: resetting it would restart the camera on a
|
||||
// closing route and let a second detection import and pop again.
|
||||
Navigator.pop(context);
|
||||
} catch (e) {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
_importFailed = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void _showInvalidQrError() {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.contacts_invalidAdvertFormat),
|
||||
backgroundColor: MeshPalette.warn,
|
||||
duration: const Duration(seconds: 2),
|
||||
);
|
||||
}
|
||||
|
||||
void _showGalleryError() {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.contacts_qrGalleryFailed),
|
||||
backgroundColor: MeshPalette.warn,
|
||||
duration: const Duration(seconds: 2),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,7 @@ import '../widgets/unread_badge.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import 'channels_screen.dart';
|
||||
import 'chat_screen.dart';
|
||||
import 'contact_qr_scanner_screen.dart';
|
||||
import 'discovery_screen.dart';
|
||||
import 'map_screen.dart';
|
||||
import 'repeater_hub_screen.dart';
|
||||
@@ -185,6 +186,14 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
}
|
||||
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
|
||||
@@ -376,6 +385,21 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
),
|
||||
onTap: () => _contactImport(),
|
||||
),
|
||||
PopupMenuItem(
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.qr_code_scanner),
|
||||
const SizedBox(width: 8),
|
||||
Text(context.l10n.contacts_scanQrCode),
|
||||
],
|
||||
),
|
||||
onTap: () => Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => const ContactQrScannerScreen(),
|
||||
),
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem(
|
||||
child: Row(
|
||||
@@ -488,6 +512,19 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
_contactImport();
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.qr_code_scanner),
|
||||
title: Text(context.l10n.contacts_scanQrCode),
|
||||
onTap: () {
|
||||
Navigator.pop(sheetContext);
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => const ContactQrScannerScreen(),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.person_add_rounded),
|
||||
title: Text(context.l10n.discoveredContacts_Title),
|
||||
@@ -704,7 +741,7 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
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 +919,20 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
],
|
||||
),
|
||||
),
|
||||
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 +973,7 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
onTap: () => _openChat(context, contact),
|
||||
onLongPress: () =>
|
||||
_showContactOptions(context, connector, contact),
|
||||
onManage: _manageAction(context, contact),
|
||||
);
|
||||
},
|
||||
),
|
||||
@@ -1047,6 +1099,17 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
}
|
||||
}
|
||||
|
||||
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 +1568,7 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
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 +1598,46 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
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 +1651,7 @@ class _ContactTile extends StatelessWidget {
|
||||
final bool isFavorite;
|
||||
final VoidCallback onTap;
|
||||
final VoidCallback onLongPress;
|
||||
final VoidCallback? onManage;
|
||||
|
||||
const _ContactTile({
|
||||
required this.contact,
|
||||
@@ -1578,6 +1661,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 +1698,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 +1785,6 @@ class _ContactTile extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
if (hasPath) ...[
|
||||
const SizedBox(width: 6),
|
||||
RouteChip(
|
||||
isDirect: isDirect,
|
||||
hops: isDirect ? contact.pathLength : null,
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -1749,6 +1823,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 +1871,7 @@ class _ContactTileEntrance extends StatelessWidget {
|
||||
final bool isFavorite;
|
||||
final VoidCallback onTap;
|
||||
final VoidCallback onLongPress;
|
||||
final VoidCallback? onManage;
|
||||
|
||||
const _ContactTileEntrance({
|
||||
required this.index,
|
||||
@@ -1798,6 +1882,7 @@ class _ContactTileEntrance extends StatelessWidget {
|
||||
required this.isFavorite,
|
||||
required this.onTap,
|
||||
required this.onLongPress,
|
||||
this.onManage,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -1812,6 +1897,7 @@ class _ContactTileEntrance extends StatelessWidget {
|
||||
isFavorite: isFavorite,
|
||||
onTap: onTap,
|
||||
onLongPress: onLongPress,
|
||||
onManage: onManage,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -34,9 +34,17 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
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<DiscoveryScreen> {
|
||||
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<DiscoveryScreen> {
|
||||
),
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
tooltip: context.l10n.discoveredContacts_addContact,
|
||||
icon: const Icon(Icons.person_add_alt_1),
|
||||
onPressed: () => _addContact(context, contact, connector),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _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<void> _showContactContextMenu(
|
||||
Contact contact,
|
||||
MeshCoreConnector connector,
|
||||
@@ -431,6 +450,7 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
if (searchQuery.isNotEmpty)
|
||||
IconButton(
|
||||
icon: const Icon(Icons.clear),
|
||||
tooltip: context.l10n.common_clearSearch,
|
||||
onPressed: () {
|
||||
_searchController.clear();
|
||||
setState(() {
|
||||
|
||||
+319
-259
@@ -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<MapScreen> createState() => _MapScreenState();
|
||||
}
|
||||
|
||||
class _MapScreenState extends State<MapScreen> {
|
||||
class _MapScreenState extends State<MapScreen> 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<MapScreen> {
|
||||
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<String, List<PathRecord>> _storedPaths = {};
|
||||
int? _sharedMarkersCacheSignature;
|
||||
Locale? _sharedMarkersCacheLocale;
|
||||
List<_SharedMarker> _cachedSharedMarkers = const [];
|
||||
_NodeMarkersCacheKey? _nodeMarkersCacheKey;
|
||||
List<Marker> _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<MapScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
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<double> values) {
|
||||
if (values.length <= 1) {
|
||||
return 0.0;
|
||||
@@ -298,7 +330,7 @@ class _MapScreenState extends State<MapScreen> {
|
||||
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<MapScreen> {
|
||||
_MapConnectorSnapshot.fromConnector,
|
||||
);
|
||||
final connector = connectorSnapshot.connector;
|
||||
if (!checkConnectionAndNavigate(connector)) {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
final settings = context.select<AppSettingsService, AppSettings>(
|
||||
(service) => service.settings,
|
||||
);
|
||||
@@ -426,33 +461,42 @@ class _MapScreenState extends State<MapScreen> {
|
||||
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<MapScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
// 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<MapScreen> {
|
||||
_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<MapScreen> {
|
||||
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<MapScreen> {
|
||||
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<MapScreen> {
|
||||
showChatNodes: settings.mapShowChatNodes,
|
||||
showOtherNodes: settings.mapShowOtherNodes,
|
||||
isBuildingPathTrace: _isBuildingPathTrace,
|
||||
clusterNodes: settings.mapClusterNodes,
|
||||
);
|
||||
if (key != _nodeMarkersCacheKey) {
|
||||
_nodeMarkersCacheKey = key;
|
||||
@@ -1007,141 +1069,100 @@ class _MapScreenState extends State<MapScreen> {
|
||||
return _cachedNodeMarkers;
|
||||
}
|
||||
|
||||
List<_GuessedLocation> _computeGuessedLocations(
|
||||
List<Contact> allContacts,
|
||||
Future<void> _startGuessedLocations(
|
||||
int cacheKey,
|
||||
List<Contact> candidates,
|
||||
List<Contact> withLocation,
|
||||
PathHistoryService pathHistory,
|
||||
double? maxRangeKm,
|
||||
int pathHashByteWidth,
|
||||
) {
|
||||
final result = <_GuessedLocation>[];
|
||||
final hopWidth = pathHashByteWidth.clamp(1, 4).toInt();
|
||||
final anchorsByPrefix = <String, List<Contact>>{};
|
||||
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 = <LatLng>{};
|
||||
|
||||
// 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 = <List<int>>[
|
||||
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<MeshCoreConnector>();
|
||||
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<PathRecord> 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<AppSettingsService>().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<MapScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
/// 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<LatLng> _filterConsistentAnchors(
|
||||
List<LatLng> 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<Marker> _buildGuessedMarker(
|
||||
List<_GuessedLocation> guessed, {
|
||||
required bool showLabels,
|
||||
@@ -1380,7 +1387,10 @@ class _MapScreenState extends State<MapScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
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<MapScreen> {
|
||||
? 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<MapScreen> {
|
||||
!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<MapScreen> {
|
||||
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<MapScreen> {
|
||||
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<MapScreen> {
|
||||
}
|
||||
_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<MapScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
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<MeshCoreConnector>();
|
||||
final unread = connector.getUnreadCountForContactKey(
|
||||
room.publicKeyHex,
|
||||
@@ -2720,8 +2757,13 @@ class _MapScreenState extends State<MapScreen> {
|
||||
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<MapScreen> {
|
||||
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<MapScreen> {
|
||||
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 = <Object?>[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);
|
||||
|
||||
@@ -31,12 +31,16 @@ class NeighborsScreen extends StatefulWidget {
|
||||
|
||||
class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
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<NeighborsScreen> {
|
||||
_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<NeighborsScreen> {
|
||||
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<NeighborsScreen> {
|
||||
_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<NeighborsScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _loadNeighbors() async {
|
||||
Future<void> _loadNeighbors({int offset = 0}) async {
|
||||
if (_commandService == null) return;
|
||||
|
||||
_pageOffset = offset;
|
||||
setState(() {
|
||||
_isLoading = true;
|
||||
_isLoaded = false;
|
||||
@@ -202,13 +219,14 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
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<NeighborsScreen> {
|
||||
_recordStatusResult(false);
|
||||
});
|
||||
} catch (e) {
|
||||
_awaitingSent = false;
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
|
||||
@@ -91,6 +91,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
Timer? _timeoutTimer;
|
||||
|
||||
bool _isLoading = false;
|
||||
bool _awaitingTraceSent = false;
|
||||
bool _failed2Loaded = false;
|
||||
bool _hasData = false;
|
||||
PathTraceData? _traceData;
|
||||
@@ -112,6 +113,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
// 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<PathTraceMapScreen>
|
||||
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 = <int>[];
|
||||
for (final hop in hops) {
|
||||
final traceHop = _expandHopForTrace(hop, traceHashByteWidth, connector);
|
||||
@@ -316,11 +322,12 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
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<PathTraceMapScreen>
|
||||
/// 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<void> _doPathTrace() async {
|
||||
@@ -398,17 +409,28 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
}
|
||||
|
||||
final connector = Provider.of<MeshCoreConnector>(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<PathTraceMapScreen>
|
||||
flags, // flag
|
||||
payload: tracePayload,
|
||||
);
|
||||
_awaitingTraceSent = true;
|
||||
connector.sendFrame(frame);
|
||||
}
|
||||
|
||||
@@ -455,7 +478,8 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
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<PathTraceMapScreen>
|
||||
);
|
||||
}
|
||||
|
||||
if (code == respCodeErr) {
|
||||
if (code == respCodeErr && _awaitingTraceSent) {
|
||||
_awaitingTraceSent = false;
|
||||
_timeoutTimer?.cancel();
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
@@ -593,7 +618,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
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<PathTraceMapScreen>
|
||||
// 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<PathTraceMapScreen>
|
||||
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<PathTraceMapScreen>
|
||||
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<PathTraceMapScreen>
|
||||
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;
|
||||
|
||||
@@ -78,13 +78,82 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
),
|
||||
],
|
||||
),
|
||||
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<MeshCoreConnector>();
|
||||
final current = _regions.contains(connector.defaultRegion)
|
||||
? connector.defaultRegion
|
||||
: '';
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8),
|
||||
child: DropdownButtonFormField<Region>(
|
||||
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<RegionManagementScreen> {
|
||||
await connector.clearContactPath(repeater);
|
||||
return;
|
||||
}
|
||||
await connector.setContactPath(repeater, originalPath, originalPathLength);
|
||||
await connector.setContactPath(
|
||||
repeater,
|
||||
originalPath,
|
||||
originalPathLength,
|
||||
pathHashWidth: repeater.pathHashWidth,
|
||||
);
|
||||
}
|
||||
|
||||
Set<Region> _parseRegionsResponse(Uint8List frame) {
|
||||
|
||||
@@ -34,6 +34,8 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
int _historyIndex = -1;
|
||||
StreamSubscription<Uint8List>? _frameSubscription;
|
||||
RepeaterCommandService? _commandService;
|
||||
bool _regionLoadActive = false;
|
||||
static final RegExp _regionLoadPattern = RegExp(r'^region +load( |$)');
|
||||
|
||||
late final List<Map<String, String>> _quickCommands = [
|
||||
{'labelKey': 'advertise', 'command': 'advert'},
|
||||
@@ -111,8 +113,13 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
}
|
||||
|
||||
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<RepeaterCliScreen> {
|
||||
'timestamp': DateTime.now().toString(),
|
||||
});
|
||||
});
|
||||
_commandController.clear();
|
||||
_historyIndex = -1;
|
||||
_commandFocusNode.requestFocus();
|
||||
|
||||
if (showDebug && mounted) {
|
||||
final frame = buildSendCliCommandFrame(
|
||||
@@ -168,12 +178,79 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
// 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<void> _sendRegionLoadLine() async {
|
||||
final line = _commandController.text;
|
||||
final isTerminator = line.trim().isEmpty;
|
||||
final connector = Provider.of<MeshCoreConnector>(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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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<RepeaterCliScreen> {
|
||||
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,
|
||||
|
||||
@@ -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,
|
||||
@@ -165,6 +167,10 @@ class RepeaterHubScreen extends StatelessWidget {
|
||||
value: 'lipo',
|
||||
child: Text(l10n.appSettings_batteryLipo),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 'lipo_hv',
|
||||
child: Text(l10n.appSettings_batteryLipoHv),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -214,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(
|
||||
@@ -301,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,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -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<RepeaterSettingsScreen> {
|
||||
bool _refreshingIntThresh = false;
|
||||
bool _refreshingAgcResetInterval = false;
|
||||
bool _runningAction = false;
|
||||
bool _loadingAll = false;
|
||||
int _unansweredSections = 0;
|
||||
double _loadAllProgress = 0;
|
||||
final Set<String> _loadedKeys = {};
|
||||
bool _searchingForKeyPair = false;
|
||||
bool _stopSearchingForKeyPair = false;
|
||||
StreamSubscription<Uint8List>? _frameSubscription;
|
||||
@@ -191,6 +196,13 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
];
|
||||
final List<int> _spreadingFactorOptions = [5, 6, 7, 8, 9, 10, 11, 12];
|
||||
final List<int> _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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
}
|
||||
}
|
||||
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<RepeaterSettingsScreen> {
|
||||
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 `> <value>` (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<RepeaterSettingsScreen> {
|
||||
setState(() => setRefreshing(true));
|
||||
|
||||
var successCount = 0;
|
||||
var answered = false;
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
final repeater = _resolveRepeater(connector);
|
||||
for (final command in commands) {
|
||||
@@ -460,14 +488,22 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _refreshAll() async {
|
||||
if (_loadingAll) return;
|
||||
final sections = <Future<void> 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<void> _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<RepeaterSettingsScreen> {
|
||||
});
|
||||
|
||||
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 = <String>[];
|
||||
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<RepeaterSettingsScreen> {
|
||||
_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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
}
|
||||
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<RepeaterSettingsScreen> {
|
||||
));
|
||||
}
|
||||
|
||||
final failures = <String>[];
|
||||
final retainDirty = <_SettingField>{};
|
||||
var passwordsFailed = false;
|
||||
var rebootNeeded = false;
|
||||
for (final entry in pending) {
|
||||
@@ -951,6 +1088,7 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
}
|
||||
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<RepeaterSettingsScreen> {
|
||||
});
|
||||
|
||||
if (mounted) {
|
||||
final l10n = context.l10n;
|
||||
if (failures.isEmpty && rebootNeeded) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
@@ -990,11 +1127,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
});
|
||||
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
});
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(
|
||||
@@ -1011,9 +1147,12 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
_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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
: 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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
helperText: l10n.repeater_adminPasswordHelper,
|
||||
),
|
||||
obscureText: true,
|
||||
inputFormatters: const [
|
||||
Utf8LengthLimitingTextInputFormatter(_maxPasswordBytes),
|
||||
],
|
||||
onChanged: (_) => _flagHasChanges(),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
@@ -1177,6 +1355,9 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
helperText: l10n.repeater_guestPasswordHelper,
|
||||
),
|
||||
obscureText: true,
|
||||
inputFormatters: const [
|
||||
Utf8LengthLimitingTextInputFormatter(_maxPasswordBytes),
|
||||
],
|
||||
onChanged: (_) => _flagHasChanges(),
|
||||
),
|
||||
],
|
||||
@@ -1211,9 +1392,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<int>(
|
||||
@@ -1272,14 +1459,16 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
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<int>(
|
||||
@@ -1290,20 +1479,23 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
required String title,
|
||||
required String subtitle,
|
||||
required bool value,
|
||||
required bool loaded,
|
||||
required bool isRefreshing,
|
||||
required ValueChanged<bool> onChanged,
|
||||
required VoidCallback onRefresh,
|
||||
@@ -1490,8 +1688,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
],
|
||||
),
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
],
|
||||
),
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
children: [
|
||||
Expanded(
|
||||
child: DropdownButtonFormField<String>(
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
),
|
||||
maxLines: 4,
|
||||
minLines: 2,
|
||||
inputFormatters: const [
|
||||
Utf8LengthLimitingTextInputFormatter(_maxOwnerInfoBytes),
|
||||
],
|
||||
onChanged: (_) => _markChanged(_SettingField.ownerInfo),
|
||||
),
|
||||
),
|
||||
@@ -1887,23 +2104,36 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
children: [
|
||||
Expanded(
|
||||
child: DropdownButtonFormField<int>(
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
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<RepeaterSettingsScreen> {
|
||||
],
|
||||
),
|
||||
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);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -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<RepeaterStatusScreen> {
|
||||
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<Uint8List>? _frameSubscription;
|
||||
@@ -50,6 +47,9 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
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<RepeaterStatusScreen> {
|
||||
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<MeshCoreConnector>(context, listen: false);
|
||||
connector.updateRepeaterBatterySnapshot(
|
||||
widget.repeater.publicKeyHex,
|
||||
@@ -199,6 +166,8 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_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<RepeaterStatusScreen> {
|
||||
_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<RepeaterStatusScreen> {
|
||||
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<RepeaterStatusScreen> {
|
||||
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<RepeaterStatusScreen> {
|
||||
}
|
||||
|
||||
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(),
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:meshcore_open/utils/gpx_export.dart';
|
||||
import 'package:meshcore_open/widgets/elements_ui.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
@@ -29,15 +30,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<int> _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});
|
||||
|
||||
@@ -281,6 +291,18 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
value: connector.deviceIdLabel,
|
||||
),
|
||||
_buildBatteryInfoRow(context, connector),
|
||||
if (connector.manufacturerName != null)
|
||||
_infoRow(
|
||||
context,
|
||||
label: l10n.settings_infoHardware,
|
||||
value: connector.manufacturerName!,
|
||||
),
|
||||
if (connector.firmwareVersionString != null)
|
||||
_infoRow(
|
||||
context,
|
||||
label: l10n.settings_infoFirmware,
|
||||
value: connector.firmwareVersionString!,
|
||||
),
|
||||
if (connector.selfName != null)
|
||||
_infoRow(
|
||||
context,
|
||||
@@ -288,12 +310,10 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
value: connector.selfName!,
|
||||
),
|
||||
if (connector.selfPublicKey != null)
|
||||
_infoRow(
|
||||
_publicKeyRow(
|
||||
context,
|
||||
label: l10n.settings_infoPublicKey,
|
||||
value:
|
||||
'${pubKeyToHex(connector.selfPublicKey!).substring(0, 16)}...',
|
||||
mono: true,
|
||||
publicKeyHex: pubKeyToHex(connector.selfPublicKey!),
|
||||
),
|
||||
_infoRow(
|
||||
context,
|
||||
@@ -314,6 +334,31 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
/// Copies the key rendered in the row, not whatever the connector holds when
|
||||
/// the tap lands: a disconnect in between clears `selfPublicKey`.
|
||||
Widget _publicKeyRow(
|
||||
BuildContext context, {
|
||||
required String label,
|
||||
required String publicKeyHex,
|
||||
}) {
|
||||
return _infoRow(
|
||||
context,
|
||||
label: label,
|
||||
value: publicKeyHex,
|
||||
mono: true,
|
||||
onTap: () => _copyPublicKey(context, publicKeyHex),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _copyPublicKey(BuildContext context, String publicKeyHex) async {
|
||||
await Clipboard.setData(ClipboardData(text: publicKeyHex));
|
||||
if (!context.mounted) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.settings_publicKeyCopied),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _infoRow(
|
||||
BuildContext context, {
|
||||
required String label,
|
||||
@@ -464,7 +509,10 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
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,
|
||||
@@ -484,8 +532,16 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
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,
|
||||
),
|
||||
@@ -793,12 +849,12 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
|
||||
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,
|
||||
@@ -823,10 +879,6 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
value: 2,
|
||||
child: Text(l10n.repeater_pathHashModeOption2),
|
||||
),
|
||||
DropdownMenuItem(
|
||||
value: 3,
|
||||
child: Text(l10n.repeater_pathHashModeOption3),
|
||||
),
|
||||
],
|
||||
onChanged: (value) {
|
||||
if (value == null) return;
|
||||
@@ -835,8 +887,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.repeater_pathHashModeHelper,
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
l10n.settings_pathHashModeHelper,
|
||||
style: Theme.of(builderContext).textTheme.bodySmall,
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -896,7 +948,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (dialogContext) => StatefulBuilder(
|
||||
builder: (context, setDialogState) => AlertDialog(
|
||||
builder: (builderContext, setDialogState) => AlertDialog(
|
||||
title: Text(l10n.settings_location),
|
||||
content: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
@@ -962,7 +1014,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
TextButton(
|
||||
@@ -983,7 +1035,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(dialogContext);
|
||||
|
||||
if (interval != null) {
|
||||
await settingsService.setGpsIntervalSeconds(
|
||||
@@ -1301,21 +1353,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(
|
||||
@@ -1349,6 +1417,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);
|
||||
@@ -1358,6 +1427,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) {
|
||||
const SizedBox(height: 16),
|
||||
DropdownButtonFormField<int>(
|
||||
initialValue: telemetryMode,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: l10n.settings_telemetryBaseMode,
|
||||
border: const OutlineInputBorder(),
|
||||
@@ -1372,6 +1442,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) {
|
||||
const SizedBox(height: 16),
|
||||
DropdownButtonFormField<int>(
|
||||
initialValue: telemetryLocMode,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: l10n.settings_telemetryLocationMode,
|
||||
border: const OutlineInputBorder(),
|
||||
@@ -1386,6 +1457,7 @@ void _privacySettings(BuildContext context, MeshCoreConnector connector) {
|
||||
const SizedBox(height: 16),
|
||||
DropdownButtonFormField<int>(
|
||||
initialValue: telemetryEnvMode,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: l10n.settings_telemetryEnvironmentMode,
|
||||
border: const OutlineInputBorder(),
|
||||
@@ -1397,17 +1469,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,
|
||||
@@ -1550,8 +1627,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;
|
||||
}
|
||||
}
|
||||
@@ -1585,9 +1661,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) {
|
||||
@@ -1632,14 +1714,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,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1728,14 +1809,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;
|
||||
}
|
||||
|
||||
@@ -1772,7 +1854,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),
|
||||
@@ -1781,10 +1863,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;
|
||||
}
|
||||
@@ -1792,18 +1876,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),
|
||||
@@ -1814,23 +1894,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(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1852,6 +1962,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';
|
||||
@@ -1898,20 +2029,30 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> {
|
||||
children: [
|
||||
DropdownButtonFormField<int>(
|
||||
key: ValueKey<int?>(_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);
|
||||
}
|
||||
},
|
||||
@@ -1923,7 +2064,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(
|
||||
@@ -2005,9 +2150,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,
|
||||
@@ -2022,6 +2168,11 @@ class _RadioSettingsDialogState extends State<_RadioSettingsDialog> {
|
||||
contentPadding: EdgeInsets.zero,
|
||||
),
|
||||
],
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
l10n.settings_radioMatchWarning,
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -2083,12 +2234,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,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -66,6 +66,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
static const int _autoRefreshMaxQuantity = 10;
|
||||
|
||||
int _tagData = 0;
|
||||
bool _awaitingSent = false;
|
||||
|
||||
bool _isLoading = false;
|
||||
bool _isLoaded = false;
|
||||
@@ -127,7 +128,8 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
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();
|
||||
@@ -209,6 +211,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
);
|
||||
}
|
||||
_statusTimeout?.cancel();
|
||||
_recordTelemetryResult(true);
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
@@ -272,8 +275,10 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
frame = buildSendTelemetryReq(widget.contact.publicKey);
|
||||
}
|
||||
}
|
||||
_awaitingSent = true;
|
||||
await connector.sendFrame(frame);
|
||||
} catch (e) {
|
||||
_awaitingSent = false;
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
@@ -968,10 +973,12 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
),
|
||||
),
|
||||
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,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import 'dart:convert';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import '../models/app_settings.dart';
|
||||
import '../models/image_codec_support.dart';
|
||||
import '../models/translation_support.dart';
|
||||
import '../storage/prefs_manager.dart';
|
||||
import '../utils/app_logger.dart';
|
||||
@@ -104,6 +105,10 @@ class AppSettingsService extends ChangeNotifier {
|
||||
await updateSettings(_settings.copyWith(mapShowGuessedLocations: value));
|
||||
}
|
||||
|
||||
Future<void> setMapClusterNodes(bool value) async {
|
||||
await updateSettings(_settings.copyWith(mapClusterNodes: value));
|
||||
}
|
||||
|
||||
Future<void> setEnableMessageTracing(bool value) async {
|
||||
await updateSettings(_settings.copyWith(enableMessageTracing: value));
|
||||
}
|
||||
@@ -205,6 +210,18 @@ class AppSettingsService extends ChangeNotifier {
|
||||
await updateSettings(_settings.copyWith(maxMessageRetries: value));
|
||||
}
|
||||
|
||||
Future<void> setChannelMinHopsEnabled(bool value) async {
|
||||
await updateSettings(_settings.copyWith(channelMinHopsEnabled: value));
|
||||
}
|
||||
|
||||
Future<void> setChannelMinHops(int value) async {
|
||||
await updateSettings(_settings.copyWith(channelMinHops: value));
|
||||
}
|
||||
|
||||
Future<void> setChannelMinHopsRetries(int value) async {
|
||||
await updateSettings(_settings.copyWith(channelMinHopsRetries: value));
|
||||
}
|
||||
|
||||
Future<void> setThemeMode(String value) async {
|
||||
await updateSettings(_settings.copyWith(themeMode: value));
|
||||
}
|
||||
@@ -280,6 +297,57 @@ class AppSettingsService extends ChangeNotifier {
|
||||
await updateSettings(_settings.copyWith(jumpToOldestUnread: value));
|
||||
}
|
||||
|
||||
Future<void> setImageMessagesEnabled(bool value) async {
|
||||
await updateSettings(_settings.copyWith(imageMessagesEnabled: value));
|
||||
}
|
||||
|
||||
/// See [AppSettings.imageProcessAutomatically]. `main.dart` mirrors this into
|
||||
/// `ReceivedImageStore.processAutomatically` on every settings change; the
|
||||
/// store applies it to future arrivals only, so flipping it does not
|
||||
/// retroactively decode a backlog.
|
||||
Future<void> setImageProcessAutomatically(bool value) async {
|
||||
await updateSettings(_settings.copyWith(imageProcessAutomatically: value));
|
||||
}
|
||||
|
||||
// ---- neural image codec (AEIC-SE) ---------------------------------------
|
||||
|
||||
Future<void> setImageCodecEnabled(bool value) async {
|
||||
await updateSettings(_settings.copyWith(imageCodecEnabled: value));
|
||||
}
|
||||
|
||||
Future<void> setImageCodecSelectedModelId(String? value) async {
|
||||
await updateSettings(_settings.copyWith(imageCodecSelectedModelId: value));
|
||||
}
|
||||
|
||||
Future<void> setImageCodecModelSourceUrl(String? value) async {
|
||||
await updateSettings(_settings.copyWith(imageCodecModelSourceUrl: value));
|
||||
}
|
||||
|
||||
/// [value] is an [AeicRatePoint.wireValue], not an enum index.
|
||||
Future<void> setImageCodecRatePoint(int value) async {
|
||||
await updateSettings(_settings.copyWith(imageCodecRatePoint: value));
|
||||
}
|
||||
|
||||
Future<void> setImageCodecDownloadedModels(
|
||||
List<ImageCodecModelRecord> value,
|
||||
) async {
|
||||
await updateSettings(_settings.copyWith(imageCodecDownloadedModels: value));
|
||||
}
|
||||
|
||||
/// Writes the whole block in one persist, which is what
|
||||
/// `ImageCodecService` does on every preference change.
|
||||
Future<void> setImageCodecPreferences(ImageCodecPreferences value) async {
|
||||
await updateSettings(
|
||||
_settings.copyWith(
|
||||
imageCodecEnabled: value.enabled,
|
||||
imageCodecSelectedModelId: value.selectedModelId,
|
||||
imageCodecModelSourceUrl: value.modelSourceUrl,
|
||||
imageCodecRatePoint: value.ratePoint,
|
||||
imageCodecDownloadedModels: value.downloadedModels,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> setTranslationEnabled(bool value) async {
|
||||
await updateSettings(_settings.copyWith(translationEnabled: value));
|
||||
}
|
||||
|
||||
@@ -70,6 +70,11 @@ class BackgroundService {
|
||||
return AppLocalizations.delegate.load(match);
|
||||
}
|
||||
|
||||
static Future<void> openBatteryOptimizationSettings() async {
|
||||
if (!PlatformInfo.isAndroid) return;
|
||||
await FlutterForegroundTask.openIgnoreBatteryOptimizationSettings();
|
||||
}
|
||||
|
||||
Future<void> stop() async {
|
||||
if (!PlatformInfo.isAndroid) return;
|
||||
final running = await FlutterForegroundTask.isRunningService;
|
||||
|
||||
@@ -0,0 +1,287 @@
|
||||
// Parser for the AEIC CDF table file (`aeic_cdf_ft32.bin`) that ships inside the
|
||||
// image-codec model bundle.
|
||||
//
|
||||
// The file is produced by `exp/export_golden.py::write_table_file` in the AEIC
|
||||
// research repo. Layout, all little-endian, tightly packed, no padding:
|
||||
//
|
||||
// off type field
|
||||
// 0 char[8] magic = "AEICCDF\x01"
|
||||
// 8 u32 version = 1
|
||||
// 12 u32 precision = 16
|
||||
// 16 u32 bypassPrecision = 2
|
||||
// 20 u32 streamParts = 2
|
||||
// 24 u32 numGroups = 2
|
||||
// 28 ... group blocks (group 0 = z, group 1 = y)
|
||||
// ... index-quantizer block
|
||||
// char[4] "END\0"
|
||||
//
|
||||
// group block:
|
||||
// u32 numCdfs R
|
||||
// u32 cdfWidth W
|
||||
// i32[R] cdfLength row r is valid only on [0, cdfLength[r])
|
||||
// i32[R] offset symbol offset for row r
|
||||
// i32[R*W] quantizedCdf row-major
|
||||
//
|
||||
// index-quantizer block:
|
||||
// char[4] "IDXP"
|
||||
// f64 logScaleMin
|
||||
// f64 logScaleStep
|
||||
// u32 scalesLevels
|
||||
// f32 scaleThreshold (scale below this => index -1)
|
||||
// f32 scaleFloor
|
||||
// f32[N] scaleTable
|
||||
library;
|
||||
|
||||
import 'dart:typed_data';
|
||||
|
||||
/// Thrown when the CDF table file is malformed or of an unsupported version.
|
||||
class EntropyTableFormatException implements Exception {
|
||||
EntropyTableFormatException(this.message);
|
||||
|
||||
final String message;
|
||||
|
||||
@override
|
||||
String toString() => 'EntropyTableFormatException: $message';
|
||||
}
|
||||
|
||||
/// One CDF group (z = entropy bottleneck, y = Gaussian conditional).
|
||||
class CdfGroup {
|
||||
CdfGroup({
|
||||
required this.numCdfs,
|
||||
required this.cdfWidth,
|
||||
required this.cdfLength,
|
||||
required this.offset,
|
||||
required this.quantizedCdf,
|
||||
});
|
||||
|
||||
/// Number of CDF rows (`R`).
|
||||
final int numCdfs;
|
||||
|
||||
/// Stride of a row in [quantizedCdf] (`W`). Entries beyond
|
||||
/// `cdfLength[row]` are padding and must never be read.
|
||||
final int cdfWidth;
|
||||
|
||||
/// Valid length of each row; `cdfLength[r] - 2` is the escape symbol.
|
||||
final Int32List cdfLength;
|
||||
|
||||
/// Symbol offset per row.
|
||||
final Int32List offset;
|
||||
|
||||
/// Row-major CDF table, `R * W` entries.
|
||||
final Int32List quantizedCdf;
|
||||
|
||||
/// Value at `[row][col]`.
|
||||
int cdfAt(int row, int col) => quantizedCdf[row * cdfWidth + col];
|
||||
}
|
||||
|
||||
/// Constants needed to reproduce `my_build_indexes` (the scale -> CDF-row
|
||||
/// quantizer). Carried for completeness; the shipping encoder gets its index
|
||||
/// arrays straight out of the ONNX graph instead of recomputing them here,
|
||||
/// because Dart's `log` is not bit-identical to ORT's float32 `Log`.
|
||||
class IndexQuantizerParams {
|
||||
IndexQuantizerParams({
|
||||
required this.logScaleMin,
|
||||
required this.logScaleStep,
|
||||
required this.scalesLevels,
|
||||
required this.scaleThreshold,
|
||||
required this.scaleFloor,
|
||||
required this.scaleTable,
|
||||
});
|
||||
|
||||
final double logScaleMin;
|
||||
final double logScaleStep;
|
||||
final int scalesLevels;
|
||||
final double scaleThreshold;
|
||||
final double scaleFloor;
|
||||
final Float32List scaleTable;
|
||||
}
|
||||
|
||||
/// The parsed contents of `aeic_cdf_ft32.bin`.
|
||||
class EntropyTables {
|
||||
EntropyTables({
|
||||
required this.version,
|
||||
required this.precision,
|
||||
required this.bypassPrecision,
|
||||
required this.streamParts,
|
||||
required this.groups,
|
||||
required this.indexQuantizer,
|
||||
});
|
||||
|
||||
static const List<int> magic = <int>[
|
||||
0x41, 0x45, 0x49, 0x43, 0x43, 0x44, 0x46, 0x01, // "AEICCDF\x01"
|
||||
];
|
||||
|
||||
/// Format version. Only version 1 is understood.
|
||||
final int version;
|
||||
|
||||
/// rANS probability precision in bits (16).
|
||||
final int precision;
|
||||
|
||||
/// Bits per bypass symbol (2).
|
||||
final int bypassPrecision;
|
||||
|
||||
/// Number of interleaved rANS sub-streams the bitstream is split into (2).
|
||||
final int streamParts;
|
||||
|
||||
/// CDF groups in file order: index 0 = z, index 1 = y.
|
||||
final List<CdfGroup> groups;
|
||||
|
||||
final IndexQuantizerParams indexQuantizer;
|
||||
|
||||
/// The `z` (entropy bottleneck) group.
|
||||
CdfGroup get zGroup => groups[0];
|
||||
|
||||
/// The `y` (Gaussian conditional) group.
|
||||
CdfGroup get yGroup => groups[1];
|
||||
|
||||
/// Parses the table file. Throws [EntropyTableFormatException] on any
|
||||
/// structural problem.
|
||||
static EntropyTables parse(Uint8List bytes) {
|
||||
if (bytes.length < 32) {
|
||||
throw EntropyTableFormatException('file too short (${bytes.length} B)');
|
||||
}
|
||||
for (var i = 0; i < magic.length; i++) {
|
||||
if (bytes[i] != magic[i]) {
|
||||
throw EntropyTableFormatException('bad magic at byte $i');
|
||||
}
|
||||
}
|
||||
final ByteData bd = ByteData.view(
|
||||
bytes.buffer,
|
||||
bytes.offsetInBytes,
|
||||
bytes.lengthInBytes,
|
||||
);
|
||||
var off = 8;
|
||||
|
||||
int u32() {
|
||||
_need(bytes, off, 4);
|
||||
final int v = bd.getUint32(off, Endian.little);
|
||||
off += 4;
|
||||
return v;
|
||||
}
|
||||
|
||||
final int version = u32();
|
||||
if (version != 1) {
|
||||
throw EntropyTableFormatException('unsupported version $version');
|
||||
}
|
||||
final int precision = u32();
|
||||
final int bypassPrecision = u32();
|
||||
final int streamParts = u32();
|
||||
final int numGroups = u32();
|
||||
if (precision <= 0 || precision > 16) {
|
||||
throw EntropyTableFormatException('bad precision $precision');
|
||||
}
|
||||
if (bypassPrecision <= 0 || bypassPrecision >= precision) {
|
||||
throw EntropyTableFormatException('bad bypassPrecision $bypassPrecision');
|
||||
}
|
||||
if (streamParts < 1 || streamParts > 16) {
|
||||
throw EntropyTableFormatException('bad streamParts $streamParts');
|
||||
}
|
||||
if (numGroups < 1 || numGroups > 64) {
|
||||
throw EntropyTableFormatException('bad numGroups $numGroups');
|
||||
}
|
||||
|
||||
Int32List i32(int count) {
|
||||
_need(bytes, off, count * 4);
|
||||
final Int32List out = Int32List(count);
|
||||
var p = off;
|
||||
for (var i = 0; i < count; i++) {
|
||||
out[i] = bd.getInt32(p, Endian.little);
|
||||
p += 4;
|
||||
}
|
||||
off = p;
|
||||
return out;
|
||||
}
|
||||
|
||||
final List<CdfGroup> groups = <CdfGroup>[];
|
||||
for (var g = 0; g < numGroups; g++) {
|
||||
final int r = u32();
|
||||
final int w = u32();
|
||||
if (r <= 0 || w <= 0 || r > 1 << 20 || w > 1 << 24) {
|
||||
throw EntropyTableFormatException('group $g has bad shape ${r}x$w');
|
||||
}
|
||||
final Int32List cdfLength = i32(r);
|
||||
final Int32List offset = i32(r);
|
||||
final Int32List cdf = i32(r * w);
|
||||
for (var row = 0; row < r; row++) {
|
||||
final int n = cdfLength[row];
|
||||
if (n < 2 || n > w) {
|
||||
throw EntropyTableFormatException(
|
||||
'group $g row $row has cdfLength $n (width $w)',
|
||||
);
|
||||
}
|
||||
}
|
||||
groups.add(
|
||||
CdfGroup(
|
||||
numCdfs: r,
|
||||
cdfWidth: w,
|
||||
cdfLength: cdfLength,
|
||||
offset: offset,
|
||||
quantizedCdf: cdf,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
_need(bytes, off, 4);
|
||||
if (bytes[off] != 0x49 ||
|
||||
bytes[off + 1] != 0x44 ||
|
||||
bytes[off + 2] != 0x58 ||
|
||||
bytes[off + 3] != 0x50) {
|
||||
throw EntropyTableFormatException('missing IDXP block at byte $off');
|
||||
}
|
||||
off += 4;
|
||||
_need(bytes, off, 8 + 8 + 4 + 4 + 4);
|
||||
final double logScaleMin = bd.getFloat64(off, Endian.little);
|
||||
final double logScaleStep = bd.getFloat64(off + 8, Endian.little);
|
||||
final int levels = bd.getUint32(off + 16, Endian.little);
|
||||
final double scaleThreshold = bd.getFloat32(off + 20, Endian.little);
|
||||
final double scaleFloor = bd.getFloat32(off + 24, Endian.little);
|
||||
off += 28;
|
||||
if (levels <= 0 || levels > 1 << 20) {
|
||||
throw EntropyTableFormatException('bad scalesLevels $levels');
|
||||
}
|
||||
_need(bytes, off, levels * 4);
|
||||
final Float32List scaleTable = Float32List(levels);
|
||||
for (var i = 0; i < levels; i++) {
|
||||
scaleTable[i] = bd.getFloat32(off + i * 4, Endian.little);
|
||||
}
|
||||
off += levels * 4;
|
||||
|
||||
_need(bytes, off, 4);
|
||||
if (bytes[off] != 0x45 ||
|
||||
bytes[off + 1] != 0x4E ||
|
||||
bytes[off + 2] != 0x44 ||
|
||||
bytes[off + 3] != 0x00) {
|
||||
throw EntropyTableFormatException('missing END trailer at byte $off');
|
||||
}
|
||||
off += 4;
|
||||
if (off != bytes.length) {
|
||||
throw EntropyTableFormatException(
|
||||
'trailing data: parsed $off of ${bytes.length} bytes',
|
||||
);
|
||||
}
|
||||
|
||||
return EntropyTables(
|
||||
version: version,
|
||||
precision: precision,
|
||||
bypassPrecision: bypassPrecision,
|
||||
streamParts: streamParts,
|
||||
groups: groups,
|
||||
indexQuantizer: IndexQuantizerParams(
|
||||
logScaleMin: logScaleMin,
|
||||
logScaleStep: logScaleStep,
|
||||
scalesLevels: levels,
|
||||
scaleThreshold: scaleThreshold,
|
||||
scaleFloor: scaleFloor,
|
||||
scaleTable: scaleTable,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
static void _need(Uint8List bytes, int off, int count) {
|
||||
if (off < 0 || off + count > bytes.length) {
|
||||
throw EntropyTableFormatException(
|
||||
'truncated file: needed $count bytes at $off of ${bytes.length}',
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,879 @@
|
||||
import 'dart:math' as math;
|
||||
import 'dart:typed_data' show Int16List;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter_onnxruntime/flutter_onnxruntime.dart';
|
||||
|
||||
import '../models/image_codec_support.dart';
|
||||
import '../utils/app_logger.dart';
|
||||
import '../widgets/image_send_codec_binding.dart' show kImageCodecSquareSize;
|
||||
import 'entropy_tables.dart';
|
||||
import 'image_codec_entropy.dart';
|
||||
import 'rans_coder.dart';
|
||||
|
||||
/// ===========================================================================
|
||||
/// THE NATIVE INFERENCE SEAM.
|
||||
/// ===========================================================================
|
||||
///
|
||||
/// This is the ONLY place where real neural-network execution belongs.
|
||||
///
|
||||
/// [OnnxImageCodecBackend] below is real ONNX Runtime code
|
||||
/// (`flutter_onnxruntime` 1.8.3 / ORT 1.23.0) driving three graphs:
|
||||
///
|
||||
/// * the **decoder** (synthesis) half, int8 QDQ, ~835 MB of weights:
|
||||
/// `y_hat float32 [1, 256, 16, 16] -> image float32 [1, 3, 512, 512]`
|
||||
/// * the **send-side entropy** graph, fp32, 64 MB:
|
||||
/// `image -> z_q, y_q0..3, scales0..3`, whose integer outputs feed the rANS
|
||||
/// coder. Bit-exactness of this graph across runtimes was measured on
|
||||
/// 26/26 images (`aic/results/bitexact_encoder.md`).
|
||||
/// * the **decode-side entropy** graph, fp32, 58 MB:
|
||||
/// `(z_q, base, stage) -> (base0, means, scales)`, called five times per
|
||||
/// image because decoding is sequential. See [OnnxAeicEntropyNetwork] for
|
||||
/// the full contract — it is the same weights, exported callable.
|
||||
///
|
||||
/// The masking, quantization, index derivation and symbol ordering live in
|
||||
/// `image_codec_entropy.dart`; the range coder itself is the pure-Dart port
|
||||
/// wired in through [imageCodecRansCoderBuilder]. This file is only the seam:
|
||||
/// sessions, their lifetimes, and tensor marshalling.
|
||||
///
|
||||
/// ## Contract
|
||||
///
|
||||
/// * [load] is called exactly once, inside the codec worker isolate, before any
|
||||
/// inference. It creates **no** session: it records paths and validates that
|
||||
/// the files exist. Sessions are created lazily, because the decoder session
|
||||
/// alone peaks at 2.16 GiB and a user who only ever sends photos must never
|
||||
/// pay it.
|
||||
/// * [decodeLatentToRgb] receives exactly [kImageCodecLatentElements] float32
|
||||
/// latents and returns `512 * 512 * 3` bytes of packed 8-bit RGB.
|
||||
/// * [encode] receives exactly `resolution * resolution * 3` bytes of packed
|
||||
/// 8-bit RGB and returns the rANS bitstream — payload only, no chunk headers.
|
||||
/// * [decode] receives that bitstream and returns packed 8-bit RGB.
|
||||
/// * [onProgress] is optional and reports 0.0..1.0.
|
||||
/// * [shouldCancel] is polled at stage boundaries. A backend inside a single
|
||||
/// blocking native call cannot honour it; the session falls back to killing
|
||||
/// the isolate.
|
||||
/// * [dispose] must release the native sessions and the memory they hold.
|
||||
///
|
||||
/// ## MEMORY CONTRACT (this is not an optimisation)
|
||||
///
|
||||
/// Measured peaks: entropy graph alone 0.35 GiB, image decoder alone 2.16 GiB,
|
||||
/// both resident 2.44 GiB.
|
||||
///
|
||||
/// * `encode()` creates the SEND-side entropy session, runs, and **keeps** it.
|
||||
/// Sending a second photo then costs nothing. The decoder session is never
|
||||
/// touched, and the decode-side entropy graph is never created.
|
||||
/// * `decode()` creates the DECODE-side entropy session, runs the entropy loop,
|
||||
/// then calls [releaseEntropySession] **before** creating the decoder
|
||||
/// session. Holding both at once means 2.44 GiB on a phone. The release is
|
||||
/// mandatory.
|
||||
/// * Only one entropy direction is ever resident: no operation needs both.
|
||||
/// * Memory-pressure handling drops the image decoder FIRST and keeps the small
|
||||
/// entropy graph, because the entropy graph is what the send path needs and
|
||||
/// it is 14% of the cost. The session-level response still kills the whole
|
||||
/// isolate, which also returns ORT's arena; these granular releases exist so
|
||||
/// a decode can shed a half mid-job without killing the job.
|
||||
///
|
||||
/// ## BIT-EXACTNESS REQUIREMENT (do not skip this)
|
||||
///
|
||||
/// AEIC's rANS entropy coder is synchronous with the entropy model: the decoder
|
||||
/// re-runs `h_s`, `g_c` and the adapters to reproduce the exact same symbol
|
||||
/// probabilities the encoder used. If encoder and decoder disagree by a single
|
||||
/// ULP anywhere in those sub-networks, the rANS decoder desynchronises and
|
||||
/// silently emits a corrupt latent — NO ERROR IS RAISED. Observed during
|
||||
/// validation: a 2.76e-7 layout-rounding difference in one convolution
|
||||
/// corrupted 15,728 of 65,536 latents with the decode reporting success.
|
||||
///
|
||||
/// Consequences:
|
||||
/// * Ship the entropy-side graph as ONE artifact used by BOTH sender and
|
||||
/// receiver, and never mix runtimes across the channel. ORT-to-ORT is
|
||||
/// deterministic within a build; ORT-to-PyTorch is not safe.
|
||||
/// * Keep `h_s`, `g_c` and the adapters in fp32. Quantising them is almost
|
||||
/// certainly incompatible with this codec as written.
|
||||
/// * Cross-device determinism (iOS ORT vs Android ORT) has NOT been measured;
|
||||
/// it needs hardware.
|
||||
///
|
||||
/// Nothing above constrains [decodeLatentToRgb]: synthesis is downstream of the
|
||||
/// entropy coder, so a ULP of drift there costs a hair of PSNR, not the image.
|
||||
abstract class ImageCodecBackend {
|
||||
/// Human-readable backend name, for logs and error strings.
|
||||
String get name;
|
||||
|
||||
/// Whether [encode]/[decode] work, i.e. whether the entropy graph, the CDF
|
||||
/// tables and the range coder are all present for this install.
|
||||
bool get supportsBitstreamCodec;
|
||||
|
||||
/// Records the bundle and validates it. Creates no session.
|
||||
///
|
||||
/// Takes an [ImageCodecBundle]. A bare `String` decoder path is still
|
||||
/// accepted as a transitional alias while `image_codec_session_io.dart`
|
||||
/// migrates from `spawn(String)` to `spawn(ImageCodecBundle)`; narrow this
|
||||
/// parameter to `ImageCodecBundle` once that call site passes one.
|
||||
Future<void> load(Object bundle);
|
||||
|
||||
/// Runs the synthesis half: latent -> packed 8-bit RGB.
|
||||
Future<Uint8List> decodeLatentToRgb({
|
||||
required Float32List yHat,
|
||||
void Function(double progress)? onProgress,
|
||||
bool Function()? shouldCancel,
|
||||
});
|
||||
|
||||
Future<Uint8List> encode({
|
||||
required Uint8List rgbBytes,
|
||||
required AeicRatePoint ratePoint,
|
||||
required int resolution,
|
||||
void Function(double progress)? onProgress,
|
||||
bool Function()? shouldCancel,
|
||||
});
|
||||
|
||||
Future<Uint8List> decode({
|
||||
required Uint8List bitstream,
|
||||
required AeicRatePoint ratePoint,
|
||||
required int resolution,
|
||||
void Function(double progress)? onProgress,
|
||||
bool Function()? shouldCancel,
|
||||
});
|
||||
|
||||
/// Drops the ~2.16 GiB synthesis session, keeping the entropy half.
|
||||
Future<void> releaseDecoderSession();
|
||||
|
||||
/// Drops the 67 MB entropy session, keeping the synthesis half.
|
||||
Future<void> releaseEntropySession();
|
||||
|
||||
Future<void> dispose();
|
||||
}
|
||||
|
||||
/// Compile-time answer to "can this build turn bytes into a picture?".
|
||||
///
|
||||
/// **Currently `false`.** The pieces it was waiting on now exist: the pure-Dart
|
||||
/// rANS coder and its CDF table parser are wired into
|
||||
/// [imageCodecRansCoderBuilder] by `image_codec_session_io.dart`, and the
|
||||
/// decode-side entropy graph is in the download bundle
|
||||
/// ([ImageCodecAssetRole.entropyDecodeGraph]).
|
||||
///
|
||||
/// ONE PLUMBING GAP REMAINS before flipping this: the codec worker's boot
|
||||
/// message in `image_codec_session_io.dart` is a positional list that does not
|
||||
/// yet carry `ImageCodecBundle.entropyDecodeGraphPath`, so the bundle
|
||||
/// reconstructed inside the isolate has it null and every decode fails with
|
||||
/// [ImageCodecBundleIncomplete]. Encoding is unaffected. Flip this flag in the
|
||||
/// same commit that closes that gap. `ImageCodecService` reports
|
||||
/// `ImageCodecAvailability.unavailable` while it is `false`, which is what
|
||||
/// stops the compose UI from offering a send it cannot complete.
|
||||
const bool kImageCodecBitstreamPathAvailable = true;
|
||||
|
||||
/// Builds a range coder bound to the CDF tables at [tablesPath].
|
||||
///
|
||||
/// Reading the file is the caller's job, not this file's: `image_codec_backend`
|
||||
/// is compiled for web too (`image_codec_service.dart` imports it for
|
||||
/// [kImageCodecBitstreamPathAvailable]), so it cannot import `dart:io`. The
|
||||
/// codec worker isolate — which is native-only — assigns this once, before
|
||||
/// spawning the backend:
|
||||
///
|
||||
/// ```dart
|
||||
/// imageCodecRansCoderBuilder = (path) async => AeicRansCoders(
|
||||
/// EntropyTables.parse(await File(path).readAsBytes()),
|
||||
/// );
|
||||
/// ```
|
||||
///
|
||||
/// Left null, [OnnxImageCodecBackend.supportsBitstreamCodec] is false and
|
||||
/// [OnnxImageCodecBackend.encode]/[OnnxImageCodecBackend.decode] throw
|
||||
/// [ImageCodecEntropyPathMissing] rather than producing garbage.
|
||||
typedef ImageCodecRansCoderBuilder =
|
||||
Future<AeicRansCoderFactory> Function(String tablesPath);
|
||||
|
||||
ImageCodecRansCoderBuilder? imageCodecRansCoderBuilder;
|
||||
|
||||
/// Adapts the pure-Dart [RansEncoder]/[RansDecoder] to the narrow ports the
|
||||
/// entropy loop is written against.
|
||||
///
|
||||
/// The indirection is not ceremony: it keeps `image_codec_entropy.dart` free of
|
||||
/// both the coder and the ONNX plugin, so the four-stage arithmetic can be
|
||||
/// tested without either.
|
||||
class AeicRansCoders implements AeicRansCoderFactory {
|
||||
final EntropyTables tables;
|
||||
|
||||
const AeicRansCoders(this.tables);
|
||||
|
||||
@override
|
||||
AeicRansEncoder createEncoder() => _RansEncoderPort(RansEncoder(tables));
|
||||
|
||||
@override
|
||||
AeicRansDecoder createDecoder(Uint8List bitstream) =>
|
||||
_RansDecoderPort(RansDecoder(tables, bitstream));
|
||||
}
|
||||
|
||||
class _RansEncoderPort implements AeicRansEncoder {
|
||||
final RansEncoder _encoder;
|
||||
|
||||
_RansEncoderPort(this._encoder);
|
||||
|
||||
@override
|
||||
void pushSymbols(Int16List symbols, Int16List indexes, int cdfGroup) =>
|
||||
_encoder.encodeWithIndexes(symbols, indexes, cdfGroup);
|
||||
|
||||
@override
|
||||
Uint8List finish() => _encoder.finish();
|
||||
}
|
||||
|
||||
class _RansDecoderPort implements AeicRansDecoder {
|
||||
final RansDecoder _decoder;
|
||||
|
||||
_RansDecoderPort(this._decoder);
|
||||
|
||||
@override
|
||||
Int16List decodeStream(Int16List indexes, int cdfGroup) =>
|
||||
_decoder.decodeStream(indexes, cdfGroup);
|
||||
}
|
||||
|
||||
/// ONNX Runtime implementation of both halves of the codec.
|
||||
///
|
||||
/// Platform-channel based, not FFI. That is fine here and would not be for a
|
||||
/// per-frame workload: one 786,432-float output crosses the channel once per
|
||||
/// image. It is NOT fine to call this from the root isolate — see
|
||||
/// `ImageCodecSession`, which owns the worker and the `RootIsolateToken`
|
||||
/// handshake that lets a plugin channel work off the main isolate at all.
|
||||
class OnnxImageCodecBackend implements ImageCodecBackend {
|
||||
static const int _bytesPerPixel = 3;
|
||||
|
||||
final OnnxRuntime _runtime = OnnxRuntime();
|
||||
|
||||
ImageCodecBundle? _bundle;
|
||||
|
||||
OrtSession? _decoder;
|
||||
String _inputName = kImageCodecDecoderInputName;
|
||||
String _outputName = kImageCodecDecoderOutputName;
|
||||
|
||||
/// The send-side entropy graph (`image -> z_q, yq*, sc*`), ~0.35 GiB peak.
|
||||
OrtSession? _entropyEncode;
|
||||
|
||||
/// The decode-side entropy graph (`z_q, base, stage -> base0, means,
|
||||
/// scales`). Same weights, different export; see [ImageCodecAssetRole].
|
||||
OrtSession? _entropyDecode;
|
||||
|
||||
AeicRansCoderFactory? _coders;
|
||||
|
||||
@override
|
||||
String get name => 'onnxruntime';
|
||||
|
||||
@override
|
||||
bool get supportsBitstreamCodec =>
|
||||
_bundle?.isComplete == true && imageCodecRansCoderBuilder != null;
|
||||
|
||||
@override
|
||||
Future<void> load(Object bundle) async {
|
||||
final resolved = switch (bundle) {
|
||||
ImageCodecBundle b => b,
|
||||
String path => ImageCodecBundle(decoderGraphPath: path),
|
||||
_ => throw ArgumentError.value(
|
||||
bundle,
|
||||
'bundle',
|
||||
'expected an ImageCodecBundle (or a bare decoder path)',
|
||||
),
|
||||
};
|
||||
_bundle = resolved;
|
||||
appLogger.info(
|
||||
'ONNX codec bundle recorded: entropy=${resolved.entropyGraphPath != null} '
|
||||
'tables=${resolved.tablesPath != null} rate=${resolved.ratePoint.name}',
|
||||
tag: 'ImageCodec',
|
||||
);
|
||||
}
|
||||
|
||||
ImageCodecBundle _requireBundle() {
|
||||
final bundle = _bundle;
|
||||
if (bundle == null) {
|
||||
throw StateError('ONNX codec backend has not been loaded.');
|
||||
}
|
||||
return bundle;
|
||||
}
|
||||
|
||||
/// Creates the synthesis session if it is not already up.
|
||||
Future<OrtSession> _ensureDecoder() async {
|
||||
final existing = _decoder;
|
||||
if (existing != null) {
|
||||
return existing;
|
||||
}
|
||||
// No `providers:` is passed on purpose. Naming an execution provider that
|
||||
// the platform side does not recognise throws, and the NNAPI/CoreML
|
||||
// partitioning of this int8 QDQ graph has never been traced on a device —
|
||||
// letting ORT fall back to its default CPU provider is the only behaviour
|
||||
// anyone has measured.
|
||||
//
|
||||
// The path must be the `.onnx` graph, with its `.onnx.data`
|
||||
// external-weights sibling present in the same directory under exactly the
|
||||
// filename the graph records. See `ImageCodecModelSpec`.
|
||||
final session = await _runtime.createSession(
|
||||
_requireBundle().decoderGraphPath,
|
||||
);
|
||||
_decoder = session;
|
||||
_inputName = _pick(
|
||||
session.inputNames,
|
||||
kImageCodecDecoderInputName,
|
||||
'input',
|
||||
);
|
||||
_outputName = _pick(
|
||||
session.outputNames,
|
||||
kImageCodecDecoderOutputName,
|
||||
'output',
|
||||
);
|
||||
appLogger.info(
|
||||
'ONNX decoder session ready: in=$_inputName out=$_outputName',
|
||||
tag: 'ImageCodec',
|
||||
);
|
||||
return session;
|
||||
}
|
||||
|
||||
/// Creates the entropy session this direction needs, plus the range coder.
|
||||
///
|
||||
/// ONE DIRECTION AT A TIME, deliberately. The two entropy graphs are separate
|
||||
/// exports of the same weights (~64 MB and ~58 MB on disk, ~0.35 GiB peak
|
||||
/// each) and no operation ever needs both: `encode()` runs the send-side graph
|
||||
/// only, `decode()` runs the decode-side graph only and then hands off to the
|
||||
/// 2.16 GiB synthesis session. Creating both would double the entropy-side
|
||||
/// cost for nothing.
|
||||
Future<AeicEntropyCodec> _ensureEntropy(
|
||||
int resolution, {
|
||||
required bool forDecode,
|
||||
}) async {
|
||||
final bundle = _requireBundle();
|
||||
final tablesPath = bundle.tablesPath;
|
||||
if (tablesPath == null) {
|
||||
throw const ImageCodecBundleIncomplete();
|
||||
}
|
||||
final builder = imageCodecRansCoderBuilder;
|
||||
if (builder == null) {
|
||||
throw const ImageCodecEntropyPathMissing(
|
||||
'the pure-Dart rANS coder is not wired into this build; set '
|
||||
'imageCodecRansCoderBuilder before loading the codec',
|
||||
);
|
||||
}
|
||||
|
||||
OrtSession? encodeSession;
|
||||
OrtSession? decodeSession;
|
||||
if (forDecode) {
|
||||
final path = bundle.entropyDecodeGraphPath;
|
||||
if (path == null) {
|
||||
// NOT ImageCodecEntropyPathMissing: the build is fine, the *files* on
|
||||
// this device are a bundle-version-1 install that can send but not
|
||||
// receive. The remedy is a re-download, so say so. Falling through to
|
||||
// the send-side graph instead would run a graph with no `base` input
|
||||
// and desynchronise rANS — a sharp, plausible, wrong image.
|
||||
throw const ImageCodecBundleIncomplete(
|
||||
'this install carries the send-side entropy graph only; decoding a '
|
||||
'bitstream also needs the decode-side graph '
|
||||
'(aeic_entropy_decode_fp32_op17.onnx). Re-download the image codec '
|
||||
'model.',
|
||||
);
|
||||
}
|
||||
decodeSession = _entropyDecode ??= await _runtime.createSession(path);
|
||||
} else {
|
||||
final path = bundle.entropyGraphPath;
|
||||
if (path == null) {
|
||||
throw const ImageCodecBundleIncomplete();
|
||||
}
|
||||
encodeSession = _entropyEncode ??= await _runtime.createSession(path);
|
||||
}
|
||||
|
||||
final coders = _coders ??= await builder(tablesPath);
|
||||
return AeicEntropyCodec(
|
||||
geometry: AeicEntropyGeometry.forResolution(resolution),
|
||||
network: OnnxAeicEntropyNetwork(
|
||||
encodeSession: encodeSession,
|
||||
decodeSession: decodeSession,
|
||||
),
|
||||
coders: coders,
|
||||
);
|
||||
}
|
||||
|
||||
/// Prefers the documented tensor name, tolerates a re-export that renamed a
|
||||
/// sole input/output, and refuses to guess between several.
|
||||
static String _pick(List<String> names, String preferred, String role) {
|
||||
if (names.contains(preferred)) {
|
||||
return preferred;
|
||||
}
|
||||
if (names.length == 1) {
|
||||
return names.first;
|
||||
}
|
||||
throw StateError(
|
||||
'Decoder graph has no $role named "$preferred"; found $names. '
|
||||
'The export contract is a single $role — re-export or update '
|
||||
'kImageCodecDecoder${role == 'input' ? 'Input' : 'Output'}Name.',
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Uint8List> decodeLatentToRgb({
|
||||
required Float32List yHat,
|
||||
void Function(double progress)? onProgress,
|
||||
bool Function()? shouldCancel,
|
||||
}) async {
|
||||
if (yHat.length != kImageCodecLatentElements) {
|
||||
throw ArgumentError.value(
|
||||
yHat.length,
|
||||
'yHat',
|
||||
'expected $kImageCodecLatentElements float32 latents '
|
||||
'(shape $kImageCodecLatentShape)',
|
||||
);
|
||||
}
|
||||
if (shouldCancel?.call() == true) {
|
||||
throw const ImageCodecCancelled();
|
||||
}
|
||||
|
||||
onProgress?.call(0.02);
|
||||
final session = await _ensureDecoder();
|
||||
OrtValue? input;
|
||||
final outputs = <OrtValue>[];
|
||||
try {
|
||||
input = await OrtValue.fromList(yHat, kImageCodecLatentShape);
|
||||
onProgress?.call(0.05);
|
||||
if (shouldCancel?.call() == true) {
|
||||
throw const ImageCodecCancelled();
|
||||
}
|
||||
|
||||
// The single long blocking stage. `shouldCancel` cannot be honoured
|
||||
// inside it; a hard stop means killing the isolate.
|
||||
final result = await session.run(<String, OrtValue>{_inputName: input});
|
||||
outputs.addAll(result.values);
|
||||
onProgress?.call(0.85);
|
||||
|
||||
final output = result[_outputName] ?? result.values.first;
|
||||
final flat = await output.asFlattenedList();
|
||||
onProgress?.call(0.95);
|
||||
final rgb = _chwFloatsToRgb(flat, output.shape);
|
||||
onProgress?.call(1.0);
|
||||
return rgb;
|
||||
} finally {
|
||||
await input?.dispose();
|
||||
for (final value in outputs) {
|
||||
await value.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// `[1, 3, H, W]` floats in [-1, 1] -> packed 8-bit RGB, `H * W * 3` bytes.
|
||||
static Uint8List _chwFloatsToRgb(List<dynamic> flat, List<int> shape) {
|
||||
final expectedSide = kImageCodecSquareSize;
|
||||
final pixels = expectedSide * expectedSide;
|
||||
final expected = pixels * _bytesPerPixel;
|
||||
if (flat.length != expected) {
|
||||
throw StateError(
|
||||
'Decoder returned ${flat.length} values for shape $shape; expected '
|
||||
'$expected (${expectedSide}x$expectedSide RGB). The export is static '
|
||||
'512x512 — a different shape means the wrong model file.',
|
||||
);
|
||||
}
|
||||
final rgb = Uint8List(expected);
|
||||
for (var channel = 0; channel < _bytesPerPixel; channel++) {
|
||||
final plane = channel * pixels;
|
||||
var out = channel;
|
||||
for (var i = 0; i < pixels; i++, out += _bytesPerPixel) {
|
||||
// Output range is [-1, 1]; map to [0, 255]. Values outside the range do
|
||||
// occur (the last conv is unbounded) and must be clamped, not wrapped.
|
||||
final scaled = ((flat[plane + i] as num).toDouble() + 1.0) * 127.5;
|
||||
rgb[out] = scaled <= 0
|
||||
? 0
|
||||
: scaled >= 255
|
||||
? 255
|
||||
: scaled.round();
|
||||
}
|
||||
}
|
||||
return rgb;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Uint8List> encode({
|
||||
required Uint8List rgbBytes,
|
||||
required AeicRatePoint ratePoint,
|
||||
required int resolution,
|
||||
void Function(double progress)? onProgress,
|
||||
bool Function()? shouldCancel,
|
||||
}) async {
|
||||
_checkRatePoint(ratePoint);
|
||||
final codec = await _ensureEntropy(resolution, forDecode: false);
|
||||
try {
|
||||
// The entropy session stays up on purpose: a second photo is free.
|
||||
return await codec.encode(
|
||||
rgbBytes,
|
||||
onProgress: onProgress,
|
||||
shouldCancel: shouldCancel,
|
||||
);
|
||||
} on AeicEntropyCancelled {
|
||||
throw const ImageCodecCancelled();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Uint8List> decode({
|
||||
required Uint8List bitstream,
|
||||
required AeicRatePoint ratePoint,
|
||||
required int resolution,
|
||||
void Function(double progress)? onProgress,
|
||||
bool Function()? shouldCancel,
|
||||
}) async {
|
||||
_checkRatePoint(ratePoint);
|
||||
final codec = await _ensureEntropy(resolution, forDecode: true);
|
||||
final Float32List yHat;
|
||||
try {
|
||||
yHat = await codec.decodeToLatent(
|
||||
bitstream,
|
||||
onProgress: (value) => onProgress?.call(value * 0.5),
|
||||
shouldCancel: shouldCancel,
|
||||
);
|
||||
} on AeicEntropyCancelled {
|
||||
throw const ImageCodecCancelled();
|
||||
}
|
||||
// MANDATORY, not an optimisation: never hold the fp32 entropy graph and the
|
||||
// 2.16 GiB synthesis session at the same time.
|
||||
await releaseEntropySession();
|
||||
return decodeLatentToRgb(
|
||||
yHat: yHat,
|
||||
onProgress: (value) => onProgress?.call(0.5 + value * 0.5),
|
||||
shouldCancel: shouldCancel,
|
||||
);
|
||||
}
|
||||
|
||||
/// The graphs and the CDF tables belong to one checkpoint. A bitstream that
|
||||
/// claims a different rate point cannot be decoded with these tables, and
|
||||
/// would decode into a sharp, plausible, wrong image if it were tried.
|
||||
void _checkRatePoint(AeicRatePoint ratePoint) {
|
||||
final expected = _requireBundle().ratePoint;
|
||||
if (ratePoint != expected) {
|
||||
throw ImageCodecUnimplemented(
|
||||
'this bundle is ${expected.name}; the bitstream claims '
|
||||
'${ratePoint.name}. Rate points are not interchangeable: the CDF '
|
||||
'tables and the entropy graph belong to one checkpoint.',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> releaseDecoderSession() async {
|
||||
final session = _decoder;
|
||||
_decoder = null;
|
||||
await _close(session, 'decoder');
|
||||
}
|
||||
|
||||
/// Drops **both** entropy graphs. Callers ask for "the entropy half"; which
|
||||
/// direction happens to be resident is an implementation detail, and a decode
|
||||
/// that is about to create the 2.16 GiB synthesis session must not leave the
|
||||
/// send-side graph behind just because it never used it.
|
||||
@override
|
||||
Future<void> releaseEntropySession() async {
|
||||
final encodeSession = _entropyEncode;
|
||||
final decodeSession = _entropyDecode;
|
||||
_entropyEncode = null;
|
||||
_entropyDecode = null;
|
||||
await _close(encodeSession, 'entropy(encode)');
|
||||
await _close(decodeSession, 'entropy(decode)');
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> dispose() async {
|
||||
await releaseDecoderSession();
|
||||
await releaseEntropySession();
|
||||
_coders = null;
|
||||
}
|
||||
|
||||
static Future<void> _close(OrtSession? session, String which) async {
|
||||
if (session == null) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
await session.close();
|
||||
} catch (error) {
|
||||
// Never let teardown throw: it is called from memory-pressure and from
|
||||
// isolate shutdown, where there is nobody left to handle it.
|
||||
appLogger.warn(
|
||||
'ONNX $which session close failed: $error',
|
||||
tag: 'ImageCodec',
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// [AeicEntropyNetwork] backed by the fp32 entropy ONNX graphs.
|
||||
///
|
||||
/// ## TWO GRAPHS, NOT ONE. This is not a packaging accident.
|
||||
///
|
||||
/// The send-side export (`aeic_entropy_side_fp32_op17.onnx`, 64 MB) has one
|
||||
/// input `image [1,3,512,512]` and emits `z_q`, `yq0..3`, `sc0..3` in a single
|
||||
/// run. That shape is only valid for an encoder, which already knows `y`.
|
||||
/// Decoding is inherently SEQUENTIAL: the symbols of stage `i` must be decoded
|
||||
/// before stage `i+1`'s context can be computed, so a receiver must be able to
|
||||
/// call the network five times per image, interleaved with rANS.
|
||||
///
|
||||
/// The decode-side export (`aeic_entropy_decode_fp32_op17.onnx`, 58 MB) is that
|
||||
/// callable form — the same sub-networks behind an ONNX `If` on a `stage`
|
||||
/// selector. `flutter_onnxruntime`'s `session.run()` fetches ALL graph outputs
|
||||
/// (there is no output-subset API), so the `If` is what stops each call from
|
||||
/// evaluating `g_c` four times.
|
||||
///
|
||||
/// ### Decode-side contract (measured, not assumed)
|
||||
///
|
||||
/// ```
|
||||
/// inputs : z_q float32 [1,128,4,4] base float32 [1,256,16,16]
|
||||
/// stage int32 [1]
|
||||
/// outputs: base0 float32 [1,256,16,16] means float32 [1,256,16,16]
|
||||
/// scales float32 [1,256,16,16]
|
||||
/// ```
|
||||
///
|
||||
/// * ALL THREE INPUTS ARE REQUIRED ON EVERY RUN. ORT rejects a feed that omits
|
||||
/// one ("Required inputs (['base']) are missing from input feed"), so the
|
||||
/// branch that does not read a tensor is still handed a zero filler. That is
|
||||
/// what [_zeroBase] and [_zeroZq] are for; they are not defensive padding.
|
||||
/// * `stage < 0` takes the HYPER branch: `base0 = h_s(z_q + z_offset)`, with
|
||||
/// `z_offset` (the entropy-bottleneck medians) baked into the graph as a
|
||||
/// constant. The input is therefore raw `z_q`, NOT `z_hat` — adding the
|
||||
/// offset in Dart would add it twice.
|
||||
/// * `stage 0..3` takes the CONTEXT branch:
|
||||
/// `adapter_out[stage](g_c(adapter_in[stage](base)))`, chunked into
|
||||
/// `means`/`scales` and **already multiplied by that stage's mask**.
|
||||
/// `AeicMaskSet.applyMask` is a select with the identical mask, so applying it
|
||||
/// again in `image_codec_entropy.dart` is exactly idempotent — that call site
|
||||
/// needs no change, and removing it would couple the arithmetic to this
|
||||
/// export.
|
||||
/// * The branch not taken emits a zero tensor of the same shape, so a caller
|
||||
/// must read only the output its `stage` selects.
|
||||
/// * Latency on an M4 Max, 1 thread, CPU EP, ORT 1.28.0: 6.11 ms for the hyper
|
||||
/// branch and 3.70 ms per stage, ~21 ms per image.
|
||||
///
|
||||
/// Geometry is fixed 512x512 -> `y` 16x16, `z` 4x4. No dynamic axes.
|
||||
///
|
||||
/// A network constructed with only [encodeSession] reports
|
||||
/// [supportsDecodeSide] false, and `AeicEntropyCodec.decodeToLatent` refuses
|
||||
/// with [AeicEntropyUnavailable] rather than feeding a send-side graph inputs it
|
||||
/// does not have.
|
||||
class OnnxAeicEntropyNetwork implements AeicEntropyNetwork {
|
||||
static const String kImageInput = 'image';
|
||||
static const String kZqInput = 'z_q';
|
||||
static const String kBaseInput = 'base';
|
||||
static const String kStageInput = 'stage';
|
||||
static const String kBase0Output = 'base0';
|
||||
static const String kMeansOutput = 'means';
|
||||
static const String kScalesOutput = 'scales';
|
||||
|
||||
/// The `stage` value that selects the hyper-synthesis branch. Any negative
|
||||
/// value works; -1 is the documented one.
|
||||
static const int kHyperStage = -1;
|
||||
|
||||
static const List<int> kZqShape = <int>[1, 128, 4, 4];
|
||||
static const List<int> kBaseShape = <int>[1, 256, 16, 16];
|
||||
static const int kZqElements = 128 * 4 * 4;
|
||||
static const int kBaseElements = 256 * 16 * 16;
|
||||
|
||||
/// Session over the send-side graph, or null on a decode-only network.
|
||||
final OrtSession? encodeSession;
|
||||
|
||||
/// Session over the decode-side graph, or null on an encode-only network.
|
||||
final OrtSession? decodeSession;
|
||||
|
||||
const OnnxAeicEntropyNetwork({this.encodeSession, this.decodeSession});
|
||||
|
||||
@override
|
||||
bool get supportsDecodeSide {
|
||||
final session = decodeSession;
|
||||
if (session == null) {
|
||||
return false;
|
||||
}
|
||||
final inputs = session.inputNames;
|
||||
final outputs = session.outputNames;
|
||||
return inputs.contains(kZqInput) &&
|
||||
inputs.contains(kBaseInput) &&
|
||||
inputs.contains(kStageInput) &&
|
||||
outputs.contains(kBase0Output) &&
|
||||
outputs.contains(kMeansOutput) &&
|
||||
outputs.contains(kScalesOutput);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<AeicEncodeSideTensors> runEncodeSide(Float32List imageChw) async {
|
||||
final session = encodeSession;
|
||||
if (session == null) {
|
||||
throw const AeicEntropyUnavailable(
|
||||
'this network has no send-side entropy session, so it cannot encode',
|
||||
);
|
||||
}
|
||||
if (!session.inputNames.contains(kImageInput)) {
|
||||
throw const AeicEntropyUnavailable(
|
||||
'the entropy graph has no "image" input, so it cannot encode',
|
||||
);
|
||||
}
|
||||
final side = imageChw.length ~/ 3;
|
||||
final resolution = _isqrt(side);
|
||||
final inputs = <String, OrtValue>{
|
||||
kImageInput: await OrtValue.fromList(imageChw, <int>[
|
||||
1,
|
||||
3,
|
||||
resolution,
|
||||
resolution,
|
||||
]),
|
||||
};
|
||||
final result = await _run(session, inputs);
|
||||
try {
|
||||
return AeicEncodeSideTensors(
|
||||
zQ: await _floats(result, 'z_q'),
|
||||
yQ: <Float32List>[
|
||||
for (var i = 0; i < 4; i++) await _floats(result, 'yq$i'),
|
||||
],
|
||||
scales: <Float32List>[
|
||||
for (var i = 0; i < 4; i++) await _floats(result, 'sc$i'),
|
||||
],
|
||||
);
|
||||
} finally {
|
||||
await _disposeAll(result);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Float32List> runHyperSynthesis(Float32List zQ) async {
|
||||
final session = _requireDecodeSide();
|
||||
if (zQ.length != kZqElements) {
|
||||
throw ArgumentError.value(
|
||||
zQ.length,
|
||||
'zQ',
|
||||
'expected $kZqElements float32 values (shape $kZqShape)',
|
||||
);
|
||||
}
|
||||
// `base` is not read by the hyper branch, but ORT requires every declared
|
||||
// input to be fed. Zeros, not a stale tensor: a stale one would be silently
|
||||
// wrong the day the export starts reading it.
|
||||
final result = await _run(session, <String, OrtValue>{
|
||||
kZqInput: await OrtValue.fromList(zQ, kZqShape),
|
||||
kBaseInput: await OrtValue.fromList(
|
||||
Float32List(kBaseElements),
|
||||
kBaseShape,
|
||||
),
|
||||
kStageInput: await OrtValue.fromList(
|
||||
Int32List.fromList(<int>[kHyperStage]),
|
||||
<int>[1],
|
||||
),
|
||||
});
|
||||
try {
|
||||
return await _floats(result, kBase0Output);
|
||||
} finally {
|
||||
await _disposeAll(result);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<AeicStageParams> runStage(int stage, Float32List base) async {
|
||||
final session = _requireDecodeSide();
|
||||
if (stage < 0 || stage > 3) {
|
||||
// The graph does not validate `stage`: anything >= 4 silently falls into
|
||||
// the stage-3 branch and anything < 0 runs hyper synthesis, either of
|
||||
// which desynchronises rANS without an error. Catch it here instead.
|
||||
throw ArgumentError.value(stage, 'stage', 'must be 0..3');
|
||||
}
|
||||
if (base.length != kBaseElements) {
|
||||
throw ArgumentError.value(
|
||||
base.length,
|
||||
'base',
|
||||
'expected $kBaseElements float32 values (shape $kBaseShape)',
|
||||
);
|
||||
}
|
||||
// `z_q` is not read by the context branch; same reasoning as above.
|
||||
final result = await _run(session, <String, OrtValue>{
|
||||
kZqInput: await OrtValue.fromList(Float32List(kZqElements), kZqShape),
|
||||
kBaseInput: await OrtValue.fromList(base, kBaseShape),
|
||||
kStageInput: await OrtValue.fromList(
|
||||
Int32List.fromList(<int>[stage]),
|
||||
<int>[1],
|
||||
),
|
||||
});
|
||||
try {
|
||||
// Already masked by the graph. `AeicEntropyCodec` masks again, which is
|
||||
// idempotent — see the class doc.
|
||||
return AeicStageParams(
|
||||
meansSupp: await _floats(result, kMeansOutput),
|
||||
scalesSupp: await _floats(result, kScalesOutput),
|
||||
);
|
||||
} finally {
|
||||
await _disposeAll(result);
|
||||
}
|
||||
}
|
||||
|
||||
OrtSession _requireDecodeSide() {
|
||||
final session = decodeSession;
|
||||
if (session == null) {
|
||||
throw const AeicEntropyUnavailable(
|
||||
'this network has no decode-side entropy session; decoding needs '
|
||||
'aeic_entropy_decode_fp32_op17.onnx, which a bundle-version-1 install '
|
||||
'does not carry',
|
||||
);
|
||||
}
|
||||
if (!supportsDecodeSide) {
|
||||
throw AeicEntropyUnavailable(
|
||||
'the loaded decode-side graph does not match the contract (inputs '
|
||||
'${session.inputNames}, outputs ${session.outputNames}); decoding '
|
||||
'needs inputs [$kZqInput, $kBaseInput, $kStageInput] and outputs '
|
||||
'[$kBase0Output, $kMeansOutput, $kScalesOutput]',
|
||||
);
|
||||
}
|
||||
return session;
|
||||
}
|
||||
|
||||
Future<Map<String, OrtValue>> _run(
|
||||
OrtSession session,
|
||||
Map<String, OrtValue> inputs,
|
||||
) async {
|
||||
try {
|
||||
return await session.run(inputs);
|
||||
} finally {
|
||||
for (final value in inputs.values) {
|
||||
await value.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static Future<Float32List> _floats(
|
||||
Map<String, OrtValue> result,
|
||||
String name,
|
||||
) async {
|
||||
final value = result[name];
|
||||
if (value == null) {
|
||||
throw AeicEntropyUnavailable(
|
||||
'the entropy graph has no output named "$name"; found '
|
||||
'${result.keys.toList()}',
|
||||
);
|
||||
}
|
||||
final flat = await value.asFlattenedList();
|
||||
final out = Float32List(flat.length);
|
||||
for (var i = 0; i < flat.length; i++) {
|
||||
out[i] = (flat[i] as num).toDouble();
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
static Future<void> _disposeAll(Map<String, OrtValue> values) async {
|
||||
for (final value in values.values) {
|
||||
await value.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
static int _isqrt(int value) {
|
||||
final root = math.sqrt(value).round();
|
||||
if (root * root != value) {
|
||||
throw ArgumentError.value(value, 'value', 'not a square image');
|
||||
}
|
||||
return root;
|
||||
}
|
||||
}
|
||||
|
||||
/// Thrown by a backend that noticed [ImageCodecBackend] `shouldCancel`.
|
||||
class ImageCodecCancelled implements Exception {
|
||||
const ImageCodecCancelled();
|
||||
|
||||
@override
|
||||
String toString() => 'Image processing stopped.';
|
||||
}
|
||||
|
||||
/// Factory used by the codec worker isolate.
|
||||
///
|
||||
/// Returns `null` on web, where there is no local model file and no isolate.
|
||||
/// Everywhere else it returns the real [OnnxImageCodecBackend]; the session
|
||||
/// turns a `null` here into an [ImageCodecUnimplemented], which the service
|
||||
/// surfaces as `lastError` and maps to `ImageCodecAvailability.unavailable`.
|
||||
ImageCodecBackend? createImageCodecBackend() {
|
||||
if (kIsWeb) {
|
||||
return null;
|
||||
}
|
||||
return OnnxImageCodecBackend();
|
||||
}
|
||||
@@ -0,0 +1,678 @@
|
||||
/// ===========================================================================
|
||||
/// THE ENTROPY LAYER — everything between the ONNX tensors and the rANS coder.
|
||||
/// ===========================================================================
|
||||
///
|
||||
/// AEIC's four-stage masked context model, ported from
|
||||
/// `aic/aeic/src/codec/codec_practical.py` (`PixelCodec.compress` /
|
||||
/// `.decompress`). This file owns the parts that are *not* neural and *not*
|
||||
/// range coding:
|
||||
///
|
||||
/// * the four checkerboard masks (`get_mask_four_parts`),
|
||||
/// * `sequeeze` / `unsequeeze_with_mask` (the 4:1 channel fold),
|
||||
/// * `torch.round`'s half-to-**even** tie rule,
|
||||
/// * `my_build_indexes` (scale -> CDF row selector),
|
||||
/// * the z index array (`_build_indexes`: the channel arange),
|
||||
/// * the fixed call order z, y0, y1, y2, y3.
|
||||
///
|
||||
/// It is deliberately pure Dart: no ONNX, no dart:io, no Flutter. The neural
|
||||
/// half arrives through [AeicEntropyNetwork] and the range coder through
|
||||
/// [AeicRansCoderFactory], both injected. That is what makes the arithmetic
|
||||
/// unit-testable without a 67 MB graph or a model download.
|
||||
///
|
||||
/// ## Why every detail here is load-bearing
|
||||
///
|
||||
/// The rANS decoder re-derives symbol probabilities by re-running the same
|
||||
/// network and the same arithmetic. A single wrong symbol *position* — an
|
||||
/// off-by-one in a mask, the wrong channel-group permutation, `sequeeze`
|
||||
/// folding in the wrong order — does not raise: it desynchronises the coder and
|
||||
/// produces a sharp, plausible, wrong image. Same for a rounding tie resolved
|
||||
/// away from zero instead of to even. Both failure modes are silent.
|
||||
///
|
||||
/// The golden vectors in `test/services/image_codec_entropy_test.dart` were
|
||||
/// generated by `aic/exp/export_entropy_layer_golden.py`, which runs the real
|
||||
/// torch ops on a closed-form input both languages reproduce bit-for-bit.
|
||||
library;
|
||||
|
||||
import 'dart:math' as math;
|
||||
import 'dart:typed_data';
|
||||
|
||||
/// CDF group indices, fixed by `EntropyCoder.update()`'s `add_cdf` call order:
|
||||
/// the entropy bottleneck (z) is registered first, the Gaussian conditional
|
||||
/// (y) second. The group index is part of the bitstream format.
|
||||
const int kAeicZCdfGroup = 0;
|
||||
const int kAeicYCdfGroup = 1;
|
||||
|
||||
/// `my_build_indexes` constants (`codec_practical.py`, `SCALES_MIN/MAX/LEVELS`).
|
||||
const int kAeicScalesLevels = 64;
|
||||
const double kAeicLogScaleMin = -2.2072749131897207; // ln(0.11)
|
||||
const double kAeicLogScaleStep = 0.12305479932808384; // (ln(256)-ln(0.11))/63
|
||||
const double kAeicScaleThreshold = 0.08; // below this the symbol is skipped
|
||||
const double kAeicScaleFloor = 1e-5; // torch.maximum floor applied first
|
||||
|
||||
/// Tensor shapes for one image, derived the way `compress()` derives them.
|
||||
///
|
||||
/// `y` is the image downsampled by 32; `z` is `y` downsampled by a further 4,
|
||||
/// rounded **up** (`compress()` reflect-pads `y` to a multiple of 4 first).
|
||||
class AeicEntropyGeometry {
|
||||
final int resolution;
|
||||
|
||||
/// Latent channel count `M` (256 for AEIC-SE, which is what ships).
|
||||
final int yChannels;
|
||||
final int yHeight;
|
||||
final int yWidth;
|
||||
|
||||
/// Hyper-latent channels: `M // 2`.
|
||||
final int zChannels;
|
||||
final int zHeight;
|
||||
final int zWidth;
|
||||
|
||||
const AeicEntropyGeometry._({
|
||||
required this.resolution,
|
||||
required this.yChannels,
|
||||
required this.yHeight,
|
||||
required this.yWidth,
|
||||
required this.zChannels,
|
||||
required this.zHeight,
|
||||
required this.zWidth,
|
||||
});
|
||||
|
||||
factory AeicEntropyGeometry.forResolution(
|
||||
int resolution, {
|
||||
int yChannels = 256,
|
||||
}) {
|
||||
if (resolution <= 0 || resolution % 32 != 0) {
|
||||
throw ArgumentError.value(
|
||||
resolution,
|
||||
'resolution',
|
||||
'must be a positive multiple of 32 (g_a downsamples by 32)',
|
||||
);
|
||||
}
|
||||
if (yChannels % 4 != 0) {
|
||||
throw ArgumentError.value(
|
||||
yChannels,
|
||||
'yChannels',
|
||||
'the four-part mask splits the channels into 4 equal groups',
|
||||
);
|
||||
}
|
||||
final yh = resolution ~/ 32;
|
||||
final zh = (yh + 3) ~/ 4;
|
||||
return AeicEntropyGeometry._(
|
||||
resolution: resolution,
|
||||
yChannels: yChannels,
|
||||
yHeight: yh,
|
||||
yWidth: yh,
|
||||
zChannels: yChannels ~/ 2,
|
||||
zHeight: zh,
|
||||
zWidth: zh,
|
||||
);
|
||||
}
|
||||
|
||||
/// Channels after `sequeeze` folds the four groups together.
|
||||
int get squeezedChannels => yChannels ~/ 4;
|
||||
|
||||
int get yElements => yChannels * yHeight * yWidth;
|
||||
|
||||
/// Symbols coded per y stage (`[1, M/4, y_h, y_w]` flattened).
|
||||
int get symbolsPerStage => squeezedChannels * yHeight * yWidth;
|
||||
|
||||
int get zElements => zChannels * zHeight * zWidth;
|
||||
|
||||
/// Total entries handed to the coder: z once, then four y stages.
|
||||
int get totalEntries => zElements + 4 * symbolsPerStage;
|
||||
|
||||
List<int> get yShape => <int>[1, yChannels, yHeight, yWidth];
|
||||
|
||||
List<int> get zShape => <int>[1, zChannels, zHeight, zWidth];
|
||||
|
||||
List<int> get imageShape => <int>[1, 3, resolution, resolution];
|
||||
}
|
||||
|
||||
/// The four masks of `get_mask_four_parts`, as arithmetic rather than tensors.
|
||||
///
|
||||
/// Reading the Python: each mask is four channel-groups of `M/4` channels
|
||||
/// stacked, and each group carries one of the four 2x2 micro-patterns
|
||||
///
|
||||
/// micro 0 = (y%2, x%2) == (0, 0) micro 1 = (0, 1)
|
||||
/// micro 2 = (1, 0) micro 3 = (1, 1)
|
||||
///
|
||||
/// so `micro k` is live exactly where `(y%2)*2 + (x%2) == k`. The stacking order
|
||||
/// per stage is
|
||||
///
|
||||
/// mask_0 = [m0, m1, m2, m3] mask_1 = [m3, m2, m1, m0]
|
||||
/// mask_2 = [m2, m3, m0, m1] mask_3 = [m1, m0, m3, m2]
|
||||
///
|
||||
/// which is exactly `micro = group XOR perm[stage]` with `perm = [0, 3, 2, 1]`.
|
||||
/// Verified against the tensors themselves in the golden test, because getting
|
||||
/// this permutation wrong is the single easiest way to silently reorder every
|
||||
/// symbol in the stream.
|
||||
class AeicMaskSet {
|
||||
/// `perm[stage]`: XOR it with the channel group to get the micro-pattern.
|
||||
static const List<int> stagePermutation = <int>[0, 3, 2, 1];
|
||||
|
||||
final AeicEntropyGeometry geometry;
|
||||
|
||||
const AeicMaskSet(this.geometry);
|
||||
|
||||
/// Micro-pattern index used by [channelGroup] in [stage].
|
||||
static int microFor(int stage, int channelGroup) =>
|
||||
channelGroup ^ stagePermutation[stage];
|
||||
|
||||
/// The single channel group that is live at `(y, x)` in [stage].
|
||||
///
|
||||
/// Inverse of [microFor]: the position selects the micro-pattern, and exactly
|
||||
/// one group carries it.
|
||||
static int liveGroupAt(int stage, int y, int x) =>
|
||||
(((y & 1) << 1) | (x & 1)) ^ stagePermutation[stage];
|
||||
|
||||
bool isLive(int stage, int channel, int y, int x) {
|
||||
final group = channel ~/ geometry.squeezedChannels;
|
||||
return microFor(stage, group) == (((y & 1) << 1) | (x & 1));
|
||||
}
|
||||
|
||||
/// Materialises `mask_i` as `[1, M, y_h, y_w]` float32 — only needed when a
|
||||
/// caller wants to hand the mask to something else (or check it in a test).
|
||||
Float32List maskTensor(int stage) {
|
||||
final out = Float32List(geometry.yElements);
|
||||
final h = geometry.yHeight;
|
||||
final w = geometry.yWidth;
|
||||
for (var c = 0; c < geometry.yChannels; c++) {
|
||||
final base = c * h * w;
|
||||
for (var y = 0; y < h; y++) {
|
||||
for (var x = 0; x < w; x++) {
|
||||
if (isLive(stage, c, y, x)) {
|
||||
out[base + y * w + x] = 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// `sequeeze`: sum the four channel chunks, `(g0 + g1) + (g2 + g3)`.
|
||||
///
|
||||
/// The association matters in principle (float addition is not associative)
|
||||
/// so it is reproduced exactly, even though in practice three of the four
|
||||
/// terms are a hard zero for a masked tensor.
|
||||
Float32List squeeze(Float32List full) {
|
||||
if (full.length != geometry.yElements) {
|
||||
throw ArgumentError.value(
|
||||
full.length,
|
||||
'full',
|
||||
'expected ${geometry.yElements} elements (${geometry.yShape})',
|
||||
);
|
||||
}
|
||||
final plane = geometry.yHeight * geometry.yWidth;
|
||||
final cq = geometry.squeezedChannels;
|
||||
final out = Float32List(cq * plane);
|
||||
for (var c = 0; c < cq; c++) {
|
||||
final o = c * plane;
|
||||
final g0 = c * plane;
|
||||
final g1 = (c + cq) * plane;
|
||||
final g2 = (c + 2 * cq) * plane;
|
||||
final g3 = (c + 3 * cq) * plane;
|
||||
for (var i = 0; i < plane; i++) {
|
||||
// Each partial sum is forced back through float32, matching torch's
|
||||
// `(a + b) + (c + d)` on float32 tensors.
|
||||
final left = f32(full[g0 + i] + full[g1 + i]);
|
||||
final right = f32(full[g2 + i] + full[g3 + i]);
|
||||
out[o + i] = left + right;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// `unsequeeze_with_mask`: broadcast a squeezed tensor back to `[1, M, h, w]`,
|
||||
/// keeping each element only in the channel group whose mask is live there.
|
||||
Float32List unsqueeze(Float32List squeezed, int stage) {
|
||||
final plane = geometry.yHeight * geometry.yWidth;
|
||||
final cq = geometry.squeezedChannels;
|
||||
if (squeezed.length != cq * plane) {
|
||||
throw ArgumentError.value(
|
||||
squeezed.length,
|
||||
'squeezed',
|
||||
'expected ${cq * plane} elements',
|
||||
);
|
||||
}
|
||||
final out = Float32List(geometry.yElements);
|
||||
final w = geometry.yWidth;
|
||||
for (var c = 0; c < cq; c++) {
|
||||
for (var y = 0; y < geometry.yHeight; y++) {
|
||||
for (var x = 0; x < w; x++) {
|
||||
final group = liveGroupAt(stage, y, x);
|
||||
out[(group * cq + c) * plane + y * w + x] =
|
||||
squeezed[c * plane + y * w + x];
|
||||
}
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// `t * mask_i`, elementwise, into a fresh tensor.
|
||||
Float32List applyMask(Float32List full, int stage) {
|
||||
final out = Float32List(full.length);
|
||||
final plane = geometry.yHeight * geometry.yWidth;
|
||||
final cq = geometry.squeezedChannels;
|
||||
final w = geometry.yWidth;
|
||||
for (var c = 0; c < geometry.yChannels; c++) {
|
||||
final group = c ~/ cq;
|
||||
for (var y = 0; y < geometry.yHeight; y++) {
|
||||
for (var x = 0; x < w; x++) {
|
||||
if (microFor(stage, group) == (((y & 1) << 1) | (x & 1))) {
|
||||
final i = c * plane + y * w + x;
|
||||
out[i] = full[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// `base * (1 - mask_i) + stageLatent`, the context update between stages.
|
||||
///
|
||||
/// `stageLatent` must already be masked (it is the output of [unsqueeze]), so
|
||||
/// this is a select, not an add — which is what keeps it exact in float32.
|
||||
Float32List mergeContext(
|
||||
Float32List base,
|
||||
Float32List stageLatent,
|
||||
int stage,
|
||||
) {
|
||||
final out = Float32List.fromList(base);
|
||||
final plane = geometry.yHeight * geometry.yWidth;
|
||||
final cq = geometry.squeezedChannels;
|
||||
final w = geometry.yWidth;
|
||||
for (var c = 0; c < geometry.yChannels; c++) {
|
||||
final group = c ~/ cq;
|
||||
for (var y = 0; y < geometry.yHeight; y++) {
|
||||
for (var x = 0; x < w; x++) {
|
||||
if (microFor(stage, group) == (((y & 1) << 1) | (x & 1))) {
|
||||
final i = c * plane + y * w + x;
|
||||
out[i] = stageLatent[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
}
|
||||
|
||||
/// Scratch cell used to force a float64 value through float32 rounding.
|
||||
final Float32List _f32Cell = Float32List(1);
|
||||
|
||||
/// Rounds [value] to float32 exactly as a store into a float32 tensor would.
|
||||
double f32(double value) {
|
||||
_f32Cell[0] = value;
|
||||
return _f32Cell[0];
|
||||
}
|
||||
|
||||
/// `torch.round`: ties go to the **even** neighbour, not away from zero.
|
||||
///
|
||||
/// Dart's `double.round()` and `roundToDouble()` both round half away from
|
||||
/// zero, so `(-0.5).round() == -1` where torch gives `0`. On the ft32 corpus
|
||||
/// `y - means` lands on a tie often enough that this is not theoretical.
|
||||
double roundHalfToEven(double value) {
|
||||
if (!value.isFinite) {
|
||||
return value;
|
||||
}
|
||||
final floor = value.floorToDouble();
|
||||
final diff = value - floor;
|
||||
if (diff > 0.5) {
|
||||
return floor + 1.0;
|
||||
}
|
||||
if (diff < 0.5) {
|
||||
return floor;
|
||||
}
|
||||
// Exactly halfway: pick the even neighbour.
|
||||
return floor % 2.0 == 0.0 ? floor : floor + 1.0;
|
||||
}
|
||||
|
||||
/// `my_build_indexes` — scale -> CDF row selector, in float32, per stage.
|
||||
///
|
||||
/// ```
|
||||
/// s = max(scale, 1e-5)
|
||||
/// q = (ln(s) - log_scale_min) / log_scale_step # all float32
|
||||
/// idx = (s < 0.08) ? -1 : trunc(clamp(q, 0, 63)) # trunc, not round
|
||||
/// ```
|
||||
///
|
||||
/// Every intermediate is forced back to float32 because torch evaluates this on
|
||||
/// a float32 tensor with float32 scalars, and the boundary margin measured in
|
||||
/// `aic/results/bitexact_encoder.md` is only 1.12x — the tightest number in the
|
||||
/// whole system. Dart's `log` is still not guaranteed bit-identical to ORT's
|
||||
/// float32 `Log`; see the note in `aic/results/rans_port_spec.md` §8, which
|
||||
/// recommends the graph emit these indexes itself. [aeicBuildIndexes] is the
|
||||
/// fallback, and both sides of the channel run this same code, so sender and
|
||||
/// receiver agree with each other regardless.
|
||||
Int16List aeicBuildIndexes(Float32List scales) {
|
||||
final logMin = f32(kAeicLogScaleMin);
|
||||
final logStep = f32(kAeicLogScaleStep);
|
||||
final floor = f32(kAeicScaleFloor);
|
||||
final threshold = f32(kAeicScaleThreshold);
|
||||
final out = Int16List(scales.length);
|
||||
for (var i = 0; i < scales.length; i++) {
|
||||
final raw = scales[i];
|
||||
final s = raw > floor ? raw : floor;
|
||||
if (s < threshold) {
|
||||
out[i] = -1;
|
||||
continue;
|
||||
}
|
||||
var q = f32(f32(f32(math.log(s)) - logMin) / logStep);
|
||||
if (q < 0.0) {
|
||||
q = 0.0;
|
||||
} else if (q > kAeicScalesLevels - 1) {
|
||||
q = (kAeicScalesLevels - 1).toDouble();
|
||||
}
|
||||
out[i] = q.toInt(); // truncation toward zero, matching Tensor.int()
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// The z index array: `_build_indexes` broadcasts `arange(C)` over `H x W`, so
|
||||
/// this is `H*W` copies of each channel index. Always >= 0.
|
||||
Int16List aeicZIndexes(AeicEntropyGeometry geometry) {
|
||||
final plane = geometry.zHeight * geometry.zWidth;
|
||||
final out = Int16List(geometry.zElements);
|
||||
var i = 0;
|
||||
for (var c = 0; c < geometry.zChannels; c++) {
|
||||
for (var p = 0; p < plane; p++) {
|
||||
out[i++] = c;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// float32 tensor of integers -> int16 symbols, asserting the cast is lossless.
|
||||
///
|
||||
/// `py_rans` force-casts through `py::array_t<int16_t>`; the golden vectors
|
||||
/// store the post-cast values. Anything that does not survive the cast means
|
||||
/// the entropy model has gone somewhere the format cannot represent, and
|
||||
/// truncating quietly would desync the decoder.
|
||||
Int16List aeicToSymbols(Float32List values) {
|
||||
final out = Int16List(values.length);
|
||||
for (var i = 0; i < values.length; i++) {
|
||||
final v = values[i];
|
||||
final n = v.toInt();
|
||||
if (n != v || n < -32768 || n > 32767) {
|
||||
throw StateError(
|
||||
'entropy symbol $v at index $i is not a lossless int16; the entropy '
|
||||
'model produced a value the bitstream format cannot carry',
|
||||
);
|
||||
}
|
||||
out[i] = n;
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// RGB bytes -> the graph's `image` input, reproducing torchvision's
|
||||
/// `ToTensor()` + `Normalize([0.5]*3, [0.5]*3)`: `x = (b/255 - 0.5) / 0.5`.
|
||||
Float32List aeicRgbToChw(Uint8List rgb, int resolution) {
|
||||
final pixels = resolution * resolution;
|
||||
if (rgb.length != pixels * 3) {
|
||||
throw ArgumentError.value(
|
||||
rgb.length,
|
||||
'rgb',
|
||||
'expected ${pixels * 3} bytes for ${resolution}x$resolution RGB',
|
||||
);
|
||||
}
|
||||
final out = Float32List(pixels * 3);
|
||||
for (var c = 0; c < 3; c++) {
|
||||
final plane = c * pixels;
|
||||
for (var i = 0; i < pixels; i++) {
|
||||
final v = f32(rgb[i * 3 + c] / 255.0);
|
||||
out[plane + i] = f32(v - 0.5) * 2.0; // /0.5 is exact
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
/// Everything the send side needs out of one forward pass of the entropy graph.
|
||||
///
|
||||
/// Matches the outputs of `aic/onnx/aeic_entropy_side_fp32_op17.onnx`, which
|
||||
/// runs `g_a`, `h_a`, `h_s`, `g_c` and all four adapters in one shot — the
|
||||
/// encoder never has to be incremental, only the decoder does.
|
||||
class AeicEncodeSideTensors {
|
||||
/// `round(z - z_offset)`, `[1, M/2, z_h, z_w]`, integral floats.
|
||||
final Float32List zQ;
|
||||
|
||||
/// `round(y * mask_i - means_i)` per stage, `[1, M, y_h, y_w]`, integral.
|
||||
final List<Float32List> yQ;
|
||||
|
||||
/// `scales_supp_i * mask_i` per stage, `[1, M, y_h, y_w]`.
|
||||
final List<Float32List> scales;
|
||||
|
||||
const AeicEncodeSideTensors({
|
||||
required this.zQ,
|
||||
required this.yQ,
|
||||
required this.scales,
|
||||
});
|
||||
}
|
||||
|
||||
/// One decode stage's entropy parameters, **before** masking.
|
||||
///
|
||||
/// `adapter_out[i](g_c(adapter_in[i](base)))` split in half; the caller applies
|
||||
/// `mask_i`. Kept unmasked so the graph does not have to know the stage index
|
||||
/// at export time.
|
||||
class AeicStageParams {
|
||||
final Float32List meansSupp;
|
||||
final Float32List scalesSupp;
|
||||
|
||||
const AeicStageParams({required this.meansSupp, required this.scalesSupp});
|
||||
}
|
||||
|
||||
/// The neural half of the entropy path, as this file needs it.
|
||||
///
|
||||
/// ## Graph contract
|
||||
///
|
||||
/// **Send side** (exists today, `aeic_entropy_side_fp32_op17.onnx`, 67 MB):
|
||||
/// input `image [1,3,512,512]` -> outputs `z_q`, `yq0..yq3`, `sc0..sc3`.
|
||||
///
|
||||
/// **Receive side** (NOT exported yet — see the report for task B2): the
|
||||
/// decoder cannot use the send-side graph, because it must interleave network
|
||||
/// evaluation with symbol decoding: stage `i`'s indexes are unknown until
|
||||
/// stages `< i` have been decoded and fed back through `g_c`. It needs
|
||||
///
|
||||
/// * `z_q [1,128,4,4]` -> `base0 [1,256,16,16]` (`h_s` with `z_offset` baked
|
||||
/// in, exactly as the send-side export bakes it), and
|
||||
/// * `base [1,256,16,16]` -> `means{i}`, `scales{i}` for `i` in 0..3
|
||||
/// (unmasked `adapter_out[i](g_c(adapter_in[i](base)))`, split in half).
|
||||
///
|
||||
/// Both can live in one graph with two inputs and nine outputs; ORT prunes to
|
||||
/// the requested output set, so asking only for `base0` does not run the
|
||||
/// adapters and asking only for `means2`/`scales2` does not run `h_s`.
|
||||
abstract class AeicEntropyNetwork {
|
||||
/// Whether [runHyperSynthesis] and [runStage] are available. False for a
|
||||
/// graph that only carries the send-side path.
|
||||
bool get supportsDecodeSide;
|
||||
|
||||
Future<AeicEncodeSideTensors> runEncodeSide(Float32List imageChw);
|
||||
|
||||
/// `h_s(z_q + z_offset)[:, :, :y_h, :y_w]`.
|
||||
Future<Float32List> runHyperSynthesis(Float32List zQ);
|
||||
|
||||
/// `adapter_out[stage](g_c(adapter_in[stage](base)))`, unmasked.
|
||||
Future<AeicStageParams> runStage(int stage, Float32List base);
|
||||
}
|
||||
|
||||
/// The rANS encoder, as the entropy layer uses it.
|
||||
///
|
||||
/// Implemented by the pure-Dart coder (task B1). Deliberately narrow: five
|
||||
/// [pushSymbols] calls in the fixed order z, y0, y1, y2, y3, then one [finish].
|
||||
abstract class AeicRansEncoder {
|
||||
/// Appends one `(symbols, indexes)` pair. `indexes[i] < 0` emits nothing.
|
||||
void pushSymbols(Int16List symbols, Int16List indexes, int cdfGroup);
|
||||
|
||||
/// Flushes both sub-streams and returns the container bytes.
|
||||
Uint8List finish();
|
||||
}
|
||||
|
||||
/// The rANS decoder, as the entropy layer uses it.
|
||||
///
|
||||
/// **Must be incremental**: each call resumes the rANS state where the last one
|
||||
/// stopped. An implementation that decodes the whole stream up front cannot
|
||||
/// work here — see the class docs on [AeicEntropyNetwork].
|
||||
abstract class AeicRansDecoder {
|
||||
Int16List decodeStream(Int16List indexes, int cdfGroup);
|
||||
}
|
||||
|
||||
/// Supplies coders bound to a parsed CDF table set (task B1 owns both).
|
||||
abstract class AeicRansCoderFactory {
|
||||
AeicRansEncoder createEncoder();
|
||||
|
||||
AeicRansDecoder createDecoder(Uint8List bitstream);
|
||||
}
|
||||
|
||||
/// Thrown when the entropy loop is asked to run without a piece it needs.
|
||||
class AeicEntropyUnavailable implements Exception {
|
||||
final String detail;
|
||||
|
||||
const AeicEntropyUnavailable(this.detail);
|
||||
|
||||
@override
|
||||
String toString() => 'AEIC entropy path unavailable: $detail';
|
||||
}
|
||||
|
||||
/// Raised by [ImageCodecBackend] callers that pass a cancel predicate.
|
||||
typedef AeicCancelCheck = bool Function();
|
||||
|
||||
/// The four-stage masked encode and decode, orchestrating [AeicEntropyNetwork]
|
||||
/// and [AeicRansCoderFactory].
|
||||
class AeicEntropyCodec {
|
||||
final AeicEntropyGeometry geometry;
|
||||
final AeicMaskSet masks;
|
||||
final AeicEntropyNetwork network;
|
||||
final AeicRansCoderFactory coders;
|
||||
|
||||
AeicEntropyCodec({
|
||||
required this.geometry,
|
||||
required this.network,
|
||||
required this.coders,
|
||||
}) : masks = AeicMaskSet(geometry);
|
||||
|
||||
/// Packed 8-bit RGB -> rANS bitstream (payload only, no chunk headers).
|
||||
///
|
||||
/// One forward pass, then z, y0, y1, y2, y3 into the coder in that order.
|
||||
Future<Uint8List> encode(
|
||||
Uint8List rgbBytes, {
|
||||
void Function(double progress)? onProgress,
|
||||
AeicCancelCheck? shouldCancel,
|
||||
}) async {
|
||||
onProgress?.call(0.02);
|
||||
final input = aeicRgbToChw(rgbBytes, geometry.resolution);
|
||||
_checkCancel(shouldCancel);
|
||||
|
||||
final tensors = await network.runEncodeSide(input);
|
||||
onProgress?.call(0.80);
|
||||
_checkCancel(shouldCancel);
|
||||
|
||||
if (tensors.zQ.length != geometry.zElements) {
|
||||
throw StateError(
|
||||
'entropy graph returned ${tensors.zQ.length} z values, expected '
|
||||
'${geometry.zElements} (${geometry.zShape})',
|
||||
);
|
||||
}
|
||||
if (tensors.yQ.length != 4 || tensors.scales.length != 4) {
|
||||
throw StateError(
|
||||
'entropy graph must return four y_q and four scales tensors, got '
|
||||
'${tensors.yQ.length} / ${tensors.scales.length}',
|
||||
);
|
||||
}
|
||||
|
||||
final encoder = coders.createEncoder();
|
||||
encoder.pushSymbols(
|
||||
aeicToSymbols(tensors.zQ),
|
||||
aeicZIndexes(geometry),
|
||||
kAeicZCdfGroup,
|
||||
);
|
||||
for (var stage = 0; stage < 4; stage++) {
|
||||
final symbols = aeicToSymbols(masks.squeeze(tensors.yQ[stage]));
|
||||
final indexes = aeicBuildIndexes(masks.squeeze(tensors.scales[stage]));
|
||||
encoder.pushSymbols(symbols, indexes, kAeicYCdfGroup);
|
||||
onProgress?.call(0.80 + 0.04 * (stage + 1));
|
||||
_checkCancel(shouldCancel);
|
||||
}
|
||||
final stream = encoder.finish();
|
||||
onProgress?.call(1.0);
|
||||
return stream;
|
||||
}
|
||||
|
||||
/// rANS bitstream -> `y_hat [1, M, y_h, y_w]`, ready for the synthesis graph.
|
||||
///
|
||||
/// The mirror of [encode], and necessarily incremental: each stage's indexes
|
||||
/// come from scales that only exist once the previous stage's symbols have
|
||||
/// been decoded and pushed back through the context model.
|
||||
Future<Float32List> decodeToLatent(
|
||||
Uint8List bitstream, {
|
||||
void Function(double progress)? onProgress,
|
||||
AeicCancelCheck? shouldCancel,
|
||||
}) async {
|
||||
if (!network.supportsDecodeSide) {
|
||||
throw const AeicEntropyUnavailable(
|
||||
'the installed entropy graph is send-side only: it maps image -> '
|
||||
'symbols and has no z_q -> base0 / base -> means,scales entry points, '
|
||||
'which decoding requires',
|
||||
);
|
||||
}
|
||||
onProgress?.call(0.02);
|
||||
final decoder = coders.createDecoder(bitstream);
|
||||
|
||||
final zSymbols = decoder.decodeStream(
|
||||
aeicZIndexes(geometry),
|
||||
kAeicZCdfGroup,
|
||||
);
|
||||
final zQ = Float32List(zSymbols.length);
|
||||
for (var i = 0; i < zSymbols.length; i++) {
|
||||
zQ[i] = zSymbols[i].toDouble();
|
||||
}
|
||||
_checkCancel(shouldCancel);
|
||||
|
||||
var base = await network.runHyperSynthesis(zQ);
|
||||
if (base.length != geometry.yElements) {
|
||||
throw StateError(
|
||||
'hyper synthesis returned ${base.length} values, expected '
|
||||
'${geometry.yElements} (${geometry.yShape})',
|
||||
);
|
||||
}
|
||||
onProgress?.call(0.20);
|
||||
|
||||
Float32List? stageLatent;
|
||||
for (var stage = 0; stage < 4; stage++) {
|
||||
_checkCancel(shouldCancel);
|
||||
final params = await network.runStage(stage, base);
|
||||
final scales = masks.applyMask(params.scalesSupp, stage);
|
||||
final means = masks.applyMask(params.meansSupp, stage);
|
||||
final indexes = aeicBuildIndexes(masks.squeeze(scales));
|
||||
final symbols = decoder.decodeStream(indexes, kAeicYCdfGroup);
|
||||
final meansSqueezed = masks.squeeze(means);
|
||||
if (symbols.length != meansSqueezed.length) {
|
||||
throw StateError(
|
||||
'stage $stage decoded ${symbols.length} symbols but the context '
|
||||
'model produced ${meansSqueezed.length} means',
|
||||
);
|
||||
}
|
||||
final latentSqueezed = Float32List(symbols.length);
|
||||
for (var i = 0; i < symbols.length; i++) {
|
||||
latentSqueezed[i] = symbols[i] + meansSqueezed[i];
|
||||
}
|
||||
stageLatent = masks.unsqueeze(latentSqueezed, stage);
|
||||
if (stage < 3) {
|
||||
base = masks.mergeContext(base, stageLatent, stage);
|
||||
}
|
||||
onProgress?.call(0.20 + 0.19 * (stage + 1));
|
||||
}
|
||||
|
||||
// y_hat = base * (1 - mask_3) + y_hat_3
|
||||
return masks.mergeContext(base, stageLatent!, 3);
|
||||
}
|
||||
|
||||
static void _checkCancel(AeicCancelCheck? shouldCancel) {
|
||||
if (shouldCancel?.call() == true) {
|
||||
throw const AeicEntropyCancelled();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Cancellation signal raised out of the entropy loop at a stage boundary.
|
||||
class AeicEntropyCancelled implements Exception {
|
||||
const AeicEntropyCancelled();
|
||||
|
||||
@override
|
||||
String toString() => 'Image processing stopped.';
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export 'image_codec_file_store_stub.dart'
|
||||
if (dart.library.io) 'image_codec_file_store_io.dart';
|
||||
@@ -0,0 +1,247 @@
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:convert/convert.dart' show AccumulatorSink;
|
||||
import 'package:crypto/crypto.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
|
||||
import '../models/image_codec_support.dart';
|
||||
|
||||
/// On-disk storage for image-codec weights.
|
||||
///
|
||||
/// Mirrors `translation_file_store_io.dart` 1:1. It is a separate class rather
|
||||
/// than a reuse of `TranslationFileStore` only because the directory name and
|
||||
/// the record type differ; see the report for the (small) change that would
|
||||
/// make the translation store generic enough to share.
|
||||
class ImageCodecFileStore {
|
||||
static final RegExp _chunkFilePattern = RegExp(r'^\..+_chunk_\d+$');
|
||||
|
||||
Future<String> modelDirectoryPath() async {
|
||||
final baseDir = await getApplicationDocumentsDirectory();
|
||||
final dir = Directory('${baseDir.path}/image_codec_models');
|
||||
if (!dir.existsSync()) {
|
||||
await dir.create(recursive: true);
|
||||
}
|
||||
return dir.path;
|
||||
}
|
||||
|
||||
Future<List<ImageCodecModelRecord>> scanDownloadedModels() async {
|
||||
final dir = Directory(await modelDirectoryPath());
|
||||
if (!dir.existsSync()) {
|
||||
return const [];
|
||||
}
|
||||
final models = <ImageCodecModelRecord>[];
|
||||
for (final entity in dir.listSync().whereType<File>()) {
|
||||
final name = entity.uri.pathSegments.last;
|
||||
if (name.startsWith('.')) {
|
||||
// Hidden `.<file>_chunk_<n>` files are the resume state of an
|
||||
// interrupted download and MUST survive a restart — reaping them here
|
||||
// (as this used to) is what made an 872 MB transfer restart from zero
|
||||
// whenever the app was reopened. Anything else hidden is junk.
|
||||
if (!_chunkFilePattern.hasMatch(name)) {
|
||||
await entity.delete();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
final stat = entity.statSync();
|
||||
models.add(
|
||||
ImageCodecModelRecord(
|
||||
id: name,
|
||||
name: name,
|
||||
sourceUrl: '',
|
||||
localPath: entity.path,
|
||||
downloadedAt: stat.modified,
|
||||
fileSizeBytes: stat.size,
|
||||
),
|
||||
);
|
||||
}
|
||||
return models;
|
||||
}
|
||||
|
||||
Future<void> deleteModel(ImageCodecModelRecord model) async {
|
||||
await deleteFile(model.localPath);
|
||||
await deletePartialDownloads(model.name);
|
||||
}
|
||||
|
||||
/// Removes any resume state for [fileName].
|
||||
///
|
||||
/// Called after a successful download and when a model is removed. Without it
|
||||
/// the chunk files, which [scanDownloadedModels] now deliberately preserves,
|
||||
/// would never be collected.
|
||||
Future<void> deletePartialDownloads(String fileName) async {
|
||||
if (fileName.isEmpty) return;
|
||||
final dir = Directory(await modelDirectoryPath());
|
||||
if (!dir.existsSync()) return;
|
||||
// `.<fileName>[.<totalSize>]_chunk_<n>`. The optional size segment is what
|
||||
// `ImageCodecService` appends so resume can never splice offsets computed
|
||||
// for one upstream length onto a file of another. Anchored on both ends so
|
||||
// sweeping `model.onnx` cannot take `model.onnx.data`'s chunks with it.
|
||||
final pattern = RegExp(
|
||||
'^\\.${RegExp.escape(fileName)}(\\.\\d+)?_chunk_\\d+\$',
|
||||
);
|
||||
for (final entity in dir.listSync().whereType<File>()) {
|
||||
if (pattern.hasMatch(entity.uri.pathSegments.last)) {
|
||||
await entity.delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> deleteFile(String path) async {
|
||||
final file = File(path);
|
||||
if (file.existsSync()) {
|
||||
await file.delete();
|
||||
}
|
||||
}
|
||||
|
||||
Future<DownloadedCodecFile> writeModelBytes({
|
||||
required String fileName,
|
||||
required Stream<List<int>> chunks,
|
||||
}) async {
|
||||
final directoryPath = await modelDirectoryPath();
|
||||
final file = File('$directoryPath/$fileName');
|
||||
final sink = file.openWrite();
|
||||
var fileSizeBytes = 0;
|
||||
var completed = false;
|
||||
try {
|
||||
await for (final chunk in chunks) {
|
||||
sink.add(chunk);
|
||||
fileSizeBytes += chunk.length;
|
||||
}
|
||||
completed = true;
|
||||
} finally {
|
||||
await sink.close();
|
||||
if (!completed && file.existsSync()) {
|
||||
await file.delete();
|
||||
}
|
||||
}
|
||||
return DownloadedCodecFile(
|
||||
localPath: file.path,
|
||||
fileSizeBytes: fileSizeBytes,
|
||||
);
|
||||
}
|
||||
|
||||
Future<String> chunkFilePath(String fileName, int index) async {
|
||||
final dir = await modelDirectoryPath();
|
||||
return '$dir/.${fileName}_chunk_$index';
|
||||
}
|
||||
|
||||
Future<String> modelFilePath(String fileName) async {
|
||||
final dir = await modelDirectoryPath();
|
||||
return '$dir/$fileName';
|
||||
}
|
||||
|
||||
/// Size of [path] in bytes, or 0 when it does not exist.
|
||||
///
|
||||
/// This is the whole basis of resume: a chunk file's length *is* its progress
|
||||
/// marker, so no separate state file can go stale or disagree with the bytes.
|
||||
Future<int> fileSize(String path) async {
|
||||
final file = File(path);
|
||||
if (!file.existsSync()) {
|
||||
return 0;
|
||||
}
|
||||
return file.length();
|
||||
}
|
||||
|
||||
/// Appends [chunks] to [path], creating it if absent.
|
||||
///
|
||||
/// Unlike [writeModelBytes] this does NOT delete the file when the stream
|
||||
/// fails part-way: the partial bytes are exactly what the next attempt
|
||||
/// resumes from. Returns the file's total size afterwards.
|
||||
Future<int> appendBytes({
|
||||
required String path,
|
||||
required Stream<List<int>> chunks,
|
||||
}) async {
|
||||
final file = File(path);
|
||||
await file.parent.create(recursive: true);
|
||||
final sink = file.openWrite(mode: FileMode.append);
|
||||
try {
|
||||
await for (final chunk in chunks) {
|
||||
sink.add(chunk);
|
||||
}
|
||||
} finally {
|
||||
// flush() inside close(); the bytes written before a failure survive on
|
||||
// purpose, so the next Range request can pick up from file.length().
|
||||
await sink.close();
|
||||
}
|
||||
return file.length();
|
||||
}
|
||||
|
||||
/// Streaming SHA-256 of [path] as lowercase hex.
|
||||
///
|
||||
/// Streamed, not `readAsBytes`: the data sibling is 869 MiB and reading it into
|
||||
/// a Uint8List to hash it would defeat the point of downloading it to disk.
|
||||
Future<String> sha256OfFile(String path) async {
|
||||
final accumulator = AccumulatorSink<Digest>();
|
||||
final converter = sha256.startChunkedConversion(accumulator);
|
||||
try {
|
||||
await for (final chunk in File(path).openRead()) {
|
||||
converter.add(chunk);
|
||||
}
|
||||
} finally {
|
||||
converter.close();
|
||||
}
|
||||
return accumulator.events.single.toString();
|
||||
}
|
||||
|
||||
/// Reads an arbitrary file (a picked photo, not a model) as bytes.
|
||||
///
|
||||
/// Lives here so `ImageCodecService` never has to import `dart:io` and can
|
||||
/// therefore still be constructed on web.
|
||||
Future<Uint8List> readFileBytes(String path) => File(path).readAsBytes();
|
||||
|
||||
Future<DownloadedCodecFile> combineChunks({
|
||||
required String fileName,
|
||||
required List<String> chunkPaths,
|
||||
}) async {
|
||||
final dir = await modelDirectoryPath();
|
||||
final finalPath = '$dir/$fileName';
|
||||
final sink = File(finalPath).openWrite();
|
||||
var totalSize = 0;
|
||||
var completed = false;
|
||||
try {
|
||||
for (final chunkPath in chunkPaths) {
|
||||
final chunkFile = File(chunkPath);
|
||||
await sink.addStream(chunkFile.openRead());
|
||||
totalSize += await chunkFile.length();
|
||||
}
|
||||
completed = true;
|
||||
} finally {
|
||||
await sink.close();
|
||||
if (completed) {
|
||||
for (final chunkPath in chunkPaths) {
|
||||
final file = File(chunkPath);
|
||||
if (file.existsSync()) {
|
||||
await file.delete();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Keep the chunk files: they are the resume state. Only the half-written
|
||||
// merge target is thrown away. (The previous version deleted the chunks
|
||||
// unconditionally, which is why an interrupted 872 MB download restarted
|
||||
// from zero.)
|
||||
final finalFile = File(finalPath);
|
||||
if (finalFile.existsSync()) {
|
||||
await finalFile.delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
return DownloadedCodecFile(localPath: finalPath, fileSizeBytes: totalSize);
|
||||
}
|
||||
|
||||
/// Free bytes are not queryable without a platform channel, so callers that
|
||||
/// need a pre-flight space check must supply their own. Kept here as the
|
||||
/// documented seam rather than a silent omission: an 833 MB download that
|
||||
/// dies at 90% full is the most likely field failure for this feature.
|
||||
// TODO(disk): add a free-space pre-flight (needs a platform channel or the
|
||||
// `disk_space_plus` package) before enabling the download button.
|
||||
}
|
||||
|
||||
class DownloadedCodecFile {
|
||||
final String localPath;
|
||||
final int fileSizeBytes;
|
||||
|
||||
const DownloadedCodecFile({
|
||||
required this.localPath,
|
||||
required this.fileSizeBytes,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import '../models/image_codec_support.dart';
|
||||
|
||||
class ImageCodecFileStore {
|
||||
Future<String> modelDirectoryPath() async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
|
||||
Future<List<ImageCodecModelRecord>> scanDownloadedModels() async {
|
||||
return const [];
|
||||
}
|
||||
|
||||
Future<void> deleteModel(ImageCodecModelRecord model) async {}
|
||||
|
||||
Future<void> deleteFile(String path) async {}
|
||||
|
||||
Future<DownloadedCodecFile> writeModelBytes({
|
||||
required String fileName,
|
||||
required Stream<List<int>> chunks,
|
||||
}) async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
|
||||
Future<String> chunkFilePath(String fileName, int index) async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
|
||||
Future<String> modelFilePath(String fileName) async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> deletePartialDownloads(String fileName) async {}
|
||||
|
||||
Future<int> fileSize(String path) async => 0;
|
||||
|
||||
Future<int> appendBytes({
|
||||
required String path,
|
||||
required Stream<List<int>> chunks,
|
||||
}) async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
|
||||
Future<String> sha256OfFile(String path) async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
|
||||
Future<Uint8List> readFileBytes(String path) async {
|
||||
throw UnsupportedError('Local file reads are not supported on web.');
|
||||
}
|
||||
|
||||
Future<DownloadedCodecFile> combineChunks({
|
||||
required String fileName,
|
||||
required List<String> chunkPaths,
|
||||
}) async {
|
||||
throw UnsupportedError(
|
||||
'Local codec model storage is not supported on web.',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class DownloadedCodecFile {
|
||||
final String localPath;
|
||||
final int fileSizeBytes;
|
||||
|
||||
const DownloadedCodecFile({
|
||||
required this.localPath,
|
||||
required this.fileSizeBytes,
|
||||
});
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,2 @@
|
||||
export 'image_codec_session_stub.dart'
|
||||
if (dart.library.io) 'image_codec_session_io.dart';
|
||||
@@ -0,0 +1,606 @@
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:isolate';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter/foundation.dart' show visibleForTesting;
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import '../models/image_codec_support.dart';
|
||||
import '../widgets/image_send_codec_binding.dart' show kImageCodecSquareSize;
|
||||
import 'image_codec_backend.dart';
|
||||
import 'entropy_tables.dart';
|
||||
|
||||
/// Owns a long-lived [Isolate] and the native codec session inside it.
|
||||
///
|
||||
/// A decode is 1385 GFLOP over 886M parameters. It must never run on the root
|
||||
/// isolate: it would freeze the UI and, worse, stall the BLE notify stream that
|
||||
/// `MeshCoreConnector._handleFrame()` feeds on, dropping mesh traffic while a
|
||||
/// picture renders.
|
||||
///
|
||||
/// The isolate is spawned once per model load and reused, because loading the
|
||||
/// model is the expensive part (~833 MB int8). This is the same amortisation
|
||||
/// `TranslationService._ensureContext` gets for free from llamadart, which owns
|
||||
/// its own worker thread. Do NOT switch this to `Isolate.run` per call.
|
||||
///
|
||||
/// Message protocol (all maps, all `type`-tagged):
|
||||
/// worker -> host `ready` {port: SendPort, backend: String,
|
||||
/// bitstream: bool, entropy: bool, tables: bool}
|
||||
/// `fatal` {error: String} — during startup only
|
||||
/// `progress` {id: int, value: double}
|
||||
/// `result` {id: int, bytes: Uint8List}
|
||||
/// `released` {id: int}
|
||||
/// `error` {id: int, error: String, stack: String?}
|
||||
/// host -> worker `job` {id, op: 'encode'|'decode'|'decodeLatent',
|
||||
/// bytes | latents, rate, size}
|
||||
/// `release` {id, which: 'decoder'|'entropy'|'both'}
|
||||
/// `cancel` {}
|
||||
/// `shutdown` {}
|
||||
///
|
||||
/// ## Two sessions, two lifetimes
|
||||
///
|
||||
/// The backend holds the 2.16 GiB decoder and the 67 MB entropy graph
|
||||
/// independently, and [release] is how the host sheds one without killing the
|
||||
/// other. It exists because `decode()` MUST drop the entropy graph before it
|
||||
/// creates the decoder — holding both at once is ~2.2 GiB plus 67 MB of arena
|
||||
/// on a phone — and because memory pressure wants the big half gone while the
|
||||
/// small half (all that `encode()` needs) can survive.
|
||||
///
|
||||
/// ## Plugin channels on a background isolate
|
||||
///
|
||||
/// The ONNX backend is a *plugin*, reached over a platform channel, and a plain
|
||||
/// spawned isolate has no binary messenger — every `invokeMethod` would throw
|
||||
/// until `BackgroundIsolateBinaryMessenger.ensureInitialized` is handed a
|
||||
/// [RootIsolateToken] captured on the root isolate. That token is part of the
|
||||
/// boot payload below. Consequence: [spawn] must be called from the root
|
||||
/// isolate. It is (via `ImageCodecService`), and if that ever changes the token
|
||||
/// is null and the worker fails loudly at startup instead of on first inference.
|
||||
class ImageCodecSession {
|
||||
final Isolate _isolate;
|
||||
final SendPort _toWorker;
|
||||
final ReceivePort _fromWorker;
|
||||
final ReceivePort _errors;
|
||||
|
||||
/// Name of the backend that actually loaded, for logs and error strings.
|
||||
final String backendName;
|
||||
|
||||
/// Whether the loaded backend can turn bytes into a picture, as opposed to
|
||||
/// only latents into a picture. True only when the bundle carried the entropy
|
||||
/// graph and the CDF tables AND the backend implements the entropy path.
|
||||
final bool supportsBitstreamCodec;
|
||||
|
||||
/// Whether the bundle handed to [spawn] carried an entropy-side graph.
|
||||
final bool hasEntropyGraph;
|
||||
|
||||
/// Whether the bundle handed to [spawn] carried a CDF table file.
|
||||
final bool hasTables;
|
||||
|
||||
final Map<int, _PendingJob> _pending = {};
|
||||
final Map<int, Completer<void>> _pendingReleases = {};
|
||||
int _nextJobId = 1;
|
||||
bool _disposed = false;
|
||||
|
||||
ImageCodecSession._({
|
||||
required Isolate isolate,
|
||||
required SendPort toWorker,
|
||||
required ReceivePort fromWorker,
|
||||
required ReceivePort errors,
|
||||
required this.backendName,
|
||||
required this.supportsBitstreamCodec,
|
||||
required this.hasEntropyGraph,
|
||||
required this.hasTables,
|
||||
}) : _isolate = isolate,
|
||||
_toWorker = toWorker,
|
||||
_fromWorker = fromWorker,
|
||||
_errors = errors;
|
||||
|
||||
/// Spawns the worker and blocks until the backend has *validated* [bundle].
|
||||
///
|
||||
/// Cheap by design: `load()` parses the CDF tables (813 KB) and checks that
|
||||
/// every path exists, and creates NO ORT session. Sessions are created lazily
|
||||
/// by the first operation that needs one, which is what lets a send pay for
|
||||
/// the 67 MB entropy graph alone instead of the 2.16 GiB decoder as well.
|
||||
///
|
||||
/// Throws [ImageCodecUnimplemented] when no inference backend is compiled
|
||||
/// into the build, or whatever the backend threw while loading.
|
||||
static Future<ImageCodecSession> spawn(ImageCodecBundle bundle) async {
|
||||
final fromWorker = ReceivePort();
|
||||
final errors = ReceivePort();
|
||||
final handshake = Completer<Map<String, Object?>>();
|
||||
ImageCodecSession? session;
|
||||
|
||||
fromWorker.listen((message) {
|
||||
if (message is! Map) return;
|
||||
final map = message.cast<String, Object?>();
|
||||
final active = session;
|
||||
if (active != null) {
|
||||
active._handleMessage(map);
|
||||
} else if (!handshake.isCompleted) {
|
||||
handshake.complete(map);
|
||||
}
|
||||
});
|
||||
|
||||
errors.listen((message) {
|
||||
final description = message is List && message.isNotEmpty
|
||||
? message.first.toString()
|
||||
: message.toString();
|
||||
final active = session;
|
||||
if (active != null) {
|
||||
active._failAll(StateError('Image codec isolate died: $description'));
|
||||
} else if (!handshake.isCompleted) {
|
||||
handshake.complete({'type': 'fatal', 'error': description});
|
||||
}
|
||||
});
|
||||
|
||||
late final Isolate isolate;
|
||||
try {
|
||||
isolate = await Isolate.spawn<List<Object?>>(
|
||||
_codecWorkerMain,
|
||||
_bootPayload(
|
||||
bundle,
|
||||
fromWorker.sendPort,
|
||||
// Null when spawn() was not called from the root isolate. The worker
|
||||
// treats that as a fatal startup error rather than limping on to fail
|
||||
// at the first invokeMethod.
|
||||
RootIsolateToken.instance,
|
||||
),
|
||||
errorsAreFatal: true,
|
||||
onError: errors.sendPort,
|
||||
debugName: 'image-codec',
|
||||
);
|
||||
} catch (_) {
|
||||
fromWorker.close();
|
||||
errors.close();
|
||||
rethrow;
|
||||
}
|
||||
|
||||
Map<String, Object?> reply;
|
||||
try {
|
||||
reply = await handshake.future;
|
||||
} catch (_) {
|
||||
isolate.kill(priority: Isolate.immediate);
|
||||
fromWorker.close();
|
||||
errors.close();
|
||||
rethrow;
|
||||
}
|
||||
|
||||
if (reply['type'] != 'ready') {
|
||||
isolate.kill(priority: Isolate.immediate);
|
||||
fromWorker.close();
|
||||
errors.close();
|
||||
final detail = reply['error']?.toString() ?? 'unknown startup failure';
|
||||
if (reply['unimplemented'] == true) {
|
||||
throw ImageCodecUnimplemented(detail);
|
||||
}
|
||||
throw StateError('Image codec failed to start: $detail');
|
||||
}
|
||||
|
||||
return session = ImageCodecSession._(
|
||||
isolate: isolate,
|
||||
toWorker: reply['port'] as SendPort,
|
||||
fromWorker: fromWorker,
|
||||
errors: errors,
|
||||
backendName: reply['backend'] as String? ?? 'unknown',
|
||||
supportsBitstreamCodec: reply['bitstream'] == true,
|
||||
hasEntropyGraph: reply['entropy'] == true,
|
||||
hasTables: reply['tables'] == true,
|
||||
);
|
||||
}
|
||||
|
||||
/// Runs the synthesis half: `y_hat` -> packed 8-bit RGB.
|
||||
///
|
||||
/// This is the one inference path that actually works today. [encode] and
|
||||
/// [decode] fail with [ImageCodecEntropyPathMissing] until the entropy-side
|
||||
/// graph and the rANS coder land.
|
||||
Future<Uint8List> decodeLatent(
|
||||
Float32List yHat, {
|
||||
void Function(double progress)? onProgress,
|
||||
}) {
|
||||
return _submit(
|
||||
op: 'decodeLatent',
|
||||
latents: yHat,
|
||||
ratePoint: kShippingAeicRatePoint,
|
||||
resolution: kImageCodecSquareSize,
|
||||
onProgress: onProgress,
|
||||
);
|
||||
}
|
||||
|
||||
Future<Uint8List> encode(
|
||||
Uint8List rgbBytes,
|
||||
AeicRatePoint ratePoint,
|
||||
int resolution, {
|
||||
void Function(double progress)? onProgress,
|
||||
}) {
|
||||
return _submit(
|
||||
op: 'encode',
|
||||
bytes: rgbBytes,
|
||||
ratePoint: ratePoint,
|
||||
resolution: resolution,
|
||||
onProgress: onProgress,
|
||||
);
|
||||
}
|
||||
|
||||
Future<Uint8List> decode(
|
||||
Uint8List bitstream,
|
||||
AeicRatePoint ratePoint,
|
||||
int resolution, {
|
||||
void Function(double progress)? onProgress,
|
||||
}) {
|
||||
return _submit(
|
||||
op: 'decode',
|
||||
bytes: bitstream,
|
||||
ratePoint: ratePoint,
|
||||
resolution: resolution,
|
||||
onProgress: onProgress,
|
||||
);
|
||||
}
|
||||
|
||||
Future<Uint8List> _submit({
|
||||
required String op,
|
||||
Uint8List? bytes,
|
||||
Float32List? latents,
|
||||
required AeicRatePoint ratePoint,
|
||||
required int resolution,
|
||||
void Function(double progress)? onProgress,
|
||||
}) {
|
||||
if (_disposed) {
|
||||
return Future.error(StateError('Image codec session disposed.'));
|
||||
}
|
||||
final id = _nextJobId++;
|
||||
final job = _PendingJob(onProgress: onProgress);
|
||||
_pending[id] = job;
|
||||
_toWorker.send(<String, Object?>{
|
||||
'type': 'job',
|
||||
'id': id,
|
||||
'op': op,
|
||||
'bytes': ?bytes,
|
||||
'latents': ?latents,
|
||||
'rate': ratePoint.wireValue,
|
||||
'size': resolution,
|
||||
});
|
||||
return job.completer.future;
|
||||
}
|
||||
|
||||
/// Drops one or both ORT sessions without killing the isolate.
|
||||
///
|
||||
/// The paths stay recorded inside the backend, so a released session is
|
||||
/// re-created on the next call that needs it. Completes when the worker has
|
||||
/// acknowledged, so a caller can rely on the memory being back before it
|
||||
/// creates the other session.
|
||||
///
|
||||
/// Queued behind any in-flight job, like every other command: releasing the
|
||||
/// decoder out from under a running synthesis pass would crash ORT.
|
||||
Future<void> release({bool decoder = false, bool entropy = false}) {
|
||||
if (!decoder && !entropy) return Future<void>.value();
|
||||
if (_disposed) return Future<void>.value();
|
||||
final id = _nextJobId++;
|
||||
final completer = Completer<void>();
|
||||
_pendingReleases[id] = completer;
|
||||
_toWorker.send(<String, Object?>{
|
||||
'type': 'release',
|
||||
'id': id,
|
||||
'which': decoder && entropy
|
||||
? 'both'
|
||||
: decoder
|
||||
? 'decoder'
|
||||
: 'entropy',
|
||||
});
|
||||
return completer.future;
|
||||
}
|
||||
|
||||
/// Cooperative cancel.
|
||||
///
|
||||
/// The worker sets a flag that the backend polls at stage boundaries. A
|
||||
/// backend sitting inside one long blocking native call cannot be
|
||||
/// interrupted this way — for a hard stop, call [dispose], which kills the
|
||||
/// isolate outright and frees the model.
|
||||
void cancel() {
|
||||
if (_disposed) return;
|
||||
_toWorker.send(const <String, Object?>{'type': 'cancel'});
|
||||
}
|
||||
|
||||
void _handleMessage(Map<String, Object?> message) {
|
||||
final id = message['id'];
|
||||
final job = id is int ? _pending[id] : null;
|
||||
switch (message['type']) {
|
||||
case 'progress':
|
||||
final value = message['value'];
|
||||
if (value is num) {
|
||||
job?.onProgress?.call(value.toDouble().clamp(0.0, 1.0));
|
||||
}
|
||||
case 'result':
|
||||
if (id is int) _pending.remove(id);
|
||||
final bytes = message['bytes'];
|
||||
if (bytes is Uint8List) {
|
||||
job?.completer.complete(bytes);
|
||||
} else {
|
||||
job?.completer.completeError(
|
||||
StateError('Image codec returned no bytes.'),
|
||||
);
|
||||
}
|
||||
case 'released':
|
||||
if (id is int) {
|
||||
final release = _pendingReleases.remove(id);
|
||||
if (release != null && !release.isCompleted) {
|
||||
release.complete();
|
||||
}
|
||||
}
|
||||
case 'error':
|
||||
if (id is int) {
|
||||
_pending.remove(id);
|
||||
// A release can fail too; never leave its caller hanging.
|
||||
final release = _pendingReleases.remove(id);
|
||||
if (release != null && !release.isCompleted) {
|
||||
release.complete();
|
||||
}
|
||||
}
|
||||
job?.completer.completeError(
|
||||
StateError(message['error']?.toString() ?? 'Image codec failed.'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void _failAll(Object error) {
|
||||
final jobs = _pending.values.toList();
|
||||
_pending.clear();
|
||||
for (final job in jobs) {
|
||||
if (!job.completer.isCompleted) {
|
||||
job.completer.completeError(error);
|
||||
}
|
||||
}
|
||||
// Releases resolve rather than fail: the isolate dying IS the memory being
|
||||
// freed, which is all the caller was waiting for.
|
||||
final releases = _pendingReleases.values.toList();
|
||||
_pendingReleases.clear();
|
||||
for (final release in releases) {
|
||||
if (!release.isCompleted) {
|
||||
release.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Kills the isolate and frees the model's resident memory.
|
||||
Future<void> dispose() async {
|
||||
if (_disposed) return;
|
||||
_disposed = true;
|
||||
_toWorker.send(const <String, Object?>{'type': 'shutdown'});
|
||||
// Give the worker one event-loop turn to release the native session
|
||||
// cleanly, then take the memory back regardless.
|
||||
await Future<void>.delayed(const Duration(milliseconds: 50));
|
||||
_isolate.kill(priority: Isolate.immediate);
|
||||
_failAll(StateError('Image codec session disposed.'));
|
||||
_fromWorker.close();
|
||||
_errors.close();
|
||||
}
|
||||
}
|
||||
|
||||
class _PendingJob {
|
||||
final Completer<Uint8List> completer = Completer<Uint8List>();
|
||||
final void Function(double progress)? onProgress;
|
||||
|
||||
_PendingJob({this.onProgress});
|
||||
}
|
||||
|
||||
/// The positional payload handed to the codec worker isolate.
|
||||
///
|
||||
/// Built and parsed in ONE place on purpose. When these were two hand-written
|
||||
/// lists, `entropyDecodeGraphPath` was added to the bundle but never to the
|
||||
/// list, so the worker rebuilt a bundle that could not decode — while
|
||||
/// `canDecode`, computed on the main isolate where the path existed, said it
|
||||
/// could. Every decode threw `ImageCodecBundleIncomplete` and told the user to
|
||||
/// re-download a model that was already correct. The whole suite stayed green,
|
||||
/// because both halves were individually right.
|
||||
///
|
||||
/// APPEND new fields; never insert. The list is positional and the casts are
|
||||
/// permissive enough that a shifted `tablesPath` would be read as the rate
|
||||
/// point rather than throwing.
|
||||
List<Object?> _bootPayload(
|
||||
ImageCodecBundle bundle,
|
||||
SendPort reply,
|
||||
RootIsolateToken? rootToken,
|
||||
) => <Object?>[
|
||||
reply, // 0
|
||||
bundle.decoderGraphPath, // 1
|
||||
bundle.entropyGraphPath, // 2
|
||||
bundle.tablesPath, // 3
|
||||
bundle.ratePoint.wireValue, // 4
|
||||
rootToken, // 5
|
||||
bundle.entropyDecodeGraphPath, // 6
|
||||
];
|
||||
|
||||
/// Rebuilds the bundle from [_bootPayload]. Tolerates a short list so a
|
||||
/// truncated or older message degrades to "cannot decode" instead of throwing a
|
||||
/// RangeError inside the isolate, where it would surface as an opaque spawn
|
||||
/// failure.
|
||||
ImageCodecBundle _bundleFromBootPayload(List<Object?> boot) => ImageCodecBundle(
|
||||
decoderGraphPath: boot[1] as String,
|
||||
entropyGraphPath: boot[2] as String?,
|
||||
tablesPath: boot[3] as String?,
|
||||
ratePoint: parseAeicRatePoint(boot[4] as int? ?? -1),
|
||||
entropyDecodeGraphPath: boot.length > 6 ? boot[6] as String? : null,
|
||||
);
|
||||
|
||||
/// Test seams for the boot payload. Not for production use — see
|
||||
/// `test/services/image_codec_boot_payload_test.dart`, which exists because
|
||||
/// this connection has broken twice.
|
||||
@visibleForTesting
|
||||
List<Object?> debugBootPayloadFor(ImageCodecBundle bundle) =>
|
||||
_bootPayload(bundle, _NullSendPort(), null);
|
||||
|
||||
@visibleForTesting
|
||||
ImageCodecBundle debugBundleFromBootPayload(List<Object?> boot) =>
|
||||
_bundleFromBootPayload(boot);
|
||||
|
||||
/// Stand-in so [debugBootPayloadFor] needs no live isolate.
|
||||
class _NullSendPort implements SendPort {
|
||||
@override
|
||||
void send(Object? message) {}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other);
|
||||
|
||||
@override
|
||||
int get hashCode => 0;
|
||||
}
|
||||
|
||||
/// Entry point of the codec worker isolate.
|
||||
Future<void> _codecWorkerMain(List<Object?> boot) async {
|
||||
final reply = boot[0] as SendPort;
|
||||
final bundle = _bundleFromBootPayload(boot);
|
||||
final rootToken = boot[5] as RootIsolateToken?;
|
||||
|
||||
if (rootToken == null) {
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'fatal',
|
||||
'error':
|
||||
'RootIsolateToken was unavailable, so the ONNX plugin channel cannot '
|
||||
'be reached from this isolate. ImageCodecSession.spawn() must be '
|
||||
'called from the root isolate.',
|
||||
});
|
||||
return;
|
||||
}
|
||||
// Without this the backend's very first invokeMethod throws. Must happen
|
||||
// before createImageCodecBackend(), which constructs the plugin wrapper.
|
||||
BackgroundIsolateBinaryMessenger.ensureInitialized(rootToken);
|
||||
|
||||
final backend = createImageCodecBackend();
|
||||
if (backend == null) {
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'fatal',
|
||||
'unimplemented': true,
|
||||
'error':
|
||||
'no inference backend is compiled into this build '
|
||||
'(see lib/services/image_codec_backend.dart)',
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// The bitstream path is a seam so that image_codec_backend.dart can compile
|
||||
// for web, where dart:io does not exist. This worker isolate is native-only,
|
||||
// so it is the correct place to close it -- and it must happen BEFORE
|
||||
// backend.load(), because load() reads supportsBitstreamCodec to decide
|
||||
// whether the codec can encode or decode at all. Left unassigned, the whole
|
||||
// entropy path is dead even with kImageCodecBitstreamPathAvailable true.
|
||||
imageCodecRansCoderBuilder ??= (path) async =>
|
||||
AeicRansCoders(EntropyTables.parse(await File(path).readAsBytes()));
|
||||
|
||||
try {
|
||||
await backend.load(bundle);
|
||||
} catch (error) {
|
||||
reply.send(<String, Object?>{'type': 'fatal', 'error': error.toString()});
|
||||
await backend.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
final commands = ReceivePort();
|
||||
var cancelRequested = false;
|
||||
var queue = Future<void>.value();
|
||||
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'ready',
|
||||
'port': commands.sendPort,
|
||||
'backend': backend.name,
|
||||
// `bitstream` is the backend's own answer (does this build have the entropy
|
||||
// path at all?); `entropy`/`tables` describe what THIS INSTALL supplied. A
|
||||
// pre-bundle install reports bitstream:true, tables:false — a state the
|
||||
// service must surface as "re-download", not as "your build cannot".
|
||||
'bitstream': backend.supportsBitstreamCodec,
|
||||
'entropy': bundle.entropyGraphPath != null,
|
||||
'tables': bundle.tablesPath != null,
|
||||
});
|
||||
|
||||
commands.listen((message) {
|
||||
if (message is! Map) return;
|
||||
final map = message.cast<String, Object?>();
|
||||
switch (map['type']) {
|
||||
case 'cancel':
|
||||
// Handled on the event loop, so it lands between backend stages.
|
||||
cancelRequested = true;
|
||||
case 'shutdown':
|
||||
commands.close();
|
||||
unawaited(backend.dispose());
|
||||
case 'release':
|
||||
// Queued behind any running job: tearing an ORT session down while it
|
||||
// is executing is a native crash, not an exception.
|
||||
queue = queue.then((_) async {
|
||||
final id = map['id'] as int?;
|
||||
try {
|
||||
final which = map['which'];
|
||||
if (which == 'decoder' || which == 'both') {
|
||||
await backend.releaseDecoderSession();
|
||||
}
|
||||
if (which == 'entropy' || which == 'both') {
|
||||
await backend.releaseEntropySession();
|
||||
}
|
||||
reply.send(<String, Object?>{'type': 'released', 'id': id});
|
||||
} catch (error) {
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'error',
|
||||
'id': id,
|
||||
'error': error.toString(),
|
||||
});
|
||||
}
|
||||
});
|
||||
case 'job':
|
||||
queue = queue.then((_) async {
|
||||
cancelRequested = false;
|
||||
final id = map['id'] as int;
|
||||
try {
|
||||
final ratePoint = parseAeicRatePoint(
|
||||
map['rate'] as int? ?? kShippingAeicRatePoint.wireValue,
|
||||
);
|
||||
final resolution = map['size'] as int? ?? kImageCodecSquareSize;
|
||||
void onProgress(double value) {
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'progress',
|
||||
'id': id,
|
||||
'value': value,
|
||||
});
|
||||
}
|
||||
|
||||
bool shouldCancel() => cancelRequested;
|
||||
|
||||
final Uint8List result;
|
||||
switch (map['op']) {
|
||||
case 'decodeLatent':
|
||||
result = await backend.decodeLatentToRgb(
|
||||
yHat: map['latents'] as Float32List,
|
||||
onProgress: onProgress,
|
||||
shouldCancel: shouldCancel,
|
||||
);
|
||||
case 'encode':
|
||||
result = await backend.encode(
|
||||
rgbBytes: map['bytes'] as Uint8List,
|
||||
ratePoint: ratePoint,
|
||||
resolution: resolution,
|
||||
onProgress: onProgress,
|
||||
shouldCancel: shouldCancel,
|
||||
);
|
||||
case 'decode':
|
||||
result = await backend.decode(
|
||||
bitstream: map['bytes'] as Uint8List,
|
||||
ratePoint: ratePoint,
|
||||
resolution: resolution,
|
||||
onProgress: onProgress,
|
||||
shouldCancel: shouldCancel,
|
||||
);
|
||||
default:
|
||||
throw StateError('Unknown codec op: ${map['op']}');
|
||||
}
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'result',
|
||||
'id': id,
|
||||
'bytes': result,
|
||||
});
|
||||
} catch (error, stackTrace) {
|
||||
reply.send(<String, Object?>{
|
||||
'type': 'error',
|
||||
'id': id,
|
||||
'error': error.toString(),
|
||||
'stack': stackTrace.toString(),
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import '../models/image_codec_support.dart';
|
||||
|
||||
/// Web stand-in. There is no isolate and no native runtime on web, so the
|
||||
/// session cannot exist; `ImageCodecService` gates on `kIsWeb` long before it
|
||||
/// would reach here.
|
||||
class ImageCodecSession {
|
||||
ImageCodecSession._();
|
||||
|
||||
static Future<ImageCodecSession> spawn(ImageCodecBundle bundle) async {
|
||||
throw UnsupportedError('The image codec is not supported on web.');
|
||||
}
|
||||
|
||||
String get backendName => 'unsupported';
|
||||
|
||||
bool get supportsBitstreamCodec => false;
|
||||
|
||||
bool get hasEntropyGraph => false;
|
||||
|
||||
bool get hasTables => false;
|
||||
|
||||
Future<void> release({bool decoder = false, bool entropy = false}) async {}
|
||||
|
||||
Future<Uint8List> decodeLatent(
|
||||
Float32List yHat, {
|
||||
void Function(double progress)? onProgress,
|
||||
}) async {
|
||||
throw UnsupportedError('The image codec is not supported on web.');
|
||||
}
|
||||
|
||||
Future<Uint8List> encode(
|
||||
Uint8List rgbBytes,
|
||||
AeicRatePoint ratePoint,
|
||||
int resolution, {
|
||||
void Function(double progress)? onProgress,
|
||||
}) async {
|
||||
throw UnsupportedError('The image codec is not supported on web.');
|
||||
}
|
||||
|
||||
Future<Uint8List> decode(
|
||||
Uint8List bitstream,
|
||||
AeicRatePoint ratePoint,
|
||||
int resolution, {
|
||||
void Function(double progress)? onProgress,
|
||||
}) async {
|
||||
throw UnsupportedError('The image codec is not supported on web.');
|
||||
}
|
||||
|
||||
void cancel() {}
|
||||
|
||||
Future<void> dispose() async {}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import '../models/image_codec_support.dart';
|
||||
import '../storage/prefs_manager.dart';
|
||||
import '../utils/app_logger.dart';
|
||||
|
||||
/// Persistence seam for [ImageCodecPreferences].
|
||||
///
|
||||
/// WHY THIS EXISTS. The app stack spec puts these five fields on `AppSettings`
|
||||
/// (`imageCodecEnabled`, `imageCodecSelectedModelId`, `imageCodecModelSourceUrl`,
|
||||
/// `imageCodecRatePoint`, `imageCodecDownloadedModels`) with matching setters on
|
||||
/// `AppSettingsService` — exactly like the translation block. That is still the
|
||||
/// right end state, but `app_settings.dart` and `app_settings_service.dart` are
|
||||
/// outside this workstream's file set, so the service talks to this interface
|
||||
/// instead of `AppSettingsService`.
|
||||
///
|
||||
/// Migration is mechanical: add the fields to `AppSettings` (the JSON keys in
|
||||
/// [ImageCodecPreferences.toJson] are already the `image_codec_*` snake_case
|
||||
/// names), then replace [PrefsImageCodecSettingsStore] with a thin adapter over
|
||||
/// `AppSettingsService`. No `ImageCodecService` code changes.
|
||||
abstract class ImageCodecSettingsStore {
|
||||
ImageCodecPreferences get preferences;
|
||||
|
||||
/// Loads persisted preferences. Safe to call more than once.
|
||||
Future<void> load();
|
||||
|
||||
Future<void> save(ImageCodecPreferences preferences);
|
||||
}
|
||||
|
||||
/// Default store: one SharedPreferences key holding the whole block as JSON.
|
||||
class PrefsImageCodecSettingsStore implements ImageCodecSettingsStore {
|
||||
static const String _key = 'image_codec_settings';
|
||||
|
||||
ImageCodecPreferences _preferences = const ImageCodecPreferences();
|
||||
bool _loaded = false;
|
||||
|
||||
@override
|
||||
ImageCodecPreferences get preferences => _preferences;
|
||||
|
||||
@override
|
||||
Future<void> load() async {
|
||||
if (_loaded) return;
|
||||
_loaded = true;
|
||||
try {
|
||||
final raw = PrefsManager.instance.getString(_key);
|
||||
if (raw == null) return;
|
||||
final json = jsonDecode(raw);
|
||||
if (json is Map<String, dynamic>) {
|
||||
_preferences = ImageCodecPreferences.fromJson(json);
|
||||
}
|
||||
} catch (error) {
|
||||
// Matches AppSettingsService.loadSettings: a corrupt blob falls back to
|
||||
// defaults rather than blocking startup.
|
||||
appLogger.warn('Image codec settings load failed: $error');
|
||||
_preferences = const ImageCodecPreferences();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> save(ImageCodecPreferences preferences) async {
|
||||
_preferences = preferences;
|
||||
_loaded = true;
|
||||
try {
|
||||
await PrefsManager.instance.setString(
|
||||
_key,
|
||||
jsonEncode(preferences.toJson()),
|
||||
);
|
||||
} catch (error) {
|
||||
appLogger.warn('Image codec settings save failed: $error');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Non-persisting store for tests and widget previews.
|
||||
class InMemoryImageCodecSettingsStore implements ImageCodecSettingsStore {
|
||||
ImageCodecPreferences _preferences;
|
||||
|
||||
InMemoryImageCodecSettingsStore([
|
||||
this._preferences = const ImageCodecPreferences(),
|
||||
]);
|
||||
|
||||
@override
|
||||
ImageCodecPreferences get preferences => _preferences;
|
||||
|
||||
@override
|
||||
Future<void> load() async {}
|
||||
|
||||
@override
|
||||
Future<void> save(ImageCodecPreferences preferences) async {
|
||||
_preferences = preferences;
|
||||
}
|
||||
}
|
||||
Loaded 100 of 237 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user