Merge zjs81/dev into ez_share_urlimage_PR
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
commit
4000c49213
152 files changed
+28635
-8600
No files matched your search
@@ -6,7 +6,7 @@ Open-source Flutter client for MeshCore LoRa mesh networking devices.
|
||||
|
||||
MeshCore Open is a cross-platform application for communicating with MeshCore LoRa mesh radios over Bluetooth Low Energy (BLE), USB serial, or TCP. The app enables long-range, off-grid communication through peer-to-peer messaging, public channels, and mesh networking capabilities.
|
||||
|
||||
**Website:** [meshcoreopen.org](https://meshcoreopen.org/)
|
||||
**Website:** [meshcoreopen.org](https://meshcoreopen.org/) · **Network map:** [map.meshcoreopen.org](https://map.meshcoreopen.org/)
|
||||
|
||||
<a href="https://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/zjs81/meshcore-open">
|
||||
<img src="assets/badges/badge_obtainium.png" height="80" align="center" alt="Get it on Obtainium"/>
|
||||
|
||||
+40
-4
@@ -1,6 +1,6 @@
|
||||
# Privacy Policy for MeshCore Open
|
||||
|
||||
**Last Updated:** September 27, 2026
|
||||
**Last Updated:** October 11, 2026
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -11,7 +11,7 @@ MeshCore Open ("the App") is an open-source Flutter application for communicatin
|
||||
### Data We Do NOT Collect
|
||||
|
||||
MeshCore Open does **not**:
|
||||
- Collect personal information for the developer
|
||||
- Collect personal information for the developer. The optional network map upload described below sends anonymized radio data only if you turn it on
|
||||
- Track your usage or behavior
|
||||
- Use analytics services
|
||||
- Require account creation
|
||||
@@ -54,7 +54,7 @@ Required by Android for BLE scanning on Android 11 and below. MeshCore Open does
|
||||
### Internet Permission
|
||||
- **INTERNET**
|
||||
|
||||
Used for features that access third-party internet services, including map tiles, Line-of-Sight elevation lookups, optional model downloads, GIF search/display, and optional URL image previews.
|
||||
Used for features that access third-party internet services, including map tiles, the MeshCore Open network map, Line-of-Sight elevation lookups, optional model downloads, GIF search/display, and optional URL image previews.
|
||||
|
||||
### Notification Permission
|
||||
- **POST_NOTIFICATIONS** (Android 13+)
|
||||
@@ -70,6 +70,39 @@ Used to maintain BLE connection with your MeshCore device while the app is in th
|
||||
|
||||
Camera access is used for contact and community QR scanning. Photo-library access is used when you select a photo for mesh image messaging. Selected photos are encoded locally for transmission over the mesh; the App does not upload them to a model service for inference.
|
||||
|
||||
## MeshCore Open Network Map
|
||||
|
||||
The MeshCore Open project runs a public network map at [map.meshcoreopen.org](https://map.meshcoreopen.org). It shows MeshCore repeaters, room servers, the links between them, traffic and measured coverage.
|
||||
|
||||
### Viewing the map
|
||||
When you use the Online or Both view on the App's map, the App requests map data for the area on screen from `map.meshcoreopen.org`. These requests include the visible map area and expose your device's IP address to the server as part of normal internet communication. Viewing the map never uploads anything.
|
||||
|
||||
### Sharing data (opt-in)
|
||||
Uploading is **off by default**. The first time a radio connects, the App asks once whether you want to share; you can also turn it on or off at any time in **Settings → App settings → Network map**. Turning it off stops uploads immediately and discards anything waiting to be sent.
|
||||
|
||||
While sharing is on and a radio is connected, the App sends the following about once a minute:
|
||||
|
||||
- **Packet headers** for packets your radio hears: payload type, route type, the repeater path hashes, hop count, signal strength (SNR/RSSI), size rounded to 16 bytes, a one-way packet fingerprint used to count duplicates, and the time rounded to the minute.
|
||||
- **Repeater and room server adverts** with a valid signature: public key, name, node type and advertised location.
|
||||
- **Your radio's position and settings**, if the radio has a position: rounded to a grid of about 2 km, plus its frequency, bandwidth, spreading factor and coding rate.
|
||||
- **A random install ID** that changes every 24 hours.
|
||||
|
||||
All locations are rounded to the ~2 km grid on your phone before upload, and the map shows them only as hexagons.
|
||||
|
||||
The App never uploads message text or payloads, channel or community names, keys or hashes, direct-message sender or recipient hashes, region transport codes, exact coordinates, your contact list, or information about chat or sensor nodes beyond the header-only packet records above.
|
||||
|
||||
### How the server handles uploads
|
||||
- **IP addresses are not stored or logged.** The server uses your IP address in memory to rate-limit uploads and to check whether a request comes from a hosting provider. To count how many independent people reported something, it keeps a keyed hash of your network prefix (the /24 IPv4 or /48 IPv6 block) until the end of the day. The key changes daily and is discarded, after which these hashes cannot be linked to an address; they are then deleted.
|
||||
- **Retention:** individual packet and advert records are deleted after 7 days. Hourly and daily totals (for example, the number of packets a link carried in a day) are kept longer to draw 30-day views.
|
||||
- **Public data:** repeater names, rough locations, links, traffic totals and coverage are shown publicly on the map and in the App.
|
||||
|
||||
Uploaded records are not linked to an account, name or device identity, so the project cannot find or delete a particular person's records; they expire on the schedule above.
|
||||
|
||||
### Hiding a repeater
|
||||
Repeater and room server owners can remove their node from the map by putting the 🚫 emoji anywhere in its name and sending a flood advert. Its name and location are then removed from the map, and the packet viewer shows it only as an anonymous repeater with its public key. Location traces tied to it, such as which areas heard it, are deleted too. To show it again, remove the emoji; it reappears with its first advert after 7 days without one.
|
||||
|
||||
See the map's [privacy page](https://map.meshcoreopen.org/privacy) for more detail.
|
||||
|
||||
## Third-Party Services
|
||||
|
||||
### Map Tiles
|
||||
@@ -99,6 +132,9 @@ The App includes a GIF picker feature powered by Giphy. When you use the GIF sea
|
||||
|
||||
GIF search is optional and activated through the picker. Displaying a GIF reference received in a chat also requests image content from Giphy’s CDN, even if you did not perform a search. See [Giphy's Privacy Policy](https://support.giphy.com/hc/en-us/articles/360032872931-GIPHY-Privacy-Policy) for more information about how they handle data.
|
||||
|
||||
### Device Purchase Link (Seeed Studio)
|
||||
The connection screen shows a link to buy a MeshCore device from Seeed Studio. The link contains a MeshCore Open affiliate code, so the project may earn a commission on purchases made through it, at no extra cost to you. The App sends nothing to Seeed Studio unless you tap the link; tapping it opens Seeed Studio's website in your browser, where Seeed Studio's own privacy policy applies.
|
||||
|
||||
### URL Image Previews and Custom Model URLs
|
||||
|
||||
When URL images are enabled for a contact or channel, supported links in messages can cause requests to the referenced image host, sharing-page provider, or IPFS gateway. These services receive the requested URL and normal connection information, including your IP address. Requests may occur when chat content is displayed rather than only after tapping the link. Disable URL images in the contact/channel settings to disable this preview feature.
|
||||
@@ -131,4 +167,4 @@ If you have questions about this Privacy Policy or the App's privacy practices,
|
||||
|
||||
---
|
||||
|
||||
**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, Giphy for GIF search/display, and image hosts/gateways for enabled URL previews.
|
||||
**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. If you opt in, the App uploads anonymized packet headers, repeater adverts and ~2 km rounded locations to the MeshCore Open network map; the server does not store IP addresses and deletes raw records after 7 days. Some optional features communicate with third-party services, including map tile providers, Open-Meteo for LOS elevation lookups, Hugging Face for model downloads, Giphy for GIF search/display, and image hosts/gateways for enabled URL previews.
|
||||
@@ -28,6 +28,7 @@ MeshCore Open is an open-source Flutter client for MeshCore LoRa mesh networking
|
||||
15. [Companion Radio Statistics](radio-statistics.md) - Noise, signal metrics, and airtime
|
||||
16. [Troubleshooting](troubleshooting.md) - BLE, USB, browser, and firmware issues
|
||||
17. [Review Mode](review-mode.md) - Simulated radio and reviewer instructions for Google Play and App Store review
|
||||
18. [Network Map](network-map.md) - Online repeater map, adding and managing repeaters from it, opt-in uploads, and hiding a repeater
|
||||
|
||||
## App Overview
|
||||
|
||||
@@ -53,8 +54,9 @@ MeshCore Open connects to MeshCore LoRa mesh radios over BLE, USB, or TCP. Once
|
||||
| Mesh image encoding/reconstruction | Local after model installation |
|
||||
| On-device translation | Local after model installation |
|
||||
| Model downloads | Internet required |
|
||||
| GIF search/display and URL image previews | Internet required to retrieve content |
|
||||
| GIF search/display, URL image previews, and IPFS image/file uploads | Internet required to upload or retrieve content |
|
||||
| Map display | Cached tiles work offline; uncached tiles need internet |
|
||||
| Online network map and opt-in uploads | Internet required |
|
||||
| Terrain LOS analysis | Elevation lookup needs internet unless the required data is already cached |
|
||||
|
||||
## Keeping documentation current
|
||||
|
||||
@@ -268,6 +268,14 @@ Enable URL images per contact in Chat → overflow → Contact Settings, or per
|
||||
|
||||
The message sends a reference; image retrieval needs internet access and makes requests to the relevant host or gateway. This differs from [image packets transmitted over the mesh](image-messages.md). With previews disabled, the chat may indicate that a message contains a possible image URL.
|
||||
|
||||
## Share an Image via IPFS
|
||||
|
||||
1. Configure **App Settings → IPFS provider configuration**. Choose Pinata, Filebase, or **Custom (Kubo)** for self hosted or other, then set the upload endpoint, upload gateway, and any required API key. See [IPFS provider configuration](settings.md#ipfs-provider-configuration).
|
||||
2. In a direct or channel chat, open the composer’s **+** menu and choose **Send image or file via IPFS**.
|
||||
3. Pick an image or file. The app uploads it to the configured provider and inserts the resulting link into the draft. When an upload gateway is configured, the link is `http://gateway/ipfs/CID`; otherwise it is `ipfs://CID`. Review or edit the draft, then send it as a normal text message; uploading does not send the chat message automatically.
|
||||
|
||||
Uploads and image previews need internet access. The file is stored with the selected provider; the mesh carries only the text link, not the file bytes. IPFS content is publicly addressable, so only upload content suitable for sharing publicly. A recipient needs internet access and a working IPFS gateway to retrieve it. If the upload link plus existing draft exceeds the message limit, the app may shorten the existing draft to make room for the link.
|
||||
|
||||
## Regions, Mesh Images, and Radio Statistics
|
||||
|
||||
See [Regions](regions.md) for default scopes, per-message labels, and reply-region inheritance; [Image Messages](image-messages.md) for model installation and reconstruction; and [Companion Radio Statistics](radio-statistics.md) for connected-radio measurements.
|
||||
@@ -198,13 +198,17 @@ UUID, name, 32-byte secret, hashtag channel list. Shared via QR code.
|
||||
|
||||
Message/contact metadata and preferences use `SharedPreferences` (JSON-serialized); there is no SQLite database. Model bundles, received image bitstreams/reconstructions, and map caches use files. Region metadata is persisted with channel messages; older records without it load with a null region.
|
||||
|
||||
Per-channel data is keyed by a channel ID, not the radio slot: `<channelId>` is the first 8 bytes of SHA-256(`"meshcore-channel:"` + PSK) as 16 hex characters, so a reused slot starts clean and a re-added channel gets its history back. Each channel sync saves the slot-to-ID map (`channel_slot_ids_<pubKey10>`) and reloads any slot whose channel changed since the last connection; queued channel messages are not fetched until that map is confirmed. Older slot-keyed data is moved once per radio (`channel_storage_v2_<pubKey10>`) using the cached channel list; slots with no cached PSK keep their old keys unread.
|
||||
|
||||
| Data | Storage Key Pattern | Scope |
|
||||
|---|---|---|
|
||||
| Contacts | `contacts<pubKey10>` | Per device identity |
|
||||
| Messages | `messages_<pubKey10><contactKey>` | Per device + contact |
|
||||
| Channel Messages | `channel_messages_<pubKey10><index>` | Per device + channel |
|
||||
| Channel Messages | `channel_messages_<pubKey10>_<channelId>` | Per device + channel |
|
||||
| Channels | `channels<pubKey10>` | Per device identity |
|
||||
| Channel Order | `channel_order_<pubKey10>` | Per device identity |
|
||||
| Channel Order | `channel_order_<pubKey10>` (list of channel IDs) | Per device identity |
|
||||
| Channel Slot Map | `channel_slot_ids_<pubKey10>` | Per device identity |
|
||||
| Channel Settings | `channel_{smaz,cyr2lat,url_images}_<pubKey10>_<channelId>`, `channel_cyr2lat_<pubKey10>_profile_<channelId>` | Per device + channel |
|
||||
| Contact Groups | `contact_groups<pubKey10>` | Per device identity |
|
||||
| Communities | `communities_v1<pubKey10>` | Per device identity |
|
||||
| Unread Counts | `contact_unread_count<pubKey10>` | Per device identity |
|
||||
@@ -212,7 +216,7 @@ Message/contact metadata and preferences use `SharedPreferences` (JSON-serialize
|
||||
| App Settings | `app_settings` | Global |
|
||||
| Path History | `path_history_<contactKey>` | Per contact |
|
||||
| Region Names | `regions` | Global |
|
||||
| Channel Region | `channel_region_<pubKey10><index>` | Per device + channel |
|
||||
| Channel Region | `channel_region_<pubKey10>_<channelId>` | Per device + channel |
|
||||
| Default Region | `default_region_<pubKey10>` | Per device identity |
|
||||
|
||||
## Auto-Add Configuration Bitmask
|
||||
|
||||
@@ -63,7 +63,9 @@ Name limits count the `#` and any community prefix, so the name stored on the ra
|
||||
|---|---|
|
||||
| Edit | Change name, PSK (with a dice icon to generate a random PSK), SMAZ compression toggle (compresses outgoing messages to allow longer text within the byte limit), Cyr2Lat encoding toggle (transliterates Cyrillic to Latin for compatibility), or "Enable URL images" toggle (previews image links; requires internet) |
|
||||
| Mute / Unmute | Toggle push notification suppression for this channel |
|
||||
| Delete | Remove the channel from the device (confirmation required) |
|
||||
| Delete | Remove the channel from the device and delete its messages, settings, region and images (confirmation required) |
|
||||
|
||||
Channel history and settings belong to the channel's key, not its slot on the radio. A slot reused for another channel (here or in another app) starts empty, editing a channel's PSK starts a fresh history, and adding a channel again with its old PSK brings its history back.
|
||||
|
||||
## Channel Chat
|
||||
|
||||
|
||||
@@ -126,4 +126,4 @@ Add emoji reactions to incoming messages (not your own):
|
||||
|
||||
## Image and translation setup
|
||||
|
||||
Enable URL images in the contact’s chat settings to preview supported image links; see [URL images](additional-features.md#url-image-previews). Mesh image packets are currently sent through channel chat, not this direct-message composer. Set up translation and download a model in [App Settings](settings.md#translation) before using incoming or pre-send translation.
|
||||
Enable URL images in the contact’s chat settings to preview supported image links; see [URL images](additional-features.md#url-image-previews). Images and files can also be uploaded to a configured IPFS provider from the **+** menu in direct or channel chat; the resulting URL is sent as ordinary text. See [sharing via IPFS](additional-features.md#share-an-image-via-ipfs) and [IPFS provider configuration](settings.md#ipfs-provider-configuration). Mesh image packets are currently sent through channel chat, not the direct-message composer. Set up translation and download a model in [App Settings](settings.md#translation) before using incoming or pre-send translation.
|
||||
@@ -0,0 +1,50 @@
|
||||
# Network Map
|
||||
|
||||
The online network map at [map.meshcoreopen.org](https://map.meshcoreopen.org) shows MeshCore repeaters, room servers, links between them, traffic and measured coverage. It is built from header-only packet records that opted-in MeshCore Open users upload. Viewing the map never requires uploading.
|
||||
|
||||
## Viewing the map in the app
|
||||
|
||||
Open the map and use the **Local / Online / Both** switch at the top.
|
||||
|
||||
| View | Shows |
|
||||
|---|---|
|
||||
| Local | Your contacts at the positions their adverts give. This data stays on the device. |
|
||||
| Online | Repeater and room server hexagons and links from the network map. |
|
||||
| Both | Online hexagons under your local markers. Repeaters already in your contacts are marked "In your contacts". |
|
||||
|
||||
Hexagons are about 2–3 km across and never show a node's exact position. A dashed outline means the repeater has only been reported by one uploader so far ("single source"). When the visible area is larger than 20° the map asks you to zoom in.
|
||||
|
||||
Tap a hexagon to see the repeater's name, type, status and last-seen time, plus a reachability hint:
|
||||
|
||||
- **Heard by your radio**: your radio knows this node.
|
||||
- **In your area**: it is within about 50 km of your radio's position.
|
||||
- **Far away**: management requests won't reach it over the mesh.
|
||||
|
||||
**Add to contacts** saves the repeater with flood routing and no location. Its real location arrives with its next advert. **Manage** adds it if needed and opens the normal repeater or room server login.
|
||||
|
||||
## Contributing data (opt-in)
|
||||
|
||||
Turn on **Settings → App settings → Network map** to upload while a radio is connected. Uploading is off by default.
|
||||
|
||||
The first time a radio connects, the app asks once whether to share. **Share** turns uploading on and **No thanks** leaves it off. Either way the question is not asked again; the setting can be changed at any time.
|
||||
|
||||
What is uploaded, about once a minute:
|
||||
|
||||
- For every packet your radio hears: payload type, route type, path hashes, hop count, SNR, RSSI, size rounded to 16 bytes, a packet hash, and the time rounded to the minute.
|
||||
- For repeater and room server adverts with a valid signature: public key, name, type and the advertised location snapped to a ~2 km grid.
|
||||
- Your radio's own position snapped to the same grid (if the radio has one) and its frequency, bandwidth, spreading factor and coding rate.
|
||||
- A random install ID that changes every 24 hours.
|
||||
|
||||
What is never uploaded: message text or payloads, channel or community names and hashes, direct-message sender/recipient hashes, region transport codes, exact coordinates, and anything about chat or sensor nodes beyond the header-only packet record.
|
||||
|
||||
The server does not store IP addresses and keeps raw records for 7 days. See the map's [privacy page](https://map.meshcoreopen.org/privacy) for details.
|
||||
|
||||
## Hiding a repeater
|
||||
|
||||
Repeater and room server owners can hide their node by putting 🚫 anywhere in its name and sending a flood advert. It disappears from the map and appears in the packet viewer only as "Anonymous repeater". To show it again, remove the emoji; it reappears with its first advert after 7 days without one. The delay stops anyone from undoing an owner's opt-out with a faked advert. The emoji uses 4 of the name's 32 bytes.
|
||||
|
||||
## Limitations
|
||||
|
||||
- Uploading only happens while the app is connected to a radio. On iOS most contributions come from foreground use.
|
||||
- Packets larger than the companion frame limit (172 bytes) are never forwarded to the app, so they are not counted.
|
||||
- Coverage shows how well phones hear repeaters; a handheld's own transmissions reach repeaters less reliably.
|
||||
@@ -158,6 +158,20 @@ Not shown on web. Controls on-device message translation powered by a locally-do
|
||||
|
||||
The auto-translate and composer toggles are disabled until **Enable translation** is on.
|
||||
|
||||
### IPFS Provider Configuration
|
||||
|
||||
Open **App Settings → IPFS provider configuration** to configure IPFS uploads and previews:
|
||||
|
||||
- **Public IPFS gateway**: Select Pinata, Filebase, a custom gateway, or deactivate it. This gateway lets the app load bare IPFS content IDs in image links.
|
||||
- **Upload provider**: Select Pinata, Filebase, a custom provider, or deactivate uploads. Presets fill in the provider’s upload endpoint and upload gateway; custom setups can edit both.
|
||||
- **API key**: Enter the credential required by the selected provider. The value is masked in the settings dialog. Pinata and Filebase presets require provider credentials.
|
||||
|
||||
For a self-hosted Kubo node, choose **Custom (Kubo)** and configure its RPC upload endpoint and HTTP gateway. The preset defaults use `http://127.0.0.1:5001/api/v0/add` and `http://127.0.0.1:8080/ipfs/`; replace these with addresses reachable from the device running MeshCore Open. Do not expose Kubo’s unauthenticated RPC API to the public internet.
|
||||
|
||||
When an **upload gateway** is configured, uploaded content is added to the draft as an HTTP(S) gateway URL in the form `http://gateway/ipfs/CID`. If it is blank, the app uses `ipfs://CID`. The public gateway setting is separate and is used to retrieve bare IPFS content IDs in incoming links.
|
||||
|
||||
Save the settings before sharing. The upload action is shown in the chat composer only when an upload endpoint is configured. Provider accounts, credentials, limits, and terms are managed by the provider, not MeshCore Open. See [sharing images via IPFS](additional-features.md#share-an-image-via-ipfs) for the chat workflow.
|
||||
|
||||
### Image Messages
|
||||
|
||||
Image message controls live in App Settings → Messaging. Turn on **Enable image messages** first; **Process images automatically** and the image model download/cancel/removal controls then appear. Automatic processing reconstructs every image as it arrives and uses about 2 GB of memory for a second each time; leave it off to reconstruct with a tap. See [Image Messages](image-messages.md) for firmware, native-runtime, storage, and memory requirements.
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,29 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:crypto/crypto.dart' as crypto;
|
||||
|
||||
/// Decodes the firmware's encoded path_len byte into actual byte length.
|
||||
/// Bits 0-5: hash count (0-63), Bits 6-7: hash size code (0=1byte ... 3=4bytes).
|
||||
int decodePathByteLen(int pathLenRaw) {
|
||||
if (pathLenRaw == 0xFF || pathLenRaw == 0) return 0;
|
||||
final hashCount = pathLenRaw & 63;
|
||||
final hashSize = decodePathHashWidth(pathLenRaw);
|
||||
return hashCount * hashSize;
|
||||
}
|
||||
|
||||
int decodePathHashWidth(int pathLenRaw) {
|
||||
if (pathLenRaw == 0xFF) return 1;
|
||||
return ((pathLenRaw >> 6) & 0x03) + 1;
|
||||
}
|
||||
|
||||
/// Firmware-compatible packet hash: SHA256(payloadType + payload) -> first 8 bytes as hex.
|
||||
String computePacketHash(int payloadType, Uint8List payload) {
|
||||
final input = Uint8List(1 + payload.length);
|
||||
input[0] = payloadType;
|
||||
input.setRange(1, input.length, payload);
|
||||
final digest = crypto.sha256.convert(input).bytes;
|
||||
return digest
|
||||
.sublist(0, 8)
|
||||
.map((b) => b.toRadixString(16).padLeft(2, '0'))
|
||||
.join();
|
||||
}
|
||||
+149
-1
@@ -3162,5 +3162,153 @@
|
||||
"qr_cameraPermissionDenied": "Достъпът до камерата е отказан.\nМоля, разрешете достъп до камерата в настройките.",
|
||||
"qr_cameraUnsupported": "Камерата не се поддържа на това устройство.",
|
||||
"qr_cameraStartFailed": "Камерата не можа да се стартира.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Моделът за изображения не можа да се изтегли: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Моделът за изображения не можа да се изтегли: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Скриване: скрит, докато не напуснете картата.",
|
||||
"map_markerRemoveHint": "Премахване: остава скрит, докато не го възстановите от менюто за филтър.",
|
||||
"map_markerRemoved": "Маркерът е премахнат",
|
||||
"map_restoreRemovedMarkers": "Възстановяване на премахнатите маркери",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} премахнати",
|
||||
"map_markersRestored": "Възстановени маркери: {count}",
|
||||
"map_setLocationConfirmTitle": "Задаване като ваша локация?",
|
||||
"map_setLocationConfirmBody": "Вашият възел ще обявява тази позиция:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Задай локация",
|
||||
"map_locationSetSuccess": "Локацията на възела е обновена",
|
||||
"map_locationSetFailed": "Устройството не потвърди новата локация. Опитайте отново.",
|
||||
"map_poiClusterTitle": "{count} маркера тук",
|
||||
"map_poiClusterSemantics": "{count} споделени маркера. Докоснете, за да ги видите.",
|
||||
"map_youWithMarkers": "Вие и {count} маркера",
|
||||
"map_sharedMarkerSemantics": "Споделен маркер: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Мащаб {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Изтеглянето е отменено. Кеширани плочки: {count}.",
|
||||
"mapCache_tooManyTilesTitle": "Районът е твърде голям",
|
||||
"mapCache_tooManyTiles": "Този район изисква {count} плочки, повече от лимита от {max}. Изберете по-малък район или по-малък максимален мащаб.",
|
||||
"chat_clearChatConfirm": "Това изтрива всяко съобщение в този разговор от това устройство. Действието не може да бъде отменено.",
|
||||
"channels_clearChatConfirm": "Това изтрива всяко съобщение в този канал от това устройство, включително получените изображения. Действието не може да бъде отменено.",
|
||||
"channels_timeNow": "сега",
|
||||
"channels_timeMinutes": "{minutes}м",
|
||||
"channels_timeHours": "{hours}ч",
|
||||
"channels_timeDays": "{days}д",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Неизвестен",
|
||||
"pathMap_noSelfGpsFix": "Локалният възел няма GPS фиксиране",
|
||||
"pathTrace_sendFailed": "Пътната трасировка не можа да бъде изпратена: {error}",
|
||||
"losErrorNoInternet": "Данните за надморска височина изискват интернет връзка",
|
||||
"losResultStale": "Остарял резултат: височината на антената е променена",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Зареждане на телеметрия…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Няма връзка с радио. Свържете се и опитайте отново.",
|
||||
"settings_requiresConnection": "Свържете се с радио, за да използвате това",
|
||||
"settings_txPowerInvalidRange": "Невалидна TX мощност (от {min} до {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Настройките на контакта са запазени",
|
||||
"settings_batteryToggleHint": "Докоснете, за да превключите между процент и напрежение",
|
||||
"settings_publicKeyCopyHint": "Копиране на публичния ключ",
|
||||
"settings_locationClearHelper": "Оставете и двете полета празни, за да премахнете локацията си.",
|
||||
"settings_locationCleared": "Локацията е премахната",
|
||||
"settings_regionFetchDiscovering": "Търсене на близки ретранслатори…",
|
||||
"settings_regionFetchProgress": "Запитване към ретранслатор {current} от {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Все още няма известни ретранслатори. Добавете ретранслатор като контакт или изчакайте някой да обяви присъствие, после опитайте отново.",
|
||||
"settings_regionFetchNoneResponded": "Нито един близък ретранслатор не отговори. Приближете се до ретранслатор и опитайте отново.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Маршрутизиране",
|
||||
"appSettings_imageMessagesSection": "Съобщения с изображения",
|
||||
"appSettings_showApiKey": "Показване на API ключа",
|
||||
"appSettings_hideApiKey": "Скриване на API ключа",
|
||||
"translation_defaultModelName": "Модел",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Радиото е изключено",
|
||||
"repeater_radioDisconnectedHint": "Свържете се отново с радиото, за да изпращате команди, да опреснявате или да запазвате промени.",
|
||||
"repeater_cliSend": "Изпрати команда",
|
||||
"repeater_cliCopyTranscript": "Копирай транскрипта",
|
||||
"repeater_cliShareTranscript": "Сподели транскрипта",
|
||||
"repeater_cliTranscriptCopied": "Транскриптът е копиран",
|
||||
"repeater_cliClearHistoryConfirm": "Да се изчисти ли историята на командите? Действието не може да бъде отменено.",
|
||||
"repeater_cliSearchCommands": "Търсене на команди",
|
||||
"repeater_cliNoMatchingCommands": "Няма съвпадащи команди",
|
||||
"debugLog_clearConfirm": "Да се изчистят ли всички записи в дневника? Действието не може да бъде отменено.",
|
||||
"repeater_unsavedChangesTitle": "Незапазени промени",
|
||||
"repeater_unsavedChangesMessage": "Имате промени, които не са запазени в ретранслатора.",
|
||||
"repeater_discardChanges": "Отхвърли",
|
||||
"repeater_actionSentNoReply": "{action}: командата е изпратена. Ретранслаторът не отговаря на тази команда.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} не е валидна стойност",
|
||||
"repeater_txPowerOutOfRange": "TX мощността {value} е извън диапазона (от {min} до {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "Частният ключ трябва да е точно {length} шестнадесетични знака",
|
||||
"contacts_advertFailed": "Рекламата не можа да бъде изпратена",
|
||||
"contacts_manageGroups": "Управление на групи",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Свързан с",
|
||||
"usbChooseSerialPort": "Изберете сериен порт",
|
||||
"neighbors_durationSeconds": "{seconds}с",
|
||||
"neighbors_durationMinutes": "{minutes}м {seconds}с",
|
||||
"neighbors_durationHours": "{hours}ч {minutes}м",
|
||||
"scanner_getNodeTitle": "Нуждаете се от нов възел?",
|
||||
"scanner_getNodeBody": "Колкото портфейл, работи с MeshCore, двулентов GPS, водоустойчив, батерия за 5 дни.",
|
||||
"scanner_getNodeAction": "Вземете го тук",
|
||||
"scanner_getNodeDisclosure": "Партньорска връзка: всяка покупка подкрепя MeshCore Open.",
|
||||
"networkMap_settingsSection": "Мрежова карта",
|
||||
"networkMap_uploadTitle": "Споделяне на това, което чува моето радио",
|
||||
"networkMap_uploadExplanation": "Когато това е включено и радиото е свързано, приложението изпраща към мрежовата карта на MeshCore Open кратко обобщение на пакетите, които радиото ви чува, за да може всеки да вижда кои повторители съществуват и как са свързани. Изпращат се типът, маршрутът, броят хопове, силата на сигнала и размерът на всеки пакет, както и имената на повторителите и приблизителното им местоположение от техните собствени обяви. Никога не се изпращат текст на съобщения, кой с кого говори, имена на канали, вашите контакти или точното ви местоположение: координатите се закръглят до около 2 км, а приложението получава нов случаен ID всеки ден.",
|
||||
"networkMap_whatWeCollect": "Какво събираме",
|
||||
"networkMap_promptTitle": "Ще помогнете ли за мрежовата карта?",
|
||||
"networkMap_promptBody": "MeshCore Open може да споделя това, което радиото ви чува, с публичната мрежова карта на map.meshcoreopen.org, за да може всеки да вижда кои повторители съществуват и как са свързани.\n\nНикога не се изпращат текст на съобщения, кой с кого говори, имена на канали, вашите контакти или точното ви местоположение. Координатите се закръглят до около 2 км.",
|
||||
"networkMap_promptSettingsHint": "Можете да промените това по всяко време в Настройки → Настройки на приложението → Мрежова карта.",
|
||||
"networkMap_promptAccept": "Споделям",
|
||||
"networkMap_promptDecline": "Не, благодаря",
|
||||
"networkMap_statusOff": "Изключено. Нищо не се изпраща.",
|
||||
"networkMap_statusWaiting": "Включено. Изчакване на връзка с радио.",
|
||||
"networkMap_statusNothingSent": "Включено. Още нищо не е изпратено.",
|
||||
"networkMap_statusLastSent": "Последно изпращане: {time}. Пакети днес: {count}.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Локална",
|
||||
"networkMap_sourceOnline": "Онлайн",
|
||||
"networkMap_sourceBoth": "И двете",
|
||||
"networkMap_zoomInHint": "Увеличете, за да видите онлайн мрежовата карта",
|
||||
"networkMap_loadFailed": "Онлайн мрежовата карта не можа да се зареди",
|
||||
"networkMap_inYourContacts": "В контактите ви",
|
||||
"networkMap_status": "Статус",
|
||||
"networkMap_statusActive": "Активен през последния час",
|
||||
"networkMap_statusRecent": "Чут през последното денонощие",
|
||||
"networkMap_statusStale": "Отдавна не е чут",
|
||||
"networkMap_confirmed": "Потвърден",
|
||||
"networkMap_singleSource": "Един източник, още непотвърден",
|
||||
"networkMap_reports": "Доклади",
|
||||
"networkMap_locationEstimated": "Приблизително местоположение, изчислено по тези, които са го чули",
|
||||
"networkMap_locationAdvertised": "Приблизително местоположение, от собствената му обява",
|
||||
"networkMap_heardByRadio": "Чут от вашето радио",
|
||||
"networkMap_inYourArea": "Във вашия район",
|
||||
"networkMap_farAway": "Далече. Управлението няма да стигне до него.",
|
||||
"networkMap_addToContacts": "Добави към контактите",
|
||||
"networkMap_manage": "Управление",
|
||||
"networkMap_addedToContacts": "Добавено към контактите",
|
||||
"networkMap_addFailed": "Неуспешно добавяне към контактите",
|
||||
"networkMap_unnamed": "Неназован повторител"
|
||||
}
|
||||
+149
-1
@@ -3297,5 +3297,153 @@
|
||||
"qr_cameraPermissionDenied": "Kamerazugriff verweigert.\nBitte aktivieren Sie den Kamerazugriff in den Einstellungen.",
|
||||
"qr_cameraUnsupported": "Kamera wird auf diesem Gerät nicht unterstützt.",
|
||||
"qr_cameraStartFailed": "Kamera konnte nicht gestartet werden.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Das Bildmodell konnte nicht heruntergeladen werden: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Das Bildmodell konnte nicht heruntergeladen werden: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Ausblenden: bleibt ausgeblendet, bis du die Karte verlässt.",
|
||||
"map_markerRemoveHint": "Entfernen: bleibt ausgeblendet, bis du es über das Filtermenü wiederherstellst.",
|
||||
"map_markerRemoved": "Marker entfernt",
|
||||
"map_restoreRemovedMarkers": "Entfernte Marker wiederherstellen",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} entfernt",
|
||||
"map_markersRestored": "{count} Marker wiederhergestellt",
|
||||
"map_setLocationConfirmTitle": "Als deinen Standort festlegen?",
|
||||
"map_setLocationConfirmBody": "Dein Knoten wird diese Position bekannt geben:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Standort festlegen",
|
||||
"map_locationSetSuccess": "Knotenstandort aktualisiert",
|
||||
"map_locationSetFailed": "Das Gerät hat den neuen Standort nicht bestätigt. Versuche es erneut.",
|
||||
"map_poiClusterTitle": "{count} Marker hier",
|
||||
"map_poiClusterSemantics": "{count} geteilte Marker. Tippen, um sie aufzulisten.",
|
||||
"map_youWithMarkers": "Du und {count} Marker",
|
||||
"map_sharedMarkerSemantics": "Geteilter Marker: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Download abgebrochen. {count} Kacheln im Cache.",
|
||||
"mapCache_tooManyTilesTitle": "Bereich zu groß",
|
||||
"mapCache_tooManyTiles": "Dieser Bereich benötigt {count} Kacheln, mehr als das Limit von {max}. Wähle einen kleineren Bereich oder verringere den maximalen Zoom.",
|
||||
"chat_clearChatConfirm": "Dadurch werden alle Nachrichten dieser Unterhaltung von diesem Gerät gelöscht. Das kann nicht rückgängig gemacht werden.",
|
||||
"channels_clearChatConfirm": "Dadurch werden alle Nachrichten dieses Kanals von diesem Gerät gelöscht, einschließlich empfangener Bilder. Das kann nicht rückgängig gemacht werden.",
|
||||
"channels_timeNow": "jetzt",
|
||||
"channels_timeMinutes": "{minutes} Min.",
|
||||
"channels_timeHours": "{hours} Std.",
|
||||
"channels_timeDays": "{days} T.",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Unbekannt",
|
||||
"pathMap_noSelfGpsFix": "Lokaler Knoten hat keinen GPS-Fix",
|
||||
"pathTrace_sendFailed": "Pfadverfolgung konnte nicht gesendet werden: {error}",
|
||||
"losErrorNoInternet": "Für Höhendaten wird eine Internetverbindung benötigt",
|
||||
"losResultStale": "Veraltet: Antennenhöhe wurde geändert",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Telemetrie wird geladen…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Nicht mit einem Funkgerät verbunden. Verbinde dich und versuche es erneut.",
|
||||
"settings_requiresConnection": "Verbinde dich mit einem Funkgerät, um dies zu nutzen",
|
||||
"settings_txPowerInvalidRange": "Ungültige Sendeleistung ({min} bis {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Kontakteinstellungen gespeichert",
|
||||
"settings_batteryToggleHint": "Tippen, um zwischen Prozent und Spannung zu wechseln",
|
||||
"settings_publicKeyCopyHint": "Öffentlichen Schlüssel kopieren",
|
||||
"settings_locationClearHelper": "Lass beide Felder leer, um deinen Standort zu entfernen.",
|
||||
"settings_locationCleared": "Standort entfernt",
|
||||
"settings_regionFetchDiscovering": "Suche nach Repeatern in der Nähe…",
|
||||
"settings_regionFetchProgress": "Frage Repeater {current} von {total} ab…",
|
||||
"settings_regionFetchNoRepeaters": "Noch keine Repeater bekannt. Füge einen Repeater als Kontakt hinzu oder warte, bis einer sich ankündigt, und versuche es dann erneut.",
|
||||
"settings_regionFetchNoneResponded": "Kein Repeater in der Nähe hat geantwortet. Gehe näher an einen Repeater heran und versuche es erneut.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Routing",
|
||||
"appSettings_imageMessagesSection": "Bildnachrichten",
|
||||
"appSettings_showApiKey": "API-Schlüssel anzeigen",
|
||||
"appSettings_hideApiKey": "API-Schlüssel verbergen",
|
||||
"translation_defaultModelName": "Modell",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Funkgerät getrennt",
|
||||
"repeater_radioDisconnectedHint": "Verbinde dich erneut mit deinem Funkgerät, um Befehle zu senden, zu aktualisieren oder Änderungen zu speichern.",
|
||||
"repeater_cliSend": "Befehl senden",
|
||||
"repeater_cliCopyTranscript": "Protokoll kopieren",
|
||||
"repeater_cliShareTranscript": "Protokoll teilen",
|
||||
"repeater_cliTranscriptCopied": "Protokoll kopiert",
|
||||
"repeater_cliClearHistoryConfirm": "Befehlsverlauf löschen? Das kann nicht rückgängig gemacht werden.",
|
||||
"repeater_cliSearchCommands": "Befehle suchen",
|
||||
"repeater_cliNoMatchingCommands": "Keine passenden Befehle",
|
||||
"debugLog_clearConfirm": "Alle Protokolleinträge löschen? Das kann nicht rückgängig gemacht werden.",
|
||||
"repeater_unsavedChangesTitle": "Ungespeicherte Änderungen",
|
||||
"repeater_unsavedChangesMessage": "Es gibt Änderungen, die nicht im Repeater gespeichert wurden.",
|
||||
"repeater_discardChanges": "Verwerfen",
|
||||
"repeater_actionSentNoReply": "{action}: Befehl gesendet. Der Repeater antwortet auf diesen Befehl nicht.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} ist ungültig",
|
||||
"repeater_txPowerOutOfRange": "Sendeleistung {value} liegt außerhalb des Bereichs ({min} bis {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "Der private Schlüssel muss genau {length} Hex-Zeichen lang sein",
|
||||
"contacts_advertFailed": "Advert konnte nicht gesendet werden",
|
||||
"contacts_manageGroups": "Gruppen verwalten",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Verbunden mit",
|
||||
"usbChooseSerialPort": "Serielle Schnittstelle wählen",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} Min. {seconds} s",
|
||||
"neighbors_durationHours": "{hours} Std. {minutes} Min.",
|
||||
"scanner_getNodeTitle": "Brauchst du einen neuen Node?",
|
||||
"scanner_getNodeBody": "Im Hosentaschenformat, mit MeshCore, Dualband-GPS, wasserdicht und 5 Tage Akkulaufzeit.",
|
||||
"scanner_getNodeAction": "Hier holen",
|
||||
"scanner_getNodeDisclosure": "Affiliate-Link: Jeder Kauf unterstützt MeshCore Open.",
|
||||
"networkMap_settingsSection": "Netzwerkkarte",
|
||||
"networkMap_uploadTitle": "Teilen, was mein Funkgerät hört",
|
||||
"networkMap_uploadExplanation": "Wenn dies aktiviert und dein Funkgerät verbunden ist, sendet die App eine kurze Zusammenfassung der Pakete, die dein Funkgerät empfängt, an die MeshCore-Open-Netzwerkkarte, damit alle sehen können, welche Repeater es gibt und wie sie verbunden sind. Gesendet werden Typ, Route, Hops, Signalstärke und Größe jedes Pakets sowie Repeater-Namen und ungefähre Standorte aus deren eigenen Adverts. Nie gesendet werden Nachrichtentexte, wer mit wem spricht, Kanalnamen, deine Kontakte oder dein genauer Standort: Standorte werden auf etwa 2 km gerundet, und deine App erhält jeden Tag eine neue zufällige ID.",
|
||||
"networkMap_whatWeCollect": "Was wir erfassen",
|
||||
"networkMap_promptTitle": "Beim Aufbau der Netzwerkkarte helfen?",
|
||||
"networkMap_promptBody": "MeshCore Open kann teilen, was dein Funkgerät hört, und zwar mit der öffentlichen Netzwerkkarte unter map.meshcoreopen.org, damit alle sehen können, welche Repeater es gibt und wie sie verbunden sind.\n\nEs werden nie Nachrichtentexte, wer mit wem spricht, Kanalnamen, deine Kontakte oder dein genauer Standort gesendet. Standorte werden auf etwa 2 km gerundet.",
|
||||
"networkMap_promptSettingsHint": "Du kannst dies jederzeit unter Einstellungen → App-Einstellungen → Netzwerkkarte ändern.",
|
||||
"networkMap_promptAccept": "Teilen",
|
||||
"networkMap_promptDecline": "Nein danke",
|
||||
"networkMap_statusOff": "Aus. Es wird nichts gesendet.",
|
||||
"networkMap_statusWaiting": "An. Warte auf eine Funkgerät-Verbindung.",
|
||||
"networkMap_statusNothingSent": "An. Noch nichts gesendet.",
|
||||
"networkMap_statusLastSent": "Zuletzt gesendet {time}. Heute {count} Pakete.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Lokal",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Beides",
|
||||
"networkMap_zoomInHint": "Zoome hinein, um die Online-Netzwerkkarte zu sehen",
|
||||
"networkMap_loadFailed": "Online-Netzwerkkarte konnte nicht geladen werden",
|
||||
"networkMap_inYourContacts": "In deinen Kontakten",
|
||||
"networkMap_status": "Status",
|
||||
"networkMap_statusActive": "Aktiv in der letzten Stunde",
|
||||
"networkMap_statusRecent": "Am letzten Tag gehört",
|
||||
"networkMap_statusStale": "Zuletzt nicht gehört",
|
||||
"networkMap_confirmed": "Bestätigt",
|
||||
"networkMap_singleSource": "Einzelne Quelle, noch nicht bestätigt",
|
||||
"networkMap_reports": "Meldungen",
|
||||
"networkMap_locationEstimated": "Ungefährer Standort, geschätzt anhand der Empfänger",
|
||||
"networkMap_locationAdvertised": "Ungefährer Standort, aus dem eigenen Advert",
|
||||
"networkMap_heardByRadio": "Von deinem Funkgerät gehört",
|
||||
"networkMap_inYourArea": "In deiner Nähe",
|
||||
"networkMap_farAway": "Weit entfernt. Verwaltung ist nicht möglich.",
|
||||
"networkMap_addToContacts": "Zu Kontakten hinzufügen",
|
||||
"networkMap_manage": "Verwalten",
|
||||
"networkMap_addedToContacts": "Zu Kontakten hinzugefügt",
|
||||
"networkMap_addFailed": "Hinzufügen zu Kontakten fehlgeschlagen",
|
||||
"networkMap_unnamed": "Unbenannter Repeater"
|
||||
}
|
||||
+181
-1
@@ -178,6 +178,10 @@
|
||||
"scanner_chromeRequired": "Chrome Browser Required",
|
||||
"scanner_chromeRequiredMessage": "This web application requires Google Chrome or a Chromium-based browser for Bluetooth support.",
|
||||
"scanner_enableBluetooth": "Enable Bluetooth",
|
||||
"scanner_getNodeTitle": "Need a new node?",
|
||||
"scanner_getNodeBody": "Wallet-sized, runs MeshCore, dual-band GPS, waterproof, 5-day battery.",
|
||||
"scanner_getNodeAction": "Get one here",
|
||||
"scanner_getNodeDisclosure": "Affiliate link: each purchase supports MeshCore Open.",
|
||||
"scanner_bluetoothWebUnsupported": "Bluetooth isn't available in the browser. Connect over USB instead.",
|
||||
"device_quickSwitch": "Quick switch",
|
||||
"device_meshcore": "MeshCore",
|
||||
@@ -3328,5 +3332,181 @@
|
||||
"qr_cameraStartFailed": "Failed to start camera.\n{details}",
|
||||
"@qr_cameraStartFailed": {"placeholders": {"details": {"type": "String"}}},
|
||||
"imageMessages_downloadFailedWithError": "The image model could not be downloaded: {error}",
|
||||
"@imageMessages_downloadFailedWithError": {"placeholders": {"error": {"type": "String"}}}
|
||||
"@imageMessages_downloadFailedWithError": {"placeholders": {"error": {"type": "String"}}},
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Hide: hidden until you leave the map.",
|
||||
"map_markerRemoveHint": "Remove: stays hidden until you restore it from the filter menu.",
|
||||
"map_markerRemoved": "Marker removed",
|
||||
"map_restoreRemovedMarkers": "Restore removed markers",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} removed",
|
||||
"@map_restoreRemovedMarkersSubtitle": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_markersRestored": "Restored {count} markers",
|
||||
"@map_markersRestored": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_setLocationConfirmTitle": "Set as your location?",
|
||||
"map_setLocationConfirmBody": "Your node will advertise this position:\n{lat}, {lon}",
|
||||
"@map_setLocationConfirmBody": {"placeholders": {"lat": {"type": "String"}, "lon": {"type": "String"}}},
|
||||
"map_setLocationAction": "Set location",
|
||||
"map_locationSetSuccess": "Node location updated",
|
||||
"map_locationSetFailed": "The device did not confirm the new location. Try again.",
|
||||
"map_poiClusterTitle": "{count} markers here",
|
||||
"@map_poiClusterTitle": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_poiClusterSemantics": "{count} shared markers. Tap to list them.",
|
||||
"@map_poiClusterSemantics": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_youWithMarkers": "You and {count} markers",
|
||||
"@map_youWithMarkers": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_sharedMarkerSemantics": "Shared marker: {label}",
|
||||
"@map_sharedMarkerSemantics": {"placeholders": {"label": {"type": "String"}}},
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"@map_nodeMarkerSemantics": {"placeholders": {"name": {"type": "String"}, "type": {"type": "String"}, "status": {"type": "String"}}},
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"@mapCache_zoomLevel": {"placeholders": {"zoom": {"type": "int"}}},
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"@mapCache_sizeBytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"@mapCache_sizeKilobytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"@mapCache_sizeMegabytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"@mapCache_sizeGigabytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_downloadCancelled": "Download cancelled. Cached {count} tiles.",
|
||||
"@mapCache_downloadCancelled": {"placeholders": {"count": {"type": "int"}}},
|
||||
"mapCache_tooManyTilesTitle": "Area too large",
|
||||
"mapCache_tooManyTiles": "This area needs {count} tiles, more than the limit of {max}. Pick a smaller area or lower the maximum zoom.",
|
||||
"@mapCache_tooManyTiles": {"placeholders": {"count": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"chat_clearChatConfirm": "This erases every message in this conversation from this device. It cannot be undone.",
|
||||
"channels_clearChatConfirm": "This erases every message in this channel from this device, including received images. It cannot be undone.",
|
||||
"channels_timeNow": "now",
|
||||
"channels_timeMinutes": "{minutes}m",
|
||||
"@channels_timeMinutes": {"placeholders": {"minutes": {"type": "int"}}},
|
||||
"channels_timeHours": "{hours}h",
|
||||
"@channels_timeHours": {"placeholders": {"hours": {"type": "int"}}},
|
||||
"channels_timeDays": "{days}d",
|
||||
"@channels_timeDays": {"placeholders": {"days": {"type": "int"}}},
|
||||
"channels_indexChip": "CH {index}",
|
||||
"@channels_indexChip": {"placeholders": {"index": {"type": "int"}}},
|
||||
"reaction_unknownSender": "Unknown",
|
||||
"pathMap_noSelfGpsFix": "Local node has no GPS fix",
|
||||
"pathTrace_sendFailed": "Could not send the path trace: {error}",
|
||||
"@pathTrace_sendFailed": {"placeholders": {"error": {"type": "String"}}},
|
||||
"losErrorNoInternet": "Elevation data needs an internet connection",
|
||||
"losResultStale": "Out of date: antenna height changed",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"@losSnrValue": {"placeholders": {"snr": {"type": "String"}}},
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"@losFrequencyValue": {"placeholders": {"frequency": {"type": "String"}}},
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"@losKFactorValue": {"placeholders": {"kFactor": {"type": "String"}}},
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Loading telemetry…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"@telemetry_axisValue": {"placeholders": {"x": {"type": "String"}, "y": {"type": "String"}, "z": {"type": "String"}}},
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"@telemetry_colourValue": {"placeholders": {"red": {"type": "String"}, "green": {"type": "String"}, "blue": {"type": "String"}}},
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"@telemetry_altitudeValueFeet": {"placeholders": {"feet": {"type": "String"}}},
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"@telemetry_distanceValueFeet": {"placeholders": {"feet": {"type": "String"}}},
|
||||
"settings_notConnectedError": "Not connected to a radio. Connect and try again.",
|
||||
"settings_requiresConnection": "Connect to a radio to use this",
|
||||
"settings_txPowerInvalidRange": "Invalid TX power ({min} to {max} dBm)",
|
||||
"@settings_txPowerInvalidRange": {"placeholders": {"min": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"settings_contactSettingsSaved": "Contact settings saved",
|
||||
"settings_batteryToggleHint": "Tap to switch between percent and voltage",
|
||||
"settings_publicKeyCopyHint": "Copy public key",
|
||||
"settings_locationClearHelper": "Leave both fields empty to remove your location.",
|
||||
"settings_locationCleared": "Location removed",
|
||||
"settings_regionFetchDiscovering": "Looking for nearby repeaters…",
|
||||
"settings_regionFetchProgress": "Asking repeater {current} of {total}…",
|
||||
"@settings_regionFetchProgress": {"placeholders": {"current": {"type": "int"}, "total": {"type": "int"}}},
|
||||
"settings_regionFetchNoRepeaters": "No repeaters are known yet. Add a repeater as a contact or wait for one to advertise, then try again.",
|
||||
"settings_regionFetchNoneResponded": "No nearby repeaters answered. Move closer to a repeater and try again.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"@appSettings_sourceSummary": {"placeholders": {"label": {"type": "String"}, "description": {"type": "String"}}},
|
||||
"appSettings_routingSection": "Routing",
|
||||
"appSettings_imageMessagesSection": "Image messages",
|
||||
"appSettings_showApiKey": "Show API key",
|
||||
"appSettings_hideApiKey": "Hide API key",
|
||||
"translation_defaultModelName": "Model",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"@translation_downloadProgressBytes": {"placeholders": {"fileName": {"type": "String"}, "current": {"type": "String"}}},
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"@translation_downloadProgressTotal": {"placeholders": {"fileName": {"type": "String"}, "current": {"type": "String"}, "total": {"type": "String"}, "percent": {"type": "String"}}},
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"@translation_downloadedModelDetails": {"placeholders": {"size": {"type": "String"}, "source": {"type": "String"}}},
|
||||
"repeater_radioDisconnected": "Radio disconnected",
|
||||
"repeater_radioDisconnectedHint": "Reconnect to your radio to send commands, refresh or save changes.",
|
||||
"repeater_cliSend": "Send command",
|
||||
"repeater_cliCopyTranscript": "Copy transcript",
|
||||
"repeater_cliShareTranscript": "Share transcript",
|
||||
"repeater_cliTranscriptCopied": "Transcript copied",
|
||||
"repeater_cliClearHistoryConfirm": "Clear the command history? This cannot be undone.",
|
||||
"repeater_cliSearchCommands": "Search commands",
|
||||
"repeater_cliNoMatchingCommands": "No matching commands",
|
||||
"debugLog_clearConfirm": "Clear all log entries? This cannot be undone.",
|
||||
"repeater_unsavedChangesTitle": "Unsaved changes",
|
||||
"repeater_unsavedChangesMessage": "You have changes that haven't been saved to the repeater.",
|
||||
"repeater_discardChanges": "Discard",
|
||||
"repeater_actionSentNoReply": "{action}: command sent. The repeater does not reply to this command.",
|
||||
"@repeater_actionSentNoReply": {"placeholders": {"action": {"type": "String"}}},
|
||||
"repeater_invalidSettingValue": "{setting}: {value} is not valid",
|
||||
"@repeater_invalidSettingValue": {"placeholders": {"setting": {"type": "String"}, "value": {"type": "String"}}},
|
||||
"repeater_txPowerOutOfRange": "TX power {value} is out of range ({min} to {max} dBm)",
|
||||
"@repeater_txPowerOutOfRange": {"placeholders": {"value": {"type": "String"}, "min": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"repeater_prvKeyLengthError": "Private key must be exactly {length} hex characters",
|
||||
"@repeater_prvKeyLengthError": {"placeholders": {"length": {"type": "int"}}},
|
||||
"contacts_advertFailed": "Couldn't send advertisement",
|
||||
"contacts_manageGroups": "Manage groups",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"@community_shortId": {"placeholders": {"id": {"type": "String"}}},
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Connected to",
|
||||
"usbChooseSerialPort": "Choose serial port",
|
||||
"neighbors_durationSeconds": "{seconds}s",
|
||||
"@neighbors_durationSeconds": {"placeholders": {"seconds": {"type": "String"}}},
|
||||
"neighbors_durationMinutes": "{minutes}m {seconds}s",
|
||||
"@neighbors_durationMinutes": {"placeholders": {"minutes": {"type": "int"}, "seconds": {"type": "String"}}},
|
||||
"neighbors_durationHours": "{hours}h {minutes}m",
|
||||
"@neighbors_durationHours": {"placeholders": {"hours": {"type": "int"}, "minutes": {"type": "int"}}},
|
||||
"networkMap_settingsSection": "Network map",
|
||||
"networkMap_uploadTitle": "Share what my radio hears",
|
||||
"networkMap_uploadExplanation": "When this is on and your radio is connected, the app sends a short summary of the packets your radio hears to the MeshCore Open network map, so everyone can see which repeaters exist and how they link up. It sends each packet's type, route, hops, signal strength and size, plus repeater names and rough locations from their own adverts. It never sends message text, who is talking to whom, channel names, your contacts or your exact position: locations are rounded to about 2 km, and your app gets a new random ID every day.",
|
||||
"networkMap_whatWeCollect": "What we collect",
|
||||
"networkMap_promptTitle": "Help build the network map?",
|
||||
"networkMap_promptBody": "MeshCore Open can share what your radio hears with the public network map at map.meshcoreopen.org, so everyone can see which repeaters exist and how they link up.\n\nIt never sends message text, who is talking to whom, channel names, your contacts or your exact position. Locations are rounded to about 2 km.",
|
||||
"networkMap_promptSettingsHint": "You can change this any time in Settings → App settings → Network map.",
|
||||
"networkMap_promptAccept": "Share",
|
||||
"networkMap_promptDecline": "No thanks",
|
||||
"networkMap_statusOff": "Off. Nothing is sent.",
|
||||
"networkMap_statusWaiting": "On. Waiting for a radio connection.",
|
||||
"networkMap_statusNothingSent": "On. Nothing sent yet.",
|
||||
"networkMap_statusLastSent": "Last sent {time}. {count} packets today.",
|
||||
"@networkMap_statusLastSent": {"placeholders": {"time": {"type": "String"}, "count": {"type": "int"}}},
|
||||
"networkMap_sourceLocal": "Local",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Both",
|
||||
"networkMap_zoomInHint": "Zoom in to see the online network map",
|
||||
"networkMap_loadFailed": "Couldn't load the online network map",
|
||||
"networkMap_inYourContacts": "In your contacts",
|
||||
"networkMap_status": "Status",
|
||||
"networkMap_statusActive": "Active in the last hour",
|
||||
"networkMap_statusRecent": "Heard in the last day",
|
||||
"networkMap_statusStale": "Not heard lately",
|
||||
"networkMap_confirmed": "Confirmed",
|
||||
"networkMap_singleSource": "Single source, not yet confirmed",
|
||||
"networkMap_reports": "Reports",
|
||||
"networkMap_locationEstimated": "Rough location, estimated from who heard it",
|
||||
"networkMap_locationAdvertised": "Rough location, from its own advert",
|
||||
"networkMap_heardByRadio": "Heard by your radio",
|
||||
"networkMap_inYourArea": "In your area",
|
||||
"networkMap_farAway": "Far away. Management won't reach it.",
|
||||
"networkMap_addToContacts": "Add to contacts",
|
||||
"networkMap_manage": "Manage",
|
||||
"networkMap_addedToContacts": "Added to contacts",
|
||||
"networkMap_addFailed": "Couldn't add to contacts",
|
||||
"networkMap_unnamed": "Unnamed repeater"
|
||||
}
|
||||
+149
-1
@@ -3296,5 +3296,153 @@
|
||||
"qr_cameraPermissionDenied": "Permiso de cámara denegado.\nActiva el acceso a la cámara en los ajustes.",
|
||||
"qr_cameraUnsupported": "Cámara no compatible con este dispositivo.",
|
||||
"qr_cameraStartFailed": "No se pudo iniciar la cámara.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "No se pudo descargar el modelo de imagen: {error}"
|
||||
"imageMessages_downloadFailedWithError": "No se pudo descargar el modelo de imagen: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Ocultar: permanece oculto hasta que salgas del mapa.",
|
||||
"map_markerRemoveHint": "Eliminar: permanece oculto hasta que lo restaures desde el menú de filtros.",
|
||||
"map_markerRemoved": "Marcador eliminado",
|
||||
"map_restoreRemovedMarkers": "Restaurar marcadores eliminados",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} eliminados",
|
||||
"map_markersRestored": "{count} marcadores restaurados",
|
||||
"map_setLocationConfirmTitle": "¿Establecer como tu ubicación?",
|
||||
"map_setLocationConfirmBody": "Tu nodo anunciará esta posición:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Establecer ubicación",
|
||||
"map_locationSetSuccess": "Ubicación del nodo actualizada",
|
||||
"map_locationSetFailed": "El dispositivo no confirmó la nueva ubicación. Inténtalo de nuevo.",
|
||||
"map_poiClusterTitle": "{count} marcadores aquí",
|
||||
"map_poiClusterSemantics": "{count} marcadores compartidos. Toca para verlos.",
|
||||
"map_youWithMarkers": "Tú y {count} marcadores",
|
||||
"map_sharedMarkerSemantics": "Marcador compartido: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Descarga cancelada. {count} teselas en caché.",
|
||||
"mapCache_tooManyTilesTitle": "Área demasiado grande",
|
||||
"mapCache_tooManyTiles": "Esta área necesita {count} teselas, más que el límite de {max}. Elige un área más pequeña o reduce el zoom máximo.",
|
||||
"chat_clearChatConfirm": "Esto borra todos los mensajes de esta conversación de este dispositivo. No se puede deshacer.",
|
||||
"channels_clearChatConfirm": "Esto borra todos los mensajes de este canal de este dispositivo, incluidas las imágenes recibidas. No se puede deshacer.",
|
||||
"channels_timeNow": "ahora",
|
||||
"channels_timeMinutes": "{minutes} min",
|
||||
"channels_timeHours": "{hours} h",
|
||||
"channels_timeDays": "{days} d",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Desconocido",
|
||||
"pathMap_noSelfGpsFix": "El nodo local no tiene fijación GPS",
|
||||
"pathTrace_sendFailed": "No se pudo enviar el trazado de ruta: {error}",
|
||||
"losErrorNoInternet": "Los datos de elevación requieren conexión a internet",
|
||||
"losResultStale": "Desactualizado: la altura de la antena cambió",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Cargando telemetría…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "No hay conexión con una radio. Conéctate e inténtalo de nuevo.",
|
||||
"settings_requiresConnection": "Conéctate a una radio para usar esto",
|
||||
"settings_txPowerInvalidRange": "Potencia TX inválida ({min} a {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Ajustes del contacto guardados",
|
||||
"settings_batteryToggleHint": "Toca para alternar entre porcentaje y voltaje",
|
||||
"settings_publicKeyCopyHint": "Copiar clave pública",
|
||||
"settings_locationClearHelper": "Deja ambos campos vacíos para eliminar tu ubicación.",
|
||||
"settings_locationCleared": "Ubicación eliminada",
|
||||
"settings_regionFetchDiscovering": "Buscando repetidores cercanos…",
|
||||
"settings_regionFetchProgress": "Consultando al repetidor {current} de {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Aún no se conoce ningún repetidor. Añade un repetidor como contacto o espera a que anuncie su presencia, e inténtalo de nuevo.",
|
||||
"settings_regionFetchNoneResponded": "Ningún repetidor cercano respondió. Acércate a un repetidor e inténtalo de nuevo.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Enrutamiento",
|
||||
"appSettings_imageMessagesSection": "Mensajes con imágenes",
|
||||
"appSettings_showApiKey": "Mostrar clave de API",
|
||||
"appSettings_hideApiKey": "Ocultar clave de API",
|
||||
"translation_defaultModelName": "Modelo",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Radio desconectada",
|
||||
"repeater_radioDisconnectedHint": "Vuelve a conectarte a tu radio para enviar comandos, actualizar o guardar cambios.",
|
||||
"repeater_cliSend": "Enviar comando",
|
||||
"repeater_cliCopyTranscript": "Copiar transcripción",
|
||||
"repeater_cliShareTranscript": "Compartir transcripción",
|
||||
"repeater_cliTranscriptCopied": "Transcripción copiada",
|
||||
"repeater_cliClearHistoryConfirm": "¿Borrar el historial de comandos? No se puede deshacer.",
|
||||
"repeater_cliSearchCommands": "Buscar comandos",
|
||||
"repeater_cliNoMatchingCommands": "Ningún comando coincide",
|
||||
"debugLog_clearConfirm": "¿Borrar todas las entradas del registro? No se puede deshacer.",
|
||||
"repeater_unsavedChangesTitle": "Cambios sin guardar",
|
||||
"repeater_unsavedChangesMessage": "Tienes cambios que no se han guardado en el repetidor.",
|
||||
"repeater_discardChanges": "Descartar",
|
||||
"repeater_actionSentNoReply": "{action}: comando enviado. El repetidor no responde a este comando.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} no es válido",
|
||||
"repeater_txPowerOutOfRange": "La potencia TX {value} está fuera de rango ({min} a {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "La clave privada debe tener exactamente {length} caracteres hexadecimales",
|
||||
"contacts_advertFailed": "No se pudo enviar el anuncio",
|
||||
"contacts_manageGroups": "Gestionar grupos",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Conectado a",
|
||||
"usbChooseSerialPort": "Elegir puerto serie",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} min {seconds} s",
|
||||
"neighbors_durationHours": "{hours} h {minutes} min",
|
||||
"scanner_getNodeTitle": "¿Necesitas un nodo nuevo?",
|
||||
"scanner_getNodeBody": "Tamaño cartera, funciona con MeshCore, GPS de doble banda, resistente al agua y 5 días de batería.",
|
||||
"scanner_getNodeAction": "Consíguelo aquí",
|
||||
"scanner_getNodeDisclosure": "Enlace de afiliado: cada compra apoya a MeshCore Open.",
|
||||
"networkMap_settingsSection": "Mapa de la red",
|
||||
"networkMap_uploadTitle": "Compartir lo que escucha mi radio",
|
||||
"networkMap_uploadExplanation": "Cuando esto está activado y tu radio está conectada, la app envía un breve resumen de los paquetes que escucha tu radio al mapa de la red de MeshCore Open, para que todos puedan ver qué repetidores existen y cómo se conectan. Envía el tipo, la ruta, los saltos, la intensidad de señal y el tamaño de cada paquete, además de los nombres y ubicaciones aproximadas de los repetidores a partir de sus propios adverts. Nunca envía el texto de los mensajes, quién habla con quién, nombres de canales, tus contactos ni tu posición exacta: las ubicaciones se redondean a unos 2 km y tu app recibe un ID aleatorio nuevo cada día.",
|
||||
"networkMap_whatWeCollect": "Qué recopilamos",
|
||||
"networkMap_promptTitle": "¿Ayudar a construir el mapa de la red?",
|
||||
"networkMap_promptBody": "MeshCore Open puede compartir lo que escucha tu radio con el mapa público de la red en map.meshcoreopen.org, para que todos puedan ver qué repetidores existen y cómo se conectan.\n\nNunca envía el texto de los mensajes, quién habla con quién, nombres de canales, tus contactos ni tu posición exacta. Las ubicaciones se redondean a unos 2 km.",
|
||||
"networkMap_promptSettingsHint": "Puedes cambiarlo cuando quieras en Configuración → Configuración de la App → Mapa de la red.",
|
||||
"networkMap_promptAccept": "Compartir",
|
||||
"networkMap_promptDecline": "No, gracias",
|
||||
"networkMap_statusOff": "Desactivado. No se envía nada.",
|
||||
"networkMap_statusWaiting": "Activado. Esperando conexión con la radio.",
|
||||
"networkMap_statusNothingSent": "Activado. Aún no se ha enviado nada.",
|
||||
"networkMap_statusLastSent": "Último envío {time}. {count} paquetes hoy.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Local",
|
||||
"networkMap_sourceOnline": "En línea",
|
||||
"networkMap_sourceBoth": "Ambos",
|
||||
"networkMap_zoomInHint": "Acerca el zoom para ver el mapa de la red en línea",
|
||||
"networkMap_loadFailed": "No se pudo cargar el mapa de la red en línea",
|
||||
"networkMap_inYourContacts": "En tus contactos",
|
||||
"networkMap_status": "Estado",
|
||||
"networkMap_statusActive": "Activo en la última hora",
|
||||
"networkMap_statusRecent": "Escuchado en el último día",
|
||||
"networkMap_statusStale": "No escuchado recientemente",
|
||||
"networkMap_confirmed": "Confirmado",
|
||||
"networkMap_singleSource": "Fuente única, aún sin confirmar",
|
||||
"networkMap_reports": "Reportes",
|
||||
"networkMap_locationEstimated": "Ubicación aproximada, estimada según quién lo escuchó",
|
||||
"networkMap_locationAdvertised": "Ubicación aproximada, de su propio advert",
|
||||
"networkMap_heardByRadio": "Escuchado por tu radio",
|
||||
"networkMap_inYourArea": "En tu zona",
|
||||
"networkMap_farAway": "Muy lejos. La administración no podrá alcanzarlo.",
|
||||
"networkMap_addToContacts": "Añadir a contactos",
|
||||
"networkMap_manage": "Administrar",
|
||||
"networkMap_addedToContacts": "Añadido a contactos",
|
||||
"networkMap_addFailed": "No se pudo añadir a contactos",
|
||||
"networkMap_unnamed": "Repetidor sin nombre"
|
||||
}
|
||||
+149
-1
@@ -3296,5 +3296,153 @@
|
||||
"qr_cameraPermissionDenied": "Autorisation de la caméra refusée.\nVeuillez activer l'accès à la caméra dans les réglages.",
|
||||
"qr_cameraUnsupported": "Caméra non prise en charge sur cet appareil.",
|
||||
"qr_cameraStartFailed": "Échec du démarrage de la caméra.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Le modèle d'image n'a pas pu être téléchargé : {error}"
|
||||
"imageMessages_downloadFailedWithError": "Le modèle d'image n'a pas pu être téléchargé : {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Masquer : masqué jusqu'à ce que vous quittiez la carte.",
|
||||
"map_markerRemoveHint": "Supprimer : reste masqué jusqu'à sa restauration depuis le menu des filtres.",
|
||||
"map_markerRemoved": "Marqueur supprimé",
|
||||
"map_restoreRemovedMarkers": "Restaurer les marqueurs supprimés",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} supprimé(s)",
|
||||
"map_markersRestored": "{count} marqueurs restaurés",
|
||||
"map_setLocationConfirmTitle": "Définir comme votre position ?",
|
||||
"map_setLocationConfirmBody": "Votre nœud annoncera cette position :\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Définir la position",
|
||||
"map_locationSetSuccess": "Position du nœud mise à jour",
|
||||
"map_locationSetFailed": "L'appareil n'a pas confirmé la nouvelle position. Réessayez.",
|
||||
"map_poiClusterTitle": "{count} marqueurs ici",
|
||||
"map_poiClusterSemantics": "{count} marqueurs partagés. Touchez pour les lister.",
|
||||
"map_youWithMarkers": "Vous et {count} marqueurs",
|
||||
"map_sharedMarkerSemantics": "Marqueur partagé : {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} o",
|
||||
"mapCache_sizeKilobytes": "{size} Ko",
|
||||
"mapCache_sizeMegabytes": "{size} Mo",
|
||||
"mapCache_sizeGigabytes": "{size} Go",
|
||||
"mapCache_downloadCancelled": "Téléchargement annulé. {count} tuiles mises en cache.",
|
||||
"mapCache_tooManyTilesTitle": "Zone trop grande",
|
||||
"mapCache_tooManyTiles": "Cette zone nécessite {count} tuiles, soit plus que la limite de {max}. Choisissez une zone plus petite ou réduisez le zoom maximal.",
|
||||
"chat_clearChatConfirm": "Cela efface tous les messages de cette conversation sur cet appareil. Action irréversible.",
|
||||
"channels_clearChatConfirm": "Cela efface tous les messages de ce canal sur cet appareil, y compris les images reçues. Action irréversible.",
|
||||
"channels_timeNow": "maint.",
|
||||
"channels_timeMinutes": "{minutes} min",
|
||||
"channels_timeHours": "{hours} h",
|
||||
"channels_timeDays": "{days} j",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Inconnu",
|
||||
"pathMap_noSelfGpsFix": "Le nœud local n'a pas de position GPS",
|
||||
"pathTrace_sendFailed": "Impossible d'envoyer la trace du chemin : {error}",
|
||||
"losErrorNoInternet": "Les données d'altitude nécessitent une connexion Internet",
|
||||
"losResultStale": "Obsolète : la hauteur de l'antenne a changé",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Chargement de la télémétrie…",
|
||||
"telemetry_axisValue": "X : {x}, Y : {y}, Z : {z}",
|
||||
"telemetry_colourValue": "R : {red}, V : {green}, B : {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Non connecté à une radio. Connectez-vous et réessayez.",
|
||||
"settings_requiresConnection": "Connectez-vous à une radio pour l'utiliser",
|
||||
"settings_txPowerInvalidRange": "Puissance TX invalide ({min} à {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Paramètres du contact enregistrés",
|
||||
"settings_batteryToggleHint": "Touchez pour basculer entre pourcentage et tension",
|
||||
"settings_publicKeyCopyHint": "Copier la clé publique",
|
||||
"settings_locationClearHelper": "Laissez les deux champs vides pour supprimer votre position.",
|
||||
"settings_locationCleared": "Position supprimée",
|
||||
"settings_regionFetchDiscovering": "Recherche de répéteurs à proximité…",
|
||||
"settings_regionFetchProgress": "Interrogation du répéteur {current} sur {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Aucun répéteur connu pour le moment. Ajoutez un répéteur comme contact ou attendez qu'un répéteur s'annonce, puis réessayez.",
|
||||
"settings_regionFetchNoneResponded": "Aucun répéteur à proximité n'a répondu. Rapprochez-vous d'un répéteur et réessayez.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Routage",
|
||||
"appSettings_imageMessagesSection": "Messages image",
|
||||
"appSettings_showApiKey": "Afficher la clé API",
|
||||
"appSettings_hideApiKey": "Masquer la clé API",
|
||||
"translation_defaultModelName": "Modèle",
|
||||
"translation_downloadProgressBytes": "{fileName} : {current} Mo",
|
||||
"translation_downloadProgressTotal": "{fileName} : {current} / {total} Mo ({percent} %)",
|
||||
"translation_downloadedModelDetails": "{size} Mo • {source}",
|
||||
"repeater_radioDisconnected": "Radio déconnectée",
|
||||
"repeater_radioDisconnectedHint": "Reconnectez-vous à votre radio pour envoyer des commandes, actualiser ou enregistrer les modifications.",
|
||||
"repeater_cliSend": "Envoyer la commande",
|
||||
"repeater_cliCopyTranscript": "Copier la transcription",
|
||||
"repeater_cliShareTranscript": "Partager la transcription",
|
||||
"repeater_cliTranscriptCopied": "Transcription copiée",
|
||||
"repeater_cliClearHistoryConfirm": "Effacer l'historique des commandes ? Action irréversible.",
|
||||
"repeater_cliSearchCommands": "Rechercher des commandes",
|
||||
"repeater_cliNoMatchingCommands": "Aucune commande correspondante",
|
||||
"debugLog_clearConfirm": "Effacer toutes les entrées du journal ? Action irréversible.",
|
||||
"repeater_unsavedChangesTitle": "Modifications non enregistrées",
|
||||
"repeater_unsavedChangesMessage": "Vous avez des modifications non enregistrées sur le répéteur.",
|
||||
"repeater_discardChanges": "Abandonner",
|
||||
"repeater_actionSentNoReply": "{action} : commande envoyée. Le répéteur ne répond pas à cette commande.",
|
||||
"repeater_invalidSettingValue": "{setting} : {value} n'est pas valide",
|
||||
"repeater_txPowerOutOfRange": "Puissance TX {value} hors plage ({min} à {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "La clé privée doit comporter exactement {length} caractères hexadécimaux",
|
||||
"contacts_advertFailed": "Impossible d'envoyer l'annonce",
|
||||
"contacts_manageGroups": "Gérer les groupes",
|
||||
"community_shortId": "ID : {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Connecté à",
|
||||
"usbChooseSerialPort": "Choisir le port série",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} min {seconds} s",
|
||||
"neighbors_durationHours": "{hours} h {minutes} min",
|
||||
"scanner_getNodeTitle": "Besoin d'un nouveau nœud ?",
|
||||
"scanner_getNodeBody": "Format portefeuille, fonctionne avec MeshCore, GPS bi-bande, étanche, 5 jours d'autonomie.",
|
||||
"scanner_getNodeAction": "Obtenez-le ici",
|
||||
"scanner_getNodeDisclosure": "Lien d'affiliation : chaque achat soutient MeshCore Open.",
|
||||
"networkMap_settingsSection": "Carte du réseau",
|
||||
"networkMap_uploadTitle": "Partager ce que ma radio entend",
|
||||
"networkMap_uploadExplanation": "Lorsque cette option est activée et que votre radio est connectée, l'application envoie un court résumé des paquets entendus par votre radio à la carte du réseau MeshCore Open, afin que chacun puisse voir quels répéteurs existent et comment ils sont reliés. Elle envoie le type, la route, les sauts, la puissance du signal et la taille de chaque paquet, ainsi que les noms et les positions approximatives des répéteurs issus de leurs propres adverts. Elle n'envoie jamais le texte des messages, qui parle à qui, les noms des canaux, vos contacts ni votre position exacte : les positions sont arrondies à environ 2 km, et votre application reçoit chaque jour un nouvel identifiant aléatoire.",
|
||||
"networkMap_whatWeCollect": "Ce que nous collectons",
|
||||
"networkMap_promptTitle": "Aider à construire la carte du réseau ?",
|
||||
"networkMap_promptBody": "MeshCore Open peut partager ce que votre radio entend avec la carte publique du réseau sur map.meshcoreopen.org, afin que chacun puisse voir quels répéteurs existent et comment ils sont reliés.\n\nElle n'envoie jamais le texte des messages, qui parle à qui, les noms des canaux, vos contacts ni votre position exacte. Les positions sont arrondies à environ 2 km.",
|
||||
"networkMap_promptSettingsHint": "Vous pouvez modifier cela à tout moment dans Paramètres → Paramètres de l'application → Carte du réseau.",
|
||||
"networkMap_promptAccept": "Partager",
|
||||
"networkMap_promptDecline": "Non merci",
|
||||
"networkMap_statusOff": "Désactivé. Rien n'est envoyé.",
|
||||
"networkMap_statusWaiting": "Activé. En attente d'une connexion radio.",
|
||||
"networkMap_statusNothingSent": "Activé. Rien n'a encore été envoyé.",
|
||||
"networkMap_statusLastSent": "Dernier envoi {time}. {count} paquets aujourd'hui.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Local",
|
||||
"networkMap_sourceOnline": "En ligne",
|
||||
"networkMap_sourceBoth": "Les deux",
|
||||
"networkMap_zoomInHint": "Zoomez pour voir la carte du réseau en ligne",
|
||||
"networkMap_loadFailed": "Impossible de charger la carte du réseau en ligne",
|
||||
"networkMap_inYourContacts": "Dans vos contacts",
|
||||
"networkMap_status": "Statut",
|
||||
"networkMap_statusActive": "Actif durant la dernière heure",
|
||||
"networkMap_statusRecent": "Entendu durant le dernier jour",
|
||||
"networkMap_statusStale": "Pas entendu récemment",
|
||||
"networkMap_confirmed": "Confirmé",
|
||||
"networkMap_singleSource": "Source unique, pas encore confirmé",
|
||||
"networkMap_reports": "Rapports",
|
||||
"networkMap_locationEstimated": "Position approximative, estimée d'après ceux qui l'ont entendu",
|
||||
"networkMap_locationAdvertised": "Position approximative, issue de son propre advert",
|
||||
"networkMap_heardByRadio": "Entendu par votre radio",
|
||||
"networkMap_inYourArea": "Dans votre zone",
|
||||
"networkMap_farAway": "Trop loin. La gestion ne pourra pas l'atteindre.",
|
||||
"networkMap_addToContacts": "Ajouter aux contacts",
|
||||
"networkMap_manage": "Gérer",
|
||||
"networkMap_addedToContacts": "Ajouté aux contacts",
|
||||
"networkMap_addFailed": "Impossible d'ajouter aux contacts",
|
||||
"networkMap_unnamed": "Répéteur sans nom"
|
||||
}
|
||||
+149
-1
@@ -3201,5 +3201,153 @@
|
||||
"qr_cameraPermissionDenied": "Kamera-engedély megtagadva.\nEngedélyezze a kamera hozzáférést a beállításokban.",
|
||||
"qr_cameraUnsupported": "A kamera nem támogatott ezen az eszközön.",
|
||||
"qr_cameraStartFailed": "A kamera indítása sikertelen.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "A képmodell letöltése sikertelen: {error}"
|
||||
"imageMessages_downloadFailedWithError": "A képmodell letöltése sikertelen: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Elrejtés: a térkép elhagyásáig rejtve marad.",
|
||||
"map_markerRemoveHint": "Eltávolítás: a szűrőmenüből való visszaállításig rejtve marad.",
|
||||
"map_markerRemoved": "Jelölő eltávolítva",
|
||||
"map_restoreRemovedMarkers": "Eltávolított jelölők visszaállítása",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} eltávolítva",
|
||||
"map_markersRestored": "{count} jelölő visszaállítva",
|
||||
"map_setLocationConfirmTitle": "Beállítja saját helyzetként?",
|
||||
"map_setLocationConfirmBody": "A csomópont ezt a pozíciót fogja hirdetni:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Helyzet beállítása",
|
||||
"map_locationSetSuccess": "A csomópont helyzete frissítve",
|
||||
"map_locationSetFailed": "Az eszköz nem erősítette meg az új helyzetet. Próbálja újra.",
|
||||
"map_poiClusterTitle": "{count} jelölő itt",
|
||||
"map_poiClusterSemantics": "{count} megosztott jelölő. Koppintson a listázáshoz.",
|
||||
"map_youWithMarkers": "Ön és {count} jelölő",
|
||||
"map_sharedMarkerSemantics": "Megosztott jelölő: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Nagyítás: {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "A letöltés megszakítva. {count} csempe gyorsítótárazva.",
|
||||
"mapCache_tooManyTilesTitle": "Túl nagy terület",
|
||||
"mapCache_tooManyTiles": "Ehhez a területhez {count} csempe kell, ami meghaladja a {max} korlátot. Válasszon kisebb területet, vagy csökkentse a maximális nagyítást.",
|
||||
"chat_clearChatConfirm": "Ez törli a beszélgetés összes üzenetét erről az eszközről. A művelet nem vonható vissza.",
|
||||
"channels_clearChatConfirm": "Ez törli a csatorna összes üzenetét erről az eszközről, a fogadott képekkel együtt. A művelet nem vonható vissza.",
|
||||
"channels_timeNow": "most",
|
||||
"channels_timeMinutes": "{minutes} p",
|
||||
"channels_timeHours": "{hours} ó",
|
||||
"channels_timeDays": "{days} n",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Ismeretlen",
|
||||
"pathMap_noSelfGpsFix": "A helyi csomópontnak nincs GPS-jelzése",
|
||||
"pathTrace_sendFailed": "Nem sikerült elküldeni az útvonalkövetést: {error}",
|
||||
"losErrorNoInternet": "A magassági adatokhoz internetkapcsolat szükséges",
|
||||
"losResultStale": "Elavult: az antennamagasság megváltozott",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Telemetria betöltése…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Nincs kapcsolat rádióval. Csatlakozzon, és próbálja újra.",
|
||||
"settings_requiresConnection": "A használathoz csatlakozzon egy rádióhoz",
|
||||
"settings_txPowerInvalidRange": "Érvénytelen TX teljesítmény ({min} – {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Kapcsolatbeállítások mentve",
|
||||
"settings_batteryToggleHint": "Koppintson a százalék és a feszültség közötti váltáshoz",
|
||||
"settings_publicKeyCopyHint": "Nyilvános kulcs másolása",
|
||||
"settings_locationClearHelper": "A helyzet törléséhez hagyja üresen mindkét mezőt.",
|
||||
"settings_locationCleared": "Helyzet eltávolítva",
|
||||
"settings_regionFetchDiscovering": "Közeli átjátszók keresése…",
|
||||
"settings_regionFetchProgress": "{current}. átjátszó lekérdezése ({total} közül)…",
|
||||
"settings_regionFetchNoRepeaters": "Még nem ismert egyetlen átjátszó sem. Adjon hozzá egy átjátszót kapcsolatként, vagy várja meg, amíg egy hirdet, majd próbálja újra.",
|
||||
"settings_regionFetchNoneResponded": "Egyik közeli átjátszó sem válaszolt. Menjen közelebb egy átjátszóhoz, és próbálja újra.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Útválasztás",
|
||||
"appSettings_imageMessagesSection": "Képüzenetek",
|
||||
"appSettings_showApiKey": "API-kulcs megjelenítése",
|
||||
"appSettings_hideApiKey": "API-kulcs elrejtése",
|
||||
"translation_defaultModelName": "Modell",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "A rádió lecsatlakozott",
|
||||
"repeater_radioDisconnectedHint": "Csatlakozzon újra a rádióhoz parancsok küldéséhez, frissítéshez vagy a módosítások mentéséhez.",
|
||||
"repeater_cliSend": "Parancs küldése",
|
||||
"repeater_cliCopyTranscript": "Átirat másolása",
|
||||
"repeater_cliShareTranscript": "Átirat megosztása",
|
||||
"repeater_cliTranscriptCopied": "Átirat másolva",
|
||||
"repeater_cliClearHistoryConfirm": "Törli a parancselőzményeket? A művelet nem vonható vissza.",
|
||||
"repeater_cliSearchCommands": "Parancsok keresése",
|
||||
"repeater_cliNoMatchingCommands": "Nincs egyező parancs",
|
||||
"debugLog_clearConfirm": "Törli az összes naplóbejegyzést? A művelet nem vonható vissza.",
|
||||
"repeater_unsavedChangesTitle": "Nem mentett módosítások",
|
||||
"repeater_unsavedChangesMessage": "Vannak módosítások, amelyek nincsenek elmentve az átjátszóra.",
|
||||
"repeater_discardChanges": "Elvetés",
|
||||
"repeater_actionSentNoReply": "{action}: parancs elküldve. Az átjátszó nem válaszol erre a parancsra.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} érvénytelen",
|
||||
"repeater_txPowerOutOfRange": "A(z) {value} TX teljesítmény tartományon kívül van ({min} – {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "A privát kulcsnak pontosan {length} hexadecimális karakterből kell állnia",
|
||||
"contacts_advertFailed": "Nem sikerült elküldeni a hirdetést",
|
||||
"contacts_manageGroups": "Csoportok kezelése",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Csatlakozva:",
|
||||
"usbChooseSerialPort": "Soros port kiválasztása",
|
||||
"neighbors_durationSeconds": "{seconds} mp",
|
||||
"neighbors_durationMinutes": "{minutes} p {seconds} mp",
|
||||
"neighbors_durationHours": "{hours} ó {minutes} p",
|
||||
"scanner_getNodeTitle": "Új csomópontra van szükséged?",
|
||||
"scanner_getNodeBody": "Pénztárca méretű, MeshCore-t futtat, kétsávos GPS, vízálló, 5 napos akkumulátor.",
|
||||
"scanner_getNodeAction": "Itt szerezhetsz egyet",
|
||||
"scanner_getNodeDisclosure": "Partnerlink: minden vásárlás a MeshCore Opent támogatja.",
|
||||
"networkMap_settingsSection": "Hálózati térkép",
|
||||
"networkMap_uploadTitle": "Megosztom, amit a rádióm hall",
|
||||
"networkMap_uploadExplanation": "Ha ez be van kapcsolva és a rádió csatlakozik, az alkalmazás rövid összefoglalót küld a rádió által hallott csomagokról a MeshCore Open hálózati térképére, hogy mindenki lássa, milyen repeaterek léteznek és hogyan kapcsolódnak egymáshoz. Elküldi az egyes csomagok típusát, útvonalát, ugrásszámát, jelerősségét és méretét, valamint a repeaterek nevét és hozzávetőleges helyét a saját advertjeikből. Soha nem küld üzenetszöveget, azt, hogy ki kivel beszélget, csatornaneveket, a kapcsolataidat vagy a pontos helyzetedet: a helyek kb. 2 km-re kerekítettek, az alkalmazásod pedig naponta új véletlenszerű azonosítót kap.",
|
||||
"networkMap_whatWeCollect": "Mit gyűjtünk",
|
||||
"networkMap_promptTitle": "Segítesz a hálózati térkép építésében?",
|
||||
"networkMap_promptBody": "A MeshCore Open megoszthatja, amit a rádiód hall, a nyilvános hálózati térképpel a map.meshcoreopen.org oldalon, hogy mindenki lássa, milyen repeaterek léteznek és hogyan kapcsolódnak egymáshoz.\n\nSoha nem küld üzenetszöveget, azt, hogy ki kivel beszélget, csatornaneveket, a kapcsolataidat vagy a pontos helyzetedet. A helyek kb. 2 km-re kerekítettek.",
|
||||
"networkMap_promptSettingsHint": "Ezt bármikor módosíthatod: Beállítások → Alkalmazásbeállítások → Hálózati térkép.",
|
||||
"networkMap_promptAccept": "Megosztás",
|
||||
"networkMap_promptDecline": "Köszönöm, nem",
|
||||
"networkMap_statusOff": "Kikapcsolva. Semmi sem kerül elküldésre.",
|
||||
"networkMap_statusWaiting": "Bekapcsolva. Várakozás a rádiókapcsolatra.",
|
||||
"networkMap_statusNothingSent": "Bekapcsolva. Még nem ment el semmi.",
|
||||
"networkMap_statusLastSent": "Utoljára elküldve: {time}. Ma {count} csomag.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Helyi",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Mindkettő",
|
||||
"networkMap_zoomInHint": "Nagyíts rá az online hálózati térkép megtekintéséhez",
|
||||
"networkMap_loadFailed": "Nem sikerült betölteni az online hálózati térképet",
|
||||
"networkMap_inYourContacts": "A kapcsolataid között",
|
||||
"networkMap_status": "Állapot",
|
||||
"networkMap_statusActive": "Aktív az elmúlt órában",
|
||||
"networkMap_statusRecent": "Hallva az elmúlt napban",
|
||||
"networkMap_statusStale": "Mostanában nem hallható",
|
||||
"networkMap_confirmed": "Megerősítve",
|
||||
"networkMap_singleSource": "Egyetlen forrás, még nem megerősített",
|
||||
"networkMap_reports": "Jelentések",
|
||||
"networkMap_locationEstimated": "Hozzávetőleges hely, a hallók alapján becsülve",
|
||||
"networkMap_locationAdvertised": "Hozzávetőleges hely, a saját advertjéből",
|
||||
"networkMap_heardByRadio": "A rádiód hallja",
|
||||
"networkMap_inYourArea": "A közeledben",
|
||||
"networkMap_farAway": "Messze van. A kezelés nem éri el.",
|
||||
"networkMap_addToContacts": "Hozzáadás a kapcsolatokhoz",
|
||||
"networkMap_manage": "Kezelés",
|
||||
"networkMap_addedToContacts": "Hozzáadva a kapcsolatokhoz",
|
||||
"networkMap_addFailed": "Nem sikerült hozzáadni a kapcsolatokhoz",
|
||||
"networkMap_unnamed": "Névtelen repeater"
|
||||
}
|
||||
+149
-1
@@ -3296,5 +3296,153 @@
|
||||
"qr_cameraPermissionDenied": "Permesso della fotocamera negato.\nAbilita l'accesso alla fotocamera nelle impostazioni.",
|
||||
"qr_cameraUnsupported": "Fotocamera non supportata su questo dispositivo.",
|
||||
"qr_cameraStartFailed": "Avvio della fotocamera non riuscito.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Impossibile scaricare il modello di immagine: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Impossibile scaricare il modello di immagine: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Nascondi: resta nascosto finché non lasci la mappa.",
|
||||
"map_markerRemoveHint": "Rimuovi: resta nascosto finché non lo ripristini dal menu dei filtri.",
|
||||
"map_markerRemoved": "Segnaposto rimosso",
|
||||
"map_restoreRemovedMarkers": "Ripristina segnaposti rimossi",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} rimossi",
|
||||
"map_markersRestored": "{count} segnaposti ripristinati",
|
||||
"map_setLocationConfirmTitle": "Impostare come tua posizione?",
|
||||
"map_setLocationConfirmBody": "Il tuo nodo annuncerà questa posizione:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Imposta posizione",
|
||||
"map_locationSetSuccess": "Posizione del nodo aggiornata",
|
||||
"map_locationSetFailed": "Il dispositivo non ha confermato la nuova posizione. Riprova.",
|
||||
"map_poiClusterTitle": "{count} segnaposti qui",
|
||||
"map_poiClusterSemantics": "{count} segnaposti condivisi. Tocca per elencarli.",
|
||||
"map_youWithMarkers": "Tu e {count} segnaposti",
|
||||
"map_sharedMarkerSemantics": "Segnaposto condiviso: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Download annullato. {count} tile salvate nella cache.",
|
||||
"mapCache_tooManyTilesTitle": "Area troppo grande",
|
||||
"mapCache_tooManyTiles": "Quest'area richiede {count} tile, più del limite di {max}. Scegli un'area più piccola o riduci lo zoom massimo.",
|
||||
"chat_clearChatConfirm": "Questo cancella tutti i messaggi di questa conversazione da questo dispositivo. Non può essere annullato.",
|
||||
"channels_clearChatConfirm": "Questo cancella tutti i messaggi di questo canale da questo dispositivo, comprese le immagini ricevute. Non può essere annullato.",
|
||||
"channels_timeNow": "ora",
|
||||
"channels_timeMinutes": "{minutes} min",
|
||||
"channels_timeHours": "{hours} h",
|
||||
"channels_timeDays": "{days} g",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Sconosciuto",
|
||||
"pathMap_noSelfGpsFix": "Il nodo locale non ha un fix GPS",
|
||||
"pathTrace_sendFailed": "Impossibile inviare il tracciamento del percorso: {error}",
|
||||
"losErrorNoInternet": "I dati di altitudine richiedono una connessione a Internet",
|
||||
"losResultStale": "Non aggiornato: l'altezza dell'antenna è cambiata",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Caricamento della telemetria…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Non connesso a una radio. Connettiti e riprova.",
|
||||
"settings_requiresConnection": "Connettiti a una radio per usarlo",
|
||||
"settings_txPowerInvalidRange": "Potenza TX non valida ({min} - {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Impostazioni del contatto salvate",
|
||||
"settings_batteryToggleHint": "Tocca per passare tra percentuale e tensione",
|
||||
"settings_publicKeyCopyHint": "Copia chiave pubblica",
|
||||
"settings_locationClearHelper": "Lascia vuoti entrambi i campi per rimuovere la tua posizione.",
|
||||
"settings_locationCleared": "Posizione rimossa",
|
||||
"settings_regionFetchDiscovering": "Ricerca di ripetitori vicini…",
|
||||
"settings_regionFetchProgress": "Interrogazione del ripetitore {current} di {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Nessun ripetitore noto per ora. Aggiungi un ripetitore come contatto o attendi che ne annunci uno, poi riprova.",
|
||||
"settings_regionFetchNoneResponded": "Nessun ripetitore vicino ha risposto. Avvicinati a un ripetitore e riprova.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Instradamento",
|
||||
"appSettings_imageMessagesSection": "Messaggi immagine",
|
||||
"appSettings_showApiKey": "Mostra chiave API",
|
||||
"appSettings_hideApiKey": "Nascondi chiave API",
|
||||
"translation_defaultModelName": "Modello",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Radio disconnessa",
|
||||
"repeater_radioDisconnectedHint": "Riconnettiti alla radio per inviare comandi, aggiornare o salvare le modifiche.",
|
||||
"repeater_cliSend": "Invia comando",
|
||||
"repeater_cliCopyTranscript": "Copia trascrizione",
|
||||
"repeater_cliShareTranscript": "Condividi trascrizione",
|
||||
"repeater_cliTranscriptCopied": "Trascrizione copiata",
|
||||
"repeater_cliClearHistoryConfirm": "Cancellare la cronologia dei comandi? Non può essere annullato.",
|
||||
"repeater_cliSearchCommands": "Cerca comandi",
|
||||
"repeater_cliNoMatchingCommands": "Nessun comando corrispondente",
|
||||
"debugLog_clearConfirm": "Cancellare tutte le voci del registro? Non può essere annullato.",
|
||||
"repeater_unsavedChangesTitle": "Modifiche non salvate",
|
||||
"repeater_unsavedChangesMessage": "Hai modifiche non salvate sul ripetitore.",
|
||||
"repeater_discardChanges": "Scarta",
|
||||
"repeater_actionSentNoReply": "{action}: comando inviato. Il ripetitore non risponde a questo comando.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} non è valido",
|
||||
"repeater_txPowerOutOfRange": "Potenza TX {value} fuori intervallo ({min} - {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "La chiave privata deve essere di esattamente {length} caratteri esadecimali",
|
||||
"contacts_advertFailed": "Impossibile inviare l'annuncio",
|
||||
"contacts_manageGroups": "Gestisci gruppi",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Connesso a",
|
||||
"usbChooseSerialPort": "Scegli porta seriale",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} min {seconds} s",
|
||||
"neighbors_durationHours": "{hours} h {minutes} min",
|
||||
"scanner_getNodeTitle": "Ti serve un nuovo nodo?",
|
||||
"scanner_getNodeBody": "Grande come un portafoglio, funziona con MeshCore, GPS dual-band, impermeabile, 5 giorni di batteria.",
|
||||
"scanner_getNodeAction": "Prendilo qui",
|
||||
"scanner_getNodeDisclosure": "Link di affiliazione: ogni acquisto sostiene MeshCore Open.",
|
||||
"networkMap_settingsSection": "Mappa della rete",
|
||||
"networkMap_uploadTitle": "Condividi ciò che sente la mia radio",
|
||||
"networkMap_uploadExplanation": "Quando è attivo e la tua radio è connessa, l'app invia un breve riepilogo dei pacchetti sentiti dalla tua radio alla mappa della rete di MeshCore Open, così tutti possono vedere quali ripetitori esistono e come sono collegati. Invia tipo, percorso, hop, intensità del segnale e dimensione di ogni pacchetto, oltre a nomi e posizioni approssimative dei ripetitori ricavati dai loro advert. Non invia mai il testo dei messaggi, chi parla con chi, i nomi dei canali, i tuoi contatti né la tua posizione esatta: le posizioni sono arrotondate a circa 2 km e la tua app riceve ogni giorno un nuovo ID casuale.",
|
||||
"networkMap_whatWeCollect": "Cosa raccogliamo",
|
||||
"networkMap_promptTitle": "Vuoi aiutare a costruire la mappa della rete?",
|
||||
"networkMap_promptBody": "MeshCore Open può condividere ciò che sente la tua radio con la mappa pubblica della rete su map.meshcoreopen.org, così tutti possono vedere quali ripetitori esistono e come sono collegati.\n\nNon invia mai il testo dei messaggi, chi parla con chi, i nomi dei canali, i tuoi contatti né la tua posizione esatta. Le posizioni sono arrotondate a circa 2 km.",
|
||||
"networkMap_promptSettingsHint": "Puoi cambiarlo in qualsiasi momento in Impostazioni → Impostazioni App → Mappa della rete.",
|
||||
"networkMap_promptAccept": "Condividi",
|
||||
"networkMap_promptDecline": "No, grazie",
|
||||
"networkMap_statusOff": "Disattivato. Non viene inviato nulla.",
|
||||
"networkMap_statusWaiting": "Attivo. In attesa della connessione con la radio.",
|
||||
"networkMap_statusNothingSent": "Attivo. Ancora nulla inviato.",
|
||||
"networkMap_statusLastSent": "Ultimo invio {time}. {count} pacchetti oggi.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Locale",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Entrambi",
|
||||
"networkMap_zoomInHint": "Ingrandisci per vedere la mappa della rete online",
|
||||
"networkMap_loadFailed": "Impossibile caricare la mappa della rete online",
|
||||
"networkMap_inYourContacts": "Nei tuoi contatti",
|
||||
"networkMap_status": "Stato",
|
||||
"networkMap_statusActive": "Attivo nell'ultima ora",
|
||||
"networkMap_statusRecent": "Sentito nell'ultimo giorno",
|
||||
"networkMap_statusStale": "Non sentito di recente",
|
||||
"networkMap_confirmed": "Confermato",
|
||||
"networkMap_singleSource": "Fonte singola, non ancora confermato",
|
||||
"networkMap_reports": "Segnalazioni",
|
||||
"networkMap_locationEstimated": "Posizione approssimativa, stimata in base a chi l'ha sentito",
|
||||
"networkMap_locationAdvertised": "Posizione approssimativa, dal suo advert",
|
||||
"networkMap_heardByRadio": "Sentito dalla tua radio",
|
||||
"networkMap_inYourArea": "Nella tua zona",
|
||||
"networkMap_farAway": "Troppo lontano. La gestione non lo raggiungerà.",
|
||||
"networkMap_addToContacts": "Aggiungi ai contatti",
|
||||
"networkMap_manage": "Gestisci",
|
||||
"networkMap_addedToContacts": "Aggiunto ai contatti",
|
||||
"networkMap_addFailed": "Impossibile aggiungere ai contatti",
|
||||
"networkMap_unnamed": "Ripetitore senza nome"
|
||||
}
|
||||
+149
-1
@@ -3296,5 +3296,153 @@
|
||||
"qr_cameraPermissionDenied": "カメラの権限が拒否されました。\n設定でカメラへのアクセスを有効にしてください。",
|
||||
"qr_cameraUnsupported": "この端末ではカメラがサポートされていません。",
|
||||
"qr_cameraStartFailed": "カメラを起動できませんでした。\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "画像モデルをダウンロードできませんでした:{error}"
|
||||
"imageMessages_downloadFailedWithError": "画像モデルをダウンロードできませんでした:{error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "非表示:マップを離れるまで非表示になります。",
|
||||
"map_markerRemoveHint": "削除:フィルターメニューから復元するまで非表示のままです。",
|
||||
"map_markerRemoved": "マーカーを削除しました",
|
||||
"map_restoreRemovedMarkers": "削除したマーカーを復元",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count}件削除済み",
|
||||
"map_markersRestored": "{count}件のマーカーを復元しました",
|
||||
"map_setLocationConfirmTitle": "この位置を自分の位置に設定しますか?",
|
||||
"map_setLocationConfirmBody": "ノードは次の位置をアドバートします:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "位置を設定",
|
||||
"map_locationSetSuccess": "ノードの位置を更新しました",
|
||||
"map_locationSetFailed": "デバイスが新しい位置を確認しませんでした。もう一度お試しください。",
|
||||
"map_poiClusterTitle": "ここに{count}件のマーカー",
|
||||
"map_poiClusterSemantics": "共有マーカー{count}件。タップして一覧を表示します。",
|
||||
"map_youWithMarkers": "自分と{count}件のマーカー",
|
||||
"map_sharedMarkerSemantics": "共有マーカー: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}、{type}、{status}",
|
||||
"mapCache_zoomLevel": "ズーム {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "ダウンロードをキャンセルしました。{count}枚のタイルをキャッシュしました。",
|
||||
"mapCache_tooManyTilesTitle": "エリアが大きすぎます",
|
||||
"mapCache_tooManyTiles": "このエリアには{count}枚のタイルが必要で、上限の{max}枚を超えています。より小さいエリアを選ぶか、最大ズームを下げてください。",
|
||||
"chat_clearChatConfirm": "この会話のすべてのメッセージをこのデバイスから消去します。元に戻せません。",
|
||||
"channels_clearChatConfirm": "このチャンネルのすべてのメッセージを、受信した画像も含めてこのデバイスから消去します。元に戻せません。",
|
||||
"channels_timeNow": "今",
|
||||
"channels_timeMinutes": "{minutes}分",
|
||||
"channels_timeHours": "{hours}時間",
|
||||
"channels_timeDays": "{days}日",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "不明",
|
||||
"pathMap_noSelfGpsFix": "ローカルノードにGPS測位がありません",
|
||||
"pathTrace_sendFailed": "パストレースを送信できませんでした: {error}",
|
||||
"losErrorNoInternet": "標高データにはインターネット接続が必要です",
|
||||
"losResultStale": "古い結果: アンテナ高が変更されました",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "テレメトリを読み込み中…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "無線機に接続されていません。接続してからもう一度お試しください。",
|
||||
"settings_requiresConnection": "使用するには無線機に接続してください",
|
||||
"settings_txPowerInvalidRange": "TX出力が無効です({min}~{max} dBm)",
|
||||
"settings_contactSettingsSaved": "連絡先設定を保存しました",
|
||||
"settings_batteryToggleHint": "タップでパーセントと電圧を切り替え",
|
||||
"settings_publicKeyCopyHint": "公開鍵をコピー",
|
||||
"settings_locationClearHelper": "位置情報を削除するには、両方の欄を空にしてください。",
|
||||
"settings_locationCleared": "位置情報を削除しました",
|
||||
"settings_regionFetchDiscovering": "近くのリピータを検索中…",
|
||||
"settings_regionFetchProgress": "リピータ {current}/{total} に問い合わせ中…",
|
||||
"settings_regionFetchNoRepeaters": "既知のリピータがまだありません。リピータを連絡先に追加するか、アドバートを待ってからもう一度お試しください。",
|
||||
"settings_regionFetchNoneResponded": "近くのリピータから応答がありませんでした。リピータに近づいてもう一度お試しください。",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "ルーティング",
|
||||
"appSettings_imageMessagesSection": "画像メッセージ",
|
||||
"appSettings_showApiKey": "APIキーを表示",
|
||||
"appSettings_hideApiKey": "APIキーを非表示",
|
||||
"translation_defaultModelName": "モデル",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "無線機が切断されました",
|
||||
"repeater_radioDisconnectedHint": "コマンドの送信、更新、変更の保存を行うには、無線機に再接続してください。",
|
||||
"repeater_cliSend": "コマンドを送信",
|
||||
"repeater_cliCopyTranscript": "履歴をコピー",
|
||||
"repeater_cliShareTranscript": "履歴を共有",
|
||||
"repeater_cliTranscriptCopied": "履歴をコピーしました",
|
||||
"repeater_cliClearHistoryConfirm": "コマンド履歴を消去しますか?元に戻せません。",
|
||||
"repeater_cliSearchCommands": "コマンドを検索",
|
||||
"repeater_cliNoMatchingCommands": "一致するコマンドがありません",
|
||||
"debugLog_clearConfirm": "すべてのログを消去しますか?元に戻せません。",
|
||||
"repeater_unsavedChangesTitle": "未保存の変更",
|
||||
"repeater_unsavedChangesMessage": "リピータに保存されていない変更があります。",
|
||||
"repeater_discardChanges": "破棄",
|
||||
"repeater_actionSentNoReply": "{action}: コマンドを送信しました。リピータはこのコマンドに応答しません。",
|
||||
"repeater_invalidSettingValue": "{setting}: {value}は無効です",
|
||||
"repeater_txPowerOutOfRange": "TX出力 {value} は範囲外です({min}~{max} dBm)",
|
||||
"repeater_prvKeyLengthError": "秘密鍵は16進数でちょうど{length}文字である必要があります",
|
||||
"contacts_advertFailed": "アドバートを送信できませんでした",
|
||||
"contacts_manageGroups": "グループを管理",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "接続先",
|
||||
"usbChooseSerialPort": "シリアルポートを選択",
|
||||
"neighbors_durationSeconds": "{seconds}秒",
|
||||
"neighbors_durationMinutes": "{minutes}分{seconds}秒",
|
||||
"neighbors_durationHours": "{hours}時間{minutes}分",
|
||||
"scanner_getNodeTitle": "新しいノードが必要ですか?",
|
||||
"scanner_getNodeBody": "財布サイズで MeshCore が動作。デュアルバンドGPS、防水、バッテリー5日間。",
|
||||
"scanner_getNodeAction": "こちらで入手",
|
||||
"scanner_getNodeDisclosure": "アフィリエイトリンク: 購入のたびに MeshCore Open を応援できます。",
|
||||
"networkMap_settingsSection": "ネットワークマップ",
|
||||
"networkMap_uploadTitle": "ラジオが受信した情報を共有",
|
||||
"networkMap_uploadExplanation": "オンにしてラジオが接続されている間、ラジオが受信したパケットの概要をアプリが MeshCore Open のネットワークマップに送信します。これにより、どんなリピータがあり、どうつながっているかを誰でも見られます。送信するのは、各パケットの種類、経路、ホップ数、信号強度、サイズと、リピータ自身のアドバートに含まれる名前とおおよその位置です。メッセージの本文、誰が誰と話しているか、チャンネル名、連絡先、正確な位置は送信しません。位置は約2km単位に丸められ、アプリのIDは毎日ランダムに新しくなります。",
|
||||
"networkMap_whatWeCollect": "収集する情報",
|
||||
"networkMap_promptTitle": "ネットワークマップの作成にご協力いただけますか?",
|
||||
"networkMap_promptBody": "MeshCore Open は、ラジオが受信した情報を map.meshcoreopen.org の公開ネットワークマップと共有できます。これにより、どんなリピータがあり、どうつながっているかを誰でも見られます。\n\nメッセージの本文、誰が誰と話しているか、チャンネル名、連絡先、正確な位置は送信しません。位置は約2km単位に丸められます。",
|
||||
"networkMap_promptSettingsHint": "この設定はいつでも「設定」→「アプリ設定」→「ネットワークマップ」で変更できます。",
|
||||
"networkMap_promptAccept": "共有する",
|
||||
"networkMap_promptDecline": "いいえ、結構です",
|
||||
"networkMap_statusOff": "オフ。何も送信されません。",
|
||||
"networkMap_statusWaiting": "オン。ラジオの接続を待っています。",
|
||||
"networkMap_statusNothingSent": "オン。まだ何も送信されていません。",
|
||||
"networkMap_statusLastSent": "最終送信: {time}。今日は{count}パケット。",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "ローカル",
|
||||
"networkMap_sourceOnline": "オンライン",
|
||||
"networkMap_sourceBoth": "両方",
|
||||
"networkMap_zoomInHint": "ズームインするとオンラインのネットワークマップが表示されます",
|
||||
"networkMap_loadFailed": "オンラインのネットワークマップを読み込めませんでした",
|
||||
"networkMap_inYourContacts": "連絡先にあります",
|
||||
"networkMap_status": "ステータス",
|
||||
"networkMap_statusActive": "直近1時間にアクティブ",
|
||||
"networkMap_statusRecent": "直近1日以内に受信",
|
||||
"networkMap_statusStale": "最近受信されていません",
|
||||
"networkMap_confirmed": "確認済み",
|
||||
"networkMap_singleSource": "情報源が1つのみで、未確認",
|
||||
"networkMap_reports": "レポート",
|
||||
"networkMap_locationEstimated": "おおよその位置(受信したノードから推定)",
|
||||
"networkMap_locationAdvertised": "おおよその位置(自身のアドバートより)",
|
||||
"networkMap_heardByRadio": "ラジオが受信",
|
||||
"networkMap_inYourArea": "お近く",
|
||||
"networkMap_farAway": "遠すぎます。管理はできません。",
|
||||
"networkMap_addToContacts": "連絡先に追加",
|
||||
"networkMap_manage": "管理",
|
||||
"networkMap_addedToContacts": "連絡先に追加しました",
|
||||
"networkMap_addFailed": "連絡先に追加できませんでした",
|
||||
"networkMap_unnamed": "名前のないリピータ"
|
||||
}
|
||||
+149
-1
@@ -3296,5 +3296,153 @@
|
||||
"qr_cameraPermissionDenied": "카메라 권한이 거부되었습니다.\n설정에서 카메라 접근을 허용해 주세요.",
|
||||
"qr_cameraUnsupported": "이 기기는 카메라를 지원하지 않습니다.",
|
||||
"qr_cameraStartFailed": "카메라를 시작하지 못했습니다.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "이미지 모델을 다운로드하지 못했습니다: {error}"
|
||||
"imageMessages_downloadFailedWithError": "이미지 모델을 다운로드하지 못했습니다: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "숨기기: 지도를 벗어날 때까지 숨겨집니다.",
|
||||
"map_markerRemoveHint": "삭제: 필터 메뉴에서 복원하기 전까지 숨겨진 상태로 유지됩니다.",
|
||||
"map_markerRemoved": "마커를 삭제했습니다",
|
||||
"map_restoreRemovedMarkers": "삭제한 마커 복원",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count}개 삭제됨",
|
||||
"map_markersRestored": "마커 {count}개를 복원했습니다",
|
||||
"map_setLocationConfirmTitle": "내 위치로 설정할까요?",
|
||||
"map_setLocationConfirmBody": "노드가 다음 위치를 어드버트합니다:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "위치 설정",
|
||||
"map_locationSetSuccess": "노드 위치를 업데이트했습니다",
|
||||
"map_locationSetFailed": "장치가 새 위치를 확인하지 않았습니다. 다시 시도하세요.",
|
||||
"map_poiClusterTitle": "여기에 마커 {count}개",
|
||||
"map_poiClusterSemantics": "공유 마커 {count}개. 탭하여 목록을 확인하세요.",
|
||||
"map_youWithMarkers": "나와 마커 {count}개",
|
||||
"map_sharedMarkerSemantics": "공유 마커: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "줌 {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "다운로드가 취소되었습니다. 타일 {count}개를 캐시했습니다.",
|
||||
"mapCache_tooManyTilesTitle": "영역이 너무 큽니다",
|
||||
"mapCache_tooManyTiles": "이 영역에는 타일 {count}개가 필요하며 제한인 {max}개를 초과합니다. 더 작은 영역을 선택하거나 최대 줌을 낮추세요.",
|
||||
"chat_clearChatConfirm": "이 대화의 모든 메시지를 이 기기에서 삭제합니다. 되돌릴 수 없습니다.",
|
||||
"channels_clearChatConfirm": "받은 이미지를 포함해 이 채널의 모든 메시지를 이 기기에서 삭제합니다. 되돌릴 수 없습니다.",
|
||||
"channels_timeNow": "지금",
|
||||
"channels_timeMinutes": "{minutes}분",
|
||||
"channels_timeHours": "{hours}시간",
|
||||
"channels_timeDays": "{days}일",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "알 수 없음",
|
||||
"pathMap_noSelfGpsFix": "로컬 노드에 GPS 위치가 없습니다",
|
||||
"pathTrace_sendFailed": "경로 추적을 보낼 수 없습니다: {error}",
|
||||
"losErrorNoInternet": "고도 데이터에는 인터넷 연결이 필요합니다",
|
||||
"losResultStale": "오래된 결과: 안테나 높이가 변경되었습니다",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "텔레메트리 불러오는 중…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "무전기에 연결되어 있지 않습니다. 연결한 후 다시 시도하세요.",
|
||||
"settings_requiresConnection": "사용하려면 무전기에 연결하세요",
|
||||
"settings_txPowerInvalidRange": "잘못된 TX 출력입니다({min}~{max} dBm)",
|
||||
"settings_contactSettingsSaved": "연락처 설정을 저장했습니다",
|
||||
"settings_batteryToggleHint": "탭하여 퍼센트와 전압 전환",
|
||||
"settings_publicKeyCopyHint": "공개 키 복사",
|
||||
"settings_locationClearHelper": "위치를 삭제하려면 두 입력란을 모두 비워 두세요.",
|
||||
"settings_locationCleared": "위치를 삭제했습니다",
|
||||
"settings_regionFetchDiscovering": "주변 리피터를 찾는 중…",
|
||||
"settings_regionFetchProgress": "리피터 {current}/{total}에 요청하는 중…",
|
||||
"settings_regionFetchNoRepeaters": "알려진 리피터가 아직 없습니다. 리피터를 연락처로 추가하거나 어드버트를 기다린 후 다시 시도하세요.",
|
||||
"settings_regionFetchNoneResponded": "응답한 주변 리피터가 없습니다. 리피터에 더 가까이 이동한 후 다시 시도하세요.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "라우팅",
|
||||
"appSettings_imageMessagesSection": "이미지 메시지",
|
||||
"appSettings_showApiKey": "API 키 표시",
|
||||
"appSettings_hideApiKey": "API 키 숨기기",
|
||||
"translation_defaultModelName": "모델",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "무전기 연결 끊김",
|
||||
"repeater_radioDisconnectedHint": "명령을 보내거나 새로고침 또는 변경 사항을 저장하려면 무전기에 다시 연결하세요.",
|
||||
"repeater_cliSend": "명령 보내기",
|
||||
"repeater_cliCopyTranscript": "기록 복사",
|
||||
"repeater_cliShareTranscript": "기록 공유",
|
||||
"repeater_cliTranscriptCopied": "기록을 복사했습니다",
|
||||
"repeater_cliClearHistoryConfirm": "명령 기록을 지울까요? 되돌릴 수 없습니다.",
|
||||
"repeater_cliSearchCommands": "명령 검색",
|
||||
"repeater_cliNoMatchingCommands": "일치하는 명령이 없습니다",
|
||||
"debugLog_clearConfirm": "모든 로그 항목을 지울까요? 되돌릴 수 없습니다.",
|
||||
"repeater_unsavedChangesTitle": "저장하지 않은 변경 사항",
|
||||
"repeater_unsavedChangesMessage": "리피터에 저장되지 않은 변경 사항이 있습니다.",
|
||||
"repeater_discardChanges": "취소",
|
||||
"repeater_actionSentNoReply": "{action}: 명령을 보냈습니다. 리피터는 이 명령에 응답하지 않습니다.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value}은(는) 올바르지 않습니다",
|
||||
"repeater_txPowerOutOfRange": "TX 출력 {value}이(가) 범위를 벗어났습니다({min}~{max} dBm)",
|
||||
"repeater_prvKeyLengthError": "개인 키는 정확히 16진수 {length}자여야 합니다",
|
||||
"contacts_advertFailed": "어드버트를 보낼 수 없습니다",
|
||||
"contacts_manageGroups": "그룹 관리",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "연결 대상",
|
||||
"usbChooseSerialPort": "시리얼 포트 선택",
|
||||
"neighbors_durationSeconds": "{seconds}초",
|
||||
"neighbors_durationMinutes": "{minutes}분 {seconds}초",
|
||||
"neighbors_durationHours": "{hours}시간 {minutes}분",
|
||||
"scanner_getNodeTitle": "새 노드가 필요하신가요?",
|
||||
"scanner_getNodeBody": "지갑 크기에 MeshCore 구동, 듀얼 밴드 GPS, 방수, 5일 배터리.",
|
||||
"scanner_getNodeAction": "여기서 구하기",
|
||||
"scanner_getNodeDisclosure": "제휴 링크: 구매할 때마다 MeshCore Open을 후원하게 됩니다.",
|
||||
"networkMap_settingsSection": "네트워크 지도",
|
||||
"networkMap_uploadTitle": "내 라디오가 수신한 정보 공유",
|
||||
"networkMap_uploadExplanation": "이 기능을 켜고 라디오가 연결되어 있으면, 앱이 라디오가 수신한 패킷의 요약 정보를 MeshCore Open 네트워크 지도로 보내 어떤 리피터가 있고 서로 어떻게 연결되는지 모두가 볼 수 있게 합니다. 각 패킷의 종류, 경로, 홉 수, 신호 세기, 크기와 함께 리피터 자체 어드버트에 담긴 이름과 대략적인 위치를 보냅니다. 메시지 내용, 누가 누구와 대화하는지, 채널 이름, 연락처, 정확한 위치는 절대 보내지 않습니다. 위치는 약 2km 단위로 반올림되며, 앱 ID는 매일 새로운 무작위 값으로 바뀝니다.",
|
||||
"networkMap_whatWeCollect": "수집하는 정보",
|
||||
"networkMap_promptTitle": "네트워크 지도 만들기에 참여하시겠어요?",
|
||||
"networkMap_promptBody": "MeshCore Open은 라디오가 수신한 정보를 map.meshcoreopen.org의 공개 네트워크 지도와 공유하여, 어떤 리피터가 있고 서로 어떻게 연결되는지 모두가 볼 수 있게 할 수 있습니다.\n\n메시지 내용, 누가 누구와 대화하는지, 채널 이름, 연락처, 정확한 위치는 절대 보내지 않습니다. 위치는 약 2km 단위로 반올림됩니다.",
|
||||
"networkMap_promptSettingsHint": "설정 → 앱 설정 → 네트워크 지도에서 언제든지 변경할 수 있습니다.",
|
||||
"networkMap_promptAccept": "공유",
|
||||
"networkMap_promptDecline": "괜찮아요",
|
||||
"networkMap_statusOff": "꺼짐. 아무것도 전송되지 않습니다.",
|
||||
"networkMap_statusWaiting": "켜짐. 라디오 연결을 기다리는 중입니다.",
|
||||
"networkMap_statusNothingSent": "켜짐. 아직 전송한 내용이 없습니다.",
|
||||
"networkMap_statusLastSent": "마지막 전송 {time}. 오늘 패킷 {count}개.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "로컬",
|
||||
"networkMap_sourceOnline": "온라인",
|
||||
"networkMap_sourceBoth": "모두",
|
||||
"networkMap_zoomInHint": "온라인 네트워크 지도를 보려면 확대하세요",
|
||||
"networkMap_loadFailed": "온라인 네트워크 지도를 불러오지 못했습니다",
|
||||
"networkMap_inYourContacts": "내 연락처에 있음",
|
||||
"networkMap_status": "상태",
|
||||
"networkMap_statusActive": "최근 1시간 이내 활동",
|
||||
"networkMap_statusRecent": "최근 하루 이내 수신",
|
||||
"networkMap_statusStale": "최근 수신 없음",
|
||||
"networkMap_confirmed": "확인됨",
|
||||
"networkMap_singleSource": "단일 출처, 아직 확인되지 않음",
|
||||
"networkMap_reports": "보고",
|
||||
"networkMap_locationEstimated": "대략적인 위치, 수신한 노드를 기준으로 추정",
|
||||
"networkMap_locationAdvertised": "대략적인 위치, 자체 어드버트 기준",
|
||||
"networkMap_heardByRadio": "내 라디오가 수신함",
|
||||
"networkMap_inYourArea": "내 주변 지역",
|
||||
"networkMap_farAway": "멀리 떨어져 있어 관리할 수 없습니다.",
|
||||
"networkMap_addToContacts": "연락처에 추가",
|
||||
"networkMap_manage": "관리",
|
||||
"networkMap_addedToContacts": "연락처에 추가됨",
|
||||
"networkMap_addFailed": "연락처에 추가하지 못했습니다",
|
||||
"networkMap_unnamed": "이름 없는 리피터"
|
||||
}
|
||||
@@ -742,6 +742,30 @@ abstract class AppLocalizations {
|
||||
/// **'Enable Bluetooth'**
|
||||
String get scanner_enableBluetooth;
|
||||
|
||||
/// No description provided for @scanner_getNodeTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Need a new node?'**
|
||||
String get scanner_getNodeTitle;
|
||||
|
||||
/// No description provided for @scanner_getNodeBody.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Wallet-sized, runs MeshCore, dual-band GPS, waterproof, 5-day battery.'**
|
||||
String get scanner_getNodeBody;
|
||||
|
||||
/// No description provided for @scanner_getNodeAction.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Get one here'**
|
||||
String get scanner_getNodeAction;
|
||||
|
||||
/// No description provided for @scanner_getNodeDisclosure.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Affiliate link: each purchase supports MeshCore Open.'**
|
||||
String get scanner_getNodeDisclosure;
|
||||
|
||||
/// No description provided for @scanner_bluetoothWebUnsupported.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
@@ -9859,6 +9883,815 @@ abstract class AppLocalizations {
|
||||
/// In en, this message translates to:
|
||||
/// **'The image model could not be downloaded: {error}'**
|
||||
String imageMessages_downloadFailedWithError(String error);
|
||||
|
||||
/// No description provided for @map_nodeId.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'ID'**
|
||||
String get map_nodeId;
|
||||
|
||||
/// No description provided for @map_markerHideHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Hide: hidden until you leave the map.'**
|
||||
String get map_markerHideHint;
|
||||
|
||||
/// No description provided for @map_markerRemoveHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Remove: stays hidden until you restore it from the filter menu.'**
|
||||
String get map_markerRemoveHint;
|
||||
|
||||
/// No description provided for @map_markerRemoved.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Marker removed'**
|
||||
String get map_markerRemoved;
|
||||
|
||||
/// No description provided for @map_restoreRemovedMarkers.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Restore removed markers'**
|
||||
String get map_restoreRemovedMarkers;
|
||||
|
||||
/// No description provided for @map_restoreRemovedMarkersSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{count} removed'**
|
||||
String map_restoreRemovedMarkersSubtitle(int count);
|
||||
|
||||
/// No description provided for @map_markersRestored.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Restored {count} markers'**
|
||||
String map_markersRestored(int count);
|
||||
|
||||
/// No description provided for @map_setLocationConfirmTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Set as your location?'**
|
||||
String get map_setLocationConfirmTitle;
|
||||
|
||||
/// No description provided for @map_setLocationConfirmBody.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Your node will advertise this position:\n{lat}, {lon}'**
|
||||
String map_setLocationConfirmBody(String lat, String lon);
|
||||
|
||||
/// No description provided for @map_setLocationAction.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Set location'**
|
||||
String get map_setLocationAction;
|
||||
|
||||
/// No description provided for @map_locationSetSuccess.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Node location updated'**
|
||||
String get map_locationSetSuccess;
|
||||
|
||||
/// No description provided for @map_locationSetFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The device did not confirm the new location. Try again.'**
|
||||
String get map_locationSetFailed;
|
||||
|
||||
/// No description provided for @map_poiClusterTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{count} markers here'**
|
||||
String map_poiClusterTitle(int count);
|
||||
|
||||
/// No description provided for @map_poiClusterSemantics.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{count} shared markers. Tap to list them.'**
|
||||
String map_poiClusterSemantics(int count);
|
||||
|
||||
/// No description provided for @map_youWithMarkers.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'You and {count} markers'**
|
||||
String map_youWithMarkers(int count);
|
||||
|
||||
/// No description provided for @map_sharedMarkerSemantics.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Shared marker: {label}'**
|
||||
String map_sharedMarkerSemantics(String label);
|
||||
|
||||
/// No description provided for @map_nodeMarkerSemantics.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{name}, {type}, {status}'**
|
||||
String map_nodeMarkerSemantics(String name, String type, String status);
|
||||
|
||||
/// No description provided for @mapCache_zoomLevel.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Zoom {zoom}'**
|
||||
String mapCache_zoomLevel(int zoom);
|
||||
|
||||
/// No description provided for @mapCache_sizeBytes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{size} B'**
|
||||
String mapCache_sizeBytes(String size);
|
||||
|
||||
/// No description provided for @mapCache_sizeKilobytes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{size} KB'**
|
||||
String mapCache_sizeKilobytes(String size);
|
||||
|
||||
/// No description provided for @mapCache_sizeMegabytes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{size} MB'**
|
||||
String mapCache_sizeMegabytes(String size);
|
||||
|
||||
/// No description provided for @mapCache_sizeGigabytes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{size} GB'**
|
||||
String mapCache_sizeGigabytes(String size);
|
||||
|
||||
/// No description provided for @mapCache_downloadCancelled.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Download cancelled. Cached {count} tiles.'**
|
||||
String mapCache_downloadCancelled(int count);
|
||||
|
||||
/// No description provided for @mapCache_tooManyTilesTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Area too large'**
|
||||
String get mapCache_tooManyTilesTitle;
|
||||
|
||||
/// No description provided for @mapCache_tooManyTiles.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This area needs {count} tiles, more than the limit of {max}. Pick a smaller area or lower the maximum zoom.'**
|
||||
String mapCache_tooManyTiles(int count, int max);
|
||||
|
||||
/// No description provided for @chat_clearChatConfirm.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This erases every message in this conversation from this device. It cannot be undone.'**
|
||||
String get chat_clearChatConfirm;
|
||||
|
||||
/// No description provided for @channels_clearChatConfirm.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This erases every message in this channel from this device, including received images. It cannot be undone.'**
|
||||
String get channels_clearChatConfirm;
|
||||
|
||||
/// No description provided for @channels_timeNow.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'now'**
|
||||
String get channels_timeNow;
|
||||
|
||||
/// No description provided for @channels_timeMinutes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{minutes}m'**
|
||||
String channels_timeMinutes(int minutes);
|
||||
|
||||
/// No description provided for @channels_timeHours.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{hours}h'**
|
||||
String channels_timeHours(int hours);
|
||||
|
||||
/// No description provided for @channels_timeDays.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{days}d'**
|
||||
String channels_timeDays(int days);
|
||||
|
||||
/// No description provided for @channels_indexChip.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'CH {index}'**
|
||||
String channels_indexChip(int index);
|
||||
|
||||
/// No description provided for @reaction_unknownSender.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Unknown'**
|
||||
String get reaction_unknownSender;
|
||||
|
||||
/// No description provided for @pathMap_noSelfGpsFix.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Local node has no GPS fix'**
|
||||
String get pathMap_noSelfGpsFix;
|
||||
|
||||
/// No description provided for @pathTrace_sendFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Could not send the path trace: {error}'**
|
||||
String pathTrace_sendFailed(String error);
|
||||
|
||||
/// No description provided for @losErrorNoInternet.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Elevation data needs an internet connection'**
|
||||
String get losErrorNoInternet;
|
||||
|
||||
/// No description provided for @losResultStale.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Out of date: antenna height changed'**
|
||||
String get losResultStale;
|
||||
|
||||
/// No description provided for @losSnrValue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{snr} dB'**
|
||||
String losSnrValue(String snr);
|
||||
|
||||
/// No description provided for @losFrequencyValue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{frequency} MHz'**
|
||||
String losFrequencyValue(String frequency);
|
||||
|
||||
/// No description provided for @losKFactorValue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'k={kFactor}'**
|
||||
String losKFactorValue(String kFactor);
|
||||
|
||||
/// No description provided for @losEndpointA.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'A'**
|
||||
String get losEndpointA;
|
||||
|
||||
/// No description provided for @losEndpointB.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'B'**
|
||||
String get losEndpointB;
|
||||
|
||||
/// No description provided for @units_km.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'km'**
|
||||
String get units_km;
|
||||
|
||||
/// No description provided for @units_mi.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'mi'**
|
||||
String get units_mi;
|
||||
|
||||
/// No description provided for @units_m.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'m'**
|
||||
String get units_m;
|
||||
|
||||
/// No description provided for @units_ft.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'ft'**
|
||||
String get units_ft;
|
||||
|
||||
/// No description provided for @telemetry_loading.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Loading telemetry…'**
|
||||
String get telemetry_loading;
|
||||
|
||||
/// No description provided for @telemetry_axisValue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'X: {x}, Y: {y}, Z: {z}'**
|
||||
String telemetry_axisValue(String x, String y, String z);
|
||||
|
||||
/// No description provided for @telemetry_colourValue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'R: {red}, G: {green}, B: {blue}'**
|
||||
String telemetry_colourValue(String red, String green, String blue);
|
||||
|
||||
/// No description provided for @telemetry_altitudeValueFeet.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{feet} ft'**
|
||||
String telemetry_altitudeValueFeet(String feet);
|
||||
|
||||
/// No description provided for @telemetry_distanceValueFeet.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{feet} ft'**
|
||||
String telemetry_distanceValueFeet(String feet);
|
||||
|
||||
/// No description provided for @settings_notConnectedError.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Not connected to a radio. Connect and try again.'**
|
||||
String get settings_notConnectedError;
|
||||
|
||||
/// No description provided for @settings_requiresConnection.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Connect to a radio to use this'**
|
||||
String get settings_requiresConnection;
|
||||
|
||||
/// No description provided for @settings_txPowerInvalidRange.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Invalid TX power ({min} to {max} dBm)'**
|
||||
String settings_txPowerInvalidRange(int min, int max);
|
||||
|
||||
/// No description provided for @settings_contactSettingsSaved.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Contact settings saved'**
|
||||
String get settings_contactSettingsSaved;
|
||||
|
||||
/// No description provided for @settings_batteryToggleHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Tap to switch between percent and voltage'**
|
||||
String get settings_batteryToggleHint;
|
||||
|
||||
/// No description provided for @settings_publicKeyCopyHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Copy public key'**
|
||||
String get settings_publicKeyCopyHint;
|
||||
|
||||
/// No description provided for @settings_locationClearHelper.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Leave both fields empty to remove your location.'**
|
||||
String get settings_locationClearHelper;
|
||||
|
||||
/// No description provided for @settings_locationCleared.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Location removed'**
|
||||
String get settings_locationCleared;
|
||||
|
||||
/// No description provided for @settings_regionFetchDiscovering.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Looking for nearby repeaters…'**
|
||||
String get settings_regionFetchDiscovering;
|
||||
|
||||
/// No description provided for @settings_regionFetchProgress.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Asking repeater {current} of {total}…'**
|
||||
String settings_regionFetchProgress(int current, int total);
|
||||
|
||||
/// No description provided for @settings_regionFetchNoRepeaters.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No repeaters are known yet. Add a repeater as a contact or wait for one to advertise, then try again.'**
|
||||
String get settings_regionFetchNoRepeaters;
|
||||
|
||||
/// No description provided for @settings_regionFetchNoneResponded.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No nearby repeaters answered. Move closer to a repeater and try again.'**
|
||||
String get settings_regionFetchNoneResponded;
|
||||
|
||||
/// No description provided for @appSettings_sourceSummary.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{label} - {description}'**
|
||||
String appSettings_sourceSummary(String label, String description);
|
||||
|
||||
/// No description provided for @appSettings_routingSection.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Routing'**
|
||||
String get appSettings_routingSection;
|
||||
|
||||
/// No description provided for @appSettings_imageMessagesSection.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Image messages'**
|
||||
String get appSettings_imageMessagesSection;
|
||||
|
||||
/// No description provided for @appSettings_showApiKey.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Show API key'**
|
||||
String get appSettings_showApiKey;
|
||||
|
||||
/// No description provided for @appSettings_hideApiKey.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Hide API key'**
|
||||
String get appSettings_hideApiKey;
|
||||
|
||||
/// No description provided for @translation_defaultModelName.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Model'**
|
||||
String get translation_defaultModelName;
|
||||
|
||||
/// No description provided for @translation_downloadProgressBytes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{fileName}: {current} MB'**
|
||||
String translation_downloadProgressBytes(String fileName, String current);
|
||||
|
||||
/// No description provided for @translation_downloadProgressTotal.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{fileName}: {current} / {total} MB ({percent}%)'**
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
);
|
||||
|
||||
/// No description provided for @translation_downloadedModelDetails.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{size} MB • {source}'**
|
||||
String translation_downloadedModelDetails(String size, String source);
|
||||
|
||||
/// No description provided for @repeater_radioDisconnected.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Radio disconnected'**
|
||||
String get repeater_radioDisconnected;
|
||||
|
||||
/// No description provided for @repeater_radioDisconnectedHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Reconnect to your radio to send commands, refresh or save changes.'**
|
||||
String get repeater_radioDisconnectedHint;
|
||||
|
||||
/// No description provided for @repeater_cliSend.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Send command'**
|
||||
String get repeater_cliSend;
|
||||
|
||||
/// No description provided for @repeater_cliCopyTranscript.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Copy transcript'**
|
||||
String get repeater_cliCopyTranscript;
|
||||
|
||||
/// No description provided for @repeater_cliShareTranscript.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Share transcript'**
|
||||
String get repeater_cliShareTranscript;
|
||||
|
||||
/// No description provided for @repeater_cliTranscriptCopied.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Transcript copied'**
|
||||
String get repeater_cliTranscriptCopied;
|
||||
|
||||
/// No description provided for @repeater_cliClearHistoryConfirm.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Clear the command history? This cannot be undone.'**
|
||||
String get repeater_cliClearHistoryConfirm;
|
||||
|
||||
/// No description provided for @repeater_cliSearchCommands.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Search commands'**
|
||||
String get repeater_cliSearchCommands;
|
||||
|
||||
/// No description provided for @repeater_cliNoMatchingCommands.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No matching commands'**
|
||||
String get repeater_cliNoMatchingCommands;
|
||||
|
||||
/// No description provided for @debugLog_clearConfirm.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Clear all log entries? This cannot be undone.'**
|
||||
String get debugLog_clearConfirm;
|
||||
|
||||
/// No description provided for @repeater_unsavedChangesTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Unsaved changes'**
|
||||
String get repeater_unsavedChangesTitle;
|
||||
|
||||
/// No description provided for @repeater_unsavedChangesMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'You have changes that haven\'t been saved to the repeater.'**
|
||||
String get repeater_unsavedChangesMessage;
|
||||
|
||||
/// No description provided for @repeater_discardChanges.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Discard'**
|
||||
String get repeater_discardChanges;
|
||||
|
||||
/// No description provided for @repeater_actionSentNoReply.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{action}: command sent. The repeater does not reply to this command.'**
|
||||
String repeater_actionSentNoReply(String action);
|
||||
|
||||
/// No description provided for @repeater_invalidSettingValue.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{setting}: {value} is not valid'**
|
||||
String repeater_invalidSettingValue(String setting, String value);
|
||||
|
||||
/// No description provided for @repeater_txPowerOutOfRange.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'TX power {value} is out of range ({min} to {max} dBm)'**
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max);
|
||||
|
||||
/// No description provided for @repeater_prvKeyLengthError.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Private key must be exactly {length} hex characters'**
|
||||
String repeater_prvKeyLengthError(int length);
|
||||
|
||||
/// No description provided for @contacts_advertFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Couldn\'t send advertisement'**
|
||||
String get contacts_advertFailed;
|
||||
|
||||
/// No description provided for @contacts_manageGroups.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Manage groups'**
|
||||
String get contacts_manageGroups;
|
||||
|
||||
/// No description provided for @community_shortId.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'ID: {id}…'**
|
||||
String community_shortId(String id);
|
||||
|
||||
/// No description provided for @tcpSectionTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'TCP / IP'**
|
||||
String get tcpSectionTitle;
|
||||
|
||||
/// No description provided for @tcpConnectedToHeader.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Connected to'**
|
||||
String get tcpConnectedToHeader;
|
||||
|
||||
/// No description provided for @usbChooseSerialPort.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Choose serial port'**
|
||||
String get usbChooseSerialPort;
|
||||
|
||||
/// No description provided for @neighbors_durationSeconds.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{seconds}s'**
|
||||
String neighbors_durationSeconds(String seconds);
|
||||
|
||||
/// No description provided for @neighbors_durationMinutes.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{minutes}m {seconds}s'**
|
||||
String neighbors_durationMinutes(int minutes, String seconds);
|
||||
|
||||
/// No description provided for @neighbors_durationHours.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{hours}h {minutes}m'**
|
||||
String neighbors_durationHours(int hours, int minutes);
|
||||
|
||||
/// No description provided for @networkMap_settingsSection.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Network map'**
|
||||
String get networkMap_settingsSection;
|
||||
|
||||
/// No description provided for @networkMap_uploadTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Share what my radio hears'**
|
||||
String get networkMap_uploadTitle;
|
||||
|
||||
/// No description provided for @networkMap_uploadExplanation.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'When this is on and your radio is connected, the app sends a short summary of the packets your radio hears to the MeshCore Open network map, so everyone can see which repeaters exist and how they link up. It sends each packet\'s type, route, hops, signal strength and size, plus repeater names and rough locations from their own adverts. It never sends message text, who is talking to whom, channel names, your contacts or your exact position: locations are rounded to about 2 km, and your app gets a new random ID every day.'**
|
||||
String get networkMap_uploadExplanation;
|
||||
|
||||
/// No description provided for @networkMap_whatWeCollect.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'What we collect'**
|
||||
String get networkMap_whatWeCollect;
|
||||
|
||||
/// No description provided for @networkMap_promptTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Help build the network map?'**
|
||||
String get networkMap_promptTitle;
|
||||
|
||||
/// No description provided for @networkMap_promptBody.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'MeshCore Open can share what your radio hears with the public network map at map.meshcoreopen.org, so everyone can see which repeaters exist and how they link up.\n\nIt never sends message text, who is talking to whom, channel names, your contacts or your exact position. Locations are rounded to about 2 km.'**
|
||||
String get networkMap_promptBody;
|
||||
|
||||
/// No description provided for @networkMap_promptSettingsHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'You can change this any time in Settings → App settings → Network map.'**
|
||||
String get networkMap_promptSettingsHint;
|
||||
|
||||
/// No description provided for @networkMap_promptAccept.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Share'**
|
||||
String get networkMap_promptAccept;
|
||||
|
||||
/// No description provided for @networkMap_promptDecline.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No thanks'**
|
||||
String get networkMap_promptDecline;
|
||||
|
||||
/// No description provided for @networkMap_statusOff.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Off. Nothing is sent.'**
|
||||
String get networkMap_statusOff;
|
||||
|
||||
/// No description provided for @networkMap_statusWaiting.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'On. Waiting for a radio connection.'**
|
||||
String get networkMap_statusWaiting;
|
||||
|
||||
/// No description provided for @networkMap_statusNothingSent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'On. Nothing sent yet.'**
|
||||
String get networkMap_statusNothingSent;
|
||||
|
||||
/// No description provided for @networkMap_statusLastSent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Last sent {time}. {count} packets today.'**
|
||||
String networkMap_statusLastSent(String time, int count);
|
||||
|
||||
/// No description provided for @networkMap_sourceLocal.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Local'**
|
||||
String get networkMap_sourceLocal;
|
||||
|
||||
/// No description provided for @networkMap_sourceOnline.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Online'**
|
||||
String get networkMap_sourceOnline;
|
||||
|
||||
/// No description provided for @networkMap_sourceBoth.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Both'**
|
||||
String get networkMap_sourceBoth;
|
||||
|
||||
/// No description provided for @networkMap_zoomInHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Zoom in to see the online network map'**
|
||||
String get networkMap_zoomInHint;
|
||||
|
||||
/// No description provided for @networkMap_loadFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Couldn\'t load the online network map'**
|
||||
String get networkMap_loadFailed;
|
||||
|
||||
/// No description provided for @networkMap_inYourContacts.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'In your contacts'**
|
||||
String get networkMap_inYourContacts;
|
||||
|
||||
/// No description provided for @networkMap_status.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Status'**
|
||||
String get networkMap_status;
|
||||
|
||||
/// No description provided for @networkMap_statusActive.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Active in the last hour'**
|
||||
String get networkMap_statusActive;
|
||||
|
||||
/// No description provided for @networkMap_statusRecent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Heard in the last day'**
|
||||
String get networkMap_statusRecent;
|
||||
|
||||
/// No description provided for @networkMap_statusStale.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Not heard lately'**
|
||||
String get networkMap_statusStale;
|
||||
|
||||
/// No description provided for @networkMap_confirmed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Confirmed'**
|
||||
String get networkMap_confirmed;
|
||||
|
||||
/// No description provided for @networkMap_singleSource.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Single source, not yet confirmed'**
|
||||
String get networkMap_singleSource;
|
||||
|
||||
/// No description provided for @networkMap_reports.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Reports'**
|
||||
String get networkMap_reports;
|
||||
|
||||
/// No description provided for @networkMap_locationEstimated.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Rough location, estimated from who heard it'**
|
||||
String get networkMap_locationEstimated;
|
||||
|
||||
/// No description provided for @networkMap_locationAdvertised.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Rough location, from its own advert'**
|
||||
String get networkMap_locationAdvertised;
|
||||
|
||||
/// No description provided for @networkMap_heardByRadio.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Heard by your radio'**
|
||||
String get networkMap_heardByRadio;
|
||||
|
||||
/// No description provided for @networkMap_inYourArea.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'In your area'**
|
||||
String get networkMap_inYourArea;
|
||||
|
||||
/// No description provided for @networkMap_farAway.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Far away. Management won\'t reach it.'**
|
||||
String get networkMap_farAway;
|
||||
|
||||
/// No description provided for @networkMap_addToContacts.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Add to contacts'**
|
||||
String get networkMap_addToContacts;
|
||||
|
||||
/// No description provided for @networkMap_manage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Manage'**
|
||||
String get networkMap_manage;
|
||||
|
||||
/// No description provided for @networkMap_addedToContacts.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Added to contacts'**
|
||||
String get networkMap_addedToContacts;
|
||||
|
||||
/// No description provided for @networkMap_addFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Couldn\'t add to contacts'**
|
||||
String get networkMap_addFailed;
|
||||
|
||||
/// No description provided for @networkMap_unnamed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Unnamed repeater'**
|
||||
String get networkMap_unnamed;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
||||
@@ -358,6 +358,20 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Активирайте Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Нуждаете се от нов възел?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Колкото портфейл, работи с MeshCore, двулентов GPS, водоустойчив, батерия за 5 дни.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Вземете го тук';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Партньорска връзка: всяка покупка подкрепя MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Функцията Bluetooth не е налична в браузъра. Моля, свържете се чрез USB вместо това.';
|
||||
@@ -5837,4 +5851,526 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Моделът за изображения не можа да се изтегли: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Скриване: скрит, докато не напуснете картата.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Премахване: остава скрит, докато не го възстановите от менюто за филтър.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Маркерът е премахнат';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers =>
|
||||
'Възстановяване на премахнатите маркери';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count премахнати';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Възстановени маркери: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Задаване като ваша локация?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Вашият възел ще обявява тази позиция:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Задай локация';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Локацията на възела е обновена';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Устройството не потвърди новата локация. Опитайте отново.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count маркера тук';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count споделени маркера. Докоснете, за да ги видите.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Вие и $count маркера';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Споделен маркер: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Мащаб $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Изтеглянето е отменено. Кеширани плочки: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Районът е твърде голям';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Този район изисква $count плочки, повече от лимита от $max. Изберете по-малък район или по-малък максимален мащаб.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Това изтрива всяко съобщение в този разговор от това устройство. Действието не може да бъде отменено.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Това изтрива всяко съобщение в този канал от това устройство, включително получените изображения. Действието не може да бъде отменено.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'сега';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutesм';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hoursч';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$daysд';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Неизвестен';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Локалният възел няма GPS фиксиране';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Пътната трасировка не можа да бъде изпратена: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Данните за надморска височина изискват интернет връзка';
|
||||
|
||||
@override
|
||||
String get losResultStale =>
|
||||
'Остарял резултат: височината на антената е променена';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Зареждане на телеметрия…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Няма връзка с радио. Свържете се и опитайте отново.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Свържете се с радио, за да използвате това';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Невалидна TX мощност (от $min до $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved =>
|
||||
'Настройките на контакта са запазени';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Докоснете, за да превключите между процент и напрежение';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Копиране на публичния ключ';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Оставете и двете полета празни, за да премахнете локацията си.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Локацията е премахната';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Търсене на близки ретранслатори…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Запитване към ретранслатор $current от $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Все още няма известни ретранслатори. Добавете ретранслатор като контакт или изчакайте някой да обяви присъствие, после опитайте отново.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Нито един близък ретранслатор не отговори. Приближете се до ретранслатор и опитайте отново.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Маршрутизиране';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Съобщения с изображения';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Показване на API ключа';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Скриване на API ключа';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Модел';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Радиото е изключено';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Свържете се отново с радиото, за да изпращате команди, да опреснявате или да запазвате промени.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Изпрати команда';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Копирай транскрипта';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Сподели транскрипта';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Транскриптът е копиран';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Да се изчисти ли историята на командите? Действието не може да бъде отменено.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Търсене на команди';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Няма съвпадащи команди';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Да се изчистят ли всички записи в дневника? Действието не може да бъде отменено.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Незапазени промени';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Имате промени, които не са запазени в ретранслатора.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Отхвърли';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: командата е изпратена. Ретранслаторът не отговаря на тази команда.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value не е валидна стойност';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX мощността $value е извън диапазона (от $min до $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Частният ключ трябва да е точно $length шестнадесетични знака';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Рекламата не можа да бъде изпратена';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Управление на групи';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Свързан с';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Изберете сериен порт';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$secondsс';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutesм $secondsс';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hoursч $minutesм';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Мрежова карта';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle =>
|
||||
'Споделяне на това, което чува моето радио';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Когато това е включено и радиото е свързано, приложението изпраща към мрежовата карта на MeshCore Open кратко обобщение на пакетите, които радиото ви чува, за да може всеки да вижда кои повторители съществуват и как са свързани. Изпращат се типът, маршрутът, броят хопове, силата на сигнала и размерът на всеки пакет, както и имената на повторителите и приблизителното им местоположение от техните собствени обяви. Никога не се изпращат текст на съобщения, кой с кого говори, имена на канали, вашите контакти или точното ви местоположение: координатите се закръглят до около 2 км, а приложението получава нов случаен ID всеки ден.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Какво събираме';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Ще помогнете ли за мрежовата карта?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open може да споделя това, което радиото ви чува, с публичната мрежова карта на map.meshcoreopen.org, за да може всеки да вижда кои повторители съществуват и как са свързани.\n\nНикога не се изпращат текст на съобщения, кой с кого говори, имена на канали, вашите контакти или точното ви местоположение. Координатите се закръглят до около 2 км.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Можете да промените това по всяко време в Настройки → Настройки на приложението → Мрежова карта.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Споделям';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Не, благодаря';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Изключено. Нищо не се изпраща.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Включено. Изчакване на връзка с радио.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Включено. Още нищо не е изпратено.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Последно изпращане: $time. Пакети днес: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Локална';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Онлайн';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'И двете';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Увеличете, за да видите онлайн мрежовата карта';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Онлайн мрежовата карта не можа да се зареди';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'В контактите ви';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Статус';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Активен през последния час';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Чут през последното денонощие';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Отдавна не е чут';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Потвърден';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Един източник, още непотвърден';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Доклади';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Приблизително местоположение, изчислено по тези, които са го чули';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Приблизително местоположение, от собствената му обява';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Чут от вашето радио';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'Във вашия район';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway =>
|
||||
'Далече. Управлението няма да стигне до него.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Добави към контактите';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Управление';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Добавено към контактите';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Неуспешно добавяне към контактите';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Неназован повторител';
|
||||
}
|
||||
@@ -361,6 +361,20 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Bluetooth aktivieren';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Brauchst du einen neuen Node?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Im Hosentaschenformat, mit MeshCore, Dualband-GPS, wasserdicht und 5 Tage Akkulaufzeit.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Hier holen';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Affiliate-Link: Jeder Kauf unterstützt MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth ist im Browser nicht verfügbar. Verwenden Sie stattdessen eine USB-Verbindung.';
|
||||
@@ -5854,4 +5868,522 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Das Bildmodell konnte nicht heruntergeladen werden: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Ausblenden: bleibt ausgeblendet, bis du die Karte verlässt.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Entfernen: bleibt ausgeblendet, bis du es über das Filtermenü wiederherstellst.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Marker entfernt';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Entfernte Marker wiederherstellen';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count entfernt';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count Marker wiederhergestellt';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Als deinen Standort festlegen?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Dein Knoten wird diese Position bekannt geben:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Standort festlegen';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Knotenstandort aktualisiert';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Das Gerät hat den neuen Standort nicht bestätigt. Versuche es erneut.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count Marker hier';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count geteilte Marker. Tippen, um sie aufzulisten.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Du und $count Marker';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Geteilter Marker: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Download abgebrochen. $count Kacheln im Cache.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Bereich zu groß';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Dieser Bereich benötigt $count Kacheln, mehr als das Limit von $max. Wähle einen kleineren Bereich oder verringere den maximalen Zoom.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Dadurch werden alle Nachrichten dieser Unterhaltung von diesem Gerät gelöscht. Das kann nicht rückgängig gemacht werden.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Dadurch werden alle Nachrichten dieses Kanals von diesem Gerät gelöscht, einschließlich empfangener Bilder. Das kann nicht rückgängig gemacht werden.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'jetzt';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes Min.';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours Std.';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days T.';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Unbekannt';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Lokaler Knoten hat keinen GPS-Fix';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Pfadverfolgung konnte nicht gesendet werden: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Für Höhendaten wird eine Internetverbindung benötigt';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Veraltet: Antennenhöhe wurde geändert';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Telemetrie wird geladen…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Nicht mit einem Funkgerät verbunden. Verbinde dich und versuche es erneut.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Verbinde dich mit einem Funkgerät, um dies zu nutzen';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Ungültige Sendeleistung ($min bis $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved =>
|
||||
'Kontakteinstellungen gespeichert';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Tippen, um zwischen Prozent und Spannung zu wechseln';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Öffentlichen Schlüssel kopieren';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Lass beide Felder leer, um deinen Standort zu entfernen.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Standort entfernt';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Suche nach Repeatern in der Nähe…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Frage Repeater $current von $total ab…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Noch keine Repeater bekannt. Füge einen Repeater als Kontakt hinzu oder warte, bis einer sich ankündigt, und versuche es dann erneut.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Kein Repeater in der Nähe hat geantwortet. Gehe näher an einen Repeater heran und versuche es erneut.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Routing';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Bildnachrichten';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'API-Schlüssel anzeigen';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'API-Schlüssel verbergen';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modell';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Funkgerät getrennt';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Verbinde dich erneut mit deinem Funkgerät, um Befehle zu senden, zu aktualisieren oder Änderungen zu speichern.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Befehl senden';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Protokoll kopieren';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Protokoll teilen';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Protokoll kopiert';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Befehlsverlauf löschen? Das kann nicht rückgängig gemacht werden.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Befehle suchen';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Keine passenden Befehle';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Alle Protokolleinträge löschen? Das kann nicht rückgängig gemacht werden.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Ungespeicherte Änderungen';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Es gibt Änderungen, die nicht im Repeater gespeichert wurden.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Verwerfen';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: Befehl gesendet. Der Repeater antwortet auf diesen Befehl nicht.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value ist ungültig';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Sendeleistung $value liegt außerhalb des Bereichs ($min bis $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Der private Schlüssel muss genau $length Hex-Zeichen lang sein';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Advert konnte nicht gesendet werden';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Gruppen verwalten';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Verbunden mit';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Serielle Schnittstelle wählen';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes Min. $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours Std. $minutes Min.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Netzwerkkarte';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Teilen, was mein Funkgerät hört';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Wenn dies aktiviert und dein Funkgerät verbunden ist, sendet die App eine kurze Zusammenfassung der Pakete, die dein Funkgerät empfängt, an die MeshCore-Open-Netzwerkkarte, damit alle sehen können, welche Repeater es gibt und wie sie verbunden sind. Gesendet werden Typ, Route, Hops, Signalstärke und Größe jedes Pakets sowie Repeater-Namen und ungefähre Standorte aus deren eigenen Adverts. Nie gesendet werden Nachrichtentexte, wer mit wem spricht, Kanalnamen, deine Kontakte oder dein genauer Standort: Standorte werden auf etwa 2 km gerundet, und deine App erhält jeden Tag eine neue zufällige ID.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Was wir erfassen';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Beim Aufbau der Netzwerkkarte helfen?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open kann teilen, was dein Funkgerät hört, und zwar mit der öffentlichen Netzwerkkarte unter map.meshcoreopen.org, damit alle sehen können, welche Repeater es gibt und wie sie verbunden sind.\n\nEs werden nie Nachrichtentexte, wer mit wem spricht, Kanalnamen, deine Kontakte oder dein genauer Standort gesendet. Standorte werden auf etwa 2 km gerundet.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Du kannst dies jederzeit unter Einstellungen → App-Einstellungen → Netzwerkkarte ändern.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Teilen';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Nein danke';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Aus. Es wird nichts gesendet.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'An. Warte auf eine Funkgerät-Verbindung.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'An. Noch nichts gesendet.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Zuletzt gesendet $time. Heute $count Pakete.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Lokal';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Beides';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Zoome hinein, um die Online-Netzwerkkarte zu sehen';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Online-Netzwerkkarte konnte nicht geladen werden';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'In deinen Kontakten';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Status';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Aktiv in der letzten Stunde';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Am letzten Tag gehört';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Zuletzt nicht gehört';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Bestätigt';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Einzelne Quelle, noch nicht bestätigt';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Meldungen';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Ungefährer Standort, geschätzt anhand der Empfänger';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Ungefährer Standort, aus dem eigenen Advert';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Von deinem Funkgerät gehört';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'In deiner Nähe';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway =>
|
||||
'Weit entfernt. Verwaltung ist nicht möglich.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Zu Kontakten hinzufügen';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Verwalten';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Zu Kontakten hinzugefügt';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Hinzufügen zu Kontakten fehlgeschlagen';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Unbenannter Repeater';
|
||||
}
|
||||
@@ -355,6 +355,20 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Enable Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Need a new node?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Wallet-sized, runs MeshCore, dual-band GPS, waterproof, 5-day battery.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Get one here';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Affiliate link: each purchase supports MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth isn\'t available in the browser. Connect over USB instead.';
|
||||
@@ -5757,4 +5771,514 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'The image model could not be downloaded: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint => 'Hide: hidden until you leave the map.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Remove: stays hidden until you restore it from the filter menu.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Marker removed';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Restore removed markers';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count removed';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Restored $count markers';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Set as your location?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Your node will advertise this position:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Set location';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Node location updated';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'The device did not confirm the new location. Try again.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count markers here';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count shared markers. Tap to list them.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'You and $count markers';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Shared marker: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Download cancelled. Cached $count tiles.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Area too large';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'This area needs $count tiles, more than the limit of $max. Pick a smaller area or lower the maximum zoom.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'This erases every message in this conversation from this device. It cannot be undone.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'This erases every message in this channel from this device, including received images. It cannot be undone.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'now';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '${hours}h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '${days}d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Unknown';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Local node has no GPS fix';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Could not send the path trace: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Elevation data needs an internet connection';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Out of date: antenna height changed';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Loading telemetry…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Not connected to a radio. Connect and try again.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => 'Connect to a radio to use this';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Invalid TX power ($min to $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Contact settings saved';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Tap to switch between percent and voltage';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Copy public key';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Leave both fields empty to remove your location.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Location removed';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Looking for nearby repeaters…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Asking repeater $current of $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'No repeaters are known yet. Add a repeater as a contact or wait for one to advertise, then try again.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'No nearby repeaters answered. Move closer to a repeater and try again.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Routing';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Image messages';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Show API key';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Hide API key';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Model';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio disconnected';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Reconnect to your radio to send commands, refresh or save changes.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Send command';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Copy transcript';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Share transcript';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Transcript copied';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Clear the command history? This cannot be undone.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Search commands';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'No matching commands';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Clear all log entries? This cannot be undone.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Unsaved changes';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'You have changes that haven\'t been saved to the repeater.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Discard';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: command sent. The repeater does not reply to this command.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value is not valid';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX power $value is out of range ($min to $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Private key must be exactly $length hex characters';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Couldn\'t send advertisement';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Manage groups';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Connected to';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Choose serial port';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '${minutes}m ${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '${hours}h ${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Network map';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Share what my radio hears';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'When this is on and your radio is connected, the app sends a short summary of the packets your radio hears to the MeshCore Open network map, so everyone can see which repeaters exist and how they link up. It sends each packet\'s type, route, hops, signal strength and size, plus repeater names and rough locations from their own adverts. It never sends message text, who is talking to whom, channel names, your contacts or your exact position: locations are rounded to about 2 km, and your app gets a new random ID every day.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'What we collect';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Help build the network map?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open can share what your radio hears with the public network map at map.meshcoreopen.org, so everyone can see which repeaters exist and how they link up.\n\nIt never sends message text, who is talking to whom, channel names, your contacts or your exact position. Locations are rounded to about 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'You can change this any time in Settings → App settings → Network map.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Share';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'No thanks';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Off. Nothing is sent.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting => 'On. Waiting for a radio connection.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'On. Nothing sent yet.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Last sent $time. $count packets today.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Local';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Both';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint => 'Zoom in to see the online network map';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => 'Couldn\'t load the online network map';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'In your contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Status';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Active in the last hour';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Heard in the last day';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Not heard lately';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Confirmed';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Single source, not yet confirmed';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Reports';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Rough location, estimated from who heard it';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Rough location, from its own advert';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Heard by your radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'In your area';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Far away. Management won\'t reach it.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Add to contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Manage';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Added to contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Couldn\'t add to contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Unnamed repeater';
|
||||
}
|
||||
@@ -359,6 +359,20 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Habilitar Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => '¿Necesitas un nodo nuevo?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Tamaño cartera, funciona con MeshCore, GPS de doble banda, resistente al agua y 5 días de batería.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Consíguelo aquí';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Enlace de afiliado: cada compra apoya a MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'La funcionalidad Bluetooth no está disponible en el navegador. Conéctese mediante USB en su lugar.';
|
||||
@@ -5843,4 +5857,522 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'No se pudo descargar el modelo de imagen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Ocultar: permanece oculto hasta que salgas del mapa.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Eliminar: permanece oculto hasta que lo restaures desde el menú de filtros.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Marcador eliminado';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Restaurar marcadores eliminados';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count eliminados';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count marcadores restaurados';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => '¿Establecer como tu ubicación?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Tu nodo anunciará esta posición:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Establecer ubicación';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Ubicación del nodo actualizada';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'El dispositivo no confirmó la nueva ubicación. Inténtalo de nuevo.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count marcadores aquí';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count marcadores compartidos. Toca para verlos.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Tú y $count marcadores';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Marcador compartido: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Descarga cancelada. $count teselas en caché.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Área demasiado grande';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Esta área necesita $count teselas, más que el límite de $max. Elige un área más pequeña o reduce el zoom máximo.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Esto borra todos los mensajes de esta conversación de este dispositivo. No se puede deshacer.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Esto borra todos los mensajes de este canal de este dispositivo, incluidas las imágenes recibidas. No se puede deshacer.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'ahora';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Desconocido';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'El nodo local no tiene fijación GPS';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'No se pudo enviar el trazado de ruta: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Los datos de elevación requieren conexión a internet';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Desactualizado: la altura de la antena cambió';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Cargando telemetría…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'No hay conexión con una radio. Conéctate e inténtalo de nuevo.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Conéctate a una radio para usar esto';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Potencia TX inválida ($min a $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Ajustes del contacto guardados';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Toca para alternar entre porcentaje y voltaje';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Copiar clave pública';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Deja ambos campos vacíos para eliminar tu ubicación.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Ubicación eliminada';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Buscando repetidores cercanos…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Consultando al repetidor $current de $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Aún no se conoce ningún repetidor. Añade un repetidor como contacto o espera a que anuncie su presencia, e inténtalo de nuevo.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Ningún repetidor cercano respondió. Acércate a un repetidor e inténtalo de nuevo.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Enrutamiento';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Mensajes con imágenes';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Mostrar clave de API';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Ocultar clave de API';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modelo';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio desconectada';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Vuelve a conectarte a tu radio para enviar comandos, actualizar o guardar cambios.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Enviar comando';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Copiar transcripción';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Compartir transcripción';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Transcripción copiada';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'¿Borrar el historial de comandos? No se puede deshacer.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Buscar comandos';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Ningún comando coincide';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'¿Borrar todas las entradas del registro? No se puede deshacer.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Cambios sin guardar';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Tienes cambios que no se han guardado en el repetidor.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Descartar';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: comando enviado. El repetidor no responde a este comando.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value no es válido';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'La potencia TX $value está fuera de rango ($min a $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'La clave privada debe tener exactamente $length caracteres hexadecimales';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'No se pudo enviar el anuncio';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Gestionar grupos';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Conectado a';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Elegir puerto serie';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes min $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours h $minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Mapa de la red';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Compartir lo que escucha mi radio';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Cuando esto está activado y tu radio está conectada, la app envía un breve resumen de los paquetes que escucha tu radio al mapa de la red de MeshCore Open, para que todos puedan ver qué repetidores existen y cómo se conectan. Envía el tipo, la ruta, los saltos, la intensidad de señal y el tamaño de cada paquete, además de los nombres y ubicaciones aproximadas de los repetidores a partir de sus propios adverts. Nunca envía el texto de los mensajes, quién habla con quién, nombres de canales, tus contactos ni tu posición exacta: las ubicaciones se redondean a unos 2 km y tu app recibe un ID aleatorio nuevo cada día.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Qué recopilamos';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => '¿Ayudar a construir el mapa de la red?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open puede compartir lo que escucha tu radio con el mapa público de la red en map.meshcoreopen.org, para que todos puedan ver qué repetidores existen y cómo se conectan.\n\nNunca envía el texto de los mensajes, quién habla con quién, nombres de canales, tus contactos ni tu posición exacta. Las ubicaciones se redondean a unos 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Puedes cambiarlo cuando quieras en Configuración → Configuración de la App → Mapa de la red.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Compartir';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'No, gracias';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Desactivado. No se envía nada.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Activado. Esperando conexión con la radio.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Activado. Aún no se ha enviado nada.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Último envío $time. $count paquetes hoy.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Local';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'En línea';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Ambos';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Acerca el zoom para ver el mapa de la red en línea';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'No se pudo cargar el mapa de la red en línea';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'En tus contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Estado';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Activo en la última hora';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Escuchado en el último día';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'No escuchado recientemente';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Confirmado';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Fuente única, aún sin confirmar';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Reportes';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Ubicación aproximada, estimada según quién lo escuchó';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Ubicación aproximada, de su propio advert';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Escuchado por tu radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'En tu zona';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway =>
|
||||
'Muy lejos. La administración no podrá alcanzarlo.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Añadir a contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Administrar';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Añadido a contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'No se pudo añadir a contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Repetidor sin nombre';
|
||||
}
|
||||
@@ -361,6 +361,20 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Activer le Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Besoin d\'un nouveau nœud ?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Format portefeuille, fonctionne avec MeshCore, GPS bi-bande, étanche, 5 jours d\'autonomie.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Obtenez-le ici';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Lien d\'affiliation : chaque achat soutient MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'La fonctionnalité Bluetooth n\'est pas disponible dans le navigateur. Veuillez vous connecter via USB à la place.';
|
||||
@@ -5867,4 +5881,524 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Le modèle d\'image n\'a pas pu être téléchargé : $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Masquer : masqué jusqu\'à ce que vous quittiez la carte.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Supprimer : reste masqué jusqu\'à sa restauration depuis le menu des filtres.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Marqueur supprimé';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Restaurer les marqueurs supprimés';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count supprimé(s)';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count marqueurs restaurés';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Définir comme votre position ?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Votre nœud annoncera cette position :\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Définir la position';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Position du nœud mise à jour';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'L\'appareil n\'a pas confirmé la nouvelle position. Réessayez.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count marqueurs ici';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count marqueurs partagés. Touchez pour les lister.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Vous et $count marqueurs';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Marqueur partagé : $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size o';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size Ko';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size Mo';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size Go';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Téléchargement annulé. $count tuiles mises en cache.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Zone trop grande';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Cette zone nécessite $count tuiles, soit plus que la limite de $max. Choisissez une zone plus petite ou réduisez le zoom maximal.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Cela efface tous les messages de cette conversation sur cet appareil. Action irréversible.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Cela efface tous les messages de ce canal sur cet appareil, y compris les images reçues. Action irréversible.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'maint.';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days j';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Inconnu';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Le nœud local n\'a pas de position GPS';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Impossible d\'envoyer la trace du chemin : $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Les données d\'altitude nécessitent une connexion Internet';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Obsolète : la hauteur de l\'antenne a changé';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Chargement de la télémétrie…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X : $x, Y : $y, Z : $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R : $red, V : $green, B : $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Non connecté à une radio. Connectez-vous et réessayez.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Connectez-vous à une radio pour l\'utiliser';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Puissance TX invalide ($min à $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved =>
|
||||
'Paramètres du contact enregistrés';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Touchez pour basculer entre pourcentage et tension';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Copier la clé publique';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Laissez les deux champs vides pour supprimer votre position.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Position supprimée';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Recherche de répéteurs à proximité…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Interrogation du répéteur $current sur $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Aucun répéteur connu pour le moment. Ajoutez un répéteur comme contact ou attendez qu\'un répéteur s\'annonce, puis réessayez.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Aucun répéteur à proximité n\'a répondu. Rapprochez-vous d\'un répéteur et réessayez.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Routage';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Messages image';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Afficher la clé API';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Masquer la clé API';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modèle';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName : $current Mo';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName : $current / $total Mo ($percent %)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size Mo • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio déconnectée';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Reconnectez-vous à votre radio pour envoyer des commandes, actualiser ou enregistrer les modifications.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Envoyer la commande';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Copier la transcription';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Partager la transcription';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Transcription copiée';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Effacer l\'historique des commandes ? Action irréversible.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Rechercher des commandes';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Aucune commande correspondante';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Effacer toutes les entrées du journal ? Action irréversible.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Modifications non enregistrées';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Vous avez des modifications non enregistrées sur le répéteur.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Abandonner';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action : commande envoyée. Le répéteur ne répond pas à cette commande.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting : $value n\'est pas valide';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Puissance TX $value hors plage ($min à $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'La clé privée doit comporter exactement $length caractères hexadécimaux';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Impossible d\'envoyer l\'annonce';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Gérer les groupes';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID : $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Connecté à';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Choisir le port série';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes min $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours h $minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Carte du réseau';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Partager ce que ma radio entend';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Lorsque cette option est activée et que votre radio est connectée, l\'application envoie un court résumé des paquets entendus par votre radio à la carte du réseau MeshCore Open, afin que chacun puisse voir quels répéteurs existent et comment ils sont reliés. Elle envoie le type, la route, les sauts, la puissance du signal et la taille de chaque paquet, ainsi que les noms et les positions approximatives des répéteurs issus de leurs propres adverts. Elle n\'envoie jamais le texte des messages, qui parle à qui, les noms des canaux, vos contacts ni votre position exacte : les positions sont arrondies à environ 2 km, et votre application reçoit chaque jour un nouvel identifiant aléatoire.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Ce que nous collectons';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle =>
|
||||
'Aider à construire la carte du réseau ?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open peut partager ce que votre radio entend avec la carte publique du réseau sur map.meshcoreopen.org, afin que chacun puisse voir quels répéteurs existent et comment ils sont reliés.\n\nElle n\'envoie jamais le texte des messages, qui parle à qui, les noms des canaux, vos contacts ni votre position exacte. Les positions sont arrondies à environ 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Vous pouvez modifier cela à tout moment dans Paramètres → Paramètres de l\'application → Carte du réseau.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Partager';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Non merci';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Désactivé. Rien n\'est envoyé.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Activé. En attente d\'une connexion radio.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Activé. Rien n\'a encore été envoyé.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Dernier envoi $time. $count paquets aujourd\'hui.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Local';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'En ligne';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Les deux';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Zoomez pour voir la carte du réseau en ligne';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Impossible de charger la carte du réseau en ligne';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'Dans vos contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Statut';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Actif durant la dernière heure';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Entendu durant le dernier jour';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Pas entendu récemment';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Confirmé';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Source unique, pas encore confirmé';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Rapports';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Position approximative, estimée d\'après ceux qui l\'ont entendu';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Position approximative, issue de son propre advert';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Entendu par votre radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'Dans votre zone';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway =>
|
||||
'Trop loin. La gestion ne pourra pas l\'atteindre.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Ajouter aux contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Gérer';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Ajouté aux contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Impossible d\'ajouter aux contacts';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Répéteur sans nom';
|
||||
}
|
||||
@@ -357,6 +357,20 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Bluetooth engedélyezése';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Új csomópontra van szükséged?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Pénztárca méretű, MeshCore-t futtat, kétsávos GPS, vízálló, 5 napos akkumulátor.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Itt szerezhetsz egyet';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Partnerlink: minden vásárlás a MeshCore Opent támogatja.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'A Bluetooth nem érhető el a böngészőben. Inkább csatlakoztasson USB-n keresztül.';
|
||||
@@ -5832,4 +5846,520 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'A képmodell letöltése sikertelen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Elrejtés: a térkép elhagyásáig rejtve marad.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Eltávolítás: a szűrőmenüből való visszaállításig rejtve marad.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Jelölő eltávolítva';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Eltávolított jelölők visszaállítása';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count eltávolítva';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count jelölő visszaállítva';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Beállítja saját helyzetként?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'A csomópont ezt a pozíciót fogja hirdetni:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Helyzet beállítása';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'A csomópont helyzete frissítve';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Az eszköz nem erősítette meg az új helyzetet. Próbálja újra.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count jelölő itt';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count megosztott jelölő. Koppintson a listázáshoz.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Ön és $count jelölő';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Megosztott jelölő: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Nagyítás: $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'A letöltés megszakítva. $count csempe gyorsítótárazva.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Túl nagy terület';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Ehhez a területhez $count csempe kell, ami meghaladja a $max korlátot. Válasszon kisebb területet, vagy csökkentse a maximális nagyítást.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Ez törli a beszélgetés összes üzenetét erről az eszközről. A művelet nem vonható vissza.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Ez törli a csatorna összes üzenetét erről az eszközről, a fogadott képekkel együtt. A művelet nem vonható vissza.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'most';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes p';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours ó';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days n';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Ismeretlen';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'A helyi csomópontnak nincs GPS-jelzése';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Nem sikerült elküldeni az útvonalkövetést: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'A magassági adatokhoz internetkapcsolat szükséges';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Elavult: az antennamagasság megváltozott';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Telemetria betöltése…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Nincs kapcsolat rádióval. Csatlakozzon, és próbálja újra.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'A használathoz csatlakozzon egy rádióhoz';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Érvénytelen TX teljesítmény ($min – $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Kapcsolatbeállítások mentve';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Koppintson a százalék és a feszültség közötti váltáshoz';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Nyilvános kulcs másolása';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'A helyzet törléséhez hagyja üresen mindkét mezőt.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Helyzet eltávolítva';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Közeli átjátszók keresése…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return '$current. átjátszó lekérdezése ($total közül)…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Még nem ismert egyetlen átjátszó sem. Adjon hozzá egy átjátszót kapcsolatként, vagy várja meg, amíg egy hirdet, majd próbálja újra.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Egyik közeli átjátszó sem válaszolt. Menjen közelebb egy átjátszóhoz, és próbálja újra.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Útválasztás';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Képüzenetek';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'API-kulcs megjelenítése';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'API-kulcs elrejtése';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modell';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'A rádió lecsatlakozott';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Csatlakozzon újra a rádióhoz parancsok küldéséhez, frissítéshez vagy a módosítások mentéséhez.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Parancs küldése';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Átirat másolása';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Átirat megosztása';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Átirat másolva';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Törli a parancselőzményeket? A művelet nem vonható vissza.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Parancsok keresése';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Nincs egyező parancs';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Törli az összes naplóbejegyzést? A művelet nem vonható vissza.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Nem mentett módosítások';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Vannak módosítások, amelyek nincsenek elmentve az átjátszóra.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Elvetés';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: parancs elküldve. Az átjátszó nem válaszol erre a parancsra.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value érvénytelen';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'A(z) $value TX teljesítmény tartományon kívül van ($min – $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'A privát kulcsnak pontosan $length hexadecimális karakterből kell állnia';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Nem sikerült elküldeni a hirdetést';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Csoportok kezelése';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Csatlakozva:';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Soros port kiválasztása';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds mp';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes p $seconds mp';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours ó $minutes p';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Hálózati térkép';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Megosztom, amit a rádióm hall';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Ha ez be van kapcsolva és a rádió csatlakozik, az alkalmazás rövid összefoglalót küld a rádió által hallott csomagokról a MeshCore Open hálózati térképére, hogy mindenki lássa, milyen repeaterek léteznek és hogyan kapcsolódnak egymáshoz. Elküldi az egyes csomagok típusát, útvonalát, ugrásszámát, jelerősségét és méretét, valamint a repeaterek nevét és hozzávetőleges helyét a saját advertjeikből. Soha nem küld üzenetszöveget, azt, hogy ki kivel beszélget, csatornaneveket, a kapcsolataidat vagy a pontos helyzetedet: a helyek kb. 2 km-re kerekítettek, az alkalmazásod pedig naponta új véletlenszerű azonosítót kap.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Mit gyűjtünk';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Segítesz a hálózati térkép építésében?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'A MeshCore Open megoszthatja, amit a rádiód hall, a nyilvános hálózati térképpel a map.meshcoreopen.org oldalon, hogy mindenki lássa, milyen repeaterek léteznek és hogyan kapcsolódnak egymáshoz.\n\nSoha nem küld üzenetszöveget, azt, hogy ki kivel beszélget, csatornaneveket, a kapcsolataidat vagy a pontos helyzetedet. A helyek kb. 2 km-re kerekítettek.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Ezt bármikor módosíthatod: Beállítások → Alkalmazásbeállítások → Hálózati térkép.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Megosztás';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Köszönöm, nem';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Kikapcsolva. Semmi sem kerül elküldésre.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Bekapcsolva. Várakozás a rádiókapcsolatra.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Bekapcsolva. Még nem ment el semmi.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Utoljára elküldve: $time. Ma $count csomag.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Helyi';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Mindkettő';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Nagyíts rá az online hálózati térkép megtekintéséhez';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Nem sikerült betölteni az online hálózati térképet';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'A kapcsolataid között';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Állapot';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Aktív az elmúlt órában';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Hallva az elmúlt napban';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Mostanában nem hallható';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Megerősítve';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Egyetlen forrás, még nem megerősített';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Jelentések';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Hozzávetőleges hely, a hallók alapján becsülve';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Hozzávetőleges hely, a saját advertjéből';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'A rádiód hallja';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'A közeledben';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Messze van. A kezelés nem éri el.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Hozzáadás a kapcsolatokhoz';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Kezelés';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Hozzáadva a kapcsolatokhoz';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Nem sikerült hozzáadni a kapcsolatokhoz';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Névtelen repeater';
|
||||
}
|
||||
@@ -361,6 +361,20 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Abilita il Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Ti serve un nuovo nodo?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Grande come un portafoglio, funziona con MeshCore, GPS dual-band, impermeabile, 5 giorni di batteria.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Prendilo qui';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Link di affiliazione: ogni acquisto sostiene MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'La funzionalità Bluetooth non è disponibile nel browser. Connettetevi tramite USB invece.';
|
||||
@@ -5850,4 +5864,522 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Impossibile scaricare il modello di immagine: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Nascondi: resta nascosto finché non lasci la mappa.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Rimuovi: resta nascosto finché non lo ripristini dal menu dei filtri.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Segnaposto rimosso';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Ripristina segnaposti rimossi';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count rimossi';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count segnaposti ripristinati';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Impostare come tua posizione?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Il tuo nodo annuncerà questa posizione:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Imposta posizione';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Posizione del nodo aggiornata';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Il dispositivo non ha confermato la nuova posizione. Riprova.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count segnaposti qui';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count segnaposti condivisi. Tocca per elencarli.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Tu e $count segnaposti';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Segnaposto condiviso: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Download annullato. $count tile salvate nella cache.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Area troppo grande';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Quest\'area richiede $count tile, più del limite di $max. Scegli un\'area più piccola o riduci lo zoom massimo.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Questo cancella tutti i messaggi di questa conversazione da questo dispositivo. Non può essere annullato.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Questo cancella tutti i messaggi di questo canale da questo dispositivo, comprese le immagini ricevute. Non può essere annullato.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'ora';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days g';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Sconosciuto';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Il nodo locale non ha un fix GPS';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Impossibile inviare il tracciamento del percorso: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'I dati di altitudine richiedono una connessione a Internet';
|
||||
|
||||
@override
|
||||
String get losResultStale =>
|
||||
'Non aggiornato: l\'altezza dell\'antenna è cambiata';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Caricamento della telemetria…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Non connesso a una radio. Connettiti e riprova.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => 'Connettiti a una radio per usarlo';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Potenza TX non valida ($min - $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved =>
|
||||
'Impostazioni del contatto salvate';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Tocca per passare tra percentuale e tensione';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Copia chiave pubblica';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Lascia vuoti entrambi i campi per rimuovere la tua posizione.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Posizione rimossa';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Ricerca di ripetitori vicini…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Interrogazione del ripetitore $current di $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Nessun ripetitore noto per ora. Aggiungi un ripetitore come contatto o attendi che ne annunci uno, poi riprova.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Nessun ripetitore vicino ha risposto. Avvicinati a un ripetitore e riprova.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Instradamento';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Messaggi immagine';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Mostra chiave API';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Nascondi chiave API';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modello';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio disconnessa';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Riconnettiti alla radio per inviare comandi, aggiornare o salvare le modifiche.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Invia comando';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Copia trascrizione';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Condividi trascrizione';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Trascrizione copiata';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Cancellare la cronologia dei comandi? Non può essere annullato.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Cerca comandi';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Nessun comando corrispondente';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Cancellare tutte le voci del registro? Non può essere annullato.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Modifiche non salvate';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Hai modifiche non salvate sul ripetitore.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Scarta';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: comando inviato. Il ripetitore non risponde a questo comando.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value non è valido';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Potenza TX $value fuori intervallo ($min - $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'La chiave privata deve essere di esattamente $length caratteri esadecimali';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Impossibile inviare l\'annuncio';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Gestisci gruppi';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Connesso a';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Scegli porta seriale';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes min $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours h $minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Mappa della rete';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Condividi ciò che sente la mia radio';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Quando è attivo e la tua radio è connessa, l\'app invia un breve riepilogo dei pacchetti sentiti dalla tua radio alla mappa della rete di MeshCore Open, così tutti possono vedere quali ripetitori esistono e come sono collegati. Invia tipo, percorso, hop, intensità del segnale e dimensione di ogni pacchetto, oltre a nomi e posizioni approssimative dei ripetitori ricavati dai loro advert. Non invia mai il testo dei messaggi, chi parla con chi, i nomi dei canali, i tuoi contatti né la tua posizione esatta: le posizioni sono arrotondate a circa 2 km e la tua app riceve ogni giorno un nuovo ID casuale.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Cosa raccogliamo';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle =>
|
||||
'Vuoi aiutare a costruire la mappa della rete?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open può condividere ciò che sente la tua radio con la mappa pubblica della rete su map.meshcoreopen.org, così tutti possono vedere quali ripetitori esistono e come sono collegati.\n\nNon invia mai il testo dei messaggi, chi parla con chi, i nomi dei canali, i tuoi contatti né la tua posizione esatta. Le posizioni sono arrotondate a circa 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Puoi cambiarlo in qualsiasi momento in Impostazioni → Impostazioni App → Mappa della rete.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Condividi';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'No, grazie';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Disattivato. Non viene inviato nulla.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Attivo. In attesa della connessione con la radio.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'Attivo. Ancora nulla inviato.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Ultimo invio $time. $count pacchetti oggi.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Locale';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Entrambi';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Ingrandisci per vedere la mappa della rete online';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Impossibile caricare la mappa della rete online';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'Nei tuoi contatti';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Stato';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Attivo nell\'ultima ora';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Sentito nell\'ultimo giorno';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Non sentito di recente';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Confermato';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Fonte singola, non ancora confermato';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Segnalazioni';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Posizione approssimativa, stimata in base a chi l\'ha sentito';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Posizione approssimativa, dal suo advert';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Sentito dalla tua radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'Nella tua zona';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway =>
|
||||
'Troppo lontano. La gestione non lo raggiungerà.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Aggiungi ai contatti';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Gestisci';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Aggiunto ai contatti';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Impossibile aggiungere ai contatti';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Ripetitore senza nome';
|
||||
}
|
||||
@@ -344,6 +344,20 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Bluetooth を有効にする';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => '新しいノードが必要ですか?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'財布サイズで MeshCore が動作。デュアルバンドGPS、防水、バッテリー5日間。';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'こちらで入手';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'アフィリエイトリンク: 購入のたびに MeshCore Open を応援できます。';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'ブラウザでは Bluetooth は利用できません。代わりに USB で接続してください。';
|
||||
@@ -5565,4 +5579,502 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return '画像モデルをダウンロードできませんでした:$error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint => '非表示:マップを離れるまで非表示になります。';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint => '削除:フィルターメニューから復元するまで非表示のままです。';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'マーカーを削除しました';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => '削除したマーカーを復元';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count件削除済み';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count件のマーカーを復元しました';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'この位置を自分の位置に設定しますか?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'ノードは次の位置をアドバートします:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => '位置を設定';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'ノードの位置を更新しました';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed => 'デバイスが新しい位置を確認しませんでした。もう一度お試しください。';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return 'ここに$count件のマーカー';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '共有マーカー$count件。タップして一覧を表示します。';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return '自分と$count件のマーカー';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return '共有マーカー: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name、$type、$status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'ズーム $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'ダウンロードをキャンセルしました。$count枚のタイルをキャッシュしました。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'エリアが大きすぎます';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'このエリアには$count枚のタイルが必要で、上限の$max枚を超えています。より小さいエリアを選ぶか、最大ズームを下げてください。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm => 'この会話のすべてのメッセージをこのデバイスから消去します。元に戻せません。';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'このチャンネルのすべてのメッセージを、受信した画像も含めてこのデバイスから消去します。元に戻せません。';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => '今';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes分';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours時間';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days日';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => '不明';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'ローカルノードにGPS測位がありません';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'パストレースを送信できませんでした: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet => '標高データにはインターネット接続が必要です';
|
||||
|
||||
@override
|
||||
String get losResultStale => '古い結果: アンテナ高が変更されました';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'テレメトリを読み込み中…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError => '無線機に接続されていません。接続してからもう一度お試しください。';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => '使用するには無線機に接続してください';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'TX出力が無効です($min~$max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => '連絡先設定を保存しました';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint => 'タップでパーセントと電圧を切り替え';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => '公開鍵をコピー';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper => '位置情報を削除するには、両方の欄を空にしてください。';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => '位置情報を削除しました';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => '近くのリピータを検索中…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'リピータ $current/$total に問い合わせ中…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'既知のリピータがまだありません。リピータを連絡先に追加するか、アドバートを待ってからもう一度お試しください。';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'近くのリピータから応答がありませんでした。リピータに近づいてもう一度お試しください。';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'ルーティング';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => '画像メッセージ';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'APIキーを表示';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'APIキーを非表示';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'モデル';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => '無線機が切断されました';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'コマンドの送信、更新、変更の保存を行うには、無線機に再接続してください。';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'コマンドを送信';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => '履歴をコピー';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => '履歴を共有';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => '履歴をコピーしました';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm => 'コマンド履歴を消去しますか?元に戻せません。';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'コマンドを検索';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => '一致するコマンドがありません';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm => 'すべてのログを消去しますか?元に戻せません。';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => '未保存の変更';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage => 'リピータに保存されていない変更があります。';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => '破棄';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: コマンドを送信しました。リピータはこのコマンドに応答しません。';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $valueは無効です';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX出力 $value は範囲外です($min~$max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return '秘密鍵は16進数でちょうど$length文字である必要があります';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'アドバートを送信できませんでした';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'グループを管理';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => '接続先';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'シリアルポートを選択';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds秒';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes分$seconds秒';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours時間$minutes分';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'ネットワークマップ';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'ラジオが受信した情報を共有';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'オンにしてラジオが接続されている間、ラジオが受信したパケットの概要をアプリが MeshCore Open のネットワークマップに送信します。これにより、どんなリピータがあり、どうつながっているかを誰でも見られます。送信するのは、各パケットの種類、経路、ホップ数、信号強度、サイズと、リピータ自身のアドバートに含まれる名前とおおよその位置です。メッセージの本文、誰が誰と話しているか、チャンネル名、連絡先、正確な位置は送信しません。位置は約2km単位に丸められ、アプリのIDは毎日ランダムに新しくなります。';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => '収集する情報';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'ネットワークマップの作成にご協力いただけますか?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open は、ラジオが受信した情報を map.meshcoreopen.org の公開ネットワークマップと共有できます。これにより、どんなリピータがあり、どうつながっているかを誰でも見られます。\n\nメッセージの本文、誰が誰と話しているか、チャンネル名、連絡先、正確な位置は送信しません。位置は約2km単位に丸められます。';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'この設定はいつでも「設定」→「アプリ設定」→「ネットワークマップ」で変更できます。';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => '共有する';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'いいえ、結構です';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'オフ。何も送信されません。';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting => 'オン。ラジオの接続を待っています。';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'オン。まだ何も送信されていません。';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return '最終送信: $time。今日は$countパケット。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'ローカル';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'オンライン';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => '両方';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint => 'ズームインするとオンラインのネットワークマップが表示されます';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => 'オンラインのネットワークマップを読み込めませんでした';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => '連絡先にあります';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'ステータス';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => '直近1時間にアクティブ';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => '直近1日以内に受信';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => '最近受信されていません';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => '確認済み';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => '情報源が1つのみで、未確認';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'レポート';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated => 'おおよその位置(受信したノードから推定)';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised => 'おおよその位置(自身のアドバートより)';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'ラジオが受信';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'お近く';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => '遠すぎます。管理はできません。';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => '連絡先に追加';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => '管理';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => '連絡先に追加しました';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => '連絡先に追加できませんでした';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => '名前のないリピータ';
|
||||
}
|
||||
@@ -344,6 +344,20 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => '블루투스 켜기';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => '새 노드가 필요하신가요?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'지갑 크기에 MeshCore 구동, 듀얼 밴드 GPS, 방수, 5일 배터리.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => '여기서 구하기';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'제휴 링크: 구매할 때마다 MeshCore Open을 후원하게 됩니다.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'브라우저에서는 블루투스를 사용할 수 없습니다. 대신 USB로 연결하세요.';
|
||||
@@ -5575,4 +5589,502 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return '이미지 모델을 다운로드하지 못했습니다: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint => '숨기기: 지도를 벗어날 때까지 숨겨집니다.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint => '삭제: 필터 메뉴에서 복원하기 전까지 숨겨진 상태로 유지됩니다.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => '마커를 삭제했습니다';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => '삭제한 마커 복원';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count개 삭제됨';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '마커 $count개를 복원했습니다';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => '내 위치로 설정할까요?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return '노드가 다음 위치를 어드버트합니다:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => '위치 설정';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => '노드 위치를 업데이트했습니다';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed => '장치가 새 위치를 확인하지 않았습니다. 다시 시도하세요.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '여기에 마커 $count개';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '공유 마커 $count개. 탭하여 목록을 확인하세요.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return '나와 마커 $count개';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return '공유 마커: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return '줌 $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return '다운로드가 취소되었습니다. 타일 $count개를 캐시했습니다.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => '영역이 너무 큽니다';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return '이 영역에는 타일 $count개가 필요하며 제한인 $max개를 초과합니다. 더 작은 영역을 선택하거나 최대 줌을 낮추세요.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm => '이 대화의 모든 메시지를 이 기기에서 삭제합니다. 되돌릴 수 없습니다.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'받은 이미지를 포함해 이 채널의 모든 메시지를 이 기기에서 삭제합니다. 되돌릴 수 없습니다.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => '지금';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes분';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours시간';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days일';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => '알 수 없음';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => '로컬 노드에 GPS 위치가 없습니다';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return '경로 추적을 보낼 수 없습니다: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet => '고도 데이터에는 인터넷 연결이 필요합니다';
|
||||
|
||||
@override
|
||||
String get losResultStale => '오래된 결과: 안테나 높이가 변경되었습니다';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => '텔레메트리 불러오는 중…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError => '무전기에 연결되어 있지 않습니다. 연결한 후 다시 시도하세요.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => '사용하려면 무전기에 연결하세요';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return '잘못된 TX 출력입니다($min~$max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => '연락처 설정을 저장했습니다';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint => '탭하여 퍼센트와 전압 전환';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => '공개 키 복사';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper => '위치를 삭제하려면 두 입력란을 모두 비워 두세요.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => '위치를 삭제했습니다';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => '주변 리피터를 찾는 중…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return '리피터 $current/$total에 요청하는 중…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'알려진 리피터가 아직 없습니다. 리피터를 연락처로 추가하거나 어드버트를 기다린 후 다시 시도하세요.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'응답한 주변 리피터가 없습니다. 리피터에 더 가까이 이동한 후 다시 시도하세요.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => '라우팅';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => '이미지 메시지';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'API 키 표시';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'API 키 숨기기';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => '모델';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => '무전기 연결 끊김';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'명령을 보내거나 새로고침 또는 변경 사항을 저장하려면 무전기에 다시 연결하세요.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => '명령 보내기';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => '기록 복사';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => '기록 공유';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => '기록을 복사했습니다';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm => '명령 기록을 지울까요? 되돌릴 수 없습니다.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => '명령 검색';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => '일치하는 명령이 없습니다';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm => '모든 로그 항목을 지울까요? 되돌릴 수 없습니다.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => '저장하지 않은 변경 사항';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage => '리피터에 저장되지 않은 변경 사항이 있습니다.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => '취소';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: 명령을 보냈습니다. 리피터는 이 명령에 응답하지 않습니다.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value은(는) 올바르지 않습니다';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX 출력 $value이(가) 범위를 벗어났습니다($min~$max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return '개인 키는 정확히 16진수 $length자여야 합니다';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => '어드버트를 보낼 수 없습니다';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => '그룹 관리';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => '연결 대상';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => '시리얼 포트 선택';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds초';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes분 $seconds초';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours시간 $minutes분';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => '네트워크 지도';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => '내 라디오가 수신한 정보 공유';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'이 기능을 켜고 라디오가 연결되어 있으면, 앱이 라디오가 수신한 패킷의 요약 정보를 MeshCore Open 네트워크 지도로 보내 어떤 리피터가 있고 서로 어떻게 연결되는지 모두가 볼 수 있게 합니다. 각 패킷의 종류, 경로, 홉 수, 신호 세기, 크기와 함께 리피터 자체 어드버트에 담긴 이름과 대략적인 위치를 보냅니다. 메시지 내용, 누가 누구와 대화하는지, 채널 이름, 연락처, 정확한 위치는 절대 보내지 않습니다. 위치는 약 2km 단위로 반올림되며, 앱 ID는 매일 새로운 무작위 값으로 바뀝니다.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => '수집하는 정보';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => '네트워크 지도 만들기에 참여하시겠어요?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open은 라디오가 수신한 정보를 map.meshcoreopen.org의 공개 네트워크 지도와 공유하여, 어떤 리피터가 있고 서로 어떻게 연결되는지 모두가 볼 수 있게 할 수 있습니다.\n\n메시지 내용, 누가 누구와 대화하는지, 채널 이름, 연락처, 정확한 위치는 절대 보내지 않습니다. 위치는 약 2km 단위로 반올림됩니다.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'설정 → 앱 설정 → 네트워크 지도에서 언제든지 변경할 수 있습니다.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => '공유';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => '괜찮아요';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => '꺼짐. 아무것도 전송되지 않습니다.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting => '켜짐. 라디오 연결을 기다리는 중입니다.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => '켜짐. 아직 전송한 내용이 없습니다.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return '마지막 전송 $time. 오늘 패킷 $count개.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => '로컬';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => '온라인';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => '모두';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint => '온라인 네트워크 지도를 보려면 확대하세요';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => '온라인 네트워크 지도를 불러오지 못했습니다';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => '내 연락처에 있음';
|
||||
|
||||
@override
|
||||
String get networkMap_status => '상태';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => '최근 1시간 이내 활동';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => '최근 하루 이내 수신';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => '최근 수신 없음';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => '확인됨';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => '단일 출처, 아직 확인되지 않음';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => '보고';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated => '대략적인 위치, 수신한 노드를 기준으로 추정';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised => '대략적인 위치, 자체 어드버트 기준';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => '내 라디오가 수신함';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => '내 주변 지역';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => '멀리 떨어져 있어 관리할 수 없습니다.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => '연락처에 추가';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => '관리';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => '연락처에 추가됨';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => '연락처에 추가하지 못했습니다';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => '이름 없는 리피터';
|
||||
}
|
||||
@@ -357,6 +357,20 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Activeer Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Een nieuwe node nodig?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Zo klein als een portemonnee, draait MeshCore, dual-band GPS, waterdicht, 5 dagen accuduur.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Haal er hier een';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Affiliatelink: elke aankoop steunt MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth is niet beschikbaar in de browser. Verbind in plaats daarvan via USB.';
|
||||
@@ -5810,4 +5824,518 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Het afbeeldingsmodel kon niet worden gedownload: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Verbergen: verborgen totdat je de kaart verlaat.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Verwijderen: blijft verborgen totdat je het herstelt via het filtermenu.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Markering verwijderd';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Verwijderde markeringen herstellen';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count verwijderd';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count markeringen hersteld';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Instellen als jouw locatie?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Je node adverteert deze positie:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Locatie instellen';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Nodelocatie bijgewerkt';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Het apparaat heeft de nieuwe locatie niet bevestigd. Probeer het opnieuw.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count markeringen hier';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count gedeelde markeringen. Tik om ze weer te geven.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Jij en $count markeringen';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Gedeelde markering: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Download geannuleerd. $count tegels in cache opgeslagen.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Gebied te groot';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Dit gebied vereist $count tegels, meer dan de limiet van $max. Kies een kleiner gebied of verlaag de maximale zoom.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Hiermee worden alle berichten in dit gesprek van dit apparaat gewist. Dit kan niet ongedaan worden gemaakt.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Hiermee worden alle berichten in dit kanaal van dit apparaat gewist, inclusief ontvangen afbeeldingen. Dit kan niet ongedaan worden gemaakt.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'nu';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '${hours}u';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '${days}d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'KN $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Onbekend';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Lokale node heeft geen GPS-fix';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Padtracering kon niet worden verzonden: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Hoogtegegevens vereisen een internetverbinding';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Verouderd: antennehoogte is gewijzigd';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Telemetrie laden…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Niet verbonden met een radio. Maak verbinding en probeer het opnieuw.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Maak verbinding met een radio om dit te gebruiken';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Ongeldig TX-vermogen ($min tot $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Contactinstellingen opgeslagen';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Tik om te wisselen tussen procent en spanning';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Publieke sleutel kopiëren';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Laat beide velden leeg om je locatie te verwijderen.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Locatie verwijderd';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Repeaters in de buurt zoeken…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Repeater $current van $total wordt gevraagd…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Er zijn nog geen repeaters bekend. Voeg een repeater toe als contact of wacht tot er een adverteert en probeer het dan opnieuw.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Geen repeaters in de buurt hebben geantwoord. Ga dichter bij een repeater staan en probeer het opnieuw.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Routering';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Afbeeldingsberichten';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'API-sleutel tonen';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'API-sleutel verbergen';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Model';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio losgekoppeld';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Maak opnieuw verbinding met je radio om commando\'s te verzenden, te vernieuwen of wijzigingen op te slaan.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Commando verzenden';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Transcript kopiëren';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Transcript delen';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Transcript gekopieerd';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Commandogeschiedenis wissen? Dit kan niet ongedaan worden gemaakt.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Commando\'s zoeken';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands =>
|
||||
'Geen overeenkomende commando\'s';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Alle logboekvermeldingen wissen? Dit kan niet ongedaan worden gemaakt.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Niet-opgeslagen wijzigingen';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Je hebt wijzigingen die niet zijn opgeslagen op de repeater.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Verwerpen';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: commando verzonden. De repeater antwoordt niet op dit commando.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value is niet geldig';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX-vermogen $value valt buiten het bereik ($min tot $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'De privésleutel moet precies $length hexadecimale tekens bevatten';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Advertentie kon niet worden verzonden';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Groepen beheren';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Verbonden met';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Seriële poort kiezen';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '${minutes}m ${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '${hours}u ${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Netwerkkaart';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Delen wat mijn radio hoort';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Als dit aan staat en je radio verbonden is, stuurt de app een korte samenvatting van de pakketten die je radio hoort naar de MeshCore Open-netwerkkaart, zodat iedereen kan zien welke repeaters er zijn en hoe ze met elkaar verbonden zijn. Per pakket wordt het type, de route, het aantal hops, de signaalsterkte en de grootte verstuurd, plus repeaternamen en globale locaties uit hun eigen adverts. Er worden nooit berichttekst, wie met wie praat, kanaalnamen, je contacten of je exacte positie verstuurd: locaties worden afgerond op ongeveer 2 km en je app krijgt elke dag een nieuw willekeurig ID.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Wat we verzamelen';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Helpen de netwerkkaart te bouwen?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open kan delen wat je radio hoort met de openbare netwerkkaart op map.meshcoreopen.org, zodat iedereen kan zien welke repeaters er zijn en hoe ze met elkaar verbonden zijn.\n\nEr worden nooit berichttekst, wie met wie praat, kanaalnamen, je contacten of je exacte positie verstuurd. Locaties worden afgerond op ongeveer 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Je kunt dit op elk moment wijzigen via Instellingen → App Instellingen → Netwerkkaart.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Delen';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Nee, bedankt';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Uit. Er wordt niets verstuurd.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting => 'Aan. Wachten op een radioverbinding.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'Aan. Nog niets verstuurd.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Laatst verstuurd $time. $count pakketten vandaag.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Lokaal';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Beide';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Zoom in om de online netwerkkaart te zien';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => 'Kan de online netwerkkaart niet laden';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'In je contacten';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Status';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Actief in het laatste uur';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Gehoord in de afgelopen dag';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Onlangs niet gehoord';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Bevestigd';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Eén bron, nog niet bevestigd';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Meldingen';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Globale locatie, geschat op basis van wie het hoorde';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Globale locatie, uit zijn eigen advert';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Gehoord door je radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'In jouw omgeving';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Ver weg. Beheer bereikt het niet.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Toevoegen aan contacten';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Beheren';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Toegevoegd aan contacten';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Kan niet aan contacten toevoegen';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Naamloze repeater';
|
||||
}
|
||||
@@ -364,6 +364,20 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Włącz Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Potrzebujesz nowego węzła?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Wielkości portfela, z MeshCore, dwuzakresowy GPS, wodoodporny, bateria na 5 dni.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Kup tutaj';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Link partnerski: każdy zakup wspiera MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth nie jest dostępny w przeglądarce. Połącz się przez USB.';
|
||||
@@ -5875,4 +5889,519 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Nie udało się pobrać modelu obrazów: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint => 'Ukryj: ukryty do czasu opuszczenia mapy.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Usuń: pozostaje ukryty, dopóki nie przywrócisz go z menu filtrów.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Znacznik usunięty';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Przywróć usunięte znaczniki';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return 'Usunięto: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Przywrócono znaczniki: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Ustawić jako Twoją lokalizację?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Twój węzeł będzie ogłaszał tę pozycję:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Ustaw lokalizację';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Zaktualizowano lokalizację węzła';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Urządzenie nie potwierdziło nowej lokalizacji. Spróbuj ponownie.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return 'Znaczniki tutaj: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return 'Udostępnione znaczniki: $count. Dotknij, aby je wyświetlić.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Ty i znaczniki: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Udostępniony znacznik: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Pobieranie anulowane. Zapisano w pamięci podręcznej kafelki: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Obszar zbyt duży';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Ten obszar wymaga $count kafelków, co przekracza limit $max. Wybierz mniejszy obszar lub zmniejsz maksymalny zoom.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Spowoduje to usunięcie z tego urządzenia wszystkich wiadomości w tej rozmowie. Tej operacji nie można cofnąć.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Spowoduje to usunięcie z tego urządzenia wszystkich wiadomości w tym kanale, w tym odebranych obrazów. Tej operacji nie można cofnąć.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'teraz';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours godz.';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'KN $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Nieznany';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Lokalny węzeł nie ma pozycji GPS';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Nie udało się wysłać śledzenia trasy: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Dane wysokościowe wymagają połączenia z internetem';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Nieaktualne: zmieniono wysokość anteny';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Wczytywanie telemetrii…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Brak połączenia z radiem. Połącz się i spróbuj ponownie.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Połącz się z radiem, aby z tego korzystać';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Nieprawidłowa moc TX (od $min do $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Zapisano ustawienia kontaktu';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Dotknij, aby przełączyć między procentami a napięciem';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Kopiuj klucz publiczny';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Pozostaw oba pola puste, aby usunąć swoją lokalizację.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Lokalizacja usunięta';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Wyszukiwanie pobliskich przekaźników…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Odpytywanie przekaźnika $current z $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Nie są jeszcze znane żadne przekaźniki. Dodaj przekaźnik jako kontakt lub poczekaj, aż któryś się ogłosi, a następnie spróbuj ponownie.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Żaden pobliski przekaźnik nie odpowiedział. Zbliż się do przekaźnika i spróbuj ponownie.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Routing';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Wiadomości z obrazami';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Pokaż klucz API';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Ukryj klucz API';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Model';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio rozłączone';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Połącz się ponownie z radiem, aby wysyłać polecenia, odświeżać lub zapisywać zmiany.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Wyślij polecenie';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Kopiuj zapis';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Udostępnij zapis';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Skopiowano zapis';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Wyczyścić historię poleceń? Tej operacji nie można cofnąć.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Szukaj poleceń';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Brak pasujących poleceń';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Wyczyścić wszystkie wpisy dziennika? Tej operacji nie można cofnąć.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Niezapisane zmiany';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Masz zmiany, które nie zostały zapisane w przekaźniku.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Odrzuć';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: polecenie wysłane. Przekaźnik nie odpowiada na to polecenie.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value jest nieprawidłowe';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Moc TX $value jest poza zakresem (od $min do $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Klucz prywatny musi mieć dokładnie $length znaków szesnastkowych';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Nie udało się wysłać ogłoszenia';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Zarządzaj grupami';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Połączono z';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Wybierz port szeregowy';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes min $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours godz. $minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Mapa sieci';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Udostępniaj to, co słyszy moje radio';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Gdy ta opcja jest włączona, a radio połączone, aplikacja wysyła krótkie podsumowanie pakietów słyszanych przez radio do mapy sieci MeshCore Open, aby każdy mógł zobaczyć, jakie repeatery istnieją i jak się łączą. Wysyłany jest typ, trasa, liczba skoków, siła sygnału i rozmiar każdego pakietu oraz nazwy repeaterów i przybliżone lokalizacje z ich własnych rozgłoszeń. Nigdy nie wysyła treści wiadomości, informacji o tym, kto z kim rozmawia, nazw kanałów, Twoich kontaktów ani Twojej dokładnej pozycji: lokalizacje są zaokrąglane do około 2 km, a aplikacja co dzień dostaje nowy losowy identyfikator.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Co zbieramy';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Pomóc w budowie mapy sieci?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open może udostępniać to, co słyszy Twoje radio, publicznej mapie sieci na map.meshcoreopen.org, aby każdy mógł zobaczyć, jakie repeatery istnieją i jak się łączą.\n\nNigdy nie wysyła treści wiadomości, informacji o tym, kto z kim rozmawia, nazw kanałów, Twoich kontaktów ani Twojej dokładnej pozycji. Lokalizacje są zaokrąglane do około 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Możesz to zmienić w dowolnym momencie w Ustawienia → Ustawienia aplikacji → Mapa sieci.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Udostępnij';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Nie, dziękuję';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Wyłączone. Nic nie jest wysyłane.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Włączone. Oczekiwanie na połączenie z radiem.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Włączone. Nic jeszcze nie wysłano.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Ostatnio wysłano $time. Pakiety dzisiaj: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Lokalna';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Obie';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Przybliż, aby zobaczyć mapę sieci online';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => 'Nie udało się wczytać mapy sieci online';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'W Twoich kontaktach';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Stan';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Aktywny w ostatniej godzinie';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Słyszany w ostatniej dobie';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Dawno niesłyszany';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Potwierdzony';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Jedno źródło, jeszcze niepotwierdzone';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Raporty';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Przybliżona lokalizacja, oszacowana na podstawie tego, kto go słyszał';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Przybliżona lokalizacja, z jego własnego rozgłoszenia';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Słyszany przez Twoje radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'W Twojej okolicy';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Daleko. Zarządzanie tam nie dotrze.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Dodaj do kontaktów';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Zarządzaj';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Dodano do kontaktów';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Nie udało się dodać do kontaktów';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Repeater bez nazwy';
|
||||
}
|
||||
@@ -360,6 +360,20 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Ative o Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Precisa de um novo nó?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Do tamanho de uma carteira, roda MeshCore, GPS dual-band, à prova d\'água, bateria para 5 dias.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Compre aqui';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Link de afiliado: cada compra apoia o MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'A funcionalidade Bluetooth não está disponível no navegador. Conecte-se via USB em vez disso.';
|
||||
@@ -5839,4 +5853,520 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Não foi possível baixar o modelo de imagem: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Ocultar: fica oculto até você sair do mapa.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Remover: continua oculto até você restaurá-lo no menu de filtros.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Marcador removido';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Restaurar marcadores removidos';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count removidos';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '$count marcadores restaurados';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Definir como sua localização?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Seu nó vai anunciar esta posição:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Definir localização';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Localização do nó atualizada';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'O dispositivo não confirmou a nova localização. Tente novamente.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count marcadores aqui';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count marcadores compartilhados. Toque para listá-los.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Você e $count marcadores';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Marcador compartilhado: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Download cancelado. $count blocos em cache.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Área muito grande';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Esta área precisa de $count blocos, mais do que o limite de $max. Escolha uma área menor ou reduza o zoom máximo.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Isto apaga todas as mensagens desta conversa deste dispositivo. Não é possível desfazer.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Isto apaga todas as mensagens deste canal deste dispositivo, incluindo as imagens recebidas. Não é possível desfazer.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'agora';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '${minutes}min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '${hours}h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '${days}d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Desconhecido';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'O nó local não tem sinal de GPS';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Não foi possível enviar o rastreamento de caminho: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Os dados de elevação precisam de conexão com a internet';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Desatualizado: a altura da antena mudou';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Carregando telemetria…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Sem conexão com um rádio. Conecte e tente novamente.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Conecte-se a um rádio para usar isto';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Potência de TX inválida ($min a $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Configurações do contato salvas';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Toque para alternar entre porcentagem e tensão';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Copiar chave pública';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Deixe ambos os campos vazios para remover sua localização.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Localização removida';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Procurando repetidores próximos…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Consultando o repetidor $current de $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Ainda não há repetidores conhecidos. Adicione um repetidor como contato ou aguarde um anunciar, e tente novamente.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Nenhum repetidor próximo respondeu. Aproxime-se de um repetidor e tente novamente.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Roteamento';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Mensagens de imagem';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Mostrar chave de API';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Ocultar chave de API';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modelo';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Rádio desconectado';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Reconecte-se ao seu rádio para enviar comandos, atualizar ou salvar alterações.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Enviar comando';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Copiar transcrição';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Compartilhar transcrição';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Transcrição copiada';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Limpar o histórico de comandos? Não é possível desfazer.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Pesquisar comandos';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Nenhum comando correspondente';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Limpar todas as entradas do registro? Não é possível desfazer.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Alterações não salvas';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Você tem alterações que não foram salvas no repetidor.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Descartar';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: comando enviado. O repetidor não responde a este comando.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value não é válido';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Potência de TX $value fora do intervalo ($min a $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'A chave privada deve ter exatamente $length caracteres hexadecimais';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Não foi possível enviar o anúncio';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Gerenciar grupos';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Conectado a';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Escolher porta serial';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '${minutes}m ${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '${hours}h ${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Mapa da rede';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Compartilhar o que meu rádio ouve';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Quando isto está ativado e o seu rádio está conectado, o app envia um breve resumo dos pacotes que o seu rádio ouve para o mapa da rede do MeshCore Open, para que todos possam ver quais repetidores existem e como se conectam. Ele envia o tipo, a rota, os saltos, a intensidade do sinal e o tamanho de cada pacote, além dos nomes e localizações aproximadas dos repetidores, obtidos dos próprios anúncios. Nunca envia o texto das mensagens, quem fala com quem, nomes de canais, seus contactos nem a sua posição exata: as localizações são arredondadas para cerca de 2 km, e o seu app recebe um novo ID aleatório todos os dias.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'O que coletamos';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Ajudar a construir o mapa da rede?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'O MeshCore Open pode compartilhar o que o seu rádio ouve com o mapa público da rede em map.meshcoreopen.org, para que todos possam ver quais repetidores existem e como se conectam.\n\nNunca envia o texto das mensagens, quem fala com quem, nomes de canais, seus contactos nem a sua posição exata. As localizações são arredondadas para cerca de 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Você pode mudar isso a qualquer momento em Configurações → Configurações do App → Mapa da rede.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Compartilhar';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Não, obrigado';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Desativado. Nada é enviado.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Ativado. Aguardando conexão com o rádio.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'Ativado. Nada enviado ainda.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Último envio $time. $count pacotes hoje.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Local';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Ambos';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Aproxime o zoom para ver o mapa da rede online';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Não foi possível carregar o mapa da rede online';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'Nos seus contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Estado';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Ativo na última hora';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Ouvido no último dia';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Não ouvido recentemente';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Confirmado';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Fonte única, ainda não confirmado';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Relatórios';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Localização aproximada, estimada a partir de quem o ouviu';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Localização aproximada, do próprio anúncio';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Ouvido pelo seu rádio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'Na sua área';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Muito longe. A gestão não chegará até ele.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Adicionar aos contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Gerenciar';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Adicionado aos contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Não foi possível adicionar aos contactos';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Repetidor sem nome';
|
||||
}
|
||||
@@ -360,6 +360,20 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Включите Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Нужна новая нода?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Размером с кошелёк, работает на MeshCore, двухдиапазонный GPS, водонепроницаемая, батареи хватает на 5 дней.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Купить здесь';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Партнёрская ссылка: каждая покупка поддерживает MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth недоступен в браузере. Подключитесь через USB.';
|
||||
@@ -5861,4 +5875,520 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Не удалось загрузить модель изображений: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Скрыть: маркер скрыт, пока вы не покинете карту.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Удалить: маркер останется скрытым, пока вы не восстановите его в меню фильтра.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Маркер удалён';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Восстановить удалённые маркеры';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return 'Удалено: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Восстановлено маркеров: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Установить как вашу позицию?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Ваш узел будет анонсировать эту позицию:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Установить позицию';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Позиция узла обновлена';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Устройство не подтвердило новую позицию. Попробуйте снова.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return 'Маркеров здесь: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return 'Общих маркеров: $count. Нажмите, чтобы открыть список.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Вы и маркеров: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Общий маркер: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Масштаб $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size Б';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size КБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size МБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size ГБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Загрузка отменена. Кэшировано тайлов: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Область слишком большая';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Для этой области нужно тайлов: $count, что больше лимита $max. Выберите область меньше или уменьшите максимальный масштаб.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Это удалит все сообщения этого чата с данного устройства. Действие нельзя отменить.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Это удалит все сообщения этого канала с данного устройства, включая полученные изображения. Действие нельзя отменить.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'сейчас';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutesм';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hoursч';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$daysд';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'КАН $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Неизвестно';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'У локального узла нет GPS-фиксации';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Не удалось отправить трассировку пути: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Для данных о высотах нужно подключение к интернету';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Устарело: высота антенны изменилась';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr дБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency МГц';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'км';
|
||||
|
||||
@override
|
||||
String get units_mi => 'миль';
|
||||
|
||||
@override
|
||||
String get units_m => 'м';
|
||||
|
||||
@override
|
||||
String get units_ft => 'фт';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Загрузка телеметрии…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet фт';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet фт';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Нет подключения к радио. Подключитесь и повторите попытку.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Подключитесь к радио, чтобы использовать это';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Недопустимая мощность TX (от $min до $max дБм)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Настройки контакта сохранены';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Нажмите, чтобы переключить между процентами и напряжением';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Копировать публичный ключ';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Оставьте оба поля пустыми, чтобы удалить вашу позицию.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Позиция удалена';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Поиск ближайших репитеров…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Опрос репитера $current из $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Репитеры пока не известны. Добавьте репитер в контакты или дождитесь его анонса, затем повторите попытку.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Ближайшие репитеры не ответили. Подойдите ближе к репитеру и повторите попытку.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Маршрутизация';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Сообщения-изображения';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Показать API-ключ';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Скрыть API-ключ';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Модель';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current МБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total МБ ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size МБ • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Радио отключено';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Переподключитесь к радио, чтобы отправлять команды, обновлять данные или сохранять изменения.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Отправить команду';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Копировать журнал';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Поделиться журналом';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Журнал скопирован';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Очистить историю команд? Действие нельзя отменить.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Поиск команд';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Нет подходящих команд';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Очистить все записи журнала? Действие нельзя отменить.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Несохранённые изменения';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'У вас есть изменения, не сохранённые в репитере.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Отменить';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: команда отправлена. Репитер не отвечает на эту команду.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: значение $value недопустимо';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Мощность TX $value вне диапазона (от $min до $max дБм)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Приватный ключ должен содержать ровно $length шестнадцатеричных символов';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Не удалось отправить анонс';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Управление группами';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Подключено к';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Выберите последовательный порт';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$secondsс';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutesм $secondsс';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hoursч $minutesм';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Карта сети';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle =>
|
||||
'Делиться тем, что слышит мой радиомодуль';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Когда это включено и радиомодуль подключён, приложение отправляет на карту сети MeshCore Open краткую сводку о пакетах, которые слышит ваш радиомодуль, чтобы все могли видеть, какие репитеры существуют и как они связаны. Отправляются тип, маршрут, число хопов, уровень сигнала и размер каждого пакета, а также названия репитеров и их примерное местоположение из их собственных анонсов. Никогда не отправляются текст сообщений, кто с кем общается, названия каналов, ваши контакты и ваше точное местоположение: координаты округляются примерно до 2 км, а приложение каждый день получает новый случайный ID.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Что мы собираем';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Помочь построить карту сети?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open может делиться тем, что слышит ваш радиомодуль, с публичной картой сети на map.meshcoreopen.org, чтобы все могли видеть, какие репитеры существуют и как они связаны.\n\nНикогда не отправляются текст сообщений, кто с кем общается, названия каналов, ваши контакты и ваше точное местоположение. Координаты округляются примерно до 2 км.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Это можно изменить в любой момент: Настройки → Настройки приложения → Карта сети.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Делиться';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Нет, спасибо';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Выключено. Ничего не отправляется.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Включено. Ожидание подключения радиомодуля.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Включено. Пока ничего не отправлено.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Последняя отправка: $time. Пакетов сегодня: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Локальная';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Онлайн';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Обе';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Приблизьте, чтобы увидеть онлайн-карту сети';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => 'Не удалось загрузить онлайн-карту сети';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'В ваших контактах';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Статус';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Активен за последний час';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Слышен за последние сутки';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Давно не слышен';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Подтверждён';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Один источник, пока не подтверждён';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Отчёты';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Примерное местоположение, оценено по тем, кто его слышал';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Примерное местоположение, из собственного анонса';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Слышен вашим радиомодулем';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'В вашем районе';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Далеко. Управление недоступно.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Добавить в контакты';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Управлять';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Добавлено в контакты';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Не удалось добавить в контакты';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Репитер без имени';
|
||||
}
|
||||
@@ -360,6 +360,20 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Povolte Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Potrebujete nový uzol?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Veľkosti peňaženky, beží na MeshCore, dvojpásmové GPS, vodotesný, batéria vydrží 5 dní.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Kúpte si ho tu';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Partnerský odkaz: každý nákup podporuje MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Funkcia Bluetooth nie je dostupná v prehliadači. Prepojte sa pomocou USB.';
|
||||
@@ -5823,4 +5837,519 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Model obrázkov sa nepodarilo stiahnuť: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Skryť: značka zostane skrytá, kým neopustíte mapu.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Odstrániť: značka zostane skrytá, kým ju neobnovíte v ponuke filtra.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Značka bola odstránená';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Obnoviť odstránené značky';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return 'Odstránené: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Obnovené značky: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Nastaviť ako vašu polohu?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Váš uzol bude oznamovať túto polohu:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Nastaviť polohu';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Poloha uzla bola aktualizovaná';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Zariadenie nepotvrdilo novú polohu. Skúste to znova.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return 'Značiek tu: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return 'Zdieľané značky: $count. Klepnutím ich zobrazíte.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Vy a značky: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Zdieľaná značka: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Priblíženie $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Sťahovanie bolo zrušené. Uložených dlaždíc: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Oblasť je príliš veľká';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Táto oblasť vyžaduje $count dlaždíc, čo je viac ako limit $max. Vyberte menšiu oblasť alebo znížte maximálne priblíženie.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Týmto sa z tohto zariadenia vymažú všetky správy v tejto konverzácii. Túto akciu nie je možné vrátiť späť.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Týmto sa z tohto zariadenia vymažú všetky správy v tomto kanáli vrátane prijatých obrázkov. Túto akciu nie je možné vrátiť späť.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'teraz';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '${hours}h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '${days}d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'KAN $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Neznámy';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Lokálny uzol nemá GPS fix';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Sledovanie cesty sa nepodarilo odoslať: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Údaje o nadmorskej výške vyžadujú pripojenie k internetu';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Zastarané: výška antény sa zmenila';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Načítavajú sa telemetrické údaje…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Nie ste pripojení k rádiu. Pripojte sa a skúste to znova.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => 'Na použitie pripojte rádio';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Neplatný výkon TX ($min až $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved =>
|
||||
'Nastavenia kontaktu boli uložené';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Klepnutím prepnete medzi percentami a napätím';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Kopírovať verejný kľúč';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Ak chcete odstrániť svoju polohu, nechajte obe polia prázdne.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Poloha bola odstránená';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Hľadajú sa blízke opakovače…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Dopytuje sa opakovač $current z $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Zatiaľ nie sú známe žiadne opakovače. Pridajte opakovač medzi kontakty alebo počkajte na jeho oznam a skúste to znova.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Blízke opakovače neodpovedali. Priblížte sa k opakovaču a skúste to znova.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Smerovanie';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Obrazové správy';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Zobraziť API kľúč';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Skryť API kľúč';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Model';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Rádio je odpojené';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Znova sa pripojte k rádiu, aby ste mohli odosielať príkazy, obnovovať alebo ukladať zmeny.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Odoslať príkaz';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Kopírovať prepis';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Zdieľať prepis';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Prepis bol skopírovaný';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Vymazať históriu príkazov? Túto akciu nie je možné vrátiť späť.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Hľadať príkazy';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Žiadne zodpovedajúce príkazy';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Vymazať všetky záznamy denníka? Túto akciu nie je možné vrátiť späť.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Neuložené zmeny';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Máte zmeny, ktoré neboli uložené do opakovača.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Zahodiť';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: príkaz bol odoslaný. Opakovač na tento príkaz neodpovedá.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: hodnota $value nie je platná';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Výkon TX $value je mimo rozsah ($min až $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Súkromný kľúč musí mať presne $length hexadecimálnych znakov';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Oznam sa nepodarilo odoslať';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Spravovať skupiny';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Pripojené k';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Vyberte sériový port';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '${minutes}m ${seconds}s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '${hours}h ${minutes}m';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Sieťová mapa';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Zdieľať, čo počuje moje rádio';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Keď je to zapnuté a rádio je pripojené, aplikácia odosiela na sieťovú mapu MeshCore Open stručný súhrn paketov, ktoré vaše rádio počuje, aby každý videl, aké opakovače existujú a ako sú prepojené. Odosiela typ, trasu, počet skokov, silu signálu a veľkosť každého paketu, ako aj názvy opakovačov a ich približnú polohu z ich vlastných inzerátov. Nikdy neodosiela text správ, kto s kým komunikuje, názvy kanálov, vaše kontakty ani vašu presnú polohu: polohy sa zaokrúhľujú na približne 2 km a aplikácia dostáva nové náhodné ID každý deň.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Čo zbierame';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Pomôcť budovať sieťovú mapu?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open môže zdieľať, čo vaše rádio počuje, s verejnou sieťovou mapou na map.meshcoreopen.org, aby každý videl, aké opakovače existujú a ako sú prepojené.\n\nNikdy neodosiela text správ, kto s kým komunikuje, názvy kanálov, vaše kontakty ani vašu presnú polohu. Polohy sa zaokrúhľujú na približne 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Môžete to kedykoľvek zmeniť v Nastavenia → Nastavenia aplikácie → Sieťová mapa.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Zdieľať';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Nie, ďakujem';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Vypnuté. Nič sa neodosiela.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Zapnuté. Čaká sa na pripojenie rádia.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'Zapnuté. Zatiaľ nič neodoslané.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Naposledy odoslané $time. Dnes paketov: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Lokálna';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Obe';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Priblížte, aby ste videli online sieťovú mapu';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Online sieťovú mapu sa nepodarilo načítať';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'Vo vašich kontaktoch';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Stav';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Aktívny za poslednú hodinu';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Počuť za posledný deň';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Dlho nepočuť';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Potvrdený';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Jeden zdroj, zatiaľ nepotvrdený';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Hlásenia';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Približná poloha, odhadnutá podľa toho, kto ho počul';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Približná poloha, z vlastného inzerátu';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Počuté vaším rádiom';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'Vo vašej oblasti';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Ďaleko. Správa ho nedosiahne.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Pridať do kontaktov';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Spravovať';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Pridané do kontaktov';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Nepodarilo sa pridať do kontaktov';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Nepomenovaný opakovač';
|
||||
}
|
||||
@@ -359,6 +359,20 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Omogočite Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Potrebujete nov node?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Velikosti denarnice, poganja MeshCore, dvopasovni GPS, vodoodporen, baterija za 5 dni.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Oglejte si ga tukaj';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Partnerska povezava: vsak nakup podpira MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Funkcija Bluetooth v brskalniku ni na voljo. Povežite se preko USB-ja namesto tega.';
|
||||
@@ -5826,4 +5840,518 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Slikovnega modela ni bilo mogoče prenesti: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Skrij: skrito, dokler ne zapustite zemljevida.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Odstrani: ostane skrito, dokler ga ne obnovite v meniju filtra.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Oznaka odstranjena';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Obnovi odstranjene oznake';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return 'Odstranjenih: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Obnovljenih oznak: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Nastavim kot vašo lokacijo?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Vaše vozlišče bo oglaševalo ta položaj:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Nastavi lokacijo';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Lokacija vozlišča posodobljena';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Naprava ni potrdila nove lokacije. Poskusite znova.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return 'Oznak tukaj: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return 'Deljenih oznak: $count. Tapnite za prikaz seznama.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Vi in oznak: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Deljena oznaka: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Povečava $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Prenos preklican. V predpomnilniku je $count ploščic.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Območje je preveliko';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'To območje potrebuje $count ploščic, kar presega omejitev $max. Izberite manjše območje ali zmanjšajte največjo povečavo.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'S te naprave bodo izbrisana vsa sporočila v tem pogovoru. Dejanja ni mogoče razveljaviti.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'S te naprave bodo izbrisana vsa sporočila v tem kanalu, vključno s prejetimi slikami. Dejanja ni mogoče razveljaviti.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'zdaj';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'KAN $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Neznano';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Lokalno vozlišče nima GPS-a';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Poti ni bilo mogoče poslati: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Podatki o nadmorski višini zahtevajo internetno povezavo';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Zastarelo: višina antene se je spremenila';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Nalaganje telemetrije…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Ni povezave z radiem. Povežite se in poskusite znova.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => 'Za to se povežite z radiem';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Neveljavna moč TX ($min do $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Nastavitve stika shranjene';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Tapnite za preklop med odstotki in napetostjo';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Kopiraj javni ključ';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Obe polji pustite prazni, če želite odstraniti svojo lokacijo.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Lokacija odstranjena';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Iskanje bližnjih ponovitelj…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Spraševanje ponovitelja $current od $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Zaenkrat ni znanih ponovitelj. Dodajte ponovitelj kot stik ali počakajte, da se oglasi, nato poskusite znova.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Noben bližnji ponovitelj ni odgovoril. Približajte se ponovitelju in poskusite znova.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Usmerjanje';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Sporočila s slikami';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Pokaži API ključ';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Skrij API ključ';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Model';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radio odklopljen';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Znova se povežite z radiem, da pošljete ukaze, osvežite ali shranite spremembe.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Pošlji ukaz';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Kopiraj prepis';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Deli prepis';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Prepis kopiran';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Počistim zgodovino ukazov? Dejanja ni mogoče razveljaviti.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Išči ukaze';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Ni ustreznih ukazov';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Počistim vse vnose dnevnika? Dejanja ni mogoče razveljaviti.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Neshranjene spremembe';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Imate spremembe, ki niso shranjene v ponovitelju.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Zavrzi';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: ukaz poslan. Ponovitelj na ta ukaz ne odgovori.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value ni veljavno';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Moč TX $value je izven območja ($min do $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Zasebni ključ mora imeti točno $length šestnajstiških znakov';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Oglasa ni bilo mogoče poslati';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Upravljaj skupine';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Povezano z';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Izberite serijska vrata';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes min $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours h $minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Omrežni zemljevid';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Deli, kaj sliši moj radio';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Ko je to vklopljeno in je radio povezan, aplikacija na omrežni zemljevid MeshCore Open pošlje kratek povzetek paketov, ki jih sliši vaš radio, tako da vsi vidijo, kateri repeaterji obstajajo in kako so povezani. Pošlje vrsto, pot, število skokov, moč signala in velikost vsakega paketa ter imena in približne lokacije repeaterjev iz njihovih lastnih advertov. Nikoli ne pošlje besedila sporočil, kdo se s kom pogovarja, imen kanalov, vaših stikov ali vašega natančnega položaja: lokacije so zaokrožene na približno 2 km, aplikacija pa vsak dan dobi nov naključni ID.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Kaj zbiramo';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Pomagate graditi omrežni zemljevid?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open lahko deli, kaj sliši vaš radio, z javnim omrežnim zemljevidom na map.meshcoreopen.org, tako da vsi vidijo, kateri repeaterji obstajajo in kako so povezani.\n\nNikoli ne pošlje besedila sporočil, kdo se s kom pogovarja, imen kanalov, vaših stikov ali vašega natančnega položaja. Lokacije so zaokrožene na približno 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'To lahko kadar koli spremenite v Nastavitve → Nastavitve aplikacije → Omrežni zemljevid.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Deli';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Ne, hvala';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Izklopljeno. Nič se ne pošilja.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Vklopljeno. Čakanje na povezavo z radiem.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'Vklopljeno. Še nič poslanega.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Nazadnje poslano $time. Paketov danes: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Lokalno';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Na spletu';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Oboje';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Povečajte, da vidite spletni omrežni zemljevid';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Spletnega omrežnega zemljevida ni bilo mogoče naložiti';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'V vaših stikih';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Stanje';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Aktiven v zadnji uri';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Slišan v zadnjem dnevu';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'V zadnjem času ni bil slišan';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Potrjeno';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'En vir, še ni potrjeno';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Poročila';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Približna lokacija, ocenjena glede na to, kdo ga je slišal';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Približna lokacija, iz njegovega lastnega adverta';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Sliši ga vaš radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'V vaši bližini';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Daleč stran. Upravljanje ne bo doseglo.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Dodaj med stike';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Upravljaj';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Dodano med stike';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Dodajanje med stike ni uspelo';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Repeater brez imena';
|
||||
}
|
||||
@@ -356,6 +356,20 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Aktivera Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Behöver du en ny nod?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Plånboksstorlek, kör MeshCore, GPS med dubbla band, vattentät, 5 dagars batteritid.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Skaffa en här';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Affiliatelänk: varje köp stöder MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth är inte tillgängligt i webbläsaren. Anslut istället via USB.';
|
||||
@@ -5792,4 +5806,517 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Bildmodellen kunde inte laddas ned: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint => 'Dölj: dold tills du lämnar kartan.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Ta bort: förblir dold tills du återställer den från filtermenyn.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Markör borttagen';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Återställ borttagna markörer';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '$count borttagna';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Återställde $count markörer';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Ange som din plats?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Din nod kommer att annonsera denna position:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Ange plats';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Nodens plats uppdaterad';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Enheten bekräftade inte den nya platsen. Försök igen.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '$count markörer här';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count delade markörer. Tryck för att visa dem.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Du och $count markörer';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Delad markör: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Zoom $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Nedladdningen avbröts. $count brickor cachades.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Området är för stort';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Det här området kräver $count brickor, vilket överskrider gränsen på $max. Välj ett mindre område eller sänk maximal zoom.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Detta raderar alla meddelanden i den här konversationen från den här enheten. Det går inte att ångra.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Detta raderar alla meddelanden i den här kanalen från den här enheten, inklusive mottagna bilder. Det går inte att ångra.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'nu';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours h';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days d';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'KAN $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Okänd';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Den lokala noden har ingen GPS-fix';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Kunde inte skicka sökvägsspårningen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet => 'Höjddata kräver internetanslutning';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Föråldrat: antennhöjden har ändrats';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Läser in telemetri…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Inte ansluten till en radio. Anslut och försök igen.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Anslut till en radio för att använda detta';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Ogiltig TX-effekt ($min till $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Kontaktinställningar sparade';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Tryck för att växla mellan procent och spänning';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Kopiera publik nyckel';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Lämna båda fälten tomma för att ta bort din plats.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Platsen borttagen';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering =>
|
||||
'Söker efter repeatrar i närheten…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Frågar repeater $current av $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Inga repeatrar är kända ännu. Lägg till en repeater som kontakt eller vänta tills en annonserar, och försök sedan igen.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Ingen repeater i närheten svarade. Flytta dig närmare en repeater och försök igen.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Routing';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Bildmeddelanden';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Visa API-nyckel';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Dölj API-nyckel';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Modell';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total MB ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Radion frånkopplad';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Återanslut till din radio för att skicka kommandon, uppdatera eller spara ändringar.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Skicka kommando';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Kopiera utskrift';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Dela utskrift';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Utskrift kopierad';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Rensa kommandohistoriken? Det går inte att ångra.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Sök kommandon';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Inga matchande kommandon';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Rensa alla loggposter? Det går inte att ångra.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Osparade ändringar';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'Du har ändringar som inte har sparats i repeatern.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Förkasta';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: kommando skickat. Repeatern svarar inte på detta kommando.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: $value är inte giltigt';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX-effekt $value ligger utanför intervallet ($min till $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Privat nyckel måste vara exakt $length hexadecimala tecken';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Kunde inte skicka annonsen';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Hantera grupper';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Ansluten till';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Välj serieport';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes min $seconds s';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours h $minutes min';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Nätverkskarta';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Dela vad min radio hör';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'När detta är på och din radio är ansluten skickar appen en kort sammanfattning av paketen som din radio hör till MeshCore Opens nätverkskarta, så att alla kan se vilka repeaters som finns och hur de hänger ihop. Den skickar varje pakets typ, rutt, antal hopp, signalstyrka och storlek, plus repeaternamn och ungefärliga platser från deras egna annonser. Den skickar aldrig meddelandetext, vem som pratar med vem, kanalnamn, dina kontakter eller din exakta position: platser avrundas till cirka 2 km, och din app får ett nytt slumpmässigt ID varje dag.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Vad vi samlar in';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Hjälpa till att bygga nätverkskartan?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open kan dela vad din radio hör med den offentliga nätverkskartan på map.meshcoreopen.org, så att alla kan se vilka repeaters som finns och hur de hänger ihop.\n\nDen skickar aldrig meddelandetext, vem som pratar med vem, kanalnamn, dina kontakter eller din exakta position. Platser avrundas till cirka 2 km.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Du kan ändra detta när som helst under Inställningar → Appinställningar → Nätverkskarta.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Dela';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Nej tack';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Av. Inget skickas.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting => 'På. Väntar på radioanslutning.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => 'På. Inget skickat ännu.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Senast skickat $time. $count paket idag.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Lokal';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Online';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Båda';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Zooma in för att se nätverkskartan online';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Det gick inte att ladda nätverkskartan online';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'I dina kontakter';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Status';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Aktiv den senaste timmen';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Hörd under det senaste dygnet';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Inte hörd på sistone';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Bekräftad';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Enskild källa, ännu inte bekräftad';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Rapporter';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Ungefärlig plats, uppskattad utifrån vilka som hörde den';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Ungefärlig plats, från dess egen annons';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Hörd av din radio';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'I ditt område';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Långt bort. Hantering når inte dit.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Lägg till i kontakter';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Hantera';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Tillagd i kontakter';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Det gick inte att lägga till i kontakter';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Namnlös repeater';
|
||||
}
|
||||
@@ -359,6 +359,20 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => 'Увімкніть Bluetooth';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => 'Потрібна нова нода?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody =>
|
||||
'Розміром з гаманець, працює на MeshCore, дводіапазонний GPS, водонепроникна, батареї вистачає на 5 днів.';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => 'Придбати тут';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure =>
|
||||
'Партнерське посилання: кожна покупка підтримує MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported =>
|
||||
'Bluetooth недоступний у браузері. Підключіться через USB.';
|
||||
@@ -5863,4 +5877,520 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Не вдалося завантажити модель зображень: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint =>
|
||||
'Приховати: маркер буде прихований, доки ви не покинете карту.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint =>
|
||||
'Видалити: маркер залишатиметься прихованим, доки ви не відновите його в меню фільтра.';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => 'Маркер видалено';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => 'Відновити видалені маркери';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return 'Видалено: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return 'Відновлено маркерів: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => 'Встановити як вашу геопозицію?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return 'Ваш вузол оголошуватиме цю позицію:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => 'Встановити позицію';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => 'Позицію вузла оновлено';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed =>
|
||||
'Пристрій не підтвердив нову позицію. Спробуйте ще раз.';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return 'Маркерів тут: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return 'Спільних маркерів: $count. Торкніться, щоб відкрити список.';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return 'Ви та маркерів: $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return 'Спільний маркер: $label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name, $type, $status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return 'Масштаб $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size Б';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size КБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size МБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size ГБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return 'Завантаження скасовано. Кешовано тайлів: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => 'Область завелика';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return 'Для цієї області потрібно тайлів: $count, що перевищує ліміт $max. Виберіть меншу область або зменште максимальний масштаб.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm =>
|
||||
'Це видалить усі повідомлення цього чату з цього пристрою. Дію не можна скасувати.';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm =>
|
||||
'Це видалить усі повідомлення цього каналу з цього пристрою, включно з отриманими зображеннями. Дію не можна скасувати.';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => 'зараз';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutesхв';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hoursгод';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$daysд';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'КАН $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => 'Невідомо';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => 'Локальний вузол не має GPS-фіксації';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return 'Не вдалося надіслати трасування шляху: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet =>
|
||||
'Для даних про висоти потрібне підключення до інтернету';
|
||||
|
||||
@override
|
||||
String get losResultStale => 'Застаріло: висоту антени змінено';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr дБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency МГц';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'км';
|
||||
|
||||
@override
|
||||
String get units_mi => 'миль';
|
||||
|
||||
@override
|
||||
String get units_m => 'м';
|
||||
|
||||
@override
|
||||
String get units_ft => 'фт';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => 'Завантаження телеметрії…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet фт';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet фт';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError =>
|
||||
'Немає підключення до радіо. Підключіться й спробуйте ще раз.';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection =>
|
||||
'Підключіться до радіо, щоб скористатися цим';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'Недопустима потужність TX (від $min до $max дБм)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => 'Налаштування контакту збережено';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint =>
|
||||
'Торкніться, щоб перемкнути між відсотками та напругою';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => 'Копіювати публічний ключ';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper =>
|
||||
'Залиште обидва поля порожніми, щоб видалити вашу геопозицію.';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => 'Геопозицію видалено';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => 'Пошук ближніх ретрансляторів…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return 'Опитування ретранслятора $current з $total…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'Ретранслятори поки невідомі. Додайте ретранслятор до контактів або дочекайтеся його оголошення, а потім спробуйте ще раз.';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded =>
|
||||
'Ближні ретранслятори не відповіли. Підійдіть ближче до ретранслятора й спробуйте ще раз.';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => 'Маршрутизація';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => 'Повідомлення із зображеннями';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => 'Показати API-ключ';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => 'Приховати API-ключ';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => 'Модель';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName: $current МБ';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName: $current / $total МБ ($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size МБ • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => 'Радіо відключено';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint =>
|
||||
'Підключіться до радіо повторно, щоб надсилати команди, оновлювати дані або зберігати зміни.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => 'Надіслати команду';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => 'Копіювати журнал';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => 'Поділитися журналом';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => 'Журнал скопійовано';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm =>
|
||||
'Очистити історію команд? Дію не можна скасувати.';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => 'Пошук команд';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => 'Немає відповідних команд';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm =>
|
||||
'Очистити всі записи журналу? Дію не можна скасувати.';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => 'Незбережені зміни';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage =>
|
||||
'У вас є зміни, не збережені в ретрансляторі.';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => 'Відхилити';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action: команду надіслано. Ретранслятор не відповідає на цю команду.';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting: значення $value недопустиме';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Потужність TX $value поза діапазоном (від $min до $max дБм)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Приватний ключ має містити рівно $length шістнадцяткових символів';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => 'Не вдалося надіслати оголошення';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => 'Керування групами';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID: $id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => 'Підключено до';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => 'Виберіть послідовний порт';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$secondsс';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutesхв $secondsс';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hoursгод $minutesхв';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => 'Карта мережі';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => 'Ділитися тим, що чує мій радіомодуль';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'Коли це ввімкнено і радіомодуль підключено, застосунок надсилає на карту мережі MeshCore Open короткий підсумок пакетів, які чує ваш радіомодуль, щоб усі могли бачити, які ретранслятори існують і як вони пов\'язані. Надсилаються тип, маршрут, кількість хопів, рівень сигналу та розмір кожного пакета, а також назви ретрансляторів і їхнє приблизне розташування з їхніх власних оголошень. Ніколи не надсилаються текст повідомлень, хто з ким спілкується, назви каналів, ваші контакти та ваше точне розташування: координати округлюються приблизно до 2 км, а застосунок щодня отримує новий випадковий ID.';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => 'Що ми збираємо';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => 'Допомогти побудувати карту мережі?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open може ділитися тим, що чує ваш радіомодуль, з публічною картою мережі на map.meshcoreopen.org, щоб усі могли бачити, які ретранслятори існують і як вони пов\'язані.\n\nНіколи не надсилаються текст повідомлень, хто з ким спілкується, назви каналів, ваші контакти та ваше точне розташування. Координати округлюються приблизно до 2 км.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint =>
|
||||
'Це можна змінити будь-коли: Налаштування → Налаштування застосунку → Карта мережі.';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => 'Ділитися';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => 'Ні, дякую';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => 'Вимкнено. Нічого не надсилається.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting =>
|
||||
'Ввімкнено. Очікування підключення радіомодуля.';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent =>
|
||||
'Ввімкнено. Поки що нічого не надіслано.';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return 'Останнє надсилання: $time. Пакетів сьогодні: $count.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => 'Локальна';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => 'Онлайн';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => 'Обидві';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint =>
|
||||
'Наблизьте, щоб побачити онлайн-карту мережі';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed =>
|
||||
'Не вдалося завантажити онлайн-карту мережі';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => 'У ваших контактах';
|
||||
|
||||
@override
|
||||
String get networkMap_status => 'Статус';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => 'Активний за останню годину';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => 'Чутно за останню добу';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => 'Давно не чутно';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => 'Підтверджено';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => 'Одне джерело, ще не підтверджено';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => 'Звіти';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated =>
|
||||
'Приблизне розташування, оцінене за тими, хто його чув';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised =>
|
||||
'Приблизне розташування, з власного оголошення';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => 'Чує ваш радіомодуль';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => 'У вашому районі';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => 'Далеко. Керування недоступне.';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => 'Додати до контактів';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => 'Керувати';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => 'Додано до контактів';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => 'Не вдалося додати до контактів';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => 'Ретранслятор без назви';
|
||||
}
|
||||
@@ -341,6 +341,18 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get scanner_enableBluetooth => '启用蓝牙';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeTitle => '需要新节点吗?';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeBody => '钱包大小,运行 MeshCore,双频 GPS,防水,续航 5 天。';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeAction => '点此获取';
|
||||
|
||||
@override
|
||||
String get scanner_getNodeDisclosure => '推广链接:每次购买都会支持 MeshCore Open。';
|
||||
|
||||
@override
|
||||
String get scanner_bluetoothWebUnsupported => '浏览器不支持蓝牙,请改用 USB 连接。';
|
||||
|
||||
@@ -5436,4 +5448,498 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return '无法下载图像模型:$error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_nodeId => 'ID';
|
||||
|
||||
@override
|
||||
String get map_markerHideHint => '隐藏:离开地图前保持隐藏。';
|
||||
|
||||
@override
|
||||
String get map_markerRemoveHint => '移除:在从筛选菜单中恢复之前保持隐藏。';
|
||||
|
||||
@override
|
||||
String get map_markerRemoved => '标记已移除';
|
||||
|
||||
@override
|
||||
String get map_restoreRemovedMarkers => '恢复已移除的标记';
|
||||
|
||||
@override
|
||||
String map_restoreRemovedMarkersSubtitle(int count) {
|
||||
return '已移除 $count 个';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_markersRestored(int count) {
|
||||
return '已恢复 $count 个标记';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationConfirmTitle => '设为你的位置?';
|
||||
|
||||
@override
|
||||
String map_setLocationConfirmBody(String lat, String lon) {
|
||||
return '你的节点将广播此位置:\n$lat, $lon';
|
||||
}
|
||||
|
||||
@override
|
||||
String get map_setLocationAction => '设置位置';
|
||||
|
||||
@override
|
||||
String get map_locationSetSuccess => '节点位置已更新';
|
||||
|
||||
@override
|
||||
String get map_locationSetFailed => '设备未确认新位置。请重试。';
|
||||
|
||||
@override
|
||||
String map_poiClusterTitle(int count) {
|
||||
return '此处有 $count 个标记';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_poiClusterSemantics(int count) {
|
||||
return '$count 个共享标记。点按以查看列表。';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_youWithMarkers(int count) {
|
||||
return '你和 $count 个标记';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_sharedMarkerSemantics(String label) {
|
||||
return '共享标记:$label';
|
||||
}
|
||||
|
||||
@override
|
||||
String map_nodeMarkerSemantics(String name, String type, String status) {
|
||||
return '$name,$type,$status';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_zoomLevel(int zoom) {
|
||||
return '缩放 $zoom';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeBytes(String size) {
|
||||
return '$size B';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeKilobytes(String size) {
|
||||
return '$size KB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeMegabytes(String size) {
|
||||
return '$size MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_sizeGigabytes(String size) {
|
||||
return '$size GB';
|
||||
}
|
||||
|
||||
@override
|
||||
String mapCache_downloadCancelled(int count) {
|
||||
return '下载已取消。已缓存 $count 个图块。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get mapCache_tooManyTilesTitle => '区域过大';
|
||||
|
||||
@override
|
||||
String mapCache_tooManyTiles(int count, int max) {
|
||||
return '此区域需要 $count 个图块,超过 $max 的上限。请选择更小的区域或降低最大缩放级别。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get chat_clearChatConfirm => '这将从此设备上清除此对话中的所有消息,且无法撤销。';
|
||||
|
||||
@override
|
||||
String get channels_clearChatConfirm => '这将从此设备上清除此频道中的所有消息(包括已接收的图片),且无法撤销。';
|
||||
|
||||
@override
|
||||
String get channels_timeNow => '刚刚';
|
||||
|
||||
@override
|
||||
String channels_timeMinutes(int minutes) {
|
||||
return '$minutes分钟';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeHours(int hours) {
|
||||
return '$hours小时';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_timeDays(int days) {
|
||||
return '$days天';
|
||||
}
|
||||
|
||||
@override
|
||||
String channels_indexChip(int index) {
|
||||
return 'CH $index';
|
||||
}
|
||||
|
||||
@override
|
||||
String get reaction_unknownSender => '未知';
|
||||
|
||||
@override
|
||||
String get pathMap_noSelfGpsFix => '本地节点没有 GPS 定位';
|
||||
|
||||
@override
|
||||
String pathTrace_sendFailed(String error) {
|
||||
return '无法发送路径追踪:$error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losErrorNoInternet => '海拔数据需要网络连接';
|
||||
|
||||
@override
|
||||
String get losResultStale => '结果已过期:天线高度已更改';
|
||||
|
||||
@override
|
||||
String losSnrValue(String snr) {
|
||||
return '$snr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String losFrequencyValue(String frequency) {
|
||||
return '$frequency MHz';
|
||||
}
|
||||
|
||||
@override
|
||||
String losKFactorValue(String kFactor) {
|
||||
return 'k=$kFactor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losEndpointA => 'A';
|
||||
|
||||
@override
|
||||
String get losEndpointB => 'B';
|
||||
|
||||
@override
|
||||
String get units_km => 'km';
|
||||
|
||||
@override
|
||||
String get units_mi => 'mi';
|
||||
|
||||
@override
|
||||
String get units_m => 'm';
|
||||
|
||||
@override
|
||||
String get units_ft => 'ft';
|
||||
|
||||
@override
|
||||
String get telemetry_loading => '正在加载遥测数据…';
|
||||
|
||||
@override
|
||||
String telemetry_axisValue(String x, String y, String z) {
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_colourValue(String red, String green, String blue) {
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_altitudeValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String telemetry_distanceValueFeet(String feet) {
|
||||
return '$feet ft';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_notConnectedError => '未连接到电台。请连接后重试。';
|
||||
|
||||
@override
|
||||
String get settings_requiresConnection => '请连接电台后使用';
|
||||
|
||||
@override
|
||||
String settings_txPowerInvalidRange(int min, int max) {
|
||||
return 'TX 功率无效($min 至 $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_contactSettingsSaved => '联系人设置已保存';
|
||||
|
||||
@override
|
||||
String get settings_batteryToggleHint => '点按可在百分比和电压之间切换';
|
||||
|
||||
@override
|
||||
String get settings_publicKeyCopyHint => '复制公钥';
|
||||
|
||||
@override
|
||||
String get settings_locationClearHelper => '将两个字段都留空即可移除你的位置。';
|
||||
|
||||
@override
|
||||
String get settings_locationCleared => '位置已移除';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchDiscovering => '正在查找附近的中继器…';
|
||||
|
||||
@override
|
||||
String settings_regionFetchProgress(int current, int total) {
|
||||
return '正在询问第 $current/$total 个中继器…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoRepeaters =>
|
||||
'目前还没有已知的中继器。请将中继器添加为联系人,或等待其广播后重试。';
|
||||
|
||||
@override
|
||||
String get settings_regionFetchNoneResponded => '附近没有中继器响应。请靠近中继器后重试。';
|
||||
|
||||
@override
|
||||
String appSettings_sourceSummary(String label, String description) {
|
||||
return '$label - $description';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_routingSection => '路由';
|
||||
|
||||
@override
|
||||
String get appSettings_imageMessagesSection => '图片消息';
|
||||
|
||||
@override
|
||||
String get appSettings_showApiKey => '显示 API 密钥';
|
||||
|
||||
@override
|
||||
String get appSettings_hideApiKey => '隐藏 API 密钥';
|
||||
|
||||
@override
|
||||
String get translation_defaultModelName => '模型';
|
||||
|
||||
@override
|
||||
String translation_downloadProgressBytes(String fileName, String current) {
|
||||
return '$fileName:$current MB';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadProgressTotal(
|
||||
String fileName,
|
||||
String current,
|
||||
String total,
|
||||
String percent,
|
||||
) {
|
||||
return '$fileName:$current / $total MB($percent%)';
|
||||
}
|
||||
|
||||
@override
|
||||
String translation_downloadedModelDetails(String size, String source) {
|
||||
return '$size MB • $source';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnected => '电台已断开连接';
|
||||
|
||||
@override
|
||||
String get repeater_radioDisconnectedHint => '请重新连接电台以发送命令、刷新或保存更改。';
|
||||
|
||||
@override
|
||||
String get repeater_cliSend => '发送命令';
|
||||
|
||||
@override
|
||||
String get repeater_cliCopyTranscript => '复制记录';
|
||||
|
||||
@override
|
||||
String get repeater_cliShareTranscript => '分享记录';
|
||||
|
||||
@override
|
||||
String get repeater_cliTranscriptCopied => '记录已复制';
|
||||
|
||||
@override
|
||||
String get repeater_cliClearHistoryConfirm => '清除命令历史?此操作无法撤销。';
|
||||
|
||||
@override
|
||||
String get repeater_cliSearchCommands => '搜索命令';
|
||||
|
||||
@override
|
||||
String get repeater_cliNoMatchingCommands => '没有匹配的命令';
|
||||
|
||||
@override
|
||||
String get debugLog_clearConfirm => '清除所有日志条目?此操作无法撤销。';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesTitle => '未保存的更改';
|
||||
|
||||
@override
|
||||
String get repeater_unsavedChangesMessage => '你有尚未保存到中继器的更改。';
|
||||
|
||||
@override
|
||||
String get repeater_discardChanges => '放弃';
|
||||
|
||||
@override
|
||||
String repeater_actionSentNoReply(String action) {
|
||||
return '$action:命令已发送。中继器不会回复此命令。';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_invalidSettingValue(String setting, String value) {
|
||||
return '$setting:$value 无效';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'TX 功率 $value 超出范围($min 至 $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return '私钥必须恰好为 $length 个十六进制字符';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_advertFailed => '无法发送广播';
|
||||
|
||||
@override
|
||||
String get contacts_manageGroups => '管理分组';
|
||||
|
||||
@override
|
||||
String community_shortId(String id) {
|
||||
return 'ID:$id…';
|
||||
}
|
||||
|
||||
@override
|
||||
String get tcpSectionTitle => 'TCP / IP';
|
||||
|
||||
@override
|
||||
String get tcpConnectedToHeader => '已连接到';
|
||||
|
||||
@override
|
||||
String get usbChooseSerialPort => '选择串口';
|
||||
|
||||
@override
|
||||
String neighbors_durationSeconds(String seconds) {
|
||||
return '$seconds秒';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationMinutes(int minutes, String seconds) {
|
||||
return '$minutes分$seconds秒';
|
||||
}
|
||||
|
||||
@override
|
||||
String neighbors_durationHours(int hours, int minutes) {
|
||||
return '$hours小时$minutes分';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_settingsSection => '网络地图';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadTitle => '分享我的电台收到的信息';
|
||||
|
||||
@override
|
||||
String get networkMap_uploadExplanation =>
|
||||
'开启后,当您的电台已连接时,应用会把电台收到的数据包的简要信息发送到 MeshCore Open 网络地图,让大家看到有哪些转发节点以及它们如何相连。发送内容包括每个数据包的类型、路由、跳数、信号强度和大小,以及转发节点自身广播中的名称和大致位置。绝不会发送消息内容、谁在和谁通信、频道名称、您的联系人或您的精确位置:位置会取整到约 2 公里,且应用每天都会使用新的随机 ID。';
|
||||
|
||||
@override
|
||||
String get networkMap_whatWeCollect => '我们收集的内容';
|
||||
|
||||
@override
|
||||
String get networkMap_promptTitle => '要帮助建设网络地图吗?';
|
||||
|
||||
@override
|
||||
String get networkMap_promptBody =>
|
||||
'MeshCore Open 可以把您的电台收到的信息分享到公开的网络地图 map.meshcoreopen.org,让大家看到有哪些转发节点以及它们如何相连。\n\n绝不会发送消息内容、谁在和谁通信、频道名称、您的联系人或您的精确位置。位置会取整到约 2 公里。';
|
||||
|
||||
@override
|
||||
String get networkMap_promptSettingsHint => '您可以随时在 设置 → 应用设置 → 网络地图 中更改。';
|
||||
|
||||
@override
|
||||
String get networkMap_promptAccept => '分享';
|
||||
|
||||
@override
|
||||
String get networkMap_promptDecline => '不用了';
|
||||
|
||||
@override
|
||||
String get networkMap_statusOff => '已关闭。不会发送任何内容。';
|
||||
|
||||
@override
|
||||
String get networkMap_statusWaiting => '已开启。正在等待电台连接。';
|
||||
|
||||
@override
|
||||
String get networkMap_statusNothingSent => '已开启。尚未发送任何内容。';
|
||||
|
||||
@override
|
||||
String networkMap_statusLastSent(String time, int count) {
|
||||
return '上次发送 $time。今天 $count 个数据包。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get networkMap_sourceLocal => '本地';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceOnline => '在线';
|
||||
|
||||
@override
|
||||
String get networkMap_sourceBoth => '两者';
|
||||
|
||||
@override
|
||||
String get networkMap_zoomInHint => '放大以查看在线网络地图';
|
||||
|
||||
@override
|
||||
String get networkMap_loadFailed => '无法加载在线网络地图';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourContacts => '在您的联系人中';
|
||||
|
||||
@override
|
||||
String get networkMap_status => '状态';
|
||||
|
||||
@override
|
||||
String get networkMap_statusActive => '最近一小时内活跃';
|
||||
|
||||
@override
|
||||
String get networkMap_statusRecent => '最近一天内收到过';
|
||||
|
||||
@override
|
||||
String get networkMap_statusStale => '近期未收到';
|
||||
|
||||
@override
|
||||
String get networkMap_confirmed => '已确认';
|
||||
|
||||
@override
|
||||
String get networkMap_singleSource => '单一来源,尚未确认';
|
||||
|
||||
@override
|
||||
String get networkMap_reports => '报告';
|
||||
|
||||
@override
|
||||
String get networkMap_locationEstimated => '大致位置,根据接收到它的节点估算';
|
||||
|
||||
@override
|
||||
String get networkMap_locationAdvertised => '大致位置,来自其自身广播';
|
||||
|
||||
@override
|
||||
String get networkMap_heardByRadio => '您的电台收到过';
|
||||
|
||||
@override
|
||||
String get networkMap_inYourArea => '在您所在区域';
|
||||
|
||||
@override
|
||||
String get networkMap_farAway => '距离太远,无法管理。';
|
||||
|
||||
@override
|
||||
String get networkMap_addToContacts => '添加到联系人';
|
||||
|
||||
@override
|
||||
String get networkMap_manage => '管理';
|
||||
|
||||
@override
|
||||
String get networkMap_addedToContacts => '已添加到联系人';
|
||||
|
||||
@override
|
||||
String get networkMap_addFailed => '无法添加到联系人';
|
||||
|
||||
@override
|
||||
String get networkMap_unnamed => '未命名转发节点';
|
||||
}
|
||||
+149
-1
@@ -3063,5 +3063,153 @@
|
||||
"qr_cameraPermissionDenied": "Cameratoestemming geweigerd.\nSchakel cameratoegang in bij de instellingen.",
|
||||
"qr_cameraUnsupported": "Camera wordt niet ondersteund op dit apparaat.",
|
||||
"qr_cameraStartFailed": "Kan de camera niet starten.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Het afbeeldingsmodel kon niet worden gedownload: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Het afbeeldingsmodel kon niet worden gedownload: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Verbergen: verborgen totdat je de kaart verlaat.",
|
||||
"map_markerRemoveHint": "Verwijderen: blijft verborgen totdat je het herstelt via het filtermenu.",
|
||||
"map_markerRemoved": "Markering verwijderd",
|
||||
"map_restoreRemovedMarkers": "Verwijderde markeringen herstellen",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} verwijderd",
|
||||
"map_markersRestored": "{count} markeringen hersteld",
|
||||
"map_setLocationConfirmTitle": "Instellen als jouw locatie?",
|
||||
"map_setLocationConfirmBody": "Je node adverteert deze positie:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Locatie instellen",
|
||||
"map_locationSetSuccess": "Nodelocatie bijgewerkt",
|
||||
"map_locationSetFailed": "Het apparaat heeft de nieuwe locatie niet bevestigd. Probeer het opnieuw.",
|
||||
"map_poiClusterTitle": "{count} markeringen hier",
|
||||
"map_poiClusterSemantics": "{count} gedeelde markeringen. Tik om ze weer te geven.",
|
||||
"map_youWithMarkers": "Jij en {count} markeringen",
|
||||
"map_sharedMarkerSemantics": "Gedeelde markering: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Download geannuleerd. {count} tegels in cache opgeslagen.",
|
||||
"mapCache_tooManyTilesTitle": "Gebied te groot",
|
||||
"mapCache_tooManyTiles": "Dit gebied vereist {count} tegels, meer dan de limiet van {max}. Kies een kleiner gebied of verlaag de maximale zoom.",
|
||||
"chat_clearChatConfirm": "Hiermee worden alle berichten in dit gesprek van dit apparaat gewist. Dit kan niet ongedaan worden gemaakt.",
|
||||
"channels_clearChatConfirm": "Hiermee worden alle berichten in dit kanaal van dit apparaat gewist, inclusief ontvangen afbeeldingen. Dit kan niet ongedaan worden gemaakt.",
|
||||
"channels_timeNow": "nu",
|
||||
"channels_timeMinutes": "{minutes}m",
|
||||
"channels_timeHours": "{hours}u",
|
||||
"channels_timeDays": "{days}d",
|
||||
"channels_indexChip": "KN {index}",
|
||||
"reaction_unknownSender": "Onbekend",
|
||||
"pathMap_noSelfGpsFix": "Lokale node heeft geen GPS-fix",
|
||||
"pathTrace_sendFailed": "Padtracering kon niet worden verzonden: {error}",
|
||||
"losErrorNoInternet": "Hoogtegegevens vereisen een internetverbinding",
|
||||
"losResultStale": "Verouderd: antennehoogte is gewijzigd",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Telemetrie laden…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Niet verbonden met een radio. Maak verbinding en probeer het opnieuw.",
|
||||
"settings_requiresConnection": "Maak verbinding met een radio om dit te gebruiken",
|
||||
"settings_txPowerInvalidRange": "Ongeldig TX-vermogen ({min} tot {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Contactinstellingen opgeslagen",
|
||||
"settings_batteryToggleHint": "Tik om te wisselen tussen procent en spanning",
|
||||
"settings_publicKeyCopyHint": "Publieke sleutel kopiëren",
|
||||
"settings_locationClearHelper": "Laat beide velden leeg om je locatie te verwijderen.",
|
||||
"settings_locationCleared": "Locatie verwijderd",
|
||||
"settings_regionFetchDiscovering": "Repeaters in de buurt zoeken…",
|
||||
"settings_regionFetchProgress": "Repeater {current} van {total} wordt gevraagd…",
|
||||
"settings_regionFetchNoRepeaters": "Er zijn nog geen repeaters bekend. Voeg een repeater toe als contact of wacht tot er een adverteert en probeer het dan opnieuw.",
|
||||
"settings_regionFetchNoneResponded": "Geen repeaters in de buurt hebben geantwoord. Ga dichter bij een repeater staan en probeer het opnieuw.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Routering",
|
||||
"appSettings_imageMessagesSection": "Afbeeldingsberichten",
|
||||
"appSettings_showApiKey": "API-sleutel tonen",
|
||||
"appSettings_hideApiKey": "API-sleutel verbergen",
|
||||
"translation_defaultModelName": "Model",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Radio losgekoppeld",
|
||||
"repeater_radioDisconnectedHint": "Maak opnieuw verbinding met je radio om commando's te verzenden, te vernieuwen of wijzigingen op te slaan.",
|
||||
"repeater_cliSend": "Commando verzenden",
|
||||
"repeater_cliCopyTranscript": "Transcript kopiëren",
|
||||
"repeater_cliShareTranscript": "Transcript delen",
|
||||
"repeater_cliTranscriptCopied": "Transcript gekopieerd",
|
||||
"repeater_cliClearHistoryConfirm": "Commandogeschiedenis wissen? Dit kan niet ongedaan worden gemaakt.",
|
||||
"repeater_cliSearchCommands": "Commando's zoeken",
|
||||
"repeater_cliNoMatchingCommands": "Geen overeenkomende commando's",
|
||||
"debugLog_clearConfirm": "Alle logboekvermeldingen wissen? Dit kan niet ongedaan worden gemaakt.",
|
||||
"repeater_unsavedChangesTitle": "Niet-opgeslagen wijzigingen",
|
||||
"repeater_unsavedChangesMessage": "Je hebt wijzigingen die niet zijn opgeslagen op de repeater.",
|
||||
"repeater_discardChanges": "Verwerpen",
|
||||
"repeater_actionSentNoReply": "{action}: commando verzonden. De repeater antwoordt niet op dit commando.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} is niet geldig",
|
||||
"repeater_txPowerOutOfRange": "TX-vermogen {value} valt buiten het bereik ({min} tot {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "De privésleutel moet precies {length} hexadecimale tekens bevatten",
|
||||
"contacts_advertFailed": "Advertentie kon niet worden verzonden",
|
||||
"contacts_manageGroups": "Groepen beheren",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Verbonden met",
|
||||
"usbChooseSerialPort": "Seriële poort kiezen",
|
||||
"neighbors_durationSeconds": "{seconds}s",
|
||||
"neighbors_durationMinutes": "{minutes}m {seconds}s",
|
||||
"neighbors_durationHours": "{hours}u {minutes}m",
|
||||
"scanner_getNodeTitle": "Een nieuwe node nodig?",
|
||||
"scanner_getNodeBody": "Zo klein als een portemonnee, draait MeshCore, dual-band GPS, waterdicht, 5 dagen accuduur.",
|
||||
"scanner_getNodeAction": "Haal er hier een",
|
||||
"scanner_getNodeDisclosure": "Affiliatelink: elke aankoop steunt MeshCore Open.",
|
||||
"networkMap_settingsSection": "Netwerkkaart",
|
||||
"networkMap_uploadTitle": "Delen wat mijn radio hoort",
|
||||
"networkMap_uploadExplanation": "Als dit aan staat en je radio verbonden is, stuurt de app een korte samenvatting van de pakketten die je radio hoort naar de MeshCore Open-netwerkkaart, zodat iedereen kan zien welke repeaters er zijn en hoe ze met elkaar verbonden zijn. Per pakket wordt het type, de route, het aantal hops, de signaalsterkte en de grootte verstuurd, plus repeaternamen en globale locaties uit hun eigen adverts. Er worden nooit berichttekst, wie met wie praat, kanaalnamen, je contacten of je exacte positie verstuurd: locaties worden afgerond op ongeveer 2 km en je app krijgt elke dag een nieuw willekeurig ID.",
|
||||
"networkMap_whatWeCollect": "Wat we verzamelen",
|
||||
"networkMap_promptTitle": "Helpen de netwerkkaart te bouwen?",
|
||||
"networkMap_promptBody": "MeshCore Open kan delen wat je radio hoort met de openbare netwerkkaart op map.meshcoreopen.org, zodat iedereen kan zien welke repeaters er zijn en hoe ze met elkaar verbonden zijn.\n\nEr worden nooit berichttekst, wie met wie praat, kanaalnamen, je contacten of je exacte positie verstuurd. Locaties worden afgerond op ongeveer 2 km.",
|
||||
"networkMap_promptSettingsHint": "Je kunt dit op elk moment wijzigen via Instellingen → App Instellingen → Netwerkkaart.",
|
||||
"networkMap_promptAccept": "Delen",
|
||||
"networkMap_promptDecline": "Nee, bedankt",
|
||||
"networkMap_statusOff": "Uit. Er wordt niets verstuurd.",
|
||||
"networkMap_statusWaiting": "Aan. Wachten op een radioverbinding.",
|
||||
"networkMap_statusNothingSent": "Aan. Nog niets verstuurd.",
|
||||
"networkMap_statusLastSent": "Laatst verstuurd {time}. {count} pakketten vandaag.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Lokaal",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Beide",
|
||||
"networkMap_zoomInHint": "Zoom in om de online netwerkkaart te zien",
|
||||
"networkMap_loadFailed": "Kan de online netwerkkaart niet laden",
|
||||
"networkMap_inYourContacts": "In je contacten",
|
||||
"networkMap_status": "Status",
|
||||
"networkMap_statusActive": "Actief in het laatste uur",
|
||||
"networkMap_statusRecent": "Gehoord in de afgelopen dag",
|
||||
"networkMap_statusStale": "Onlangs niet gehoord",
|
||||
"networkMap_confirmed": "Bevestigd",
|
||||
"networkMap_singleSource": "Eén bron, nog niet bevestigd",
|
||||
"networkMap_reports": "Meldingen",
|
||||
"networkMap_locationEstimated": "Globale locatie, geschat op basis van wie het hoorde",
|
||||
"networkMap_locationAdvertised": "Globale locatie, uit zijn eigen advert",
|
||||
"networkMap_heardByRadio": "Gehoord door je radio",
|
||||
"networkMap_inYourArea": "In jouw omgeving",
|
||||
"networkMap_farAway": "Ver weg. Beheer bereikt het niet.",
|
||||
"networkMap_addToContacts": "Toevoegen aan contacten",
|
||||
"networkMap_manage": "Beheren",
|
||||
"networkMap_addedToContacts": "Toegevoegd aan contacten",
|
||||
"networkMap_addFailed": "Kan niet aan contacten toevoegen",
|
||||
"networkMap_unnamed": "Naamloze repeater"
|
||||
}
|
||||
+149
-1
@@ -3195,5 +3195,153 @@
|
||||
"qr_cameraPermissionDenied": "Odmowa dostępu do aparatu.\nWłącz dostęp do aparatu w ustawieniach.",
|
||||
"qr_cameraUnsupported": "Aparat nie jest obsługiwany na tym urządzeniu.",
|
||||
"qr_cameraStartFailed": "Nie udało się uruchomić aparatu.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Nie udało się pobrać modelu obrazów: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Nie udało się pobrać modelu obrazów: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Ukryj: ukryty do czasu opuszczenia mapy.",
|
||||
"map_markerRemoveHint": "Usuń: pozostaje ukryty, dopóki nie przywrócisz go z menu filtrów.",
|
||||
"map_markerRemoved": "Znacznik usunięty",
|
||||
"map_restoreRemovedMarkers": "Przywróć usunięte znaczniki",
|
||||
"map_restoreRemovedMarkersSubtitle": "Usunięto: {count}",
|
||||
"map_markersRestored": "Przywrócono znaczniki: {count}",
|
||||
"map_setLocationConfirmTitle": "Ustawić jako Twoją lokalizację?",
|
||||
"map_setLocationConfirmBody": "Twój węzeł będzie ogłaszał tę pozycję:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Ustaw lokalizację",
|
||||
"map_locationSetSuccess": "Zaktualizowano lokalizację węzła",
|
||||
"map_locationSetFailed": "Urządzenie nie potwierdziło nowej lokalizacji. Spróbuj ponownie.",
|
||||
"map_poiClusterTitle": "Znaczniki tutaj: {count}",
|
||||
"map_poiClusterSemantics": "Udostępnione znaczniki: {count}. Dotknij, aby je wyświetlić.",
|
||||
"map_youWithMarkers": "Ty i znaczniki: {count}",
|
||||
"map_sharedMarkerSemantics": "Udostępniony znacznik: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Pobieranie anulowane. Zapisano w pamięci podręcznej kafelki: {count}.",
|
||||
"mapCache_tooManyTilesTitle": "Obszar zbyt duży",
|
||||
"mapCache_tooManyTiles": "Ten obszar wymaga {count} kafelków, co przekracza limit {max}. Wybierz mniejszy obszar lub zmniejsz maksymalny zoom.",
|
||||
"chat_clearChatConfirm": "Spowoduje to usunięcie z tego urządzenia wszystkich wiadomości w tej rozmowie. Tej operacji nie można cofnąć.",
|
||||
"channels_clearChatConfirm": "Spowoduje to usunięcie z tego urządzenia wszystkich wiadomości w tym kanale, w tym odebranych obrazów. Tej operacji nie można cofnąć.",
|
||||
"channels_timeNow": "teraz",
|
||||
"channels_timeMinutes": "{minutes} min",
|
||||
"channels_timeHours": "{hours} godz.",
|
||||
"channels_timeDays": "{days} d",
|
||||
"channels_indexChip": "KN {index}",
|
||||
"reaction_unknownSender": "Nieznany",
|
||||
"pathMap_noSelfGpsFix": "Lokalny węzeł nie ma pozycji GPS",
|
||||
"pathTrace_sendFailed": "Nie udało się wysłać śledzenia trasy: {error}",
|
||||
"losErrorNoInternet": "Dane wysokościowe wymagają połączenia z internetem",
|
||||
"losResultStale": "Nieaktualne: zmieniono wysokość anteny",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Wczytywanie telemetrii…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Brak połączenia z radiem. Połącz się i spróbuj ponownie.",
|
||||
"settings_requiresConnection": "Połącz się z radiem, aby z tego korzystać",
|
||||
"settings_txPowerInvalidRange": "Nieprawidłowa moc TX (od {min} do {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Zapisano ustawienia kontaktu",
|
||||
"settings_batteryToggleHint": "Dotknij, aby przełączyć między procentami a napięciem",
|
||||
"settings_publicKeyCopyHint": "Kopiuj klucz publiczny",
|
||||
"settings_locationClearHelper": "Pozostaw oba pola puste, aby usunąć swoją lokalizację.",
|
||||
"settings_locationCleared": "Lokalizacja usunięta",
|
||||
"settings_regionFetchDiscovering": "Wyszukiwanie pobliskich przekaźników…",
|
||||
"settings_regionFetchProgress": "Odpytywanie przekaźnika {current} z {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Nie są jeszcze znane żadne przekaźniki. Dodaj przekaźnik jako kontakt lub poczekaj, aż któryś się ogłosi, a następnie spróbuj ponownie.",
|
||||
"settings_regionFetchNoneResponded": "Żaden pobliski przekaźnik nie odpowiedział. Zbliż się do przekaźnika i spróbuj ponownie.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Routing",
|
||||
"appSettings_imageMessagesSection": "Wiadomości z obrazami",
|
||||
"appSettings_showApiKey": "Pokaż klucz API",
|
||||
"appSettings_hideApiKey": "Ukryj klucz API",
|
||||
"translation_defaultModelName": "Model",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Radio rozłączone",
|
||||
"repeater_radioDisconnectedHint": "Połącz się ponownie z radiem, aby wysyłać polecenia, odświeżać lub zapisywać zmiany.",
|
||||
"repeater_cliSend": "Wyślij polecenie",
|
||||
"repeater_cliCopyTranscript": "Kopiuj zapis",
|
||||
"repeater_cliShareTranscript": "Udostępnij zapis",
|
||||
"repeater_cliTranscriptCopied": "Skopiowano zapis",
|
||||
"repeater_cliClearHistoryConfirm": "Wyczyścić historię poleceń? Tej operacji nie można cofnąć.",
|
||||
"repeater_cliSearchCommands": "Szukaj poleceń",
|
||||
"repeater_cliNoMatchingCommands": "Brak pasujących poleceń",
|
||||
"debugLog_clearConfirm": "Wyczyścić wszystkie wpisy dziennika? Tej operacji nie można cofnąć.",
|
||||
"repeater_unsavedChangesTitle": "Niezapisane zmiany",
|
||||
"repeater_unsavedChangesMessage": "Masz zmiany, które nie zostały zapisane w przekaźniku.",
|
||||
"repeater_discardChanges": "Odrzuć",
|
||||
"repeater_actionSentNoReply": "{action}: polecenie wysłane. Przekaźnik nie odpowiada na to polecenie.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} jest nieprawidłowe",
|
||||
"repeater_txPowerOutOfRange": "Moc TX {value} jest poza zakresem (od {min} do {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "Klucz prywatny musi mieć dokładnie {length} znaków szesnastkowych",
|
||||
"contacts_advertFailed": "Nie udało się wysłać ogłoszenia",
|
||||
"contacts_manageGroups": "Zarządzaj grupami",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Połączono z",
|
||||
"usbChooseSerialPort": "Wybierz port szeregowy",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} min {seconds} s",
|
||||
"neighbors_durationHours": "{hours} godz. {minutes} min",
|
||||
"scanner_getNodeTitle": "Potrzebujesz nowego węzła?",
|
||||
"scanner_getNodeBody": "Wielkości portfela, z MeshCore, dwuzakresowy GPS, wodoodporny, bateria na 5 dni.",
|
||||
"scanner_getNodeAction": "Kup tutaj",
|
||||
"scanner_getNodeDisclosure": "Link partnerski: każdy zakup wspiera MeshCore Open.",
|
||||
"networkMap_settingsSection": "Mapa sieci",
|
||||
"networkMap_uploadTitle": "Udostępniaj to, co słyszy moje radio",
|
||||
"networkMap_uploadExplanation": "Gdy ta opcja jest włączona, a radio połączone, aplikacja wysyła krótkie podsumowanie pakietów słyszanych przez radio do mapy sieci MeshCore Open, aby każdy mógł zobaczyć, jakie repeatery istnieją i jak się łączą. Wysyłany jest typ, trasa, liczba skoków, siła sygnału i rozmiar każdego pakietu oraz nazwy repeaterów i przybliżone lokalizacje z ich własnych rozgłoszeń. Nigdy nie wysyła treści wiadomości, informacji o tym, kto z kim rozmawia, nazw kanałów, Twoich kontaktów ani Twojej dokładnej pozycji: lokalizacje są zaokrąglane do około 2 km, a aplikacja co dzień dostaje nowy losowy identyfikator.",
|
||||
"networkMap_whatWeCollect": "Co zbieramy",
|
||||
"networkMap_promptTitle": "Pomóc w budowie mapy sieci?",
|
||||
"networkMap_promptBody": "MeshCore Open może udostępniać to, co słyszy Twoje radio, publicznej mapie sieci na map.meshcoreopen.org, aby każdy mógł zobaczyć, jakie repeatery istnieją i jak się łączą.\n\nNigdy nie wysyła treści wiadomości, informacji o tym, kto z kim rozmawia, nazw kanałów, Twoich kontaktów ani Twojej dokładnej pozycji. Lokalizacje są zaokrąglane do około 2 km.",
|
||||
"networkMap_promptSettingsHint": "Możesz to zmienić w dowolnym momencie w Ustawienia → Ustawienia aplikacji → Mapa sieci.",
|
||||
"networkMap_promptAccept": "Udostępnij",
|
||||
"networkMap_promptDecline": "Nie, dziękuję",
|
||||
"networkMap_statusOff": "Wyłączone. Nic nie jest wysyłane.",
|
||||
"networkMap_statusWaiting": "Włączone. Oczekiwanie na połączenie z radiem.",
|
||||
"networkMap_statusNothingSent": "Włączone. Nic jeszcze nie wysłano.",
|
||||
"networkMap_statusLastSent": "Ostatnio wysłano {time}. Pakiety dzisiaj: {count}.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Lokalna",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Obie",
|
||||
"networkMap_zoomInHint": "Przybliż, aby zobaczyć mapę sieci online",
|
||||
"networkMap_loadFailed": "Nie udało się wczytać mapy sieci online",
|
||||
"networkMap_inYourContacts": "W Twoich kontaktach",
|
||||
"networkMap_status": "Stan",
|
||||
"networkMap_statusActive": "Aktywny w ostatniej godzinie",
|
||||
"networkMap_statusRecent": "Słyszany w ostatniej dobie",
|
||||
"networkMap_statusStale": "Dawno niesłyszany",
|
||||
"networkMap_confirmed": "Potwierdzony",
|
||||
"networkMap_singleSource": "Jedno źródło, jeszcze niepotwierdzone",
|
||||
"networkMap_reports": "Raporty",
|
||||
"networkMap_locationEstimated": "Przybliżona lokalizacja, oszacowana na podstawie tego, kto go słyszał",
|
||||
"networkMap_locationAdvertised": "Przybliżona lokalizacja, z jego własnego rozgłoszenia",
|
||||
"networkMap_heardByRadio": "Słyszany przez Twoje radio",
|
||||
"networkMap_inYourArea": "W Twojej okolicy",
|
||||
"networkMap_farAway": "Daleko. Zarządzanie tam nie dotrze.",
|
||||
"networkMap_addToContacts": "Dodaj do kontaktów",
|
||||
"networkMap_manage": "Zarządzaj",
|
||||
"networkMap_addedToContacts": "Dodano do kontaktów",
|
||||
"networkMap_addFailed": "Nie udało się dodać do kontaktów",
|
||||
"networkMap_unnamed": "Repeater bez nazwy"
|
||||
}
|
||||
+149
-1
@@ -3162,5 +3162,153 @@
|
||||
"qr_cameraPermissionDenied": "Permissão da câmera negada.\nAtive o acesso à câmera nas configurações.",
|
||||
"qr_cameraUnsupported": "Câmera não compatível com este dispositivo.",
|
||||
"qr_cameraStartFailed": "Falha ao iniciar a câmera.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Não foi possível baixar o modelo de imagem: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Não foi possível baixar o modelo de imagem: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Ocultar: fica oculto até você sair do mapa.",
|
||||
"map_markerRemoveHint": "Remover: continua oculto até você restaurá-lo no menu de filtros.",
|
||||
"map_markerRemoved": "Marcador removido",
|
||||
"map_restoreRemovedMarkers": "Restaurar marcadores removidos",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} removidos",
|
||||
"map_markersRestored": "{count} marcadores restaurados",
|
||||
"map_setLocationConfirmTitle": "Definir como sua localização?",
|
||||
"map_setLocationConfirmBody": "Seu nó vai anunciar esta posição:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Definir localização",
|
||||
"map_locationSetSuccess": "Localização do nó atualizada",
|
||||
"map_locationSetFailed": "O dispositivo não confirmou a nova localização. Tente novamente.",
|
||||
"map_poiClusterTitle": "{count} marcadores aqui",
|
||||
"map_poiClusterSemantics": "{count} marcadores compartilhados. Toque para listá-los.",
|
||||
"map_youWithMarkers": "Você e {count} marcadores",
|
||||
"map_sharedMarkerSemantics": "Marcador compartilhado: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Download cancelado. {count} blocos em cache.",
|
||||
"mapCache_tooManyTilesTitle": "Área muito grande",
|
||||
"mapCache_tooManyTiles": "Esta área precisa de {count} blocos, mais do que o limite de {max}. Escolha uma área menor ou reduza o zoom máximo.",
|
||||
"chat_clearChatConfirm": "Isto apaga todas as mensagens desta conversa deste dispositivo. Não é possível desfazer.",
|
||||
"channels_clearChatConfirm": "Isto apaga todas as mensagens deste canal deste dispositivo, incluindo as imagens recebidas. Não é possível desfazer.",
|
||||
"channels_timeNow": "agora",
|
||||
"channels_timeMinutes": "{minutes}min",
|
||||
"channels_timeHours": "{hours}h",
|
||||
"channels_timeDays": "{days}d",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "Desconhecido",
|
||||
"pathMap_noSelfGpsFix": "O nó local não tem sinal de GPS",
|
||||
"pathTrace_sendFailed": "Não foi possível enviar o rastreamento de caminho: {error}",
|
||||
"losErrorNoInternet": "Os dados de elevação precisam de conexão com a internet",
|
||||
"losResultStale": "Desatualizado: a altura da antena mudou",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Carregando telemetria…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Sem conexão com um rádio. Conecte e tente novamente.",
|
||||
"settings_requiresConnection": "Conecte-se a um rádio para usar isto",
|
||||
"settings_txPowerInvalidRange": "Potência de TX inválida ({min} a {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Configurações do contato salvas",
|
||||
"settings_batteryToggleHint": "Toque para alternar entre porcentagem e tensão",
|
||||
"settings_publicKeyCopyHint": "Copiar chave pública",
|
||||
"settings_locationClearHelper": "Deixe ambos os campos vazios para remover sua localização.",
|
||||
"settings_locationCleared": "Localização removida",
|
||||
"settings_regionFetchDiscovering": "Procurando repetidores próximos…",
|
||||
"settings_regionFetchProgress": "Consultando o repetidor {current} de {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Ainda não há repetidores conhecidos. Adicione um repetidor como contato ou aguarde um anunciar, e tente novamente.",
|
||||
"settings_regionFetchNoneResponded": "Nenhum repetidor próximo respondeu. Aproxime-se de um repetidor e tente novamente.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Roteamento",
|
||||
"appSettings_imageMessagesSection": "Mensagens de imagem",
|
||||
"appSettings_showApiKey": "Mostrar chave de API",
|
||||
"appSettings_hideApiKey": "Ocultar chave de API",
|
||||
"translation_defaultModelName": "Modelo",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Rádio desconectado",
|
||||
"repeater_radioDisconnectedHint": "Reconecte-se ao seu rádio para enviar comandos, atualizar ou salvar alterações.",
|
||||
"repeater_cliSend": "Enviar comando",
|
||||
"repeater_cliCopyTranscript": "Copiar transcrição",
|
||||
"repeater_cliShareTranscript": "Compartilhar transcrição",
|
||||
"repeater_cliTranscriptCopied": "Transcrição copiada",
|
||||
"repeater_cliClearHistoryConfirm": "Limpar o histórico de comandos? Não é possível desfazer.",
|
||||
"repeater_cliSearchCommands": "Pesquisar comandos",
|
||||
"repeater_cliNoMatchingCommands": "Nenhum comando correspondente",
|
||||
"debugLog_clearConfirm": "Limpar todas as entradas do registro? Não é possível desfazer.",
|
||||
"repeater_unsavedChangesTitle": "Alterações não salvas",
|
||||
"repeater_unsavedChangesMessage": "Você tem alterações que não foram salvas no repetidor.",
|
||||
"repeater_discardChanges": "Descartar",
|
||||
"repeater_actionSentNoReply": "{action}: comando enviado. O repetidor não responde a este comando.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} não é válido",
|
||||
"repeater_txPowerOutOfRange": "Potência de TX {value} fora do intervalo ({min} a {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "A chave privada deve ter exatamente {length} caracteres hexadecimais",
|
||||
"contacts_advertFailed": "Não foi possível enviar o anúncio",
|
||||
"contacts_manageGroups": "Gerenciar grupos",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Conectado a",
|
||||
"usbChooseSerialPort": "Escolher porta serial",
|
||||
"neighbors_durationSeconds": "{seconds}s",
|
||||
"neighbors_durationMinutes": "{minutes}m {seconds}s",
|
||||
"neighbors_durationHours": "{hours}h {minutes}m",
|
||||
"scanner_getNodeTitle": "Precisa de um novo nó?",
|
||||
"scanner_getNodeBody": "Do tamanho de uma carteira, roda MeshCore, GPS dual-band, à prova d'água, bateria para 5 dias.",
|
||||
"scanner_getNodeAction": "Compre aqui",
|
||||
"scanner_getNodeDisclosure": "Link de afiliado: cada compra apoia o MeshCore Open.",
|
||||
"networkMap_settingsSection": "Mapa da rede",
|
||||
"networkMap_uploadTitle": "Compartilhar o que meu rádio ouve",
|
||||
"networkMap_uploadExplanation": "Quando isto está ativado e o seu rádio está conectado, o app envia um breve resumo dos pacotes que o seu rádio ouve para o mapa da rede do MeshCore Open, para que todos possam ver quais repetidores existem e como se conectam. Ele envia o tipo, a rota, os saltos, a intensidade do sinal e o tamanho de cada pacote, além dos nomes e localizações aproximadas dos repetidores, obtidos dos próprios anúncios. Nunca envia o texto das mensagens, quem fala com quem, nomes de canais, seus contactos nem a sua posição exata: as localizações são arredondadas para cerca de 2 km, e o seu app recebe um novo ID aleatório todos os dias.",
|
||||
"networkMap_whatWeCollect": "O que coletamos",
|
||||
"networkMap_promptTitle": "Ajudar a construir o mapa da rede?",
|
||||
"networkMap_promptBody": "O MeshCore Open pode compartilhar o que o seu rádio ouve com o mapa público da rede em map.meshcoreopen.org, para que todos possam ver quais repetidores existem e como se conectam.\n\nNunca envia o texto das mensagens, quem fala com quem, nomes de canais, seus contactos nem a sua posição exata. As localizações são arredondadas para cerca de 2 km.",
|
||||
"networkMap_promptSettingsHint": "Você pode mudar isso a qualquer momento em Configurações → Configurações do App → Mapa da rede.",
|
||||
"networkMap_promptAccept": "Compartilhar",
|
||||
"networkMap_promptDecline": "Não, obrigado",
|
||||
"networkMap_statusOff": "Desativado. Nada é enviado.",
|
||||
"networkMap_statusWaiting": "Ativado. Aguardando conexão com o rádio.",
|
||||
"networkMap_statusNothingSent": "Ativado. Nada enviado ainda.",
|
||||
"networkMap_statusLastSent": "Último envio {time}. {count} pacotes hoje.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Local",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Ambos",
|
||||
"networkMap_zoomInHint": "Aproxime o zoom para ver o mapa da rede online",
|
||||
"networkMap_loadFailed": "Não foi possível carregar o mapa da rede online",
|
||||
"networkMap_inYourContacts": "Nos seus contactos",
|
||||
"networkMap_status": "Estado",
|
||||
"networkMap_statusActive": "Ativo na última hora",
|
||||
"networkMap_statusRecent": "Ouvido no último dia",
|
||||
"networkMap_statusStale": "Não ouvido recentemente",
|
||||
"networkMap_confirmed": "Confirmado",
|
||||
"networkMap_singleSource": "Fonte única, ainda não confirmado",
|
||||
"networkMap_reports": "Relatórios",
|
||||
"networkMap_locationEstimated": "Localização aproximada, estimada a partir de quem o ouviu",
|
||||
"networkMap_locationAdvertised": "Localização aproximada, do próprio anúncio",
|
||||
"networkMap_heardByRadio": "Ouvido pelo seu rádio",
|
||||
"networkMap_inYourArea": "Na sua área",
|
||||
"networkMap_farAway": "Muito longe. A gestão não chegará até ele.",
|
||||
"networkMap_addToContacts": "Adicionar aos contactos",
|
||||
"networkMap_manage": "Gerenciar",
|
||||
"networkMap_addedToContacts": "Adicionado aos contactos",
|
||||
"networkMap_addFailed": "Não foi possível adicionar aos contactos",
|
||||
"networkMap_unnamed": "Repetidor sem nome"
|
||||
}
|
||||
+149
-1
@@ -2459,5 +2459,153 @@
|
||||
"qr_cameraPermissionDenied": "Доступ к камере запрещён.\nВключите доступ к камере в настройках.",
|
||||
"qr_cameraUnsupported": "Камера не поддерживается на этом устройстве.",
|
||||
"qr_cameraStartFailed": "Не удалось запустить камеру.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Не удалось загрузить модель изображений: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Не удалось загрузить модель изображений: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Скрыть: маркер скрыт, пока вы не покинете карту.",
|
||||
"map_markerRemoveHint": "Удалить: маркер останется скрытым, пока вы не восстановите его в меню фильтра.",
|
||||
"map_markerRemoved": "Маркер удалён",
|
||||
"map_restoreRemovedMarkers": "Восстановить удалённые маркеры",
|
||||
"map_restoreRemovedMarkersSubtitle": "Удалено: {count}",
|
||||
"map_markersRestored": "Восстановлено маркеров: {count}",
|
||||
"map_setLocationConfirmTitle": "Установить как вашу позицию?",
|
||||
"map_setLocationConfirmBody": "Ваш узел будет анонсировать эту позицию:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Установить позицию",
|
||||
"map_locationSetSuccess": "Позиция узла обновлена",
|
||||
"map_locationSetFailed": "Устройство не подтвердило новую позицию. Попробуйте снова.",
|
||||
"map_poiClusterTitle": "Маркеров здесь: {count}",
|
||||
"map_poiClusterSemantics": "Общих маркеров: {count}. Нажмите, чтобы открыть список.",
|
||||
"map_youWithMarkers": "Вы и маркеров: {count}",
|
||||
"map_sharedMarkerSemantics": "Общий маркер: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Масштаб {zoom}",
|
||||
"mapCache_sizeBytes": "{size} Б",
|
||||
"mapCache_sizeKilobytes": "{size} КБ",
|
||||
"mapCache_sizeMegabytes": "{size} МБ",
|
||||
"mapCache_sizeGigabytes": "{size} ГБ",
|
||||
"mapCache_downloadCancelled": "Загрузка отменена. Кэшировано тайлов: {count}.",
|
||||
"mapCache_tooManyTilesTitle": "Область слишком большая",
|
||||
"mapCache_tooManyTiles": "Для этой области нужно тайлов: {count}, что больше лимита {max}. Выберите область меньше или уменьшите максимальный масштаб.",
|
||||
"chat_clearChatConfirm": "Это удалит все сообщения этого чата с данного устройства. Действие нельзя отменить.",
|
||||
"channels_clearChatConfirm": "Это удалит все сообщения этого канала с данного устройства, включая полученные изображения. Действие нельзя отменить.",
|
||||
"channels_timeNow": "сейчас",
|
||||
"channels_timeMinutes": "{minutes}м",
|
||||
"channels_timeHours": "{hours}ч",
|
||||
"channels_timeDays": "{days}д",
|
||||
"channels_indexChip": "КАН {index}",
|
||||
"reaction_unknownSender": "Неизвестно",
|
||||
"pathMap_noSelfGpsFix": "У локального узла нет GPS-фиксации",
|
||||
"pathTrace_sendFailed": "Не удалось отправить трассировку пути: {error}",
|
||||
"losErrorNoInternet": "Для данных о высотах нужно подключение к интернету",
|
||||
"losResultStale": "Устарело: высота антенны изменилась",
|
||||
"losSnrValue": "{snr} дБ",
|
||||
"losFrequencyValue": "{frequency} МГц",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "км",
|
||||
"units_mi": "миль",
|
||||
"units_m": "м",
|
||||
"units_ft": "фт",
|
||||
"telemetry_loading": "Загрузка телеметрии…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} фт",
|
||||
"telemetry_distanceValueFeet": "{feet} фт",
|
||||
"settings_notConnectedError": "Нет подключения к радио. Подключитесь и повторите попытку.",
|
||||
"settings_requiresConnection": "Подключитесь к радио, чтобы использовать это",
|
||||
"settings_txPowerInvalidRange": "Недопустимая мощность TX (от {min} до {max} дБм)",
|
||||
"settings_contactSettingsSaved": "Настройки контакта сохранены",
|
||||
"settings_batteryToggleHint": "Нажмите, чтобы переключить между процентами и напряжением",
|
||||
"settings_publicKeyCopyHint": "Копировать публичный ключ",
|
||||
"settings_locationClearHelper": "Оставьте оба поля пустыми, чтобы удалить вашу позицию.",
|
||||
"settings_locationCleared": "Позиция удалена",
|
||||
"settings_regionFetchDiscovering": "Поиск ближайших репитеров…",
|
||||
"settings_regionFetchProgress": "Опрос репитера {current} из {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Репитеры пока не известны. Добавьте репитер в контакты или дождитесь его анонса, затем повторите попытку.",
|
||||
"settings_regionFetchNoneResponded": "Ближайшие репитеры не ответили. Подойдите ближе к репитеру и повторите попытку.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Маршрутизация",
|
||||
"appSettings_imageMessagesSection": "Сообщения-изображения",
|
||||
"appSettings_showApiKey": "Показать API-ключ",
|
||||
"appSettings_hideApiKey": "Скрыть API-ключ",
|
||||
"translation_defaultModelName": "Модель",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} МБ",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} МБ ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} МБ • {source}",
|
||||
"repeater_radioDisconnected": "Радио отключено",
|
||||
"repeater_radioDisconnectedHint": "Переподключитесь к радио, чтобы отправлять команды, обновлять данные или сохранять изменения.",
|
||||
"repeater_cliSend": "Отправить команду",
|
||||
"repeater_cliCopyTranscript": "Копировать журнал",
|
||||
"repeater_cliShareTranscript": "Поделиться журналом",
|
||||
"repeater_cliTranscriptCopied": "Журнал скопирован",
|
||||
"repeater_cliClearHistoryConfirm": "Очистить историю команд? Действие нельзя отменить.",
|
||||
"repeater_cliSearchCommands": "Поиск команд",
|
||||
"repeater_cliNoMatchingCommands": "Нет подходящих команд",
|
||||
"debugLog_clearConfirm": "Очистить все записи журнала? Действие нельзя отменить.",
|
||||
"repeater_unsavedChangesTitle": "Несохранённые изменения",
|
||||
"repeater_unsavedChangesMessage": "У вас есть изменения, не сохранённые в репитере.",
|
||||
"repeater_discardChanges": "Отменить",
|
||||
"repeater_actionSentNoReply": "{action}: команда отправлена. Репитер не отвечает на эту команду.",
|
||||
"repeater_invalidSettingValue": "{setting}: значение {value} недопустимо",
|
||||
"repeater_txPowerOutOfRange": "Мощность TX {value} вне диапазона (от {min} до {max} дБм)",
|
||||
"repeater_prvKeyLengthError": "Приватный ключ должен содержать ровно {length} шестнадцатеричных символов",
|
||||
"contacts_advertFailed": "Не удалось отправить анонс",
|
||||
"contacts_manageGroups": "Управление группами",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Подключено к",
|
||||
"usbChooseSerialPort": "Выберите последовательный порт",
|
||||
"neighbors_durationSeconds": "{seconds}с",
|
||||
"neighbors_durationMinutes": "{minutes}м {seconds}с",
|
||||
"neighbors_durationHours": "{hours}ч {minutes}м",
|
||||
"scanner_getNodeTitle": "Нужна новая нода?",
|
||||
"scanner_getNodeBody": "Размером с кошелёк, работает на MeshCore, двухдиапазонный GPS, водонепроницаемая, батареи хватает на 5 дней.",
|
||||
"scanner_getNodeAction": "Купить здесь",
|
||||
"scanner_getNodeDisclosure": "Партнёрская ссылка: каждая покупка поддерживает MeshCore Open.",
|
||||
"networkMap_settingsSection": "Карта сети",
|
||||
"networkMap_uploadTitle": "Делиться тем, что слышит мой радиомодуль",
|
||||
"networkMap_uploadExplanation": "Когда это включено и радиомодуль подключён, приложение отправляет на карту сети MeshCore Open краткую сводку о пакетах, которые слышит ваш радиомодуль, чтобы все могли видеть, какие репитеры существуют и как они связаны. Отправляются тип, маршрут, число хопов, уровень сигнала и размер каждого пакета, а также названия репитеров и их примерное местоположение из их собственных анонсов. Никогда не отправляются текст сообщений, кто с кем общается, названия каналов, ваши контакты и ваше точное местоположение: координаты округляются примерно до 2 км, а приложение каждый день получает новый случайный ID.",
|
||||
"networkMap_whatWeCollect": "Что мы собираем",
|
||||
"networkMap_promptTitle": "Помочь построить карту сети?",
|
||||
"networkMap_promptBody": "MeshCore Open может делиться тем, что слышит ваш радиомодуль, с публичной картой сети на map.meshcoreopen.org, чтобы все могли видеть, какие репитеры существуют и как они связаны.\n\nНикогда не отправляются текст сообщений, кто с кем общается, названия каналов, ваши контакты и ваше точное местоположение. Координаты округляются примерно до 2 км.",
|
||||
"networkMap_promptSettingsHint": "Это можно изменить в любой момент: Настройки → Настройки приложения → Карта сети.",
|
||||
"networkMap_promptAccept": "Делиться",
|
||||
"networkMap_promptDecline": "Нет, спасибо",
|
||||
"networkMap_statusOff": "Выключено. Ничего не отправляется.",
|
||||
"networkMap_statusWaiting": "Включено. Ожидание подключения радиомодуля.",
|
||||
"networkMap_statusNothingSent": "Включено. Пока ничего не отправлено.",
|
||||
"networkMap_statusLastSent": "Последняя отправка: {time}. Пакетов сегодня: {count}.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Локальная",
|
||||
"networkMap_sourceOnline": "Онлайн",
|
||||
"networkMap_sourceBoth": "Обе",
|
||||
"networkMap_zoomInHint": "Приблизьте, чтобы увидеть онлайн-карту сети",
|
||||
"networkMap_loadFailed": "Не удалось загрузить онлайн-карту сети",
|
||||
"networkMap_inYourContacts": "В ваших контактах",
|
||||
"networkMap_status": "Статус",
|
||||
"networkMap_statusActive": "Активен за последний час",
|
||||
"networkMap_statusRecent": "Слышен за последние сутки",
|
||||
"networkMap_statusStale": "Давно не слышен",
|
||||
"networkMap_confirmed": "Подтверждён",
|
||||
"networkMap_singleSource": "Один источник, пока не подтверждён",
|
||||
"networkMap_reports": "Отчёты",
|
||||
"networkMap_locationEstimated": "Примерное местоположение, оценено по тем, кто его слышал",
|
||||
"networkMap_locationAdvertised": "Примерное местоположение, из собственного анонса",
|
||||
"networkMap_heardByRadio": "Слышен вашим радиомодулем",
|
||||
"networkMap_inYourArea": "В вашем районе",
|
||||
"networkMap_farAway": "Далеко. Управление недоступно.",
|
||||
"networkMap_addToContacts": "Добавить в контакты",
|
||||
"networkMap_manage": "Управлять",
|
||||
"networkMap_addedToContacts": "Добавлено в контакты",
|
||||
"networkMap_addFailed": "Не удалось добавить в контакты",
|
||||
"networkMap_unnamed": "Репитер без имени"
|
||||
}
|
||||
+149
-1
@@ -3163,5 +3163,153 @@
|
||||
"qr_cameraPermissionDenied": "Povolenie kamery bolo zamietnuté.\nPovoľte prístup ku kamere v nastaveniach.",
|
||||
"qr_cameraUnsupported": "Kamera nie je na tomto zariadení podporovaná.",
|
||||
"qr_cameraStartFailed": "Kameru sa nepodarilo spustiť.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Model obrázkov sa nepodarilo stiahnuť: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Model obrázkov sa nepodarilo stiahnuť: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Skryť: značka zostane skrytá, kým neopustíte mapu.",
|
||||
"map_markerRemoveHint": "Odstrániť: značka zostane skrytá, kým ju neobnovíte v ponuke filtra.",
|
||||
"map_markerRemoved": "Značka bola odstránená",
|
||||
"map_restoreRemovedMarkers": "Obnoviť odstránené značky",
|
||||
"map_restoreRemovedMarkersSubtitle": "Odstránené: {count}",
|
||||
"map_markersRestored": "Obnovené značky: {count}",
|
||||
"map_setLocationConfirmTitle": "Nastaviť ako vašu polohu?",
|
||||
"map_setLocationConfirmBody": "Váš uzol bude oznamovať túto polohu:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Nastaviť polohu",
|
||||
"map_locationSetSuccess": "Poloha uzla bola aktualizovaná",
|
||||
"map_locationSetFailed": "Zariadenie nepotvrdilo novú polohu. Skúste to znova.",
|
||||
"map_poiClusterTitle": "Značiek tu: {count}",
|
||||
"map_poiClusterSemantics": "Zdieľané značky: {count}. Klepnutím ich zobrazíte.",
|
||||
"map_youWithMarkers": "Vy a značky: {count}",
|
||||
"map_sharedMarkerSemantics": "Zdieľaná značka: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Priblíženie {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Sťahovanie bolo zrušené. Uložených dlaždíc: {count}.",
|
||||
"mapCache_tooManyTilesTitle": "Oblasť je príliš veľká",
|
||||
"mapCache_tooManyTiles": "Táto oblasť vyžaduje {count} dlaždíc, čo je viac ako limit {max}. Vyberte menšiu oblasť alebo znížte maximálne priblíženie.",
|
||||
"chat_clearChatConfirm": "Týmto sa z tohto zariadenia vymažú všetky správy v tejto konverzácii. Túto akciu nie je možné vrátiť späť.",
|
||||
"channels_clearChatConfirm": "Týmto sa z tohto zariadenia vymažú všetky správy v tomto kanáli vrátane prijatých obrázkov. Túto akciu nie je možné vrátiť späť.",
|
||||
"channels_timeNow": "teraz",
|
||||
"channels_timeMinutes": "{minutes}m",
|
||||
"channels_timeHours": "{hours}h",
|
||||
"channels_timeDays": "{days}d",
|
||||
"channels_indexChip": "KAN {index}",
|
||||
"reaction_unknownSender": "Neznámy",
|
||||
"pathMap_noSelfGpsFix": "Lokálny uzol nemá GPS fix",
|
||||
"pathTrace_sendFailed": "Sledovanie cesty sa nepodarilo odoslať: {error}",
|
||||
"losErrorNoInternet": "Údaje o nadmorskej výške vyžadujú pripojenie k internetu",
|
||||
"losResultStale": "Zastarané: výška antény sa zmenila",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Načítavajú sa telemetrické údaje…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Nie ste pripojení k rádiu. Pripojte sa a skúste to znova.",
|
||||
"settings_requiresConnection": "Na použitie pripojte rádio",
|
||||
"settings_txPowerInvalidRange": "Neplatný výkon TX ({min} až {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Nastavenia kontaktu boli uložené",
|
||||
"settings_batteryToggleHint": "Klepnutím prepnete medzi percentami a napätím",
|
||||
"settings_publicKeyCopyHint": "Kopírovať verejný kľúč",
|
||||
"settings_locationClearHelper": "Ak chcete odstrániť svoju polohu, nechajte obe polia prázdne.",
|
||||
"settings_locationCleared": "Poloha bola odstránená",
|
||||
"settings_regionFetchDiscovering": "Hľadajú sa blízke opakovače…",
|
||||
"settings_regionFetchProgress": "Dopytuje sa opakovač {current} z {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Zatiaľ nie sú známe žiadne opakovače. Pridajte opakovač medzi kontakty alebo počkajte na jeho oznam a skúste to znova.",
|
||||
"settings_regionFetchNoneResponded": "Blízke opakovače neodpovedali. Priblížte sa k opakovaču a skúste to znova.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Smerovanie",
|
||||
"appSettings_imageMessagesSection": "Obrazové správy",
|
||||
"appSettings_showApiKey": "Zobraziť API kľúč",
|
||||
"appSettings_hideApiKey": "Skryť API kľúč",
|
||||
"translation_defaultModelName": "Model",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Rádio je odpojené",
|
||||
"repeater_radioDisconnectedHint": "Znova sa pripojte k rádiu, aby ste mohli odosielať príkazy, obnovovať alebo ukladať zmeny.",
|
||||
"repeater_cliSend": "Odoslať príkaz",
|
||||
"repeater_cliCopyTranscript": "Kopírovať prepis",
|
||||
"repeater_cliShareTranscript": "Zdieľať prepis",
|
||||
"repeater_cliTranscriptCopied": "Prepis bol skopírovaný",
|
||||
"repeater_cliClearHistoryConfirm": "Vymazať históriu príkazov? Túto akciu nie je možné vrátiť späť.",
|
||||
"repeater_cliSearchCommands": "Hľadať príkazy",
|
||||
"repeater_cliNoMatchingCommands": "Žiadne zodpovedajúce príkazy",
|
||||
"debugLog_clearConfirm": "Vymazať všetky záznamy denníka? Túto akciu nie je možné vrátiť späť.",
|
||||
"repeater_unsavedChangesTitle": "Neuložené zmeny",
|
||||
"repeater_unsavedChangesMessage": "Máte zmeny, ktoré neboli uložené do opakovača.",
|
||||
"repeater_discardChanges": "Zahodiť",
|
||||
"repeater_actionSentNoReply": "{action}: príkaz bol odoslaný. Opakovač na tento príkaz neodpovedá.",
|
||||
"repeater_invalidSettingValue": "{setting}: hodnota {value} nie je platná",
|
||||
"repeater_txPowerOutOfRange": "Výkon TX {value} je mimo rozsah ({min} až {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "Súkromný kľúč musí mať presne {length} hexadecimálnych znakov",
|
||||
"contacts_advertFailed": "Oznam sa nepodarilo odoslať",
|
||||
"contacts_manageGroups": "Spravovať skupiny",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Pripojené k",
|
||||
"usbChooseSerialPort": "Vyberte sériový port",
|
||||
"neighbors_durationSeconds": "{seconds}s",
|
||||
"neighbors_durationMinutes": "{minutes}m {seconds}s",
|
||||
"neighbors_durationHours": "{hours}h {minutes}m",
|
||||
"scanner_getNodeTitle": "Potrebujete nový uzol?",
|
||||
"scanner_getNodeBody": "Veľkosti peňaženky, beží na MeshCore, dvojpásmové GPS, vodotesný, batéria vydrží 5 dní.",
|
||||
"scanner_getNodeAction": "Kúpte si ho tu",
|
||||
"scanner_getNodeDisclosure": "Partnerský odkaz: každý nákup podporuje MeshCore Open.",
|
||||
"networkMap_settingsSection": "Sieťová mapa",
|
||||
"networkMap_uploadTitle": "Zdieľať, čo počuje moje rádio",
|
||||
"networkMap_uploadExplanation": "Keď je to zapnuté a rádio je pripojené, aplikácia odosiela na sieťovú mapu MeshCore Open stručný súhrn paketov, ktoré vaše rádio počuje, aby každý videl, aké opakovače existujú a ako sú prepojené. Odosiela typ, trasu, počet skokov, silu signálu a veľkosť každého paketu, ako aj názvy opakovačov a ich približnú polohu z ich vlastných inzerátov. Nikdy neodosiela text správ, kto s kým komunikuje, názvy kanálov, vaše kontakty ani vašu presnú polohu: polohy sa zaokrúhľujú na približne 2 km a aplikácia dostáva nové náhodné ID každý deň.",
|
||||
"networkMap_whatWeCollect": "Čo zbierame",
|
||||
"networkMap_promptTitle": "Pomôcť budovať sieťovú mapu?",
|
||||
"networkMap_promptBody": "MeshCore Open môže zdieľať, čo vaše rádio počuje, s verejnou sieťovou mapou na map.meshcoreopen.org, aby každý videl, aké opakovače existujú a ako sú prepojené.\n\nNikdy neodosiela text správ, kto s kým komunikuje, názvy kanálov, vaše kontakty ani vašu presnú polohu. Polohy sa zaokrúhľujú na približne 2 km.",
|
||||
"networkMap_promptSettingsHint": "Môžete to kedykoľvek zmeniť v Nastavenia → Nastavenia aplikácie → Sieťová mapa.",
|
||||
"networkMap_promptAccept": "Zdieľať",
|
||||
"networkMap_promptDecline": "Nie, ďakujem",
|
||||
"networkMap_statusOff": "Vypnuté. Nič sa neodosiela.",
|
||||
"networkMap_statusWaiting": "Zapnuté. Čaká sa na pripojenie rádia.",
|
||||
"networkMap_statusNothingSent": "Zapnuté. Zatiaľ nič neodoslané.",
|
||||
"networkMap_statusLastSent": "Naposledy odoslané {time}. Dnes paketov: {count}.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Lokálna",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Obe",
|
||||
"networkMap_zoomInHint": "Priblížte, aby ste videli online sieťovú mapu",
|
||||
"networkMap_loadFailed": "Online sieťovú mapu sa nepodarilo načítať",
|
||||
"networkMap_inYourContacts": "Vo vašich kontaktoch",
|
||||
"networkMap_status": "Stav",
|
||||
"networkMap_statusActive": "Aktívny za poslednú hodinu",
|
||||
"networkMap_statusRecent": "Počuť za posledný deň",
|
||||
"networkMap_statusStale": "Dlho nepočuť",
|
||||
"networkMap_confirmed": "Potvrdený",
|
||||
"networkMap_singleSource": "Jeden zdroj, zatiaľ nepotvrdený",
|
||||
"networkMap_reports": "Hlásenia",
|
||||
"networkMap_locationEstimated": "Približná poloha, odhadnutá podľa toho, kto ho počul",
|
||||
"networkMap_locationAdvertised": "Približná poloha, z vlastného inzerátu",
|
||||
"networkMap_heardByRadio": "Počuté vaším rádiom",
|
||||
"networkMap_inYourArea": "Vo vašej oblasti",
|
||||
"networkMap_farAway": "Ďaleko. Správa ho nedosiahne.",
|
||||
"networkMap_addToContacts": "Pridať do kontaktov",
|
||||
"networkMap_manage": "Spravovať",
|
||||
"networkMap_addedToContacts": "Pridané do kontaktov",
|
||||
"networkMap_addFailed": "Nepodarilo sa pridať do kontaktov",
|
||||
"networkMap_unnamed": "Nepomenovaný opakovač"
|
||||
}
|
||||
+149
-1
@@ -3163,5 +3163,153 @@
|
||||
"qr_cameraPermissionDenied": "Dovoljenje za kamero zavrnjeno.\nOmogočite dostop do kamere v nastavitvah.",
|
||||
"qr_cameraUnsupported": "Kamera na tej napravi ni podprta.",
|
||||
"qr_cameraStartFailed": "Kamere ni bilo mogoče zagnati.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Slikovnega modela ni bilo mogoče prenesti: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Slikovnega modela ni bilo mogoče prenesti: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Skrij: skrito, dokler ne zapustite zemljevida.",
|
||||
"map_markerRemoveHint": "Odstrani: ostane skrito, dokler ga ne obnovite v meniju filtra.",
|
||||
"map_markerRemoved": "Oznaka odstranjena",
|
||||
"map_restoreRemovedMarkers": "Obnovi odstranjene oznake",
|
||||
"map_restoreRemovedMarkersSubtitle": "Odstranjenih: {count}",
|
||||
"map_markersRestored": "Obnovljenih oznak: {count}",
|
||||
"map_setLocationConfirmTitle": "Nastavim kot vašo lokacijo?",
|
||||
"map_setLocationConfirmBody": "Vaše vozlišče bo oglaševalo ta položaj:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Nastavi lokacijo",
|
||||
"map_locationSetSuccess": "Lokacija vozlišča posodobljena",
|
||||
"map_locationSetFailed": "Naprava ni potrdila nove lokacije. Poskusite znova.",
|
||||
"map_poiClusterTitle": "Oznak tukaj: {count}",
|
||||
"map_poiClusterSemantics": "Deljenih oznak: {count}. Tapnite za prikaz seznama.",
|
||||
"map_youWithMarkers": "Vi in oznak: {count}",
|
||||
"map_sharedMarkerSemantics": "Deljena oznaka: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Povečava {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Prenos preklican. V predpomnilniku je {count} ploščic.",
|
||||
"mapCache_tooManyTilesTitle": "Območje je preveliko",
|
||||
"mapCache_tooManyTiles": "To območje potrebuje {count} ploščic, kar presega omejitev {max}. Izberite manjše območje ali zmanjšajte največjo povečavo.",
|
||||
"chat_clearChatConfirm": "S te naprave bodo izbrisana vsa sporočila v tem pogovoru. Dejanja ni mogoče razveljaviti.",
|
||||
"channels_clearChatConfirm": "S te naprave bodo izbrisana vsa sporočila v tem kanalu, vključno s prejetimi slikami. Dejanja ni mogoče razveljaviti.",
|
||||
"channels_timeNow": "zdaj",
|
||||
"channels_timeMinutes": "{minutes} min",
|
||||
"channels_timeHours": "{hours} h",
|
||||
"channels_timeDays": "{days} d",
|
||||
"channels_indexChip": "KAN {index}",
|
||||
"reaction_unknownSender": "Neznano",
|
||||
"pathMap_noSelfGpsFix": "Lokalno vozlišče nima GPS-a",
|
||||
"pathTrace_sendFailed": "Poti ni bilo mogoče poslati: {error}",
|
||||
"losErrorNoInternet": "Podatki o nadmorski višini zahtevajo internetno povezavo",
|
||||
"losResultStale": "Zastarelo: višina antene se je spremenila",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Nalaganje telemetrije…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Ni povezave z radiem. Povežite se in poskusite znova.",
|
||||
"settings_requiresConnection": "Za to se povežite z radiem",
|
||||
"settings_txPowerInvalidRange": "Neveljavna moč TX ({min} do {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Nastavitve stika shranjene",
|
||||
"settings_batteryToggleHint": "Tapnite za preklop med odstotki in napetostjo",
|
||||
"settings_publicKeyCopyHint": "Kopiraj javni ključ",
|
||||
"settings_locationClearHelper": "Obe polji pustite prazni, če želite odstraniti svojo lokacijo.",
|
||||
"settings_locationCleared": "Lokacija odstranjena",
|
||||
"settings_regionFetchDiscovering": "Iskanje bližnjih ponovitelj…",
|
||||
"settings_regionFetchProgress": "Spraševanje ponovitelja {current} od {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Zaenkrat ni znanih ponovitelj. Dodajte ponovitelj kot stik ali počakajte, da se oglasi, nato poskusite znova.",
|
||||
"settings_regionFetchNoneResponded": "Noben bližnji ponovitelj ni odgovoril. Približajte se ponovitelju in poskusite znova.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Usmerjanje",
|
||||
"appSettings_imageMessagesSection": "Sporočila s slikami",
|
||||
"appSettings_showApiKey": "Pokaži API ključ",
|
||||
"appSettings_hideApiKey": "Skrij API ključ",
|
||||
"translation_defaultModelName": "Model",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Radio odklopljen",
|
||||
"repeater_radioDisconnectedHint": "Znova se povežite z radiem, da pošljete ukaze, osvežite ali shranite spremembe.",
|
||||
"repeater_cliSend": "Pošlji ukaz",
|
||||
"repeater_cliCopyTranscript": "Kopiraj prepis",
|
||||
"repeater_cliShareTranscript": "Deli prepis",
|
||||
"repeater_cliTranscriptCopied": "Prepis kopiran",
|
||||
"repeater_cliClearHistoryConfirm": "Počistim zgodovino ukazov? Dejanja ni mogoče razveljaviti.",
|
||||
"repeater_cliSearchCommands": "Išči ukaze",
|
||||
"repeater_cliNoMatchingCommands": "Ni ustreznih ukazov",
|
||||
"debugLog_clearConfirm": "Počistim vse vnose dnevnika? Dejanja ni mogoče razveljaviti.",
|
||||
"repeater_unsavedChangesTitle": "Neshranjene spremembe",
|
||||
"repeater_unsavedChangesMessage": "Imate spremembe, ki niso shranjene v ponovitelju.",
|
||||
"repeater_discardChanges": "Zavrzi",
|
||||
"repeater_actionSentNoReply": "{action}: ukaz poslan. Ponovitelj na ta ukaz ne odgovori.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} ni veljavno",
|
||||
"repeater_txPowerOutOfRange": "Moč TX {value} je izven območja ({min} do {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "Zasebni ključ mora imeti točno {length} šestnajstiških znakov",
|
||||
"contacts_advertFailed": "Oglasa ni bilo mogoče poslati",
|
||||
"contacts_manageGroups": "Upravljaj skupine",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Povezano z",
|
||||
"usbChooseSerialPort": "Izberite serijska vrata",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} min {seconds} s",
|
||||
"neighbors_durationHours": "{hours} h {minutes} min",
|
||||
"scanner_getNodeTitle": "Potrebujete nov node?",
|
||||
"scanner_getNodeBody": "Velikosti denarnice, poganja MeshCore, dvopasovni GPS, vodoodporen, baterija za 5 dni.",
|
||||
"scanner_getNodeAction": "Oglejte si ga tukaj",
|
||||
"scanner_getNodeDisclosure": "Partnerska povezava: vsak nakup podpira MeshCore Open.",
|
||||
"networkMap_settingsSection": "Omrežni zemljevid",
|
||||
"networkMap_uploadTitle": "Deli, kaj sliši moj radio",
|
||||
"networkMap_uploadExplanation": "Ko je to vklopljeno in je radio povezan, aplikacija na omrežni zemljevid MeshCore Open pošlje kratek povzetek paketov, ki jih sliši vaš radio, tako da vsi vidijo, kateri repeaterji obstajajo in kako so povezani. Pošlje vrsto, pot, število skokov, moč signala in velikost vsakega paketa ter imena in približne lokacije repeaterjev iz njihovih lastnih advertov. Nikoli ne pošlje besedila sporočil, kdo se s kom pogovarja, imen kanalov, vaših stikov ali vašega natančnega položaja: lokacije so zaokrožene na približno 2 km, aplikacija pa vsak dan dobi nov naključni ID.",
|
||||
"networkMap_whatWeCollect": "Kaj zbiramo",
|
||||
"networkMap_promptTitle": "Pomagate graditi omrežni zemljevid?",
|
||||
"networkMap_promptBody": "MeshCore Open lahko deli, kaj sliši vaš radio, z javnim omrežnim zemljevidom na map.meshcoreopen.org, tako da vsi vidijo, kateri repeaterji obstajajo in kako so povezani.\n\nNikoli ne pošlje besedila sporočil, kdo se s kom pogovarja, imen kanalov, vaših stikov ali vašega natančnega položaja. Lokacije so zaokrožene na približno 2 km.",
|
||||
"networkMap_promptSettingsHint": "To lahko kadar koli spremenite v Nastavitve → Nastavitve aplikacije → Omrežni zemljevid.",
|
||||
"networkMap_promptAccept": "Deli",
|
||||
"networkMap_promptDecline": "Ne, hvala",
|
||||
"networkMap_statusOff": "Izklopljeno. Nič se ne pošilja.",
|
||||
"networkMap_statusWaiting": "Vklopljeno. Čakanje na povezavo z radiem.",
|
||||
"networkMap_statusNothingSent": "Vklopljeno. Še nič poslanega.",
|
||||
"networkMap_statusLastSent": "Nazadnje poslano {time}. Paketov danes: {count}.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Lokalno",
|
||||
"networkMap_sourceOnline": "Na spletu",
|
||||
"networkMap_sourceBoth": "Oboje",
|
||||
"networkMap_zoomInHint": "Povečajte, da vidite spletni omrežni zemljevid",
|
||||
"networkMap_loadFailed": "Spletnega omrežnega zemljevida ni bilo mogoče naložiti",
|
||||
"networkMap_inYourContacts": "V vaših stikih",
|
||||
"networkMap_status": "Stanje",
|
||||
"networkMap_statusActive": "Aktiven v zadnji uri",
|
||||
"networkMap_statusRecent": "Slišan v zadnjem dnevu",
|
||||
"networkMap_statusStale": "V zadnjem času ni bil slišan",
|
||||
"networkMap_confirmed": "Potrjeno",
|
||||
"networkMap_singleSource": "En vir, še ni potrjeno",
|
||||
"networkMap_reports": "Poročila",
|
||||
"networkMap_locationEstimated": "Približna lokacija, ocenjena glede na to, kdo ga je slišal",
|
||||
"networkMap_locationAdvertised": "Približna lokacija, iz njegovega lastnega adverta",
|
||||
"networkMap_heardByRadio": "Sliši ga vaš radio",
|
||||
"networkMap_inYourArea": "V vaši bližini",
|
||||
"networkMap_farAway": "Daleč stran. Upravljanje ne bo doseglo.",
|
||||
"networkMap_addToContacts": "Dodaj med stike",
|
||||
"networkMap_manage": "Upravljaj",
|
||||
"networkMap_addedToContacts": "Dodano med stike",
|
||||
"networkMap_addFailed": "Dodajanje med stike ni uspelo",
|
||||
"networkMap_unnamed": "Repeater brez imena"
|
||||
}
|
||||
+149
-1
@@ -3157,5 +3157,153 @@
|
||||
"qr_cameraPermissionDenied": "Kamerabehörighet nekades.\nAktivera kameraåtkomst i inställningarna.",
|
||||
"qr_cameraUnsupported": "Kameran stöds inte på den här enheten.",
|
||||
"qr_cameraStartFailed": "Det gick inte att starta kameran.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Bildmodellen kunde inte laddas ned: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Bildmodellen kunde inte laddas ned: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Dölj: dold tills du lämnar kartan.",
|
||||
"map_markerRemoveHint": "Ta bort: förblir dold tills du återställer den från filtermenyn.",
|
||||
"map_markerRemoved": "Markör borttagen",
|
||||
"map_restoreRemovedMarkers": "Återställ borttagna markörer",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} borttagna",
|
||||
"map_markersRestored": "Återställde {count} markörer",
|
||||
"map_setLocationConfirmTitle": "Ange som din plats?",
|
||||
"map_setLocationConfirmBody": "Din nod kommer att annonsera denna position:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Ange plats",
|
||||
"map_locationSetSuccess": "Nodens plats uppdaterad",
|
||||
"map_locationSetFailed": "Enheten bekräftade inte den nya platsen. Försök igen.",
|
||||
"map_poiClusterTitle": "{count} markörer här",
|
||||
"map_poiClusterSemantics": "{count} delade markörer. Tryck för att visa dem.",
|
||||
"map_youWithMarkers": "Du och {count} markörer",
|
||||
"map_sharedMarkerSemantics": "Delad markör: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "Nedladdningen avbröts. {count} brickor cachades.",
|
||||
"mapCache_tooManyTilesTitle": "Området är för stort",
|
||||
"mapCache_tooManyTiles": "Det här området kräver {count} brickor, vilket överskrider gränsen på {max}. Välj ett mindre område eller sänk maximal zoom.",
|
||||
"chat_clearChatConfirm": "Detta raderar alla meddelanden i den här konversationen från den här enheten. Det går inte att ångra.",
|
||||
"channels_clearChatConfirm": "Detta raderar alla meddelanden i den här kanalen från den här enheten, inklusive mottagna bilder. Det går inte att ångra.",
|
||||
"channels_timeNow": "nu",
|
||||
"channels_timeMinutes": "{minutes} min",
|
||||
"channels_timeHours": "{hours} h",
|
||||
"channels_timeDays": "{days} d",
|
||||
"channels_indexChip": "KAN {index}",
|
||||
"reaction_unknownSender": "Okänd",
|
||||
"pathMap_noSelfGpsFix": "Den lokala noden har ingen GPS-fix",
|
||||
"pathTrace_sendFailed": "Kunde inte skicka sökvägsspårningen: {error}",
|
||||
"losErrorNoInternet": "Höjddata kräver internetanslutning",
|
||||
"losResultStale": "Föråldrat: antennhöjden har ändrats",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Läser in telemetri…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "Inte ansluten till en radio. Anslut och försök igen.",
|
||||
"settings_requiresConnection": "Anslut till en radio för att använda detta",
|
||||
"settings_txPowerInvalidRange": "Ogiltig TX-effekt ({min} till {max} dBm)",
|
||||
"settings_contactSettingsSaved": "Kontaktinställningar sparade",
|
||||
"settings_batteryToggleHint": "Tryck för att växla mellan procent och spänning",
|
||||
"settings_publicKeyCopyHint": "Kopiera publik nyckel",
|
||||
"settings_locationClearHelper": "Lämna båda fälten tomma för att ta bort din plats.",
|
||||
"settings_locationCleared": "Platsen borttagen",
|
||||
"settings_regionFetchDiscovering": "Söker efter repeatrar i närheten…",
|
||||
"settings_regionFetchProgress": "Frågar repeater {current} av {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Inga repeatrar är kända ännu. Lägg till en repeater som kontakt eller vänta tills en annonserar, och försök sedan igen.",
|
||||
"settings_regionFetchNoneResponded": "Ingen repeater i närheten svarade. Flytta dig närmare en repeater och försök igen.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Routing",
|
||||
"appSettings_imageMessagesSection": "Bildmeddelanden",
|
||||
"appSettings_showApiKey": "Visa API-nyckel",
|
||||
"appSettings_hideApiKey": "Dölj API-nyckel",
|
||||
"translation_defaultModelName": "Modell",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "Radion frånkopplad",
|
||||
"repeater_radioDisconnectedHint": "Återanslut till din radio för att skicka kommandon, uppdatera eller spara ändringar.",
|
||||
"repeater_cliSend": "Skicka kommando",
|
||||
"repeater_cliCopyTranscript": "Kopiera utskrift",
|
||||
"repeater_cliShareTranscript": "Dela utskrift",
|
||||
"repeater_cliTranscriptCopied": "Utskrift kopierad",
|
||||
"repeater_cliClearHistoryConfirm": "Rensa kommandohistoriken? Det går inte att ångra.",
|
||||
"repeater_cliSearchCommands": "Sök kommandon",
|
||||
"repeater_cliNoMatchingCommands": "Inga matchande kommandon",
|
||||
"debugLog_clearConfirm": "Rensa alla loggposter? Det går inte att ångra.",
|
||||
"repeater_unsavedChangesTitle": "Osparade ändringar",
|
||||
"repeater_unsavedChangesMessage": "Du har ändringar som inte har sparats i repeatern.",
|
||||
"repeater_discardChanges": "Förkasta",
|
||||
"repeater_actionSentNoReply": "{action}: kommando skickat. Repeatern svarar inte på detta kommando.",
|
||||
"repeater_invalidSettingValue": "{setting}: {value} är inte giltigt",
|
||||
"repeater_txPowerOutOfRange": "TX-effekt {value} ligger utanför intervallet ({min} till {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "Privat nyckel måste vara exakt {length} hexadecimala tecken",
|
||||
"contacts_advertFailed": "Kunde inte skicka annonsen",
|
||||
"contacts_manageGroups": "Hantera grupper",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Ansluten till",
|
||||
"usbChooseSerialPort": "Välj serieport",
|
||||
"neighbors_durationSeconds": "{seconds} s",
|
||||
"neighbors_durationMinutes": "{minutes} min {seconds} s",
|
||||
"neighbors_durationHours": "{hours} h {minutes} min",
|
||||
"scanner_getNodeTitle": "Behöver du en ny nod?",
|
||||
"scanner_getNodeBody": "Plånboksstorlek, kör MeshCore, GPS med dubbla band, vattentät, 5 dagars batteritid.",
|
||||
"scanner_getNodeAction": "Skaffa en här",
|
||||
"scanner_getNodeDisclosure": "Affiliatelänk: varje köp stöder MeshCore Open.",
|
||||
"networkMap_settingsSection": "Nätverkskarta",
|
||||
"networkMap_uploadTitle": "Dela vad min radio hör",
|
||||
"networkMap_uploadExplanation": "När detta är på och din radio är ansluten skickar appen en kort sammanfattning av paketen som din radio hör till MeshCore Opens nätverkskarta, så att alla kan se vilka repeaters som finns och hur de hänger ihop. Den skickar varje pakets typ, rutt, antal hopp, signalstyrka och storlek, plus repeaternamn och ungefärliga platser från deras egna annonser. Den skickar aldrig meddelandetext, vem som pratar med vem, kanalnamn, dina kontakter eller din exakta position: platser avrundas till cirka 2 km, och din app får ett nytt slumpmässigt ID varje dag.",
|
||||
"networkMap_whatWeCollect": "Vad vi samlar in",
|
||||
"networkMap_promptTitle": "Hjälpa till att bygga nätverkskartan?",
|
||||
"networkMap_promptBody": "MeshCore Open kan dela vad din radio hör med den offentliga nätverkskartan på map.meshcoreopen.org, så att alla kan se vilka repeaters som finns och hur de hänger ihop.\n\nDen skickar aldrig meddelandetext, vem som pratar med vem, kanalnamn, dina kontakter eller din exakta position. Platser avrundas till cirka 2 km.",
|
||||
"networkMap_promptSettingsHint": "Du kan ändra detta när som helst under Inställningar → Appinställningar → Nätverkskarta.",
|
||||
"networkMap_promptAccept": "Dela",
|
||||
"networkMap_promptDecline": "Nej tack",
|
||||
"networkMap_statusOff": "Av. Inget skickas.",
|
||||
"networkMap_statusWaiting": "På. Väntar på radioanslutning.",
|
||||
"networkMap_statusNothingSent": "På. Inget skickat ännu.",
|
||||
"networkMap_statusLastSent": "Senast skickat {time}. {count} paket idag.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Lokal",
|
||||
"networkMap_sourceOnline": "Online",
|
||||
"networkMap_sourceBoth": "Båda",
|
||||
"networkMap_zoomInHint": "Zooma in för att se nätverkskartan online",
|
||||
"networkMap_loadFailed": "Det gick inte att ladda nätverkskartan online",
|
||||
"networkMap_inYourContacts": "I dina kontakter",
|
||||
"networkMap_status": "Status",
|
||||
"networkMap_statusActive": "Aktiv den senaste timmen",
|
||||
"networkMap_statusRecent": "Hörd under det senaste dygnet",
|
||||
"networkMap_statusStale": "Inte hörd på sistone",
|
||||
"networkMap_confirmed": "Bekräftad",
|
||||
"networkMap_singleSource": "Enskild källa, ännu inte bekräftad",
|
||||
"networkMap_reports": "Rapporter",
|
||||
"networkMap_locationEstimated": "Ungefärlig plats, uppskattad utifrån vilka som hörde den",
|
||||
"networkMap_locationAdvertised": "Ungefärlig plats, från dess egen annons",
|
||||
"networkMap_heardByRadio": "Hörd av din radio",
|
||||
"networkMap_inYourArea": "I ditt område",
|
||||
"networkMap_farAway": "Långt bort. Hantering når inte dit.",
|
||||
"networkMap_addToContacts": "Lägg till i kontakter",
|
||||
"networkMap_manage": "Hantera",
|
||||
"networkMap_addedToContacts": "Tillagd i kontakter",
|
||||
"networkMap_addFailed": "Det gick inte att lägga till i kontakter",
|
||||
"networkMap_unnamed": "Namnlös repeater"
|
||||
}
|
||||
+149
-1
@@ -3142,5 +3142,153 @@
|
||||
"qr_cameraPermissionDenied": "Доступ до камери заборонено.\nУвімкніть доступ до камери в налаштуваннях.",
|
||||
"qr_cameraUnsupported": "Камера не підтримується на цьому пристрої.",
|
||||
"qr_cameraStartFailed": "Не вдалося запустити камеру.\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "Не вдалося завантажити модель зображень: {error}"
|
||||
"imageMessages_downloadFailedWithError": "Не вдалося завантажити модель зображень: {error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Приховати: маркер буде прихований, доки ви не покинете карту.",
|
||||
"map_markerRemoveHint": "Видалити: маркер залишатиметься прихованим, доки ви не відновите його в меню фільтра.",
|
||||
"map_markerRemoved": "Маркер видалено",
|
||||
"map_restoreRemovedMarkers": "Відновити видалені маркери",
|
||||
"map_restoreRemovedMarkersSubtitle": "Видалено: {count}",
|
||||
"map_markersRestored": "Відновлено маркерів: {count}",
|
||||
"map_setLocationConfirmTitle": "Встановити як вашу геопозицію?",
|
||||
"map_setLocationConfirmBody": "Ваш вузол оголошуватиме цю позицію:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "Встановити позицію",
|
||||
"map_locationSetSuccess": "Позицію вузла оновлено",
|
||||
"map_locationSetFailed": "Пристрій не підтвердив нову позицію. Спробуйте ще раз.",
|
||||
"map_poiClusterTitle": "Маркерів тут: {count}",
|
||||
"map_poiClusterSemantics": "Спільних маркерів: {count}. Торкніться, щоб відкрити список.",
|
||||
"map_youWithMarkers": "Ви та маркерів: {count}",
|
||||
"map_sharedMarkerSemantics": "Спільний маркер: {label}",
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"mapCache_zoomLevel": "Масштаб {zoom}",
|
||||
"mapCache_sizeBytes": "{size} Б",
|
||||
"mapCache_sizeKilobytes": "{size} КБ",
|
||||
"mapCache_sizeMegabytes": "{size} МБ",
|
||||
"mapCache_sizeGigabytes": "{size} ГБ",
|
||||
"mapCache_downloadCancelled": "Завантаження скасовано. Кешовано тайлів: {count}.",
|
||||
"mapCache_tooManyTilesTitle": "Область завелика",
|
||||
"mapCache_tooManyTiles": "Для цієї області потрібно тайлів: {count}, що перевищує ліміт {max}. Виберіть меншу область або зменште максимальний масштаб.",
|
||||
"chat_clearChatConfirm": "Це видалить усі повідомлення цього чату з цього пристрою. Дію не можна скасувати.",
|
||||
"channels_clearChatConfirm": "Це видалить усі повідомлення цього каналу з цього пристрою, включно з отриманими зображеннями. Дію не можна скасувати.",
|
||||
"channels_timeNow": "зараз",
|
||||
"channels_timeMinutes": "{minutes}хв",
|
||||
"channels_timeHours": "{hours}год",
|
||||
"channels_timeDays": "{days}д",
|
||||
"channels_indexChip": "КАН {index}",
|
||||
"reaction_unknownSender": "Невідомо",
|
||||
"pathMap_noSelfGpsFix": "Локальний вузол не має GPS-фіксації",
|
||||
"pathTrace_sendFailed": "Не вдалося надіслати трасування шляху: {error}",
|
||||
"losErrorNoInternet": "Для даних про висоти потрібне підключення до інтернету",
|
||||
"losResultStale": "Застаріло: висоту антени змінено",
|
||||
"losSnrValue": "{snr} дБ",
|
||||
"losFrequencyValue": "{frequency} МГц",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "км",
|
||||
"units_mi": "миль",
|
||||
"units_m": "м",
|
||||
"units_ft": "фт",
|
||||
"telemetry_loading": "Завантаження телеметрії…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} фт",
|
||||
"telemetry_distanceValueFeet": "{feet} фт",
|
||||
"settings_notConnectedError": "Немає підключення до радіо. Підключіться й спробуйте ще раз.",
|
||||
"settings_requiresConnection": "Підключіться до радіо, щоб скористатися цим",
|
||||
"settings_txPowerInvalidRange": "Недопустима потужність TX (від {min} до {max} дБм)",
|
||||
"settings_contactSettingsSaved": "Налаштування контакту збережено",
|
||||
"settings_batteryToggleHint": "Торкніться, щоб перемкнути між відсотками та напругою",
|
||||
"settings_publicKeyCopyHint": "Копіювати публічний ключ",
|
||||
"settings_locationClearHelper": "Залиште обидва поля порожніми, щоб видалити вашу геопозицію.",
|
||||
"settings_locationCleared": "Геопозицію видалено",
|
||||
"settings_regionFetchDiscovering": "Пошук ближніх ретрансляторів…",
|
||||
"settings_regionFetchProgress": "Опитування ретранслятора {current} з {total}…",
|
||||
"settings_regionFetchNoRepeaters": "Ретранслятори поки невідомі. Додайте ретранслятор до контактів або дочекайтеся його оголошення, а потім спробуйте ще раз.",
|
||||
"settings_regionFetchNoneResponded": "Ближні ретранслятори не відповіли. Підійдіть ближче до ретранслятора й спробуйте ще раз.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "Маршрутизація",
|
||||
"appSettings_imageMessagesSection": "Повідомлення із зображеннями",
|
||||
"appSettings_showApiKey": "Показати API-ключ",
|
||||
"appSettings_hideApiKey": "Приховати API-ключ",
|
||||
"translation_defaultModelName": "Модель",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} МБ",
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} МБ ({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} МБ • {source}",
|
||||
"repeater_radioDisconnected": "Радіо відключено",
|
||||
"repeater_radioDisconnectedHint": "Підключіться до радіо повторно, щоб надсилати команди, оновлювати дані або зберігати зміни.",
|
||||
"repeater_cliSend": "Надіслати команду",
|
||||
"repeater_cliCopyTranscript": "Копіювати журнал",
|
||||
"repeater_cliShareTranscript": "Поділитися журналом",
|
||||
"repeater_cliTranscriptCopied": "Журнал скопійовано",
|
||||
"repeater_cliClearHistoryConfirm": "Очистити історію команд? Дію не можна скасувати.",
|
||||
"repeater_cliSearchCommands": "Пошук команд",
|
||||
"repeater_cliNoMatchingCommands": "Немає відповідних команд",
|
||||
"debugLog_clearConfirm": "Очистити всі записи журналу? Дію не можна скасувати.",
|
||||
"repeater_unsavedChangesTitle": "Незбережені зміни",
|
||||
"repeater_unsavedChangesMessage": "У вас є зміни, не збережені в ретрансляторі.",
|
||||
"repeater_discardChanges": "Відхилити",
|
||||
"repeater_actionSentNoReply": "{action}: команду надіслано. Ретранслятор не відповідає на цю команду.",
|
||||
"repeater_invalidSettingValue": "{setting}: значення {value} недопустиме",
|
||||
"repeater_txPowerOutOfRange": "Потужність TX {value} поза діапазоном (від {min} до {max} дБм)",
|
||||
"repeater_prvKeyLengthError": "Приватний ключ має містити рівно {length} шістнадцяткових символів",
|
||||
"contacts_advertFailed": "Не вдалося надіслати оголошення",
|
||||
"contacts_manageGroups": "Керування групами",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Підключено до",
|
||||
"usbChooseSerialPort": "Виберіть послідовний порт",
|
||||
"neighbors_durationSeconds": "{seconds}с",
|
||||
"neighbors_durationMinutes": "{minutes}хв {seconds}с",
|
||||
"neighbors_durationHours": "{hours}год {minutes}хв",
|
||||
"scanner_getNodeTitle": "Потрібна нова нода?",
|
||||
"scanner_getNodeBody": "Розміром з гаманець, працює на MeshCore, дводіапазонний GPS, водонепроникна, батареї вистачає на 5 днів.",
|
||||
"scanner_getNodeAction": "Придбати тут",
|
||||
"scanner_getNodeDisclosure": "Партнерське посилання: кожна покупка підтримує MeshCore Open.",
|
||||
"networkMap_settingsSection": "Карта мережі",
|
||||
"networkMap_uploadTitle": "Ділитися тим, що чує мій радіомодуль",
|
||||
"networkMap_uploadExplanation": "Коли це ввімкнено і радіомодуль підключено, застосунок надсилає на карту мережі MeshCore Open короткий підсумок пакетів, які чує ваш радіомодуль, щоб усі могли бачити, які ретранслятори існують і як вони пов'язані. Надсилаються тип, маршрут, кількість хопів, рівень сигналу та розмір кожного пакета, а також назви ретрансляторів і їхнє приблизне розташування з їхніх власних оголошень. Ніколи не надсилаються текст повідомлень, хто з ким спілкується, назви каналів, ваші контакти та ваше точне розташування: координати округлюються приблизно до 2 км, а застосунок щодня отримує новий випадковий ID.",
|
||||
"networkMap_whatWeCollect": "Що ми збираємо",
|
||||
"networkMap_promptTitle": "Допомогти побудувати карту мережі?",
|
||||
"networkMap_promptBody": "MeshCore Open може ділитися тим, що чує ваш радіомодуль, з публічною картою мережі на map.meshcoreopen.org, щоб усі могли бачити, які ретранслятори існують і як вони пов'язані.\n\nНіколи не надсилаються текст повідомлень, хто з ким спілкується, назви каналів, ваші контакти та ваше точне розташування. Координати округлюються приблизно до 2 км.",
|
||||
"networkMap_promptSettingsHint": "Це можна змінити будь-коли: Налаштування → Налаштування застосунку → Карта мережі.",
|
||||
"networkMap_promptAccept": "Ділитися",
|
||||
"networkMap_promptDecline": "Ні, дякую",
|
||||
"networkMap_statusOff": "Вимкнено. Нічого не надсилається.",
|
||||
"networkMap_statusWaiting": "Ввімкнено. Очікування підключення радіомодуля.",
|
||||
"networkMap_statusNothingSent": "Ввімкнено. Поки що нічого не надіслано.",
|
||||
"networkMap_statusLastSent": "Останнє надсилання: {time}. Пакетів сьогодні: {count}.",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "Локальна",
|
||||
"networkMap_sourceOnline": "Онлайн",
|
||||
"networkMap_sourceBoth": "Обидві",
|
||||
"networkMap_zoomInHint": "Наблизьте, щоб побачити онлайн-карту мережі",
|
||||
"networkMap_loadFailed": "Не вдалося завантажити онлайн-карту мережі",
|
||||
"networkMap_inYourContacts": "У ваших контактах",
|
||||
"networkMap_status": "Статус",
|
||||
"networkMap_statusActive": "Активний за останню годину",
|
||||
"networkMap_statusRecent": "Чутно за останню добу",
|
||||
"networkMap_statusStale": "Давно не чутно",
|
||||
"networkMap_confirmed": "Підтверджено",
|
||||
"networkMap_singleSource": "Одне джерело, ще не підтверджено",
|
||||
"networkMap_reports": "Звіти",
|
||||
"networkMap_locationEstimated": "Приблизне розташування, оцінене за тими, хто його чув",
|
||||
"networkMap_locationAdvertised": "Приблизне розташування, з власного оголошення",
|
||||
"networkMap_heardByRadio": "Чує ваш радіомодуль",
|
||||
"networkMap_inYourArea": "У вашому районі",
|
||||
"networkMap_farAway": "Далеко. Керування недоступне.",
|
||||
"networkMap_addToContacts": "Додати до контактів",
|
||||
"networkMap_manage": "Керувати",
|
||||
"networkMap_addedToContacts": "Додано до контактів",
|
||||
"networkMap_addFailed": "Не вдалося додати до контактів",
|
||||
"networkMap_unnamed": "Ретранслятор без назви"
|
||||
}
|
||||
+149
-1
@@ -3167,5 +3167,153 @@
|
||||
"qr_cameraPermissionDenied": "相机权限被拒绝。\n请在设置中启用相机访问。",
|
||||
"qr_cameraUnsupported": "此设备不支持相机。",
|
||||
"qr_cameraStartFailed": "无法启动相机。\n{details}",
|
||||
"imageMessages_downloadFailedWithError": "无法下载图像模型:{error}"
|
||||
"imageMessages_downloadFailedWithError": "无法下载图像模型:{error}",
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "隐藏:离开地图前保持隐藏。",
|
||||
"map_markerRemoveHint": "移除:在从筛选菜单中恢复之前保持隐藏。",
|
||||
"map_markerRemoved": "标记已移除",
|
||||
"map_restoreRemovedMarkers": "恢复已移除的标记",
|
||||
"map_restoreRemovedMarkersSubtitle": "已移除 {count} 个",
|
||||
"map_markersRestored": "已恢复 {count} 个标记",
|
||||
"map_setLocationConfirmTitle": "设为你的位置?",
|
||||
"map_setLocationConfirmBody": "你的节点将广播此位置:\n{lat}, {lon}",
|
||||
"map_setLocationAction": "设置位置",
|
||||
"map_locationSetSuccess": "节点位置已更新",
|
||||
"map_locationSetFailed": "设备未确认新位置。请重试。",
|
||||
"map_poiClusterTitle": "此处有 {count} 个标记",
|
||||
"map_poiClusterSemantics": "{count} 个共享标记。点按以查看列表。",
|
||||
"map_youWithMarkers": "你和 {count} 个标记",
|
||||
"map_sharedMarkerSemantics": "共享标记:{label}",
|
||||
"map_nodeMarkerSemantics": "{name},{type},{status}",
|
||||
"mapCache_zoomLevel": "缩放 {zoom}",
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"mapCache_downloadCancelled": "下载已取消。已缓存 {count} 个图块。",
|
||||
"mapCache_tooManyTilesTitle": "区域过大",
|
||||
"mapCache_tooManyTiles": "此区域需要 {count} 个图块,超过 {max} 的上限。请选择更小的区域或降低最大缩放级别。",
|
||||
"chat_clearChatConfirm": "这将从此设备上清除此对话中的所有消息,且无法撤销。",
|
||||
"channels_clearChatConfirm": "这将从此设备上清除此频道中的所有消息(包括已接收的图片),且无法撤销。",
|
||||
"channels_timeNow": "刚刚",
|
||||
"channels_timeMinutes": "{minutes}分钟",
|
||||
"channels_timeHours": "{hours}小时",
|
||||
"channels_timeDays": "{days}天",
|
||||
"channels_indexChip": "CH {index}",
|
||||
"reaction_unknownSender": "未知",
|
||||
"pathMap_noSelfGpsFix": "本地节点没有 GPS 定位",
|
||||
"pathTrace_sendFailed": "无法发送路径追踪:{error}",
|
||||
"losErrorNoInternet": "海拔数据需要网络连接",
|
||||
"losResultStale": "结果已过期:天线高度已更改",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "正在加载遥测数据…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"settings_notConnectedError": "未连接到电台。请连接后重试。",
|
||||
"settings_requiresConnection": "请连接电台后使用",
|
||||
"settings_txPowerInvalidRange": "TX 功率无效({min} 至 {max} dBm)",
|
||||
"settings_contactSettingsSaved": "联系人设置已保存",
|
||||
"settings_batteryToggleHint": "点按可在百分比和电压之间切换",
|
||||
"settings_publicKeyCopyHint": "复制公钥",
|
||||
"settings_locationClearHelper": "将两个字段都留空即可移除你的位置。",
|
||||
"settings_locationCleared": "位置已移除",
|
||||
"settings_regionFetchDiscovering": "正在查找附近的中继器…",
|
||||
"settings_regionFetchProgress": "正在询问第 {current}/{total} 个中继器…",
|
||||
"settings_regionFetchNoRepeaters": "目前还没有已知的中继器。请将中继器添加为联系人,或等待其广播后重试。",
|
||||
"settings_regionFetchNoneResponded": "附近没有中继器响应。请靠近中继器后重试。",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"appSettings_routingSection": "路由",
|
||||
"appSettings_imageMessagesSection": "图片消息",
|
||||
"appSettings_showApiKey": "显示 API 密钥",
|
||||
"appSettings_hideApiKey": "隐藏 API 密钥",
|
||||
"translation_defaultModelName": "模型",
|
||||
"translation_downloadProgressBytes": "{fileName}:{current} MB",
|
||||
"translation_downloadProgressTotal": "{fileName}:{current} / {total} MB({percent}%)",
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"repeater_radioDisconnected": "电台已断开连接",
|
||||
"repeater_radioDisconnectedHint": "请重新连接电台以发送命令、刷新或保存更改。",
|
||||
"repeater_cliSend": "发送命令",
|
||||
"repeater_cliCopyTranscript": "复制记录",
|
||||
"repeater_cliShareTranscript": "分享记录",
|
||||
"repeater_cliTranscriptCopied": "记录已复制",
|
||||
"repeater_cliClearHistoryConfirm": "清除命令历史?此操作无法撤销。",
|
||||
"repeater_cliSearchCommands": "搜索命令",
|
||||
"repeater_cliNoMatchingCommands": "没有匹配的命令",
|
||||
"debugLog_clearConfirm": "清除所有日志条目?此操作无法撤销。",
|
||||
"repeater_unsavedChangesTitle": "未保存的更改",
|
||||
"repeater_unsavedChangesMessage": "你有尚未保存到中继器的更改。",
|
||||
"repeater_discardChanges": "放弃",
|
||||
"repeater_actionSentNoReply": "{action}:命令已发送。中继器不会回复此命令。",
|
||||
"repeater_invalidSettingValue": "{setting}:{value} 无效",
|
||||
"repeater_txPowerOutOfRange": "TX 功率 {value} 超出范围({min} 至 {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "私钥必须恰好为 {length} 个十六进制字符",
|
||||
"contacts_advertFailed": "无法发送广播",
|
||||
"contacts_manageGroups": "管理分组",
|
||||
"community_shortId": "ID:{id}…",
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "已连接到",
|
||||
"usbChooseSerialPort": "选择串口",
|
||||
"neighbors_durationSeconds": "{seconds}秒",
|
||||
"neighbors_durationMinutes": "{minutes}分{seconds}秒",
|
||||
"neighbors_durationHours": "{hours}小时{minutes}分",
|
||||
"scanner_getNodeTitle": "需要新节点吗?",
|
||||
"scanner_getNodeBody": "钱包大小,运行 MeshCore,双频 GPS,防水,续航 5 天。",
|
||||
"scanner_getNodeAction": "点此获取",
|
||||
"scanner_getNodeDisclosure": "推广链接:每次购买都会支持 MeshCore Open。",
|
||||
"networkMap_settingsSection": "网络地图",
|
||||
"networkMap_uploadTitle": "分享我的电台收到的信息",
|
||||
"networkMap_uploadExplanation": "开启后,当您的电台已连接时,应用会把电台收到的数据包的简要信息发送到 MeshCore Open 网络地图,让大家看到有哪些转发节点以及它们如何相连。发送内容包括每个数据包的类型、路由、跳数、信号强度和大小,以及转发节点自身广播中的名称和大致位置。绝不会发送消息内容、谁在和谁通信、频道名称、您的联系人或您的精确位置:位置会取整到约 2 公里,且应用每天都会使用新的随机 ID。",
|
||||
"networkMap_whatWeCollect": "我们收集的内容",
|
||||
"networkMap_promptTitle": "要帮助建设网络地图吗?",
|
||||
"networkMap_promptBody": "MeshCore Open 可以把您的电台收到的信息分享到公开的网络地图 map.meshcoreopen.org,让大家看到有哪些转发节点以及它们如何相连。\n\n绝不会发送消息内容、谁在和谁通信、频道名称、您的联系人或您的精确位置。位置会取整到约 2 公里。",
|
||||
"networkMap_promptSettingsHint": "您可以随时在 设置 → 应用设置 → 网络地图 中更改。",
|
||||
"networkMap_promptAccept": "分享",
|
||||
"networkMap_promptDecline": "不用了",
|
||||
"networkMap_statusOff": "已关闭。不会发送任何内容。",
|
||||
"networkMap_statusWaiting": "已开启。正在等待电台连接。",
|
||||
"networkMap_statusNothingSent": "已开启。尚未发送任何内容。",
|
||||
"networkMap_statusLastSent": "上次发送 {time}。今天 {count} 个数据包。",
|
||||
"@networkMap_statusLastSent": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
},
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"networkMap_sourceLocal": "本地",
|
||||
"networkMap_sourceOnline": "在线",
|
||||
"networkMap_sourceBoth": "两者",
|
||||
"networkMap_zoomInHint": "放大以查看在线网络地图",
|
||||
"networkMap_loadFailed": "无法加载在线网络地图",
|
||||
"networkMap_inYourContacts": "在您的联系人中",
|
||||
"networkMap_status": "状态",
|
||||
"networkMap_statusActive": "最近一小时内活跃",
|
||||
"networkMap_statusRecent": "最近一天内收到过",
|
||||
"networkMap_statusStale": "近期未收到",
|
||||
"networkMap_confirmed": "已确认",
|
||||
"networkMap_singleSource": "单一来源,尚未确认",
|
||||
"networkMap_reports": "报告",
|
||||
"networkMap_locationEstimated": "大致位置,根据接收到它的节点估算",
|
||||
"networkMap_locationAdvertised": "大致位置,来自其自身广播",
|
||||
"networkMap_heardByRadio": "您的电台收到过",
|
||||
"networkMap_inYourArea": "在您所在区域",
|
||||
"networkMap_farAway": "距离太远,无法管理。",
|
||||
"networkMap_addToContacts": "添加到联系人",
|
||||
"networkMap_manage": "管理",
|
||||
"networkMap_addedToContacts": "已添加到联系人",
|
||||
"networkMap_addFailed": "无法添加到联系人",
|
||||
"networkMap_unnamed": "未命名转发节点"
|
||||
}
|
||||
+28
-9
@@ -23,6 +23,7 @@ import 'services/storage_service.dart';
|
||||
import 'services/message_retry_service.dart';
|
||||
import 'services/path_history_service.dart';
|
||||
import 'services/app_settings_service.dart';
|
||||
import 'services/network_map/network_map_upload_service.dart';
|
||||
import 'services/notification_service.dart';
|
||||
import 'services/ble_debug_log_service.dart';
|
||||
import 'services/app_debug_log_service.dart';
|
||||
@@ -109,7 +110,10 @@ void main() async {
|
||||
// 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 imageReassembler = ImageStreamReassembler(
|
||||
store: receivedImageStore,
|
||||
channelIdForSlot: connector.channelIdForSlot,
|
||||
);
|
||||
final imageTransport = ImageChunkTransport(
|
||||
reassembler: imageReassembler,
|
||||
// The UI sends whole chunk sets through connector.sendImageChunks so it
|
||||
@@ -166,18 +170,20 @@ void main() async {
|
||||
timeoutPredictionService: timeoutPredictionService,
|
||||
imageCodecService: imageCodecService,
|
||||
imageTransport: imageTransport,
|
||||
receivedImageStore: receivedImageStore,
|
||||
// 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();
|
||||
await connector.loadChannelSettings();
|
||||
await connector.loadCachedChannels();
|
||||
final networkMapUploadService = NetworkMapUploadService(
|
||||
connector: connector,
|
||||
settings: appSettingsService,
|
||||
);
|
||||
|
||||
// Load persisted channel messages
|
||||
await connector.loadAllChannelMessages();
|
||||
await connector.loadContactCache();
|
||||
await connector.loadCachedChannels();
|
||||
await connector.loadUnreadState();
|
||||
|
||||
runApp(
|
||||
@@ -197,6 +203,7 @@ void main() async {
|
||||
imageCodecService: imageCodecService,
|
||||
receivedImageStore: receivedImageStore,
|
||||
imageReassembler: imageReassembler,
|
||||
networkMapUploadService: networkMapUploadService,
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -259,7 +266,7 @@ class AppSettingsImageCodecStore implements ImageCodecSettingsStore {
|
||||
|
||||
/// An [ImageReassembler] that (a) learns the local sender prefix after
|
||||
/// SELF_INFO and (b) forwards every outcome to [ReceivedImageStore] together
|
||||
/// with the channel index.
|
||||
/// with the channel index and the channel ID that slot holds.
|
||||
///
|
||||
/// Both exist because of upstream shapes this file cannot change:
|
||||
/// * `ImageReassembler.selfPrefix` is `final`, but the local public key does
|
||||
@@ -273,9 +280,12 @@ class AppSettingsImageCodecStore implements ImageCodecSettingsStore {
|
||||
class ImageStreamReassembler extends ImageReassembler {
|
||||
final ReceivedImageStore store;
|
||||
|
||||
/// Resolves the radio slot a chunk arrived on to its [Channel.storageId].
|
||||
final String? Function(int channelIndex)? channelIdForSlot;
|
||||
|
||||
int? _selfPrefix;
|
||||
|
||||
ImageStreamReassembler({required this.store})
|
||||
ImageStreamReassembler({required this.store, this.channelIdForSlot})
|
||||
: super(onFailed: ((failure) => unawaited(store.handleFailure(failure))));
|
||||
|
||||
@override
|
||||
@@ -290,7 +300,13 @@ class ImageStreamReassembler extends ImageReassembler {
|
||||
DateTime? now,
|
||||
}) {
|
||||
final outcome = super.addChunk(blob, channelIndex: channelIndex, now: now);
|
||||
unawaited(store.handleOutcome(outcome, channelIndex: channelIndex));
|
||||
unawaited(
|
||||
store.handleOutcome(
|
||||
outcome,
|
||||
channelIndex: channelIndex,
|
||||
channelId: channelIdForSlot?.call(channelIndex),
|
||||
),
|
||||
);
|
||||
return outcome;
|
||||
}
|
||||
}
|
||||
@@ -332,6 +348,7 @@ class MeshCoreApp extends StatefulWidget {
|
||||
final ImageCodecService imageCodecService;
|
||||
final ReceivedImageStore receivedImageStore;
|
||||
final ImageStreamReassembler imageReassembler;
|
||||
final NetworkMapUploadService networkMapUploadService;
|
||||
|
||||
const MeshCoreApp({
|
||||
super.key,
|
||||
@@ -350,6 +367,7 @@ class MeshCoreApp extends StatefulWidget {
|
||||
required this.imageCodecService,
|
||||
required this.receivedImageStore,
|
||||
required this.imageReassembler,
|
||||
required this.networkMapUploadService,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -432,6 +450,7 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
|
||||
ChangeNotifierProvider.value(value: widget.timeoutPredictionService),
|
||||
ChangeNotifierProvider.value(value: widget.imageCodecService),
|
||||
ChangeNotifierProvider.value(value: widget.receivedImageStore),
|
||||
ChangeNotifierProvider.value(value: widget.networkMapUploadService),
|
||||
],
|
||||
child: Consumer<AppSettingsService>(
|
||||
builder: (context, settingsService, child) {
|
||||
|
||||
@@ -162,6 +162,12 @@ class AppSettings {
|
||||
final String uploadIpfsEndpoint;
|
||||
final String uploadIpfsApiKey;
|
||||
|
||||
/// Opt-in upload of header-only packet records to the network map.
|
||||
final bool networkMapUploadEnabled;
|
||||
|
||||
/// Whether the one-time network map opt-in dialog has been shown.
|
||||
final bool networkMapPromptShown;
|
||||
|
||||
/// 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
|
||||
@@ -273,11 +279,13 @@ class AppSettings {
|
||||
this.tcpServerAddress = '',
|
||||
this.tcpServerPort = 0,
|
||||
this.jumpToOldestUnread = false,
|
||||
this.imageMessagesEnabled = false,
|
||||
this.networkMapUploadEnabled = false,
|
||||
this.networkMapPromptShown = false,
|
||||
this.publicIpfsGateway = defaultPublicIpfsGateway,
|
||||
this.uploadIpfsGateway = '',
|
||||
this.uploadIpfsEndpoint = '',
|
||||
this.uploadIpfsApiKey = '',
|
||||
this.imageMessagesEnabled = false,
|
||||
this.imageProcessAutomatically = false,
|
||||
this.imageCodecEnabled = false,
|
||||
this.imageCodecSelectedModelId,
|
||||
@@ -359,11 +367,13 @@ class AppSettings {
|
||||
'tcp_server_address': tcpServerAddress,
|
||||
'tcp_server_port': tcpServerPort,
|
||||
'jump_to_oldest_unread': jumpToOldestUnread,
|
||||
'image_messages_enabled': imageMessagesEnabled,
|
||||
'network_map_upload_enabled': networkMapUploadEnabled,
|
||||
'network_map_prompt_shown': networkMapPromptShown,
|
||||
'public_ipfs_gateway': publicIpfsGateway,
|
||||
'upload_ipfs_gateway': uploadIpfsGateway,
|
||||
'upload_ipfs_endpoint': uploadIpfsEndpoint,
|
||||
'upload_ipfs_api_key': uploadIpfsApiKey,
|
||||
'image_messages_enabled': imageMessagesEnabled,
|
||||
'image_process_automatically': imageProcessAutomatically,
|
||||
'image_codec_enabled': imageCodecEnabled,
|
||||
'image_codec_selected_model_id': imageCodecSelectedModelId,
|
||||
@@ -470,13 +480,16 @@ 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,
|
||||
networkMapUploadEnabled:
|
||||
json['network_map_upload_enabled'] as bool? ?? false,
|
||||
networkMapPromptShown: json['network_map_prompt_shown'] as bool? ?? false,
|
||||
publicIpfsGateway: migratePublicIpfsGateway(
|
||||
json['public_ipfs_gateway'] as String?,
|
||||
),
|
||||
uploadIpfsGateway: json['upload_ipfs_gateway'] as String? ?? '',
|
||||
uploadIpfsEndpoint: json['upload_ipfs_endpoint'] as String? ?? '',
|
||||
uploadIpfsApiKey: json['upload_ipfs_api_key'] as String? ?? '',
|
||||
imageMessagesEnabled: json['image_messages_enabled'] as bool? ?? false,
|
||||
imageProcessAutomatically:
|
||||
json['image_process_automatically'] as bool? ?? false,
|
||||
imageCodecEnabled: json['image_codec_enabled'] as bool? ?? false,
|
||||
@@ -596,11 +609,13 @@ class AppSettings {
|
||||
String? tcpServerAddress,
|
||||
int? tcpServerPort,
|
||||
bool? jumpToOldestUnread,
|
||||
bool? imageMessagesEnabled,
|
||||
bool? networkMapUploadEnabled,
|
||||
bool? networkMapPromptShown,
|
||||
String? publicIpfsGateway,
|
||||
String? uploadIpfsGateway,
|
||||
String? uploadIpfsEndpoint,
|
||||
String? uploadIpfsApiKey,
|
||||
bool? imageMessagesEnabled,
|
||||
bool? imageProcessAutomatically,
|
||||
bool? imageCodecEnabled,
|
||||
Object? imageCodecSelectedModelId = _unset,
|
||||
@@ -685,11 +700,15 @@ class AppSettings {
|
||||
tcpServerAddress: tcpServerAddress ?? this.tcpServerAddress,
|
||||
tcpServerPort: tcpServerPort ?? this.tcpServerPort,
|
||||
jumpToOldestUnread: jumpToOldestUnread ?? this.jumpToOldestUnread,
|
||||
imageMessagesEnabled: imageMessagesEnabled ?? this.imageMessagesEnabled,
|
||||
networkMapUploadEnabled:
|
||||
networkMapUploadEnabled ?? this.networkMapUploadEnabled,
|
||||
networkMapPromptShown:
|
||||
networkMapPromptShown ?? this.networkMapPromptShown,
|
||||
publicIpfsGateway: publicIpfsGateway ?? this.publicIpfsGateway,
|
||||
uploadIpfsGateway: uploadIpfsGateway ?? this.uploadIpfsGateway,
|
||||
uploadIpfsEndpoint: uploadIpfsEndpoint ?? this.uploadIpfsEndpoint,
|
||||
uploadIpfsApiKey: uploadIpfsApiKey ?? this.uploadIpfsApiKey,
|
||||
imageMessagesEnabled: imageMessagesEnabled ?? this.imageMessagesEnabled,
|
||||
imageProcessAutomatically:
|
||||
imageProcessAutomatically ?? this.imageProcessAutomatically,
|
||||
imageCodecEnabled: imageCodecEnabled ?? this.imageCodecEnabled,
|
||||
|
||||
@@ -25,6 +25,25 @@ class Channel {
|
||||
|
||||
bool get isEmpty => name.isEmpty && psk.every((b) => b == 0);
|
||||
|
||||
/// Key for this channel's persisted data (messages, settings, region,
|
||||
/// order, images). Derived from the PSK so it follows the channel across
|
||||
/// radio slots; null for an empty slot.
|
||||
late final String? storageId = storageIdForPsk(psk);
|
||||
|
||||
static const String _storageIdDomain = 'meshcore-channel:';
|
||||
|
||||
/// First 8 bytes of SHA-256("meshcore-channel:" + psk) as 16 hex chars, or
|
||||
/// null for an all-zero PSK. Not the 1-byte on-air channel hash, which
|
||||
/// collides.
|
||||
static String? storageIdForPsk(Uint8List psk) {
|
||||
if (psk.every((b) => b == 0)) return null;
|
||||
final digest = crypto.sha256.convert([
|
||||
...utf8.encode(_storageIdDomain),
|
||||
...psk,
|
||||
]);
|
||||
return _bytesToHex(Uint8List.fromList(digest.bytes.sublist(0, 8)));
|
||||
}
|
||||
|
||||
/// Key used for per-channel notification muting.
|
||||
String get muteKey => name.isEmpty ? 'Channel $index' : name;
|
||||
|
||||
|
||||
@@ -124,6 +124,7 @@ class ChannelMessage {
|
||||
MessageTranslationStatus? translationStatus,
|
||||
Object? translationModelId = _unset,
|
||||
Map<String, List<String?>>? reactions,
|
||||
int? channelIndex,
|
||||
}) {
|
||||
return ChannelMessage(
|
||||
senderKey: senderKey,
|
||||
@@ -152,7 +153,7 @@ class ChannelMessage {
|
||||
pathHashWidth: pathHashWidth ?? this.pathHashWidth,
|
||||
pathBytes: pathBytes ?? this.pathBytes,
|
||||
pathVariants: pathVariants ?? this.pathVariants,
|
||||
channelIndex: channelIndex,
|
||||
channelIndex: channelIndex ?? this.channelIndex,
|
||||
region: region == _unset ? this.region : region as String?,
|
||||
messageId: messageId,
|
||||
packetHash: packetHash ?? this.packetHash,
|
||||
|
||||
@@ -6,6 +6,7 @@ import '../l10n/l10n.dart';
|
||||
import '../services/app_debug_log_service.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../widgets/adaptive_app_bar_title.dart';
|
||||
import '../widgets/confirm_clear_dialog.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
|
||||
class AppDebugLogScreen extends StatelessWidget {
|
||||
@@ -17,6 +18,8 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
builder: (context, logService, _) {
|
||||
final entries = logService.entries.reversed.toList();
|
||||
final hasEntries = entries.isNotEmpty;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
@@ -47,8 +50,13 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
tooltip: context.l10n.debugLog_clearLog,
|
||||
icon: const Icon(Icons.delete_outline),
|
||||
onPressed: hasEntries
|
||||
? () {
|
||||
logService.clear();
|
||||
? () async {
|
||||
final confirmed = await showConfirmClearDialog(
|
||||
context,
|
||||
title: context.l10n.debugLog_clearLog,
|
||||
message: context.l10n.debugLog_clearConfirm,
|
||||
);
|
||||
if (confirmed) logService.clear();
|
||||
}
|
||||
: null,
|
||||
),
|
||||
@@ -60,11 +68,11 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
? ListView.separated(
|
||||
itemCount: entries.length,
|
||||
separatorBuilder: (_, _) =>
|
||||
const Divider(height: 1, color: MeshPalette.line),
|
||||
Divider(height: 1, color: scheme.outlineVariant),
|
||||
itemBuilder: (context, index) {
|
||||
final entry = entries[index];
|
||||
return Container(
|
||||
color: MeshPalette.bg,
|
||||
color: scheme.surfaceContainerLowest,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 16,
|
||||
vertical: 8,
|
||||
@@ -84,15 +92,18 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
TextSpan(
|
||||
text: '[${entry.tag}] ',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11.5,
|
||||
color: _levelColor(entry.level),
|
||||
fontSize: 13,
|
||||
color: _levelColor(
|
||||
context,
|
||||
entry.level,
|
||||
),
|
||||
),
|
||||
),
|
||||
TextSpan(
|
||||
text: entry.message,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11.5,
|
||||
color: MeshPalette.ink2,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -102,8 +113,8 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
Text(
|
||||
entry.formattedTime,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 9.5,
|
||||
color: MeshPalette.ink4,
|
||||
fontSize: 12,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -118,25 +129,25 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
Icon(
|
||||
Icons.bug_report_outlined,
|
||||
size: 64,
|
||||
color: MeshPalette.ink3,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
context.l10n.debugLog_noEntries,
|
||||
style: const TextStyle(
|
||||
fontSize: 16,
|
||||
color: MeshPalette.ink3,
|
||||
textAlign: TextAlign.center,
|
||||
style: textTheme.titleMedium?.copyWith(
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
context.l10n.debugLog_enableInSettings,
|
||||
style: const TextStyle(
|
||||
fontSize: 12,
|
||||
color: MeshPalette.ink3,
|
||||
textAlign: TextAlign.center,
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -148,36 +159,38 @@ class AppDebugLogScreen extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
Color _levelColor(AppDebugLogLevel level) {
|
||||
Color _levelColor(BuildContext context, AppDebugLogLevel level) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final isDark = Theme.of(context).brightness == Brightness.dark;
|
||||
switch (level) {
|
||||
case AppDebugLogLevel.info:
|
||||
return MeshPalette.blue;
|
||||
return scheme.primary;
|
||||
case AppDebugLogLevel.warning:
|
||||
return MeshPalette.warn;
|
||||
return isDark ? MeshPalette.warn : MeshPalette.warnDim;
|
||||
case AppDebugLogLevel.error:
|
||||
return MeshPalette.alert;
|
||||
return scheme.error;
|
||||
}
|
||||
}
|
||||
|
||||
Widget _buildLevelIcon(BuildContext context, AppDebugLogLevel level) {
|
||||
switch (level) {
|
||||
case AppDebugLogLevel.info:
|
||||
return const Icon(
|
||||
return Icon(
|
||||
Icons.info_outline,
|
||||
size: 18,
|
||||
color: MeshPalette.blue,
|
||||
size: 20,
|
||||
color: _levelColor(context, level),
|
||||
);
|
||||
case AppDebugLogLevel.warning:
|
||||
return const Icon(
|
||||
return Icon(
|
||||
Icons.warning_amber_outlined,
|
||||
size: 18,
|
||||
color: MeshPalette.warn,
|
||||
size: 20,
|
||||
color: _levelColor(context, level),
|
||||
);
|
||||
case AppDebugLogLevel.error:
|
||||
return const Icon(
|
||||
return Icon(
|
||||
Icons.error_outline,
|
||||
size: 18,
|
||||
color: MeshPalette.alert,
|
||||
size: 20,
|
||||
color: _levelColor(context, level),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
+367
-1611
File diff suppressed because it is too large.
Load diff
@@ -6,6 +6,7 @@ import '../services/ble_debug_log_service.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../widgets/adaptive_app_bar_title.dart';
|
||||
import '../widgets/confirm_clear_dialog.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
|
||||
enum _BleLogView { frames, rawLogRx }
|
||||
@@ -37,6 +38,9 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
final hasEntries = showingFrames
|
||||
? entries.isNotEmpty
|
||||
: rawEntries.isNotEmpty;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final isDark = Theme.of(context).brightness == Brightness.dark;
|
||||
final rxColor = isDark ? MeshPalette.signal : MeshPalette.signalDim;
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: AdaptiveAppBarTitle(context.l10n.debugLog_bleTitle),
|
||||
@@ -73,8 +77,13 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
tooltip: context.l10n.debugLog_clearLog,
|
||||
icon: const Icon(Icons.delete_outline),
|
||||
onPressed: hasEntries
|
||||
? () {
|
||||
logService.clear();
|
||||
? () async {
|
||||
final confirmed = await showConfirmClearDialog(
|
||||
context,
|
||||
title: context.l10n.debugLog_clearLog,
|
||||
message: context.l10n.debugLog_clearConfirm,
|
||||
);
|
||||
if (confirmed) logService.clear();
|
||||
}
|
||||
: null,
|
||||
),
|
||||
@@ -111,7 +120,7 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
? entries.length
|
||||
: rawEntries.length,
|
||||
separatorBuilder: (_, _) =>
|
||||
const Divider(height: 1, color: MeshPalette.line),
|
||||
Divider(height: 1, color: scheme.outlineVariant),
|
||||
itemBuilder: (context, index) {
|
||||
if (showingFrames) {
|
||||
final entry = entries[index];
|
||||
@@ -144,7 +153,7 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
onLongPress: copyHex,
|
||||
onSecondaryTap: copyHex,
|
||||
child: Container(
|
||||
color: MeshPalette.bg,
|
||||
color: scheme.surfaceContainerLowest,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 16,
|
||||
vertical: 8,
|
||||
@@ -157,10 +166,10 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
entry.outgoing
|
||||
? Icons.upload
|
||||
: Icons.download,
|
||||
size: 18,
|
||||
size: 20,
|
||||
color: entry.outgoing
|
||||
? MeshPalette.blue
|
||||
: MeshPalette.signal,
|
||||
? scheme.primary
|
||||
: rxColor,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Expanded(
|
||||
@@ -171,24 +180,24 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
Text(
|
||||
entry.description,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11.5,
|
||||
color: MeshPalette.ink,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
entry.hexPreview,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 10,
|
||||
color: MeshPalette.ink3,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
time,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 9.5,
|
||||
color: MeshPalette.ink4,
|
||||
fontSize: 12,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -207,7 +216,7 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
return GestureDetector(
|
||||
onTap: () => _showRawDialog(context, info),
|
||||
child: Container(
|
||||
color: MeshPalette.bg,
|
||||
color: scheme.surfaceContainerLowest,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 16,
|
||||
vertical: 8,
|
||||
@@ -215,10 +224,10 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const Icon(
|
||||
Icon(
|
||||
Icons.download,
|
||||
size: 18,
|
||||
color: MeshPalette.signal,
|
||||
size: 20,
|
||||
color: rxColor,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Expanded(
|
||||
@@ -229,24 +238,24 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
Text(
|
||||
info.title,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11.5,
|
||||
color: MeshPalette.ink,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
info.summary,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 10,
|
||||
color: MeshPalette.ink3,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
time,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 9.5,
|
||||
color: MeshPalette.ink4,
|
||||
fontSize: 12,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -259,9 +268,14 @@ class _BleDebugLogScreenState extends State<BleDebugLogScreen> {
|
||||
},
|
||||
)
|
||||
: Center(
|
||||
child: Text(
|
||||
context.l10n.debugLog_noBleActivity,
|
||||
style: const TextStyle(color: MeshPalette.ink3),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(24),
|
||||
child: Text(
|
||||
context.l10n.debugLog_noBleActivity,
|
||||
textAlign: TextAlign.center,
|
||||
style: Theme.of(context).textTheme.bodyLarge
|
||||
?.copyWith(color: scheme.onSurfaceVariant),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+1001
-938
File diff suppressed because it is too large.
Load diff
+158
-576
@@ -26,22 +26,21 @@ import '../models/channel_message.dart';
|
||||
import '../models/contact.dart';
|
||||
import '../l10n/contact_localization.dart';
|
||||
import '../models/message.dart';
|
||||
import '../models/translation_support.dart';
|
||||
import '../services/app_settings_service.dart';
|
||||
import '../services/chat_text_scale_service.dart';
|
||||
import '../services/path_history_service.dart';
|
||||
import '../services/translation_service.dart';
|
||||
import '../widgets/chat_composer.dart';
|
||||
import '../widgets/chat_send_pipeline.dart';
|
||||
import '../widgets/chat_zoom_wrapper.dart';
|
||||
import '../widgets/byte_count_input.dart';
|
||||
import '../widgets/marker_label_dialog.dart';
|
||||
import '../widgets/message_bubble_frame.dart';
|
||||
import '../widgets/reaction_chips.dart';
|
||||
import '../widgets/chat_day_separator.dart';
|
||||
import 'channel_message_path_screen.dart';
|
||||
import 'map_screen.dart';
|
||||
import '../widgets/emoji_picker.dart';
|
||||
import '../widgets/gif_message.dart';
|
||||
import '../widgets/jump_to_bottom_button.dart';
|
||||
import '../widgets/gif_picker.dart';
|
||||
import '../widgets/message_translation_button.dart';
|
||||
import '../widgets/routing_sheet.dart';
|
||||
import '../widgets/radio_stats_entry.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
@@ -85,14 +84,18 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
MeshCoreConnector? _connector;
|
||||
Message? _pendingUnreadScrollTarget;
|
||||
String? _unreadDividerMessageId;
|
||||
DateTime? _lastTextSendAt;
|
||||
// True while a send is awaiting outgoing translation, so a second tap
|
||||
// can't send the same text again.
|
||||
bool _isSendingText = false;
|
||||
final ChatSendGuard _sendGuard = ChatSendGuard();
|
||||
|
||||
/// Contact keys of the chat screens currently on the navigation stack, in
|
||||
/// push order. A room chat can push a nested ChatScreen for one of its
|
||||
/// posters; when that one is popped, the room underneath must become the
|
||||
/// active conversation again rather than none at all.
|
||||
static final List<String> _activeContactStack = [];
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_activeContactStack.add(widget.contact.publicKeyHex);
|
||||
_textFieldFocusNode.addListener(_onTextFieldFocusChange);
|
||||
_scrollController.onScrollNearTop = _loadOlderMessages;
|
||||
_scrollController.showJumpToBottom.addListener(_clearDividerAtBottom);
|
||||
@@ -181,7 +184,16 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_connector?.setActiveContact(null);
|
||||
final index = _activeContactStack.lastIndexOf(widget.contact.publicKeyHex);
|
||||
final wasTop = index == _activeContactStack.length - 1;
|
||||
if (index >= 0) _activeContactStack.removeAt(index);
|
||||
if (wasTop) {
|
||||
// Restore whichever chat is now on top (e.g. the room this nested chat
|
||||
// was opened from), or clear when this was the only one.
|
||||
_connector?.setActiveContact(
|
||||
_activeContactStack.isEmpty ? null : _activeContactStack.last,
|
||||
);
|
||||
}
|
||||
_scrollController.showJumpToBottom.removeListener(_clearDividerAtBottom);
|
||||
_textFieldFocusNode.removeListener(_onTextFieldFocusChange);
|
||||
_textFieldFocusNode.dispose();
|
||||
@@ -214,15 +226,26 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
ContactRoutingSheet.show(context, contact: contact),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 6),
|
||||
child: Text(
|
||||
pathLabel,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
fontSize: 11,
|
||||
fontWeight: FontWeight.normal,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationStyle: TextDecorationStyle.dotted,
|
||||
),
|
||||
child: Builder(
|
||||
builder: (context) {
|
||||
// Follows the chat text size, capped so the two-line
|
||||
// title still fits the app bar.
|
||||
final textScale = context
|
||||
.select<ChatTextScaleService, double>(
|
||||
(service) => service.scale,
|
||||
)
|
||||
.clamp(1.0, 1.3);
|
||||
return Text(
|
||||
pathLabel,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 12 * textScale,
|
||||
fontWeight: FontWeight.normal,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationStyle: TextDecorationStyle.dotted,
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -480,269 +503,57 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
}
|
||||
|
||||
Widget _buildInputBar(MeshCoreConnector connector) {
|
||||
final maxBytes = maxContactMessageBytes();
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final settings = context.watch<AppSettingsService>().settings;
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: scheme.surface,
|
||||
border: Border(top: BorderSide(color: scheme.outlineVariant, width: 1)),
|
||||
),
|
||||
child: SafeArea(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 6),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Builder(
|
||||
builder: (menuContext) {
|
||||
return IconButton(
|
||||
icon: const Icon(Icons.add_circle_outline),
|
||||
tooltip: context.l10n.chat_selectSendAction,
|
||||
onPressed: () async {
|
||||
final RenderBox button =
|
||||
menuContext.findRenderObject() as RenderBox;
|
||||
final RenderBox overlay =
|
||||
Overlay.of(menuContext).context.findRenderObject()
|
||||
as RenderBox;
|
||||
final Offset buttonOffset = button.localToGlobal(
|
||||
Offset.zero,
|
||||
ancestor: overlay,
|
||||
);
|
||||
final items = <PopupMenuEntry<String>>[
|
||||
PopupMenuItem(
|
||||
value: 'gif',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.gif_box),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_sendGif),
|
||||
],
|
||||
),
|
||||
),
|
||||
];
|
||||
if (settings.uploadIpfsEndpoint.trim().isNotEmpty) {
|
||||
items.add(
|
||||
PopupMenuItem(
|
||||
value: 'ipfs-image',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.cloud_upload_outlined),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_sendImageIpfs),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
items.add(
|
||||
PopupMenuItem(
|
||||
value: 'send-my-location',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.my_location),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_shareMyLocation),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
final menuHeight =
|
||||
items.length * kMinInteractiveDimension + 16;
|
||||
final menuTop = (buttonOffset.dy - menuHeight).clamp(
|
||||
8.0,
|
||||
overlay.size.height,
|
||||
);
|
||||
final position = RelativeRect.fromLTRB(
|
||||
buttonOffset.dx,
|
||||
menuTop,
|
||||
overlay.size.width -
|
||||
buttonOffset.dx -
|
||||
button.size.width,
|
||||
overlay.size.height - buttonOffset.dy,
|
||||
);
|
||||
|
||||
final selected = await showMenu<String>(
|
||||
context: menuContext,
|
||||
position: position,
|
||||
items: items,
|
||||
);
|
||||
if (!mounted || !menuContext.mounted) return;
|
||||
if (selected == null) return;
|
||||
switch (selected) {
|
||||
case 'gif':
|
||||
_showGifPicker(context);
|
||||
break;
|
||||
case 'ipfs-image':
|
||||
_sendImageViaIpfs();
|
||||
break;
|
||||
case 'send-my-location':
|
||||
await _shareMyLocation(
|
||||
context.read<MeshCoreConnector>(),
|
||||
);
|
||||
break;
|
||||
}
|
||||
},
|
||||
);
|
||||
},
|
||||
),
|
||||
if (settings.translationEnabled)
|
||||
MessageTranslationButton(
|
||||
enabled: settings.composerTranslationEnabled,
|
||||
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).
|
||||
// IPFS shares a URL as ordinary text instead.
|
||||
Expanded(
|
||||
child: ValueListenableBuilder<TextEditingValue>(
|
||||
valueListenable: _textController,
|
||||
builder: (context, value, child) {
|
||||
final gifId = GifHelper.parseGif(value.text);
|
||||
if (gifId != null) {
|
||||
return Focus(
|
||||
autofocus: true,
|
||||
onKeyEvent: (node, event) {
|
||||
if (event is KeyDownEvent &&
|
||||
(event.logicalKey == LogicalKeyboardKey.enter ||
|
||||
event.logicalKey ==
|
||||
LogicalKeyboardKey.numpadEnter)) {
|
||||
_sendMessage(connector);
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
return KeyEventResult.ignored;
|
||||
},
|
||||
child: Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
child: GifMessage(
|
||||
url:
|
||||
'https://media.giphy.com/media/$gifId/giphy.gif',
|
||||
backgroundColor:
|
||||
scheme.surfaceContainerHighest,
|
||||
fallbackTextColor: scheme.onSurface
|
||||
.withValues(alpha: 0.6),
|
||||
maxSize: 160,
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.close),
|
||||
tooltip: context.l10n.chat_removeGif,
|
||||
onPressed: () {
|
||||
_textController.clear();
|
||||
_textFieldFocusNode.requestFocus();
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
return ByteCountedTextField(
|
||||
maxBytes: maxBytes,
|
||||
softLimitBytes:
|
||||
maxTextPayloadBytesAfterFullLengthAttempts,
|
||||
softLimitNote: context.l10n.chat_longMessageRetryNote(
|
||||
maxFullLengthTextAttempt + 1,
|
||||
),
|
||||
controller: _textController,
|
||||
focusNode: _textFieldFocusNode,
|
||||
hintText: context.l10n.chat_typeMessage,
|
||||
onSubmitted: (_) => _sendMessage(connector),
|
||||
encoder:
|
||||
(connector.isContactSmazEnabled(
|
||||
widget.contact.publicKeyHex,
|
||||
) ||
|
||||
connector.isContactCyr2LatEnabled(
|
||||
widget.contact.publicKeyHex,
|
||||
))
|
||||
? (text) => connector.prepareContactOutboundText(
|
||||
widget.contact,
|
||||
text,
|
||||
)
|
||||
: null,
|
||||
decoration: InputDecoration(
|
||||
hintText: context.l10n.chat_typeMessage,
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
borderSide: BorderSide(color: scheme.outlineVariant),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
borderSide: BorderSide(color: scheme.outlineVariant),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
borderSide: BorderSide(
|
||||
color: scheme.primary,
|
||||
width: 1.5,
|
||||
),
|
||||
),
|
||||
filled: true,
|
||||
fillColor: scheme.surfaceContainerLow,
|
||||
contentPadding: const EdgeInsets.symmetric(
|
||||
horizontal: 18,
|
||||
vertical: 12,
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
ValueListenableBuilder<TextEditingValue>(
|
||||
valueListenable: _textController,
|
||||
builder: (context, value, _) {
|
||||
final hasText = value.text.trim().isNotEmpty;
|
||||
return AnimatedContainer(
|
||||
duration: const Duration(milliseconds: 180),
|
||||
curve: Curves.easeInOut,
|
||||
child: IconButton.filled(
|
||||
icon: const Icon(Icons.send, size: 20),
|
||||
tooltip: context.l10n.chat_sendMessageTo(
|
||||
_resolveContact(connector).name,
|
||||
),
|
||||
style: IconButton.styleFrom(
|
||||
backgroundColor: hasText
|
||||
? scheme.primary
|
||||
: scheme.surfaceContainerHighest,
|
||||
foregroundColor: hasText
|
||||
? scheme.onPrimary
|
||||
: scheme.onSurfaceVariant,
|
||||
minimumSize: const Size(40, 40),
|
||||
shape: const CircleBorder(),
|
||||
),
|
||||
onPressed: hasText
|
||||
? () {
|
||||
HapticFeedback.lightImpact();
|
||||
_sendMessage(connector);
|
||||
}
|
||||
: null,
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
final keyHex = widget.contact.publicKeyHex;
|
||||
final useEncoder =
|
||||
connector.isContactSmazEnabled(keyHex) ||
|
||||
connector.isContactCyr2LatEnabled(keyHex);
|
||||
final showIpfsAction = context.select<AppSettingsService, bool>(
|
||||
(s) => s.settings.uploadIpfsEndpoint.trim().isNotEmpty,
|
||||
);
|
||||
}
|
||||
|
||||
void _showGifPicker(BuildContext context) {
|
||||
showModalBottomSheet(
|
||||
context: context,
|
||||
isScrollControlled: true,
|
||||
builder: (context) => GifPicker(
|
||||
onGifSelected: (gifId) {
|
||||
_textController.text = GifHelper.encodeGif(gifId);
|
||||
},
|
||||
return ChatComposer(
|
||||
controller: _textController,
|
||||
focusNode: _textFieldFocusNode,
|
||||
maxBytes: maxContactMessageBytes(),
|
||||
softLimitBytes: maxTextPayloadBytesAfterFullLengthAttempts,
|
||||
softLimitNote: context.l10n.chat_longMessageRetryNote(
|
||||
maxFullLengthTextAttempt + 1,
|
||||
),
|
||||
encoder: useEncoder
|
||||
? (text) => connector.prepareContactOutboundText(widget.contact, text)
|
||||
: null,
|
||||
onSend: () => _sendMessage(connector),
|
||||
sendTooltip: context.l10n.chat_sendMessageTo(
|
||||
_resolveContact(connector).name,
|
||||
),
|
||||
actionsBuilder: () => [
|
||||
ChatComposerAction(
|
||||
id: 'gif',
|
||||
icon: Icons.gif_box,
|
||||
label: context.l10n.chat_sendGif,
|
||||
),
|
||||
if (showIpfsAction)
|
||||
ChatComposerAction(
|
||||
id: 'ipfs-image',
|
||||
icon: Icons.cloud_upload_outlined,
|
||||
label: context.l10n.chat_sendImageIpfs,
|
||||
),
|
||||
ChatComposerAction(
|
||||
id: 'send-my-location',
|
||||
icon: Icons.my_location,
|
||||
label: context.l10n.chat_shareMyLocation,
|
||||
),
|
||||
],
|
||||
onAction: (action) {
|
||||
if (!mounted) return;
|
||||
switch (action) {
|
||||
case 'gif':
|
||||
showChatGifPicker(context, _textController);
|
||||
case 'ipfs-image':
|
||||
_sendImageViaIpfs();
|
||||
case 'send-my-location':
|
||||
_shareMyLocation(context.read<MeshCoreConnector>());
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@@ -852,119 +663,31 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
_textFieldFocusNode.requestFocus();
|
||||
}
|
||||
|
||||
Future<void> _showTranslationOptions() async {
|
||||
final settingsService = context.read<AppSettingsService>();
|
||||
final settings = settingsService.settings;
|
||||
await showMessageTranslationSheet(
|
||||
context: context,
|
||||
enabled: settings.composerTranslationEnabled,
|
||||
selectedLanguageCode: settings.translationTargetLanguageCode,
|
||||
onEnabledChanged: settingsService.setComposerTranslationEnabled,
|
||||
onLanguageSelected: settingsService.setTranslationTargetLanguageCode,
|
||||
);
|
||||
}
|
||||
|
||||
/// Shares the radio's own position as a map marker. Shares the text send
|
||||
/// guard and cooldown so it can't race or flood alongside typed messages.
|
||||
Future<void> _shareMyLocation(MeshCoreConnector connector) async {
|
||||
final lat = connector.selfLatitude;
|
||||
final lon = connector.selfLongitude;
|
||||
if (!hasShareableLocation(lat, lon)) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.chat_noRadioLocation),
|
||||
);
|
||||
return;
|
||||
}
|
||||
final selfName = connector.selfName;
|
||||
final label = await showMarkerLabelDialog(
|
||||
context,
|
||||
lat: lat!,
|
||||
lon: lon!,
|
||||
defaultLabel: selfName != null && selfName.isNotEmpty
|
||||
? selfName
|
||||
: context.l10n.map_sharedPin,
|
||||
flags: 'poi',
|
||||
confirmText: context.l10n.common_share,
|
||||
Future<void> _shareMyLocation(MeshCoreConnector connector) {
|
||||
return shareMyLocationMarker(
|
||||
context: context,
|
||||
connector: connector,
|
||||
guard: _sendGuard,
|
||||
send: (markerText) =>
|
||||
connector.sendMessage(_resolveContact(connector), markerText),
|
||||
);
|
||||
if (label == null || label.isEmpty || !mounted || _isSendingText) return;
|
||||
final now = DateTime.now();
|
||||
if (_lastTextSendAt != null &&
|
||||
now.difference(_lastTextSendAt!) < const Duration(seconds: 1)) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.chat_sendCooldown),
|
||||
);
|
||||
return;
|
||||
}
|
||||
_lastTextSendAt = now;
|
||||
_isSendingText = true;
|
||||
try {
|
||||
await connector.sendMessage(
|
||||
_resolveContact(connector),
|
||||
formatMarkerText(lat, lon, label, 'poi'),
|
||||
);
|
||||
} catch (e) {
|
||||
appLogger.warn('Sharing location failed: $e', tag: 'Chat');
|
||||
} finally {
|
||||
_isSendingText = false;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _sendMessage(MeshCoreConnector connector) async {
|
||||
if (_isSendingText) return;
|
||||
_isSendingText = true;
|
||||
try {
|
||||
await _sendMessageInner(connector);
|
||||
} finally {
|
||||
_isSendingText = false;
|
||||
}
|
||||
Future<void> _sendMessage(MeshCoreConnector connector) {
|
||||
return _sendGuard.runExclusive(() => _sendMessageInner(connector));
|
||||
}
|
||||
|
||||
Future<void> _sendMessageInner(MeshCoreConnector connector) async {
|
||||
final text = _textController.text.trim();
|
||||
if (text.isEmpty) return;
|
||||
if (!_sendGuard.checkCooldown(context)) return;
|
||||
|
||||
final now = DateTime.now();
|
||||
if (_lastTextSendAt != null &&
|
||||
now.difference(_lastTextSendAt!) < const Duration(seconds: 1)) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.chat_sendCooldown),
|
||||
);
|
||||
return;
|
||||
}
|
||||
_lastTextSendAt = now;
|
||||
final translation = await translateOutgoingText(context, text);
|
||||
if (translation == null || !mounted) return;
|
||||
var outgoingText = translation.text;
|
||||
|
||||
final settings = context.read<AppSettingsService>().settings;
|
||||
final translationService = context.read<TranslationService>();
|
||||
var outgoingText = text;
|
||||
String? originalText;
|
||||
String? translatedLanguageCode;
|
||||
String? translationModelId;
|
||||
if (settings.translationEnabled) {
|
||||
final targetLanguageCode = translationService.resolvedTargetLanguageCode(
|
||||
Localizations.localeOf(context).languageCode,
|
||||
);
|
||||
if (translationService.shouldTranslateOutgoing(
|
||||
text: text,
|
||||
targetLanguageCode: targetLanguageCode,
|
||||
)) {
|
||||
final result = await translationService.translateOutgoingText(
|
||||
text: text,
|
||||
targetLanguageCode: targetLanguageCode,
|
||||
);
|
||||
if (!mounted) return;
|
||||
if (result != null &&
|
||||
result.status == MessageTranslationStatus.completed &&
|
||||
result.translatedText.isNotEmpty) {
|
||||
outgoingText = result.translatedText;
|
||||
originalText = text;
|
||||
translatedLanguageCode = result.targetLanguageCode;
|
||||
translationModelId = result.modelId;
|
||||
}
|
||||
}
|
||||
}
|
||||
final maxBytes = maxContactMessageBytes();
|
||||
final outboundText = connector.prepareContactOutboundText(
|
||||
_resolveContact(connector),
|
||||
@@ -998,36 +721,23 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
connector.sendMessage(
|
||||
_resolveContact(connector),
|
||||
outgoingText,
|
||||
originalText: originalText,
|
||||
translatedLanguageCode: translatedLanguageCode,
|
||||
translationModelId: translationModelId,
|
||||
originalText: translation.originalText,
|
||||
translatedLanguageCode: translation.languageCode,
|
||||
translationModelId: translation.modelId,
|
||||
);
|
||||
// Only a dispatched send starts the cooldown.
|
||||
_sendGuard.markDispatched();
|
||||
}
|
||||
|
||||
Future<void> _confirmClearChat(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
) async {
|
||||
final confirmed = await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
title: Text(context.l10n.contact_clearChat),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext, false),
|
||||
child: Text(context.l10n.common_cancel),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext, true),
|
||||
style: TextButton.styleFrom(
|
||||
foregroundColor: Theme.of(context).colorScheme.error,
|
||||
),
|
||||
child: Text(context.l10n.common_delete),
|
||||
),
|
||||
],
|
||||
),
|
||||
final confirmed = await confirmClearChat(
|
||||
context,
|
||||
message: context.l10n.chat_clearChatConfirm,
|
||||
);
|
||||
if (confirmed == true) {
|
||||
if (confirmed) {
|
||||
connector.clearMessagesForContact(widget.contact);
|
||||
}
|
||||
}
|
||||
@@ -1150,7 +860,9 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
);
|
||||
connector.ensureContactSmazSettingLoaded(widget.contact.publicKeyHex);
|
||||
connector.ensureContactCyr2LatSettingLoaded(widget.contact.publicKeyHex);
|
||||
final contact = widget.contact;
|
||||
// The live contact carries the current telemetry flags; widget.contact
|
||||
// is the snapshot this screen was opened with.
|
||||
final contact = _resolveContact(connector);
|
||||
bool smazEnabled = connector.isContactSmazEnabled(contact.publicKeyHex);
|
||||
bool cyr2latEnabled = connector.isContactCyr2LatEnabled(
|
||||
contact.publicKeyHex,
|
||||
@@ -1164,6 +876,18 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
bool teleBaseEnabled = contact.teleBaseEnabled;
|
||||
bool teleLocEnabled = contact.teleLocEnabled;
|
||||
bool teleEnvEnabled = contact.teleEnvEnabled;
|
||||
// Each toggle is committed immediately, like the compression switches,
|
||||
// so dismissing the dialog by tapping outside keeps the change. All three
|
||||
// flags are sent every time so overlapping writes can't undo each other.
|
||||
void commitTelemetryFlags() {
|
||||
connector.setContactFlags(
|
||||
contact,
|
||||
teleBase: teleBaseEnabled,
|
||||
teleLoc: teleLocEnabled,
|
||||
teleEnv: teleEnvEnabled,
|
||||
);
|
||||
}
|
||||
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) => StatefulBuilder(
|
||||
@@ -1277,6 +1001,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
value: teleBaseEnabled,
|
||||
onChanged: (value) {
|
||||
setDialogState(() => teleBaseEnabled = value);
|
||||
commitTelemetryFlags();
|
||||
},
|
||||
),
|
||||
const Divider(height: 8),
|
||||
@@ -1287,6 +1012,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
value: teleLocEnabled,
|
||||
onChanged: (value) {
|
||||
setDialogState(() => teleLocEnabled = value);
|
||||
commitTelemetryFlags();
|
||||
},
|
||||
),
|
||||
const Divider(height: 8),
|
||||
@@ -1297,6 +1023,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
value: teleEnvEnabled,
|
||||
onChanged: (value) {
|
||||
setDialogState(() => teleEnvEnabled = value);
|
||||
commitTelemetryFlags();
|
||||
},
|
||||
),
|
||||
],
|
||||
@@ -1304,15 +1031,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
connector.setContactFlags(
|
||||
contact,
|
||||
teleBase: teleBaseEnabled,
|
||||
teleLoc: teleLocEnabled,
|
||||
teleEnv: teleEnvEnabled,
|
||||
);
|
||||
Navigator.pop(context);
|
||||
},
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: Text(context.l10n.common_close),
|
||||
),
|
||||
],
|
||||
@@ -1471,7 +1190,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
title: Text(context.l10n.common_copy),
|
||||
onTap: () {
|
||||
Navigator.pop(sheetContext);
|
||||
_copyMessageText(message.text);
|
||||
copyChatMessageText(context, message.text);
|
||||
},
|
||||
),
|
||||
if (canTranslateMessage)
|
||||
@@ -1539,17 +1258,6 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
void _copyMessageText(String text) {
|
||||
Clipboard.setData(ClipboardData(text: text));
|
||||
// Android shows its own clipboard chip; the snackbar is redundant there
|
||||
// and lingers over the input field after the chip dismisses.
|
||||
if (PlatformInfo.isAndroid) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.chat_messageCopied),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _deleteMessage(Message message) async {
|
||||
await context.read<MeshCoreConnector>().deleteMessage(message);
|
||||
if (!mounted) return;
|
||||
@@ -1634,40 +1342,15 @@ class _MessageBubble extends StatelessWidget {
|
||||
);
|
||||
final publicIpfsGateway = settingsService.settings.publicIpfsGateway;
|
||||
|
||||
// Bubble colors — outgoing uses MeshPalette.me / meBorder / meInk.
|
||||
final bubbleColor = isFailed
|
||||
? scheme.errorContainer
|
||||
: isOutgoing
|
||||
? MeshPalette.me
|
||||
: scheme.surfaceContainerLow;
|
||||
final bubbleBorder = isFailed
|
||||
? scheme.error
|
||||
: isOutgoing
|
||||
? MeshPalette.meBorder
|
||||
: scheme.outlineVariant;
|
||||
final textColor = isFailed
|
||||
? scheme.onErrorContainer
|
||||
: isOutgoing
|
||||
? MeshPalette.meInk
|
||||
: scheme.onSurface;
|
||||
final metaColor = textColor.withValues(alpha: 0.65);
|
||||
final colors = MessageBubbleColors.of(
|
||||
scheme,
|
||||
isOutgoing: isOutgoing,
|
||||
isFailed: isFailed,
|
||||
);
|
||||
final textColor = colors.text;
|
||||
final metaColor = colors.meta;
|
||||
const bodyFontSize = 14.0;
|
||||
|
||||
// Asymmetric radius: outgoing — top-left large, others also large; outgoing bottom-right tight.
|
||||
final borderRadius = isOutgoing
|
||||
? const BorderRadius.only(
|
||||
topLeft: Radius.circular(MeshRadii.lg),
|
||||
topRight: Radius.circular(MeshRadii.lg),
|
||||
bottomLeft: Radius.circular(MeshRadii.lg),
|
||||
bottomRight: Radius.circular(MeshRadii.xs),
|
||||
)
|
||||
: const BorderRadius.only(
|
||||
topLeft: Radius.circular(MeshRadii.xs),
|
||||
topRight: Radius.circular(MeshRadii.lg),
|
||||
bottomLeft: Radius.circular(MeshRadii.lg),
|
||||
bottomRight: Radius.circular(MeshRadii.lg),
|
||||
);
|
||||
|
||||
// Do not strip room-server author bytes here: the parser stores them in
|
||||
// fourByteRoomContactKey, so message.text is safe to render as-is.
|
||||
final messageText = message.text;
|
||||
@@ -1728,21 +1411,11 @@ class _MessageBubble extends StatelessWidget {
|
||||
const SizedBox(width: 6),
|
||||
],
|
||||
Flexible(
|
||||
child: Container(
|
||||
padding: gifId != null
|
||||
? const EdgeInsets.all(4)
|
||||
: const EdgeInsets.symmetric(
|
||||
horizontal: 12,
|
||||
vertical: 8,
|
||||
),
|
||||
constraints: BoxConstraints(
|
||||
maxWidth: constraints.maxWidth * 0.72,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: bubbleColor,
|
||||
borderRadius: borderRadius,
|
||||
border: Border.all(color: bubbleBorder, width: 1),
|
||||
),
|
||||
child: MessageBubbleFrame(
|
||||
isOutgoing: isOutgoing,
|
||||
isFailed: isFailed,
|
||||
compact: gifId != null,
|
||||
maxWidth: constraints.maxWidth,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -1758,9 +1431,9 @@ class _MessageBubble extends StatelessWidget {
|
||||
child: Text(
|
||||
senderName,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 13 * textScale,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: _colorForName(senderName),
|
||||
color: senderNameColor(senderName),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1857,7 +1530,7 @@ class _MessageBubble extends StatelessWidget {
|
||||
context.l10n.urlImage_possible,
|
||||
style: TextStyle(
|
||||
color: metaColor,
|
||||
fontSize: 11 * textScale,
|
||||
fontSize: 12 * textScale,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1881,7 +1554,7 @@ class _MessageBubble extends StatelessWidget {
|
||||
.maxMessageRetries,
|
||||
),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 9.5 * textScale,
|
||||
fontSize: 12 * textScale,
|
||||
color: metaColor,
|
||||
),
|
||||
),
|
||||
@@ -1933,7 +1606,7 @@ class _MessageBubble extends StatelessWidget {
|
||||
const SizedBox(width: 2),
|
||||
Icon(
|
||||
Icons.speed,
|
||||
size: 10 * textScale,
|
||||
size: 14 * textScale,
|
||||
color: isOutgoing
|
||||
? metaColor
|
||||
: scheme.tertiary,
|
||||
@@ -1941,7 +1614,7 @@ class _MessageBubble extends StatelessWidget {
|
||||
Text(
|
||||
'${(message.tripTimeMs! / 1000).toStringAsFixed(1)}s',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11 * textScale,
|
||||
fontSize: 12 * textScale,
|
||||
color: isOutgoing
|
||||
? metaColor
|
||||
: scheme.tertiary,
|
||||
@@ -1963,7 +1636,13 @@ class _MessageBubble extends StatelessWidget {
|
||||
const SizedBox(height: 4),
|
||||
Padding(
|
||||
padding: EdgeInsets.only(left: isOutgoing ? 0 : 42),
|
||||
child: _buildReactionsDisplay(context, message, scheme),
|
||||
child: ReactionChips(
|
||||
reactions: message.reactions,
|
||||
statuses: message.reactionStatuses,
|
||||
onRetry: onRetryReaction == null
|
||||
? null
|
||||
: (emoji) => onRetryReaction!(message, emoji),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
@@ -2037,104 +1716,7 @@ class _MessageBubble extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildReactionsDisplay(
|
||||
BuildContext context,
|
||||
Message message,
|
||||
ColorScheme scheme,
|
||||
) {
|
||||
return Wrap(
|
||||
spacing: 6,
|
||||
runSpacing: 6,
|
||||
children: message.reactions.entries.map((entry) {
|
||||
final emoji = entry.key;
|
||||
final count = entry.value.length;
|
||||
final status = message.reactionStatuses[emoji];
|
||||
final isPending =
|
||||
status == MessageStatus.pending || status == MessageStatus.sent;
|
||||
final isFailed = status == MessageStatus.failed;
|
||||
|
||||
return GestureDetector(
|
||||
onTap: isFailed && onRetryReaction != null
|
||||
? () => onRetryReaction!(message, emoji)
|
||||
: null,
|
||||
child: Opacity(
|
||||
opacity: isPending ? 0.5 : 1.0,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||
decoration: BoxDecoration(
|
||||
color: isFailed
|
||||
? scheme.errorContainer
|
||||
: scheme.surfaceContainerHigh,
|
||||
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||
border: Border.all(
|
||||
color: isFailed ? scheme.error : scheme.outlineVariant,
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(
|
||||
emoji,
|
||||
style: MeshTheme.emoji(fontSize: 16),
|
||||
textHeightBehavior: const TextHeightBehavior(
|
||||
applyHeightToFirstAscent: false,
|
||||
applyHeightToLastDescent: false,
|
||||
),
|
||||
),
|
||||
if (count > 1) ...[
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
'$count',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
],
|
||||
if (isPending) ...[
|
||||
const SizedBox(width: 2),
|
||||
SizedBox(
|
||||
width: 8,
|
||||
height: 8,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1.5,
|
||||
color: scheme.primary,
|
||||
),
|
||||
),
|
||||
],
|
||||
if (isFailed) ...[
|
||||
const SizedBox(width: 2),
|
||||
Icon(Icons.replay, size: 10, color: scheme.error),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}).toList(),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildAvatar(String senderName) {
|
||||
return AvatarCircle(name: senderName, size: 32);
|
||||
}
|
||||
}
|
||||
|
||||
/// Deterministic name-to-hue mapping consistent with [AvatarCircle].
|
||||
Color _colorForName(String name) {
|
||||
const hues = [
|
||||
MeshPalette.blue,
|
||||
MeshPalette.magenta,
|
||||
MeshPalette.signal,
|
||||
MeshPalette.warn,
|
||||
Color(0xFF8FA8F0),
|
||||
Color(0xFF6FD9CE),
|
||||
];
|
||||
var h = 0;
|
||||
for (final c in name.codeUnits) {
|
||||
h = (h * 31 + c) & 0x7fffffff;
|
||||
}
|
||||
return hues[h % hues.length];
|
||||
}
|
||||
@@ -32,6 +32,24 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
final CommunityStore _communityStore = CommunityStore();
|
||||
bool _isProcessing = false;
|
||||
|
||||
/// QR data whose join prompt was just cancelled. Ignored for a short
|
||||
/// cooldown so a code still in view doesn't immediately re-prompt.
|
||||
String? _cancelledData;
|
||||
DateTime? _cancelledAt;
|
||||
static const Duration _cancelCooldown = Duration(seconds: 3);
|
||||
|
||||
void _markCancelled(String data) {
|
||||
_cancelledData = data;
|
||||
_cancelledAt = DateTime.now();
|
||||
}
|
||||
|
||||
bool _isRecentlyCancelled(String data) {
|
||||
final at = _cancelledAt;
|
||||
return data == _cancelledData &&
|
||||
at != null &&
|
||||
DateTime.now().difference(at) < _cancelCooldown;
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
@@ -40,87 +58,21 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
centerTitle: true,
|
||||
),
|
||||
body: _isProcessing
|
||||
? Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
child: const Center(child: CircularProgressIndicator()),
|
||||
)
|
||||
? const QrScannerProcessingBody()
|
||||
: QrScannerWidget(
|
||||
onScanned: (data) => _handleScannedData(context, data),
|
||||
validator: Community.isValidQrData,
|
||||
onValidationFailed: (_) => _showInvalidQrError(context),
|
||||
validator: (data) =>
|
||||
Community.isValidQrData(data) && !_isRecentlyCancelled(data),
|
||||
onValidationFailed: (data) {
|
||||
if (_isRecentlyCancelled(data)) return;
|
||||
_showInvalidQrError(context);
|
||||
},
|
||||
instructions: context.l10n.community_scanInstructions,
|
||||
overlay: _buildThemedOverlay(context),
|
||||
themed: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
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.community_scanInstructions,
|
||||
style: const TextStyle(color: MeshPalette.ink2, fontSize: 13),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _handleScannedData(BuildContext context, String data) async {
|
||||
if (_isProcessing) return;
|
||||
|
||||
@@ -130,6 +82,9 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
_communityStore.setPublicKeyHex = connector.selfPublicKeyHex;
|
||||
// Set when this screen is about to pop: keep the spinner up so the camera
|
||||
// doesn't restart on a closing route and detect the code again.
|
||||
var leaving = false;
|
||||
|
||||
try {
|
||||
// Parse the community data
|
||||
@@ -142,14 +97,15 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
|
||||
if (existing != null) {
|
||||
if (context.mounted) {
|
||||
_showAlreadyMemberDialog(context, existing);
|
||||
leaving = await _showAlreadyMemberDialog(context, existing);
|
||||
if (!leaving) _markCancelled(data);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// Show confirmation dialog
|
||||
if (context.mounted) {
|
||||
await _showJoinConfirmationDialog(context, community);
|
||||
leaving = await _showJoinConfirmationDialog(context, community, data);
|
||||
}
|
||||
} catch (e) {
|
||||
if (context.mounted) {
|
||||
@@ -160,7 +116,7 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
);
|
||||
}
|
||||
} finally {
|
||||
if (mounted) {
|
||||
if (mounted && !leaving) {
|
||||
setState(() {
|
||||
_isProcessing = false;
|
||||
});
|
||||
@@ -169,16 +125,15 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
}
|
||||
|
||||
void _showInvalidQrError(BuildContext context) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.community_invalidQrCode),
|
||||
backgroundColor: MeshPalette.warn,
|
||||
duration: const Duration(seconds: 2),
|
||||
);
|
||||
showInvalidQrSnackBar(context, context.l10n.community_invalidQrCode);
|
||||
}
|
||||
|
||||
void _showAlreadyMemberDialog(BuildContext context, Community community) {
|
||||
showMeshSheet(
|
||||
/// Returns true when the screen popped itself (OK pressed).
|
||||
Future<bool> _showAlreadyMemberDialog(
|
||||
BuildContext context,
|
||||
Community community,
|
||||
) async {
|
||||
final ok = await showMeshSheet<bool>(
|
||||
context,
|
||||
builder: (sheetContext) {
|
||||
final sheetScheme = Theme.of(sheetContext).colorScheme;
|
||||
@@ -215,9 +170,11 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'ID: ${community.shortCommunityId}...',
|
||||
context.l10n.community_shortId(
|
||||
community.shortCommunityId,
|
||||
),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11.5,
|
||||
fontSize: 13,
|
||||
color: sheetScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -230,10 +187,7 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 8, 16, 16),
|
||||
child: FilledButton(
|
||||
onPressed: () {
|
||||
Navigator.pop(sheetContext);
|
||||
Navigator.pop(context);
|
||||
},
|
||||
onPressed: () => Navigator.pop(sheetContext, true),
|
||||
child: Text(context.l10n.common_ok),
|
||||
),
|
||||
),
|
||||
@@ -241,11 +195,16 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
);
|
||||
},
|
||||
);
|
||||
if (ok != true || !context.mounted) return false;
|
||||
Navigator.pop(context);
|
||||
return true;
|
||||
}
|
||||
|
||||
Future<void> _showJoinConfirmationDialog(
|
||||
/// Returns true when the community was joined and the screen popped.
|
||||
Future<bool> _showJoinConfirmationDialog(
|
||||
BuildContext context,
|
||||
Community community,
|
||||
String data,
|
||||
) async {
|
||||
bool addPublicChannel = true;
|
||||
final completer = Completer<bool>();
|
||||
@@ -289,9 +248,11 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'ID: ${community.shortCommunityId}...',
|
||||
context.l10n.community_shortId(
|
||||
community.shortCommunityId,
|
||||
),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11.5,
|
||||
fontSize: 13,
|
||||
color: joinScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -353,14 +314,16 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
final result = await completer.future;
|
||||
|
||||
if (result && context.mounted) {
|
||||
await _joinCommunity(context, community, addPublicChannel);
|
||||
} else if (context.mounted) {
|
||||
// User cancelled - go back
|
||||
Navigator.pop(context);
|
||||
return _joinCommunity(context, community, addPublicChannel);
|
||||
}
|
||||
// User cancelled: stay on the scanner and resume scanning, ignoring this
|
||||
// code briefly so it doesn't re-prompt while still in view.
|
||||
_markCancelled(data);
|
||||
return false;
|
||||
}
|
||||
|
||||
Future<void> _joinCommunity(
|
||||
/// Returns true when the screen popped itself.
|
||||
Future<bool> _joinCommunity(
|
||||
BuildContext context,
|
||||
Community community,
|
||||
bool addPublicChannel,
|
||||
@@ -409,7 +372,9 @@ class _CommunityQrScannerScreenState extends State<CommunityQrScannerScreen> {
|
||||
|
||||
// Return to previous screen
|
||||
Navigator.pop(context, community);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
int? _findNextAvailableChannelIndex(MeshCoreConnector connector) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:meshcore_open/connector/meshcore_connector.dart';
|
||||
import 'package:meshcore_open/models/companion_radio_stats.dart';
|
||||
@@ -328,8 +329,11 @@ class _NoiseChartPainter extends CustomPainter {
|
||||
|
||||
@override
|
||||
bool shouldRepaint(covariant _NoiseChartPainter oldDelegate) {
|
||||
return oldDelegate.samples.length != samples.length ||
|
||||
oldDelegate.colorScheme != colorScheme;
|
||||
// Once the ring buffer is full its length stays constant, so compare the
|
||||
// contents (samples is a fresh copy per build).
|
||||
return !listEquals(oldDelegate.samples, samples) ||
|
||||
oldDelegate.colorScheme != colorScheme ||
|
||||
oldDelegate.textTheme != textTheme;
|
||||
}
|
||||
|
||||
TextPainter _yAxisLabel(double v) {
|
||||
|
||||
@@ -44,10 +44,7 @@ class _ContactQrScannerScreenState extends State<ContactQrScannerScreen> {
|
||||
],
|
||||
),
|
||||
body: _isProcessing
|
||||
? Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
child: const Center(child: CircularProgressIndicator()),
|
||||
)
|
||||
? const QrScannerProcessingBody()
|
||||
: _importFailed
|
||||
? _buildImportFailed(context)
|
||||
: QrScannerWidget(
|
||||
@@ -55,7 +52,7 @@ class _ContactQrScannerScreenState extends State<ContactQrScannerScreen> {
|
||||
validator: (data) => parseContactQr(data) != null,
|
||||
onValidationFailed: (_) => _showInvalidQrError(),
|
||||
instructions: context.l10n.contacts_scanQrInstructions,
|
||||
overlay: _buildThemedOverlay(context),
|
||||
themed: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -90,73 +87,6 @@ class _ContactQrScannerScreenState extends State<ContactQrScannerScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
@@ -291,12 +221,7 @@ class _ContactQrScannerScreenState extends State<ContactQrScannerScreen> {
|
||||
}
|
||||
|
||||
void _showInvalidQrError() {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.contacts_invalidAdvertFormat),
|
||||
backgroundColor: MeshPalette.warn,
|
||||
duration: const Duration(seconds: 2),
|
||||
);
|
||||
showInvalidQrSnackBar(context, context.l10n.contacts_invalidAdvertFormat);
|
||||
}
|
||||
|
||||
void _showGalleryError() {
|
||||
|
||||
+467
-378
File diff suppressed because it is too large.
Load diff
@@ -17,13 +17,12 @@ import '../utils/contact_search.dart';
|
||||
import '../utils/platform_info.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
import '../widgets/app_bar.dart';
|
||||
import '../widgets/contact_visuals.dart';
|
||||
import '../widgets/list_filter_widget.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/node_scan_sheet.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
|
||||
enum DiscoverySortOption { lastSeen, name, type }
|
||||
|
||||
class DiscoveryScreen extends StatefulWidget {
|
||||
const DiscoveryScreen({super.key});
|
||||
|
||||
@@ -35,10 +34,9 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
final TextEditingController _searchController = TextEditingController();
|
||||
String searchQuery = '';
|
||||
ContactSortOption sortOption = ContactSortOption.lastSeen;
|
||||
bool showUnreadOnly = false;
|
||||
ContactTypeFilter typeFilter = ContactTypeFilter.all;
|
||||
DiscoverySortOption discoverySortOption = DiscoverySortOption.lastSeen;
|
||||
Timer? _searchDebounce;
|
||||
final DerivedListCache<Contact> _filteredCache = DerivedListCache<Contact>();
|
||||
ScaffoldMessengerState? _messenger;
|
||||
|
||||
@override
|
||||
@@ -55,41 +53,6 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
DateTime _resolveLastSeen(Contact contact) {
|
||||
if (contact.type != advTypeChat) return contact.lastSeen;
|
||||
return contact.lastMessageAt.isAfter(contact.lastSeen)
|
||||
? contact.lastMessageAt
|
||||
: contact.lastSeen;
|
||||
}
|
||||
|
||||
/// Node-type avatar color per design language.
|
||||
Color _avatarColor(int type) {
|
||||
switch (type) {
|
||||
case advTypeRepeater:
|
||||
return MeshPalette.warn;
|
||||
case advTypeRoom:
|
||||
return MeshPalette.magenta;
|
||||
case advTypeSensor:
|
||||
return const Color(0xFF4ACCC4); // teal
|
||||
default:
|
||||
return MeshPalette.blue;
|
||||
}
|
||||
}
|
||||
|
||||
/// Node-type avatar icon; null = show initials for chat nodes.
|
||||
IconData? _avatarIcon(int type) {
|
||||
switch (type) {
|
||||
case advTypeRepeater:
|
||||
return Icons.cell_tower;
|
||||
case advTypeRoom:
|
||||
return Icons.meeting_room;
|
||||
case advTypeSensor:
|
||||
return Icons.sensors;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
@@ -231,8 +194,8 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
AvatarCircle(
|
||||
name: contact.name,
|
||||
size: 42,
|
||||
color: isChat ? null : _avatarColor(contact.type),
|
||||
icon: _avatarIcon(contact.type),
|
||||
color: isChat ? null : contactTypeColor(contact.type),
|
||||
icon: contactTypeIcon(contact.type),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
Expanded(
|
||||
@@ -257,8 +220,8 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
const SizedBox(width: 6),
|
||||
StatusChip(
|
||||
label: contact.typeLabel(context.l10n).toUpperCase(),
|
||||
color: _avatarColor(contact.type),
|
||||
icon: _avatarIcon(contact.type),
|
||||
color: contactTypeColor(contact.type),
|
||||
icon: contactTypeIcon(contact.type),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -272,7 +235,7 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 12.5,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -281,20 +244,16 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
const SizedBox(width: 6),
|
||||
Icon(
|
||||
Icons.location_on,
|
||||
size: 13,
|
||||
color: scheme.onSurfaceVariant.withValues(
|
||||
alpha: 0.55,
|
||||
),
|
||||
size: 16,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
],
|
||||
if (contact.rawPacket != null) ...[
|
||||
const SizedBox(width: 4),
|
||||
Icon(
|
||||
Icons.cell_tower,
|
||||
size: 13,
|
||||
color: scheme.onSurfaceVariant.withValues(
|
||||
alpha: 0.55,
|
||||
),
|
||||
size: 16,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
],
|
||||
],
|
||||
@@ -303,21 +262,26 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
// Last seen time
|
||||
MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(
|
||||
textScaler: TextScaler.linear(
|
||||
MediaQuery.textScalerOf(context).scale(1.0).clamp(1.0, 1.3),
|
||||
// Last seen time. A width cap + wrapping keeps large text scales
|
||||
// from overflowing without clamping the user's text size.
|
||||
Flexible(
|
||||
flex: 0,
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxWidth: MediaQuery.sizeOf(context).width * 0.25,
|
||||
),
|
||||
),
|
||||
child: Text(
|
||||
_formatLastSeen(context, _resolveLastSeen(contact)),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
textAlign: TextAlign.right,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
color: scheme.onSurfaceVariant,
|
||||
child: Text(
|
||||
formatContactLastSeen(
|
||||
context.l10n,
|
||||
resolveContactLastSeen(contact),
|
||||
),
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
textAlign: TextAlign.right,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12.5,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -579,39 +543,20 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
List<Contact> filteredAndSorted,
|
||||
MeshCoreConnector connector,
|
||||
) {
|
||||
String hintText = "";
|
||||
switch (typeFilter) {
|
||||
case ContactTypeFilter.all:
|
||||
hintText = context.l10n.contacts_searchContacts(
|
||||
filteredAndSorted.length,
|
||||
showUnreadOnly ? " ${context.l10n.contacts_unread}" : "",
|
||||
);
|
||||
break;
|
||||
case ContactTypeFilter.users:
|
||||
hintText = context.l10n.contacts_searchUsers(
|
||||
filteredAndSorted.length,
|
||||
showUnreadOnly ? " ${context.l10n.contacts_unread}" : "",
|
||||
);
|
||||
break;
|
||||
case ContactTypeFilter.repeaters:
|
||||
hintText = context.l10n.contacts_searchRepeaters(
|
||||
filteredAndSorted.length,
|
||||
showUnreadOnly ? " ${context.l10n.contacts_unread}" : "",
|
||||
);
|
||||
break;
|
||||
case ContactTypeFilter.rooms:
|
||||
hintText = context.l10n.contacts_searchRoomServers(
|
||||
filteredAndSorted.length,
|
||||
showUnreadOnly ? " ${context.l10n.contacts_unread}" : "",
|
||||
);
|
||||
break;
|
||||
case ContactTypeFilter.favorites:
|
||||
hintText = context.l10n.contacts_searchFavorites(
|
||||
filteredAndSorted.length,
|
||||
showUnreadOnly ? " ${context.l10n.contacts_unread}" : "",
|
||||
);
|
||||
break;
|
||||
}
|
||||
final count = filteredAndSorted.length;
|
||||
final hintText = switch (typeFilter) {
|
||||
ContactTypeFilter.users => context.l10n.contacts_searchUsers(count, ''),
|
||||
ContactTypeFilter.repeaters => context.l10n.contacts_searchRepeaters(
|
||||
count,
|
||||
'',
|
||||
),
|
||||
ContactTypeFilter.rooms => context.l10n.contacts_searchRoomServers(
|
||||
count,
|
||||
'',
|
||||
),
|
||||
// Discovery offers no favorites filter; fall back to the generic hint.
|
||||
_ => context.l10n.contacts_searchContacts(count, ''),
|
||||
};
|
||||
|
||||
return Column(
|
||||
children: [
|
||||
@@ -683,27 +628,35 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
List<Contact> contacts,
|
||||
MeshCoreConnector connector,
|
||||
) {
|
||||
var filtered = contacts.where((contact) {
|
||||
if (searchQuery.isEmpty) return true;
|
||||
return matchesDiscoveryContactQuery(contact, searchQuery);
|
||||
// knownContactKeys returns a fresh copy; read it once per build.
|
||||
final knownKeys = connector.knownContactKeys;
|
||||
final selfKey = connector.selfPublicKey;
|
||||
final selfPubKeyHex = selfKey == null ? null : pubKeyToHex(selfKey);
|
||||
return _filteredCache.get(contacts, [
|
||||
searchQuery,
|
||||
typeFilter,
|
||||
sortOption,
|
||||
selfPubKeyHex,
|
||||
Object.hashAllUnordered(knownKeys),
|
||||
], () => _computeFilteredContacts(contacts, knownKeys, selfPubKeyHex));
|
||||
}
|
||||
|
||||
List<Contact> _computeFilteredContacts(
|
||||
List<Contact> contacts,
|
||||
Set<String> knownKeys,
|
||||
String? selfPubKeyHex,
|
||||
) {
|
||||
final filtered = contacts.where((contact) {
|
||||
if (searchQuery.isNotEmpty &&
|
||||
!matchesDiscoveryContactQuery(contact, searchQuery)) {
|
||||
return false;
|
||||
}
|
||||
if (knownKeys.contains(contact.publicKeyHex)) return false;
|
||||
// Filter out own node from the list
|
||||
if (contact.publicKeyHex == selfPubKeyHex) return false;
|
||||
return _matchesTypeFilter(contact);
|
||||
}).toList();
|
||||
|
||||
filtered = filtered.where((contact) {
|
||||
return !connector.knownContactKeys.contains(contact.publicKeyHex);
|
||||
}).toList();
|
||||
|
||||
// Filter out own node from the list
|
||||
if (connector.selfPublicKey != null) {
|
||||
final selfPubKeyHex = pubKeyToHex(connector.selfPublicKey!);
|
||||
filtered = filtered.where((contact) {
|
||||
return contact.publicKeyHex != selfPubKeyHex;
|
||||
}).toList();
|
||||
}
|
||||
|
||||
if (typeFilter != ContactTypeFilter.all) {
|
||||
filtered = filtered.where(_matchesTypeFilter).toList();
|
||||
}
|
||||
|
||||
switch (sortOption) {
|
||||
case ContactSortOption.lastSeen:
|
||||
filtered.sort((a, b) => b.lastSeen.compareTo(a.lastSeen));
|
||||
@@ -730,30 +683,9 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
return contact.type == advTypeRepeater;
|
||||
case ContactTypeFilter.rooms:
|
||||
return contact.type == advTypeRoom;
|
||||
default:
|
||||
return false;
|
||||
case ContactTypeFilter.favorites:
|
||||
// Not offered by the discovery filter menu.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
String _formatLastSeen(BuildContext context, DateTime lastSeen) {
|
||||
final now = DateTime.now();
|
||||
final diff = now.difference(lastSeen);
|
||||
|
||||
if (diff.isNegative || diff.inMinutes < 5) {
|
||||
return context.l10n.contacts_lastSeenNow;
|
||||
}
|
||||
if (diff.inMinutes < 60) {
|
||||
return context.l10n.contacts_lastSeenMinsAgo(diff.inMinutes);
|
||||
}
|
||||
if (diff.inHours < 24) {
|
||||
final hours = diff.inHours;
|
||||
return hours == 1
|
||||
? context.l10n.contacts_lastSeenHourAgo
|
||||
: context.l10n.contacts_lastSeenHoursAgo(hours);
|
||||
}
|
||||
final days = diff.inDays;
|
||||
return days == 1
|
||||
? context.l10n.contacts_lastSeenDayAgo
|
||||
: context.l10n.contacts_lastSeenDaysAgo(days);
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
+317
-183
@@ -1,3 +1,5 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_map/flutter_map.dart';
|
||||
@@ -38,6 +40,11 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
bool _isLoadingCachedTiles = false;
|
||||
double _overlayZoom = 2.0;
|
||||
LatLngBounds? _visibleBounds;
|
||||
MapTileDownloadCancelToken? _cancelToken;
|
||||
// Pending camera update for the cached-tile overlay; applied after the
|
||||
// camera settles instead of on every pan frame.
|
||||
Timer? _positionDebounce;
|
||||
MapCamera? _pendingCamera;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -50,10 +57,59 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_positionDebounce?.cancel();
|
||||
_cancelToken?.cancel();
|
||||
_mapController.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
bool get _useDarkOverlay => Theme.of(context).brightness == Brightness.dark;
|
||||
|
||||
Color get _overlayPanelColor => _useDarkOverlay
|
||||
? MapPalette.panelDark
|
||||
: Theme.of(
|
||||
context,
|
||||
).colorScheme.surfaceContainerLow.withValues(alpha: 0.96);
|
||||
|
||||
Color get _overlayBorderColor => _useDarkOverlay
|
||||
? MapPalette.border
|
||||
: Theme.of(context).colorScheme.outlineVariant;
|
||||
|
||||
Color get _overlayPrimaryTextColor => _useDarkOverlay
|
||||
? MapPalette.textPrimary
|
||||
: Theme.of(context).colorScheme.onSurface;
|
||||
|
||||
Color get _overlaySecondaryTextColor => _useDarkOverlay
|
||||
? MapPalette.textSecondary
|
||||
: Theme.of(context).colorScheme.onSurfaceVariant;
|
||||
|
||||
BoxDecoration get _overlayDecoration => BoxDecoration(
|
||||
color: _overlayPanelColor,
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
border: Border.all(color: _overlayBorderColor),
|
||||
);
|
||||
|
||||
void _onCameraChanged(MapCamera camera) {
|
||||
_pendingCamera = camera;
|
||||
if (_positionDebounce?.isActive ?? false) return;
|
||||
_positionDebounce = Timer(const Duration(milliseconds: 150), () {
|
||||
final next = _pendingCamera;
|
||||
if (!mounted || next == null) return;
|
||||
final nextZoom = next.zoom;
|
||||
final nextBounds = next.visibleBounds;
|
||||
if (_overlayZoom != nextZoom ||
|
||||
_visibleBounds?.north != nextBounds.north ||
|
||||
_visibleBounds?.south != nextBounds.south ||
|
||||
_visibleBounds?.east != nextBounds.east ||
|
||||
_visibleBounds?.west != nextBounds.west) {
|
||||
setState(() {
|
||||
_overlayZoom = nextZoom;
|
||||
_visibleBounds = nextBounds;
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
bool _isDesktopPlatform(TargetPlatform platform) {
|
||||
return platform == TargetPlatform.linux ||
|
||||
platform == TargetPlatform.windows ||
|
||||
@@ -84,11 +140,7 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
top: 12,
|
||||
left: 12,
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
color: MeshPalette.bg1.withValues(alpha: 0.90),
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
border: Border.all(color: MeshPalette.line2),
|
||||
),
|
||||
decoration: _overlayDecoration,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
child: Column(
|
||||
@@ -96,16 +148,19 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
children: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.add),
|
||||
color: _overlayPrimaryTextColor,
|
||||
tooltip: context.l10n.map_zoomIn,
|
||||
onPressed: () => _zoomMapBy(1),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.remove),
|
||||
color: _overlayPrimaryTextColor,
|
||||
tooltip: context.l10n.map_zoomOut,
|
||||
onPressed: () => _zoomMapBy(-1),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.my_location),
|
||||
color: _overlayPrimaryTextColor,
|
||||
tooltip: context.l10n.map_centerMap,
|
||||
onPressed: _resetMapView,
|
||||
),
|
||||
@@ -217,6 +272,28 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_estimatedTiles > MapTileCacheService.maxBulkDownloadTiles) {
|
||||
await showDialog<void>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
title: Text(context.l10n.mapCache_tooManyTilesTitle),
|
||||
content: Text(
|
||||
context.l10n.mapCache_tooManyTiles(
|
||||
_estimatedTiles,
|
||||
MapTileCacheService.maxBulkDownloadTiles,
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
child: Text(context.l10n.common_ok),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
final confirmed = await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
@@ -239,16 +316,19 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
|
||||
if (confirmed != true || !mounted) return;
|
||||
|
||||
final cancelToken = MapTileDownloadCancelToken();
|
||||
setState(() {
|
||||
_isDownloading = true;
|
||||
_completedTiles = 0;
|
||||
_failedTiles = 0;
|
||||
_cancelToken = cancelToken;
|
||||
});
|
||||
|
||||
final result = await cacheService.downloadRegion(
|
||||
bounds: bounds,
|
||||
minZoom: _minZoom,
|
||||
maxZoom: _maxZoom,
|
||||
cancelToken: cancelToken,
|
||||
onProgress: (progress) {
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
@@ -262,11 +342,14 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
|
||||
setState(() {
|
||||
_isDownloading = false;
|
||||
_cancelToken = null;
|
||||
_completedTiles = result.downloaded + result.failed;
|
||||
_failedTiles = result.failed;
|
||||
});
|
||||
|
||||
final message = result.failed > 0
|
||||
final message = result.cancelled
|
||||
? context.l10n.mapCache_downloadCancelled(result.downloaded)
|
||||
: result.failed > 0
|
||||
? context.l10n.mapCache_cachedTilesWithFailed(
|
||||
result.downloaded,
|
||||
result.failed,
|
||||
@@ -323,12 +406,23 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
});
|
||||
}
|
||||
|
||||
String _formatBytes(int bytes) {
|
||||
if (bytes < 1024) return '$bytes B';
|
||||
if (bytes < 1024 * 1024) {
|
||||
return '${(bytes / 1024).toStringAsFixed(1)} KB';
|
||||
void _cancelDownload() {
|
||||
_cancelToken?.cancel();
|
||||
setState(() {});
|
||||
}
|
||||
|
||||
String _formatBytes(int bytes, AppLocalizations l10n) {
|
||||
const kb = 1024;
|
||||
const mb = kb * 1024;
|
||||
const gb = mb * 1024;
|
||||
if (bytes < kb) return l10n.mapCache_sizeBytes('$bytes');
|
||||
if (bytes < mb) {
|
||||
return l10n.mapCache_sizeKilobytes((bytes / kb).toStringAsFixed(1));
|
||||
}
|
||||
return '${(bytes / (1024 * 1024)).toStringAsFixed(1)} MB';
|
||||
if (bytes < gb) {
|
||||
return l10n.mapCache_sizeMegabytes((bytes / mb).toStringAsFixed(1));
|
||||
}
|
||||
return l10n.mapCache_sizeGigabytes((bytes / gb).toStringAsFixed(2));
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -354,7 +448,7 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
'${context.l10n.mapCache_summarySource(source.label)}\n'
|
||||
'${context.l10n.mapCache_summaryCachedTilesForSource(activeCachedTiles.length)}\n'
|
||||
'${context.l10n.mapCache_summaryCachedInSelection(cachedInSelection)}\n'
|
||||
'${context.l10n.mapCache_summaryApproxCacheSize(_formatBytes(_cachedTileBytes))}';
|
||||
'${context.l10n.mapCache_summaryApproxCacheSize(_formatBytes(_cachedTileBytes, context.l10n))}';
|
||||
final l10n = context.l10n;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final isDesktop = _isDesktopPlatform(defaultTargetPlatform);
|
||||
@@ -392,20 +486,8 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
)
|
||||
: const KeyboardOptions.disabled(),
|
||||
),
|
||||
onPositionChanged: (camera, hasGesture) {
|
||||
final nextZoom = camera.zoom;
|
||||
final nextBounds = camera.visibleBounds;
|
||||
if (_overlayZoom != nextZoom ||
|
||||
_visibleBounds?.north != nextBounds.north ||
|
||||
_visibleBounds?.south != nextBounds.south ||
|
||||
_visibleBounds?.east != nextBounds.east ||
|
||||
_visibleBounds?.west != nextBounds.west) {
|
||||
setState(() {
|
||||
_overlayZoom = nextZoom;
|
||||
_visibleBounds = nextBounds;
|
||||
});
|
||||
}
|
||||
},
|
||||
onPositionChanged: (camera, hasGesture) =>
|
||||
_onCameraChanged(camera),
|
||||
),
|
||||
children: [
|
||||
tileCache.buildTileLayer(context),
|
||||
@@ -415,8 +497,8 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
Polygon(
|
||||
points: _boundsToPolygon(selectedBounds),
|
||||
borderStrokeWidth: 2,
|
||||
color: Colors.blue.withValues(alpha: 0.2),
|
||||
borderColor: Colors.blue,
|
||||
color: MapPalette.selected.withValues(alpha: 0.2),
|
||||
borderColor: MapPalette.selected,
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -428,12 +510,20 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
Positioned(
|
||||
top: 12,
|
||||
left: isDesktop ? 84 : 12,
|
||||
child: Card(
|
||||
child: DecoratedBox(
|
||||
decoration: _overlayDecoration,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8),
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 10,
|
||||
vertical: 8,
|
||||
),
|
||||
child: Text(
|
||||
'Z: ${_overlayZoom.round()}:',
|
||||
style: const TextStyle(fontSize: 12),
|
||||
l10n.mapCache_zoomLevel(_overlayZoom.round()),
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: _overlayPrimaryTextColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -441,24 +531,24 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
Positioned(
|
||||
top: 12,
|
||||
right: 12,
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
color: MeshPalette.bg1.withValues(alpha: 0.93),
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
border: Border.all(color: MeshPalette.line2),
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 10,
|
||||
vertical: 6,
|
||||
),
|
||||
child: Text(
|
||||
selectedBounds == null
|
||||
? l10n.mapCache_noAreaSelected
|
||||
: _formatBounds(selectedBounds, l10n),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
color: MeshPalette.ink2,
|
||||
left: isDesktop ? 200 : 130,
|
||||
child: Align(
|
||||
alignment: Alignment.topRight,
|
||||
child: DecoratedBox(
|
||||
decoration: _overlayDecoration,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 10,
|
||||
vertical: 6,
|
||||
),
|
||||
child: Text(
|
||||
selectedBounds == null
|
||||
? l10n.mapCache_noAreaSelected
|
||||
: _formatBounds(selectedBounds, l10n),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 13,
|
||||
color: _overlaySecondaryTextColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -474,158 +564,202 @@ class _MapCacheScreenState extends State<MapCacheScreen> {
|
||||
color: scheme.surfaceContainerLow,
|
||||
border: Border(top: BorderSide(color: scheme.outlineVariant)),
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 4, 16, 16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
SectionHeader(
|
||||
l10n.mapCache_cacheArea,
|
||||
padding: const EdgeInsets.fromLTRB(0, 12, 0, 8),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: ElevatedButton.icon(
|
||||
icon: const Icon(Icons.crop_free),
|
||||
label: Text(l10n.mapCache_useCurrentView),
|
||||
onPressed: _isDownloading
|
||||
? null
|
||||
: _setBoundsFromView,
|
||||
// Cap the panel so the map keeps room in landscape; the controls
|
||||
// scroll inside it.
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: MediaQuery.sizeOf(context).height * 0.5,
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
padding: const EdgeInsets.fromLTRB(16, 4, 16, 16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
SectionHeader(
|
||||
l10n.mapCache_cacheArea,
|
||||
padding: const EdgeInsets.fromLTRB(0, 12, 0, 8),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: ElevatedButton.icon(
|
||||
icon: const Icon(Icons.crop_free),
|
||||
label: Text(l10n.mapCache_useCurrentView),
|
||||
onPressed: _isDownloading
|
||||
? null
|
||||
: _setBoundsFromView,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
TextButton(
|
||||
onPressed: _isDownloading || selectedBounds == null
|
||||
? null
|
||||
: _clearBounds,
|
||||
child: Text(l10n.common_clear),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
SectionHeader(
|
||||
l10n.mapCache_zoomRange,
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 0),
|
||||
),
|
||||
RangeSlider(
|
||||
values: RangeValues(
|
||||
_minZoom.toDouble(),
|
||||
_maxZoom.toDouble(),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
TextButton(
|
||||
onPressed: _isDownloading || selectedBounds == null
|
||||
? null
|
||||
: _clearBounds,
|
||||
child: Text(l10n.common_clear),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
SectionHeader(
|
||||
l10n.mapCache_zoomRange,
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 0),
|
||||
),
|
||||
RangeSlider(
|
||||
values: RangeValues(
|
||||
_minZoom.toDouble(),
|
||||
_maxZoom.toDouble(),
|
||||
min: 3,
|
||||
max: 18,
|
||||
divisions: 15,
|
||||
labels: RangeLabels('$_minZoom', '$_maxZoom'),
|
||||
onChanged: _isDownloading
|
||||
? null
|
||||
: (values) {
|
||||
setState(() {
|
||||
_minZoom = values.start.round();
|
||||
_maxZoom = values.end.round();
|
||||
});
|
||||
},
|
||||
onChangeEnd: _isDownloading
|
||||
? null
|
||||
: (_) {
|
||||
_saveZoomRange();
|
||||
},
|
||||
),
|
||||
min: 3,
|
||||
max: 18,
|
||||
divisions: 15,
|
||||
labels: RangeLabels('$_minZoom', '$_maxZoom'),
|
||||
onChanged: _isDownloading
|
||||
? null
|
||||
: (values) {
|
||||
setState(() {
|
||||
_minZoom = values.start.round();
|
||||
_maxZoom = values.end.round();
|
||||
});
|
||||
},
|
||||
onChangeEnd: _isDownloading
|
||||
? null
|
||||
: (_) {
|
||||
_saveZoomRange();
|
||||
},
|
||||
),
|
||||
Text(
|
||||
l10n.mapCache_estimatedTiles(_estimatedTiles),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
TextFormField(
|
||||
key: ValueKey(
|
||||
'$cacheSummary|${activeCachedTiles.length}|$cachedInSelection|$_cachedTileBytes',
|
||||
),
|
||||
initialValue: cacheSummary,
|
||||
readOnly: true,
|
||||
minLines: 4,
|
||||
maxLines: 4,
|
||||
decoration: InputDecoration(
|
||||
labelText: _isLoadingCachedTiles
|
||||
? l10n.mapCache_cachedTilesLabel
|
||||
: l10n.mapCache_cachedTileSummaryLabel,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
),
|
||||
if (!source.allowsBulkDownload) ...[
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
l10n.mapCache_bulkDownloadDisabledForSource(
|
||||
source.label,
|
||||
),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
color: MeshPalette.alert,
|
||||
),
|
||||
),
|
||||
],
|
||||
if (_isDownloading) ...[
|
||||
const SizedBox(height: 8),
|
||||
LinearProgressIndicator(
|
||||
value: progressValue,
|
||||
color: MeshPalette.blue,
|
||||
backgroundColor: scheme.surfaceContainerHighest,
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
l10n.mapCache_downloadedTiles(
|
||||
_completedTiles,
|
||||
_estimatedTiles,
|
||||
),
|
||||
l10n.mapCache_estimatedTiles(_estimatedTiles),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
const SizedBox(height: 12),
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: ElevatedButton.icon(
|
||||
icon: const Icon(Icons.download),
|
||||
label: Text(l10n.mapCache_downloadTilesButton),
|
||||
onPressed:
|
||||
_isDownloading ||
|
||||
selectedBounds == null ||
|
||||
!source.allowsBulkDownload
|
||||
? null
|
||||
: _startDownload,
|
||||
const SizedBox(height: 12),
|
||||
if (_estimatedTiles >
|
||||
MapTileCacheService.maxBulkDownloadTiles) ...[
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
l10n.mapCache_tooManyTiles(
|
||||
_estimatedTiles,
|
||||
MapTileCacheService.maxBulkDownloadTiles,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
OutlinedButton(
|
||||
style: OutlinedButton.styleFrom(
|
||||
foregroundColor: MeshPalette.alert,
|
||||
side: const BorderSide(
|
||||
color: MeshPalette.alertLine,
|
||||
),
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: MeshPalette.alert,
|
||||
),
|
||||
onPressed: _isDownloading ? null : _clearCache,
|
||||
child: Text(l10n.mapCache_clearCacheButton),
|
||||
),
|
||||
],
|
||||
),
|
||||
if (_failedTiles > 0 && !_isDownloading)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: Text(
|
||||
l10n.mapCache_failedDownloads(_failedTiles),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
_isLoadingCachedTiles
|
||||
? l10n.mapCache_cachedTilesLabel
|
||||
: l10n.mapCache_cachedTileSummaryLabel,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
MeshCard(
|
||||
margin: EdgeInsets.zero,
|
||||
padding: const EdgeInsets.all(12),
|
||||
child: SizedBox(
|
||||
width: double.infinity,
|
||||
child: SelectableText(
|
||||
cacheSummary,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 13,
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
if (!source.allowsBulkDownload) ...[
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
l10n.mapCache_bulkDownloadDisabledForSource(
|
||||
source.label,
|
||||
),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
color: MeshPalette.alert,
|
||||
),
|
||||
),
|
||||
],
|
||||
if (_isDownloading) ...[
|
||||
const SizedBox(height: 8),
|
||||
LinearProgressIndicator(
|
||||
value: progressValue,
|
||||
color: MeshPalette.blue,
|
||||
backgroundColor: scheme.surfaceContainerHighest,
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
l10n.mapCache_downloadedTiles(
|
||||
_completedTiles,
|
||||
_estimatedTiles,
|
||||
),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
const SizedBox(height: 12),
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: _isDownloading
|
||||
? OutlinedButton.icon(
|
||||
icon: const Icon(
|
||||
Icons.stop_circle_outlined,
|
||||
),
|
||||
label: Text(l10n.common_cancel),
|
||||
onPressed:
|
||||
(_cancelToken?.isCancelled ?? true)
|
||||
? null
|
||||
: _cancelDownload,
|
||||
)
|
||||
: ElevatedButton.icon(
|
||||
icon: const Icon(Icons.download),
|
||||
label: Text(
|
||||
l10n.mapCache_downloadTilesButton,
|
||||
),
|
||||
onPressed:
|
||||
selectedBounds == null ||
|
||||
!source.allowsBulkDownload
|
||||
? null
|
||||
: _startDownload,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
OutlinedButton(
|
||||
style: OutlinedButton.styleFrom(
|
||||
foregroundColor: MeshPalette.alert,
|
||||
side: const BorderSide(
|
||||
color: MeshPalette.alertLine,
|
||||
),
|
||||
),
|
||||
onPressed: _isDownloading ? null : _clearCache,
|
||||
child: Text(l10n.mapCache_clearCacheButton),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
if (_failedTiles > 0 && !_isDownloading)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: Text(
|
||||
l10n.mapCache_failedDownloads(_failedTiles),
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
color: MeshPalette.alert,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
+763
-275
File diff suppressed because it is too large.
Load diff
@@ -14,6 +14,9 @@ import '../widgets/empty_state.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/routing_sheet.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../l10n/app_localizations.dart';
|
||||
import '../widgets/repeater_login_dialog.dart';
|
||||
import 'repeater_hub_screen.dart';
|
||||
|
||||
class NeighborsScreen extends StatefulWidget {
|
||||
final Contact repeater;
|
||||
@@ -100,22 +103,22 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
});
|
||||
}
|
||||
|
||||
String fmtDuration(double seconds) {
|
||||
static String fmtDuration(AppLocalizations l10n, double seconds) {
|
||||
if (seconds < 60) {
|
||||
return '${seconds.toStringAsFixed(1)}s';
|
||||
return l10n.neighbors_durationSeconds(seconds.toStringAsFixed(1));
|
||||
}
|
||||
|
||||
final int m = (seconds ~/ 60).toInt();
|
||||
final double s = seconds - (60 * m);
|
||||
|
||||
if (m < 60) {
|
||||
return '${m}m ${s.toStringAsFixed(0)}s';
|
||||
return l10n.neighbors_durationMinutes(m, s.toStringAsFixed(0));
|
||||
}
|
||||
|
||||
final int h = m ~/ 60;
|
||||
final int m2 = m % 60;
|
||||
|
||||
return '${h}h ${m2}m';
|
||||
return l10n.neighbors_durationHours(h, m2);
|
||||
}
|
||||
|
||||
static List<Map<String, dynamic>> parseNeighborsData(
|
||||
@@ -184,11 +187,6 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
_loadNeighbors(offset: parsedNeighbors.length);
|
||||
return;
|
||||
}
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.neighbors_receivedData),
|
||||
backgroundColor: Theme.of(context).colorScheme.tertiary,
|
||||
);
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_isLoaded = true;
|
||||
@@ -343,7 +341,22 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.fromLTRB(16, 8, 16, 24),
|
||||
children: [
|
||||
if (!_isLoaded &&
|
||||
// First request still in flight: show progress, not "no data".
|
||||
if (_isLoading && _parsedNeighbors == null)
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 64),
|
||||
child: Column(
|
||||
children: [
|
||||
const CircularProgressIndicator(),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
l10n.common_loading,
|
||||
style: const TextStyle(fontSize: 16),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
else if (!_isLoaded &&
|
||||
!_hasData &&
|
||||
(_parsedNeighbors == null || _parsedNeighbors!.isEmpty))
|
||||
EmptyState(icon: Icons.wifi_find, title: l10n.neighbors_noData),
|
||||
@@ -391,12 +404,15 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
|
||||
final snrColor = MeshTheme.snrColor(snr, blocked: false);
|
||||
final heardLabel = l10n.neighbors_heardAgo(
|
||||
fmtDuration(lastHeardSeconds + 0.0),
|
||||
fmtDuration(l10n, lastHeardSeconds + 0.0),
|
||||
);
|
||||
// Only repeaters saved on the radio can be logged into.
|
||||
final canOpen = contact != null && contact.isActive;
|
||||
|
||||
return MeshCard(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 10),
|
||||
margin: const EdgeInsets.symmetric(vertical: 4),
|
||||
onTap: canOpen ? () => _openNeighbor(contact) : null,
|
||||
child: Row(
|
||||
children: [
|
||||
AvatarCircle(
|
||||
@@ -426,7 +442,7 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
fontSize: 13,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -443,15 +459,43 @@ class _NeighborsScreenState extends State<NeighborsScreen> {
|
||||
Text(
|
||||
'${snr.toStringAsFixed(1)} dB',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: snrColor,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
if (canOpen) ...[
|
||||
const SizedBox(width: 4),
|
||||
Icon(Icons.chevron_right, size: 24, color: scheme.onSurfaceVariant),
|
||||
],
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// Opens a resolved neighbor the same way the contacts list does:
|
||||
/// repeaters go through the login dialog to the repeater hub.
|
||||
void _openNeighbor(Contact contact) {
|
||||
showDialog<void>(
|
||||
context: context,
|
||||
builder: (dialogContext) => RepeaterLoginDialog(
|
||||
repeater: contact,
|
||||
onLogin: (password, isAdmin) {
|
||||
if (!mounted) return;
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => RepeaterHubScreen(
|
||||
repeater: contact,
|
||||
password: password,
|
||||
isAdmin: isAdmin,
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
+172
-324
@@ -18,6 +18,8 @@ import 'package:meshcore_open/services/app_settings_service.dart';
|
||||
import 'package:meshcore_open/services/map_tile_cache_service.dart';
|
||||
import 'package:meshcore_open/services/path_history_service.dart';
|
||||
import 'package:meshcore_open/utils/app_logger.dart';
|
||||
import 'package:meshcore_open/helpers/snack_bar_builder.dart';
|
||||
import 'package:meshcore_open/widgets/path_map_scaffold.dart';
|
||||
import 'package:meshcore_open/widgets/path_map_ui.dart';
|
||||
import 'package:meshcore_open/widgets/snr_indicator.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
@@ -80,9 +82,9 @@ class PathTraceMapScreen extends StatefulWidget {
|
||||
|
||||
class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
with SingleTickerProviderStateMixin {
|
||||
static const double _labelZoomThreshold = 8.5;
|
||||
static const double _mapMinZoom = 2.0;
|
||||
static const double _mapMaxZoom = 18.0;
|
||||
static const double _labelZoomThreshold = kPathMapLabelZoomThreshold;
|
||||
// Used when the radio never acknowledges the trace request.
|
||||
static const Duration _sendAckTimeout = Duration(seconds: 15);
|
||||
//miles to meters conversion for filtering out repeaters that are too far from the last known GPS hop to be a likely match, to avoid false matches that throw off the inferred positions of other hops in the path
|
||||
static const double _maxRepeaterMatchDistanceMeters = 40 * 1609.344;
|
||||
|
||||
@@ -130,6 +132,10 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
bool _animationEnabled = true;
|
||||
bool _followPacket = false;
|
||||
|
||||
// Hop-prefix -> contact lookups, invalidated when the contact list changes.
|
||||
final Map<String, Contact?> _hopContactCache = {};
|
||||
int? _hopContactCacheSignature;
|
||||
|
||||
String _formatPathPrefixes(Uint8List pathBytes, [int? hashByteWidth]) {
|
||||
return PathHelper.splitPathBytes(
|
||||
pathBytes,
|
||||
@@ -235,15 +241,12 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
|
||||
/// Keeps the camera centered on the packet while the follow lock is on.
|
||||
void _followPacketCamera() {
|
||||
if (!_followPacket ||
|
||||
!_animationEnabled ||
|
||||
!_playback.started ||
|
||||
!_playback.hasPath ||
|
||||
!mounted ||
|
||||
!_hasData) {
|
||||
return;
|
||||
}
|
||||
_mapController.move(_playback.position, _mapController.camera.zoom);
|
||||
if (!mounted) return;
|
||||
followPacketCamera(
|
||||
_mapController,
|
||||
_playback,
|
||||
enabled: _followPacket && _animationEnabled && _hasData,
|
||||
);
|
||||
}
|
||||
|
||||
void _toggleFollowPacket() {
|
||||
@@ -253,72 +256,12 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
_followPacketCamera();
|
||||
}
|
||||
|
||||
bool _isDesktopPlatform(TargetPlatform platform) {
|
||||
return platform == TargetPlatform.linux ||
|
||||
platform == TargetPlatform.windows ||
|
||||
platform == TargetPlatform.macOS;
|
||||
}
|
||||
|
||||
void _zoomMapBy(double delta) {
|
||||
final camera = _mapController.camera;
|
||||
final nextZoom = (camera.zoom + delta)
|
||||
.clamp(_mapMinZoom, _mapMaxZoom)
|
||||
.toDouble();
|
||||
_mapController.move(camera.center, nextZoom);
|
||||
}
|
||||
|
||||
void _resetMapView() {
|
||||
final bounds = _bounds;
|
||||
if (bounds != null) {
|
||||
_mapController.fitCamera(
|
||||
CameraFit.bounds(
|
||||
bounds: bounds,
|
||||
padding: const EdgeInsets.all(64),
|
||||
maxZoom: 16,
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
final center = _initialCenter;
|
||||
if (center != null) {
|
||||
_mapController.move(center, _initialZoom);
|
||||
}
|
||||
}
|
||||
|
||||
Widget _buildDesktopMapControls() {
|
||||
return Positioned(
|
||||
top: 16,
|
||||
left: 16,
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
color: MeshPalette.bg1.withValues(alpha: 0.90),
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
border: Border.all(color: MeshPalette.line2),
|
||||
),
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.add),
|
||||
tooltip: context.l10n.map_zoomIn,
|
||||
onPressed: () => _zoomMapBy(1),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.remove),
|
||||
tooltip: context.l10n.map_zoomOut,
|
||||
onPressed: () => _zoomMapBy(-1),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.my_location),
|
||||
tooltip: context.l10n.map_centerMap,
|
||||
onPressed: _resetMapView,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
resetMapView(
|
||||
_mapController,
|
||||
bounds: _bounds,
|
||||
center: _initialCenter,
|
||||
zoom: _initialZoom,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -469,7 +412,37 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
payload: tracePayload,
|
||||
);
|
||||
_awaitingTraceSent = true;
|
||||
connector.sendFrame(frame);
|
||||
_timeoutTimer?.cancel();
|
||||
// Fallback in case RESP_CODE_SENT / RESP_CODE_ERR never arrives; the
|
||||
// RESP_CODE_SENT handler replaces it with the radio's own timeout.
|
||||
_timeoutTimer = Timer(_sendAckTimeout, () {
|
||||
if (!mounted || !_awaitingTraceSent) return;
|
||||
_awaitingTraceSent = false;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_failed2Loaded = true;
|
||||
});
|
||||
});
|
||||
try {
|
||||
await connector.sendFrame(frame);
|
||||
} catch (e) {
|
||||
_awaitingTraceSent = false;
|
||||
_timeoutTimer?.cancel();
|
||||
appLogger.error(
|
||||
'Failed to send path trace: $e',
|
||||
tag: 'PathTraceMapScreen',
|
||||
);
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_failed2Loaded = true;
|
||||
});
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.pathTrace_sendFailed(e.toString())),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void _setupFrameListener() {
|
||||
@@ -725,7 +698,8 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
_targetContactIsGuessed = targetGuessed;
|
||||
|
||||
_points = <LatLng>[];
|
||||
_points.add(LatLng(connector.selfLatitude!, connector.selfLongitude!));
|
||||
final selfPoint = plausibleSelfPoint(connector);
|
||||
if (selfPoint != null) _points.add(selfPoint);
|
||||
String hopLast = '';
|
||||
String hopLastLast = '';
|
||||
for (final hop in _traceData!.pathData) {
|
||||
@@ -753,7 +727,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
Polyline(
|
||||
points: _points,
|
||||
strokeWidth: 4,
|
||||
color: Colors.blueAccent,
|
||||
color: kPrimaryPathColor,
|
||||
),
|
||||
]
|
||||
: <Polyline>[];
|
||||
@@ -801,16 +775,31 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
}
|
||||
|
||||
Contact? _contactForHop(Uint8List hop, MeshCoreConnector connector) {
|
||||
final traced = _traceData?.pathContacts[_hopKey(hop)];
|
||||
final hopKey = _hopKey(hop);
|
||||
final traced = _traceData?.pathContacts[hopKey];
|
||||
if (traced != null) return traced;
|
||||
for (final c in connector.allContactsUnfiltered) {
|
||||
if (c.type != advTypeChat &&
|
||||
c.publicKey.length >= hop.length &&
|
||||
listEquals(c.publicKey.sublist(0, hop.length), hop)) {
|
||||
return c;
|
||||
_hopContactCacheSignature ??= _refreshHopContactCache(connector);
|
||||
return _hopContactCache.putIfAbsent(hopKey, () {
|
||||
for (final c in connector.allContactsUnfiltered) {
|
||||
if (c.type != advTypeChat &&
|
||||
c.publicKey.length >= hop.length &&
|
||||
listEquals(c.publicKey.sublist(0, hop.length), hop)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
/// Drops cached hop -> contact lookups when the contact list changed;
|
||||
/// called once per build so per-hop lookups stay cheap.
|
||||
int _refreshHopContactCache(MeshCoreConnector connector) {
|
||||
final signature = contactListSignature(connector.allContactsUnfiltered);
|
||||
if (signature != _hopContactCacheSignature) {
|
||||
_hopContactCache.clear();
|
||||
_hopContactCacheSignature = signature;
|
||||
}
|
||||
return null;
|
||||
return signature;
|
||||
}
|
||||
|
||||
LatLng? _inferredPositionForHop(Uint8List hop, MeshCoreConnector connector) {
|
||||
@@ -842,6 +831,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
/// Rebuilds the renderable paths: the traced path as primary plus up to
|
||||
/// four distinct alternates from the target contact's path history.
|
||||
void _rebuildDisplayPaths(MeshCoreConnector connector) {
|
||||
_refreshHopContactCache(connector);
|
||||
final paths = <DisplayPath>[];
|
||||
final primary = _buildDisplayPath(
|
||||
id: 'primary',
|
||||
@@ -900,15 +890,14 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
required MeshCoreConnector connector,
|
||||
PathRecord? record,
|
||||
}) {
|
||||
final selfLat = connector.selfLatitude;
|
||||
final selfLon = connector.selfLongitude;
|
||||
if (selfLat == null || selfLon == null) return null;
|
||||
|
||||
final points = <LatLng>[LatLng(selfLat, selfLon)];
|
||||
final labels = <String>[context.l10n.pathTrace_you];
|
||||
final confirmed = <bool>[true];
|
||||
final hopOrdinals = <int>[-1];
|
||||
final gapBefore = <bool>[false];
|
||||
// Without a GPS fix for the local radio the path starts at the first
|
||||
// located hop instead of a bogus "You" at 0,0.
|
||||
final selfPoint = plausibleSelfPoint(connector);
|
||||
final points = <LatLng>[?selfPoint];
|
||||
final labels = <String>[if (selfPoint != null) context.l10n.pathTrace_you];
|
||||
final confirmed = <bool>[if (selfPoint != null) true];
|
||||
final hopOrdinals = <int>[if (selfPoint != null) -1];
|
||||
final gapBefore = <bool>[if (selfPoint != null) false];
|
||||
int gpsConfirmedHops = 0;
|
||||
int unresolvedHops = 0;
|
||||
bool pendingGap = false;
|
||||
@@ -1004,18 +993,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
/// actually changed, so unrelated path-history updates don't reset a
|
||||
/// running animation.
|
||||
void _syncPlaybackToSelection() {
|
||||
final points = _selectedPath?.points ?? const <LatLng>[];
|
||||
if (points.length == _playback.points.length) {
|
||||
var same = true;
|
||||
for (var i = 0; i < points.length; i++) {
|
||||
if (points[i] != _playback.points[i]) {
|
||||
same = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (same) return;
|
||||
}
|
||||
_playback.setPath(points);
|
||||
syncPlaybackPath(_playback, _selectedPath?.points ?? const <LatLng>[]);
|
||||
}
|
||||
|
||||
void _selectPath(DisplayPath path) {
|
||||
@@ -1047,6 +1025,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
Widget build(BuildContext context) {
|
||||
return Consumer<MeshCoreConnector>(
|
||||
builder: (context, connector, _) {
|
||||
if (_hasData) _refreshHopContactCache(connector);
|
||||
final settings = context.watch<AppSettingsService>().settings;
|
||||
final isImperial = settings.unitSystem == UnitSystem.imperial;
|
||||
final tileCache = context.read<MapTileCacheService>();
|
||||
@@ -1092,8 +1071,12 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
),
|
||||
if (_hasData)
|
||||
_buildMapPathTrace(context, tileCache, _targetContact),
|
||||
if (_hasData && _isDesktopPlatform(defaultTargetPlatform))
|
||||
_buildDesktopMapControls(),
|
||||
if (_hasData && isDesktopMapPlatform())
|
||||
PathMapDesktopControls(
|
||||
onZoomIn: () => zoomMapBy(_mapController, 1),
|
||||
onZoomOut: () => zoomMapBy(_mapController, -1),
|
||||
onReset: _resetMapView,
|
||||
),
|
||||
if (_hasData && _displayPaths.length > 1)
|
||||
PathViewModeToggle(
|
||||
mode: _viewMode,
|
||||
@@ -1202,7 +1185,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
),
|
||||
);
|
||||
if (showLabels) {
|
||||
markers.add(_buildNodeLabelMarker(point: point, label: fullLabel));
|
||||
markers.add(buildPathNodeLabelMarker(point: point, label: fullLabel));
|
||||
}
|
||||
hopLastLast = hopLast;
|
||||
hopLast = hopKey;
|
||||
@@ -1219,10 +1202,8 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
required bool showLabels,
|
||||
required Contact? target,
|
||||
}) {
|
||||
final selfLat = context.read<MeshCoreConnector>().selfLatitude;
|
||||
final selfLon = context.read<MeshCoreConnector>().selfLongitude;
|
||||
if (selfLat != null && selfLon != null) {
|
||||
final selfPoint = LatLng(selfLat, selfLon);
|
||||
final selfPoint = plausibleSelfPoint(context.read<MeshCoreConnector>());
|
||||
if (selfPoint != null) {
|
||||
markers.add(
|
||||
Marker(
|
||||
point: selfPoint,
|
||||
@@ -1247,12 +1228,16 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
],
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
context.l10n.pathTrace_you,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 9,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: MeshPalette.blue,
|
||||
padding: const EdgeInsets.all(3),
|
||||
child: FittedBox(
|
||||
fit: BoxFit.scaleDown,
|
||||
child: Text(
|
||||
context.l10n.pathTrace_you,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: MeshPalette.blue,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1261,7 +1246,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
);
|
||||
if (showLabels) {
|
||||
markers.add(
|
||||
_buildNodeLabelMarker(
|
||||
buildPathNodeLabelMarker(
|
||||
point: selfPoint,
|
||||
label: context.l10n.pathTrace_you,
|
||||
),
|
||||
@@ -1315,7 +1300,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
);
|
||||
if (showLabels) {
|
||||
markers.add(
|
||||
_buildNodeLabelMarker(
|
||||
buildPathNodeLabelMarker(
|
||||
point: targetPos,
|
||||
label: isGuessed ? '~$targetName' : targetName,
|
||||
),
|
||||
@@ -1388,12 +1373,16 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
],
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
hasGps ? label : '~$label',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 10,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: baseColor,
|
||||
padding: const EdgeInsets.all(2),
|
||||
child: FittedBox(
|
||||
fit: BoxFit.scaleDown,
|
||||
child: Text(
|
||||
hasGps ? label : '~$label',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: baseColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1401,24 +1390,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
Positioned(
|
||||
top: 0,
|
||||
right: 0,
|
||||
child: Container(
|
||||
width: 17,
|
||||
height: 17,
|
||||
decoration: BoxDecoration(
|
||||
shape: BoxShape.circle,
|
||||
color: MeshPalette.bg1,
|
||||
border: Border.all(color: MeshPalette.line3),
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
'${paths.length}',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 9,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: MeshPalette.ink,
|
||||
),
|
||||
),
|
||||
),
|
||||
child: PathSharedCountBadge(count: paths.length),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -1427,7 +1399,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
);
|
||||
if (showLabels) {
|
||||
markers.add(
|
||||
_buildNodeLabelMarker(
|
||||
buildPathNodeLabelMarker(
|
||||
point: point,
|
||||
label: contact?.name ?? '~$label',
|
||||
),
|
||||
@@ -1455,42 +1427,6 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
);
|
||||
}
|
||||
|
||||
Marker _buildNodeLabelMarker({required LatLng point, required String label}) {
|
||||
return Marker(
|
||||
point: point,
|
||||
width: 120,
|
||||
height: 24,
|
||||
alignment: Alignment.topCenter,
|
||||
child: IgnorePointer(
|
||||
child: Transform.translate(
|
||||
offset: const Offset(0, -20),
|
||||
child: FittedBox(
|
||||
fit: BoxFit.contain,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 2),
|
||||
decoration: BoxDecoration(
|
||||
color: MeshPalette.bg.withValues(alpha: 0.82),
|
||||
borderRadius: BorderRadius.circular(MeshRadii.xs),
|
||||
border: Border.all(color: MeshPalette.line, width: 0.5),
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
label,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 10,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: MeshPalette.ink2,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
String formatDirectionText(PathTraceData pathTraceData, int index) {
|
||||
if (pathTraceData.pathData.isEmpty) {
|
||||
return context.l10n.pathTrace_you;
|
||||
@@ -1554,35 +1490,13 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
MapTileCacheService tileCache,
|
||||
Contact? target,
|
||||
) {
|
||||
final isDesktop = _isDesktopPlatform(defaultTargetPlatform);
|
||||
return FlutterMap(
|
||||
key: _mapKey,
|
||||
mapController: _mapController,
|
||||
options: MapOptions(
|
||||
interactionOptions: InteractionOptions(
|
||||
flags: ~InteractiveFlag.rotate,
|
||||
scrollWheelVelocity: isDesktop ? 0.012 : 0.005,
|
||||
cursorKeyboardRotationOptions:
|
||||
CursorKeyboardRotationOptions.disabled(),
|
||||
keyboardOptions: isDesktop
|
||||
? const KeyboardOptions(
|
||||
enableArrowKeysPanning: true,
|
||||
enableWASDPanning: true,
|
||||
enableRFZooming: true,
|
||||
)
|
||||
: const KeyboardOptions.disabled(),
|
||||
),
|
||||
options: buildPathMapOptions(
|
||||
initialCenter: _initialCenter!,
|
||||
initialZoom: _initialZoom,
|
||||
initialCameraFit: _bounds == null
|
||||
? null
|
||||
: CameraFit.bounds(
|
||||
bounds: _bounds!,
|
||||
padding: const EdgeInsets.all(64),
|
||||
maxZoom: 16,
|
||||
),
|
||||
minZoom: _mapMinZoom,
|
||||
maxZoom: _mapMaxZoom,
|
||||
bounds: _bounds,
|
||||
onPositionChanged: (camera, hasGesture) {
|
||||
if (!mounted) return;
|
||||
// A manual pan/zoom releases the follow lock.
|
||||
@@ -1674,118 +1588,49 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
final l10n = context.l10n;
|
||||
final selected = _selectedPath;
|
||||
final combined = _viewMode == PathViewMode.combined;
|
||||
final maxHeight =
|
||||
MediaQuery.of(context).size.height * (combined ? 0.45 : 0.35);
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
final hopRows = combined
|
||||
? (selected?.totalTransmissions ?? 0)
|
||||
: pathTraceData.pathData.length + 1;
|
||||
|
||||
double cardHeight;
|
||||
if (_panelCollapsed) {
|
||||
cardHeight = 128;
|
||||
} else {
|
||||
final summaryHeight = combined ? 34.0 + _displayPaths.length * 36.0 : 0;
|
||||
final hopRows = combined
|
||||
? (selected?.totalTransmissions ?? 0)
|
||||
: pathTraceData.pathData.length + 1;
|
||||
final estimatedHeight = 132.0 + summaryHeight + hopRows * 56.0;
|
||||
cardHeight = max(176.0, min(maxHeight, estimatedHeight));
|
||||
}
|
||||
|
||||
return Positioned(
|
||||
left: 16,
|
||||
right: 16,
|
||||
bottom: 16,
|
||||
child: SizedBox(
|
||||
height: cardHeight,
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
color: MeshPalette.bg1.withValues(alpha: 0.95),
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
border: Border.all(color: MeshPalette.line2),
|
||||
),
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(12, 8, 4, 0),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'${l10n.channelPath_repeaterHops} ${formatDistance(selected?.distanceMeters ?? _pathDistanceMeters, isImperial: isImperial)}',
|
||||
style: MeshTheme.mono(
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 13,
|
||||
color: MeshPalette.ink,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
PathMiniLegend(combined: combined),
|
||||
],
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
visualDensity: VisualDensity.compact,
|
||||
icon: Icon(
|
||||
_panelCollapsed
|
||||
? Icons.expand_less
|
||||
: Icons.expand_more,
|
||||
size: 20,
|
||||
),
|
||||
tooltip: _panelCollapsed
|
||||
? l10n.pathMap_expandPanel
|
||||
: l10n.pathMap_collapsePanel,
|
||||
onPressed: () =>
|
||||
setState(() => _panelCollapsed = !_panelCollapsed),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
PathAnimationControls(
|
||||
playback: _playback,
|
||||
selected: selected,
|
||||
animationEnabled: _animationEnabled,
|
||||
onToggleAnimation: () => setState(() {
|
||||
_animationEnabled = !_animationEnabled;
|
||||
if (!_animationEnabled) _playback.stop();
|
||||
}),
|
||||
followEnabled: _followPacket,
|
||||
onToggleFollow: _toggleFollowPacket,
|
||||
),
|
||||
if (!_panelCollapsed) ...[
|
||||
if (selected != null && selected.unresolvedHops > 0)
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(12, 0, 12, 4),
|
||||
child: Text(
|
||||
l10n.pathMap_partialAnimation(selected.unresolvedHops),
|
||||
style: TextStyle(
|
||||
fontSize: 10.5,
|
||||
color: MeshPalette.warn,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (combined)
|
||||
PathSummaryList(
|
||||
paths: _displayPaths,
|
||||
selectedId: _selectedPathId,
|
||||
hiddenIds: _hiddenPathIds,
|
||||
isImperial: isImperial,
|
||||
onSelect: _selectPath,
|
||||
onToggleVisibility: _togglePathVisibility,
|
||||
onShowAll: () => setState(_hiddenPathIds.clear),
|
||||
),
|
||||
const Divider(height: 1),
|
||||
Expanded(child: _buildHopList(pathTraceData, selected)),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
return PathMapBottomPanel(
|
||||
header: Text(
|
||||
'${l10n.channelPath_repeaterHops} ${formatDistance(selected?.distanceMeters ?? _pathDistanceMeters, isImperial: isImperial, l10n: l10n)}',
|
||||
style: MeshTheme.mono(
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 13,
|
||||
color: MeshPalette.ink,
|
||||
),
|
||||
),
|
||||
combined: combined,
|
||||
showInferredLegend: true,
|
||||
collapsed: _panelCollapsed,
|
||||
onToggleCollapsed: () =>
|
||||
setState(() => _panelCollapsed = !_panelCollapsed),
|
||||
playback: _playback,
|
||||
selected: selected,
|
||||
animationEnabled: _animationEnabled,
|
||||
onToggleAnimation: () => setState(() {
|
||||
_animationEnabled = !_animationEnabled;
|
||||
if (!_animationEnabled) _playback.stop();
|
||||
}),
|
||||
followEnabled: _followPacket,
|
||||
onToggleFollow: _toggleFollowPacket,
|
||||
showNoSelfGpsNote: plausibleSelfPoint(connector) == null,
|
||||
pathCount: _displayPaths.length,
|
||||
hopRowCount: hopRows,
|
||||
summary: combined
|
||||
? PathSummaryList(
|
||||
paths: _displayPaths,
|
||||
selectedId: _selectedPathId,
|
||||
hiddenIds: _hiddenPathIds,
|
||||
isImperial: isImperial,
|
||||
onSelect: _selectPath,
|
||||
onToggleVisibility: _togglePathVisibility,
|
||||
onShowAll: () => setState(_hiddenPathIds.clear),
|
||||
)
|
||||
: null,
|
||||
hopList: _buildHopList(pathTraceData, selected),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1836,9 +1681,12 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
tileColor: index == highlightRow
|
||||
? kPrimaryPathColor.withValues(alpha: 0.14)
|
||||
: null,
|
||||
leading: index >= pathTraceData.snrData.length / 2
|
||||
? Icon(Icons.call_received)
|
||||
: Icon(Icons.call_made),
|
||||
leading: Icon(
|
||||
index >= pathTraceData.snrData.length / 2
|
||||
? Icons.call_received
|
||||
: Icons.call_made,
|
||||
color: MeshPalette.ink2,
|
||||
),
|
||||
title: Text(
|
||||
formatDirectionText(pathTraceData, index),
|
||||
style: MeshTheme.mono(fontSize: 13, color: MeshPalette.ink),
|
||||
@@ -1853,7 +1701,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
Icon(snrUi.icon, color: snrUi.color, size: 18.0),
|
||||
Text(
|
||||
snrUi.text,
|
||||
style: MeshTheme.mono(fontSize: 10, color: snrUi.color),
|
||||
style: MeshTheme.mono(fontSize: 12, color: snrUi.color),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -1919,7 +1767,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
Icon(snrUi.icon, color: snrUi.color, size: 18.0),
|
||||
Text(
|
||||
snrUi.text,
|
||||
style: MeshTheme.mono(fontSize: 10, color: snrUi.color),
|
||||
style: MeshTheme.mono(fontSize: 12, color: snrUi.color),
|
||||
),
|
||||
],
|
||||
);
|
||||
@@ -1946,7 +1794,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
child: Text(
|
||||
'${index + 1}',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: path.color,
|
||||
),
|
||||
@@ -1958,7 +1806,7 @@ class _PathTraceMapScreenState extends State<PathTraceMapScreen>
|
||||
),
|
||||
subtitle: Text(
|
||||
subtitle,
|
||||
style: MeshTheme.mono(fontSize: 11, color: MeshPalette.ink3),
|
||||
style: MeshTheme.mono(fontSize: 12, color: MeshPalette.ink3),
|
||||
),
|
||||
trailing: trailing,
|
||||
);
|
||||
|
||||
@@ -36,6 +36,22 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
List<Region> _regions = [];
|
||||
bool _isFetchingRegions = false;
|
||||
|
||||
/// Completed when the user cancels an in-progress fetch; pending discovery
|
||||
/// and region requests resolve immediately with no results.
|
||||
Completer<void>? _fetchCancel;
|
||||
|
||||
/// Drives the fetch progress dialog: null while discovering, otherwise
|
||||
/// (current repeater, total repeaters).
|
||||
final ValueNotifier<(int, int)?> _fetchProgress = ValueNotifier(null);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
final cancel = _fetchCancel;
|
||||
if (cancel != null && !cancel.isCompleted) cancel.complete();
|
||||
_fetchProgress.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
@@ -114,6 +130,9 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
// Keep the app default visible so "No region (unscoped)" can be
|
||||
// chosen before any region is added.
|
||||
_buildDefaultRegionTile(context),
|
||||
// The radio may hold a default region set by firmware or another
|
||||
// client even when this app's list is empty; keep it clearable.
|
||||
_buildRadioDefaultRegionTile(context),
|
||||
@@ -245,52 +264,105 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
}
|
||||
}
|
||||
|
||||
void _showAddRegionDialog(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
final controller = TextEditingController();
|
||||
showDialog(
|
||||
Future<void> _showAddRegionDialog(BuildContext context) async {
|
||||
final region = await showDialog<Region>(
|
||||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
title: Text(l10n.settings_regionName),
|
||||
content: TextField(
|
||||
controller: controller,
|
||||
autofocus: true,
|
||||
textInputAction: TextInputAction.send,
|
||||
onSubmitted: (_) => _handleAddRegion(controller.text, context),
|
||||
decoration: InputDecoration(
|
||||
hintText: l10n.settings_regionNameHint,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
inputFormatters: <TextInputFormatter>[
|
||||
FilteringTextInputFormatter.allow(RegExp("[a-z0-9-]")),
|
||||
],
|
||||
maxLength: 30,
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => _handleAddRegion(controller.text, context),
|
||||
child: Text(l10n.common_add),
|
||||
),
|
||||
],
|
||||
),
|
||||
builder: (_) => const _AddRegionDialog(),
|
||||
);
|
||||
if (region == null || !mounted) return;
|
||||
_handleAddRegion(region);
|
||||
}
|
||||
|
||||
Future<void> _showFetchRegionsDialog() async {
|
||||
if (_isFetchingRegions) return;
|
||||
final l10n = context.l10n;
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
|
||||
if (!connector.isConnected) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.settings_notConnectedError),
|
||||
);
|
||||
return;
|
||||
}
|
||||
final knownRepeaters = connector.contacts
|
||||
.where((contact) => contact.type == advTypeRepeater)
|
||||
.toList();
|
||||
if (knownRepeaters.isEmpty) {
|
||||
await _showFetchMessage(l10n.settings_regionFetchNoRepeaters);
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
_isFetchingRegions = true;
|
||||
});
|
||||
final cancel = Completer<void>();
|
||||
_fetchCancel = cancel;
|
||||
_fetchProgress.value = null;
|
||||
|
||||
Set<Region> fetchedRegions = {};
|
||||
BuildContext? progressContext;
|
||||
unawaited(
|
||||
showDialog<void>(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
builder: (dialogContext) {
|
||||
progressContext = dialogContext;
|
||||
return PopScope(
|
||||
canPop: false,
|
||||
child: AlertDialog(
|
||||
title: Text(l10n.settings_regionFetchRegions),
|
||||
content: ValueListenableBuilder<(int, int)?>(
|
||||
valueListenable: _fetchProgress,
|
||||
builder: (context, progress, _) => Row(
|
||||
children: [
|
||||
const SizedBox(
|
||||
width: 28,
|
||||
height: 28,
|
||||
child: CircularProgressIndicator(strokeWidth: 3),
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
Expanded(
|
||||
child: Text(
|
||||
progress == null
|
||||
? l10n.settings_regionFetchDiscovering
|
||||
: l10n.settings_regionFetchProgress(
|
||||
progress.$1,
|
||||
progress.$2,
|
||||
),
|
||||
style: Theme.of(context).textTheme.bodyLarge,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
if (!cancel.isCompleted) cancel.complete();
|
||||
progressContext = null;
|
||||
Navigator.pop(dialogContext);
|
||||
},
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
_RegionFetchResult result;
|
||||
try {
|
||||
fetchedRegions = await _fetchRegionsFromRepeaters();
|
||||
result = await _fetchRegionsFromRepeaters(connector, cancel);
|
||||
} finally {
|
||||
if (_fetchCancel == cancel) _fetchCancel = null;
|
||||
// A fetch that fails instantly can finish before the progress dialog
|
||||
// has built; let it build so it can be closed.
|
||||
if (progressContext == null && !cancel.isCompleted) {
|
||||
await WidgetsBinding.instance.endOfFrame;
|
||||
}
|
||||
final dialog = progressContext;
|
||||
if (dialog != null && dialog.mounted) Navigator.pop(dialog);
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isFetchingRegions = false;
|
||||
@@ -299,8 +371,12 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
}
|
||||
|
||||
if (!mounted) return;
|
||||
final l10n = context.l10n;
|
||||
final sortedRegions = fetchedRegions.toList()..sort();
|
||||
if (cancel.isCompleted && result.regions.isEmpty) return;
|
||||
if (!cancel.isCompleted && result.askedRepeaters == 0) {
|
||||
await _showFetchMessage(l10n.settings_regionFetchNoneResponded);
|
||||
return;
|
||||
}
|
||||
final sortedRegions = result.regions.toList()..sort();
|
||||
await showDialog<void>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
@@ -345,9 +421,13 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
: null,
|
||||
onPressed: () {
|
||||
if (alreadyExists) {
|
||||
_showDialogSnackBar(
|
||||
context,
|
||||
l10n.settings_regionFetchRegionsAlreadyExists,
|
||||
// Screen context: the root
|
||||
// ScaffoldMessenger, not the dialog's.
|
||||
showDismissibleSnackBar(
|
||||
this.context,
|
||||
content: Text(
|
||||
l10n.settings_regionFetchRegionsAlreadyExists,
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -376,54 +456,46 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
void _showDialogSnackBar(BuildContext context, String message) {
|
||||
final overlay = Overlay.maybeOf(context);
|
||||
if (overlay == null) return;
|
||||
|
||||
final theme = Theme.of(context);
|
||||
final entry = OverlayEntry(
|
||||
builder: (context) => Positioned(
|
||||
left: 16,
|
||||
right: 16,
|
||||
bottom: 32,
|
||||
child: SafeArea(
|
||||
child: Material(
|
||||
color: theme.colorScheme.inverseSurface,
|
||||
elevation: 6,
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),
|
||||
child: Text(
|
||||
message,
|
||||
style: theme.textTheme.bodyMedium?.copyWith(
|
||||
color: theme.colorScheme.onInverseSurface,
|
||||
),
|
||||
),
|
||||
),
|
||||
Future<void> _showFetchMessage(String message) {
|
||||
final l10n = context.l10n;
|
||||
return showDialog<void>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
title: Text(l10n.settings_regionFetchRegions),
|
||||
content: Text(message),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
child: Text(l10n.common_close),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
overlay.insert(entry);
|
||||
Timer(const Duration(seconds: 3), entry.remove);
|
||||
}
|
||||
|
||||
Future<Set<Region>> _fetchRegionsFromRepeaters() async {
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
final repeaters = await _discoverNearbyRepeaters(connector);
|
||||
Future<_RegionFetchResult> _fetchRegionsFromRepeaters(
|
||||
MeshCoreConnector connector,
|
||||
Completer<void> cancel,
|
||||
) async {
|
||||
final repeaters = await _discoverNearbyRepeaters(connector, cancel);
|
||||
final regions = <Region>{};
|
||||
var asked = 0;
|
||||
|
||||
for (final repeater in repeaters) {
|
||||
if (!mounted || !connector.isConnected) break;
|
||||
regions.addAll(await _requestRegionsFromRepeater(connector, repeater));
|
||||
if (!mounted || !connector.isConnected || cancel.isCompleted) break;
|
||||
asked++;
|
||||
_fetchProgress.value = (asked, repeaters.length);
|
||||
regions.addAll(
|
||||
await _requestRegionsFromRepeater(connector, repeater, cancel),
|
||||
);
|
||||
}
|
||||
|
||||
return regions;
|
||||
return _RegionFetchResult(regions: regions, askedRepeaters: asked);
|
||||
}
|
||||
|
||||
Future<List<Contact>> _discoverNearbyRepeaters(
|
||||
MeshCoreConnector connector,
|
||||
Completer<void> cancel,
|
||||
) async {
|
||||
final repeaters = connector.contacts
|
||||
.where((contact) => contact.type == advTypeRepeater)
|
||||
@@ -469,9 +541,12 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
}
|
||||
});
|
||||
|
||||
unawaited(cancel.future.then((_) => complete()));
|
||||
|
||||
try {
|
||||
final payload = buildDiscoveryRequestPayload(tag, prefixOnly: true);
|
||||
await connector.sendFrame(buildSendControlDataFrame(payload));
|
||||
if (completer.isCompleted) return <Contact>[];
|
||||
timeout = Timer(const Duration(seconds: 10), complete);
|
||||
final prefixes = await completer.future;
|
||||
return repeaters.where((contact) {
|
||||
@@ -488,6 +563,7 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
Future<Set<Region>> _requestRegionsFromRepeater(
|
||||
MeshCoreConnector connector,
|
||||
Contact repeater,
|
||||
Completer<void> cancel,
|
||||
) async {
|
||||
StreamSubscription<Uint8List>? subscription;
|
||||
Timer? timeout;
|
||||
@@ -509,6 +585,8 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
timeout = Timer(duration, () => complete(<Region>{}));
|
||||
}
|
||||
|
||||
unawaited(cancel.future.then((_) => complete(<Region>{})));
|
||||
|
||||
try {
|
||||
final replyPath = Uint8List(0);
|
||||
const replyHopCount = 0;
|
||||
@@ -561,28 +639,27 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
pathHashWidth: connector.pathHashByteWidth,
|
||||
);
|
||||
await connector.sendFrame(frame);
|
||||
final regions = await completer.future;
|
||||
if (pathChangedForRequest && connector.isConnected) {
|
||||
await _restoreRepeaterPath(
|
||||
connector,
|
||||
repeater,
|
||||
originalPathLength,
|
||||
originalPath,
|
||||
);
|
||||
}
|
||||
return regions;
|
||||
return await completer.future;
|
||||
} catch (_) {
|
||||
timeout?.cancel();
|
||||
subscription?.cancel();
|
||||
if (pathChangedForRequest && connector.isConnected) {
|
||||
await _restoreRepeaterPath(
|
||||
connector,
|
||||
repeater,
|
||||
originalPathLength,
|
||||
originalPath,
|
||||
);
|
||||
}
|
||||
return <Region>{};
|
||||
} finally {
|
||||
timeout?.cancel();
|
||||
await subscription?.cancel();
|
||||
// Always put the user's route back, whatever happened above. (The
|
||||
// connector ignores path writes while disconnected, so nothing can be
|
||||
// restored if the link dropped mid-request.)
|
||||
if (pathChangedForRequest) {
|
||||
try {
|
||||
await _restoreRepeaterPath(
|
||||
connector,
|
||||
repeater,
|
||||
originalPathLength,
|
||||
originalPath,
|
||||
);
|
||||
} catch (_) {
|
||||
// Best effort; the original path is still in the contact store.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -616,9 +693,11 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
.toSet();
|
||||
}
|
||||
|
||||
void _handleAddRegion(Region region, BuildContext context) {
|
||||
Navigator.pop(context);
|
||||
_regionStore.addRegion(region);
|
||||
void _handleAddRegion(Region region) {
|
||||
// An empty name would collide with the '' "none" dropdown entry.
|
||||
final trimmed = region.trim();
|
||||
if (trimmed.isEmpty) return;
|
||||
_regionStore.addRegion(trimmed);
|
||||
_loadRegions();
|
||||
}
|
||||
|
||||
@@ -686,3 +765,73 @@ class _RegionManagementScreenState extends State<RegionManagementScreen> {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class _RegionFetchResult {
|
||||
final Set<Region> regions;
|
||||
final int askedRepeaters;
|
||||
|
||||
const _RegionFetchResult({
|
||||
required this.regions,
|
||||
required this.askedRepeaters,
|
||||
});
|
||||
}
|
||||
|
||||
/// Region-name entry. Owns (and disposes) its controller and only enables
|
||||
/// Add once the trimmed name is non-empty; pops with that name.
|
||||
class _AddRegionDialog extends StatefulWidget {
|
||||
const _AddRegionDialog();
|
||||
|
||||
@override
|
||||
State<_AddRegionDialog> createState() => _AddRegionDialogState();
|
||||
}
|
||||
|
||||
class _AddRegionDialogState extends State<_AddRegionDialog> {
|
||||
final TextEditingController _controller = TextEditingController();
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_controller.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
void _submit() {
|
||||
final name = _controller.text.trim();
|
||||
if (name.isEmpty) return;
|
||||
Navigator.pop(context, name);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
return AlertDialog(
|
||||
title: Text(l10n.settings_regionName),
|
||||
content: TextField(
|
||||
controller: _controller,
|
||||
autofocus: true,
|
||||
textInputAction: TextInputAction.send,
|
||||
onSubmitted: (_) => _submit(),
|
||||
decoration: InputDecoration(
|
||||
hintText: l10n.settings_regionNameHint,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
inputFormatters: <TextInputFormatter>[
|
||||
FilteringTextInputFormatter.allow(RegExp("[a-z0-9-]")),
|
||||
],
|
||||
maxLength: 30,
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
ListenableBuilder(
|
||||
listenable: _controller,
|
||||
builder: (context, _) => TextButton(
|
||||
onPressed: _controller.text.trim().isEmpty ? null : _submit,
|
||||
child: Text(l10n.common_add),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -2,12 +2,15 @@ import 'dart:async';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../models/contact.dart';
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../widgets/confirm_clear_dialog.dart';
|
||||
import '../widgets/debug_frame_viewer.dart';
|
||||
import '../widgets/radio_disconnected_banner.dart';
|
||||
import '../services/repeater_command_service.dart';
|
||||
import '../widgets/routing_sheet.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
@@ -144,10 +147,12 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
_historyIndex = -1;
|
||||
_commandFocusNode.requestFocus();
|
||||
|
||||
if (showDebug && mounted) {
|
||||
if (showDebug && mounted && _commandService != null) {
|
||||
// Preview the exact framed text the service sends (`XX|` prefix and
|
||||
// clock-sync rewrite), not the bare command.
|
||||
final frame = buildSendCliCommandFrame(
|
||||
widget.repeater.publicKey,
|
||||
command,
|
||||
_commandService!.previewFramedCommand(command),
|
||||
);
|
||||
DebugFrameViewer.showFrameDebug(
|
||||
context,
|
||||
@@ -302,6 +307,50 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
});
|
||||
}
|
||||
|
||||
Future<void> _confirmClearHistory() async {
|
||||
final l10n = context.l10n;
|
||||
final confirmed = await showConfirmClearDialog(
|
||||
context,
|
||||
title: l10n.repeater_clearHistory,
|
||||
message: l10n.repeater_cliClearHistoryConfirm,
|
||||
);
|
||||
if (confirmed && mounted) _clearHistory();
|
||||
}
|
||||
|
||||
String _transcriptText() {
|
||||
return _commandHistory
|
||||
.map(
|
||||
(entry) => entry['type'] == 'command'
|
||||
? '> ${entry['text']}'
|
||||
: (entry['text'] ?? ''),
|
||||
)
|
||||
.join('\n');
|
||||
}
|
||||
|
||||
Future<void> _copyTranscript() async {
|
||||
if (_commandHistory.isEmpty) return;
|
||||
await Clipboard.setData(ClipboardData(text: _transcriptText()));
|
||||
if (!mounted) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.repeater_cliTranscriptCopied),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _shareTranscript() async {
|
||||
if (_commandHistory.isEmpty) return;
|
||||
final box = context.findRenderObject() as RenderBox?;
|
||||
await SharePlus.instance.share(
|
||||
ShareParams(
|
||||
text: _transcriptText(),
|
||||
subject: '${context.l10n.repeater_cliTitle} - ${widget.repeater.name}',
|
||||
sharePositionOrigin: box == null
|
||||
? null
|
||||
: box.localToGlobal(Offset.zero) & box.size,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
String _quickCommandLabel(String key) {
|
||||
final l10n = context.l10n;
|
||||
switch (key) {
|
||||
@@ -335,11 +384,15 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
final connector = context.watch<MeshCoreConnector>();
|
||||
final repeater = _resolveRepeater(connector);
|
||||
final isFloodMode = repeater.pathOverride == -1;
|
||||
final connected = connector.isConnected;
|
||||
final accent = scheme.primary;
|
||||
final hasHistory = _commandHistory.isNotEmpty;
|
||||
|
||||
return Scaffold(
|
||||
backgroundColor: MeshPalette.bg,
|
||||
backgroundColor: scheme.surfaceContainerLowest,
|
||||
appBar: AppBar(
|
||||
backgroundColor: MeshPalette.bg1,
|
||||
backgroundColor: scheme.surfaceContainer,
|
||||
foregroundColor: scheme.onSurface,
|
||||
title: Text(l10n.repeater_cliTitle),
|
||||
centerTitle: true,
|
||||
actions: [
|
||||
@@ -357,25 +410,53 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
IconButton(
|
||||
icon: const Icon(Icons.clear_all),
|
||||
tooltip: l10n.repeater_clearHistory,
|
||||
onPressed: _commandHistory.isEmpty ? null : _clearHistory,
|
||||
onPressed: hasHistory ? _confirmClearHistory : null,
|
||||
),
|
||||
PopupMenuButton<String>(
|
||||
icon: const Icon(Icons.more_vert),
|
||||
onSelected: (value) {
|
||||
if (value == 'debug') {
|
||||
if (_commandController.text.trim().isNotEmpty) {
|
||||
_sendCommand(showDebug: true);
|
||||
} else {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_enterCommandFirst),
|
||||
);
|
||||
}
|
||||
switch (value) {
|
||||
case 'debug':
|
||||
if (_commandController.text.trim().isNotEmpty) {
|
||||
_sendCommand(showDebug: true);
|
||||
} else {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_enterCommandFirst),
|
||||
);
|
||||
}
|
||||
case 'copy':
|
||||
_copyTranscript();
|
||||
case 'share':
|
||||
_shareTranscript();
|
||||
}
|
||||
},
|
||||
itemBuilder: (context) => [
|
||||
PopupMenuItem(
|
||||
value: 'copy',
|
||||
enabled: hasHistory,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.copy),
|
||||
const SizedBox(width: 8),
|
||||
Text(l10n.repeater_cliCopyTranscript),
|
||||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: 'share',
|
||||
enabled: hasHistory,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.share),
|
||||
const SizedBox(width: 8),
|
||||
Text(l10n.repeater_cliShareTranscript),
|
||||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: 'debug',
|
||||
enabled: connected,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.bug_report),
|
||||
@@ -390,9 +471,10 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
const RadioDisconnectedBanner(),
|
||||
// Quick commands bar
|
||||
Container(
|
||||
color: MeshPalette.bg1,
|
||||
color: scheme.surfaceContainer,
|
||||
padding: const EdgeInsets.fromLTRB(8, 6, 8, 6),
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
@@ -405,15 +487,14 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
label: Text(
|
||||
label,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: MeshPalette.blue,
|
||||
color: accent,
|
||||
),
|
||||
),
|
||||
backgroundColor: MeshPalette.blueBg,
|
||||
side: const BorderSide(color: MeshPalette.blueLine),
|
||||
visualDensity: VisualDensity.compact,
|
||||
onPressed: _regionLoadActive
|
||||
backgroundColor: accent.withValues(alpha: 0.12),
|
||||
side: BorderSide(color: accent.withValues(alpha: 0.5)),
|
||||
onPressed: _regionLoadActive || !connected
|
||||
? null
|
||||
: () => _useQuickCommand(cmd['command']!),
|
||||
),
|
||||
@@ -422,7 +503,7 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
),
|
||||
),
|
||||
),
|
||||
Divider(height: 1, color: MeshPalette.line),
|
||||
Divider(height: 1, color: scheme.outlineVariant),
|
||||
|
||||
// Output area
|
||||
Expanded(
|
||||
@@ -431,11 +512,11 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
: _buildCommandHistory(),
|
||||
),
|
||||
|
||||
Divider(height: 1, color: MeshPalette.line),
|
||||
Divider(height: 1, color: scheme.outlineVariant),
|
||||
|
||||
// Command input
|
||||
Container(
|
||||
color: MeshPalette.bg1,
|
||||
color: scheme.surfaceContainer,
|
||||
padding: const EdgeInsets.fromLTRB(8, 8, 8, 8),
|
||||
child: SafeArea(
|
||||
child: Row(
|
||||
@@ -443,22 +524,20 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
IconButton(
|
||||
icon: Icon(
|
||||
Icons.arrow_upward,
|
||||
size: 18,
|
||||
size: 22,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
tooltip: l10n.repeater_previousCommand,
|
||||
onPressed: () => _navigateHistory(true),
|
||||
visualDensity: VisualDensity.compact,
|
||||
),
|
||||
IconButton(
|
||||
icon: Icon(
|
||||
Icons.arrow_downward,
|
||||
size: 18,
|
||||
size: 22,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
tooltip: l10n.repeater_nextCommand,
|
||||
onPressed: () => _navigateHistory(false),
|
||||
visualDensity: VisualDensity.compact,
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Expanded(
|
||||
@@ -466,73 +545,61 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
controller: _commandController,
|
||||
focusNode: _commandFocusNode,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 13,
|
||||
color: MeshPalette.ink,
|
||||
fontSize: 15,
|
||||
color: scheme.onSurface,
|
||||
),
|
||||
decoration: InputDecoration(
|
||||
hintText: _regionLoadActive
|
||||
? context.l10n.repeater_cliRegionLoadHint
|
||||
: context.l10n.repeater_enterCommandHint,
|
||||
hintStyle: MeshTheme.mono(
|
||||
fontSize: 13,
|
||||
color: MeshPalette.ink4,
|
||||
fontSize: 15,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
prefixText: _regionLoadActive ? '' : '> ',
|
||||
prefixStyle: MeshTheme.mono(
|
||||
fontSize: 13,
|
||||
color: MeshPalette.blue,
|
||||
fontSize: 15,
|
||||
color: accent,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
filled: true,
|
||||
fillColor: MeshPalette.bg2,
|
||||
fillColor: scheme.surfaceContainerHigh,
|
||||
contentPadding: const EdgeInsets.symmetric(
|
||||
horizontal: 12,
|
||||
vertical: 10,
|
||||
vertical: 12,
|
||||
),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||
borderSide: const BorderSide(
|
||||
color: MeshPalette.line2,
|
||||
),
|
||||
borderSide: BorderSide(color: scheme.outline),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||
borderSide: const BorderSide(
|
||||
color: MeshPalette.line2,
|
||||
),
|
||||
borderSide: BorderSide(color: scheme.outline),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||
borderSide: const BorderSide(
|
||||
color: MeshPalette.blue,
|
||||
width: 1.5,
|
||||
),
|
||||
borderSide: BorderSide(color: accent, width: 1.5),
|
||||
),
|
||||
),
|
||||
textInputAction: TextInputAction.send,
|
||||
onSubmitted: (_) => _sendCommand(),
|
||||
onSubmitted: (_) {
|
||||
if (connected) _sendCommand();
|
||||
},
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
Material(
|
||||
color: MeshPalette.blue.withValues(alpha: 0.15),
|
||||
shape: const CircleBorder(
|
||||
side: BorderSide(color: MeshPalette.blueLine),
|
||||
),
|
||||
child: InkWell(
|
||||
customBorder: const CircleBorder(),
|
||||
onTap: () {
|
||||
HapticFeedback.lightImpact();
|
||||
_sendCommand();
|
||||
},
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.all(10),
|
||||
child: Icon(
|
||||
Icons.send,
|
||||
size: 18,
|
||||
color: MeshPalette.blue,
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 48,
|
||||
height: 48,
|
||||
child: IconButton.filledTonal(
|
||||
tooltip: l10n.repeater_cliSend,
|
||||
icon: const Icon(Icons.send, size: 24),
|
||||
onPressed: connected
|
||||
? () {
|
||||
HapticFeedback.lightImpact();
|
||||
_sendCommand();
|
||||
}
|
||||
: null,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -546,27 +613,38 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
|
||||
Widget _buildEmptyState() {
|
||||
final l10n = context.l10n;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
return Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(Icons.terminal, size: 48, color: MeshPalette.ink4),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.repeater_noCommandsSent,
|
||||
style: MeshTheme.mono(fontSize: 13, color: MeshPalette.ink3),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
l10n.repeater_typeCommandOrUseQuick,
|
||||
style: const TextStyle(fontSize: 12, color: MeshPalette.ink4),
|
||||
),
|
||||
],
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(24),
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(Icons.terminal, size: 48, color: scheme.onSurfaceVariant),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.repeater_noCommandsSent,
|
||||
textAlign: TextAlign.center,
|
||||
style: MeshTheme.mono(fontSize: 15, color: scheme.onSurface),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
l10n.repeater_typeCommandOrUseQuick,
|
||||
textAlign: TextAlign.center,
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildCommandHistory() {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final accent = scheme.primary;
|
||||
return ListView.builder(
|
||||
controller: _scrollController,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
|
||||
@@ -576,7 +654,7 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
final isCommand = entry['type'] == 'command';
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 2),
|
||||
padding: const EdgeInsets.only(bottom: 4),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -586,9 +664,9 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
child: Text(
|
||||
isCommand ? '>' : ' ',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: isCommand ? MeshPalette.blue : MeshPalette.ink3,
|
||||
color: isCommand ? accent : scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -597,8 +675,8 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
child: SelectableText(
|
||||
entry['text']!,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12.5,
|
||||
color: isCommand ? MeshPalette.blue : MeshPalette.ink,
|
||||
fontSize: 14,
|
||||
color: isCommand ? accent : scheme.onSurface,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1151,120 +1229,207 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
),
|
||||
];
|
||||
|
||||
showDialog(
|
||||
final sections = <_CommandHelpSection>[
|
||||
_CommandHelpSection(l10n.repeater_general, generalCommands),
|
||||
_CommandHelpSection(l10n.repeater_getCategory, getCommands),
|
||||
_CommandHelpSection(l10n.repeater_settingsCategory, settingsCommands),
|
||||
_CommandHelpSection(l10n.repeater_powerMgmt, powerMgmtCommands),
|
||||
_CommandHelpSection(l10n.repeater_sensors, sensorCommands),
|
||||
_CommandHelpSection(
|
||||
l10n.repeater_bridge,
|
||||
bridgeCommands,
|
||||
note: l10n.repeater_bridgeNote,
|
||||
),
|
||||
_CommandHelpSection(l10n.repeater_logging, loggingCommands),
|
||||
_CommandHelpSection(
|
||||
l10n.repeater_neighborsRepeaterOnly,
|
||||
neighborCommands,
|
||||
),
|
||||
_CommandHelpSection(
|
||||
l10n.repeater_regionManagementRepeaterOnly,
|
||||
regionCommands,
|
||||
note: l10n.repeater_regionNote,
|
||||
),
|
||||
_CommandHelpSection(
|
||||
l10n.repeater_gpsManagement,
|
||||
gpsCommands,
|
||||
note: l10n.repeater_gpsNote,
|
||||
),
|
||||
];
|
||||
|
||||
showModalBottomSheet<void>(
|
||||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
title: Text(l10n.repeater_commandsListTitle),
|
||||
content: SingleChildScrollView(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
l10n.repeater_commandsListNote,
|
||||
style: const TextStyle(fontSize: 13),
|
||||
isScrollControlled: true,
|
||||
useSafeArea: true,
|
||||
showDragHandle: true,
|
||||
builder: (sheetContext) =>
|
||||
_CommandHelpSheet(sections: sections, onSelect: _applyHelpCommand),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class _CommandHelpSection {
|
||||
final String title;
|
||||
final List<_CommandHelpEntry> commands;
|
||||
final String? note;
|
||||
const _CommandHelpSection(this.title, this.commands, {this.note});
|
||||
}
|
||||
|
||||
/// Searchable, lazily built list of CLI commands.
|
||||
class _CommandHelpSheet extends StatefulWidget {
|
||||
final List<_CommandHelpSection> sections;
|
||||
final ValueChanged<String> onSelect;
|
||||
|
||||
const _CommandHelpSheet({required this.sections, required this.onSelect});
|
||||
|
||||
@override
|
||||
State<_CommandHelpSheet> createState() => _CommandHelpSheetState();
|
||||
}
|
||||
|
||||
class _CommandHelpSheetState extends State<_CommandHelpSheet> {
|
||||
final TextEditingController _searchController = TextEditingController();
|
||||
String _query = '';
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_searchController.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
/// Section headers ([_CommandHelpSection]) interleaved with their matching
|
||||
/// [_CommandHelpEntry] rows.
|
||||
List<Object> _rows() {
|
||||
final q = _query.trim().toLowerCase();
|
||||
final rows = <Object>[];
|
||||
for (final section in widget.sections) {
|
||||
final matches = q.isEmpty
|
||||
? section.commands
|
||||
: section.commands
|
||||
.where(
|
||||
(e) =>
|
||||
e.command.toLowerCase().contains(q) ||
|
||||
e.description.toLowerCase().contains(q),
|
||||
)
|
||||
.toList();
|
||||
if (matches.isEmpty) continue;
|
||||
rows.add(section);
|
||||
rows.addAll(matches);
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
final rows = _rows();
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(bottom: MediaQuery.viewInsetsOf(context).bottom),
|
||||
child: DraggableScrollableSheet(
|
||||
expand: false,
|
||||
initialChildSize: 0.85,
|
||||
minChildSize: 0.4,
|
||||
maxChildSize: 1,
|
||||
builder: (context, scrollController) => Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 0, 16, 8),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
l10n.repeater_commandsListTitle,
|
||||
style: textTheme.titleLarge,
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
l10n.repeater_commandsListNote,
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
TextField(
|
||||
controller: _searchController,
|
||||
decoration: InputDecoration(
|
||||
prefixIcon: const Icon(Icons.search),
|
||||
hintText: l10n.repeater_cliSearchCommands,
|
||||
suffixIcon: _query.isEmpty
|
||||
? null
|
||||
: IconButton(
|
||||
icon: const Icon(Icons.clear),
|
||||
tooltip: l10n.common_clearSearch,
|
||||
onPressed: () {
|
||||
_searchController.clear();
|
||||
setState(() => _query = '');
|
||||
},
|
||||
),
|
||||
),
|
||||
onChanged: (value) => setState(() => _query = value),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_general,
|
||||
generalCommands,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_getCategory,
|
||||
getCommands,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_settingsCategory,
|
||||
settingsCommands,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_powerMgmt,
|
||||
powerMgmtCommands,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(context, l10n.repeater_sensors, sensorCommands),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_bridge,
|
||||
bridgeCommands,
|
||||
note: l10n.repeater_bridgeNote,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_logging,
|
||||
loggingCommands,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_neighborsRepeaterOnly,
|
||||
neighborCommands,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_regionManagementRepeaterOnly,
|
||||
regionCommands,
|
||||
note: l10n.repeater_regionNote,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
_buildHelpSection(
|
||||
context,
|
||||
l10n.repeater_gpsManagement,
|
||||
gpsCommands,
|
||||
note: l10n.repeater_gpsNote,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: rows.isEmpty
|
||||
? Center(
|
||||
child: Text(
|
||||
l10n.repeater_cliNoMatchingCommands,
|
||||
style: textTheme.bodyLarge?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
)
|
||||
: ListView.builder(
|
||||
controller: scrollController,
|
||||
padding: const EdgeInsets.fromLTRB(16, 0, 16, 24),
|
||||
itemCount: rows.length,
|
||||
itemBuilder: (context, index) {
|
||||
final row = rows[index];
|
||||
if (row is _CommandHelpSection) {
|
||||
return _buildHeader(row, isFirst: index == 0);
|
||||
}
|
||||
return _buildCommandCard(row as _CommandHelpEntry);
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: Text(l10n.common_close),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildHeader(_CommandHelpSection section, {required bool isFirst}) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(top: isFirst ? 4 : 16, bottom: 8),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
section.title,
|
||||
style: textTheme.titleMedium?.copyWith(fontWeight: FontWeight.bold),
|
||||
),
|
||||
if (section.note != null) ...[
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
section.note!,
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildHelpSection(
|
||||
BuildContext context,
|
||||
String title,
|
||||
List<_CommandHelpEntry> commands, {
|
||||
String? note,
|
||||
}) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
title,
|
||||
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 15),
|
||||
),
|
||||
if (note != null) ...[
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
note,
|
||||
style: TextStyle(fontSize: 11, color: scheme.onSurfaceVariant),
|
||||
),
|
||||
],
|
||||
const SizedBox(height: 8),
|
||||
...commands.map((entry) => _buildHelpCommandCard(context, entry)),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildHelpCommandCard(BuildContext context, _CommandHelpEntry entry) {
|
||||
Widget _buildCommandCard(_CommandHelpEntry entry) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
return Card(
|
||||
elevation: 0,
|
||||
margin: const EdgeInsets.only(bottom: 6),
|
||||
@@ -1275,24 +1440,26 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
|
||||
),
|
||||
child: InkWell(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.sm),
|
||||
onTap: () => _applyHelpCommand(entry.command),
|
||||
onTap: () => widget.onSelect(entry.command),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(10),
|
||||
padding: const EdgeInsets.all(12),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
entry.command,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 12,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: MeshPalette.blue,
|
||||
color: scheme.primary,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
entry.description,
|
||||
style: TextStyle(fontSize: 12, color: scheme.onSurfaceVariant),
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -9,6 +9,7 @@ import '../l10n/contact_localization.dart';
|
||||
import '../services/app_settings_service.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/radio_disconnected_banner.dart';
|
||||
import 'repeater_status_screen.dart';
|
||||
import 'repeater_cli_screen.dart';
|
||||
import 'repeater_settings_screen.dart';
|
||||
@@ -51,6 +52,7 @@ class RepeaterHubScreen extends StatelessWidget {
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.only(bottom: 24),
|
||||
children: [
|
||||
const RadioDisconnectedBanner(),
|
||||
// ── Identity card ─────────────────────────────────────────────
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 20, 16, 4),
|
||||
@@ -81,7 +83,7 @@ class RepeaterHubScreen extends StatelessWidget {
|
||||
Text(
|
||||
repeater.shortPubKeyHex,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -100,7 +102,7 @@ class RepeaterHubScreen extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.location_on,
|
||||
size: 12,
|
||||
size: 16,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
const SizedBox(width: 3),
|
||||
@@ -109,7 +111,7 @@ class RepeaterHubScreen extends StatelessWidget {
|
||||
'${repeater.latitude?.toStringAsFixed(4)}, '
|
||||
'${repeater.longitude?.toStringAsFixed(4)}',
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 10,
|
||||
fontSize: 13,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
@@ -308,6 +310,7 @@ class _HubActionTile extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
return ListEntrance(
|
||||
index: index,
|
||||
child: Semantics(
|
||||
@@ -334,16 +337,14 @@ class _HubActionTile extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
title,
|
||||
style: const TextStyle(
|
||||
style: textTheme.titleMedium?.copyWith(
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 15,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
subtitle,
|
||||
style: TextStyle(
|
||||
fontSize: 12.5,
|
||||
style: textTheme.bodyMedium?.copyWith(
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -12,6 +12,7 @@ import '../services/repeater_command_service.dart';
|
||||
import '../services/storage_service.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/radio_disconnected_banner.dart';
|
||||
import '../widgets/routing_sheet.dart';
|
||||
import '../utils/keys.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
@@ -204,6 +205,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
static const int _maxNameBytes = 31;
|
||||
static const int _maxOwnerInfoBytes = 119;
|
||||
static const int _maxAgcResetInterval = 255 * 4;
|
||||
// PRV_KEY_SIZE is 64 bytes (expanded Ed25519 key), i.e. 128 hex chars;
|
||||
// firmware `set prv.key` rejects anything else.
|
||||
static const int _prvKeyHexLength = 128;
|
||||
static final RegExp _prvKeyPattern = RegExp(r'^[0-9a-fA-F]{128}$');
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -212,6 +217,24 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
_commandService = RepeaterCommandService(connector);
|
||||
_setupMessageListener();
|
||||
_loadSettings();
|
||||
// Fetch current values on open instead of showing disabled fields.
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!mounted) return;
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
if (connector.isConnected) _refreshAll();
|
||||
});
|
||||
}
|
||||
|
||||
/// Returns true when the radio is connected; otherwise tells the user.
|
||||
bool _ensureConnected() {
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
if (connector.isConnected) return true;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.repeater_radioDisconnected),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -474,6 +497,7 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
required ValueSetter<bool> setRefreshing,
|
||||
}) async {
|
||||
if (_commandService == null) return;
|
||||
if (!_loadingAll && !_ensureConnected()) return;
|
||||
final l10n = context.l10n;
|
||||
|
||||
setState(() => setRefreshing(true));
|
||||
@@ -702,8 +726,16 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
|
||||
/// Send a one-shot CLI action (advert / clock sync / etc.) and surface the
|
||||
/// firmware's reply via snackbar. Not part of the dirty-field save flow.
|
||||
Future<void> _runAction(String command, String label) async {
|
||||
///
|
||||
/// With [replyOptional] (e.g. `reboot`, which restarts without answering) a
|
||||
/// timeout means the command went out; it is reported as sent, not failed.
|
||||
Future<void> _runAction(
|
||||
String command,
|
||||
String label, {
|
||||
bool replyOptional = false,
|
||||
}) async {
|
||||
if (_commandService == null) return;
|
||||
if (!_ensureConnected()) return;
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
final repeater = _resolveRepeater(connector);
|
||||
final l10n = context.l10n;
|
||||
@@ -729,6 +761,13 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
);
|
||||
} catch (e) {
|
||||
if (!mounted) return;
|
||||
if (replyOptional && e.toString().contains('Command timeout')) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_actionSentNoReply(label)),
|
||||
);
|
||||
return;
|
||||
}
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_actionFailed(label, e.toString())),
|
||||
@@ -741,6 +780,7 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
|
||||
Future<void> _refreshAll() async {
|
||||
if (_loadingAll) return;
|
||||
if (!_ensureConnected()) return;
|
||||
final sections = <Future<void> Function()>[
|
||||
_refreshBasicSettings,
|
||||
_refreshRadioSettings,
|
||||
@@ -883,10 +923,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
);
|
||||
|
||||
if (_dirtyFields.contains(_SettingField.name) &&
|
||||
_nameController.text.isNotEmpty) {
|
||||
_nameController.text.trim().isNotEmpty) {
|
||||
pending.add((
|
||||
field: _SettingField.name,
|
||||
command: 'set name ${_nameController.text}',
|
||||
command: 'set name ${_nameController.text.trim()}',
|
||||
));
|
||||
}
|
||||
|
||||
@@ -916,16 +956,28 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
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');
|
||||
reject(
|
||||
_SettingField.radio,
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_bandwidth,
|
||||
'$bwKHz',
|
||||
),
|
||||
);
|
||||
} else if (_spreadingFactor! < 5 || _spreadingFactor! > 12) {
|
||||
reject(
|
||||
_SettingField.radio,
|
||||
'${l10n.repeater_spreadingFactor}: $_spreadingFactor',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_spreadingFactor,
|
||||
'$_spreadingFactor',
|
||||
),
|
||||
);
|
||||
} else if (_codingRate! < 5 || _codingRate! > 8) {
|
||||
reject(
|
||||
_SettingField.radio,
|
||||
'${l10n.repeater_codingRate}: $_codingRate',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_codingRate,
|
||||
'$_codingRate',
|
||||
),
|
||||
);
|
||||
} else {
|
||||
pending.add((
|
||||
@@ -944,8 +996,11 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
dbm > _maxRepeaterTxPower) {
|
||||
reject(
|
||||
_SettingField.txPower,
|
||||
'${l10n.repeater_txPower}: ${_txPowerController.text.trim()} '
|
||||
'($_minRepeaterTxPower-$_maxRepeaterTxPower dBm)',
|
||||
l10n.repeater_txPowerOutOfRange(
|
||||
_txPowerController.text.trim(),
|
||||
_minRepeaterTxPower,
|
||||
_maxRepeaterTxPower,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
pending.add((field: _SettingField.txPower, command: 'set tx $dbm'));
|
||||
@@ -962,7 +1017,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
} else {
|
||||
reject(
|
||||
_SettingField.lat,
|
||||
'${l10n.repeater_latitude}: ${_latController.text.trim()}',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_latitude,
|
||||
_latController.text.trim(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -976,7 +1034,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
} else {
|
||||
reject(
|
||||
_SettingField.lon,
|
||||
'${l10n.repeater_longitude}: ${_lonController.text.trim()}',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_longitude,
|
||||
_lonController.text.trim(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1053,8 +1114,13 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
}
|
||||
if (_dirtyFields.contains(_SettingField.prvKey)) {
|
||||
final v = _prvKeyController.text.trim();
|
||||
if (v != "") {
|
||||
if (_prvKeyPattern.hasMatch(v)) {
|
||||
pending.add((field: _SettingField.prvKey, command: 'set prv.key $v'));
|
||||
} else if (v.isNotEmpty) {
|
||||
reject(
|
||||
_SettingField.prvKey,
|
||||
l10n.repeater_prvKeyLengthError(_prvKeyHexLength),
|
||||
);
|
||||
}
|
||||
}
|
||||
if (_dirtyFields.contains(_SettingField.txDelay) &&
|
||||
@@ -1068,7 +1134,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
} else {
|
||||
reject(
|
||||
_SettingField.txDelay,
|
||||
'${l10n.repeater_txDelay}: ${_txDelayController.text.trim()}',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_txDelay,
|
||||
_txDelayController.text.trim(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1085,8 +1154,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
} else {
|
||||
reject(
|
||||
_SettingField.directTxDelay,
|
||||
'${l10n.repeater_directTxDelay}: '
|
||||
'${_directTxDelayController.text.trim()}',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_directTxDelay,
|
||||
_directTxDelayController.text.trim(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1101,7 +1172,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
} else {
|
||||
reject(
|
||||
_SettingField.intThresh,
|
||||
'${l10n.repeater_intThresh}: ${_intThreshController.text.trim()}',
|
||||
l10n.repeater_invalidSettingValue(
|
||||
l10n.repeater_intThresh,
|
||||
_intThreshController.text.trim(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1244,6 +1318,7 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
prefix,
|
||||
_searchChunkTime,
|
||||
);
|
||||
if (!mounted) return;
|
||||
if (keys == null) {
|
||||
// Ran out of time; schedule another attempt.
|
||||
Timer.run(_searchForKeyPair);
|
||||
@@ -1283,83 +1358,142 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
final connector = context.watch<MeshCoreConnector>();
|
||||
final repeater = _resolveRepeater(connector);
|
||||
final isFloodMode = repeater.pathOverride == -1;
|
||||
final connected = connector.isConnected;
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(l10n.repeater_settingsTitle),
|
||||
centerTitle: true,
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: Icon(isFloodMode ? Icons.waves : Icons.route),
|
||||
tooltip: l10n.repeater_routingMode,
|
||||
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 || _loadingAll ? null : _saveSettings,
|
||||
icon: const Icon(Icons.save),
|
||||
label: Text(l10n.common_save),
|
||||
return PopScope(
|
||||
canPop: !_hasChanges,
|
||||
onPopInvokedWithResult: (didPop, _) {
|
||||
if (!didPop) _confirmDiscardChanges();
|
||||
},
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(l10n.repeater_settingsTitle),
|
||||
centerTitle: true,
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: Icon(isFloodMode ? Icons.waves : Icons.route),
|
||||
tooltip: l10n.repeater_routingMode,
|
||||
onPressed: () =>
|
||||
ContactRoutingSheet.show(context, contact: repeater),
|
||||
),
|
||||
],
|
||||
bottom: _loadingAll
|
||||
? PreferredSize(
|
||||
preferredSize: const Size.fromHeight(4),
|
||||
child: LinearProgressIndicator(value: _loadAllProgress),
|
||||
)
|
||||
: null,
|
||||
),
|
||||
body: SafeArea(
|
||||
top: false,
|
||||
child: _isLoading && _nameController.text.isEmpty
|
||||
? const Center(child: CircularProgressIndicator())
|
||||
: 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,
|
||||
IconButton(
|
||||
icon: const Icon(Icons.refresh),
|
||||
tooltip: l10n.repeater_refreshAll,
|
||||
onPressed: _loadingAll || _isLoading || !connected
|
||||
? null
|
||||
: _refreshAll,
|
||||
),
|
||||
if (_hasChanges)
|
||||
TextButton.icon(
|
||||
onPressed: _isLoading || _loadingAll || !connected
|
||||
? 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,
|
||||
child: _isLoading && _nameController.text.isEmpty
|
||||
? const Center(child: CircularProgressIndicator())
|
||||
: ListView(
|
||||
padding: const EdgeInsets.only(bottom: 32),
|
||||
children: [
|
||||
const RadioDisconnectedBanner(),
|
||||
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),
|
||||
),
|
||||
],
|
||||
TextButton(
|
||||
onPressed: _isLoading || !connected
|
||||
? null
|
||||
: _refreshAll,
|
||||
child: Text(context.l10n.repeater_refreshAll),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
_buildBasicSettingsCard(),
|
||||
_buildRadioSettingsCard(),
|
||||
_buildLocationSettingsCard(),
|
||||
_buildFeatureTogglesCard(),
|
||||
_buildNetworkHealthCard(),
|
||||
_buildAdvertisementSettingsCard(),
|
||||
_buildOwnerInfoCard(),
|
||||
_buildActionsCard(),
|
||||
_buildAdvancedCard(),
|
||||
_buildKeysCard(),
|
||||
const SizedBox(height: 16),
|
||||
_buildDangerZoneCard(),
|
||||
],
|
||||
),
|
||||
_buildBasicSettingsCard(),
|
||||
_buildRadioSettingsCard(),
|
||||
_buildLocationSettingsCard(),
|
||||
_buildFeatureTogglesCard(),
|
||||
_buildNetworkHealthCard(),
|
||||
_buildAdvertisementSettingsCard(),
|
||||
_buildOwnerInfoCard(),
|
||||
_buildActionsCard(),
|
||||
_buildAdvancedCard(),
|
||||
_buildKeysCard(),
|
||||
const SizedBox(height: 16),
|
||||
_buildDangerZoneCard(),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _confirmDiscardChanges() async {
|
||||
final l10n = context.l10n;
|
||||
final choice = await showDialog<String>(
|
||||
context: context,
|
||||
builder: (dialogContext) {
|
||||
final canSave =
|
||||
!_isLoading &&
|
||||
!_loadingAll &&
|
||||
dialogContext.read<MeshCoreConnector>().isConnected;
|
||||
return AlertDialog(
|
||||
title: Text(l10n.repeater_unsavedChangesTitle),
|
||||
content: Text(l10n.repeater_unsavedChangesMessage),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext, 'discard'),
|
||||
style: TextButton.styleFrom(
|
||||
foregroundColor: Theme.of(dialogContext).colorScheme.error,
|
||||
),
|
||||
child: Text(l10n.repeater_discardChanges),
|
||||
),
|
||||
FilledButton(
|
||||
onPressed: canSave
|
||||
? () => Navigator.pop(dialogContext, 'save')
|
||||
: null,
|
||||
child: Text(l10n.common_save),
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
);
|
||||
if (!mounted || choice == null) return;
|
||||
if (choice == 'save') {
|
||||
await _saveSettings();
|
||||
if (!mounted || _hasChanges) return;
|
||||
} else {
|
||||
// Drop the PopScope guard so the pop below can't re-trigger this dialog.
|
||||
setState(() => _hasChanges = false);
|
||||
}
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
|
||||
Widget _buildBasicSettingsCard() {
|
||||
final l10n = context.l10n;
|
||||
final refreshButton = _refreshingBasic
|
||||
@@ -1824,10 +1958,14 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
],
|
||||
),
|
||||
Slider(
|
||||
value: _advertInterval.clamp(60, 240).toDouble(),
|
||||
min: 60,
|
||||
max: 240,
|
||||
divisions: 18,
|
||||
// Widen the range to include an out-of-range firmware value
|
||||
// so the knob matches the subtitle.
|
||||
value: _advertSliderValue.toDouble(),
|
||||
min: _advertSliderMin.toDouble(),
|
||||
max: _advertSliderMax.toDouble(),
|
||||
divisions: (_advertSliderMax - _advertSliderMin) % 10 == 0
|
||||
? (_advertSliderMax - _advertSliderMin) ~/ 10
|
||||
: null,
|
||||
label: l10n.repeater_localAdvertIntervalMinutes(
|
||||
_advertInterval,
|
||||
),
|
||||
@@ -1887,10 +2025,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
],
|
||||
),
|
||||
Slider(
|
||||
value: _floodAdvertInterval.clamp(3, 168).toDouble(),
|
||||
min: 3,
|
||||
max: 168,
|
||||
divisions: 165,
|
||||
value: _floodAdvertSliderValue.toDouble(),
|
||||
min: _floodAdvertSliderMin.toDouble(),
|
||||
max: _floodAdvertSliderMax.toDouble(),
|
||||
divisions: _floodAdvertSliderMax - _floodAdvertSliderMin,
|
||||
label: l10n.repeater_floodAdvertIntervalHours(
|
||||
_floodAdvertInterval,
|
||||
),
|
||||
@@ -1952,6 +2090,23 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
// Slider bounds: the normal UI range, widened to include a non-zero value
|
||||
// the firmware reported outside it. A disabled (0) value parks the knob at
|
||||
// the minimum.
|
||||
int get _advertSliderMin =>
|
||||
_advertInterval > 0 && _advertInterval < 60 ? _advertInterval : 60;
|
||||
int get _advertSliderMax => _advertInterval > 240 ? _advertInterval : 240;
|
||||
int get _advertSliderValue =>
|
||||
_advertInterval.clamp(_advertSliderMin, _advertSliderMax);
|
||||
int get _floodAdvertSliderMin =>
|
||||
_floodAdvertInterval > 0 && _floodAdvertInterval < 3
|
||||
? _floodAdvertInterval
|
||||
: 3;
|
||||
int get _floodAdvertSliderMax =>
|
||||
_floodAdvertInterval > 168 ? _floodAdvertInterval : 168;
|
||||
int get _floodAdvertSliderValue =>
|
||||
_floodAdvertInterval.clamp(_floodAdvertSliderMin, _floodAdvertSliderMax);
|
||||
|
||||
Widget _buildNetworkHealthCard() {
|
||||
final l10n = context.l10n;
|
||||
return Column(
|
||||
@@ -2100,6 +2255,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
|
||||
Widget _buildActionsCard() {
|
||||
final l10n = context.l10n;
|
||||
final canAct =
|
||||
!_runningAction && context.watch<MeshCoreConnector>().isConnected;
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -2112,8 +2269,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
leading: const Icon(Icons.podcasts),
|
||||
title: Text(l10n.repeater_sendAdvert),
|
||||
subtitle: Text(l10n.repeater_sendAdvertSubtitle),
|
||||
enabled: !_runningAction,
|
||||
onTap: _runningAction
|
||||
enabled: canAct,
|
||||
onTap: !canAct
|
||||
? null
|
||||
: () => _runAction('advert', l10n.repeater_sendAdvert),
|
||||
contentPadding: EdgeInsets.zero,
|
||||
@@ -2122,8 +2279,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
leading: const Icon(Icons.cell_tower),
|
||||
title: Text(l10n.repeater_sendAdvertZeroHop),
|
||||
subtitle: Text(l10n.repeater_sendAdvertZeroHopSubtitle),
|
||||
enabled: !_runningAction,
|
||||
onTap: _runningAction
|
||||
enabled: canAct,
|
||||
onTap: !canAct
|
||||
? null
|
||||
: () => _runAction(
|
||||
'advert.zerohop',
|
||||
@@ -2135,8 +2292,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
leading: const Icon(Icons.access_time),
|
||||
title: Text(l10n.repeater_clockSync),
|
||||
subtitle: Text(l10n.repeater_clockSyncSubtitle),
|
||||
enabled: !_runningAction,
|
||||
onTap: _runningAction
|
||||
enabled: canAct,
|
||||
onTap: !canAct
|
||||
? null
|
||||
: () => _runAction('clock sync', l10n.repeater_clockSync),
|
||||
contentPadding: EdgeInsets.zero,
|
||||
@@ -2351,6 +2508,7 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
Expanded(
|
||||
child: TextField(
|
||||
controller: _prvKeyController,
|
||||
maxLength: _prvKeyHexLength,
|
||||
inputFormatters: [
|
||||
FilteringTextInputFormatter.allow(RegExp("[0-9a-fA-F]")),
|
||||
],
|
||||
@@ -2358,6 +2516,12 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
labelText: l10n.repeater_prvKey,
|
||||
helperText: l10n.repeater_prvKeyHelper,
|
||||
helperMaxLines: 3,
|
||||
errorText:
|
||||
_prvKeyController.text.isNotEmpty &&
|
||||
!_prvKeyPattern.hasMatch(_prvKeyController.text)
|
||||
? l10n.repeater_prvKeyLengthError(_prvKeyHexLength)
|
||||
: null,
|
||||
errorMaxLines: 3,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
onChanged: (_) {
|
||||
@@ -2365,6 +2529,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
if (_prvKeyController.text.isNotEmpty) {
|
||||
_markChanged(_SettingField.prvKey);
|
||||
}
|
||||
// Refresh the inline length error.
|
||||
setState(() {});
|
||||
},
|
||||
),
|
||||
),
|
||||
@@ -2456,6 +2622,8 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
|
||||
Widget _buildDangerZoneCard() {
|
||||
final l10n = context.l10n;
|
||||
final canAct =
|
||||
!_runningAction && context.watch<MeshCoreConnector>().isConnected;
|
||||
return MeshCard(
|
||||
color: MeshPalette.alertBg,
|
||||
borderColor: MeshPalette.alertLine,
|
||||
@@ -2488,29 +2656,28 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
l10n.repeater_rebootRepeaterSubtitle,
|
||||
style: const TextStyle(color: MeshPalette.warnDim),
|
||||
),
|
||||
enabled: canAct,
|
||||
onTap: () => _confirmAction(
|
||||
l10n.repeater_rebootRepeater,
|
||||
l10n.repeater_rebootRepeaterConfirm,
|
||||
() => _sendDangerCommand('reboot'),
|
||||
() => _runAction(
|
||||
'reboot',
|
||||
l10n.repeater_rebootRepeater,
|
||||
replyOptional: true,
|
||||
),
|
||||
isDestructive: true,
|
||||
),
|
||||
contentPadding: EdgeInsets.zero,
|
||||
),
|
||||
// Regenerate identity key - hidden until fully implemented
|
||||
// Erase is serial-console only in firmware; shown disabled with
|
||||
// an explanation rather than behind a confirm that does nothing.
|
||||
ListTile(
|
||||
leading: const Icon(Icons.delete_forever, color: MeshPalette.alert),
|
||||
title: Text(
|
||||
l10n.repeater_eraseFileSystem,
|
||||
style: const TextStyle(color: MeshPalette.alert),
|
||||
),
|
||||
enabled: false,
|
||||
leading: const Icon(Icons.delete_forever),
|
||||
title: Text(l10n.repeater_eraseFileSystem),
|
||||
subtitle: Text(
|
||||
l10n.repeater_eraseFileSystemSubtitle,
|
||||
style: const TextStyle(color: MeshPalette.warnDim),
|
||||
),
|
||||
onTap: () => _confirmAction(
|
||||
l10n.repeater_eraseFileSystem,
|
||||
l10n.repeater_eraseFileSystemConfirm,
|
||||
() => _sendDangerCommand('erase'),
|
||||
isDestructive: true,
|
||||
'${l10n.repeater_eraseFileSystemSubtitle}\n'
|
||||
'${l10n.repeater_eraseSerialOnly}',
|
||||
),
|
||||
contentPadding: EdgeInsets.zero,
|
||||
),
|
||||
@@ -2519,54 +2686,6 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _sendDangerCommand(String command) async {
|
||||
final l10n = context.l10n;
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
final repeater = _resolveRepeater(connector);
|
||||
|
||||
if (command == 'erase') {
|
||||
if (mounted) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_eraseSerialOnly),
|
||||
);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
final selection = await connector.preparePathForContactSend(repeater);
|
||||
final timestampSeconds = DateTime.now().millisecondsSinceEpoch ~/ 1000;
|
||||
connector.trackRepeaterAck(
|
||||
contact: repeater,
|
||||
selection: selection,
|
||||
text: command,
|
||||
timestampSeconds: timestampSeconds,
|
||||
);
|
||||
final frame = buildSendCliCommandFrame(
|
||||
repeater.publicKey,
|
||||
command,
|
||||
timestampSeconds: timestampSeconds,
|
||||
);
|
||||
await connector.sendFrame(frame);
|
||||
|
||||
if (mounted) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_commandSent(command)),
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
if (mounted) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.repeater_errorSendingCommand(e.toString())),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void _confirmAction(
|
||||
String title,
|
||||
String message,
|
||||
|
||||
@@ -2,6 +2,7 @@ import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../models/contact.dart';
|
||||
@@ -14,8 +15,8 @@ import '../services/repeater_command_service.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../utils/battery_utils.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/radio_disconnected_banner.dart';
|
||||
import '../widgets/routing_sheet.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
|
||||
class RepeaterStatusScreen extends StatefulWidget {
|
||||
final Contact repeater;
|
||||
@@ -60,6 +61,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
int? _dupDirect;
|
||||
double? _chanUtil;
|
||||
PathSelection? _pendingStatusSelection;
|
||||
String? _loadError;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -116,7 +118,16 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
if (parsed == null) return;
|
||||
if (!_matchesRepeaterPrefix(parsed.senderPrefix)) return;
|
||||
_commandService?.handleResponse(widget.repeater, parsed.text);
|
||||
_parseStatusResponse(parsed.text);
|
||||
// Only a reply that actually carried status fields ends the request;
|
||||
// any other text from this repeater (e.g. a CLI reply) is ignored here.
|
||||
if (!_parseStatusResponse(parsed.text)) return;
|
||||
_statusTimeout?.cancel();
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_loadError = null;
|
||||
});
|
||||
}
|
||||
_recordStatusResult(true);
|
||||
}
|
||||
|
||||
@@ -132,6 +143,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
final rxAirSecs = stats.rxAirSecs;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_loadError = null;
|
||||
_batteryMv = stats.batteryMv;
|
||||
_queueLen = stats.queueLen;
|
||||
_noiseFloor = stats.noiseFloor;
|
||||
@@ -177,8 +189,10 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
return true;
|
||||
}
|
||||
|
||||
void _parseStatusResponse(String response) {
|
||||
/// Applies a JSON status reply. Returns true if any status field was set.
|
||||
bool _parseStatusResponse(String response) {
|
||||
final trimmed = response.trim();
|
||||
var applied = false;
|
||||
if (trimmed.startsWith('{') && trimmed.endsWith('}')) {
|
||||
try {
|
||||
final data = jsonDecode(trimmed) as Map<String, dynamic>;
|
||||
@@ -187,6 +201,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_uptimeSecs = _asInt(data['uptime_secs']);
|
||||
_queueLen = _asInt(data['queue_len']);
|
||||
_debugFlags = _asInt(data['errors']);
|
||||
applied = true;
|
||||
final batteryMv = _batteryMv;
|
||||
if (batteryMv != null) {
|
||||
final connector = Provider.of<MeshCoreConnector>(
|
||||
@@ -205,6 +220,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_lastSnr = _asDouble(data['last_snr']);
|
||||
_txAirSecs = _asInt(data['tx_air_secs']);
|
||||
_rxAirSecs = _asInt(data['rx_air_secs']);
|
||||
applied = true;
|
||||
} else if (data.containsKey('recv') || data.containsKey('sent')) {
|
||||
_packetsRecv = _asInt(data['recv']);
|
||||
_packetsSent = _asInt(data['sent']);
|
||||
@@ -214,17 +230,30 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_directRx = _asInt(data['direct_rx']);
|
||||
_dupFlood = _asInt(data['dup_flood']);
|
||||
_dupDirect = _asInt(data['dup_direct']);
|
||||
applied = true;
|
||||
}
|
||||
} catch (_) {}
|
||||
}
|
||||
if (mounted) setState(() {});
|
||||
if (applied && mounted) setState(() {});
|
||||
return applied;
|
||||
}
|
||||
|
||||
bool get _hasAnyStatus =>
|
||||
_batteryMv != null ||
|
||||
_uptimeSecs != null ||
|
||||
_queueLen != null ||
|
||||
_lastRssi != null ||
|
||||
_noiseFloor != null ||
|
||||
_txAirSecs != null ||
|
||||
_packetsSent != null ||
|
||||
_packetsRecv != null;
|
||||
|
||||
Future<void> _loadStatus() async {
|
||||
if (_commandService == null) return;
|
||||
|
||||
setState(() {
|
||||
_isLoading = true;
|
||||
_loadError = null;
|
||||
_pendingStatusSelection = null;
|
||||
_batteryMv = null;
|
||||
_uptimeSecs = null;
|
||||
@@ -269,22 +298,18 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_statusTimeout?.cancel();
|
||||
_statusTimeout = Timer(Duration(milliseconds: timeoutMs), () {
|
||||
if (!mounted) return;
|
||||
setState(() => _isLoading = false);
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.repeater_statusRequestTimeout),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_loadError = context.l10n.repeater_statusRequestTimeout;
|
||||
});
|
||||
_recordStatusResult(false);
|
||||
});
|
||||
} catch (e) {
|
||||
if (mounted) {
|
||||
setState(() => _isLoading = false);
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.repeater_errorLoadingStatus(e.toString())),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_loadError = context.l10n.repeater_errorLoadingStatus(e.toString());
|
||||
});
|
||||
}
|
||||
_recordStatusResult(false);
|
||||
}
|
||||
@@ -338,11 +363,8 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
final connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
final dt = connector.repeaterClockAtLogin(widget.repeater.publicKey);
|
||||
if (dt == null) return '—';
|
||||
final local = dt.toLocal();
|
||||
final date = '${local.day}/${local.month}/${local.year}';
|
||||
final time =
|
||||
'${local.hour.toString().padLeft(2, '0')}:${local.minute.toString().padLeft(2, '0')}';
|
||||
return '$date $time';
|
||||
final locale = Localizations.localeOf(context).toLanguageTag();
|
||||
return DateFormat.yMd(locale).add_Hm().format(dt.toLocal());
|
||||
}
|
||||
|
||||
String _formatDuration(int? seconds) {
|
||||
@@ -412,6 +434,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
final connector = context.watch<MeshCoreConnector>();
|
||||
final repeater = _resolveRepeater(connector);
|
||||
final isFloodMode = repeater.pathOverride == -1;
|
||||
final canRefresh = !_isLoading && connector.isConnected;
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
@@ -432,18 +455,25 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
child: CircularProgressIndicator(strokeWidth: 2),
|
||||
)
|
||||
: const Icon(Icons.refresh),
|
||||
onPressed: _isLoading ? null : _loadStatus,
|
||||
onPressed: canRefresh ? _loadStatus : null,
|
||||
tooltip: l10n.repeater_refresh,
|
||||
),
|
||||
],
|
||||
),
|
||||
body: SafeArea(
|
||||
top: false,
|
||||
child: RefreshIndicator(
|
||||
onRefresh: _loadStatus,
|
||||
child: _isLoading && _batteryMv == null
|
||||
? const Center(child: CircularProgressIndicator())
|
||||
: _buildBody(l10n, repeater.name),
|
||||
child: Column(
|
||||
children: [
|
||||
const RadioDisconnectedBanner(),
|
||||
Expanded(
|
||||
child: RefreshIndicator(
|
||||
onRefresh: connector.isConnected ? _loadStatus : () async {},
|
||||
child: _isLoading && !_hasAnyStatus
|
||||
? const Center(child: CircularProgressIndicator())
|
||||
: _buildBody(l10n, repeater.name),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -451,9 +481,21 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
|
||||
Widget _buildBody(dynamic l10n, String name) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final error = _loadError;
|
||||
if (error != null && !_hasAnyStatus) {
|
||||
return ListView(
|
||||
padding: const EdgeInsets.only(top: 16, bottom: 24),
|
||||
children: [_buildErrorCard(error)],
|
||||
);
|
||||
}
|
||||
return ListView(
|
||||
padding: const EdgeInsets.only(bottom: 24),
|
||||
children: [
|
||||
if (error != null)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 12),
|
||||
child: _buildErrorCard(error),
|
||||
),
|
||||
// ── System ─────────────────────────────────────────────────────────
|
||||
SectionHeader(l10n.repeater_systemInformation),
|
||||
Padding(
|
||||
@@ -502,7 +544,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_StatItem(
|
||||
icon: Icons.signal_cellular_alt,
|
||||
label: l10n.repeater_lastRssi,
|
||||
value: _formatValue(_lastRssi, suffix: ' dB'),
|
||||
value: _formatValue(_lastRssi, suffix: ' dBm'),
|
||||
color: MeshPalette.blue,
|
||||
),
|
||||
_StatItem(
|
||||
@@ -514,7 +556,7 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
_StatItem(
|
||||
icon: Icons.noise_control_off,
|
||||
label: l10n.repeater_noiseFloor,
|
||||
value: _formatValue(_noiseFloor, suffix: ' dB'),
|
||||
value: _formatValue(_noiseFloor, suffix: ' dBm'),
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
_StatItem(
|
||||
@@ -596,6 +638,49 @@ class _RepeaterStatusScreenState extends State<RepeaterStatusScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildErrorCard(String message) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
final connected = context.watch<MeshCoreConnector>().isConnected;
|
||||
return MeshCard(
|
||||
color: scheme.errorContainer,
|
||||
borderColor: scheme.error,
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Icon(
|
||||
Icons.error_outline,
|
||||
size: 24,
|
||||
color: scheme.onErrorContainer,
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
Expanded(
|
||||
child: Text(
|
||||
message,
|
||||
style: textTheme.bodyLarge?.copyWith(
|
||||
color: scheme.onErrorContainer,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Align(
|
||||
alignment: AlignmentDirectional.centerEnd,
|
||||
child: FilledButton.icon(
|
||||
onPressed: _isLoading || !connected ? null : _loadStatus,
|
||||
icon: const Icon(Icons.refresh),
|
||||
label: Text(context.l10n.common_retry),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Color _batteryColor() {
|
||||
final connector = context.watch<MeshCoreConnector>();
|
||||
final batteryMv =
|
||||
|
||||
@@ -13,6 +13,7 @@ import '../utils/app_logger.dart';
|
||||
import '../widgets/adaptive_app_bar_title.dart';
|
||||
import '../widgets/device_tile.dart';
|
||||
import '../widgets/empty_state.dart';
|
||||
import '../widgets/get_node_banner.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../review_mode/review_mode_entry.dart';
|
||||
@@ -42,6 +43,8 @@ class _ScannerScreenState extends State<ScannerScreen> {
|
||||
_connector = Provider.of<MeshCoreConnector>(context, listen: false);
|
||||
|
||||
_connectionListener = () {
|
||||
// ModalRoute.of needs a live element, so bail out before touching it.
|
||||
if (!mounted) return;
|
||||
final isCurrentRoute = ModalRoute.of(context)?.isCurrent ?? true;
|
||||
if (_connector.state == MeshCoreConnectionState.disconnected) {
|
||||
_changedNavigation = false;
|
||||
@@ -53,11 +56,9 @@ class _ScannerScreenState extends State<ScannerScreen> {
|
||||
isCurrentRoute &&
|
||||
!_changedNavigation) {
|
||||
_changedNavigation = true;
|
||||
if (mounted) {
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(builder: (context) => const ChannelsScreen()),
|
||||
);
|
||||
}
|
||||
Navigator.of(
|
||||
context,
|
||||
).push(MaterialPageRoute(builder: (context) => const ChannelsScreen()));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -168,6 +169,7 @@ class _ScannerScreenState extends State<ScannerScreen> {
|
||||
},
|
||||
),
|
||||
),
|
||||
bottomNavigationBar: const GetNodeBanner(),
|
||||
floatingActionButton: Consumer<MeshCoreConnector>(
|
||||
builder: (context, connector, child) {
|
||||
final isScanning =
|
||||
@@ -448,16 +450,13 @@ class _BluetoothOffBanner extends StatelessWidget {
|
||||
style: TextStyle(
|
||||
color: scheme.error,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 13.5,
|
||||
fontSize: 15,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 2),
|
||||
Text(
|
||||
context.l10n.scanner_bluetoothOffMessage,
|
||||
style: TextStyle(
|
||||
color: scheme.error.withValues(alpha: 0.8),
|
||||
fontSize: 12,
|
||||
),
|
||||
style: TextStyle(color: scheme.error, fontSize: 14),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
+630
-1205
File diff suppressed because it is too large.
Load diff
+33
-10
@@ -28,6 +28,8 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
late final MeshCoreConnector _connector;
|
||||
late final VoidCallback _connectionListener;
|
||||
bool _navigatedToChannels = false;
|
||||
String? _hostError;
|
||||
String? _portError;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -47,8 +49,12 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
if (_connector.state == MeshCoreConnectionState.disconnected) {
|
||||
_navigatedToChannels = false;
|
||||
}
|
||||
// Only navigate while this route is on top; otherwise a reconnect
|
||||
// would replace whatever screen the user has pushed above it.
|
||||
final isCurrentRoute = ModalRoute.of(context)?.isCurrent ?? true;
|
||||
if (_connector.state == MeshCoreConnectionState.connected &&
|
||||
_connector.isTcpTransportConnected &&
|
||||
isCurrentRoute &&
|
||||
!_navigatedToChannels) {
|
||||
context.read<AppSettingsService>().setTcpServerAddress(
|
||||
_hostController.text,
|
||||
@@ -122,7 +128,7 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
_buildTransportLinks(context),
|
||||
|
||||
// Connection form
|
||||
const SectionHeader('TCP / IP'),
|
||||
SectionHeader(context.l10n.tcpSectionTitle),
|
||||
MeshCard(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
@@ -133,9 +139,16 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
decoration: InputDecoration(
|
||||
labelText: context.l10n.tcpHostLabel,
|
||||
hintText: context.l10n.tcpHostHint,
|
||||
errorText: _hostError,
|
||||
errorMaxLines: 3,
|
||||
),
|
||||
enabled: !isConnecting,
|
||||
keyboardType: TextInputType.url,
|
||||
onChanged: (_) {
|
||||
if (_hostError != null) {
|
||||
setState(() => _hostError = null);
|
||||
}
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
TextField(
|
||||
@@ -143,9 +156,16 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
decoration: InputDecoration(
|
||||
labelText: context.l10n.tcpPortLabel,
|
||||
hintText: context.l10n.tcpPortHint,
|
||||
errorText: _portError,
|
||||
errorMaxLines: 3,
|
||||
),
|
||||
enabled: !isConnecting,
|
||||
keyboardType: TextInputType.number,
|
||||
onChanged: (_) {
|
||||
if (_portError != null) {
|
||||
setState(() => _portError = null);
|
||||
}
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
FilledButton.icon(
|
||||
@@ -178,7 +198,7 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
// Last used endpoint
|
||||
if (connector.activeTcpEndpoint != null &&
|
||||
connector.isTcpTransportConnected) ...[
|
||||
const SectionHeader('CONNECTED TO'),
|
||||
SectionHeader(context.l10n.tcpConnectedToHeader),
|
||||
MeshCard(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 14,
|
||||
@@ -188,7 +208,7 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.lan,
|
||||
size: 16,
|
||||
size: 20,
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
@@ -196,7 +216,7 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
child: Text(
|
||||
connector.activeTcpEndpoint!,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 13,
|
||||
fontSize: 15,
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
),
|
||||
maxLines: 1,
|
||||
@@ -283,12 +303,15 @@ class _TcpScreenState extends State<TcpScreen> {
|
||||
|
||||
final host = _hostController.text.trim();
|
||||
final parsedPort = int.tryParse(_portController.text.trim());
|
||||
if (host.isEmpty) {
|
||||
_showError(context.l10n.tcpErrorHostRequired);
|
||||
return;
|
||||
}
|
||||
if (parsedPort == null || parsedPort < 1 || parsedPort > 65535) {
|
||||
_showError(context.l10n.tcpErrorPortInvalid);
|
||||
final hostError = host.isEmpty ? context.l10n.tcpErrorHostRequired : null;
|
||||
final portError = parsedPort == null || parsedPort < 1 || parsedPort > 65535
|
||||
? context.l10n.tcpErrorPortInvalid
|
||||
: null;
|
||||
setState(() {
|
||||
_hostError = hostError;
|
||||
_portError = portError;
|
||||
});
|
||||
if (hostError != null || portError != null || parsedPort == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -135,27 +135,17 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
_tripTime = reader.readUInt32LE();
|
||||
_statusTimeout?.cancel();
|
||||
final isAutoRefreshRequest = _activeTelemetryRequestIsAutoRefresh;
|
||||
_statusTimeout = Timer(Duration(milliseconds: _tripTime), () {
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_isLoaded = false;
|
||||
if (isAutoRefreshRequest && _isAutoRefreshEnabled) {
|
||||
_autoRefreshLastAttemptFailed = true;
|
||||
}
|
||||
});
|
||||
if (!isAutoRefreshRequest) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.telemetry_requestTimeout),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
}
|
||||
if (isAutoRefreshRequest && _isAutoRefreshEnabled) {
|
||||
_scheduleNextAutoRefreshAttempt();
|
||||
}
|
||||
_recordTelemetryResult(false);
|
||||
});
|
||||
_statusTimeout = Timer(
|
||||
Duration(milliseconds: _tripTime),
|
||||
() => _handleRequestFailed(isAutoRefreshRequest),
|
||||
);
|
||||
}
|
||||
|
||||
// The radio rejected the send: fail now instead of waiting forever.
|
||||
if (cmd == respCodeErr && _awaitingSent) {
|
||||
_awaitingSent = false;
|
||||
_statusTimeout?.cancel();
|
||||
_handleRequestFailed(_activeTelemetryRequestIsAutoRefresh);
|
||||
}
|
||||
|
||||
// Check if it's a binary response
|
||||
@@ -183,6 +173,30 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
});
|
||||
}
|
||||
|
||||
/// Ends a telemetry request that timed out or was rejected by the radio.
|
||||
void _handleRequestFailed(bool isAutoRefreshRequest) {
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_isLoaded = false;
|
||||
if (isAutoRefreshRequest && _isAutoRefreshEnabled) {
|
||||
_autoRefreshLastAttemptFailed = true;
|
||||
}
|
||||
_activeTelemetryRequestIsAutoRefresh = false;
|
||||
});
|
||||
if (!isAutoRefreshRequest) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.telemetry_requestTimeout),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
}
|
||||
if (isAutoRefreshRequest && _isAutoRefreshEnabled) {
|
||||
_scheduleNextAutoRefreshAttempt();
|
||||
}
|
||||
_recordTelemetryResult(false);
|
||||
}
|
||||
|
||||
void _handleTelemetryResponse(Uint8List frame) {
|
||||
final parsedTelemetry = CayenneLpp.parseByChannel(frame);
|
||||
final batteryMv = _extractTelemetryBatteryMillivolts(parsedTelemetry);
|
||||
@@ -239,28 +253,10 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
frame = buildSendTelemetryReq(null);
|
||||
final isAutoRefreshRequest = _activeTelemetryRequestIsAutoRefresh;
|
||||
_statusTimeout?.cancel();
|
||||
_statusTimeout = Timer(const Duration(seconds: 5), () {
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
_isLoaded = false;
|
||||
if (isAutoRefreshRequest && _isAutoRefreshEnabled) {
|
||||
_autoRefreshLastAttemptFailed = true;
|
||||
}
|
||||
_activeTelemetryRequestIsAutoRefresh = false;
|
||||
});
|
||||
if (!isAutoRefreshRequest) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.telemetry_requestTimeout),
|
||||
backgroundColor: Theme.of(context).colorScheme.error,
|
||||
);
|
||||
}
|
||||
if (isAutoRefreshRequest && _isAutoRefreshEnabled) {
|
||||
_scheduleNextAutoRefreshAttempt();
|
||||
}
|
||||
_recordTelemetryResult(false);
|
||||
});
|
||||
_statusTimeout = Timer(
|
||||
const Duration(seconds: 5),
|
||||
() => _handleRequestFailed(isAutoRefreshRequest),
|
||||
);
|
||||
} else {
|
||||
final selection = await connector.preparePathForContactSend(
|
||||
_resolveContact(connector),
|
||||
@@ -446,7 +442,26 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.all(16),
|
||||
children: [
|
||||
if (!_isLoaded &&
|
||||
if (_isLoading &&
|
||||
!_hasData &&
|
||||
(_parsedTelemetry == null || _parsedTelemetry!.isEmpty))
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 24),
|
||||
child: Column(
|
||||
children: [
|
||||
const CircularProgressIndicator(),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.telemetry_loading,
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: scheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
else if (!_isLoaded &&
|
||||
!_hasData &&
|
||||
(_parsedTelemetry == null || _parsedTelemetry!.isEmpty))
|
||||
Center(
|
||||
@@ -506,7 +521,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
bool isImperialUnits,
|
||||
) {
|
||||
if (entry.key == 'gps') {
|
||||
return _buildGpsInfo(entry.value);
|
||||
return _buildGpsInfo(entry.value, isImperialUnits);
|
||||
}
|
||||
|
||||
final display = _formatTelemetryField(
|
||||
@@ -573,7 +588,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
case 'altitude':
|
||||
return _TelemetryFieldDisplay(
|
||||
l10n.telemetry_altitudeLabel,
|
||||
l10n.telemetry_altitudeValue(text),
|
||||
_lengthText(value, isImperialUnits, altitude: true),
|
||||
);
|
||||
case 'voltage':
|
||||
return _TelemetryFieldDisplay(
|
||||
@@ -612,7 +627,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
case 'distance':
|
||||
return _TelemetryFieldDisplay(
|
||||
l10n.telemetry_distanceLabel,
|
||||
l10n.telemetry_distanceValue(text),
|
||||
_lengthText(value, isImperialUnits, altitude: false),
|
||||
);
|
||||
case 'energy':
|
||||
return _TelemetryFieldDisplay(
|
||||
@@ -863,7 +878,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
return value;
|
||||
}
|
||||
|
||||
Widget _buildGpsInfo(dynamic value) {
|
||||
Widget _buildGpsInfo(dynamic value, bool isImperialUnits) {
|
||||
final latitude = _readGpsValue(value, 'latitude');
|
||||
final longitude = _readGpsValue(value, 'longitude');
|
||||
final altitude = _readGpsValue(value, 'altitude');
|
||||
@@ -872,7 +887,13 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
? [
|
||||
latitude!.toStringAsFixed(5),
|
||||
longitude!.toStringAsFixed(5),
|
||||
if (altitude != null) '${altitude.toStringAsFixed(1)} m',
|
||||
if (altitude != null)
|
||||
_lengthText(
|
||||
altitude,
|
||||
isImperialUnits,
|
||||
altitude: true,
|
||||
metricText: altitude.toStringAsFixed(1),
|
||||
),
|
||||
].join(', ')
|
||||
: value.toString();
|
||||
|
||||
@@ -927,7 +948,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
final x = _telemetryValueText(value['x']);
|
||||
final y = _telemetryValueText(value['y']);
|
||||
final z = _telemetryValueText(value['z']);
|
||||
return 'X: $x, Y: $y, Z: $z';
|
||||
return context.l10n.telemetry_axisValue(x, y, z);
|
||||
}
|
||||
|
||||
String _telemetryColorText(dynamic value) {
|
||||
@@ -935,7 +956,7 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
final red = _telemetryValueText(value['red']);
|
||||
final green = _telemetryValueText(value['green']);
|
||||
final blue = _telemetryValueText(value['blue']);
|
||||
return 'R: $red, G: $green, B: $blue';
|
||||
return context.l10n.telemetry_colourValue(red, green, blue);
|
||||
}
|
||||
|
||||
String _telemetryMapText(dynamic value) {
|
||||
@@ -1019,6 +1040,32 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
/// Formats a length reported in meters, converting to feet in imperial mode.
|
||||
String _lengthText(
|
||||
dynamic meters,
|
||||
bool isImperialUnits, {
|
||||
required bool altitude,
|
||||
String? metricText,
|
||||
}) {
|
||||
final l10n = context.l10n;
|
||||
if (meters is! num) {
|
||||
final text = _telemetryValueText(meters);
|
||||
return altitude
|
||||
? l10n.telemetry_altitudeValue(text)
|
||||
: l10n.telemetry_distanceValue(text);
|
||||
}
|
||||
if (isImperialUnits) {
|
||||
final feet = (meters * 3.28084).toStringAsFixed(1);
|
||||
return altitude
|
||||
? l10n.telemetry_altitudeValueFeet(feet)
|
||||
: l10n.telemetry_distanceValueFeet(feet);
|
||||
}
|
||||
final text = metricText ?? _telemetryValueText(meters);
|
||||
return altitude
|
||||
? l10n.telemetry_altitudeValue(text)
|
||||
: l10n.telemetry_distanceValue(text);
|
||||
}
|
||||
|
||||
String _temperatureText(double? tempC, bool isImperialUnits) {
|
||||
final l10n = context.l10n;
|
||||
if (tempC == null) return l10n.common_notAvailable;
|
||||
|
||||
@@ -24,7 +24,7 @@ class UsbScreen extends StatefulWidget {
|
||||
State<UsbScreen> createState() => _UsbScreenState();
|
||||
}
|
||||
|
||||
class _UsbScreenState extends State<UsbScreen> {
|
||||
class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
|
||||
final List<String> _ports = <String>[];
|
||||
bool _isLoadingPorts = true;
|
||||
bool _navigatedToChannels = false;
|
||||
@@ -36,6 +36,13 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
bool get _supportsHotPlug =>
|
||||
PlatformInfo.isWindows || PlatformInfo.isLinux || PlatformInfo.isMacOS;
|
||||
|
||||
/// Web Serial lists a synthetic "request a port" entry plus ports the user
|
||||
/// already authorised; the request entry opens the browser's port picker.
|
||||
static const String _webRequestPortName = 'web:request';
|
||||
|
||||
bool _isWebRequestEntry(String port) =>
|
||||
normalizeUsbPortName(port) == _webRequestPortName;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
@@ -55,9 +62,25 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
}
|
||||
};
|
||||
_connector.addListener(_connectionListener);
|
||||
WidgetsBinding.instance.addObserver(this);
|
||||
_startHotPlugTimer();
|
||||
}
|
||||
|
||||
@override
|
||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||
// Polling the serial ports in the background wastes power; stop while
|
||||
// the app isn't in the foreground and resume when it returns.
|
||||
if (state == AppLifecycleState.resumed) {
|
||||
if (_supportsHotPlug && _hotPlugTimer == null) {
|
||||
_startHotPlugTimer();
|
||||
unawaited(_pollHotPlug());
|
||||
}
|
||||
} else {
|
||||
_hotPlugTimer?.cancel();
|
||||
_hotPlugTimer = null;
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void didChangeDependencies() {
|
||||
super.didChangeDependencies();
|
||||
@@ -71,6 +94,7 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
WidgetsBinding.instance.removeObserver(this);
|
||||
_hotPlugTimer?.cancel();
|
||||
_hotPlugTimer = null;
|
||||
_connector.removeListener(_connectionListener);
|
||||
@@ -125,7 +149,8 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
},
|
||||
),
|
||||
),
|
||||
bottomNavigationBar: _supportsHotPlug
|
||||
// Desktop hot-plugs automatically; web uses the port-picker button.
|
||||
bottomNavigationBar: _supportsHotPlug || PlatformInfo.isWeb
|
||||
? null
|
||||
: SafeArea(
|
||||
top: false,
|
||||
@@ -227,6 +252,14 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
Widget _buildPortList(BuildContext context, MeshCoreConnector connector) {
|
||||
final l10n = context.l10n;
|
||||
|
||||
final isConnecting =
|
||||
connector.state == MeshCoreConnectionState.connecting &&
|
||||
connector.activeTransport == MeshCoreTransportType.usb;
|
||||
|
||||
if (PlatformInfo.isWeb) {
|
||||
return _buildWebPortPicker(context, connector, isConnecting);
|
||||
}
|
||||
|
||||
if (_isLoadingPorts) {
|
||||
return EmptyState(icon: Icons.usb, title: l10n.usbStatus_searching);
|
||||
}
|
||||
@@ -235,15 +268,67 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
return EmptyState(icon: Icons.usb, title: l10n.usbScreenEmptyState);
|
||||
}
|
||||
|
||||
final isConnecting =
|
||||
connector.state == MeshCoreConnectionState.connecting &&
|
||||
connector.activeTransport == MeshCoreTransportType.usb;
|
||||
return _buildPortListView(context, _ports, isConnecting);
|
||||
}
|
||||
|
||||
/// Web: one prominent button opens the browser's serial-port picker;
|
||||
/// ports the user already authorised are listed below it for reconnects.
|
||||
Widget _buildWebPortPicker(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
bool isConnecting,
|
||||
) {
|
||||
final authorizedPorts = _ports
|
||||
.where((port) => !_isWebRequestEntry(port))
|
||||
.toList();
|
||||
final canConnect =
|
||||
!isConnecting &&
|
||||
connector.state == MeshCoreConnectionState.disconnected;
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 8, 16, 8),
|
||||
child: FilledButton.icon(
|
||||
key: const Key('usb_choose_serial_port_button'),
|
||||
style: FilledButton.styleFrom(minimumSize: const Size(0, 56)),
|
||||
onPressed: canConnect
|
||||
? () {
|
||||
HapticFeedback.selectionClick();
|
||||
_connectPort(_webRequestPortName);
|
||||
}
|
||||
: null,
|
||||
icon: isConnecting
|
||||
? const SizedBox(
|
||||
width: 20,
|
||||
height: 20,
|
||||
child: CircularProgressIndicator(strokeWidth: 2),
|
||||
)
|
||||
: const Icon(Icons.usb),
|
||||
label: Text(
|
||||
context.l10n.usbChooseSerialPort,
|
||||
style: const TextStyle(fontSize: 16),
|
||||
),
|
||||
),
|
||||
),
|
||||
if (authorizedPorts.isNotEmpty)
|
||||
Expanded(
|
||||
child: _buildPortListView(context, authorizedPorts, isConnecting),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildPortListView(
|
||||
BuildContext context,
|
||||
List<String> ports,
|
||||
bool isConnecting,
|
||||
) {
|
||||
return ListView.builder(
|
||||
padding: const EdgeInsets.only(bottom: 32),
|
||||
itemCount: _ports.length,
|
||||
itemCount: ports.length,
|
||||
itemBuilder: (context, index) {
|
||||
final port = _ports[index];
|
||||
final port = ports[index];
|
||||
final displayName = friendlyUsbPortName(port);
|
||||
final rawName = normalizeUsbPortName(port);
|
||||
final showRawName =
|
||||
@@ -279,7 +364,7 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
? Text(
|
||||
rawName,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 13,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
maxLines: 1,
|
||||
@@ -288,7 +373,7 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
: null,
|
||||
trailing: Icon(
|
||||
Icons.chevron_right,
|
||||
size: 18,
|
||||
size: 24,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
@@ -309,6 +394,8 @@ class _UsbScreenState extends State<UsbScreen> {
|
||||
Future<void> _pollHotPlug() async {
|
||||
if (_isLoadingPorts) return;
|
||||
if (!mounted) return;
|
||||
// Skip while another screen covers this one.
|
||||
if (!(ModalRoute.of(context)?.isCurrent ?? true)) return;
|
||||
// Don't poll while connecting or connected.
|
||||
if (_connector.state != MeshCoreConnectionState.disconnected) return;
|
||||
try {
|
||||
|
||||
@@ -313,8 +313,12 @@ class AppSettingsService extends ChangeNotifier {
|
||||
await updateSettings(_settings.copyWith(jumpToOldestUnread: value));
|
||||
}
|
||||
|
||||
Future<void> setImageMessagesEnabled(bool value) async {
|
||||
await updateSettings(_settings.copyWith(imageMessagesEnabled: value));
|
||||
Future<void> setNetworkMapUploadEnabled(bool value) async {
|
||||
await updateSettings(_settings.copyWith(networkMapUploadEnabled: value));
|
||||
}
|
||||
|
||||
Future<void> setNetworkMapPromptShown(bool value) async {
|
||||
await updateSettings(_settings.copyWith(networkMapPromptShown: value));
|
||||
}
|
||||
|
||||
Future<void> setIpfsImageSettings({
|
||||
@@ -335,6 +339,10 @@ class AppSettingsService extends ChangeNotifier {
|
||||
);
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
@@ -633,6 +633,10 @@ enum ImageReassemblyFailureReason {
|
||||
|
||||
/// Dropped by [ImageReassembler.clear] (disconnect / new session).
|
||||
disconnected,
|
||||
|
||||
/// Dropped by [ImageReassembler.clearChannel] because the radio slot it
|
||||
/// arrived on now holds a different channel.
|
||||
channelChanged,
|
||||
}
|
||||
|
||||
/// A fully reassembled image.
|
||||
@@ -878,6 +882,34 @@ class ImageReassembler {
|
||||
}
|
||||
}
|
||||
|
||||
/// Drops every stream that arrived on [channelIndex], whose radio slot now
|
||||
/// holds a different channel, so a new image there can never be completed
|
||||
/// with the old channel's bytes. In-progress streams are reported through
|
||||
/// [onFailed] so their bubbles stop showing "receiving".
|
||||
void clearChannel(int channelIndex, {DateTime? now}) {
|
||||
final at = now ?? _clock();
|
||||
_recentlyCompleted.removeWhere(
|
||||
(key, _) => key.channelIndex == channelIndex,
|
||||
);
|
||||
final dropped = _pending.values
|
||||
.where((entry) => entry.key.channelIndex == channelIndex)
|
||||
.toList();
|
||||
for (final entry in dropped) {
|
||||
_pending.remove(entry.key);
|
||||
onFailed?.call(
|
||||
ImageReassemblyFailure(
|
||||
key: entry.key,
|
||||
total: entry.total,
|
||||
receivedDataChunks: entry.bodies.length,
|
||||
hadParity: entry.hasParity,
|
||||
firstSeen: entry.firstSeen,
|
||||
expiredAt: at,
|
||||
reason: ImageReassemblyFailureReason.channelChanged,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Feeds one received GRP_DATA blob.
|
||||
///
|
||||
/// [now] overrides the clock for tests. Expired entries are swept first, so
|
||||
|
||||
@@ -275,14 +275,26 @@ class MapTileCacheResult {
|
||||
final int total;
|
||||
final int downloaded;
|
||||
final int failed;
|
||||
final bool cancelled;
|
||||
|
||||
const MapTileCacheResult({
|
||||
required this.total,
|
||||
required this.downloaded,
|
||||
required this.failed,
|
||||
this.cancelled = false,
|
||||
});
|
||||
}
|
||||
|
||||
/// Cooperative cancellation flag for [MapTileCacheService.downloadRegion].
|
||||
/// Tiles already in flight finish; no new tiles are queued after [cancel].
|
||||
class MapTileDownloadCancelToken {
|
||||
bool _cancelled = false;
|
||||
|
||||
bool get isCancelled => _cancelled;
|
||||
|
||||
void cancel() => _cancelled = true;
|
||||
}
|
||||
|
||||
class CachedTileInfo {
|
||||
final String key;
|
||||
final String host;
|
||||
@@ -316,6 +328,10 @@ class MapTileCacheService extends ChangeNotifier {
|
||||
static const int defaultMinZoom = 10;
|
||||
static const int defaultMaxZoom = 15;
|
||||
|
||||
/// Largest bulk download the UI allows in one go. Keeps a single request
|
||||
/// within tile-server usage policies and avoids filling the device.
|
||||
static const int maxBulkDownloadTiles = 20000;
|
||||
|
||||
final AppSettingsService appSettingsService;
|
||||
final BaseCacheManager cacheManager;
|
||||
late final TileProvider tileProvider;
|
||||
@@ -614,6 +630,7 @@ class MapTileCacheService extends ChangeNotifier {
|
||||
int concurrentDownloads = 8,
|
||||
Map<String, String>? headers,
|
||||
void Function(MapTileCacheProgress progress)? onProgress,
|
||||
MapTileDownloadCancelToken? cancelToken,
|
||||
}) async {
|
||||
final safeMin = math.min(minZoom, maxZoom);
|
||||
final safeMax = math.max(minZoom, maxZoom);
|
||||
@@ -652,10 +669,17 @@ class MapTileCacheService extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
var stoppedEarly = false;
|
||||
|
||||
outer:
|
||||
for (int zoom = safeMin; zoom <= safeMax; zoom++) {
|
||||
final tileBounds = _tileBoundsForBounds(bounds, zoom);
|
||||
for (int x = tileBounds.minX; x <= tileBounds.maxX; x++) {
|
||||
for (int y = tileBounds.minY; y <= tileBounds.maxY; y++) {
|
||||
if (cancelToken?.isCancelled ?? false) {
|
||||
stoppedEarly = true;
|
||||
break outer;
|
||||
}
|
||||
final url = _buildTileUrl(x, y, zoom, urlTemplate: currentTemplate);
|
||||
await queueDownload(url);
|
||||
}
|
||||
@@ -670,6 +694,7 @@ class MapTileCacheService extends ChangeNotifier {
|
||||
total: total,
|
||||
downloaded: completed - failed,
|
||||
failed: failed,
|
||||
cancelled: stoppedEarly,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,262 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:latlong2/latlong.dart';
|
||||
|
||||
const String networkMapBaseUrl = 'https://map.meshcoreopen.org';
|
||||
|
||||
/// Largest bbox span the read endpoints accept, in degrees.
|
||||
const double networkMapMaxBboxSpan = 20.0;
|
||||
|
||||
class NetworkMapBbox {
|
||||
final double minLon;
|
||||
final double minLat;
|
||||
final double maxLon;
|
||||
final double maxLat;
|
||||
|
||||
const NetworkMapBbox({
|
||||
required this.minLon,
|
||||
required this.minLat,
|
||||
required this.maxLon,
|
||||
required this.maxLat,
|
||||
});
|
||||
|
||||
bool get isWithinLimit =>
|
||||
maxLon - minLon <= networkMapMaxBboxSpan &&
|
||||
maxLat - minLat <= networkMapMaxBboxSpan;
|
||||
|
||||
/// Valid request boxes for a visible area, or null when it is larger than
|
||||
/// [networkMapMaxBboxSpan]. [west] and [east] may be unwrapped (beyond
|
||||
/// ±180) or wrapped across the antimeridian (west > east); an area that
|
||||
/// crosses ±180 is split into two boxes, one on each side.
|
||||
static List<NetworkMapBbox>? forVisibleArea({
|
||||
required double west,
|
||||
required double south,
|
||||
required double east,
|
||||
required double north,
|
||||
}) {
|
||||
final minLat = south.clamp(-90.0, 90.0);
|
||||
final maxLat = north.clamp(-90.0, 90.0);
|
||||
var span = east - west;
|
||||
if (span < 0) span += 360;
|
||||
if (span > networkMapMaxBboxSpan ||
|
||||
maxLat - minLat > networkMapMaxBboxSpan) {
|
||||
return null;
|
||||
}
|
||||
final w = (west + 180) % 360 - 180; // Dart % is non-negative here.
|
||||
final e = w + span;
|
||||
NetworkMapBbox box(double a, double b) =>
|
||||
NetworkMapBbox(minLon: a, minLat: minLat, maxLon: b, maxLat: maxLat);
|
||||
if (e <= 180) return [box(w, e)];
|
||||
return [box(w, 180), box(-180, e - 360)];
|
||||
}
|
||||
|
||||
String get query => [
|
||||
minLon,
|
||||
minLat,
|
||||
maxLon,
|
||||
maxLat,
|
||||
].map((v) => v.toStringAsFixed(5)).join(',');
|
||||
}
|
||||
|
||||
/// An H3 cell as the server describes it. [boundary] is the open polygon
|
||||
/// (usually six points), so clients need no H3 library.
|
||||
class NetworkMapCell {
|
||||
final String cell;
|
||||
final LatLng center;
|
||||
final List<LatLng> boundary;
|
||||
|
||||
const NetworkMapCell({
|
||||
required this.cell,
|
||||
required this.center,
|
||||
required this.boundary,
|
||||
});
|
||||
|
||||
factory NetworkMapCell.fromJson(Map<String, dynamic> json) {
|
||||
return NetworkMapCell(
|
||||
cell: json['cell'] as String,
|
||||
center: LatLng(
|
||||
(json['lat'] as num).toDouble(),
|
||||
(json['lon'] as num).toDouble(),
|
||||
),
|
||||
boundary: [
|
||||
for (final point in (json['boundary'] as List? ?? const []))
|
||||
LatLng(
|
||||
((point as List)[0] as num).toDouble(),
|
||||
(point[1] as num).toDouble(),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
enum NetworkMapRepeaterStatus { active, recent, stale }
|
||||
|
||||
class NetworkMapRepeater {
|
||||
final String key;
|
||||
final String? name;
|
||||
final int type;
|
||||
final NetworkMapCell cell;
|
||||
final String locationSource;
|
||||
final double confidence;
|
||||
final NetworkMapRepeaterStatus status;
|
||||
final bool confirmed;
|
||||
final int sightings;
|
||||
final DateTime? firstSeen;
|
||||
final DateTime? lastSeen;
|
||||
|
||||
// Only present on the single-repeater endpoint.
|
||||
final int? links;
|
||||
final int? coverageCells;
|
||||
final String? reachableArea;
|
||||
|
||||
const NetworkMapRepeater({
|
||||
required this.key,
|
||||
required this.name,
|
||||
required this.type,
|
||||
required this.cell,
|
||||
required this.locationSource,
|
||||
required this.confidence,
|
||||
required this.status,
|
||||
required this.confirmed,
|
||||
required this.sightings,
|
||||
required this.firstSeen,
|
||||
required this.lastSeen,
|
||||
this.links,
|
||||
this.coverageCells,
|
||||
this.reachableArea,
|
||||
});
|
||||
|
||||
bool get isEstimated => locationSource == 'estimated';
|
||||
|
||||
factory NetworkMapRepeater.fromJson(Map<String, dynamic> json) {
|
||||
return NetworkMapRepeater(
|
||||
key: (json['key'] as String).toLowerCase(),
|
||||
name: json['name'] as String?,
|
||||
type: (json['type'] as num?)?.toInt() ?? 2,
|
||||
cell: NetworkMapCell.fromJson(json['cell'] as Map<String, dynamic>),
|
||||
locationSource: json['locationSource'] as String? ?? 'advert',
|
||||
confidence: (json['confidence'] as num?)?.toDouble() ?? 0,
|
||||
status: NetworkMapRepeaterStatus.values.firstWhere(
|
||||
(s) => s.name == json['status'],
|
||||
orElse: () => NetworkMapRepeaterStatus.stale,
|
||||
),
|
||||
confirmed: json['confirmed'] as bool? ?? false,
|
||||
sightings: (json['sightings'] as num?)?.toInt() ?? 0,
|
||||
firstSeen: _parseTime(json['firstSeen']),
|
||||
lastSeen: _parseTime(json['lastSeen']),
|
||||
links: (json['links'] as num?)?.toInt(),
|
||||
coverageCells: (json['coverageCells'] as num?)?.toInt(),
|
||||
reachableArea: json['reachableArea'] as String?,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class NetworkMapLink {
|
||||
final String a;
|
||||
final String b;
|
||||
final NetworkMapCell aCell;
|
||||
final NetworkMapCell bCell;
|
||||
final int packets;
|
||||
final double? snr;
|
||||
final bool confirmed;
|
||||
|
||||
const NetworkMapLink({
|
||||
required this.a,
|
||||
required this.b,
|
||||
required this.aCell,
|
||||
required this.bCell,
|
||||
required this.packets,
|
||||
required this.snr,
|
||||
required this.confirmed,
|
||||
});
|
||||
|
||||
factory NetworkMapLink.fromJson(Map<String, dynamic> json) {
|
||||
return NetworkMapLink(
|
||||
a: (json['a'] as String).toLowerCase(),
|
||||
b: (json['b'] as String).toLowerCase(),
|
||||
aCell: NetworkMapCell.fromJson(json['aCell'] as Map<String, dynamic>),
|
||||
bCell: NetworkMapCell.fromJson(json['bCell'] as Map<String, dynamic>),
|
||||
packets: (json['packets'] as num?)?.toInt() ?? 0,
|
||||
snr: (json['snr'] as num?)?.toDouble(),
|
||||
confirmed: json['confirmed'] as bool? ?? false,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
DateTime? _parseTime(Object? value) =>
|
||||
value is String ? DateTime.tryParse(value) : null;
|
||||
|
||||
class NetworkMapApiException implements Exception {
|
||||
final int statusCode;
|
||||
|
||||
const NetworkMapApiException(this.statusCode);
|
||||
|
||||
@override
|
||||
String toString() => 'NetworkMapApiException($statusCode)';
|
||||
}
|
||||
|
||||
/// Read-only client for the network map. Viewing never requires the upload
|
||||
/// opt-in and sends nothing about the radio.
|
||||
class NetworkMapApiClient {
|
||||
final http.Client _client;
|
||||
final String baseUrl;
|
||||
|
||||
NetworkMapApiClient({http.Client? client, this.baseUrl = networkMapBaseUrl})
|
||||
: _client = client ?? http.Client();
|
||||
|
||||
static const Duration _timeout = Duration(seconds: 20);
|
||||
|
||||
Future<List<NetworkMapRepeater>> fetchRepeaters(NetworkMapBbox bbox) async {
|
||||
final json = await _get('/v1/repeaters', {
|
||||
'bbox': bbox.query,
|
||||
'includeUnconfirmed': 'true',
|
||||
});
|
||||
return [
|
||||
for (final item in (json['repeaters'] as List? ?? const []))
|
||||
NetworkMapRepeater.fromJson(item as Map<String, dynamic>),
|
||||
];
|
||||
}
|
||||
|
||||
/// Null when the repeater is unknown or hidden (404).
|
||||
Future<NetworkMapRepeater?> fetchRepeater(String key) async {
|
||||
try {
|
||||
return NetworkMapRepeater.fromJson(
|
||||
await _get('/v1/repeaters/${key.toLowerCase()}', const {}),
|
||||
);
|
||||
} on NetworkMapApiException catch (e) {
|
||||
if (e.statusCode == 404) return null;
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
Future<List<NetworkMapLink>> fetchLinks(
|
||||
NetworkMapBbox bbox, {
|
||||
String window = '7d',
|
||||
}) async {
|
||||
final json = await _get('/v1/links', {
|
||||
'bbox': bbox.query,
|
||||
'window': window,
|
||||
});
|
||||
return [
|
||||
for (final item in (json['links'] as List? ?? const []))
|
||||
NetworkMapLink.fromJson(item as Map<String, dynamic>),
|
||||
];
|
||||
}
|
||||
|
||||
Future<Map<String, dynamic>> _get(
|
||||
String path,
|
||||
Map<String, String> query,
|
||||
) async {
|
||||
final uri = Uri.parse(
|
||||
'$baseUrl$path',
|
||||
).replace(queryParameters: query.isEmpty ? null : query);
|
||||
final response = await _client.get(uri).timeout(_timeout);
|
||||
if (response.statusCode != 200) {
|
||||
throw NetworkMapApiException(response.statusCode);
|
||||
}
|
||||
return jsonDecode(utf8.decode(response.bodyBytes)) as Map<String, dynamic>;
|
||||
}
|
||||
|
||||
void close() => _client.close();
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export 'network_map_gzip_stub.dart'
|
||||
if (dart.library.io) 'network_map_gzip_io.dart';
|
||||
@@ -0,0 +1,3 @@
|
||||
import 'dart:io';
|
||||
|
||||
List<int>? gzipEncode(List<int> bytes) => gzip.encode(bytes);
|
||||
@@ -0,0 +1,2 @@
|
||||
/// No gzip on web; the server accepts an uncompressed body.
|
||||
List<int>? gzipEncode(List<int> bytes) => null;
|
||||
@@ -0,0 +1,421 @@
|
||||
import 'dart:math';
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:cryptography/cryptography.dart';
|
||||
|
||||
import '../../connector/meshcore_protocol.dart';
|
||||
import '../../connector/raw_packet.dart';
|
||||
import '../../utils/location_grid.dart';
|
||||
|
||||
/// Records uploaded to the network map (see the server's API contract).
|
||||
///
|
||||
/// Everything here is built from the packet header, path and signal values
|
||||
/// only. Payloads, MACs, channel hashes, DM hashes, transport codes and exact
|
||||
/// coordinates never make it into a record.
|
||||
|
||||
const String hiddenNodeMarker = '\u{1F6AB}';
|
||||
const int _maxUploadPathBytes = 64;
|
||||
const int _maxAdvertNameBytes = 32;
|
||||
const int _advertPubKeySize = 32;
|
||||
const int _advertSignatureSize = 64;
|
||||
const int _maxAdvertDataSize = 32;
|
||||
|
||||
class NetworkMapLoc {
|
||||
final double lat;
|
||||
final double lon;
|
||||
|
||||
const NetworkMapLoc(this.lat, this.lon);
|
||||
|
||||
factory NetworkMapLoc.snapped(double lat, double lon) {
|
||||
final snapped = snapToLocationGrid(lat, lon);
|
||||
return NetworkMapLoc(snapped.lat, snapped.lon);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => {'lat': lat, 'lon': lon};
|
||||
}
|
||||
|
||||
class NetworkMapPreset {
|
||||
final int freqKhz;
|
||||
final double bwKhz;
|
||||
final int sf;
|
||||
final int cr;
|
||||
|
||||
const NetworkMapPreset({
|
||||
required this.freqKhz,
|
||||
required this.bwKhz,
|
||||
required this.sf,
|
||||
required this.cr,
|
||||
});
|
||||
|
||||
static const List<double> _allowedBwKhz = [
|
||||
7.8,
|
||||
10.4,
|
||||
15.6,
|
||||
20.8,
|
||||
31.25,
|
||||
41.7,
|
||||
62.5,
|
||||
125,
|
||||
250,
|
||||
500,
|
||||
];
|
||||
|
||||
/// From the radio's self-info values; null when any is missing or outside
|
||||
/// what the server accepts. Firmware reports frequency in kHz, bandwidth in
|
||||
/// Hz and coding rate as 1–4 or 5–8.
|
||||
static NetworkMapPreset? fromRadio({
|
||||
int? freqKhz,
|
||||
int? bwHz,
|
||||
int? sf,
|
||||
int? cr,
|
||||
}) {
|
||||
if (freqKhz == null || bwHz == null || sf == null || cr == null) {
|
||||
return null;
|
||||
}
|
||||
final bwKhz = _allowedBwKhz.where((bw) => (bw * 1000 - bwHz).abs() < 1);
|
||||
final codingRate = cr <= 4 ? cr + 4 : cr;
|
||||
if (freqKhz < 100000 ||
|
||||
freqKhz > 1100000 ||
|
||||
bwKhz.isEmpty ||
|
||||
sf < 5 ||
|
||||
sf > 12 ||
|
||||
codingRate < 5 ||
|
||||
codingRate > 8) {
|
||||
return null;
|
||||
}
|
||||
return NetworkMapPreset(
|
||||
freqKhz: freqKhz,
|
||||
bwKhz: bwKhz.first,
|
||||
sf: sf,
|
||||
cr: codingRate,
|
||||
);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'freqKhz': freqKhz,
|
||||
'bwKhz': bwKhz,
|
||||
'sf': sf,
|
||||
'cr': cr,
|
||||
};
|
||||
}
|
||||
|
||||
class NetworkMapPacketRecord {
|
||||
final int t;
|
||||
final int pt;
|
||||
final int rt;
|
||||
final int hw;
|
||||
final String path;
|
||||
final double snr;
|
||||
final int rssi;
|
||||
final int size;
|
||||
final String h;
|
||||
final bool scoped;
|
||||
|
||||
const NetworkMapPacketRecord({
|
||||
required this.t,
|
||||
required this.pt,
|
||||
required this.rt,
|
||||
required this.hw,
|
||||
required this.path,
|
||||
required this.snr,
|
||||
required this.rssi,
|
||||
required this.size,
|
||||
required this.h,
|
||||
required this.scoped,
|
||||
});
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
't': t,
|
||||
'pt': pt,
|
||||
'rt': rt,
|
||||
'hw': hw,
|
||||
'path': path,
|
||||
'snr': snr,
|
||||
'rssi': rssi,
|
||||
'size': size,
|
||||
'h': h,
|
||||
'scoped': scoped,
|
||||
};
|
||||
}
|
||||
|
||||
class NetworkMapAdvertRecord {
|
||||
final int t;
|
||||
final String key;
|
||||
final int type;
|
||||
final String? name;
|
||||
final NetworkMapLoc? loc;
|
||||
final bool hidden;
|
||||
final double snr;
|
||||
final int rssi;
|
||||
final int rt;
|
||||
final int hw;
|
||||
final String path;
|
||||
|
||||
const NetworkMapAdvertRecord({
|
||||
required this.t,
|
||||
required this.key,
|
||||
required this.type,
|
||||
required this.name,
|
||||
required this.loc,
|
||||
required this.hidden,
|
||||
required this.snr,
|
||||
required this.rssi,
|
||||
required this.rt,
|
||||
required this.hw,
|
||||
required this.path,
|
||||
});
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
't': t,
|
||||
'key': key,
|
||||
'type': type,
|
||||
'name': name,
|
||||
'loc': loc?.toJson(),
|
||||
'hidden': hidden,
|
||||
'snr': snr,
|
||||
'rssi': rssi,
|
||||
'rt': rt,
|
||||
'hw': hw,
|
||||
'path': path,
|
||||
};
|
||||
}
|
||||
|
||||
/// Header, path and signal fields of a `PUSH_CODE_LOG_RX_DATA` frame.
|
||||
class _RxFrame {
|
||||
final double snr;
|
||||
final int rssi;
|
||||
final int rawLength;
|
||||
final int routeType;
|
||||
final int payloadType;
|
||||
final int hashWidth;
|
||||
final Uint8List pathBytes;
|
||||
final Uint8List payload;
|
||||
|
||||
_RxFrame({
|
||||
required this.snr,
|
||||
required this.rssi,
|
||||
required this.rawLength,
|
||||
required this.routeType,
|
||||
required this.payloadType,
|
||||
required this.hashWidth,
|
||||
required this.pathBytes,
|
||||
required this.payload,
|
||||
});
|
||||
|
||||
bool get scoped => routeType == 0 || routeType == 3;
|
||||
|
||||
String get pathHex => _hex(pathBytes);
|
||||
}
|
||||
|
||||
_RxFrame? _parseRxFrame(Uint8List frame) {
|
||||
if (frame.isEmpty || frame[0] != pushCodeLogRxData) return null;
|
||||
try {
|
||||
final reader = BufferReader(frame);
|
||||
reader.skipBytes(1);
|
||||
final snr = reader.readInt8() / 4.0;
|
||||
final rssi = reader.readInt8();
|
||||
final rawLength = reader.remaining;
|
||||
final header = reader.readByte();
|
||||
final routeType = header & 0x03;
|
||||
final payloadType = (header >> 2) & 0x0F;
|
||||
if (routeType == 0 || routeType == 3) {
|
||||
reader.skipBytes(4); // transport codes: never uploaded
|
||||
}
|
||||
final pathLenRaw = reader.readByte();
|
||||
final hashWidth = decodePathHashWidth(pathLenRaw);
|
||||
final pathBytes = reader.readBytes(decodePathByteLen(pathLenRaw));
|
||||
final payload = reader.readBytes(reader.remaining);
|
||||
if (hashWidth > 3 || pathBytes.length > _maxUploadPathBytes) return null;
|
||||
return _RxFrame(
|
||||
snr: snr.clamp(-32.0, 32.0).toDouble(),
|
||||
rssi: rssi.clamp(-200, 0).toInt(),
|
||||
rawLength: rawLength,
|
||||
routeType: routeType,
|
||||
payloadType: payloadType,
|
||||
hashWidth: hashWidth,
|
||||
pathBytes: pathBytes,
|
||||
payload: payload,
|
||||
);
|
||||
} catch (_) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// Unix seconds rounded down to the minute.
|
||||
int networkMapMinute(DateTime time) {
|
||||
final seconds = time.millisecondsSinceEpoch ~/ 1000;
|
||||
return seconds - seconds % 60;
|
||||
}
|
||||
|
||||
/// Raw packet length rounded up to a multiple of 16, capped at 256.
|
||||
int roundUpPacketSize(int length) {
|
||||
final rounded = ((length + 15) ~/ 16) * 16;
|
||||
return rounded > 256 ? 256 : rounded;
|
||||
}
|
||||
|
||||
/// Header-only packet record for a received 0x88 frame, or null when the
|
||||
/// frame is malformed or outside what the server accepts.
|
||||
NetworkMapPacketRecord? buildPacketRecord(
|
||||
Uint8List frame,
|
||||
DateTime receivedAt,
|
||||
) {
|
||||
final rx = _parseRxFrame(frame);
|
||||
if (rx == null) return null;
|
||||
return NetworkMapPacketRecord(
|
||||
t: networkMapMinute(receivedAt),
|
||||
pt: rx.payloadType,
|
||||
rt: rx.routeType,
|
||||
hw: rx.hashWidth,
|
||||
path: rx.pathHex,
|
||||
snr: rx.snr,
|
||||
rssi: rx.rssi,
|
||||
size: roundUpPacketSize(rx.rawLength),
|
||||
h: computePacketHash(rx.payloadType, rx.payload),
|
||||
scoped: rx.scoped,
|
||||
);
|
||||
}
|
||||
|
||||
/// Advert record for a received repeater or room server advert whose Ed25519
|
||||
/// signature verifies. Chat and sensor adverts, unsigned or malformed adverts
|
||||
/// and anything that isn't an advert return null.
|
||||
Future<NetworkMapAdvertRecord?> buildAdvertRecord(
|
||||
Uint8List frame,
|
||||
DateTime receivedAt,
|
||||
) async {
|
||||
final rx = _parseRxFrame(frame);
|
||||
if (rx == null || rx.payloadType != payloadTypeADVERT) return null;
|
||||
final payload = rx.payload;
|
||||
const appDataStart = _advertPubKeySize + 4 + _advertSignatureSize;
|
||||
if (payload.length <= appDataStart) return null;
|
||||
|
||||
// Only the first 32 app-data bytes are signed (firmware Mesh.cpp truncates
|
||||
// to MAX_ADVERT_DATA_SIZE before verifying and parsing), so bytes appended
|
||||
// after them must never reach the name, location or 🚫 check.
|
||||
final appData = payload.sublist(
|
||||
appDataStart,
|
||||
min(payload.length, appDataStart + _maxAdvertDataSize),
|
||||
);
|
||||
final flags = appData[0];
|
||||
final type = flags & 0x0F;
|
||||
if (type != advTypeRepeater && type != advTypeRoom) return null;
|
||||
|
||||
final publicKey = payload.sublist(0, _advertPubKeySize);
|
||||
if (!await _verifyAdvertSignature(payload, publicKey)) return null;
|
||||
|
||||
// Same layout as the firmware's AdvertDataParser.
|
||||
var i = 1;
|
||||
NetworkMapLoc? loc;
|
||||
if (flags & 0x10 != 0) {
|
||||
if (appData.length < i + 8) return null;
|
||||
final view = ByteData.sublistView(appData);
|
||||
final lat = view.getInt32(i, Endian.little) / 1e6;
|
||||
final lon = view.getInt32(i + 4, Endian.little) / 1e6;
|
||||
i += 8;
|
||||
if (_isPlausibleLocation(lat, lon)) loc = NetworkMapLoc.snapped(lat, lon);
|
||||
}
|
||||
if (flags & 0x20 != 0) i += 2;
|
||||
if (flags & 0x40 != 0) i += 2;
|
||||
String? name;
|
||||
if (flags & 0x80 != 0 && appData.length > i) {
|
||||
var nameBytes = appData.sublist(i);
|
||||
final nul = nameBytes.indexOf(0);
|
||||
if (nul >= 0) nameBytes = nameBytes.sublist(0, nul);
|
||||
final decoded = utf8.decode(nameBytes, allowMalformed: true);
|
||||
if (decoded.isNotEmpty) name = decoded;
|
||||
}
|
||||
|
||||
final hidden = name != null && name.contains(hiddenNodeMarker);
|
||||
return NetworkMapAdvertRecord(
|
||||
t: networkMapMinute(receivedAt),
|
||||
key: _hex(publicKey),
|
||||
type: type,
|
||||
name: hidden || name == null
|
||||
? null
|
||||
: _truncateUtf8(name, _maxAdvertNameBytes),
|
||||
loc: hidden ? null : loc,
|
||||
hidden: hidden,
|
||||
snr: rx.snr,
|
||||
rssi: rx.rssi,
|
||||
rt: rx.routeType,
|
||||
hw: rx.hashWidth,
|
||||
path: rx.pathHex,
|
||||
);
|
||||
}
|
||||
|
||||
/// The firmware signs pubkey ‖ timestamp ‖ app_data (app_data capped at
|
||||
/// MAX_ADVERT_DATA_SIZE), see Mesh::createAdvert.
|
||||
Future<bool> _verifyAdvertSignature(
|
||||
Uint8List payload,
|
||||
Uint8List publicKey,
|
||||
) async {
|
||||
const sigStart = _advertPubKeySize + 4;
|
||||
const appDataStart = sigStart + _advertSignatureSize;
|
||||
var appDataEnd = payload.length;
|
||||
if (appDataEnd - appDataStart > _maxAdvertDataSize) {
|
||||
appDataEnd = appDataStart + _maxAdvertDataSize;
|
||||
}
|
||||
final message = <int>[
|
||||
...payload.sublist(0, sigStart),
|
||||
...payload.sublist(appDataStart, appDataEnd),
|
||||
];
|
||||
try {
|
||||
return await Ed25519().verify(
|
||||
message,
|
||||
signature: Signature(
|
||||
payload.sublist(sigStart, appDataStart),
|
||||
publicKey: SimplePublicKey(publicKey, type: KeyPairType.ed25519),
|
||||
),
|
||||
);
|
||||
} catch (_) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool _isPlausibleLocation(double lat, double lon) {
|
||||
const epsilon = 1e-6;
|
||||
return (lat.abs() > epsilon || lon.abs() > epsilon) &&
|
||||
lat >= -90 &&
|
||||
lat <= 90 &&
|
||||
lon >= -180 &&
|
||||
lon <= 180;
|
||||
}
|
||||
|
||||
String _truncateUtf8(String value, int maxBytes) {
|
||||
if (utf8.encode(value).length <= maxBytes) return value;
|
||||
final buffer = StringBuffer();
|
||||
var used = 0;
|
||||
for (final rune in value.runes) {
|
||||
final char = String.fromCharCode(rune);
|
||||
final length = utf8.encode(char).length;
|
||||
if (used + length > maxBytes) break;
|
||||
buffer.write(char);
|
||||
used += length;
|
||||
}
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
String _hex(List<int> bytes) =>
|
||||
bytes.map((b) => b.toRadixString(16).padLeft(2, '0')).join();
|
||||
|
||||
/// The `POST /v1/upload` body. Field names and nesting follow the contract
|
||||
/// exactly; the server rejects unknown fields.
|
||||
Map<String, dynamic> buildUploadBody({
|
||||
required String installId,
|
||||
required String app,
|
||||
required NetworkMapLoc? loc,
|
||||
required NetworkMapPreset? preset,
|
||||
required int listenSeconds,
|
||||
required List<NetworkMapPacketRecord> packets,
|
||||
required List<NetworkMapAdvertRecord> adverts,
|
||||
}) => {
|
||||
'v': 1,
|
||||
'installId': installId,
|
||||
'token': null,
|
||||
'app': app,
|
||||
'loc': loc?.toJson(),
|
||||
'preset': preset?.toJson(),
|
||||
'listenSeconds': listenSeconds.clamp(0, 600),
|
||||
'packets': [for (final p in packets) p.toJson()],
|
||||
'adverts': [for (final a in adverts) a.toJson()],
|
||||
};
|
||||
@@ -0,0 +1,413 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
import '../../connector/meshcore_connector.dart';
|
||||
import '../../connector/meshcore_protocol.dart';
|
||||
import '../../storage/prefs_manager.dart';
|
||||
import '../../utils/app_logger.dart';
|
||||
import '../app_settings_service.dart';
|
||||
import 'network_map_api_client.dart';
|
||||
import 'network_map_gzip.dart';
|
||||
import 'network_map_records.dart';
|
||||
|
||||
/// Random per-install identifier, regenerated every 24 h and never derived
|
||||
/// from the radio key.
|
||||
class NetworkMapInstallId {
|
||||
static const _keyId = 'network_map_install_id';
|
||||
static const _keyCreatedAt = 'network_map_install_id_created_at';
|
||||
static const Duration lifetime = Duration(hours: 24);
|
||||
|
||||
final SharedPreferences _prefs;
|
||||
final DateTime Function() _now;
|
||||
final Random _random;
|
||||
|
||||
NetworkMapInstallId(this._prefs, {DateTime Function()? now, Random? random})
|
||||
: _now = now ?? DateTime.now,
|
||||
_random = random ?? Random.secure();
|
||||
|
||||
String current() {
|
||||
final now = _now();
|
||||
final id = _prefs.getString(_keyId);
|
||||
final createdMs = _prefs.getInt(_keyCreatedAt);
|
||||
if (id != null && createdMs != null) {
|
||||
final age = now.difference(
|
||||
DateTime.fromMillisecondsSinceEpoch(createdMs),
|
||||
);
|
||||
if (!age.isNegative && age < lifetime) return id;
|
||||
}
|
||||
final bytes = Uint8List.fromList(
|
||||
List<int>.generate(16, (_) => _random.nextInt(256)),
|
||||
);
|
||||
final fresh = base64Url.encode(bytes).replaceAll('=', '');
|
||||
unawaited(_prefs.setString(_keyId, fresh));
|
||||
unawaited(_prefs.setInt(_keyCreatedAt, now.millisecondsSinceEpoch));
|
||||
return fresh;
|
||||
}
|
||||
}
|
||||
|
||||
class _Queued<T> {
|
||||
final DateTime queuedAt;
|
||||
final T record;
|
||||
|
||||
_Queued(this.queuedAt, this.record);
|
||||
}
|
||||
|
||||
/// Records waiting for upload, with the contract's batch caps and age limit.
|
||||
class NetworkMapUploadQueue {
|
||||
static const int maxPacketsPerBatch = 2000;
|
||||
static const int maxAdvertsPerBatch = 200;
|
||||
static const Duration maxQueueAge = Duration(hours: 1);
|
||||
|
||||
/// The server drops records more than 65 min old, so anything past an hour
|
||||
/// is not worth sending.
|
||||
static const Duration maxRecordAge = Duration(minutes: 60);
|
||||
|
||||
// Bounds memory if uploads keep failing for the full hour.
|
||||
static const int _maxQueuedPackets = maxPacketsPerBatch * 5;
|
||||
|
||||
final List<_Queued<NetworkMapPacketRecord>> _packets = [];
|
||||
final List<_Queued<NetworkMapAdvertRecord>> _adverts = [];
|
||||
|
||||
bool get isEmpty => _packets.isEmpty && _adverts.isEmpty;
|
||||
int get packetCount => _packets.length;
|
||||
int get advertCount => _adverts.length;
|
||||
|
||||
void addPacket(NetworkMapPacketRecord record, DateTime now) {
|
||||
_packets.add(_Queued(now, record));
|
||||
if (_packets.length > _maxQueuedPackets) _packets.removeAt(0);
|
||||
}
|
||||
|
||||
void addAdvert(NetworkMapAdvertRecord record, DateTime now) {
|
||||
// Only the latest advert per key is useful within one batch window.
|
||||
_adverts.removeWhere((q) => q.record.key == record.key);
|
||||
_adverts.add(_Queued(now, record));
|
||||
}
|
||||
|
||||
void dropExpired(DateTime now) {
|
||||
final cutoffSeconds = networkMapMinute(now.subtract(maxRecordAge));
|
||||
bool expired(DateTime queuedAt, int t) =>
|
||||
now.difference(queuedAt) > maxQueueAge || t < cutoffSeconds;
|
||||
_packets.removeWhere((q) => expired(q.queuedAt, q.record.t));
|
||||
_adverts.removeWhere((q) => expired(q.queuedAt, q.record.t));
|
||||
}
|
||||
|
||||
void clear() {
|
||||
_packets.clear();
|
||||
_adverts.clear();
|
||||
}
|
||||
|
||||
/// The oldest records up to the per-batch caps. They stay queued until
|
||||
/// [remove] confirms the upload.
|
||||
({List<NetworkMapPacketRecord> packets, List<NetworkMapAdvertRecord> adverts})
|
||||
peekBatch() => (
|
||||
packets: [for (final q in _packets.take(maxPacketsPerBatch)) q.record],
|
||||
adverts: [for (final q in _adverts.take(maxAdvertsPerBatch)) q.record],
|
||||
);
|
||||
|
||||
void remove(int packets, int adverts) {
|
||||
_packets.removeRange(0, min(packets, _packets.length));
|
||||
_adverts.removeRange(0, min(adverts, _adverts.length));
|
||||
}
|
||||
}
|
||||
|
||||
/// Opt-in uploader for the network map.
|
||||
///
|
||||
/// Listens to raw RX log frames only while the user has opted in and a radio
|
||||
/// is connected, and uploads header-only records in batches.
|
||||
class NetworkMapUploadService extends ChangeNotifier {
|
||||
static const Duration uploadInterval = Duration(seconds: 60);
|
||||
static const Duration heartbeatInterval = Duration(minutes: 5);
|
||||
static const Duration maxBackoff = Duration(minutes: 15);
|
||||
static const int _maxJitterMs = 10000;
|
||||
|
||||
static const _keySentDay = 'network_map_sent_day';
|
||||
static const _keySentCount = 'network_map_sent_count';
|
||||
static const _keyLastUpload = 'network_map_last_upload';
|
||||
|
||||
final MeshCoreConnector _connector;
|
||||
final AppSettingsService _settings;
|
||||
final http.Client _client;
|
||||
final String baseUrl;
|
||||
final Random _random = Random();
|
||||
final NetworkMapUploadQueue _queue = NetworkMapUploadQueue();
|
||||
|
||||
StreamSubscription<Uint8List>? _frameSub;
|
||||
Timer? _timer;
|
||||
bool _uploading = false;
|
||||
|
||||
/// Bumped whenever sharing is turned off. An upload started under an older
|
||||
/// generation is never sent and its result is ignored, so nothing leaves the
|
||||
/// phone after consent is withdrawn and a late response can't touch a queue
|
||||
/// that was cleared and refilled in the meantime.
|
||||
int _consentGeneration = 0;
|
||||
int _failures = 0;
|
||||
Duration _retryAfter = Duration.zero;
|
||||
Duration _nextInterval = uploadInterval;
|
||||
DateTime? _listenMark;
|
||||
int _listenSeconds = 0;
|
||||
DateTime? _lastUploadAt;
|
||||
DateTime? _lastAttemptAt;
|
||||
int _packetsSentToday = 0;
|
||||
String? _appId;
|
||||
|
||||
NetworkMapUploadService({
|
||||
required MeshCoreConnector connector,
|
||||
required AppSettingsService settings,
|
||||
http.Client? client,
|
||||
this.baseUrl = networkMapBaseUrl,
|
||||
}) : _connector = connector,
|
||||
_settings = settings,
|
||||
_client = client ?? http.Client() {
|
||||
_loadStatus();
|
||||
_connector.addListener(_sync);
|
||||
_settings.addListener(_sync);
|
||||
_sync();
|
||||
}
|
||||
|
||||
bool get enabled => _settings.settings.networkMapUploadEnabled;
|
||||
|
||||
/// True while frames are being collected.
|
||||
bool get isActive => _frameSub != null;
|
||||
DateTime? get lastUploadAt => _lastUploadAt;
|
||||
int get packetsSentToday {
|
||||
final prefs = PrefsManager.instance;
|
||||
return prefs.getString(_keySentDay) == _dayKey(DateTime.now())
|
||||
? _packetsSentToday
|
||||
: 0;
|
||||
}
|
||||
|
||||
Future<void> setEnabled(bool value) =>
|
||||
_settings.setNetworkMapUploadEnabled(value);
|
||||
|
||||
void _loadStatus() {
|
||||
final prefs = PrefsManager.instance;
|
||||
final lastMs = prefs.getInt(_keyLastUpload);
|
||||
if (lastMs != null) {
|
||||
_lastUploadAt = DateTime.fromMillisecondsSinceEpoch(lastMs);
|
||||
}
|
||||
_packetsSentToday = prefs.getInt(_keySentCount) ?? 0;
|
||||
}
|
||||
|
||||
void _sync() {
|
||||
if (!enabled && (isActive || !_queue.isEmpty || _uploading)) {
|
||||
_queue.clear();
|
||||
_consentGeneration++;
|
||||
}
|
||||
// The store-review demo radio is simulated; its traffic must not reach
|
||||
// the real map.
|
||||
final shouldListen =
|
||||
enabled && _connector.isConnected && !_connector.isReviewMode;
|
||||
if (shouldListen == isActive) return;
|
||||
if (shouldListen) {
|
||||
_frameSub = _connector.receivedFrames.listen(_onFrame);
|
||||
_listenMark = DateTime.now();
|
||||
_lastAttemptAt ??= DateTime.now();
|
||||
_schedule(uploadInterval);
|
||||
} else {
|
||||
_accrueListenTime();
|
||||
_listenMark = null;
|
||||
unawaited(_frameSub?.cancel());
|
||||
_frameSub = null;
|
||||
_timer?.cancel();
|
||||
_timer = null;
|
||||
}
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void _onFrame(Uint8List frame) {
|
||||
if (frame.isEmpty || frame[0] != pushCodeLogRxData) return;
|
||||
final now = DateTime.now();
|
||||
final packet = buildPacketRecord(frame, now);
|
||||
if (packet == null) return;
|
||||
_queue.addPacket(packet, now);
|
||||
if (packet.pt == payloadTypeADVERT) {
|
||||
unawaited(
|
||||
buildAdvertRecord(frame, now).then((advert) {
|
||||
if (advert != null && isActive) _queue.addAdvert(advert, now);
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void _accrueListenTime() {
|
||||
final mark = _listenMark;
|
||||
if (mark == null) return;
|
||||
final now = DateTime.now();
|
||||
_listenSeconds += now.difference(mark).inSeconds;
|
||||
_listenMark = now;
|
||||
}
|
||||
|
||||
void _schedule(Duration base) {
|
||||
_timer?.cancel();
|
||||
final jitter = Duration(milliseconds: _random.nextInt(_maxJitterMs + 1));
|
||||
_timer = Timer(base + jitter, _tick);
|
||||
}
|
||||
|
||||
Future<void> _tick() async {
|
||||
if (!isActive || _uploading) return;
|
||||
final now = DateTime.now();
|
||||
_queue.dropExpired(now);
|
||||
final sinceLast = now.difference(_lastAttemptAt ?? now);
|
||||
if (_queue.isEmpty && sinceLast < heartbeatInterval) {
|
||||
_schedule(_nextInterval);
|
||||
return;
|
||||
}
|
||||
await _upload();
|
||||
if (isActive) {
|
||||
_schedule(_failures == 0 ? _nextInterval : _backoffDelay);
|
||||
}
|
||||
}
|
||||
|
||||
Duration get _backoffDelay {
|
||||
final exp = uploadInterval * pow(2, _failures - 1).toInt();
|
||||
final delay = exp > maxBackoff ? maxBackoff : exp;
|
||||
return _retryAfter > delay ? _retryAfter : delay;
|
||||
}
|
||||
|
||||
Future<void> _upload() async {
|
||||
_uploading = true;
|
||||
final generation = _consentGeneration;
|
||||
bool stale() => generation != _consentGeneration || !enabled;
|
||||
_lastAttemptAt = DateTime.now();
|
||||
try {
|
||||
_accrueListenTime();
|
||||
final batch = _queue.peekBatch();
|
||||
final lat = _connector.selfLatitude;
|
||||
final lon = _connector.selfLongitude;
|
||||
final hasPosition =
|
||||
lat != null &&
|
||||
lon != null &&
|
||||
(lat.abs() > 1e-6 || lon.abs() > 1e-6) &&
|
||||
lat.abs() <= 90 &&
|
||||
lon.abs() <= 180;
|
||||
final body = buildUploadBody(
|
||||
installId: NetworkMapInstallId(PrefsManager.instance).current(),
|
||||
app: await _appString(),
|
||||
loc: hasPosition ? NetworkMapLoc.snapped(lat, lon) : null,
|
||||
preset: NetworkMapPreset.fromRadio(
|
||||
freqKhz: _connector.currentFreqHz,
|
||||
bwHz: _connector.currentBwHz,
|
||||
sf: _connector.currentSf,
|
||||
cr: _connector.currentCr,
|
||||
),
|
||||
listenSeconds: min(_listenSeconds, 600),
|
||||
packets: batch.packets,
|
||||
adverts: batch.adverts,
|
||||
);
|
||||
if (stale()) return;
|
||||
final jsonBytes = utf8.encode(jsonEncode(body));
|
||||
final gzipped = gzipEncode(jsonBytes);
|
||||
final response = await _client
|
||||
.post(
|
||||
Uri.parse('$baseUrl/v1/upload'),
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
if (gzipped != null) 'Content-Encoding': 'gzip',
|
||||
},
|
||||
body: gzipped ?? jsonBytes,
|
||||
)
|
||||
.timeout(const Duration(seconds: 30));
|
||||
if (stale()) return;
|
||||
final status = response.statusCode;
|
||||
if (status == 202 || status == 200) {
|
||||
_queue.remove(batch.packets.length, batch.adverts.length);
|
||||
_onUploaded(batch.packets.length, response.body);
|
||||
} else if (status == 429 || status >= 500) {
|
||||
_onFailed(response.headers['retry-after'], response.body);
|
||||
} else {
|
||||
// 400/413/415: resending the same batch can never succeed.
|
||||
appLogger.warn(
|
||||
'Network map upload rejected ($status): ${response.body}',
|
||||
tag: 'NetworkMap',
|
||||
);
|
||||
_queue.remove(batch.packets.length, batch.adverts.length);
|
||||
_listenSeconds = 0;
|
||||
_failures = 0;
|
||||
}
|
||||
} catch (e) {
|
||||
if (stale()) return;
|
||||
appLogger.warn('Network map upload failed: $e', tag: 'NetworkMap');
|
||||
_onFailed(null, null);
|
||||
} finally {
|
||||
_uploading = false;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
void _onUploaded(int packetCount, String body) {
|
||||
final now = DateTime.now();
|
||||
_failures = 0;
|
||||
_retryAfter = Duration.zero;
|
||||
_listenSeconds = 0;
|
||||
_lastUploadAt = now;
|
||||
_nextInterval = uploadInterval;
|
||||
try {
|
||||
final next = (jsonDecode(body) as Map)['nextUploadSeconds'];
|
||||
if (next is num && next >= 30 && next <= 900) {
|
||||
_nextInterval = Duration(seconds: next.toInt());
|
||||
}
|
||||
} catch (_) {}
|
||||
|
||||
final prefs = PrefsManager.instance;
|
||||
final today = _dayKey(now);
|
||||
if (prefs.getString(_keySentDay) != today) _packetsSentToday = 0;
|
||||
_packetsSentToday += packetCount;
|
||||
unawaited(prefs.setString(_keySentDay, today));
|
||||
unawaited(prefs.setInt(_keySentCount, _packetsSentToday));
|
||||
unawaited(prefs.setInt(_keyLastUpload, now.millisecondsSinceEpoch));
|
||||
}
|
||||
|
||||
void _onFailed(String? retryAfterHeader, String? body) {
|
||||
_failures++;
|
||||
var retryAfter = int.tryParse(retryAfterHeader?.trim() ?? '');
|
||||
if (retryAfter == null && body != null) {
|
||||
try {
|
||||
final value = (jsonDecode(body) as Map)['retryAfterSeconds'];
|
||||
if (value is num) retryAfter = value.toInt();
|
||||
} catch (_) {}
|
||||
}
|
||||
_retryAfter = retryAfter == null
|
||||
? Duration.zero
|
||||
: Duration(seconds: min(retryAfter, maxBackoff.inSeconds));
|
||||
}
|
||||
|
||||
@visibleForTesting
|
||||
int get queuedPacketCount => _queue.packetCount;
|
||||
|
||||
@visibleForTesting
|
||||
void queuePacketForTest(NetworkMapPacketRecord record) =>
|
||||
_queue.addPacket(record, DateTime.now());
|
||||
|
||||
@visibleForTesting
|
||||
Future<void> uploadNowForTest() => _upload();
|
||||
|
||||
Future<String> _appString() async {
|
||||
if (_appId != null) return _appId!;
|
||||
var version = '';
|
||||
try {
|
||||
version = (await PackageInfo.fromPlatform()).version;
|
||||
} catch (_) {}
|
||||
final cleaned = version.replaceAll(RegExp(r'[^\x21-\x7E]'), '');
|
||||
final id = cleaned.isEmpty ? 'meshcore-open' : 'meshcore-open/$cleaned';
|
||||
return _appId = id.length > 64 ? id.substring(0, 64) : id;
|
||||
}
|
||||
|
||||
static String _dayKey(DateTime time) =>
|
||||
'${time.year}-${time.month}-${time.day}';
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_connector.removeListener(_sync);
|
||||
_settings.removeListener(_sync);
|
||||
_timer?.cancel();
|
||||
unawaited(_frameSub?.cancel());
|
||||
_client.close();
|
||||
super.dispose();
|
||||
}
|
||||
}
|
||||
@@ -159,6 +159,11 @@ class ReceivedImageEntry {
|
||||
final int imgId;
|
||||
final int channelIndex;
|
||||
|
||||
/// [Channel.storageId] of the channel the image belongs to. [channelIndex]
|
||||
/// is the radio slot it arrived on, which another channel may reuse later.
|
||||
/// Null only for entries written before channel IDs existed.
|
||||
final String? channelId;
|
||||
|
||||
/// Local clock at the first chunk — code 27 carries no timestamp.
|
||||
final DateTime firstSeen;
|
||||
|
||||
@@ -221,6 +226,7 @@ class ReceivedImageEntry {
|
||||
required this.senderPrefix,
|
||||
required this.imgId,
|
||||
required this.channelIndex,
|
||||
this.channelId,
|
||||
required this.firstSeen,
|
||||
required this.state,
|
||||
required this.receivedChunks,
|
||||
@@ -259,6 +265,7 @@ class ReceivedImageEntry {
|
||||
static const Object _unset = Object();
|
||||
|
||||
ReceivedImageEntry copyWith({
|
||||
String? channelId,
|
||||
ReceivedImageState? state,
|
||||
int? receivedChunks,
|
||||
int? totalChunks,
|
||||
@@ -281,6 +288,7 @@ class ReceivedImageEntry {
|
||||
senderPrefix: senderPrefix,
|
||||
imgId: imgId,
|
||||
channelIndex: channelIndex,
|
||||
channelId: channelId ?? this.channelId,
|
||||
firstSeen: firstSeen,
|
||||
state: state ?? this.state,
|
||||
receivedChunks: receivedChunks ?? this.receivedChunks,
|
||||
@@ -309,6 +317,7 @@ class ReceivedImageEntry {
|
||||
'senderPrefix': senderPrefix,
|
||||
'imgId': imgId,
|
||||
'channelIndex': channelIndex,
|
||||
if (channelId != null) 'channelId': channelId,
|
||||
'firstSeenMs': firstSeen.millisecondsSinceEpoch,
|
||||
'state': state.name,
|
||||
'receivedChunks': receivedChunks,
|
||||
@@ -335,6 +344,7 @@ class ReceivedImageEntry {
|
||||
senderPrefix: json['senderPrefix'] as int? ?? 0,
|
||||
imgId: json['imgId'] as int? ?? 0,
|
||||
channelIndex: json['channelIndex'] as int? ?? 0,
|
||||
channelId: json['channelId'] as String?,
|
||||
firstSeen: DateTime.fromMillisecondsSinceEpoch(
|
||||
json['firstSeenMs'] as int? ?? 0,
|
||||
),
|
||||
@@ -760,6 +770,7 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
Future<ReceivedImageEntry?> handleOutcome(
|
||||
ImageChunkOutcome outcome, {
|
||||
required int channelIndex,
|
||||
String? channelId,
|
||||
DateTime? at,
|
||||
}) async {
|
||||
final now = at ?? _clock();
|
||||
@@ -810,6 +821,8 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
.toInt(),
|
||||
totalChunks: header.total,
|
||||
error: null,
|
||||
// A first chunk seen before its slot had an ID gets one now.
|
||||
channelId: existing.channelId ?? channelId,
|
||||
);
|
||||
return _store(updated);
|
||||
}
|
||||
@@ -826,6 +839,7 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
senderPrefix: header.senderPrefix,
|
||||
imgId: header.imgId,
|
||||
channelIndex: channelIndex,
|
||||
channelId: channelId,
|
||||
firstSeen: now,
|
||||
state: ReceivedImageState.receiving,
|
||||
receivedChunks: counts,
|
||||
@@ -861,13 +875,14 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
case ImageChunkStatus.completed:
|
||||
final result = outcome.result;
|
||||
if (result == null) return null;
|
||||
return _handleCompleted(result, now);
|
||||
return _handleCompleted(result, now, channelId);
|
||||
}
|
||||
}
|
||||
|
||||
Future<ReceivedImageEntry> _handleCompleted(
|
||||
ImageReassemblyResult result,
|
||||
DateTime now,
|
||||
String? channelId,
|
||||
) async {
|
||||
final key = result.key;
|
||||
var entry = entryForKey(key);
|
||||
@@ -884,11 +899,14 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
senderPrefix: key.senderPrefix,
|
||||
imgId: key.imgId,
|
||||
channelIndex: key.channelIndex,
|
||||
channelId: channelId,
|
||||
firstSeen: now,
|
||||
state: ReceivedImageState.receiving,
|
||||
receivedChunks: result.chunkCount,
|
||||
totalChunks: result.chunkCount,
|
||||
);
|
||||
} else if (entry.channelId == null && channelId != null) {
|
||||
entry = entry.copyWith(channelId: channelId);
|
||||
}
|
||||
|
||||
final metadata = result.metadata;
|
||||
@@ -1000,6 +1018,7 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
/// ```dart
|
||||
/// final entry = await receivedImageStore.registerOutgoing(
|
||||
/// channelIndex: channelIndex,
|
||||
/// channelId: channel.storageId,
|
||||
/// senderPrefix: selfPrefix, // same 16 bits the chunk header carries
|
||||
/// imgId: chunkSet.imgId,
|
||||
/// previewPng: preview.croppedPngBytes, // the 512x512 crop, NOT a decode
|
||||
@@ -1015,6 +1034,7 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
/// memory beyond the encode that already ran.
|
||||
Future<ReceivedImageEntry> registerOutgoing({
|
||||
required int channelIndex,
|
||||
String? channelId,
|
||||
required int senderPrefix,
|
||||
required int imgId,
|
||||
required Uint8List previewPng,
|
||||
@@ -1038,6 +1058,7 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
senderPrefix: senderPrefix,
|
||||
imgId: imgId,
|
||||
channelIndex: channelIndex,
|
||||
channelId: channelId,
|
||||
firstSeen: now,
|
||||
state: ReceivedImageState.decoded,
|
||||
receivedChunks: chunkCount,
|
||||
@@ -1429,9 +1450,9 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
///
|
||||
/// Returns the stream ids that were removed, so the caller can strip their
|
||||
/// sentinels from the channel's message list in one pass.
|
||||
Future<List<String>> deleteImagesForChannel(int channelIndex) async {
|
||||
Future<List<String>> deleteImagesForChannelId(String channelId) async {
|
||||
final doomed = _entries.values
|
||||
.where((e) => e.channelIndex == channelIndex)
|
||||
.where((e) => e.channelId == channelId)
|
||||
.map((e) => e.streamId)
|
||||
.toList();
|
||||
for (final streamId in doomed) {
|
||||
@@ -1440,6 +1461,32 @@ class ReceivedImageStore extends ChangeNotifier {
|
||||
return doomed;
|
||||
}
|
||||
|
||||
/// Images of [channelId], newest first.
|
||||
List<ReceivedImageEntry> entriesForChannel(String? channelId) {
|
||||
if (channelId == null) return const <ReceivedImageEntry>[];
|
||||
return entries.where((e) => e.channelId == channelId).toList();
|
||||
}
|
||||
|
||||
/// Gives entries saved before channel IDs existed the ID of the channel
|
||||
/// their slot held then ([slotIds], from the radio's cached channel list).
|
||||
/// The store is app-wide, so with several radios the first one migrated
|
||||
/// claims the unstamped images.
|
||||
Future<void> stampLegacyChannelIds(Map<int, String> slotIds) async {
|
||||
for (final entry in _entries.values.toList()) {
|
||||
if (entry.channelId != null) continue;
|
||||
final channelId = slotIds[entry.channelIndex];
|
||||
if (channelId == null) continue;
|
||||
await _store(entry.copyWith(channelId: channelId));
|
||||
}
|
||||
}
|
||||
|
||||
/// Forgets which in-progress streams arrived on [channelIndex] after the
|
||||
/// radio slot was given to another channel, so a new image on that slot
|
||||
/// never continues an old one.
|
||||
void forgetChannelSlot(int channelIndex) {
|
||||
_byKey.removeWhere((key, _) => key.channelIndex == channelIndex);
|
||||
}
|
||||
|
||||
/// Deletes an image for each sentinel that is still present in a channel's
|
||||
/// message list, and drops everything else this store holds for that channel.
|
||||
///
|
||||
|
||||
@@ -131,6 +131,14 @@ class RepeaterCommandService {
|
||||
);
|
||||
}
|
||||
|
||||
/// The text [sendCommand] would put on the wire for its next attempt: the
|
||||
/// clock-sync rewrite plus the `XX|` reply prefix (unless [raw]). Used for
|
||||
/// debug previews so they match what is actually sent.
|
||||
String previewFramedCommand(String command, {bool raw = false}) {
|
||||
if (raw) return command;
|
||||
return '${_peekPrefixToken()}${normalizeRepeaterClockSyncCommand(command)}';
|
||||
}
|
||||
|
||||
/// Send [line] verbatim and don't wait for a reply. While `region load` is
|
||||
/// active the firmware consumes each line before prefix stripping and
|
||||
/// sends nothing back (simple_repeater/MyMesh.cpp handleCommand).
|
||||
@@ -185,6 +193,17 @@ class RepeaterCommandService {
|
||||
_pendingByPrefix.clear();
|
||||
}
|
||||
|
||||
String _peekPrefixToken() {
|
||||
for (var i = 0; i < 256; i++) {
|
||||
final value = (_prefixCounter + i) & 0xFF;
|
||||
final token = '${value.toRadixString(16).padLeft(2, '0').toUpperCase()}|';
|
||||
if (!_pendingByPrefix.containsKey(token)) {
|
||||
return token;
|
||||
}
|
||||
}
|
||||
return '00|';
|
||||
}
|
||||
|
||||
String _nextPrefixToken() {
|
||||
for (var i = 0; i < 256; i++) {
|
||||
final value = _prefixCounter++ & 0xFF;
|
||||
|
||||
@@ -9,6 +9,10 @@ const String contactsAllGroupsValue = '__all__';
|
||||
|
||||
enum ChannelSortOption { manual, name, latestMessages, unread }
|
||||
|
||||
/// Which nodes the map draws: the radio's own contacts, the online network
|
||||
/// map, or both.
|
||||
enum MapSourceOption { local, online, both }
|
||||
|
||||
class UiViewStateService extends ChangeNotifier {
|
||||
static const _keyContactsSelectedGroupName = 'ui_contacts_selected_group';
|
||||
static const _keyContactsSortOption = 'ui_contacts_sort_option';
|
||||
@@ -16,6 +20,7 @@ class UiViewStateService extends ChangeNotifier {
|
||||
static const _keyContactsTypeFilter = 'ui_contacts_type_filter';
|
||||
static const _keyChannelsSortOption = 'ui_channels_sort_option';
|
||||
static const _keyChannelsSortIndexLegacy = 'ui_channels_sort_index';
|
||||
static const _keyMapSource = 'ui_map_source';
|
||||
|
||||
String _contactsSelectedGroupName = contactsAllGroupsValue;
|
||||
String _contactsSearchText = '';
|
||||
@@ -26,6 +31,7 @@ class UiViewStateService extends ChangeNotifier {
|
||||
|
||||
String _channelsSearchText = '';
|
||||
ChannelSortOption _channelsSortOption = ChannelSortOption.manual;
|
||||
MapSourceOption _mapSource = MapSourceOption.local;
|
||||
|
||||
String get contactsSelectedGroupName => _contactsSelectedGroupName;
|
||||
String get contactsSearchText => _contactsSearchText;
|
||||
@@ -35,6 +41,7 @@ class UiViewStateService extends ChangeNotifier {
|
||||
ContactTypeFilter get contactsTypeFilter => _contactsTypeFilter;
|
||||
String get channelsSearchText => _channelsSearchText;
|
||||
ChannelSortOption get channelsSortOption => _channelsSortOption;
|
||||
MapSourceOption get mapSource => _mapSource;
|
||||
|
||||
Future<void> initialize() async {
|
||||
final prefs = PrefsManager.instance;
|
||||
@@ -63,6 +70,14 @@ class UiViewStateService extends ChangeNotifier {
|
||||
);
|
||||
}
|
||||
|
||||
final mapSourceStr = prefs.getString(_keyMapSource);
|
||||
if (mapSourceStr != null) {
|
||||
_mapSource = MapSourceOption.values.firstWhere(
|
||||
(e) => e.name == mapSourceStr,
|
||||
orElse: () => MapSourceOption.local,
|
||||
);
|
||||
}
|
||||
|
||||
final channelSortStr = prefs.getString(_keyChannelsSortOption);
|
||||
if (channelSortStr != null) {
|
||||
_channelsSortOption = ChannelSortOption.values.firstWhere(
|
||||
@@ -151,4 +166,11 @@ class UiViewStateService extends ChangeNotifier {
|
||||
PrefsManager.instance.setString(_keyChannelsSortOption, value.name),
|
||||
);
|
||||
}
|
||||
|
||||
void setMapSource(MapSourceOption value) {
|
||||
if (_mapSource == value) return;
|
||||
_mapSource = value;
|
||||
notifyListeners();
|
||||
unawaited(PrefsManager.instance.setString(_keyMapSource, value.name));
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,11 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
import 'package:meshcore_open/utils/app_logger.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
import '../models/channel_message.dart';
|
||||
import '../models/message.dart' show legacyAwareReceivedAt;
|
||||
import '../models/translation_support.dart';
|
||||
import '../helpers/smaz.dart';
|
||||
import 'legacy_key_migration.dart';
|
||||
import 'prefs_manager.dart';
|
||||
|
||||
class ChannelMessageStore {
|
||||
@@ -30,11 +28,13 @@ class ChannelMessageStore {
|
||||
/// created by a screen to clear a key also resets the connector's view.
|
||||
static final Map<String, List<String>> _archived = {};
|
||||
|
||||
String _keyForChannel(String channelId) => '${keyFor}_$channelId';
|
||||
|
||||
/// Save messages for a specific channel: [messages] is the in-memory
|
||||
/// window (oldest first) and is written after the archived entries that
|
||||
/// sit ahead of it in storage.
|
||||
Future<void> saveChannelMessages(
|
||||
int channelIndex,
|
||||
String channelId,
|
||||
List<ChannelMessage> messages,
|
||||
) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
@@ -44,11 +44,11 @@ class ChannelMessageStore {
|
||||
return;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyFor$channelIndex';
|
||||
final key = _keyForChannel(channelId);
|
||||
final visibleJson = messages.map(_messageToJson).toList();
|
||||
final archived =
|
||||
_archived[key] ??
|
||||
_unreconciledArchive(_readStored(prefs, channelIndex), visibleJson);
|
||||
_unreconciledArchive(prefs.getString(key), visibleJson);
|
||||
final overflow = archived.length + visibleJson.length - maxStoredMessages;
|
||||
if (overflow > 0) {
|
||||
archived.removeRange(0, overflow.clamp(0, archived.length));
|
||||
@@ -59,22 +59,22 @@ class ChannelMessageStore {
|
||||
}
|
||||
|
||||
/// Records [olderMessages] as the stored entries that precede the
|
||||
/// in-memory window for [channelIndex].
|
||||
void setArchived(int channelIndex, List<ChannelMessage> olderMessages) {
|
||||
_archived['$keyFor$channelIndex'] = olderMessages
|
||||
/// in-memory window for [channelId].
|
||||
void setArchived(String channelId, List<ChannelMessage> olderMessages) {
|
||||
_archived[_keyForChannel(channelId)] = olderMessages
|
||||
.map((message) => jsonEncode(_messageToJson(message)))
|
||||
.toList();
|
||||
}
|
||||
|
||||
/// Number of stored entries ahead of the in-memory window, or null when
|
||||
/// the window has not been reconciled with storage.
|
||||
int? archivedCount(int channelIndex) =>
|
||||
_archived['$keyFor$channelIndex']?.length;
|
||||
int? archivedCount(String channelId) =>
|
||||
_archived[_keyForChannel(channelId)]?.length;
|
||||
|
||||
/// Removes the newest [count] archived entries after they were paged back
|
||||
/// into the in-memory window.
|
||||
void unarchiveNewest(int channelIndex, int count) {
|
||||
final archived = _archived['$keyFor$channelIndex'];
|
||||
void unarchiveNewest(String channelId, int count) {
|
||||
final archived = _archived[_keyForChannel(channelId)];
|
||||
if (archived == null || count <= 0) return;
|
||||
archived.removeRange(
|
||||
(archived.length - count).clamp(0, archived.length),
|
||||
@@ -84,11 +84,11 @@ class ChannelMessageStore {
|
||||
|
||||
/// Drops the archive bookkeeping, for one channel or all of them, when the
|
||||
/// matching in-memory window is discarded.
|
||||
void forgetArchive([int? channelIndex]) {
|
||||
if (channelIndex == null) {
|
||||
void forgetArchive([String? channelId]) {
|
||||
if (channelId == null) {
|
||||
_archived.clear();
|
||||
} else {
|
||||
_archived.remove('$keyFor$channelIndex');
|
||||
_archived.remove(_keyForChannel(channelId));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,41 +118,17 @@ class ChannelMessageStore {
|
||||
return 'fallback:${json['timestamp']}:${json['senderName']}:${json['text']}';
|
||||
}
|
||||
|
||||
/// Reads the stored JSON for [channelIndex], migrating the legacy unscoped
|
||||
/// key on first access.
|
||||
String? _readStored(SharedPreferences prefs, int channelIndex) {
|
||||
final key = '$keyFor$channelIndex';
|
||||
final oldKey = '$_keyPrefix$channelIndex';
|
||||
final jsonString = prefs.getString(key);
|
||||
if ((jsonString == null || jsonString.isEmpty) &&
|
||||
canMigrateLegacyKeys(publicKeyHex)) {
|
||||
// Attempt migration from legacy unscoped key on first load
|
||||
final legacyJsonString = prefs.getString(oldKey);
|
||||
prefs.remove(oldKey);
|
||||
if (legacyJsonString != null && legacyJsonString.isNotEmpty) {
|
||||
appLogger.info(
|
||||
'Migrating channel messages from legacy key $oldKey to scoped key $key',
|
||||
);
|
||||
prefs.setString(key, legacyJsonString);
|
||||
return legacyJsonString;
|
||||
}
|
||||
}
|
||||
return jsonString;
|
||||
}
|
||||
|
||||
/// Load messages for a specific channel
|
||||
Future<List<ChannelMessage>> loadChannelMessages(int channelIndex) async {
|
||||
Future<List<ChannelMessage>> loadChannelMessages(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot load channel messages.',
|
||||
);
|
||||
return [];
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
String? jsonString = _readStored(prefs, channelIndex);
|
||||
if (jsonString == null || jsonString.isEmpty) {
|
||||
jsonString = prefs.getString(keyFor);
|
||||
}
|
||||
final jsonString = PrefsManager.instance.getString(
|
||||
_keyForChannel(channelId),
|
||||
);
|
||||
if (jsonString == null || jsonString.isEmpty) {
|
||||
return [];
|
||||
}
|
||||
@@ -161,7 +137,7 @@ class ChannelMessageStore {
|
||||
jsonList = jsonDecode(jsonString) as List<dynamic>;
|
||||
} catch (e) {
|
||||
appLogger.warn(
|
||||
'Stored messages for channel $channelIndex are unreadable: $e',
|
||||
'Stored messages for channel $channelId are unreadable: $e',
|
||||
);
|
||||
return [];
|
||||
}
|
||||
@@ -177,9 +153,9 @@ class ChannelMessageStore {
|
||||
}
|
||||
|
||||
/// Clear messages for a specific channel
|
||||
Future<void> clearChannelMessages(int channelIndex) async {
|
||||
Future<void> clearChannelMessages(String channelId) async {
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyFor$channelIndex';
|
||||
final key = _keyForChannel(channelId);
|
||||
_archived[key] = [];
|
||||
await prefs.remove(key);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import 'dart:convert';
|
||||
import '../utils/app_logger.dart';
|
||||
import 'legacy_key_migration.dart';
|
||||
import 'prefs_manager.dart';
|
||||
|
||||
/// Persists the user's channel order as a list of channel storage IDs
|
||||
/// ([Channel.storageId]), so the order follows channels across slots.
|
||||
class ChannelOrderStore {
|
||||
static const String _keyPrefix = 'channel_order_';
|
||||
|
||||
@@ -12,53 +13,31 @@ class ChannelOrderStore {
|
||||
|
||||
String get keyFor => '$_keyPrefix$publicKeyHex';
|
||||
|
||||
Future<void> saveChannelOrder(List<int> order) async {
|
||||
Future<void> saveChannelOrder(List<String> order) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn('Public key hex is not set. Cannot save channel order.');
|
||||
return;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
await prefs.setString(keyFor, jsonEncode(order));
|
||||
await PrefsManager.instance.setString(keyFor, jsonEncode(order));
|
||||
}
|
||||
|
||||
Future<List<int>> loadChannelOrder() async {
|
||||
Future<List<String>> loadChannelOrder() async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn('Public key hex is not set. Cannot load channel order.');
|
||||
return [];
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
String? jsonString = prefs.getString(keyFor);
|
||||
if ((jsonString == null || jsonString.isEmpty) &&
|
||||
canMigrateLegacyKeys(publicKeyHex)) {
|
||||
// Attempt migration from legacy unscoped key on first load
|
||||
final legacyJsonString = prefs.getString(_keyPrefix);
|
||||
prefs.remove(_keyPrefix);
|
||||
if (legacyJsonString != null && legacyJsonString.isNotEmpty) {
|
||||
appLogger.info(
|
||||
'Migrating channel order from legacy key $_keyPrefix to scoped key $keyFor',
|
||||
);
|
||||
await prefs.setString(keyFor, legacyJsonString);
|
||||
jsonString = legacyJsonString;
|
||||
}
|
||||
}
|
||||
final jsonString = PrefsManager.instance.getString(keyFor);
|
||||
if (jsonString == null || jsonString.isEmpty) {
|
||||
return [];
|
||||
}
|
||||
try {
|
||||
final decoded = jsonDecode(jsonString);
|
||||
if (decoded is List) {
|
||||
return decoded
|
||||
.map((value) => value is int ? value : int.tryParse('$value'))
|
||||
.whereType<int>()
|
||||
.toList();
|
||||
return decoded.whereType<String>().toList();
|
||||
}
|
||||
} catch (_) {
|
||||
// fall through to legacy parse
|
||||
// Unreadable order: fall back to slot order.
|
||||
}
|
||||
return jsonString
|
||||
.split(',')
|
||||
.map((value) => int.tryParse(value))
|
||||
.whereType<int>()
|
||||
.toList();
|
||||
return [];
|
||||
}
|
||||
}
|
||||
@@ -43,30 +43,31 @@ class ChannelRegionStore {
|
||||
await PrefsManager.instance.setString(_defaultKey, region);
|
||||
}
|
||||
|
||||
Future<String> loadRegion(int channelIndex) async {
|
||||
String _keyForChannel(String channelId) => '${keyFor}_$channelId';
|
||||
|
||||
Future<String> loadRegion(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot load channel settings.',
|
||||
);
|
||||
return '';
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyFor$channelIndex';
|
||||
String? region = prefs.getString(key);
|
||||
return region ?? '';
|
||||
return PrefsManager.instance.getString(_keyForChannel(channelId)) ?? '';
|
||||
}
|
||||
|
||||
Future<String> saveRegion(int channelIndex, String region) async {
|
||||
Future<String> saveRegion(String channelId, String region) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot save channel settings.',
|
||||
);
|
||||
return '';
|
||||
}
|
||||
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyFor$channelIndex';
|
||||
await prefs.setString(key, region);
|
||||
await PrefsManager.instance.setString(_keyForChannel(channelId), region);
|
||||
return region;
|
||||
}
|
||||
|
||||
Future<void> clearRegion(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) return;
|
||||
await PrefsManager.instance.remove(_keyForChannel(channelId));
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
import '../utils/app_logger.dart';
|
||||
import 'legacy_key_migration.dart';
|
||||
import 'prefs_manager.dart';
|
||||
|
||||
class ChannelSettingsStore {
|
||||
@@ -15,105 +14,83 @@ class ChannelSettingsStore {
|
||||
String get keyForCyr2Lat => '$_cyr2latKeyPrefix$publicKeyHex';
|
||||
String get keyForUrlImages => '$_urlImagesKeyPrefix$publicKeyHex';
|
||||
|
||||
Future<bool> loadSmazEnabled(int channelIndex) async {
|
||||
String _smazKey(String channelId) => '${keyFor}_$channelId';
|
||||
String _cyr2LatKey(String channelId) => '${keyForCyr2Lat}_$channelId';
|
||||
String _cyr2LatProfileKey(String channelId) =>
|
||||
'${keyForCyr2Lat}_profile_$channelId';
|
||||
String _urlImagesKey(String channelId) => '${keyForUrlImages}_$channelId';
|
||||
|
||||
Future<bool> loadSmazEnabled(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot load channel settings.',
|
||||
);
|
||||
return false;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyFor$channelIndex';
|
||||
final oldKey = '$_keyPrefix$channelIndex';
|
||||
bool? enabled = prefs.getBool(key);
|
||||
if (enabled == null && canMigrateLegacyKeys(publicKeyHex)) {
|
||||
// Attempt migration from legacy unscoped key on first load
|
||||
enabled = prefs.getBool(oldKey);
|
||||
prefs.remove(oldKey);
|
||||
if (enabled != null) {
|
||||
appLogger.info(
|
||||
'Migrating channel settings from legacy key $oldKey to scoped key $key',
|
||||
);
|
||||
await prefs.setBool(key, enabled);
|
||||
}
|
||||
}
|
||||
return enabled ?? false;
|
||||
return PrefsManager.instance.getBool(_smazKey(channelId)) ?? false;
|
||||
}
|
||||
|
||||
Future<void> saveSmazEnabled(int channelIndex, bool enabled) async {
|
||||
Future<void> saveSmazEnabled(String channelId, bool enabled) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot save channel settings.',
|
||||
);
|
||||
return;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyFor$channelIndex';
|
||||
await prefs.setBool(key, enabled);
|
||||
await PrefsManager.instance.setBool(_smazKey(channelId), enabled);
|
||||
}
|
||||
|
||||
Future<bool> loadCyr2LatEnabled(int channelIndex) async {
|
||||
Future<bool> loadCyr2LatEnabled(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot load channel Cyr2Lat settings.',
|
||||
);
|
||||
return false;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyForCyr2Lat$channelIndex';
|
||||
return prefs.getBool(key) ?? false;
|
||||
return PrefsManager.instance.getBool(_cyr2LatKey(channelId)) ?? false;
|
||||
}
|
||||
|
||||
Future<void> saveCyr2LatEnabled(int channelIndex, bool enabled) async {
|
||||
Future<void> saveCyr2LatEnabled(String channelId, bool enabled) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot save channel Cyr2Lat settings.',
|
||||
);
|
||||
return;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyForCyr2Lat$channelIndex';
|
||||
await prefs.setBool(key, enabled);
|
||||
await PrefsManager.instance.setBool(_cyr2LatKey(channelId), enabled);
|
||||
}
|
||||
|
||||
Future<bool> loadUrlImagesEnabled(int channelIndex) async {
|
||||
Future<bool> loadUrlImagesEnabled(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot load channel URL image settings.',
|
||||
);
|
||||
return false;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$keyForUrlImages$channelIndex';
|
||||
return prefs.getBool(key) ?? false;
|
||||
return PrefsManager.instance.getBool(_urlImagesKey(channelId)) ?? false;
|
||||
}
|
||||
|
||||
Future<void> saveUrlImagesEnabled(int channelIndex, bool enabled) async {
|
||||
Future<void> saveUrlImagesEnabled(String channelId, bool enabled) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot save channel URL image settings.',
|
||||
);
|
||||
return;
|
||||
}
|
||||
await PrefsManager.instance.setBool(
|
||||
'$keyForUrlImages$channelIndex',
|
||||
enabled,
|
||||
);
|
||||
await PrefsManager.instance.setBool(_urlImagesKey(channelId), enabled);
|
||||
}
|
||||
|
||||
Future<String?> loadCyr2LatProfileId(int channelIndex) async {
|
||||
Future<String?> loadCyr2LatProfileId(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot load channel settings.',
|
||||
);
|
||||
return null;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '${keyForCyr2Lat}profile_$channelIndex';
|
||||
return prefs.getString(key);
|
||||
return PrefsManager.instance.getString(_cyr2LatProfileKey(channelId));
|
||||
}
|
||||
|
||||
Future<void> saveCyr2LatProfileId(int channelIndex, String? profileId) async {
|
||||
Future<void> saveCyr2LatProfileId(String channelId, String? profileId) async {
|
||||
if (publicKeyHex.isEmpty) {
|
||||
appLogger.warn(
|
||||
'Public key hex is not set. Cannot save channel settings.',
|
||||
@@ -121,11 +98,21 @@ class ChannelSettingsStore {
|
||||
return;
|
||||
}
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '${keyForCyr2Lat}profile_$channelIndex';
|
||||
final key = _cyr2LatProfileKey(channelId);
|
||||
if (profileId == null) {
|
||||
await prefs.remove(key);
|
||||
} else {
|
||||
await prefs.setString(key, profileId);
|
||||
}
|
||||
}
|
||||
|
||||
/// Removes every setting stored for [channelId].
|
||||
Future<void> clearChannel(String channelId) async {
|
||||
if (publicKeyHex.isEmpty) return;
|
||||
final prefs = PrefsManager.instance;
|
||||
await prefs.remove(_smazKey(channelId));
|
||||
await prefs.remove(_cyr2LatKey(channelId));
|
||||
await prefs.remove(_cyr2LatProfileKey(channelId));
|
||||
await prefs.remove(_urlImagesKey(channelId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,194 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import '../utils/app_logger.dart';
|
||||
import 'channel_message_store.dart';
|
||||
import 'channel_store.dart';
|
||||
import 'legacy_key_migration.dart';
|
||||
import 'prefs_manager.dart';
|
||||
|
||||
/// One-shot move of a radio's per-channel data from slot-index keys
|
||||
/// (`<prefix><scope><slot>`) to channel-ID keys (`<prefix><scope>_<id>`).
|
||||
///
|
||||
/// The slot -> PSK mapping comes from the radio's cached channel list, which is
|
||||
/// the mapping the legacy data was written under. Legacy keys of slots with no
|
||||
/// cached PSK are left alone and never read again.
|
||||
class ChannelStorageMigration {
|
||||
static const String _doneKeyPrefix = 'channel_storage_v2_';
|
||||
|
||||
static const String _messagesPrefix = 'channel_messages_';
|
||||
static const String _smazPrefix = 'channel_smaz_';
|
||||
static const String _cyr2latPrefix = 'channel_cyr2lat_';
|
||||
static const String _urlImagesPrefix = 'channel_url_images_';
|
||||
static const String _regionPrefix = 'channel_region_';
|
||||
static const String _orderPrefix = 'channel_order_';
|
||||
|
||||
/// Migrates [scope] (first 10 hex chars of the radio's public key) and
|
||||
/// returns the slot -> channel ID mapping it used. Returns an empty map when
|
||||
/// the scope was already migrated or must not adopt legacy data.
|
||||
///
|
||||
/// [beforeDone] runs with that mapping before the migration is marked done,
|
||||
/// so data kept elsewhere (images) is moved on the same one-shot terms: an
|
||||
/// interrupted run repeats it on the next launch.
|
||||
static Future<Map<int, String>> migrate(
|
||||
String scope, {
|
||||
Future<void> Function(Map<int, String> slotIds)? beforeDone,
|
||||
}) async {
|
||||
if (scope.isEmpty || !canMigrateLegacyKeys(scope)) return {};
|
||||
final prefs = PrefsManager.instance;
|
||||
final doneKey = '$_doneKeyPrefix$scope';
|
||||
if (prefs.getBool(doneKey) == true) return {};
|
||||
|
||||
final channelStore = ChannelStore()..setPublicKeyHex = scope;
|
||||
final cached = await channelStore.loadChannels();
|
||||
final slotIds = <int, String>{};
|
||||
for (final channel in cached) {
|
||||
final id = channel.storageId;
|
||||
if (id != null) slotIds[channel.index] = id;
|
||||
}
|
||||
|
||||
final slots = slotIds.keys.toList()..sort();
|
||||
for (final slot in slots) {
|
||||
final id = slotIds[slot]!;
|
||||
await _moveMessages(scope, slot, id);
|
||||
await _moveBool(
|
||||
'$_smazPrefix$scope',
|
||||
slot,
|
||||
id,
|
||||
legacyPrefix: _smazPrefix,
|
||||
);
|
||||
await _moveBool('$_cyr2latPrefix$scope', slot, id);
|
||||
await _moveBool('$_urlImagesPrefix$scope', slot, id);
|
||||
await _moveString(
|
||||
'$_cyr2latPrefix${scope}profile_$slot',
|
||||
'$_cyr2latPrefix${scope}_profile_$id',
|
||||
);
|
||||
await _moveString(
|
||||
'$_regionPrefix$scope$slot',
|
||||
'$_regionPrefix${scope}_$id',
|
||||
);
|
||||
}
|
||||
await _migrateOrder(scope, slotIds);
|
||||
if (slotIds.isNotEmpty) await beforeDone?.call(slotIds);
|
||||
|
||||
await prefs.setBool(doneKey, true);
|
||||
await channelStore.saveSlotChannelIds(slotIds);
|
||||
if (slotIds.isNotEmpty) {
|
||||
appLogger.info(
|
||||
'Moved channel data for ${slotIds.length} slots of $scope to channel IDs',
|
||||
);
|
||||
}
|
||||
return slotIds;
|
||||
}
|
||||
|
||||
static Future<void> _moveMessages(String scope, int slot, String id) async {
|
||||
final prefs = PrefsManager.instance;
|
||||
final oldKey = '$_messagesPrefix$scope$slot';
|
||||
final legacyKey = '$_messagesPrefix$slot';
|
||||
final newKey = '$_messagesPrefix${scope}_$id';
|
||||
var json = prefs.getString(oldKey);
|
||||
if (json == null || json.isEmpty) json = prefs.getString(legacyKey);
|
||||
if (json != null && json.isNotEmpty) {
|
||||
final existing = prefs.getString(newKey);
|
||||
// Two slots holding the same PSK now share one history.
|
||||
await prefs.setString(
|
||||
newKey,
|
||||
existing == null || existing.isEmpty
|
||||
? json
|
||||
: _mergeMessages(existing, json),
|
||||
);
|
||||
}
|
||||
// Old keys go only after the new one is written, so an interrupted run
|
||||
// loses nothing; the next launch repeats it.
|
||||
await prefs.remove(oldKey);
|
||||
await prefs.remove(legacyKey);
|
||||
}
|
||||
|
||||
static String _mergeMessages(String a, String b) {
|
||||
try {
|
||||
// A rerun after an interrupted migration merges a history into
|
||||
// itself, so drop entries already present.
|
||||
final seen = <String>{};
|
||||
final merged =
|
||||
[...jsonDecode(a) as List<dynamic>, ...jsonDecode(b) as List<dynamic>]
|
||||
.whereType<Map<String, dynamic>>()
|
||||
.where((m) => seen.add(_mergeKey(m)))
|
||||
.toList();
|
||||
merged.sort(
|
||||
(x, y) => ((x['timestamp'] as int?) ?? 0).compareTo(
|
||||
(y['timestamp'] as int?) ?? 0,
|
||||
),
|
||||
);
|
||||
final overflow = merged.length - ChannelMessageStore.maxStoredMessages;
|
||||
if (overflow > 0) merged.removeRange(0, overflow);
|
||||
return jsonEncode(merged);
|
||||
} catch (_) {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
|
||||
static String _mergeKey(Map<String, dynamic> json) {
|
||||
final messageId = json['messageId'];
|
||||
if (messageId is String && messageId.isNotEmpty) return 'id:$messageId';
|
||||
return 'fallback:${json['timestamp']}:${json['senderName']}:${json['text']}';
|
||||
}
|
||||
|
||||
static Future<void> _moveBool(
|
||||
String scopedPrefix,
|
||||
int slot,
|
||||
String id, {
|
||||
String? legacyPrefix,
|
||||
}) async {
|
||||
final prefs = PrefsManager.instance;
|
||||
final oldKey = '$scopedPrefix$slot';
|
||||
final newKey = '${scopedPrefix}_$id';
|
||||
final legacyKey = legacyPrefix == null ? null : '$legacyPrefix$slot';
|
||||
var value = prefs.get(oldKey);
|
||||
if (value == null && legacyKey != null) value = prefs.get(legacyKey);
|
||||
if (value is bool && !prefs.containsKey(newKey)) {
|
||||
await prefs.setBool(newKey, value);
|
||||
}
|
||||
await prefs.remove(oldKey);
|
||||
if (legacyKey != null) await prefs.remove(legacyKey);
|
||||
}
|
||||
|
||||
static Future<void> _moveString(String oldKey, String newKey) async {
|
||||
final prefs = PrefsManager.instance;
|
||||
final value = prefs.get(oldKey);
|
||||
if (value is String && !prefs.containsKey(newKey)) {
|
||||
await prefs.setString(newKey, value);
|
||||
}
|
||||
await prefs.remove(oldKey);
|
||||
}
|
||||
|
||||
static Future<void> _migrateOrder(
|
||||
String scope,
|
||||
Map<int, String> slotIds,
|
||||
) async {
|
||||
final prefs = PrefsManager.instance;
|
||||
final key = '$_orderPrefix$scope';
|
||||
var raw = prefs.getString(key);
|
||||
if (raw == null || raw.isEmpty) raw = prefs.getString(_orderPrefix);
|
||||
if (raw == null || raw.isEmpty) return;
|
||||
final slots = <int>[];
|
||||
try {
|
||||
final decoded = jsonDecode(raw);
|
||||
if (decoded is List) {
|
||||
// String entries are channel IDs from an interrupted earlier run.
|
||||
if (decoded.any((value) => value is String)) return;
|
||||
slots.addAll(decoded.whereType<int>());
|
||||
} else if (decoded is int) {
|
||||
// A one-slot legacy comma-separated list parses as a bare number.
|
||||
slots.add(decoded);
|
||||
}
|
||||
} catch (_) {
|
||||
slots.addAll(raw.split(',').map(int.tryParse).whereType<int>());
|
||||
}
|
||||
final ids = <String>[];
|
||||
for (final slot in slots) {
|
||||
final id = slotIds[slot];
|
||||
if (id != null && !ids.contains(id)) ids.add(id);
|
||||
}
|
||||
await prefs.setString(key, jsonEncode(ids));
|
||||
await prefs.remove(_orderPrefix);
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import 'prefs_manager.dart';
|
||||
|
||||
class ChannelStore {
|
||||
static const String _keyPrefix = 'channels';
|
||||
static const String _slotIdsKeyPrefix = 'channel_slot_ids_';
|
||||
String publicKeyHex = '';
|
||||
set setPublicKeyHex(String value) =>
|
||||
publicKeyHex = value.length >= 10 ? value.substring(0, 10) : '';
|
||||
@@ -70,6 +71,38 @@ class ChannelStore {
|
||||
await prefs.setString(keyFor, jsonEncode(jsonList));
|
||||
}
|
||||
|
||||
String get _slotIdsKey => '$_slotIdsKeyPrefix$publicKeyHex';
|
||||
|
||||
/// The slot -> [Channel.storageId] map confirmed by the last channel sync,
|
||||
/// used to spot slots another app changed while we were away.
|
||||
Future<Map<int, String>> loadSlotChannelIds() async {
|
||||
if (publicKeyHex.isEmpty) return {};
|
||||
final jsonString = PrefsManager.instance.getString(_slotIdsKey);
|
||||
if (jsonString == null || jsonString.isEmpty) return {};
|
||||
try {
|
||||
final decoded = jsonDecode(jsonString);
|
||||
if (decoded is! Map) return {};
|
||||
final ids = <int, String>{};
|
||||
for (final entry in decoded.entries) {
|
||||
final slot = int.tryParse('${entry.key}');
|
||||
final id = entry.value;
|
||||
if (slot != null && id is String && id.isNotEmpty) ids[slot] = id;
|
||||
}
|
||||
return ids;
|
||||
} catch (e) {
|
||||
appLogger.warn('Stored channel slot map is unreadable: $e');
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> saveSlotChannelIds(Map<int, String> ids) async {
|
||||
if (publicKeyHex.isEmpty) return;
|
||||
await PrefsManager.instance.setString(
|
||||
_slotIdsKey,
|
||||
jsonEncode({for (final e in ids.entries) '${e.key}': e.value}),
|
||||
);
|
||||
}
|
||||
|
||||
Map<String, dynamic> _toJson(Channel channel) {
|
||||
return {
|
||||
'index': channel.index,
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
import 'dart:math' as math;
|
||||
|
||||
/// Grid spacing in degrees (~2.2 km north–south). Shared with the network map
|
||||
/// server, which rejects any uploaded coordinate that is not a grid center.
|
||||
const double locationGridSize = 0.02;
|
||||
|
||||
/// Snaps a coordinate to the center of its network-map grid cell.
|
||||
///
|
||||
/// Every coordinate that leaves the phone goes through this. The algorithm is
|
||||
/// fixed by the network map API contract; snapping a center returns the same
|
||||
/// center.
|
||||
({double lat, double lon}) snapToLocationGrid(double lat, double lon) {
|
||||
const g = locationGridSize;
|
||||
final latIdx = (lat / g).floor();
|
||||
final latC = ((latIdx + 0.5) * g).clamp(-89.99, 89.99).toDouble();
|
||||
final step = g / math.max(math.cos(latC * math.pi / 180), 0.1);
|
||||
final lonIdx = ((lon + 180) / step).floor();
|
||||
final lonC = -180 + (lonIdx + 0.5) * step;
|
||||
return (lat: _round6(latC), lon: _round6(lonC));
|
||||
}
|
||||
|
||||
double _round6(double value) => (value * 1e6).round() / 1e6;
|
||||
@@ -78,7 +78,7 @@ class _BatteryIndicatorState extends State<BatteryIndicator> {
|
||||
child: Text(
|
||||
displayText,
|
||||
style: MeshTheme.mono(
|
||||
fontSize: 11,
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: batteryUi.color,
|
||||
),
|
||||
|
||||
@@ -145,7 +145,7 @@ class ByteCountedTextField extends StatelessWidget {
|
||||
? Text(
|
||||
softLimitNote!,
|
||||
style: TextStyle(
|
||||
fontSize: 11,
|
||||
fontSize: 12,
|
||||
color: Theme.of(context).colorScheme.tertiary,
|
||||
),
|
||||
)
|
||||
@@ -154,7 +154,7 @@ class ByteCountedTextField extends StatelessWidget {
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
'$usedBytes / $maxBytes',
|
||||
style: TextStyle(fontSize: 11, color: counterColor),
|
||||
style: TextStyle(fontSize: 12, color: counterColor),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Loaded 100 of 152 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user