Merge dev; fix share-location and discovered-contact import/export; update docs
Merge dev (#588 share location, #436 discovered-contact import/export) into fix/review-fixes-and-issue-batch. Conflicts: keep the node-scan button alongside dev's import/export menu; take dev's marker label prompt. Share location (#588): - Never share a missing or 0,0 radio position; hide the chat action and show "Your radio has no location set" - Sanitise marker labels ('|' -> '/', newlines -> spaces) on every path - One shared MarkerLabelDialog owning its controller/focus node, with keyboard submit, replacing three copies - Map pins default to "Point of interest" again; "Share my location" uses the node name - Location shares honour the send cooldown and handle send errors Discovered-contact import/export (#436): - Per-entry decoding with imported/skipped/invalid counts; reject keys that are not 32 bytes; skip in-file duplicates and the radio's own key - Strip routing paths on import and stop exporting them; clamp future timestamps; enforce the discovered-contact cap; require a connection; 2 MB file limit - Export via in-memory XFile (fixes web); pass sharePositionOrigin for iPad (also GPX export and image save); macOS user-selected read-write entitlement for save dialogs Docs: cover share location, import/export, node scan, TCP reconnect, channel auto-resend options, arrival ordering, badge, password length and image limits. Translations for all new strings in every locale.
This commit is contained in:
commit
5fb67abdde
66 files changed
+3118
-168
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# MeshCore Open - Feature Documentation
|
||||
|
||||
MeshCore Open is an open-source Flutter client for MeshCore LoRa mesh networking devices. These guides describe current user-facing features and their requirements. Reviewed against app `9.5.0+16`, including region-display merge `5eca459e`, on September 27, 2026. Hardware behavior still depends on platform, radio, and firmware.
|
||||
MeshCore Open is an open-source Flutter client for MeshCore LoRa mesh networking devices. These guides describe current user-facing features and their requirements. Reviewed against app `9.5.0+18` on October 11, 2026. Hardware behavior still depends on platform, radio, and firmware.
|
||||
|
||||
## Start here
|
||||
|
||||
@@ -11,19 +11,19 @@ MeshCore Open is an open-source Flutter client for MeshCore LoRa mesh networking
|
||||
|
||||
## Table of Contents
|
||||
|
||||
1. [Scanner & Connection](scanner-and-connection.md) - BLE scanning, USB serial, and TCP connection
|
||||
1. [Scanner & Connection](scanner-and-connection.md) - BLE scanning, USB serial, and TCP connection with automatic reconnect
|
||||
2. [Navigation](navigation.md) - App flow, device screen, and quick-switch navigation
|
||||
3. [Contacts](contacts.md) - Contact management, groups, discovery, and sharing
|
||||
4. [Chat & Messaging](chat-and-messaging.md) - Direct messages, message status, reactions, and retries
|
||||
5. [Channels](channels.md) - Broadcast channels, communities, and channel chat
|
||||
6. [Map & Location](map-and-location.md) - Node map, path tracing, line-of-sight, and offline caching
|
||||
3. [Contacts](contacts.md) - Contact management, groups, discovery, nearby-node scan, discovered-contact import/export, and sharing
|
||||
4. [Chat & Messaging](chat-and-messaging.md) - Direct messages, location sharing, message status, reactions, and retries
|
||||
5. [Channels](channels.md) - Broadcast channels, communities, channel chat, and auto-resend
|
||||
6. [Map & Location](map-and-location.md) - Node map, shared pins, path tracing, line-of-sight, and offline caching
|
||||
7. [Settings](settings.md) - Device settings, app settings, radio configuration, and exports
|
||||
8. [Notifications](notifications.md) - System notifications, replies from watches and Android Auto, unread badges, and notification preferences
|
||||
9. [Repeater Management](repeater-management.md) - Repeater hub, status, CLI, telemetry, and neighbors
|
||||
10. [Additional Features](additional-features.md) - GIF picker, localization, debug logs, SMAZ compression, and more
|
||||
11. [Routing Paths](routing-paths.md) - Path encoding, validation, device capability detection, and storage
|
||||
12. [BLE Protocol & Data Layer](ble-protocol.md) - Technical reference for the communication protocol and data architecture
|
||||
13. [Regions](regions.md) - Default/override scopes, message labels, and reply regions
|
||||
13. [Regions](regions.md) - App and radio default regions, unscoped sends, message labels, and reply regions
|
||||
14. [Image Messages](image-messages.md) - Model setup, mesh image sending, recovery, and reconstruction
|
||||
15. [Companion Radio Statistics](radio-statistics.md) - Noise, signal metrics, and airtime
|
||||
16. [Troubleshooting](troubleshooting.md) - BLE, USB, browser, and firmware issues
|
||||
@@ -38,6 +38,8 @@ MeshCore Open connects to MeshCore LoRa mesh radios over BLE, USB, or TCP. Once
|
||||
- **View nodes on a map** with GPS locations, predicted positions, and path traces
|
||||
- **Manage repeaters** with CLI access, telemetry, neighbor info, and settings
|
||||
- **Share contacts** via `meshcore://` URIs and QR codes
|
||||
- **Share locations** as map pins from chat or the map
|
||||
- **Scan for nearby nodes** and import/export discovered contacts
|
||||
- **Configure radio settings** including frequency, power, bandwidth, and spreading factor
|
||||
- **Cache offline maps** for use without internet connectivity
|
||||
- **Analyze line-of-sight** between nodes with terrain elevation profiles
|
||||
|
||||
@@ -52,7 +52,8 @@ A list of nodes heard passively over the air but not yet added as contacts. Each
|
||||
- Sort by last seen or name; filter by type
|
||||
- **Tap**: Import the contact (adds to your contact list)
|
||||
- **Long-press**: Add Contact, Copy `meshcore://` URI to clipboard, or Delete
|
||||
- Overflow menu → "Delete All" (with confirmation)
|
||||
- Overflow menu → "Export discovered contacts", "Import discovered contacts", or "Delete All" (with confirmation). See [Contacts](contacts.md#export-and-import-discovered-contacts)
|
||||
- Radar icon → **Scan for nearby nodes** (firmware version code 8+). See [Contacts](contacts.md#scan-for-nearby-nodes)
|
||||
- Already-known contacts and your own node are filtered out
|
||||
|
||||
---
|
||||
|
||||
@@ -48,13 +48,15 @@ Pull-to-refresh (swipe down) forces a re-fetch of channels from the device firmw
|
||||
|
||||
Tap the "+" FAB to open a dialog with six options:
|
||||
|
||||
1. **Create Private Channel** — Enter a name (max 31 characters); a random PSK is generated
|
||||
1. **Create Private Channel** — Enter a name (max 31 bytes of UTF-8, so fewer characters for accented letters, Cyrillic, or emoji); a random PSK is generated
|
||||
2. **Join Private Channel** — Enter a name and a 32-hex PSK (non-hex characters like spaces and dashes are silently stripped, so pasted keys with formatting are accepted)
|
||||
3. **Join Public Channel** — One tap; uses the well-known public PSK (only shown if no public channel exists)
|
||||
4. **Join Hashtag Channel** — Enter a hashtag name; PSK is derived from the name. If communities exist, choose between regular hashtag (SHA-256) or community hashtag (HMAC)
|
||||
5. **Scan Community QR** — Opens QR scanner to join a community
|
||||
6. **Create Community** — Enter a name; generates a random 32-byte secret; optionally adds a community public channel; shows QR code for sharing
|
||||
|
||||
Name limits count the `#` and any community prefix, so the name stored on the radio matches what you typed and others derive the same key. Adding a channel is blocked until the channel list has finished syncing from the radio (a snackbar says the channels are still loading), and the free slot is picked when you confirm, so an existing channel is never overwritten.
|
||||
|
||||
## Channel Actions (Long-Press / Right-Click)
|
||||
|
||||
| Action | Description |
|
||||
@@ -85,7 +87,7 @@ Tap a channel card to open the channel chat screen.
|
||||
- **Pinch-to-zoom**: Two-finger zoom (0.8x–1.8x) and double-tap to reset text size
|
||||
- **Message tracing mode** (when enabled in App Settings): Each bubble additionally shows path prefix bytes (`via XX,YY,...`), a timestamp, and a repeat count icon
|
||||
|
||||
Messages also show a region label when known, independently of message tracing. The [message-region guide](regions.md#regions-displayed-on-messages) explains why some incoming messages have no label.
|
||||
Messages also show a region label when known, independently of message tracing. By default the region chip sits below the hop count; turn on **Region next to hop count** in App Settings → Messaging to show both on one line. The [message-region guide](regions.md#regions-displayed-on-messages) explains why some incoming messages have no label.
|
||||
|
||||
### Message Types in Chat
|
||||
|
||||
@@ -110,6 +112,12 @@ Messages also show a region label when known, independently of message tracing.
|
||||
- **All platforms**: Long-press (or right-click on desktop) a message bubble → "Path"
|
||||
- Opens the Channel Message Path Screen (see [Additional Features](additional-features.md))
|
||||
|
||||
### Channel Auto-Resend
|
||||
|
||||
With **Resend channel messages until they travel far enough** on (App Settings → Messaging), the app waits after each channel send and checks how far the message was heard repeated. If no repeat reached the required hop count, it sends the message again, up to the configured number of times.
|
||||
|
||||
Where your radio only hears nearby repeaters, turn on **Also count different nearby repeaters**: the message then also counts as sent once the required number of *different* first-hop repeaters have repeated it, across all attempts. Your own radio's echo and zero-hop echoes don't count.
|
||||
|
||||
### Context Actions (Long-Press / Right-Click)
|
||||
|
||||
| Action | Availability | Description |
|
||||
|
||||
@@ -28,13 +28,16 @@ From the Contacts screen, tap any Chat-type contact to open the ChatScreen.
|
||||
- **Incoming messages**: Left-aligned, grey background with a colored avatar (initial letter or first emoji of sender name; color is deterministic from a hash of the sender name)
|
||||
- Bubble width capped at 72% of screen width
|
||||
- Hyperlinks rendered as tappable green underlined text
|
||||
- Message text follows the system font size (Android/iOS accessibility text size); pinch-to-zoom scales on top of it
|
||||
- **Pinch-to-zoom**: Two-finger zoom (0.8x–1.8x) and double-tap to reset
|
||||
- **Jump to bottom**: Floating button appears when scrolled away from the bottom
|
||||
- **Lazy loading**: Scrolling to top loads older messages from storage
|
||||
- **Lazy loading**: Scrolling to top loads older messages from storage. The newest 200 messages are kept in memory; up to 1000 per conversation are kept in storage
|
||||
- **Arrival order**: Messages are ordered by when they arrived on this device, not by the sender's clock. If a message's time is more than 5 minutes in the future, a small clock-warning icon appears next to its time (the sender's clock is probably wrong); tap it for an explanation
|
||||
|
||||
### Input Bar
|
||||
|
||||
- **GIF button** (left): Opens GIF picker bottom sheet
|
||||
- **Send action button** (left, ⊕ icon): Opens a menu with **Send GIF** (GIF picker bottom sheet) and **Share my location**
|
||||
- **Share my location**: Sends your radio's current position (from the radio, not the phone's GPS) as a location pin. You're asked for a label (default: your node name) before sending; the keyboard's Send key confirms. If the radio reports no usable position (none set, or 0,0), the item is hidden and a snackbar says "Your radio has no location set". Location shares follow the same send cooldown as typed messages and are never sent as a reply. In channel chat the menu also holds **Send low-res image over radio** when image messages are set up
|
||||
- **Translation button** (optional, between GIF and text field): Shown only when translation is enabled in App Settings. Tap to configure outgoing-message translation language and on/off toggle.
|
||||
- **Text field** (center): Auto-capitalization, enforces UTF-8 byte limit in real-time
|
||||
- **Send button** (right): Submits the message
|
||||
@@ -85,7 +88,7 @@ Only one message per contact can be in-flight at a time (to avoid overflowing th
|
||||
When a direct message is sent:
|
||||
|
||||
1. The app computes an expected ACK hash: `SHA256([timestamp][attempt][text][selfPubKey])[0:4]` — matching the firmware's hash calculation. If SMAZ compression is enabled, the compressed text (not the original) is hashed
|
||||
2. On device acknowledgment (`RESP_CODE_SENT`), the message transitions to "sent" and a timeout timer starts
|
||||
2. On device acknowledgment (`RESP_CODE_SENT`), the message transitions to "sent" and a timeout timer starts. If that acknowledgment never arrives (for example a dropped BLE notification), a backup timer (the delivery timeout plus 5 seconds) runs the normal retry path instead of leaving the message pending; a late ACK still marks it delivered
|
||||
3. **Timeout duration**: Preferably from the ML timeout prediction service; otherwise from the device's own `est_timeout` in `RESP_CODE_SENT` (clamped to the physics range); otherwise calculated from LoRa airtime physics: `500 + (airtime × 6 + 250) × (pathLength + 1)` ms for direct paths, `500 + 16 × airtime` ms for flood (airtime is estimated from the radio's current spreading factor, bandwidth, and coding rate). The result is capped at 45 seconds.
|
||||
4. On timeout, the message is retried with **exponential backoff**: `1000 × 2^retryCount` ms (1s, 2s, 4s, 8s, 16s...)
|
||||
5. **Max retries**: Configurable (default 5, range 2–10)
|
||||
|
||||
@@ -107,7 +107,24 @@ When the radio hears an advertisement, the contact appears automatically if auto
|
||||
Overflow menu (or the FAB shortcut) → "Add Contact from Clipboard". Reads a `meshcore://<hex>` URI from clipboard and imports it to the device.
|
||||
|
||||
### Import from Discovered Contacts
|
||||
Overflow menu → "Discovered Contacts". Shows nodes heard passively that haven't been added yet. Tap to immediately import (no confirmation dialog), or long-press for more options (Copy URI, Delete). The Discovery screen has its own search bar, type filters (Users, Repeaters, Rooms), and sort options (Last Seen, A-Z). An overflow "Delete All" option clears all discovered contacts.
|
||||
Overflow menu → "Discovered Contacts". Shows nodes heard passively that haven't been added yet. Tap to immediately import (no confirmation dialog), or long-press for more options (Copy URI, Delete). The Discovery screen has its own search bar, type filters (Users, Repeaters, Rooms), and sort options (Last Seen, A-Z). Its overflow menu has **Export discovered contacts**, **Import discovered contacts**, and "Delete All".
|
||||
|
||||
### Scan for Nearby Nodes
|
||||
|
||||
On the Discovered Contacts screen, tap the radar icon (**Scan for nearby nodes**) to ask nodes within direct radio range to identify themselves, instead of waiting for their next advert. The button appears only while connected to firmware with version code 8 or newer.
|
||||
|
||||
- Repeaters and sensors answer. Room servers and companions usually don't.
|
||||
- Results appear live for about 12 seconds, sorted by signal. Each shows the node type, signal strength, how well the node heard you ("they heard us at … dB"), and either **Already in contacts** or an add button.
|
||||
- A node you haven't heard an advert from yet is added with a placeholder name; its real name appears after its next advert.
|
||||
- Repeaters limit how often they reply. If nothing answers, wait a minute and tap **Scan again**.
|
||||
|
||||
### Export and Import Discovered Contacts
|
||||
|
||||
Use the Discovered Contacts overflow menu to move the list of heard-but-not-added nodes between devices or radios.
|
||||
|
||||
- **Export discovered contacts** writes `meshcore_discovered_contacts.json`. On desktop a save dialog opens; on mobile the OS share sheet opens. The file holds each node's public key, name, type, flags, GPS position, timestamps, and its last advert packet. It contains no private keys and no routing paths (a path is only valid from the radio that learned it). On web the file is shared or downloaded through the browser.
|
||||
- **Import discovered contacts** opens a file picker for a `.json` export (up to 2 MB) and requires a connected radio; imports go to that radio's discovered list. Nodes already in your contact list or discovered list, duplicates within the file, and your own node are skipped. Entries that can't be read (for example a public key that isn't 32 bytes) are skipped individually instead of failing the whole file. Imported nodes get no routing path, and future timestamps are clamped to now. When discovered-contact eviction is on, the list is trimmed back to its limit afterwards. A snackbar reports how many were imported, skipped, and unreadable, or that the file isn't a discovered-contacts export.
|
||||
- Imported nodes go into the discovered list of the radio you're connected to. When eviction of discovered contacts is on, the list is trimmed back to the 500 most recently seen nodes the next time it loads.
|
||||
|
||||
### Import from a QR Code
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ Chunks are reassembled into an image entry in channel chat. A partially received
|
||||
|
||||
With Process images automatically enabled, complete images are queued for local reconstruction. Automatic decoding runs only while the app is in the foreground, one image at a time, with at most 3 images queued; when more arrive, the newest 3 are kept and the rest wait for a tap. Otherwise, tap an image entry to process it. Download/enable the model if prompted. A failed reconstruction can be retried; missing chunks and inference errors are different failures.
|
||||
|
||||
Tap a reconstructed image to inspect it. Long-press or right-click its chat bubble for Packet info, Delete, and Save (available once decoded). Deletion is local. Encoded streams and reconstructed images are persisted in application storage, capped at 200 images, 64 MB, and 30 days. When the cap is reached, the oldest reconstructed images are evicted first and show "Image no longer stored"; they can be decoded again while their small encoded stream remains. Past 30 days the stream is removed too.
|
||||
Tap a reconstructed image to inspect it. Long-press or right-click its chat bubble for Packet info, Delete, and Save (available once decoded). Deletion is local. Encoded streams and reconstructed images are persisted in application storage, capped at 200 images, 64 MB, and 30 days, plus a limit of 400 image entries (including ones waiting to be decoded and your own sent images once their data has expired). When the cap is reached, the oldest reconstructed images are evicted first and show "Image no longer stored"; they can be decoded again while their small encoded stream remains. Past 30 days the stream is removed too.
|
||||
|
||||
## Other image features
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ Location pins shared in chat messages are displayed as flags:
|
||||
|
||||
Tap a pin to see its info. Options to "Hide" (session only) or "Remove" (persistent).
|
||||
|
||||
Pins from the same sender in the same chat or channel with the same label (case-insensitive) are treated as one marker: a newer message moves it and keeps the earlier positions as its track. To update a pin you shared before, share again with the same label.
|
||||
|
||||
### Predicted / Guessed Locations
|
||||
|
||||
Many contacts on the mesh don't have GPS hardware, so the map has no explicit coordinates for them. Instead of leaving these contacts invisible, the app **infers an approximate position** by analyzing the repeater path the contact's messages travel through. These inferred positions are displayed as markers with a `not_listed_location` icon and a muted grey or colored border, visually distinct from confirmed-location markers.
|
||||
@@ -84,7 +86,7 @@ Opens a dialog showing: type, path (hop chain), coordinates, last-seen time, and
|
||||
|
||||
### Long-Press on Empty Map Area
|
||||
Shows a bottom sheet with:
|
||||
- **Share marker here**: Prompts for a label, then pick a DM contact or channel to send the location to. Wire format: `m:<lat>,<lon>|<label>|poi`
|
||||
- **Share marker here**: Prompts for a label (default: "Point of interest"), then pick a DM contact or channel to send the location to. Wire format: `m:<lat>,<lon>|<label>|poi`; a `|` in the label is replaced with `/` and line breaks with spaces. The label field shows a live byte counter so the whole pin fits in one message, and a hint that reusing a previous label updates that marker for MeshCore Open recipients. To share your radio's own position, use **Share my location** from the ⊕ menu in chat (see [Chat & Messaging](chat-and-messaging.md#input-bar))
|
||||
- **Set as my location**: Updates your device's advertised location
|
||||
|
||||
### Filter Dialog (FAB)
|
||||
|
||||
@@ -77,6 +77,10 @@ Red numeric badges appear throughout the UI:
|
||||
- **Chat screen subtitle**: Shows unread count inline
|
||||
- Badges cap at "9999+" for display
|
||||
|
||||
### App Icon Badge (iOS and macOS)
|
||||
|
||||
The app icon (iOS) or dock icon (macOS) badge shows the total unread count. It is set directly by the app, so it clears when you read your messages, and it is re-synced to the real unread total whenever the app returns to the foreground. On Android the launcher badge comes from the active notifications instead.
|
||||
|
||||
### How Unread Counts Work
|
||||
|
||||
- Stored per contact (by public key) and per channel, **scoped to the connected device's identity** (first 10 hex characters of its public key). Switching between different radios gives each its own independent unread state
|
||||
@@ -128,6 +132,6 @@ Automatic incoming translation can also translate notification text when enabled
|
||||
|---|---|---|---|---|---|
|
||||
| Android | Yes | Yes (incl. watches) | Yes | Via notification number | Yes (foreground service) |
|
||||
| iOS | Yes | No | — | Yes (app badge) | No |
|
||||
| macOS | Yes | No | — | Yes | No |
|
||||
| macOS | Yes | No | — | Yes (dock badge) | No |
|
||||
| Windows | Yes | No | — | No | No |
|
||||
| Linux | Yes (if D-Bus available) | No | — | No | No |
|
||||
@@ -14,10 +14,11 @@ From the Contacts screen:
|
||||
|
||||
### Login Dialog
|
||||
|
||||
- Password field with show/hide toggle
|
||||
- Password field with show/hide toggle. It accepts up to 20 characters so longer passwords from a password manager can be pasted, but MeshCore firmware only uses the first 15 characters of a login password (and stores only 15 when a password is set), so the first 15 must match
|
||||
- "Save password" checkbox (persists for future logins). If a saved password exists, it is pre-filled and the checkbox is pre-checked, making login one-tap
|
||||
- Routing mode selector and "Manage Paths" link are available directly in the dialog (configure routing before login)
|
||||
- Auto-retries up to 5 times on timeout, showing progress ("Attempt 2 of 5"). A wrong password (explicit failure response) stops immediately — only timeouts trigger retries
|
||||
- CLI commands to a repeater are matched to their reply by a short prefix. A reply that arrives late for an earlier attempt still completes the command, and no further attempts are sent
|
||||
- If auto-clock-sync is enabled for this repeater (configured in Repeater Settings), a `clock sync` command is sent automatically on successful login
|
||||
|
||||
---
|
||||
|
||||
@@ -124,3 +124,10 @@ From the Scanner screen, tap the **TCP/IP** icon button in the app bar.
|
||||
- On success, navigates to Channels screen and saves the host/port to settings
|
||||
- On connection, the status bar shows the active TCP endpoint (e.g., "Connected to 192.168.1.1:5000")
|
||||
- Error messages for timeout, unsupported platform, and connection failures
|
||||
|
||||
### Automatic Reconnect
|
||||
|
||||
- If an established TCP link drops without you disconnecting (for example Wi-Fi power saving while the app is in the background), the app reconnects to the same host and port automatically, using the same exponential backoff as BLE. The background service keeps running while it retries.
|
||||
- Only a link that completed its handshake is reconnected; a first connection to a wrong address is not retried. A manual disconnect, or connecting over BLE or USB, cancels it.
|
||||
- The socket uses TCP keepalive (probes after 30 seconds of silence, every 10 seconds, 3 tries), so a dead link is noticed in about a minute instead of the system default of hours.
|
||||
- USB is not reconnected automatically: losing a USB link usually means the cable was unplugged.
|
||||
@@ -125,6 +125,11 @@ Individual channels can be muted from the channel chat bell icon, the channel li
|
||||
- Failure Decrement (0.1–2.0, default 0.2, 0.1 steps)
|
||||
- Max Message Retries (2–10, default 5)
|
||||
- **Enable Message Tracing**: Shows path trace overlays and extra metadata on messages
|
||||
- **Region next to hop count** (default off): Shows a channel message's region chip on the same line as its hop count instead of below it
|
||||
- **Resend channel messages until they travel far enough** (default off): If your channel message isn't heard coming back through enough repeaters, it's sent again. Uses more airtime. When on, it shows:
|
||||
- Required hops (1–8, default 2)
|
||||
- Resend up to (1–5 times, default 1)
|
||||
- **Also count different nearby repeaters** (default off): Treats the message as sent once that many *different* first-hop repeaters have repeated it, even if you can't hear it travel further. Useful where only nearby repeaters are audible. See [Channels](channels.md#channel-auto-resend)
|
||||
|
||||
### Battery
|
||||
- **Battery Chemistry**: NMC / LiFePO4 / LiPo (per device, used to calibrate percentage from voltage)
|
||||
|
||||
@@ -16,7 +16,7 @@ Use Chrome (or a Chromium browser that identifies as Chrome) and HTTPS (or an ap
|
||||
|
||||
## Unexpected disconnect
|
||||
|
||||
BLE can retry an unexpected disconnect with exponential backoff; manual disconnects do not trigger reconnect. USB and TCP require reconnection through their connection screens. Navigation returns to the scanner when a connection is lost. If reconnect continues to fail, check power, firmware, adapter state, and competing clients.
|
||||
BLE and TCP retry an unexpected disconnect with exponential backoff; manual disconnects do not trigger reconnect. USB requires reconnection through its connection screen. If a TCP companion still drops in the background on Android, allow background activity (App Settings → Notifications → **Background Activity**) and check the phone's Wi-Fi power-saving settings. Navigation returns to the scanner when a connection is lost. If reconnect continues to fail, check power, firmware, adapter state, and competing clients.
|
||||
|
||||
## Feature unavailable or no data
|
||||
|
||||
|
||||
@@ -556,6 +556,34 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
return List.unmodifiable(_discoveredContacts);
|
||||
}
|
||||
|
||||
String exportDiscoveredContactsJson() {
|
||||
return _discoveryContactStore.exportContactsJson(_discoveredContacts);
|
||||
}
|
||||
|
||||
/// Imports an export file into this radio's discovered contacts. Throws
|
||||
/// [FormatException] when the file is not a contacts list.
|
||||
Future<DiscoveredContactsImportResult> importDiscoveredContactsJson(
|
||||
String json,
|
||||
) async {
|
||||
// The store is scoped to the connected radio; importing while
|
||||
// disconnected would overwrite its saved list with only the import.
|
||||
if (!isConnected) return DiscoveredContactsImportResult.empty;
|
||||
final result = _discoveryContactStore.importContactsJson(
|
||||
json: json,
|
||||
existingContacts: _discoveredContacts,
|
||||
knownContactKeys: _knownContactKeys,
|
||||
selfPublicKeyHex: selfPublicKeyHex,
|
||||
);
|
||||
if (result.imported == 0) return result;
|
||||
|
||||
if (_evictDiscoveredContactsEnabled) {
|
||||
_trimDiscoveredContactsToLimit(_discoveredContacts);
|
||||
}
|
||||
await _persistDiscoveredContacts();
|
||||
notifyListeners();
|
||||
return result;
|
||||
}
|
||||
|
||||
List<Channel> get channels => List.unmodifiable(_channels);
|
||||
bool get isConnected => _state == MeshCoreConnectionState.connected;
|
||||
bool get isLoadingContacts => _isLoadingContacts;
|
||||
|
||||
@@ -454,6 +454,8 @@
|
||||
}
|
||||
},
|
||||
"chat_location": "Местоположение",
|
||||
"chat_noRadioLocation": "Радиото ви няма зададено местоположение",
|
||||
"chat_shareMyLocation": "Споделяне на моето местоположение",
|
||||
"chat_sendMessageTo": "Изпрати съобщение на {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
"placeholders": {
|
||||
@@ -689,6 +691,7 @@
|
||||
"map_shareMarkerHere": "Споделете маркер тук",
|
||||
"map_pinLabel": "Етикет на пина",
|
||||
"map_label": "Етикет",
|
||||
"map_labelUpdateHint": "Ако използвате същия етикет като преди, маркерът ще се обнови за получателите с MeshCore Open.",
|
||||
"map_pointOfInterest": "Точка на интерес",
|
||||
"map_sendToContact": "Изпрати на контакт",
|
||||
"map_sendToChannel": "Изпрати в канала",
|
||||
@@ -2017,6 +2020,44 @@
|
||||
"discoveredContacts_copyContact": "Копирай контакт в клипборда",
|
||||
"discoveredContacts_deleteContact": "Изтрий контакт",
|
||||
"discoveredContacts_addContact": "Добави контакт",
|
||||
"discoveredContacts_export": "Експортирай откритите контакти",
|
||||
"discoveredContacts_import": "Импортирай откритите контакти",
|
||||
"discoveredContacts_exported": "Откритите контакти са експортирани в {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Неуспешно експортиране на откритите контакти: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Импортирани са {count} открити контакта.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Във файла за импортиране не са намерени контакти.",
|
||||
"discoveredContacts_importFailed": "Неуспешно импортиране на откритите контакти: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "Файлът не е експорт на открити контакти.",
|
||||
"discoveredContacts_importSummary": "Импортирани: {imported}, пропуснати вече известни: {skipped}, нечетими записи: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Файлът за импортиране е твърде голям (максимум {maxMb} MB).",
|
||||
"contactsSettings_overwriteOldestSubtitle": "Когато списъкът с контакти е пълен, най-старият неключов контакт ще бъде заменен.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Премахване на открити контакти",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Когато е включено, приложението премахва най-старите открити контакти, щом списъкът с открити контакти достигне лимита си от {limit} записа.",
|
||||
|
||||
@@ -475,6 +475,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_noRadioLocation": "Ihr Funkgerät hat keinen Standort festgelegt",
|
||||
"chat_shareMyLocation": "Meinen Standort teilen",
|
||||
"chat_location": "Ort",
|
||||
"chat_sendMessageTo": "Nachricht an {contactName} senden",
|
||||
"@chat_sendMessageTo": {
|
||||
@@ -711,6 +713,7 @@
|
||||
"map_shareMarkerHere": "Marker hier teilen",
|
||||
"map_pinLabel": "Pin-Beschriftung",
|
||||
"map_label": "Beschriftung",
|
||||
"map_labelUpdateHint": "Wenn Sie denselben Namen verwenden wie zuvor, wird die Markierung bei MeshCore Open-Empfängern aktualisiert.",
|
||||
"map_pointOfInterest": "Punkt von Interesse",
|
||||
"map_sendToContact": "An Kontakt senden",
|
||||
"map_sendToChannel": "An Kanal senden",
|
||||
@@ -2157,6 +2160,44 @@
|
||||
"common_deleteAll": "Alles löschen",
|
||||
"discoveredContacts_deleteContactAllContent": "Sind Sie sicher, dass Sie alle gefundenen Kontakte löschen möchten?",
|
||||
"discoveredContacts_deleteContactAll": "Alle entdeckten Kontakte löschen",
|
||||
"discoveredContacts_export": "Entdeckte Kontakte exportieren",
|
||||
"discoveredContacts_import": "Entdeckte Kontakte importieren",
|
||||
"discoveredContacts_exported": "Entdeckte Kontakte exportiert nach {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Export von entdeckten Kontakten fehlgeschlagen: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} entdeckte Kontakte importiert.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Keine Kontakte in Importdatei gefunden.",
|
||||
"discoveredContacts_importInvalidFile": "Die Datei ist kein Export entdeckter Kontakte.",
|
||||
"discoveredContacts_importSummary": "{imported} entdeckte Kontakte importiert. {skipped} bereits bekannte und {invalid} unlesbare Einträge übersprungen.",
|
||||
"discoveredContacts_importTooLarge": "Die Importdatei ist zu groß (maximal {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Import von entdeckten Kontakten fehlgeschlagen: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"map_showGuessedLocations": "Vermutete Knotenstandorte anzeigen",
|
||||
"map_guessedLocation": "Vermuteter Standort",
|
||||
"usbScreenSubtitle": "Wählen Sie ein erkanntes serielles Gerät aus und verbinden Sie es direkt mit Ihrem MeshCore-Knoten.",
|
||||
|
||||
@@ -899,6 +899,14 @@
|
||||
},
|
||||
"chat_selectSendAction": "Select send action",
|
||||
"chat_sendGif": "Send GIF",
|
||||
"chat_shareMyLocation": "Share my location",
|
||||
"@chat_shareMyLocation": {
|
||||
"description": "Chat input menu action that shares the radio's own position as a map marker"
|
||||
},
|
||||
"chat_noRadioLocation": "Your radio has no location set",
|
||||
"@chat_noRadioLocation": {
|
||||
"description": "Shown when sharing a location but the radio reports no usable position"
|
||||
},
|
||||
"chat_removeGif": "Remove GIF",
|
||||
"chat_cancelReply": "Cancel reply",
|
||||
"chat_sendImageLora": "Send low-res image over radio",
|
||||
@@ -1179,6 +1187,7 @@
|
||||
"map_setAsMyLocation": "Set as my location",
|
||||
"map_pinLabel": "Pin label",
|
||||
"map_label": "Label",
|
||||
"map_labelUpdateHint": "Using the same label as before will update the marker for MeshCore Open recipients.",
|
||||
"map_pointOfInterest": "Point of interest",
|
||||
"map_sendToContact": "Send to contact",
|
||||
"map_sendToChannel": "Send to channel",
|
||||
@@ -2591,6 +2600,64 @@
|
||||
"contacts_invalidAdvertFormat": "Invalid contact data",
|
||||
"contacts_contactImported": "Contact has been imported.",
|
||||
"contacts_contactImportFailed": "Failed to import contact.",
|
||||
"discoveredContacts_export": "Export discovered contacts",
|
||||
"discoveredContacts_import": "Import discovered contacts",
|
||||
"discoveredContacts_exported": "Exported discovered contacts to {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Failed to export discovered contacts: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Imported {count} discovered contacts.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "No contacts found in import file.",
|
||||
"discoveredContacts_importSummary": "Imported {imported} discovered contacts. Skipped {skipped} already known and {invalid} unreadable entries.",
|
||||
"@discoveredContacts_importSummary": {
|
||||
"placeholders": {
|
||||
"imported": {
|
||||
"type": "int"
|
||||
},
|
||||
"skipped": {
|
||||
"type": "int"
|
||||
},
|
||||
"invalid": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "The file is not a discovered contacts export.",
|
||||
"discoveredContacts_importTooLarge": "The import file is too large (maximum {maxMb} MB).",
|
||||
"@discoveredContacts_importTooLarge": {
|
||||
"placeholders": {
|
||||
"maxMb": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importFailed": "Failed to import discovered contacts: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contacts_zeroHopAdvert": "Zero Hop Advert",
|
||||
"contacts_floodAdvert": "Flood Advert",
|
||||
"contacts_copyAdvertToClipboard": "Copy Advert to Clipboard",
|
||||
|
||||
@@ -475,6 +475,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_noRadioLocation": "Tu radio no tiene una ubicación definida",
|
||||
"chat_shareMyLocation": "Compartir mi ubicación",
|
||||
"chat_location": "Ubicación",
|
||||
"chat_sendMessageTo": "Enviar un mensaje a {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
@@ -711,6 +713,7 @@
|
||||
"map_shareMarkerHere": "Compartir marcador aquí",
|
||||
"map_pinLabel": "Etiqueta del pin",
|
||||
"map_label": "Etiqueta",
|
||||
"map_labelUpdateHint": "Si usas la misma etiqueta que antes, el marcador se actualizará para los destinatarios de MeshCore Open.",
|
||||
"map_pointOfInterest": "Punto de interés",
|
||||
"map_sendToContact": "Enviar a contacto",
|
||||
"map_sendToChannel": "Enviar a canal",
|
||||
@@ -2157,6 +2160,44 @@
|
||||
"common_deleteAll": "Eliminar todo",
|
||||
"discoveredContacts_deleteContactAll": "Eliminar Todos los Contactos Descubiertos",
|
||||
"discoveredContacts_deleteContactAllContent": "¿Está seguro de que desea eliminar todos los contactos descubiertos!",
|
||||
"discoveredContacts_export": "Exportar contactos descubiertos",
|
||||
"discoveredContacts_import": "Importar contactos descubiertos",
|
||||
"discoveredContacts_exported": "Contactos descubiertos exportados a {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Error al exportar contactos descubiertos: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} contactos descubiertos importados.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "No se encontraron contactos en el archivo de importación.",
|
||||
"discoveredContacts_importInvalidFile": "El archivo no es una exportación de contactos descubiertos.",
|
||||
"discoveredContacts_importSummary": "Se importaron {imported} contactos descubiertos. Se omitieron {skipped} ya conocidos y {invalid} entradas ilegibles.",
|
||||
"discoveredContacts_importTooLarge": "El archivo de importación es demasiado grande (máximo {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Error al importar contactos descubiertos: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"map_guessedLocation": "Ubicación estimada",
|
||||
"map_showGuessedLocations": "Mostrar las ubicaciones estimadas de los nodos.",
|
||||
"usbScreenTitle": "Conecte mediante USB",
|
||||
|
||||
@@ -475,6 +475,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_noRadioLocation": "Votre radio n'a pas de position définie",
|
||||
"chat_shareMyLocation": "Partager ma position",
|
||||
"chat_location": "Emplacement",
|
||||
"chat_sendMessageTo": "Envoyer un message à {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
@@ -711,6 +713,7 @@
|
||||
"map_shareMarkerHere": "Partager le marqueur ici",
|
||||
"map_pinLabel": "Libellé de l'épingle",
|
||||
"map_label": "Étiquette",
|
||||
"map_labelUpdateHint": "Utiliser la même étiquette qu’avant mettra à jour le marqueur pour les destinataires utilisant MeshCore Open.",
|
||||
"map_pointOfInterest": "Point d'intérêt",
|
||||
"map_sendToContact": "Envoyer au contact",
|
||||
"map_sendToChannel": "Envoyer sur le canal",
|
||||
@@ -2150,6 +2153,44 @@
|
||||
"common_deleteAll": "Tout supprimer",
|
||||
"discoveredContacts_deleteContactAll": "Supprimer tous les contacts découverts",
|
||||
"discoveredContacts_deleteContactAllContent": "Êtes-vous sûr de vouloir supprimer tous les contacts découverts ?",
|
||||
"discoveredContacts_export": "Exporter les contacts découverts",
|
||||
"discoveredContacts_import": "Importer les contacts découverts",
|
||||
"discoveredContacts_exported": "Contacts découverts exportés vers {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Impossible d'exporter les contacts découverts: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} contacts découverts importés.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Aucun contact trouvé dans le fichier d'importation.",
|
||||
"discoveredContacts_importInvalidFile": "Le fichier n'est pas un export de contacts découverts.",
|
||||
"discoveredContacts_importSummary": "{imported} contacts découverts importés. {skipped} déjà connus et {invalid} entrées illisibles ignorés.",
|
||||
"discoveredContacts_importTooLarge": "Le fichier d'importation est trop volumineux (maximum {maxMb} Mo).",
|
||||
"discoveredContacts_importFailed": "Impossible d'importer les contacts découverts: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"map_showGuessedLocations": "Afficher les emplacements estimés des nœuds",
|
||||
"map_guessedLocation": "Localisation estimée",
|
||||
"connectionChoiceUsbLabel": "USB",
|
||||
|
||||
@@ -626,6 +626,8 @@
|
||||
}
|
||||
},
|
||||
"chat_location": "hely",
|
||||
"chat_noRadioLocation": "A rádiónak nincs beállított helye",
|
||||
"chat_shareMyLocation": "Saját helyem megosztása",
|
||||
"chat_sendMessageTo": "Üzenet küldése a következő címre: {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
"placeholders": {
|
||||
@@ -865,6 +867,7 @@
|
||||
"map_setAsMyLocation": "Beállítás helyemként",
|
||||
"map_pinLabel": "Kitűzött címke",
|
||||
"map_label": "Címke",
|
||||
"map_labelUpdateHint": "Ha ugyanazt a címkét használja, mint korábban, a jelölő frissül a MeshCore Open-t használó címzetteknél.",
|
||||
"map_pointOfInterest": "Érdekes pont",
|
||||
"map_sendToContact": "Elküldés a kapcsolattartónak",
|
||||
"map_sendToChannel": "Küldés a csatornára",
|
||||
@@ -2151,6 +2154,44 @@
|
||||
"discoveredContacts_deleteContact": "A felfedezett névjegy törlése",
|
||||
"discoveredContacts_deleteContactAll": "Törölje az összes felfedezett névjegyet",
|
||||
"discoveredContacts_deleteContactAllContent": "Biztosan törli az összes felfedezett névjegyet?",
|
||||
"discoveredContacts_export": "Felfedezett kapcsolatok exportálása",
|
||||
"discoveredContacts_import": "Felfedezett kapcsolatok importálása",
|
||||
"discoveredContacts_exported": "A felfedezett kapcsolatok exportálva ide: {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "A felfedezett kapcsolatok exportálása nem sikerült: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} felfedezett kapcsolat importálva.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Az importfájlban nem találhatók kapcsolatok.",
|
||||
"discoveredContacts_importFailed": "A felfedezett kapcsolatok importálása nem sikerült: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "A fájl nem felfedezett kapcsolatok exportja.",
|
||||
"discoveredContacts_importSummary": "Importálva: {imported}, kihagyva már ismert: {skipped}, olvashatatlan bejegyzés: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Az importfájl túl nagy (legfeljebb {maxMb} MB).",
|
||||
"chat_sendCooldown": "Kérjük, várjon egy pillanatot, mielőtt újra elküldi.",
|
||||
"appSettings_jumpToOldestUnread": "Ugrás a legrégebbi olvasatlanra",
|
||||
"appSettings_jumpToOldestUnreadSubtitle": "Ha olvasatlan üzeneteket tartalmazó csevegést nyit meg, görgessen az első olvasatlanra a legutóbbi helyett.",
|
||||
|
||||
@@ -520,6 +520,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_noRadioLocation": "La tua radio non ha una posizione impostata",
|
||||
"chat_shareMyLocation": "Condividi la mia posizione",
|
||||
"chat_location": "Posizione",
|
||||
"chat_sendMessageTo": "Invia un messaggio a {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
@@ -756,6 +758,7 @@
|
||||
"map_shareMarkerHere": "Condividi segnaposto qui",
|
||||
"map_pinLabel": "Etichetta pin",
|
||||
"map_label": "Etichetta",
|
||||
"map_labelUpdateHint": "Usando la stessa etichetta di prima, il segnaposto verrà aggiornato per i destinatari che usano MeshCore Open.",
|
||||
"map_pointOfInterest": "Punto di interesse",
|
||||
"map_sendToContact": "Invia a contatto",
|
||||
"map_sendToChannel": "Invia al canale",
|
||||
@@ -2148,6 +2151,44 @@
|
||||
"discoveredContacts_contactAdded": "Contatto aggiunto",
|
||||
"discoveredContacts_deleteContact": "Elimina Contatto",
|
||||
"discoveredContacts_copyContact": "Copia contatto negli appunti",
|
||||
"discoveredContacts_export": "Esporta contatti scoperti",
|
||||
"discoveredContacts_import": "Importa contatti scoperti",
|
||||
"discoveredContacts_exported": "Contatti scoperti esportati in {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Esportazione dei contatti scoperti non riuscita: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Importati {count} contatti scoperti.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Nessun contatto trovato nel file di importazione.",
|
||||
"discoveredContacts_importInvalidFile": "Il file non è un'esportazione di contatti scoperti.",
|
||||
"discoveredContacts_importSummary": "Importati {imported} contatti scoperti. Saltati {skipped} già noti e {invalid} voci illeggibili.",
|
||||
"discoveredContacts_importTooLarge": "Il file di importazione è troppo grande (massimo {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Importazione dei contatti scoperti non riuscita: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactsSettings_overwriteOldestSubtitle": "Quando l'elenco dei contatti è pieno, il contatto più vecchio non tra i preferiti verrà sostituito.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Rimuovi i contatti scoperti",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Se abilitato, l'app rimuove i contatti scoperti più vecchi quando l'elenco dei contatti scoperti raggiunge il limite di {limit} voci.",
|
||||
|
||||
@@ -624,6 +624,8 @@
|
||||
"channels_scanQrCodeComingSoon": "近日公開",
|
||||
"channels_enterHashtag": "ハッシュタグを入力してください",
|
||||
"channels_hashtagHint": "例:#チーム",
|
||||
"chat_noRadioLocation": "無線機に位置情報が設定されていません",
|
||||
"chat_shareMyLocation": "自分の位置情報を共有",
|
||||
"chat_noMessages": "まだメッセージは届いていません",
|
||||
"chat_sendMessageToStart": "開始するためにメッセージを送信してください",
|
||||
"chat_originalMessageNotFound": "元のメッセージが見つかりませんでした",
|
||||
@@ -883,6 +885,7 @@
|
||||
"map_setAsMyLocation": "現在地として設定",
|
||||
"map_pinLabel": "ピンラベル",
|
||||
"map_label": "ラベル",
|
||||
"map_labelUpdateHint": "以前と同じラベルを使うと、MeshCore Open の受信者側でマーカーが更新されます。",
|
||||
"map_pointOfInterest": "興味地点",
|
||||
"map_sendToContact": "連絡先へ送信",
|
||||
"map_sendToChannel": "チャンネルへ送信",
|
||||
@@ -2246,6 +2249,44 @@
|
||||
"discoveredContacts_deleteContact": "発見された連絡先を削除",
|
||||
"discoveredContacts_deleteContactAll": "発見されたすべての連絡先を削除",
|
||||
"discoveredContacts_deleteContactAllContent": "本当に、見つけたすべての連絡先を削除してもよろしいですか?",
|
||||
"discoveredContacts_export": "発見済みの連絡先をエクスポート",
|
||||
"discoveredContacts_import": "発見済みの連絡先をインポート",
|
||||
"discoveredContacts_exported": "発見済みの連絡先を {path} にエクスポートしました。",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "発見済みの連絡先のエクスポートに失敗しました: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} 件の発見済み連絡先をインポートしました。",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "インポートファイルに連絡先が見つかりませんでした。",
|
||||
"discoveredContacts_importInvalidFile": "このファイルは発見済み連絡先のエクスポートではありません。",
|
||||
"discoveredContacts_importSummary": "インポート: {imported} 件、スキップ(既知): {skipped} 件、読み取れないエントリ: {invalid} 件。",
|
||||
"discoveredContacts_importTooLarge": "インポートファイルが大きすぎます(最大 {maxMb} MB)。",
|
||||
"discoveredContacts_importFailed": "発見済みの連絡先のインポートに失敗しました: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_sendCooldown": "再度送信する前に、しばらくお待ちください。",
|
||||
"appSettings_jumpToOldestUnread": "最も古い未読のメッセージへ移動",
|
||||
"appSettings_jumpToOldestUnreadSubtitle": "未読メッセージがあるチャットを開く際、「最新のメッセージ」ではなく、最初に未読のメッセージまでスクロールしてください。",
|
||||
|
||||
@@ -606,6 +606,8 @@
|
||||
"channels_scanQrCodeComingSoon": "곧 출시",
|
||||
"channels_enterHashtag": "해시태그 입력",
|
||||
"channels_hashtagHint": "예: #팀",
|
||||
"chat_noRadioLocation": "무전기에 위치가 설정되어 있지 않습니다",
|
||||
"chat_shareMyLocation": "내 위치 공유",
|
||||
"chat_noMessages": "아직 메시지가 없습니다.",
|
||||
"chat_sendMessageToStart": "시작하려면 메시지를 보내세요.",
|
||||
"chat_originalMessageNotFound": "원래 메시지를 찾을 수 없음",
|
||||
@@ -865,6 +867,7 @@
|
||||
"map_setAsMyLocation": "내 위치로 설정",
|
||||
"map_pinLabel": "핀 라벨",
|
||||
"map_label": "레이블",
|
||||
"map_labelUpdateHint": "이전과 같은 레이블을 사용하면 MeshCore Open 수신자에게 표시된 마커가 업데이트됩니다.",
|
||||
"map_pointOfInterest": "관심 지점",
|
||||
"map_sendToContact": "연락처로 보내기",
|
||||
"map_sendToChannel": "채널로 전송",
|
||||
@@ -2151,6 +2154,44 @@
|
||||
"discoveredContacts_deleteContact": "발견된 연락처 삭제",
|
||||
"discoveredContacts_deleteContactAll": "발견된 모든 연락처 삭제",
|
||||
"discoveredContacts_deleteContactAllContent": "정말로 모든 검색된 연락처를 삭제하시겠습니까?",
|
||||
"discoveredContacts_export": "발견된 연락처 내보내기",
|
||||
"discoveredContacts_import": "발견된 연락처 가져오기",
|
||||
"discoveredContacts_exported": "발견된 연락처를 {path}(으)로 내보냈습니다.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "발견된 연락처 내보내기에 실패했습니다: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "발견된 연락처 {count}개를 가져왔습니다.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "가져오기 파일에서 연락처를 찾을 수 없습니다.",
|
||||
"discoveredContacts_importInvalidFile": "이 파일은 발견된 연락처 내보내기 파일이 아닙니다.",
|
||||
"discoveredContacts_importSummary": "가져옴: {imported}개, 건너뜀(이미 등록됨): {skipped}개, 읽을 수 없는 항목: {invalid}개.",
|
||||
"discoveredContacts_importTooLarge": "가져오기 파일이 너무 큽니다(최대 {maxMb}MB).",
|
||||
"discoveredContacts_importFailed": "발견된 연락처 가져오기에 실패했습니다: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_sendCooldown": "다시 보내기 전에 잠시 기다려 주시기 바랍니다.",
|
||||
"appSettings_jumpToOldestUnread": "가장 오래된, 아직 읽지 않은 항목으로 이동",
|
||||
"appSettings_jumpToOldestUnreadSubtitle": "새로운 메시지가 없는 채팅을 열 때, 최신 메시지가 아닌 첫 번째 읽지 않은 메시지로 스크롤하세요.",
|
||||
|
||||
@@ -3082,6 +3082,18 @@ abstract class AppLocalizations {
|
||||
/// **'Send GIF'**
|
||||
String get chat_sendGif;
|
||||
|
||||
/// Chat input menu action that shares the radio's own position as a map marker
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Share my location'**
|
||||
String get chat_shareMyLocation;
|
||||
|
||||
/// Shown when sharing a location but the radio reports no usable position
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Your radio has no location set'**
|
||||
String get chat_noRadioLocation;
|
||||
|
||||
/// No description provided for @chat_removeGif.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
@@ -3994,6 +4006,12 @@ abstract class AppLocalizations {
|
||||
/// **'Label'**
|
||||
String get map_label;
|
||||
|
||||
/// No description provided for @map_labelUpdateHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Using the same label as before will update the marker for MeshCore Open recipients.'**
|
||||
String get map_labelUpdateHint;
|
||||
|
||||
/// No description provided for @map_pointOfInterest.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
@@ -7906,6 +7924,70 @@ abstract class AppLocalizations {
|
||||
/// **'Failed to import contact.'**
|
||||
String get contacts_contactImportFailed;
|
||||
|
||||
/// No description provided for @discoveredContacts_export.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Export discovered contacts'**
|
||||
String get discoveredContacts_export;
|
||||
|
||||
/// No description provided for @discoveredContacts_import.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Import discovered contacts'**
|
||||
String get discoveredContacts_import;
|
||||
|
||||
/// No description provided for @discoveredContacts_exported.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Exported discovered contacts to {path}.'**
|
||||
String discoveredContacts_exported(String path);
|
||||
|
||||
/// No description provided for @discoveredContacts_exportFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Failed to export discovered contacts: {error}'**
|
||||
String discoveredContacts_exportFailed(String error);
|
||||
|
||||
/// No description provided for @discoveredContacts_imported.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Imported {count} discovered contacts.'**
|
||||
String discoveredContacts_imported(int count);
|
||||
|
||||
/// No description provided for @discoveredContacts_importNoContacts.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No contacts found in import file.'**
|
||||
String get discoveredContacts_importNoContacts;
|
||||
|
||||
/// No description provided for @discoveredContacts_importSummary.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Imported {imported} discovered contacts. Skipped {skipped} already known and {invalid} unreadable entries.'**
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
);
|
||||
|
||||
/// No description provided for @discoveredContacts_importInvalidFile.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The file is not a discovered contacts export.'**
|
||||
String get discoveredContacts_importInvalidFile;
|
||||
|
||||
/// No description provided for @discoveredContacts_importTooLarge.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The import file is too large (maximum {maxMb} MB).'**
|
||||
String discoveredContacts_importTooLarge(int maxMb);
|
||||
|
||||
/// No description provided for @discoveredContacts_importFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Failed to import discovered contacts: {error}'**
|
||||
String discoveredContacts_importFailed(String error);
|
||||
|
||||
/// No description provided for @contacts_zeroHopAdvert.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
@@ -1734,6 +1734,12 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Изпрати GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Споделяне на моето местоположение';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Радиото ви няма зададено местоположение';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Премахни GIF';
|
||||
|
||||
@@ -2248,6 +2254,10 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Етикет';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Ако използвате същия етикет като преди, маркерът ще се обнови за получателите с MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Точка на интерес';
|
||||
|
||||
@@ -4603,6 +4613,54 @@ class AppLocalizationsBg extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Контактът не е успешно импортиран.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Експортирай откритите контакти';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Импортирай откритите контакти';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Откритите контакти са експортирани в $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Неуспешно експортиране на откритите контакти: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Импортирани са $count открити контакта.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Във файла за импортиране не са намерени контакти.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Импортирани: $imported, пропуснати вече известни: $skipped, нечетими записи: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Файлът не е експорт на открити контакти.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Файлът за импортиране е твърде голям (максимум $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Неуспешно импортиране на откритите контакти: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Обява без скок';
|
||||
|
||||
|
||||
@@ -1732,6 +1732,13 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'GIF senden';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Meinen Standort teilen';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation =>
|
||||
'Ihr Funkgerät hat keinen Standort festgelegt';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'GIF entfernen';
|
||||
|
||||
@@ -2244,6 +2251,10 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Beschriftung';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Wenn Sie denselben Namen verwenden wie zuvor, wird die Markierung bei MeshCore Open-Empfängern aktualisiert.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Punkt von Interesse';
|
||||
|
||||
@@ -4608,6 +4619,54 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Kontakt konnte nicht importiert werden';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Entdeckte Kontakte exportieren';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Entdeckte Kontakte importieren';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Entdeckte Kontakte exportiert nach $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Export von entdeckten Kontakten fehlgeschlagen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count entdeckte Kontakte importiert.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Keine Kontakte in Importdatei gefunden.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return '$imported entdeckte Kontakte importiert. $skipped bereits bekannte und $invalid unlesbare Einträge übersprungen.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Die Datei ist kein Export entdeckter Kontakte.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Die Importdatei ist zu groß (maximal $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Import von entdeckten Kontakten fehlgeschlagen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Zero-Hop-Ankündigung';
|
||||
|
||||
|
||||
@@ -1702,6 +1702,12 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Send GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Share my location';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Your radio has no location set';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Remove GIF';
|
||||
|
||||
@@ -2211,6 +2217,10 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Label';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Using the same label as before will update the marker for MeshCore Open recipients.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Point of interest';
|
||||
|
||||
@@ -4539,6 +4549,54 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => 'Failed to import contact.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Export discovered contacts';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Import discovered contacts';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Exported discovered contacts to $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Failed to export discovered contacts: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Imported $count discovered contacts.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'No contacts found in import file.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Imported $imported discovered contacts. Skipped $skipped already known and $invalid unreadable entries.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'The file is not a discovered contacts export.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'The import file is too large (maximum $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Failed to import discovered contacts: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Zero Hop Advert';
|
||||
|
||||
|
||||
@@ -1729,6 +1729,12 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Enviar GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Compartir mi ubicación';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Tu radio no tiene una ubicación definida';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Quitar GIF';
|
||||
|
||||
@@ -2240,6 +2246,10 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Etiqueta';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Si usas la misma etiqueta que antes, el marcador se actualizará para los destinatarios de MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Punto de interés';
|
||||
|
||||
@@ -4602,6 +4612,54 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Contacto no se importó correctamente.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Exportar contactos descubiertos';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importar contactos descubiertos';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Contactos descubiertos exportados a $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Error al exportar contactos descubiertos: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count contactos descubiertos importados.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'No se encontraron contactos en el archivo de importación.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Se importaron $imported contactos descubiertos. Se omitieron $skipped ya conocidos y $invalid entradas ilegibles.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'El archivo no es una exportación de contactos descubiertos.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'El archivo de importación es demasiado grande (máximo $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Error al importar contactos descubiertos: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Anuncio de un solo salto';
|
||||
|
||||
|
||||
@@ -1733,6 +1733,12 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Envoyer un GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Partager ma position';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Votre radio n\'a pas de position définie';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Supprimer le GIF';
|
||||
|
||||
@@ -2247,6 +2253,10 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Étiquette';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Utiliser la même étiquette qu’avant mettra à jour le marqueur pour les destinataires utilisant MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Point d\'intérêt';
|
||||
|
||||
@@ -4619,6 +4629,54 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Échec de l\'importation du contact.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Exporter les contacts découverts';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importer les contacts découverts';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Contacts découverts exportés vers $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Impossible d\'exporter les contacts découverts: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count contacts découverts importés.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Aucun contact trouvé dans le fichier d\'importation.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return '$imported contacts découverts importés. $skipped déjà connus et $invalid entrées illisibles ignorés.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Le fichier n\'est pas un export de contacts découverts.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Le fichier d\'importation est trop volumineux (maximum $maxMb Mo).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Impossible d\'importer les contacts découverts: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Annonce Zero saut';
|
||||
|
||||
|
||||
@@ -1723,6 +1723,12 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'GIF küldése';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Saját helyem megosztása';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'A rádiónak nincs beállított helye';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'GIF eltávolítása';
|
||||
|
||||
@@ -2236,6 +2242,10 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Címke';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Ha ugyanazt a címkét használja, mint korábban, a jelölő frissül a MeshCore Open-t használó címzetteknél.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Érdekes pont';
|
||||
|
||||
@@ -4600,6 +4610,54 @@ class AppLocalizationsHu extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Nem sikerült importálni a névjegyet.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Felfedezett kapcsolatok exportálása';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Felfedezett kapcsolatok importálása';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'A felfedezett kapcsolatok exportálva ide: $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'A felfedezett kapcsolatok exportálása nem sikerült: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count felfedezett kapcsolat importálva.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Az importfájlban nem találhatók kapcsolatok.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Importálva: $imported, kihagyva már ismert: $skipped, olvashatatlan bejegyzés: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'A fájl nem felfedezett kapcsolatok exportja.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Az importfájl túl nagy (legfeljebb $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'A felfedezett kapcsolatok importálása nem sikerült: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Zero Hop hirdetés';
|
||||
|
||||
|
||||
@@ -1732,6 +1732,13 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Invia GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Condividi la mia posizione';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation =>
|
||||
'La tua radio non ha una posizione impostata';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Rimuovi GIF';
|
||||
|
||||
@@ -2246,6 +2253,10 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Etichetta';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Usando la stessa etichetta di prima, il segnaposto verrà aggiornato per i destinatari che usano MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Punto di interesse';
|
||||
|
||||
@@ -4607,6 +4618,54 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Contatto non importato con successo.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Esporta contatti scoperti';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importa contatti scoperti';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Contatti scoperti esportati in $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Esportazione dei contatti scoperti non riuscita: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Importati $count contatti scoperti.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Nessun contatto trovato nel file di importazione.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Importati $imported contatti scoperti. Saltati $skipped già noti e $invalid voci illeggibili.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Il file non è un\'esportazione di contatti scoperti.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Il file di importazione è troppo grande (massimo $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Importazione dei contatti scoperti non riuscita: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Annuncio Zero Hop';
|
||||
|
||||
|
||||
@@ -1646,6 +1646,12 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'GIF を送信';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => '自分の位置情報を共有';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => '無線機に位置情報が設定されていません';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'GIFを削除';
|
||||
|
||||
@@ -2145,6 +2151,10 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'ラベル';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'以前と同じラベルを使うと、MeshCore Open の受信者側でマーカーが更新されます。';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => '興味地点';
|
||||
|
||||
@@ -4378,6 +4388,53 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => '連絡先のインポートに失敗しました。';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => '発見済みの連絡先をエクスポート';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => '発見済みの連絡先をインポート';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return '発見済みの連絡先を $path にエクスポートしました。';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return '発見済みの連絡先のエクスポートに失敗しました: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count 件の発見済み連絡先をインポートしました。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts => 'インポートファイルに連絡先が見つかりませんでした。';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'インポート: $imported 件、スキップ(既知): $skipped 件、読み取れないエントリ: $invalid 件。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'このファイルは発見済み連絡先のエクスポートではありません。';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'インポートファイルが大きすぎます(最大 $maxMb MB)。';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return '発見済みの連絡先のインポートに失敗しました: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'ゼロホップアドバート';
|
||||
|
||||
|
||||
@@ -1651,6 +1651,12 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'GIF 보내기';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => '내 위치 공유';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => '무전기에 위치가 설정되어 있지 않습니다';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'GIF 제거';
|
||||
|
||||
@@ -2151,6 +2157,10 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => '레이블';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'이전과 같은 레이블을 사용하면 MeshCore Open 수신자에게 표시된 마커가 업데이트됩니다.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => '관심 지점';
|
||||
|
||||
@@ -4390,6 +4400,53 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => '연락처를 가져오지 못했습니다.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => '발견된 연락처 내보내기';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => '발견된 연락처 가져오기';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return '발견된 연락처를 $path(으)로 내보냈습니다.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return '발견된 연락처 내보내기에 실패했습니다: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '발견된 연락처 $count개를 가져왔습니다.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts => '가져오기 파일에서 연락처를 찾을 수 없습니다.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return '가져옴: $imported개, 건너뜀(이미 등록됨): $skipped개, 읽을 수 없는 항목: $invalid개.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'이 파일은 발견된 연락처 내보내기 파일이 아닙니다.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return '가져오기 파일이 너무 큽니다(최대 ${maxMb}MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return '발견된 연락처 가져오기에 실패했습니다: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => '제로 홉 어드버트';
|
||||
|
||||
|
||||
@@ -1718,6 +1718,12 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'GIF verzenden';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Mijn locatie delen';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Je radio heeft geen locatie ingesteld';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'GIF verwijderen';
|
||||
|
||||
@@ -2230,6 +2236,10 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Label';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Als je hetzelfde label als eerder gebruikt, wordt de markering bijgewerkt voor ontvangers met MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Interessepunt';
|
||||
|
||||
@@ -4578,6 +4588,54 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Contact kon niet geïmporteerd worden.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Ontdekte contacten exporteren';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Ontdekte contacten importeren';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Ontdekte contacten geëxporteerd naar $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Exporteren van ontdekte contacten mislukt: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count ontdekte contacten geïmporteerd.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Geen contacten gevonden in het importbestand.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return '$imported ontdekte contacten geïmporteerd. $skipped al bekende en $invalid onleesbare items overgeslagen.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Het bestand is geen export van ontdekte contacten.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Het importbestand is te groot (maximaal $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Importeren van ontdekte contacten mislukt: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Zero-hop-advert';
|
||||
|
||||
|
||||
@@ -1747,6 +1747,13 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Wyślij GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Udostępnij moją lokalizację';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation =>
|
||||
'Twoje radio nie ma ustawionej lokalizacji';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Usuń GIF';
|
||||
|
||||
@@ -2264,6 +2271,10 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Etykieta';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Użycie tej samej etykiety co wcześniej zaktualizuje znacznik u odbiorców korzystających z MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Punkt zainteresowań';
|
||||
|
||||
@@ -4627,6 +4638,54 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Kontakt nie został zaimportowany.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Eksportuj odkryte kontakty';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importuj odkryte kontakty';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Wyeksportowano odkryte kontakty do $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Nie udało się wyeksportować odkrytych kontaktów: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Zaimportowano $count odkrytych kontaktów.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Nie znaleziono kontaktów w pliku importu.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Zaimportowano: $imported, pominięto już znane: $skipped, nieczytelne wpisy: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Ten plik nie jest eksportem odkrytych kontaktów.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Plik importu jest zbyt duży (maksymalnie $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Nie udało się zaimportować odkrytych kontaktów: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Rozgłoszenie zero-hop';
|
||||
|
||||
|
||||
@@ -1729,6 +1729,12 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Enviar GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Compartilhar minha localização';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'O seu rádio não tem localização definida';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Remover GIF';
|
||||
|
||||
@@ -2244,6 +2250,10 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Rótulo';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Usar o mesmo rótulo de antes atualizará o marcador para os destinatários do MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Ponto de interesse';
|
||||
|
||||
@@ -4604,6 +4614,54 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => 'Contato falhou ao ser importado.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Exportar contatos descobertos';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importar contatos descobertos';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Contatos descobertos exportados para $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Falha ao exportar contatos descobertos: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '$count contatos descobertos importados.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Nenhum contato encontrado no arquivo de importação.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return '$imported contatos descobertos importados. $skipped já conhecidos e $invalid entradas ilegíveis foram ignorados.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'O arquivo não é uma exportação de contatos descobertos.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'O arquivo de importação é grande demais (máximo $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Falha ao importar contatos descobertos: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Anúncio Zero Hop';
|
||||
|
||||
|
||||
@@ -1733,6 +1733,12 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Отправить GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Поделиться моим местоположением';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'В вашем радио не задано местоположение';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Удалить GIF';
|
||||
|
||||
@@ -2250,6 +2256,10 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Подпись';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Если использовать ту же подпись, что и раньше, метка обновится у получателей MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Точка интереса';
|
||||
|
||||
@@ -4612,6 +4622,55 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => 'Контакт не удалось импортировать';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export =>
|
||||
'Экспортировать обнаруженные контакты';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Импортировать обнаруженные контакты';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Обнаруженные контакты экспортированы в $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Не удалось экспортировать обнаруженные контакты: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Импортировано $count обнаруженных контактов.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'В файле импорта не найдены контакты.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Импортировано: $imported, пропущено уже известных: $skipped, нечитаемых записей: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Файл не является экспортом обнаруженных контактов.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Файл импорта слишком большой (максимум $maxMb МБ).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Не удалось импортировать обнаруженные контакты: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Анонс без хопов';
|
||||
|
||||
|
||||
@@ -1721,6 +1721,12 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Odoslať GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Zdieľať moju polohu';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Vaše rádio nemá nastavenú polohu';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Odstrániť GIF';
|
||||
|
||||
@@ -2237,6 +2243,10 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Značka';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Ak použijete rovnaký štítok ako predtým, značka sa aktualizuje u príjemcov MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Bod záujmu';
|
||||
|
||||
@@ -4587,6 +4597,54 @@ class AppLocalizationsSk extends AppLocalizations {
|
||||
String get contacts_contactImportFailed =>
|
||||
'Kontakt sa nepodarilo importovať.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Exportovať objavené kontakty';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importovať objavené kontakty';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Objavené kontakty boli exportované do $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Export objavených kontaktov zlyhal: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Bolo importovaných $count objavených kontaktov.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'V importovanom súbore sa nenašli žiadne kontakty.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Importované: $imported, preskočené (už známe): $skipped, nečitateľné záznamy: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Súbor nie je exportom objavených kontaktov.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Importovaný súbor je príliš veľký (maximum $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Import objavených kontaktov zlyhal: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Inzerát Zero Hop';
|
||||
|
||||
|
||||
@@ -1720,6 +1720,12 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Pošlji GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Deli mojo lokacijo';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Vaš radio nima nastavljene lokacije';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Odstrani GIF';
|
||||
|
||||
@@ -2231,6 +2237,10 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Oznaka';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Če uporabite enako oznako kot prej, se oznaka na zemljevidu posodobi pri prejemnikih MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Točka zanimivosti';
|
||||
|
||||
@@ -4585,6 +4595,54 @@ class AppLocalizationsSl extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => 'Kontakt ni bil uspešno uvožen.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Izvozi odkrite stike';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Uvozi odkrite stike';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Odkriti stiki so izvoženi v $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Izvoz odkritih stikov ni uspel: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Uvoženih je bilo $count odkritih stikov.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'V uvozni datoteki ni bilo najdenih stikov.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Uvoženo: $imported, preskočeno (že znani): $skipped, neberljivi vnosi: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Datoteka ni izvoz odkritih stikov.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Uvozna datoteka je prevelika (največ $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Uvoz odkritih stikov ni uspel: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Oglas brez posrednikov';
|
||||
|
||||
|
||||
@@ -1708,6 +1708,12 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Skicka GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Dela min plats';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'Din radio har ingen plats inställd';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Ta bort GIF';
|
||||
|
||||
@@ -2219,6 +2225,10 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Etikett';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Om du använder samma etikett som tidigare uppdateras markören för mottagare med MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Plats av intresse';
|
||||
|
||||
@@ -4561,6 +4571,54 @@ class AppLocalizationsSv extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => 'Kontakt kunde inte importeras.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Exportera upptäckta kontakter';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Importera upptäckta kontakter';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Upptäckta kontakter exporterades till $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Det gick inte att exportera upptäckta kontakter: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Importerade $count upptäckta kontakter.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'Inga kontakter hittades i importfilen.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Importerade: $imported, hoppade över redan kända: $skipped, oläsliga poster: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Filen är inte en export av upptäckta kontakter.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Importfilen är för stor (högst $maxMb MB).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Det gick inte att importera upptäckta kontakter: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Nollhoppsannons';
|
||||
|
||||
|
||||
@@ -1723,6 +1723,12 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => 'Надіслати GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => 'Поділитися моєю геопозицією';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => 'У вашому радіо не задано геопозицію';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => 'Видалити GIF';
|
||||
|
||||
@@ -2240,6 +2246,10 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => 'Мітка';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint =>
|
||||
'Якщо використати ту саму мітку, що й раніше, маркер оновиться в одержувачів MeshCore Open.';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => 'Точка інтересу';
|
||||
|
||||
@@ -4611,6 +4621,54 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => 'Контакт не вдалось імпортувати';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => 'Експортувати виявлені контакти';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => 'Імпортувати виявлені контакти';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return 'Виявлені контакти експортовано до $path.';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return 'Не вдалося експортувати виявлені контакти: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return 'Імпортовано $count виявлених контактів.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts =>
|
||||
'У файлі імпорту не знайдено контактів.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return 'Імпортовано: $imported, пропущено вже відомих: $skipped, нечитабельних записів: $invalid.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile =>
|
||||
'Файл не є експортом виявлених контактів.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return 'Файл імпорту завеликий (максимум $maxMb МБ).';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return 'Не вдалося імпортувати виявлені контакти: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => 'Оголошення без ретрансляції';
|
||||
|
||||
|
||||
@@ -1628,6 +1628,12 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get chat_sendGif => '发送 GIF';
|
||||
|
||||
@override
|
||||
String get chat_shareMyLocation => '分享我的位置';
|
||||
|
||||
@override
|
||||
String get chat_noRadioLocation => '您的电台未设置位置';
|
||||
|
||||
@override
|
||||
String get chat_removeGif => '移除 GIF';
|
||||
|
||||
@@ -2119,6 +2125,9 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get map_label => '标签';
|
||||
|
||||
@override
|
||||
String get map_labelUpdateHint => '使用与之前相同的标签,将为 MeshCore Open 接收者更新该标记。';
|
||||
|
||||
@override
|
||||
String get map_pointOfInterest => '兴趣点';
|
||||
|
||||
@@ -4291,6 +4300,52 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get contacts_contactImportFailed => '导入联系人失败。';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_export => '导出已发现的联系人';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_import => '导入已发现的联系人';
|
||||
|
||||
@override
|
||||
String discoveredContacts_exported(String path) {
|
||||
return '已将已发现的联系人导出到$path。';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_exportFailed(String error) {
|
||||
return '导出已发现的联系人失败:$error';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_imported(int count) {
|
||||
return '已导入$count个已发现的联系人。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importNoContacts => '在导入文件中未找到联系人。';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importSummary(
|
||||
int imported,
|
||||
int skipped,
|
||||
int invalid,
|
||||
) {
|
||||
return '已导入:$imported,已跳过(已存在):$skipped,无法读取的条目:$invalid。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_importInvalidFile => '该文件不是已发现联系人的导出文件。';
|
||||
|
||||
@override
|
||||
String discoveredContacts_importTooLarge(int maxMb) {
|
||||
return '导入文件过大(最大 $maxMb MB)。';
|
||||
}
|
||||
|
||||
@override
|
||||
String discoveredContacts_importFailed(String error) {
|
||||
return '导入已发现的联系人失败:$error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contacts_zeroHopAdvert => '发送零跳广播';
|
||||
|
||||
|
||||
@@ -469,6 +469,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_noRadioLocation": "Je radio heeft geen locatie ingesteld",
|
||||
"chat_shareMyLocation": "Mijn locatie delen",
|
||||
"chat_location": "Locatie",
|
||||
"chat_sendMessageTo": "Verstuur een bericht naar {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
@@ -709,6 +711,7 @@
|
||||
"map_shareMarkerHere": "Deel marker hier",
|
||||
"map_pinLabel": "Pinlabel",
|
||||
"map_label": "Label",
|
||||
"map_labelUpdateHint": "Als je hetzelfde label als eerder gebruikt, wordt de markering bijgewerkt voor ontvangers met MeshCore Open.",
|
||||
"map_pointOfInterest": "Interessepunt",
|
||||
"map_sendToContact": "Verzenden naar contact",
|
||||
"map_sendToChannel": "Verzenden naar kanaal",
|
||||
@@ -2052,6 +2055,44 @@
|
||||
"discoveredContacts_Title": "Ontdekte contacten",
|
||||
"discoveredContacts_contactAdded": "Contact toegevoegd",
|
||||
"discoveredContacts_searchHint": "Ontdekte contacten zoeken",
|
||||
"discoveredContacts_export": "Ontdekte contacten exporteren",
|
||||
"discoveredContacts_import": "Ontdekte contacten importeren",
|
||||
"discoveredContacts_exported": "Ontdekte contacten geëxporteerd naar {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Exporteren van ontdekte contacten mislukt: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} ontdekte contacten geïmporteerd.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Geen contacten gevonden in het importbestand.",
|
||||
"discoveredContacts_importInvalidFile": "Het bestand is geen export van ontdekte contacten.",
|
||||
"discoveredContacts_importSummary": "{imported} ontdekte contacten geïmporteerd. {skipped} al bekende en {invalid} onleesbare items overgeslagen.",
|
||||
"discoveredContacts_importTooLarge": "Het importbestand is te groot (maximaal {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Importeren van ontdekte contacten mislukt: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactsSettings_overwriteOldestSubtitle": "Wanneer de contactenlijst vol is, wordt de oudste niet-favoriete contactpersoon vervangen.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Ontdekte contacten verwijderen",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Indien ingeschakeld verwijdert de app de oudste ontdekte contacten zodra de lijst met ontdekte contacten de limiet van {limit} items bereikt.",
|
||||
|
||||
+41
-6
@@ -464,6 +464,8 @@
|
||||
}
|
||||
},
|
||||
"chat_location": "Lokalizacja",
|
||||
"chat_noRadioLocation": "Twoje radio nie ma ustawionej lokalizacji",
|
||||
"chat_shareMyLocation": "Udostępnij moją lokalizację",
|
||||
"chat_sendMessageTo": "Wyślij wiadomość do {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
"placeholders": {
|
||||
@@ -699,6 +701,7 @@
|
||||
"map_shareMarkerHere": "Udostępnij znacznik tutaj",
|
||||
"map_pinLabel": "Etykieta pinezki",
|
||||
"map_label": "Etykieta",
|
||||
"map_labelUpdateHint": "Użycie tej samej etykiety co wcześniej zaktualizuje znacznik u odbiorców korzystających z MeshCore Open.",
|
||||
"map_pointOfInterest": "Punkt zainteresowań",
|
||||
"map_sendToContact": "Wyślij do kontaktu",
|
||||
"map_sendToChannel": "Wyślij do kanału",
|
||||
@@ -2055,6 +2058,44 @@
|
||||
"contactsSettings_autoAddSensorsSubtitle": "Zezwól towarzyszowi na automatyczne dodawanie wykrytych czujników.",
|
||||
"discoveredContacts_noMatching": "Brak pasujących kontaktów",
|
||||
"discoveredContacts_deleteContact": "Usuń kontakt",
|
||||
"discoveredContacts_export": "Eksportuj odkryte kontakty",
|
||||
"discoveredContacts_import": "Importuj odkryte kontakty",
|
||||
"discoveredContacts_exported": "Wyeksportowano odkryte kontakty do {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Nie udało się wyeksportować odkrytych kontaktów: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Zaimportowano {count} odkrytych kontaktów.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Nie znaleziono kontaktów w pliku importu.",
|
||||
"discoveredContacts_importFailed": "Nie udało się zaimportować odkrytych kontaktów: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "Ten plik nie jest eksportem odkrytych kontaktów.",
|
||||
"discoveredContacts_importSummary": "Zaimportowano: {imported}, pominięto już znane: {skipped}, nieczytelne wpisy: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Plik importu jest zbyt duży (maksymalnie {maxMb} MB).",
|
||||
"contactsSettings_overwriteOldestSubtitle": "Gdy lista kontaktów jest pełna, najstarszy nieulubiony kontakt zostanie zastąpiony.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Usuwaj odkryte kontakty",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Gdy ta opcja jest włączona, aplikacja usuwa najstarsze odkryte kontakty, gdy lista odkrytych osiągnie limit {limit} wpisów.",
|
||||
@@ -2297,12 +2338,6 @@
|
||||
"scanner_linuxPairingPinTitle": "Kod PIN parowania Bluetooth",
|
||||
"repeater_cliQuickClockSync": "Synchronizacja zegara",
|
||||
"repeater_cliQuickDiscovery": "Odkryj Sąsiadów",
|
||||
"@repeater_clockSyncAfterLogin": {
|
||||
"description": "Repeater setting: auto sync device clock after successful login"
|
||||
},
|
||||
"@repeater_clockSyncAfterLoginSubtitle": {
|
||||
"description": "Repeater setting subtitle: describes the clock sync after login behavior"
|
||||
},
|
||||
"repeater_clockSyncAfterLogin": "Synchronizacja zegara po zalogowaniu",
|
||||
"repeater_clockSyncAfterLoginSubtitle": "Automatycznie wysyłaj powiadomienie \"synchronizacja zegara\" po pomyślnym zalogowaniu.",
|
||||
"chat_sendMessage": "Wyślij wiadomość",
|
||||
|
||||
@@ -453,6 +453,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat_noRadioLocation": "O seu rádio não tem localização definida",
|
||||
"chat_shareMyLocation": "Compartilhar minha localização",
|
||||
"chat_location": "Localização",
|
||||
"chat_sendMessageTo": "Enviar uma mensagem para {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
@@ -689,6 +691,7 @@
|
||||
"map_shareMarkerHere": "Compartilhar marcador aqui",
|
||||
"map_pinLabel": "Rótulo de marcador",
|
||||
"map_label": "Rótulo",
|
||||
"map_labelUpdateHint": "Usar o mesmo rótulo de antes atualizará o marcador para os destinatários do MeshCore Open.",
|
||||
"map_pointOfInterest": "Ponto de interesse",
|
||||
"map_sendToContact": "Enviar para o contato",
|
||||
"map_sendToChannel": "Enviar para o canal",
|
||||
@@ -2017,6 +2020,44 @@
|
||||
"discoveredContacts_deleteContact": "Excluir Contato",
|
||||
"discoveredContacts_contactAdded": "Contato adicionado",
|
||||
"discoveredContacts_addContact": "Adicionar Contato",
|
||||
"discoveredContacts_export": "Exportar contatos descobertos",
|
||||
"discoveredContacts_import": "Importar contatos descobertos",
|
||||
"discoveredContacts_exported": "Contatos descobertos exportados para {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Falha ao exportar contatos descobertos: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "{count} contatos descobertos importados.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Nenhum contato encontrado no arquivo de importação.",
|
||||
"discoveredContacts_importInvalidFile": "O arquivo não é uma exportação de contatos descobertos.",
|
||||
"discoveredContacts_importSummary": "{imported} contatos descobertos importados. {skipped} já conhecidos e {invalid} entradas ilegíveis foram ignorados.",
|
||||
"discoveredContacts_importTooLarge": "O arquivo de importação é grande demais (máximo {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Falha ao importar contatos descobertos: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactsSettings_overwriteOldestSubtitle": "Quando a lista de contatos estiver cheia, o contato mais antigo não favoritado será substituído.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Remover contatos descobertos",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Quando ativado, o aplicativo remove os contatos descobertos mais antigos assim que a lista de descobertos atingir o limite de {limit} entradas.",
|
||||
|
||||
+41
-6
@@ -309,6 +309,8 @@
|
||||
"chat_replyingTo": "Ответ для {name}",
|
||||
"chat_replyTo": "Ответить {name}",
|
||||
"chat_location": "Местоположение",
|
||||
"chat_noRadioLocation": "В вашем радио не задано местоположение",
|
||||
"chat_shareMyLocation": "Поделиться моим местоположением",
|
||||
"chat_sendMessageTo": "Отправить сообщение {contactName}",
|
||||
"chat_typeMessage": "Напишите сообщение...",
|
||||
"chat_messageTooLong": "Сообщение слишком длинное (макс. {maxBytes} байт).",
|
||||
@@ -413,6 +415,7 @@
|
||||
"map_shareMarkerHere": "Поделиться меткой здесь",
|
||||
"map_pinLabel": "Метка",
|
||||
"map_label": "Подпись",
|
||||
"map_labelUpdateHint": "Если использовать ту же подпись, что и раньше, метка обновится у получателей MeshCore Open.",
|
||||
"map_pointOfInterest": "Точка интереса",
|
||||
"map_sendToContact": "Отправить контакту",
|
||||
"map_sendToChannel": "Отправить в канал",
|
||||
@@ -1186,6 +1189,44 @@
|
||||
"discoveredContacts_addContact": "Добавить контакт",
|
||||
"discoveredContacts_Title": "Обнаруженные контакты",
|
||||
"discoveredContacts_deleteContact": "Удалить контакт",
|
||||
"discoveredContacts_export": "Экспортировать обнаруженные контакты",
|
||||
"discoveredContacts_import": "Импортировать обнаруженные контакты",
|
||||
"discoveredContacts_exported": "Обнаруженные контакты экспортированы в {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Не удалось экспортировать обнаруженные контакты: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Импортировано {count} обнаруженных контактов.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "В файле импорта не найдены контакты.",
|
||||
"discoveredContacts_importFailed": "Не удалось импортировать обнаруженные контакты: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "Файл не является экспортом обнаруженных контактов.",
|
||||
"discoveredContacts_importSummary": "Импортировано: {imported}, пропущено уже известных: {skipped}, нечитаемых записей: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Файл импорта слишком большой (максимум {maxMb} МБ).",
|
||||
"contactsSettings_overwriteOldestSubtitle": "Когда список контактов заполнен, будет заменен самый старый контакт, который не находится в избранном.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Удалять обнаруженные контакты",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Если включено, приложение удаляет самые старые обнаруженные контакты, когда список обнаруженных достигает лимита в {limit} записей.",
|
||||
@@ -1428,12 +1469,6 @@
|
||||
"scanner_linuxPairingPinTitle": "PIN‑код сопряжения Bluetooth",
|
||||
"repeater_cliQuickDiscovery": "Обнаружить Соседей",
|
||||
"repeater_cliQuickClockSync": "Синхронизация часов",
|
||||
"@repeater_clockSyncAfterLogin": {
|
||||
"description": "Repeater setting: auto sync device clock after successful login"
|
||||
},
|
||||
"@repeater_clockSyncAfterLoginSubtitle": {
|
||||
"description": "Repeater setting subtitle: describes the clock sync after login behavior"
|
||||
},
|
||||
"repeater_clockSyncAfterLogin": "Синхронизация часов после входа в систему",
|
||||
"repeater_clockSyncAfterLoginSubtitle": "Автоматически отправлять сообщение \"синхронизация времени\" после успешной авторизации.",
|
||||
"chat_sendMessage": "Отправить сообщение",
|
||||
|
||||
@@ -434,6 +434,8 @@
|
||||
"channels_sortAZ": "Od A po Z",
|
||||
"channels_sortLatestMessages": "Posledné správy",
|
||||
"channels_sortUnread": "Nezriadené",
|
||||
"chat_noRadioLocation": "Vaše rádio nemá nastavenú polohu",
|
||||
"chat_shareMyLocation": "Zdieľať moju polohu",
|
||||
"chat_noMessages": "Zatiaľ žiadne správy.",
|
||||
"chat_sendMessageToStart": "Pošlite správu na začiatok",
|
||||
"chat_originalMessageNotFound": "Neznámy pôvodný odkaz.",
|
||||
@@ -689,6 +691,7 @@
|
||||
"map_shareMarkerHere": "Zdieľte značku tu",
|
||||
"map_pinLabel": "Označka upozornenia",
|
||||
"map_label": "Značka",
|
||||
"map_labelUpdateHint": "Ak použijete rovnaký štítok ako predtým, značka sa aktualizuje u príjemcov MeshCore Open.",
|
||||
"map_pointOfInterest": "Bod záujmu",
|
||||
"map_sendToContact": "Pošleť na kontakt",
|
||||
"map_sendToChannel": "Poslať do kanálu",
|
||||
@@ -2017,6 +2020,44 @@
|
||||
"discoveredContacts_Title": "Objavené kontakty",
|
||||
"contactsSettings_overwriteOldestTitle": "Prepísať najstaršie",
|
||||
"discoveredContacts_addContact": "Pridať kontakt",
|
||||
"discoveredContacts_export": "Exportovať objavené kontakty",
|
||||
"discoveredContacts_import": "Importovať objavené kontakty",
|
||||
"discoveredContacts_exported": "Objavené kontakty boli exportované do {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Export objavených kontaktov zlyhal: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Bolo importovaných {count} objavených kontaktov.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "V importovanom súbore sa nenašli žiadne kontakty.",
|
||||
"discoveredContacts_importInvalidFile": "Súbor nie je exportom objavených kontaktov.",
|
||||
"discoveredContacts_importSummary": "Importované: {imported}, preskočené (už známe): {skipped}, nečitateľné záznamy: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Importovaný súbor je príliš veľký (maximum {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Import objavených kontaktov zlyhal: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactsSettings_overwriteOldestSubtitle": "Keď je zoznam kontaktov plný, bude nahradený najstarší neoznačený kontakt.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Odstraňovať objavené kontakty",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Keď je táto možnosť zapnutá, aplikácia odstráni najstaršie objavené kontakty, keď zoznam objavených dosiahne limit {limit} záznamov.",
|
||||
|
||||
@@ -434,6 +434,8 @@
|
||||
"channels_sortAZ": "A do Z",
|
||||
"channels_sortLatestMessages": "Najnovejše sporočilo",
|
||||
"channels_sortUnread": "Nerešeno",
|
||||
"chat_noRadioLocation": "Vaš radio nima nastavljene lokacije",
|
||||
"chat_shareMyLocation": "Deli mojo lokacijo",
|
||||
"chat_noMessages": "Še ni sporočil.",
|
||||
"chat_sendMessageToStart": "Pošlji sporočilo za začetek.",
|
||||
"chat_originalMessageNotFound": "Opozorilo: Sporočilo ni bilo najdeno",
|
||||
@@ -689,6 +691,7 @@
|
||||
"map_shareMarkerHere": "Delite točke tukaj.",
|
||||
"map_pinLabel": "Oznaka za pritrditev",
|
||||
"map_label": "Oznaka",
|
||||
"map_labelUpdateHint": "Če uporabite enako oznako kot prej, se oznaka na zemljevidu posodobi pri prejemnikih MeshCore Open.",
|
||||
"map_pointOfInterest": "Točka zanimivosti",
|
||||
"map_sendToContact": "Pošlji v kontakt",
|
||||
"map_sendToChannel": "Pošlji v kanal",
|
||||
@@ -2017,6 +2020,44 @@
|
||||
"discoveredContacts_Title": "Odkriti stiki",
|
||||
"discoveredContacts_searchHint": "Najdeni stiki po iskanju",
|
||||
"discoveredContacts_deleteContact": "Izbriši stik",
|
||||
"discoveredContacts_export": "Izvozi odkrite stike",
|
||||
"discoveredContacts_import": "Uvozi odkrite stike",
|
||||
"discoveredContacts_exported": "Odkriti stiki so izvoženi v {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Izvoz odkritih stikov ni uspel: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Uvoženih je bilo {count} odkritih stikov.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "V uvozni datoteki ni bilo najdenih stikov.",
|
||||
"discoveredContacts_importInvalidFile": "Datoteka ni izvoz odkritih stikov.",
|
||||
"discoveredContacts_importSummary": "Uvoženo: {imported}, preskočeno (že znani): {skipped}, neberljivi vnosi: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Uvozna datoteka je prevelika (največ {maxMb} MB).",
|
||||
"discoveredContacts_importFailed": "Uvoz odkritih stikov ni uspel: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactsSettings_overwriteOldestSubtitle": "Ko je seznam stikov poln, bo najstarejši nestarševski stik zamenjan.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Odstrani odkrite stike",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Ko je ta možnost vklopljena, aplikacija odstrani najstarejše odkrite stike, ko seznam odkritih stikov doseže omejitev {limit} vnosov.",
|
||||
|
||||
+41
-6
@@ -454,6 +454,8 @@
|
||||
}
|
||||
},
|
||||
"chat_location": "Plats",
|
||||
"chat_noRadioLocation": "Din radio har ingen plats inställd",
|
||||
"chat_shareMyLocation": "Dela min plats",
|
||||
"chat_sendMessageTo": "Skicka ett meddelande till {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
"placeholders": {
|
||||
@@ -690,6 +692,7 @@
|
||||
"map_shareMarkerHere": "Dela markeringen här",
|
||||
"map_pinLabel": "Fästetikett",
|
||||
"map_label": "Etikett",
|
||||
"map_labelUpdateHint": "Om du använder samma etikett som tidigare uppdateras markören för mottagare med MeshCore Open.",
|
||||
"map_pointOfInterest": "Plats av intresse",
|
||||
"map_sendToContact": "Skicka till kontakt",
|
||||
"map_sendToChannel": "Skicka till kanal",
|
||||
@@ -2018,6 +2021,44 @@
|
||||
"discoveredContacts_contactAdded": "Kontakt tillagd",
|
||||
"discoveredContacts_addContact": "Lägg till kontakt",
|
||||
"discoveredContacts_copyContact": "Kopiera kontakt till urklipp",
|
||||
"discoveredContacts_export": "Exportera upptäckta kontakter",
|
||||
"discoveredContacts_import": "Importera upptäckta kontakter",
|
||||
"discoveredContacts_exported": "Upptäckta kontakter exporterades till {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Det gick inte att exportera upptäckta kontakter: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Importerade {count} upptäckta kontakter.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "Inga kontakter hittades i importfilen.",
|
||||
"discoveredContacts_importFailed": "Det gick inte att importera upptäckta kontakter: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "Filen är inte en export av upptäckta kontakter.",
|
||||
"discoveredContacts_importSummary": "Importerade: {imported}, hoppade över redan kända: {skipped}, oläsliga poster: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Importfilen är för stor (högst {maxMb} MB).",
|
||||
"contactsSettings_overwriteOldestSubtitle": "När kontaktlistan är full ersätts den äldsta icke-favoriterade kontakten.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Rensa upptäckta kontakter",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "När detta är aktiverat tar appen bort de äldsta upptäckta kontakterna när listan över upptäckta kontakter når sin gräns på {limit} poster.",
|
||||
@@ -2254,12 +2295,6 @@
|
||||
"scanner_linuxPairingHidePin": "Dölj PIN",
|
||||
"repeater_cliQuickDiscovery": "Upptäck grannar",
|
||||
"repeater_cliQuickClockSync": "Synkronisera klocka",
|
||||
"@repeater_clockSyncAfterLogin": {
|
||||
"description": "Repeater setting: auto sync device clock after successful login"
|
||||
},
|
||||
"@repeater_clockSyncAfterLoginSubtitle": {
|
||||
"description": "Repeater setting subtitle: describes the clock sync after login behavior"
|
||||
},
|
||||
"repeater_clockSyncAfterLoginSubtitle": "Automatiskt skicka \"klocksynkronisering\" efter en lyckad inloggning.",
|
||||
"repeater_clockSyncAfterLogin": "Synkronisera klockan efter inloggning",
|
||||
"repeater_guest": "Repeaterinformation",
|
||||
|
||||
@@ -457,6 +457,8 @@
|
||||
}
|
||||
},
|
||||
"chat_location": "Геопозиція",
|
||||
"chat_noRadioLocation": "У вашому радіо не задано геопозицію",
|
||||
"chat_shareMyLocation": "Поділитися моєю геопозицією",
|
||||
"chat_sendMessageTo": "Надіслати повідомлення {contactName}",
|
||||
"@chat_sendMessageTo": {
|
||||
"placeholders": {
|
||||
@@ -699,6 +701,7 @@
|
||||
"map_shareMarkerHere": "Поділитись маркером тут",
|
||||
"map_pinLabel": "Мітка піна",
|
||||
"map_label": "Мітка",
|
||||
"map_labelUpdateHint": "Якщо використати ту саму мітку, що й раніше, маркер оновиться в одержувачів MeshCore Open.",
|
||||
"map_pointOfInterest": "Точка інтересу",
|
||||
"map_sendToContact": "Надіслати контакту",
|
||||
"map_sendToChannel": "Надіслати в канал",
|
||||
@@ -2027,6 +2030,44 @@
|
||||
"discoveredContacts_deleteContact": "Видалити контакт",
|
||||
"discoveredContacts_copyContact": "Копіювати контакт у буфер обміну",
|
||||
"discoveredContacts_addContact": "Додати контакт",
|
||||
"discoveredContacts_export": "Експортувати виявлені контакти",
|
||||
"discoveredContacts_import": "Імпортувати виявлені контакти",
|
||||
"discoveredContacts_exported": "Виявлені контакти експортовано до {path}.",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "Не вдалося експортувати виявлені контакти: {error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "Імпортовано {count} виявлених контактів.",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "У файлі імпорту не знайдено контактів.",
|
||||
"discoveredContacts_importFailed": "Не вдалося імпортувати виявлені контакти: {error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importInvalidFile": "Файл не є експортом виявлених контактів.",
|
||||
"discoveredContacts_importSummary": "Імпортовано: {imported}, пропущено вже відомих: {skipped}, нечитабельних записів: {invalid}.",
|
||||
"discoveredContacts_importTooLarge": "Файл імпорту завеликий (максимум {maxMb} МБ).",
|
||||
"contactsSettings_overwriteOldestSubtitle": "Коли список контактів заповнений, найстарший контакт без позначки улюбленого буде замінений.",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "Видаляти виявлені контакти",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "Якщо ввімкнено, застосунок видаляє найстаріші виявлені контакти, коли список виявлених контактів досягає ліміту в {limit} записів.",
|
||||
|
||||
@@ -461,6 +461,8 @@
|
||||
"channels_scanQrCodeComingSoon": "即将推出",
|
||||
"channels_enterHashtag": "输入标签",
|
||||
"channels_hashtagHint": "例如:#团队",
|
||||
"chat_noRadioLocation": "您的电台未设置位置",
|
||||
"chat_shareMyLocation": "分享我的位置",
|
||||
"chat_noMessages": "暂无消息",
|
||||
"chat_sendMessageToStart": "发送消息开始对话",
|
||||
"chat_originalMessageNotFound": "找不到原始消息",
|
||||
@@ -716,6 +718,7 @@
|
||||
"map_shareMarkerHere": "在此分享标记",
|
||||
"map_pinLabel": "标签",
|
||||
"map_label": "标签",
|
||||
"map_labelUpdateHint": "使用与之前相同的标签,将为 MeshCore Open 接收者更新该标记。",
|
||||
"map_pointOfInterest": "兴趣点",
|
||||
"map_sendToContact": "发送给联系人",
|
||||
"map_sendToChannel": "发送到频道",
|
||||
@@ -2022,6 +2025,44 @@
|
||||
"discoveredContacts_noMatching": "没有匹配的联系人",
|
||||
"discoveredContacts_Title": "已发现的联系人",
|
||||
"discoveredContacts_copyContact": "复制联系人到剪贴板",
|
||||
"discoveredContacts_export": "导出已发现的联系人",
|
||||
"discoveredContacts_import": "导入已发现的联系人",
|
||||
"discoveredContacts_exported": "已将已发现的联系人导出到{path}。",
|
||||
"@discoveredContacts_exported": {
|
||||
"placeholders": {
|
||||
"path": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_exportFailed": "导出已发现的联系人失败:{error}",
|
||||
"@discoveredContacts_exportFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_imported": "已导入{count}个已发现的联系人。",
|
||||
"@discoveredContacts_imported": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"discoveredContacts_importNoContacts": "在导入文件中未找到联系人。",
|
||||
"discoveredContacts_importInvalidFile": "该文件不是已发现联系人的导出文件。",
|
||||
"discoveredContacts_importSummary": "已导入:{imported},已跳过(已存在):{skipped},无法读取的条目:{invalid}。",
|
||||
"discoveredContacts_importTooLarge": "导入文件过大(最大 {maxMb} MB)。",
|
||||
"discoveredContacts_importFailed": "导入已发现的联系人失败:{error}",
|
||||
"@discoveredContacts_importFailed": {
|
||||
"placeholders": {
|
||||
"error": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactsSettings_overwriteOldestSubtitle": "当联系人列表已满时,将替换最老的非收藏联系人。",
|
||||
"contactsSettings_evictDiscoveredContactsTitle": "清除已发现的联系人",
|
||||
"contactsSettings_evictDiscoveredContactsSubtitle": "启用后,当已发现联系人列表达到 {limit} 条的上限时,应用会移除最旧的已发现联系人。",
|
||||
|
||||
@@ -20,7 +20,6 @@ class Contact {
|
||||
final DateTime lastMessageAt;
|
||||
final DateTime? lastModified;
|
||||
final bool isActive;
|
||||
final bool wasPulled;
|
||||
final Uint8List? rawPacket;
|
||||
|
||||
Contact({
|
||||
@@ -39,7 +38,6 @@ class Contact {
|
||||
this.lastModified,
|
||||
DateTime? lastMessageAt,
|
||||
this.isActive = true,
|
||||
this.wasPulled = false,
|
||||
this.rawPacket,
|
||||
}) : lastMessageAt = lastMessageAt ?? lastSeen;
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ import 'package:provider/provider.dart';
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../models/community.dart';
|
||||
import '../storage/community_store.dart';
|
||||
import '../utils/app_logger.dart';
|
||||
import '../utils/platform_info.dart';
|
||||
import '../helpers/chat_scroll_controller.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
@@ -34,10 +35,12 @@ import '../services/received_image_store.dart';
|
||||
import '../services/translation_service.dart';
|
||||
import '../utils/image_save.dart';
|
||||
import '../utils/lora_airtime.dart';
|
||||
import '../widgets/marker_label_dialog.dart';
|
||||
import '../widgets/received_image_message.dart';
|
||||
import '../widgets/byte_count_input.dart';
|
||||
import '../widgets/chat_day_separator.dart';
|
||||
import '../widgets/empty_state.dart';
|
||||
|
||||
import '../widgets/chat_zoom_wrapper.dart';
|
||||
import '../widgets/emoji_picker.dart';
|
||||
import '../widgets/gif_message.dart';
|
||||
@@ -59,6 +62,7 @@ import 'channel_message_path_screen.dart';
|
||||
import 'map_screen.dart';
|
||||
import 'region_management_screen.dart';
|
||||
import '../storage/region_store.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
|
||||
class ChannelChatScreen extends StatefulWidget {
|
||||
final Channel channel;
|
||||
@@ -1822,12 +1826,19 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
||||
|
||||
Future<void> _saveImage(ReceivedImageEntry entry) async {
|
||||
final l10n = context.l10n;
|
||||
final shareOrigin = shareOriginOf(context);
|
||||
final png = await context.read<ReceivedImageStore>().ensurePng(
|
||||
entry.streamId,
|
||||
);
|
||||
if (!mounted) return;
|
||||
final shareText = l10n.receivedImage_shareCaption(entry.bitstreamByteCount);
|
||||
if (png == null || !await saveImagePng(png, entry, shareText: shareText)) {
|
||||
if (png == null ||
|
||||
!await saveImagePng(
|
||||
png,
|
||||
entry,
|
||||
shareText: shareText,
|
||||
sharePositionOrigin: shareOrigin,
|
||||
)) {
|
||||
if (!mounted) return;
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
@@ -2058,44 +2069,105 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
PopupMenuButton<String>(
|
||||
icon: const Icon(Icons.add_circle_outline),
|
||||
position: PopupMenuPosition.over,
|
||||
offset: Offset(0, showImageAction ? -112 : -64),
|
||||
tooltip: context.l10n.chat_selectSendAction,
|
||||
onSelected: (action) {
|
||||
switch (action) {
|
||||
case 'gif':
|
||||
_showGifPicker(context);
|
||||
break;
|
||||
case 'meshcore-image':
|
||||
_showImageSendPreview();
|
||||
break;
|
||||
}
|
||||
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 (showImageAction) {
|
||||
items.add(
|
||||
PopupMenuItem(
|
||||
value: 'meshcore-image',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.image_outlined),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_sendImageLora),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
final selfConnector = context
|
||||
.read<MeshCoreConnector>();
|
||||
if (hasShareableLocation(
|
||||
selfConnector.selfLatitude,
|
||||
selfConnector.selfLongitude,
|
||||
)) {
|
||||
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 'meshcore-image':
|
||||
_showImageSendPreview();
|
||||
break;
|
||||
case 'send-my-location':
|
||||
await _shareMyLocation(
|
||||
context.read<MeshCoreConnector>(),
|
||||
);
|
||||
break;
|
||||
}
|
||||
},
|
||||
);
|
||||
},
|
||||
itemBuilder: (context) => [
|
||||
PopupMenuItem(
|
||||
value: 'gif',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.gif_box),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_sendGif),
|
||||
],
|
||||
),
|
||||
),
|
||||
if (showImageAction)
|
||||
PopupMenuItem(
|
||||
value: 'meshcore-image',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.image_outlined),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_sendImageLora),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
if (settings.translationEnabled)
|
||||
MessageTranslationButton(
|
||||
@@ -2253,6 +2325,56 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
/// Shares the radio's own position as a map marker on this channel. It is
|
||||
/// not a reply, so any reply in progress stays open for the next message;
|
||||
/// it shares the text send guard and cooldown.
|
||||
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,
|
||||
);
|
||||
if (label == null || label.isEmpty || !mounted || _isSendingText) return;
|
||||
final now = DateTime.now();
|
||||
if (_lastChannelSendAt != null &&
|
||||
now.difference(_lastChannelSendAt!) < const Duration(seconds: 1)) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(context.l10n.chat_sendCooldown),
|
||||
);
|
||||
return;
|
||||
}
|
||||
_lastChannelSendAt = now;
|
||||
_isSendingText = true;
|
||||
try {
|
||||
await connector.sendChannelMessage(
|
||||
widget.channel,
|
||||
formatMarkerText(lat, lon, label, 'poi'),
|
||||
);
|
||||
} catch (e) {
|
||||
// A failed send (e.g. region scope rejected) is already marked failed
|
||||
// on the message itself.
|
||||
appLogger.warn('Sharing location failed: $e', tag: 'ChannelChat');
|
||||
} finally {
|
||||
_isSendingText = false;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _sendMessage() async {
|
||||
if (_isSendingText) return;
|
||||
_isSendingText = true;
|
||||
|
||||
@@ -31,6 +31,7 @@ import '../services/path_history_service.dart';
|
||||
import '../services/translation_service.dart';
|
||||
import '../widgets/chat_zoom_wrapper.dart';
|
||||
import '../widgets/byte_count_input.dart';
|
||||
import '../widgets/marker_label_dialog.dart';
|
||||
import '../widgets/chat_day_separator.dart';
|
||||
import 'channel_message_path_screen.dart';
|
||||
import 'map_screen.dart';
|
||||
@@ -491,10 +492,76 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.gif_box_outlined),
|
||||
tooltip: context.l10n.chat_sendGif,
|
||||
onPressed: () => _showGifPicker(context),
|
||||
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,
|
||||
);
|
||||
const menuHeight = 2 * 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: [
|
||||
PopupMenuItem(
|
||||
value: 'gif',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.gif_box),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_sendGif),
|
||||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: 'send-my-location',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.my_location),
|
||||
const SizedBox(width: 12),
|
||||
Text(context.l10n.chat_shareMyLocation),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
if (!mounted || !menuContext.mounted) return;
|
||||
if (selected == null) return;
|
||||
switch (selected) {
|
||||
case 'gif':
|
||||
_showGifPicker(context);
|
||||
break;
|
||||
case 'send-my-location':
|
||||
await _shareMyLocation(
|
||||
context.read<MeshCoreConnector>(),
|
||||
);
|
||||
break;
|
||||
}
|
||||
},
|
||||
);
|
||||
},
|
||||
),
|
||||
if (settings.translationEnabled)
|
||||
MessageTranslationButton(
|
||||
@@ -667,6 +734,53 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
/// 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,
|
||||
);
|
||||
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;
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:file_selector/file_selector.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
@@ -12,6 +15,7 @@ import '../models/contact.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import '../utils/contact_search.dart';
|
||||
import '../utils/platform_info.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
import '../widgets/app_bar.dart';
|
||||
import '../widgets/list_filter_widget.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
@@ -112,9 +116,44 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
icon: const Icon(Icons.radar),
|
||||
onPressed: () => showNodeScanSheet(context, connector),
|
||||
),
|
||||
PopupMenuButton(
|
||||
itemBuilder: (context) => [
|
||||
PopupMenuItem(
|
||||
PopupMenuButton<String>(
|
||||
onSelected: (value) {
|
||||
switch (value) {
|
||||
case 'export':
|
||||
unawaited(_exportDiscoveredContacts(context, connector));
|
||||
break;
|
||||
case 'import':
|
||||
unawaited(_importDiscoveredContacts(context, connector));
|
||||
break;
|
||||
case 'delete_all':
|
||||
_deleteContacts(context, connector);
|
||||
break;
|
||||
}
|
||||
},
|
||||
itemBuilder: (context) => <PopupMenuEntry<String>>[
|
||||
PopupMenuItem<String>(
|
||||
value: 'export',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.upload_file),
|
||||
const SizedBox(width: 8),
|
||||
Text(l10n.discoveredContacts_export),
|
||||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem<String>(
|
||||
value: 'import',
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.download),
|
||||
const SizedBox(width: 8),
|
||||
Text(l10n.discoveredContacts_import),
|
||||
],
|
||||
),
|
||||
),
|
||||
const PopupMenuDivider(),
|
||||
PopupMenuItem<String>(
|
||||
value: 'delete_all',
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(
|
||||
@@ -125,9 +164,6 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
Text(context.l10n.discoveredContacts_deleteContactAll),
|
||||
],
|
||||
),
|
||||
onTap: () {
|
||||
_deleteContacts(context, connector);
|
||||
},
|
||||
),
|
||||
],
|
||||
icon: const Icon(Icons.more_vert),
|
||||
@@ -404,6 +440,141 @@ class _DiscoveryScreenState extends State<DiscoveryScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
static const int _maxImportBytes = 2 * 1024 * 1024;
|
||||
|
||||
Future<void> _exportDiscoveredContacts(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
) async {
|
||||
final l10n = context.l10n;
|
||||
final messenger = ScaffoldMessenger.of(context);
|
||||
final shareOrigin = shareOriginOf(context);
|
||||
final json = connector.exportDiscoveredContactsJson();
|
||||
|
||||
try {
|
||||
const filename = 'meshcore_discovered_contacts.json';
|
||||
final exportFile = XFile.fromData(
|
||||
Uint8List.fromList(utf8.encode(json)),
|
||||
mimeType: 'application/json',
|
||||
name: filename,
|
||||
);
|
||||
|
||||
if (PlatformInfo.isDesktop) {
|
||||
final location = await getSaveLocation(
|
||||
suggestedName: filename,
|
||||
acceptedTypeGroups: [
|
||||
const XTypeGroup(label: 'JSON', extensions: ['json']),
|
||||
],
|
||||
);
|
||||
if (!mounted) return;
|
||||
if (location == null) return;
|
||||
await exportFile.saveTo(location.path);
|
||||
if (!mounted) return;
|
||||
messenger.showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(l10n.discoveredContacts_exported(location.path)),
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
// Mobile shares the in-memory file; web shares it or, without the Web
|
||||
// Share API, downloads it (reported as `unavailable`).
|
||||
final result = await SharePlus.instance.share(
|
||||
ShareParams(
|
||||
subject: filename,
|
||||
files: [exportFile],
|
||||
fileNameOverrides: const [filename],
|
||||
sharePositionOrigin: shareOrigin,
|
||||
),
|
||||
);
|
||||
if (!mounted) return;
|
||||
final delivered =
|
||||
result.status == ShareResultStatus.success ||
|
||||
(PlatformInfo.isWeb &&
|
||||
result.status == ShareResultStatus.unavailable);
|
||||
if (delivered) {
|
||||
messenger.showSnackBar(
|
||||
SnackBar(content: Text(l10n.discoveredContacts_exported(filename))),
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
if (!mounted) return;
|
||||
messenger.showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(l10n.discoveredContacts_exportFailed(e.toString())),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _importDiscoveredContacts(
|
||||
BuildContext context,
|
||||
MeshCoreConnector connector,
|
||||
) async {
|
||||
final l10n = context.l10n;
|
||||
final messenger = ScaffoldMessenger.of(context);
|
||||
void show(String text) {
|
||||
if (!mounted) return;
|
||||
messenger.showSnackBar(SnackBar(content: Text(text)));
|
||||
}
|
||||
|
||||
try {
|
||||
final file = await openFile(
|
||||
acceptedTypeGroups: [
|
||||
const XTypeGroup(label: 'JSON', extensions: ['json']),
|
||||
],
|
||||
);
|
||||
// A null file means the picker was cancelled.
|
||||
if (file == null) return;
|
||||
if (await file.length() > _maxImportBytes) {
|
||||
show(
|
||||
l10n.discoveredContacts_importTooLarge(
|
||||
_maxImportBytes ~/ (1024 * 1024),
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
final String text;
|
||||
try {
|
||||
text = utf8.decode(await file.readAsBytes());
|
||||
} on FormatException {
|
||||
show(
|
||||
l10n.discoveredContacts_importFailed(
|
||||
l10n.discoveredContacts_importInvalidFile,
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
// Strip a UTF-8 byte order mark if present.
|
||||
final json = text.startsWith('\ufeff') ? text.substring(1) : text;
|
||||
|
||||
final result = await connector.importDiscoveredContactsJson(json);
|
||||
if (result.total == 0) {
|
||||
show(l10n.discoveredContacts_importNoContacts);
|
||||
} else if (result.skipped == 0 && result.invalid == 0) {
|
||||
show(l10n.discoveredContacts_imported(result.imported));
|
||||
} else {
|
||||
show(
|
||||
l10n.discoveredContacts_importSummary(
|
||||
result.imported,
|
||||
result.skipped,
|
||||
result.invalid,
|
||||
),
|
||||
);
|
||||
}
|
||||
} on FormatException {
|
||||
show(
|
||||
l10n.discoveredContacts_importFailed(
|
||||
l10n.discoveredContacts_importInvalidFile,
|
||||
),
|
||||
);
|
||||
} catch (e) {
|
||||
show(l10n.discoveredContacts_importFailed(e.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
Widget _buildFilters(
|
||||
List<Contact> filteredAndSorted,
|
||||
MeshCoreConnector connector,
|
||||
|
||||
+11
-67
@@ -28,6 +28,7 @@ import '../utils/contact_search.dart';
|
||||
import '../utils/disconnect_navigation_mixin.dart';
|
||||
import '../utils/battery_utils.dart';
|
||||
import '../utils/route_transitions.dart';
|
||||
import '../widgets/marker_label_dialog.dart';
|
||||
import '../widgets/quick_switch_bar.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
import '../icons/los_icon.dart';
|
||||
@@ -3120,21 +3121,15 @@ class _MapScreenState extends State<MapScreen> with DisconnectNavigationMixin {
|
||||
return;
|
||||
}
|
||||
|
||||
// The whole `m:lat,lon|label|flags` text must fit in one message to
|
||||
// either a contact or a channel, so the label gets what's left.
|
||||
final maxMessageBytes = min(
|
||||
maxContactMessageBytes(),
|
||||
maxChannelMessageBytes(connector.selfName),
|
||||
);
|
||||
final label = await _promptForLabel(
|
||||
// A map point is not the user's own position, so it keeps the point's
|
||||
// default label; reusing one label would move earlier shared points.
|
||||
final label = await showMarkerLabelDialog(
|
||||
context,
|
||||
defaultLabel,
|
||||
maxBytes: maxMessageBytes,
|
||||
encode: (text) => _formatMarkerMessage(
|
||||
position,
|
||||
text.trim().replaceAll('|', '/'),
|
||||
flags,
|
||||
),
|
||||
lat: position.latitude,
|
||||
lon: position.longitude,
|
||||
defaultLabel: defaultLabel,
|
||||
flags: flags,
|
||||
confirmText: context.l10n.common_continue,
|
||||
);
|
||||
if (label == null || !mounted) return;
|
||||
|
||||
@@ -3149,53 +3144,6 @@ class _MapScreenState extends State<MapScreen> with DisconnectNavigationMixin {
|
||||
);
|
||||
}
|
||||
|
||||
Future<String?> _promptForLabel(
|
||||
BuildContext context,
|
||||
String defaultLabel, {
|
||||
required int maxBytes,
|
||||
required String Function(String label) encode,
|
||||
}) async {
|
||||
final fixedBytes = utf8ByteLength(encode(''));
|
||||
final fittedDefault = truncateUtf8(defaultLabel, maxBytes - fixedBytes);
|
||||
final controller = TextEditingController(text: fittedDefault);
|
||||
controller.selection = TextSelection(
|
||||
baseOffset: 0,
|
||||
extentOffset: controller.text.length,
|
||||
);
|
||||
return showDialog<String>(
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
title: Text(context.l10n.map_pinLabel),
|
||||
content: TextField(
|
||||
controller: controller,
|
||||
decoration: InputDecoration(
|
||||
hintText: context.l10n.map_label,
|
||||
border: const OutlineInputBorder(),
|
||||
),
|
||||
inputFormatters: [
|
||||
Utf8LengthLimitingTextInputFormatter(maxBytes, encoder: encode),
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
child: Text(context.l10n.common_cancel),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
final label = controller.text.trim().replaceAll('|', '/');
|
||||
Navigator.pop(
|
||||
dialogContext,
|
||||
label.isEmpty ? fittedDefault : label,
|
||||
);
|
||||
},
|
||||
child: Text(context.l10n.common_continue),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
bool _markerFits(BuildContext context, String markerText, int maxBytes) {
|
||||
if (utf8ByteLength(markerText) <= maxBytes) return true;
|
||||
showDismissibleSnackBar(
|
||||
@@ -3205,11 +3153,8 @@ class _MapScreenState extends State<MapScreen> with DisconnectNavigationMixin {
|
||||
return false;
|
||||
}
|
||||
|
||||
String _formatMarkerMessage(LatLng position, String label, String flags) {
|
||||
final lat = position.latitude.toStringAsFixed(6);
|
||||
final lon = position.longitude.toStringAsFixed(6);
|
||||
return 'm:$lat,$lon|$label|$flags';
|
||||
}
|
||||
String _formatMarkerMessage(LatLng position, String label, String flags) =>
|
||||
formatMarkerText(position.latitude, position.longitude, label, flags);
|
||||
|
||||
Future<void> _showRecipientSheet({
|
||||
required BuildContext context,
|
||||
@@ -3915,7 +3860,6 @@ int _mapContactSignature(Contact contact) {
|
||||
contact.lastSeen.millisecondsSinceEpoch,
|
||||
contact.lastMessageAt.millisecondsSinceEpoch,
|
||||
contact.isActive,
|
||||
contact.wasPulled,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import '../widgets/radio_stats_entry.dart';
|
||||
import 'telemetry_screen.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
import 'region_management_screen.dart';
|
||||
import '../utils/share_origin.dart';
|
||||
|
||||
/// Convert device coding-rate value (1-4 on some firmware, 5-8 on others)
|
||||
/// to the UI enum range (always 5-8).
|
||||
@@ -1206,6 +1207,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
filename,
|
||||
shareText,
|
||||
subject,
|
||||
sharePositionOrigin: shareOriginOf(context),
|
||||
);
|
||||
if (!mounted) return;
|
||||
switch (result) {
|
||||
|
||||
@@ -53,6 +53,98 @@ class ContactDiscoveryStore {
|
||||
await prefs.setString(keyFor, jsonEncode(jsonList));
|
||||
}
|
||||
|
||||
/// Exports [contacts] for sharing. Routing paths are left out: a path is
|
||||
/// the route from this radio and is meaningless on another one.
|
||||
String exportContactsJson(List<Contact> contacts) {
|
||||
final jsonList = contacts.map((contact) {
|
||||
final json = _toJson(contact);
|
||||
for (final key in _pathKeys) {
|
||||
json.remove(key);
|
||||
}
|
||||
return json;
|
||||
}).toList();
|
||||
return jsonEncode(jsonList);
|
||||
}
|
||||
|
||||
static const List<String> _pathKeys = [
|
||||
'pathLength',
|
||||
'path',
|
||||
'pathHashWidth',
|
||||
'pathOverride',
|
||||
'pathOverrideBytes',
|
||||
];
|
||||
|
||||
/// Merges an export file into [existingContacts], each entry on its own:
|
||||
/// a malformed entry is counted as invalid instead of failing the file.
|
||||
///
|
||||
/// Skips radio contacts ([knownContactKeys]), discovered contacts already
|
||||
/// present (they are fresher), duplicates within the file, and the
|
||||
/// connected radio's own key. Imported paths are dropped (they belong to the
|
||||
/// exporting radio) and timestamps are clamped to [now].
|
||||
///
|
||||
/// Throws [FormatException] when the file is not a JSON list.
|
||||
DiscoveredContactsImportResult importContactsJson({
|
||||
required String json,
|
||||
required List<Contact> existingContacts,
|
||||
required Set<String> knownContactKeys,
|
||||
String? selfPublicKeyHex,
|
||||
DateTime? now,
|
||||
}) {
|
||||
final Object? decoded;
|
||||
try {
|
||||
decoded = jsonDecode(json);
|
||||
} on FormatException {
|
||||
rethrow;
|
||||
} catch (e) {
|
||||
throw FormatException('Not valid JSON: $e');
|
||||
}
|
||||
if (decoded is! List) {
|
||||
throw const FormatException('Expected a list of contacts');
|
||||
}
|
||||
|
||||
final clampTo = now ?? DateTime.now();
|
||||
final seenKeys = {for (final c in existingContacts) c.publicKeyHex};
|
||||
var imported = 0;
|
||||
var skipped = 0;
|
||||
var invalid = 0;
|
||||
|
||||
for (final entry in decoded) {
|
||||
final Contact contact;
|
||||
try {
|
||||
if (entry is! Map<String, dynamic>) {
|
||||
throw const FormatException('Entry is not an object');
|
||||
}
|
||||
contact = _fromJson(entry, importing: true, clampTo: clampTo);
|
||||
if (contact.publicKey.length != _pubKeySize) {
|
||||
throw const FormatException('Public key must be 32 bytes');
|
||||
}
|
||||
} catch (e) {
|
||||
appLogger.warn('Skipping invalid imported discovered contact: $e');
|
||||
invalid++;
|
||||
continue;
|
||||
}
|
||||
|
||||
final keyHex = contact.publicKeyHex;
|
||||
if (keyHex == selfPublicKeyHex ||
|
||||
knownContactKeys.contains(keyHex) ||
|
||||
!seenKeys.add(keyHex)) {
|
||||
skipped++;
|
||||
continue;
|
||||
}
|
||||
existingContacts.add(contact);
|
||||
imported++;
|
||||
}
|
||||
|
||||
return DiscoveredContactsImportResult(
|
||||
total: decoded.length,
|
||||
imported: imported,
|
||||
skipped: skipped,
|
||||
invalid: invalid,
|
||||
);
|
||||
}
|
||||
|
||||
static const int _pubKeySize = 32;
|
||||
|
||||
Map<String, dynamic> _toJson(Contact contact) {
|
||||
return {
|
||||
'publicKey': base64Encode(contact.publicKey),
|
||||
@@ -71,25 +163,39 @@ class ContactDiscoveryStore {
|
||||
'lastSeen': contact.lastSeen.millisecondsSinceEpoch,
|
||||
'lastModified': contact.lastModified?.millisecondsSinceEpoch,
|
||||
'lastMessageAt': contact.lastMessageAt.millisecondsSinceEpoch,
|
||||
'isActive': contact.isActive,
|
||||
'rawPacket': contact.rawPacket != null
|
||||
? base64Encode(contact.rawPacket!)
|
||||
: null,
|
||||
};
|
||||
}
|
||||
|
||||
Contact _fromJson(Map<String, dynamic> json) {
|
||||
final lastSeenMs = json['lastSeen'] as int? ?? 0;
|
||||
final lastMessageMs = json['lastMessageAt'] as int?;
|
||||
final lastModifiedMs = json['lastModified'] as int?;
|
||||
Contact _fromJson(
|
||||
Map<String, dynamic> json, {
|
||||
bool importing = false,
|
||||
DateTime? clampTo,
|
||||
}) {
|
||||
int? clampMs(int? ms) {
|
||||
if (ms == null || clampTo == null) return ms;
|
||||
final limit = clampTo.millisecondsSinceEpoch;
|
||||
return ms > limit ? limit : ms;
|
||||
}
|
||||
|
||||
final rawPathLength = json['pathLength'] as int? ?? -1;
|
||||
final rawPath = json['path'] != null
|
||||
final lastSeenMs = clampMs((json['lastSeen'] as num?)?.toInt()) ?? 0;
|
||||
final lastMessageMs = clampMs((json['lastMessageAt'] as num?)?.toInt());
|
||||
final lastModifiedMs = clampMs((json['lastModified'] as num?)?.toInt());
|
||||
|
||||
// An imported path is the exporting radio's route: never reuse it.
|
||||
final rawPathLength = importing ? -1 : json['pathLength'] as int? ?? -1;
|
||||
final rawPath = !importing && json['path'] != null
|
||||
? Uint8List.fromList(base64Decode(json['path'] as String))
|
||||
: Uint8List(0);
|
||||
|
||||
int decodedPathLength = rawPathLength;
|
||||
Uint8List decodedPath = rawPath;
|
||||
int? decodedPathHashWidth = json['pathHashWidth'] as int?;
|
||||
int? decodedPathHashWidth = importing
|
||||
? null
|
||||
: json['pathHashWidth'] as int?;
|
||||
|
||||
if (rawPathLength == 0xFF || rawPathLength < 0) {
|
||||
decodedPathLength = -1;
|
||||
@@ -120,8 +226,8 @@ class ContactDiscoveryStore {
|
||||
pathHashWidth:
|
||||
decodedPathHashWidth ??
|
||||
Contact.inferPathHashWidth(decodedPathLength, decodedPath.length),
|
||||
pathOverride: json['pathOverride'] as int?,
|
||||
pathOverrideBytes: json['pathOverrideBytes'] != null
|
||||
pathOverride: importing ? null : json['pathOverride'] as int?,
|
||||
pathOverrideBytes: !importing && json['pathOverrideBytes'] != null
|
||||
? Uint8List.fromList(
|
||||
base64Decode(json['pathOverrideBytes'] as String),
|
||||
)
|
||||
@@ -142,3 +248,32 @@ class ContactDiscoveryStore {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Outcome of [ContactDiscoveryStore.importContactsJson].
|
||||
class DiscoveredContactsImportResult {
|
||||
const DiscoveredContactsImportResult({
|
||||
required this.total,
|
||||
required this.imported,
|
||||
required this.skipped,
|
||||
required this.invalid,
|
||||
});
|
||||
|
||||
static const empty = DiscoveredContactsImportResult(
|
||||
total: 0,
|
||||
imported: 0,
|
||||
skipped: 0,
|
||||
invalid: 0,
|
||||
);
|
||||
|
||||
/// Entries in the file.
|
||||
final int total;
|
||||
|
||||
/// Entries added as new discovered contacts.
|
||||
final int imported;
|
||||
|
||||
/// Valid entries already known (contact, discovered, duplicate, or self).
|
||||
final int skipped;
|
||||
|
||||
/// Entries that could not be read.
|
||||
final int invalid;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
import 'dart:ui' show Rect;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:gpx/gpx.dart';
|
||||
import 'package:meshcore_open/connector/meshcore_connector.dart';
|
||||
@@ -122,8 +124,9 @@ class GpxExport {
|
||||
String description,
|
||||
String filename,
|
||||
String shareText,
|
||||
String subject,
|
||||
) async {
|
||||
String subject, {
|
||||
Rect? sharePositionOrigin,
|
||||
}) async {
|
||||
if (PlatformInfo.isWeb) {
|
||||
debugPrint("GPX export is not supported on Web.");
|
||||
return gpxExportNotAvailable;
|
||||
@@ -197,7 +200,12 @@ class GpxExport {
|
||||
await file.writeAsString(xml);
|
||||
|
||||
final result = await SharePlus.instance.share(
|
||||
ShareParams(text: shareText, subject: subject, files: [XFile(path)]),
|
||||
ShareParams(
|
||||
text: shareText,
|
||||
subject: subject,
|
||||
files: [XFile(path)],
|
||||
sharePositionOrigin: sharePositionOrigin,
|
||||
),
|
||||
);
|
||||
|
||||
await file.delete();
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import 'package:file_selector/file_selector.dart';
|
||||
import 'dart:ui' show Rect;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
|
||||
@@ -12,6 +14,7 @@ Future<bool> saveImagePng(
|
||||
Uint8List png,
|
||||
ReceivedImageEntry entry, {
|
||||
String? shareText,
|
||||
Rect? sharePositionOrigin,
|
||||
}) async {
|
||||
final name = entry.synthesized
|
||||
? 'meshcore-ai-reconstructed-${entry.streamId}.png'
|
||||
@@ -33,6 +36,7 @@ Future<bool> saveImagePng(
|
||||
files: [file],
|
||||
fileNameOverrides: [name],
|
||||
text: entry.synthesized ? shareText : null,
|
||||
sharePositionOrigin: sharePositionOrigin,
|
||||
),
|
||||
);
|
||||
return result.status != ShareResultStatus.unavailable;
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
/// The on-screen rect of [context]'s widget, for share_plus'
|
||||
/// `sharePositionOrigin`. iPad anchors the share popover to it and throws
|
||||
/// without one; other platforms ignore it.
|
||||
Rect? shareOriginOf(BuildContext context) {
|
||||
final box = context.findRenderObject();
|
||||
if (box is! RenderBox || !box.hasSize || box.size.isEmpty) return null;
|
||||
return box.localToGlobal(Offset.zero) & box.size;
|
||||
}
|
||||
@@ -22,6 +22,9 @@ class ByteCountedTextField extends StatelessWidget {
|
||||
/// Optional focus node forwarded to the inner [TextField].
|
||||
final FocusNode? focusNode;
|
||||
|
||||
/// Whether the inner [TextField] requests focus when first built.
|
||||
final bool autofocus;
|
||||
|
||||
/// Hint text shown when the field is empty.
|
||||
final String? hintText;
|
||||
|
||||
@@ -64,6 +67,7 @@ class ByteCountedTextField extends StatelessWidget {
|
||||
required this.maxBytes,
|
||||
required this.controller,
|
||||
this.focusNode,
|
||||
this.autofocus = false,
|
||||
this.hintText,
|
||||
this.textInputAction = TextInputAction.send,
|
||||
this.onSubmitted,
|
||||
@@ -108,6 +112,7 @@ class ByteCountedTextField extends StatelessWidget {
|
||||
maxLines: null,
|
||||
controller: controller,
|
||||
focusNode: focusNode,
|
||||
autofocus: autofocus,
|
||||
inputFormatters: [
|
||||
...extraFormatters,
|
||||
Utf8LengthLimitingTextInputFormatter(
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
import '../helpers/guessed_location_estimator.dart';
|
||||
import '../helpers/utf8_length_limiter.dart';
|
||||
import '../l10n/l10n.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
import 'byte_count_input.dart';
|
||||
|
||||
/// Makes [label] safe for the `m:lat,lon|label|flags` marker format: a `|`
|
||||
/// would split the label into the flags field and a line break would end the
|
||||
/// message, so both are replaced.
|
||||
String sanitizeMarkerLabel(String label) =>
|
||||
label.replaceAll('|', '/').replaceAll(RegExp(r'[\r\n]+'), ' ').trim();
|
||||
|
||||
/// The shared-marker message text parsed by `parseMarkerText`.
|
||||
String formatMarkerText(double lat, double lon, String label, String flags) =>
|
||||
'm:${lat.toStringAsFixed(6)},${lon.toStringAsFixed(6)}|'
|
||||
'${sanitizeMarkerLabel(label)}|$flags';
|
||||
|
||||
/// Bytes left for the label once the marker's fixed parts are counted, using
|
||||
/// the smaller of the contact and (worst-case sender name) channel limits so
|
||||
/// the marker fits either destination.
|
||||
int markerLabelByteBudget(double lat, double lon, String flags) {
|
||||
final maxPayload = [
|
||||
maxContactMessageBytes(),
|
||||
maxChannelMessageBytes(null),
|
||||
].reduce((a, b) => a < b ? a : b);
|
||||
final overhead = utf8ByteLength(formatMarkerText(lat, lon, '', flags));
|
||||
final budget = maxPayload - overhead;
|
||||
return budget > 0 ? budget : 0;
|
||||
}
|
||||
|
||||
/// Whether the radio reports a usable position. Firmware sends 0,0 when no
|
||||
/// location is set, which must not be shared as a real marker.
|
||||
bool hasShareableLocation(double? lat, double? lon) =>
|
||||
lat != null && lon != null && isPlausibleLocation(lat, lon);
|
||||
|
||||
/// Asks for a marker label. Returns the sanitised label (or the sanitised
|
||||
/// [defaultLabel] when left empty), or null when cancelled.
|
||||
Future<String?> showMarkerLabelDialog(
|
||||
BuildContext context, {
|
||||
required double lat,
|
||||
required double lon,
|
||||
required String defaultLabel,
|
||||
required String flags,
|
||||
required String confirmText,
|
||||
}) {
|
||||
return showDialog<String>(
|
||||
context: context,
|
||||
builder: (_) => MarkerLabelDialog(
|
||||
maxBytes: markerLabelByteBudget(lat, lon, flags),
|
||||
defaultLabel: defaultLabel,
|
||||
confirmText: confirmText,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// Label prompt for a shared map marker. Owns its controller and focus node
|
||||
/// so they outlive the dialog's exit animation instead of being disposed
|
||||
/// while the field is still mounted.
|
||||
class MarkerLabelDialog extends StatefulWidget {
|
||||
const MarkerLabelDialog({
|
||||
super.key,
|
||||
required this.maxBytes,
|
||||
required this.defaultLabel,
|
||||
required this.confirmText,
|
||||
});
|
||||
|
||||
final int maxBytes;
|
||||
final String defaultLabel;
|
||||
final String confirmText;
|
||||
|
||||
@override
|
||||
State<MarkerLabelDialog> createState() => _MarkerLabelDialogState();
|
||||
}
|
||||
|
||||
class _MarkerLabelDialogState extends State<MarkerLabelDialog> {
|
||||
late final String _fittedDefault = truncateUtf8(
|
||||
sanitizeMarkerLabel(widget.defaultLabel),
|
||||
widget.maxBytes,
|
||||
);
|
||||
late final TextEditingController _controller =
|
||||
TextEditingController(text: _fittedDefault)
|
||||
..selection = TextSelection(
|
||||
baseOffset: 0,
|
||||
extentOffset: _fittedDefault.length,
|
||||
);
|
||||
final FocusNode _focusNode = FocusNode();
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_focusNode.dispose();
|
||||
_controller.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
void _submit() {
|
||||
final label = sanitizeMarkerLabel(_controller.text);
|
||||
Navigator.pop(context, label.isEmpty ? _fittedDefault : label);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final border = OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||
borderSide: BorderSide(color: scheme.outlineVariant),
|
||||
);
|
||||
return AlertDialog(
|
||||
title: Text(l10n.map_pinLabel),
|
||||
content: ByteCountedTextField(
|
||||
autofocus: true,
|
||||
focusNode: _focusNode,
|
||||
maxBytes: widget.maxBytes,
|
||||
controller: _controller,
|
||||
decoration: InputDecoration(
|
||||
hintText: l10n.map_label,
|
||||
helperText: l10n.map_labelUpdateHint,
|
||||
helperMaxLines: 3,
|
||||
helperStyle: TextStyle(color: scheme.onSurfaceVariant, fontSize: 12),
|
||||
border: border,
|
||||
enabledBorder: border,
|
||||
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,
|
||||
),
|
||||
),
|
||||
onSubmitted: (_) => _submit(),
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: Text(l10n.common_cancel),
|
||||
),
|
||||
FilledButton(onPressed: _submit, child: Text(widget.confirmText)),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
<key>com.apple.security.device.camera</key>
|
||||
<true/>
|
||||
<!-- image_picker: read photos the user explicitly chooses -->
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -19,7 +19,7 @@
|
||||
<key>com.apple.security.device.camera</key>
|
||||
<true/>
|
||||
<!-- image_picker: read photos the user explicitly chooses -->
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,235 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:meshcore_open/connector/meshcore_connector.dart';
|
||||
import 'package:meshcore_open/connector/meshcore_protocol.dart';
|
||||
import 'package:meshcore_open/models/contact.dart';
|
||||
import 'package:meshcore_open/review_mode/review_radio.dart';
|
||||
import 'package:meshcore_open/services/message_retry_service.dart';
|
||||
import 'package:meshcore_open/services/path_history_service.dart';
|
||||
import 'package:meshcore_open/services/storage_service.dart';
|
||||
import 'package:meshcore_open/storage/contact_discovery_store.dart';
|
||||
import 'package:meshcore_open/storage/prefs_manager.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
List<int> _key(int seed) => List<int>.generate(32, (i) => (seed + i) & 0xFF);
|
||||
|
||||
Map<String, dynamic> _entry(
|
||||
int seed, {
|
||||
List<int>? key,
|
||||
int lastSeen = 1000,
|
||||
Map<String, dynamic> extra = const {},
|
||||
}) => {
|
||||
'publicKey': base64Encode(key ?? _key(seed)),
|
||||
'name': 'Node $seed',
|
||||
'type': advTypeRepeater,
|
||||
'lastSeen': lastSeen,
|
||||
...extra,
|
||||
};
|
||||
|
||||
Contact _existing(int seed) => Contact(
|
||||
publicKey: Uint8List.fromList(_key(seed)),
|
||||
name: 'Existing $seed',
|
||||
type: advTypeRepeater,
|
||||
pathLength: -1,
|
||||
path: Uint8List(0),
|
||||
lastSeen: DateTime.fromMillisecondsSinceEpoch(5000),
|
||||
);
|
||||
|
||||
Future<void> _waitFor(bool Function() condition, {int seconds = 8}) async {
|
||||
final end = DateTime.now().add(Duration(seconds: seconds));
|
||||
while (!condition()) {
|
||||
if (DateTime.now().isAfter(end)) fail('Timed out waiting for condition');
|
||||
await Future<void>.delayed(const Duration(milliseconds: 25));
|
||||
}
|
||||
}
|
||||
|
||||
void main() {
|
||||
TestWidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
group('ContactDiscoveryStore.importContactsJson', () {
|
||||
final store = ContactDiscoveryStore()..setPublicKeyHex = 'aabbccddeeff';
|
||||
final now = DateTime.fromMillisecondsSinceEpoch(1000000);
|
||||
|
||||
DiscoveredContactsImportResult run(
|
||||
Object fileContent, {
|
||||
List<Contact>? existing,
|
||||
Set<String> known = const {},
|
||||
String? self,
|
||||
}) => store.importContactsJson(
|
||||
json: fileContent is String ? fileContent : jsonEncode(fileContent),
|
||||
existingContacts: existing ?? [],
|
||||
knownContactKeys: known,
|
||||
selfPublicKeyHex: self,
|
||||
now: now,
|
||||
);
|
||||
|
||||
test('an invalid entry is skipped, not the whole file', () {
|
||||
final existing = <Contact>[];
|
||||
final result = run([
|
||||
_entry(1),
|
||||
'not an object',
|
||||
{'name': 'no key'},
|
||||
{'publicKey': '%%%not base64', 'name': 'bad'},
|
||||
_entry(2, extra: {'lastSeen': 'yesterday'}),
|
||||
_entry(3),
|
||||
], existing: existing);
|
||||
expect(result.total, 6);
|
||||
expect(result.imported, 2);
|
||||
expect(result.invalid, 4);
|
||||
expect(existing.map((c) => c.name), ['Node 1', 'Node 3']);
|
||||
});
|
||||
|
||||
test('a public key that is not 32 bytes is rejected', () {
|
||||
final existing = <Contact>[];
|
||||
final result = run([
|
||||
_entry(1, key: List<int>.filled(5, 7)),
|
||||
_entry(2, key: List<int>.filled(40, 7)),
|
||||
_entry(3),
|
||||
], existing: existing);
|
||||
expect(result.imported, 1);
|
||||
expect(result.invalid, 2);
|
||||
expect(existing.single.publicKey.length, pubKeySize);
|
||||
});
|
||||
|
||||
test('imported routing paths are stripped', () {
|
||||
final existing = <Contact>[];
|
||||
run([
|
||||
_entry(
|
||||
1,
|
||||
extra: {
|
||||
'pathLength': 2,
|
||||
'path': base64Encode([0xA1, 0xB2]),
|
||||
'pathHashWidth': 1,
|
||||
'pathOverride': 1,
|
||||
'pathOverrideBytes': base64Encode([0xC3]),
|
||||
},
|
||||
),
|
||||
], existing: existing);
|
||||
final contact = existing.single;
|
||||
expect(contact.pathLength, -1);
|
||||
expect(contact.path, isEmpty);
|
||||
expect(contact.pathOverride, isNull);
|
||||
expect(contact.pathOverrideBytes, isNull);
|
||||
});
|
||||
|
||||
test('duplicates in the file, known contacts and self are skipped', () {
|
||||
final existing = [_existing(9)];
|
||||
final selfHex = pubKeyToHex(Uint8List.fromList(_key(4)));
|
||||
final knownHex = pubKeyToHex(Uint8List.fromList(_key(5)));
|
||||
final result = run(
|
||||
[_entry(1), _entry(1), _entry(4), _entry(5), _entry(9), _entry(2)],
|
||||
existing: existing,
|
||||
known: {knownHex},
|
||||
self: selfHex,
|
||||
);
|
||||
expect(result.imported, 2);
|
||||
expect(result.skipped, 4);
|
||||
expect(result.invalid, 0);
|
||||
expect(existing.length, 3);
|
||||
// An existing discovered contact is fresher and is kept as is.
|
||||
expect(existing.first.name, 'Existing 9');
|
||||
});
|
||||
|
||||
test('future timestamps are clamped to now', () {
|
||||
final existing = <Contact>[];
|
||||
run([
|
||||
_entry(
|
||||
1,
|
||||
lastSeen: now.millisecondsSinceEpoch + 999999,
|
||||
extra: {'lastMessageAt': now.millisecondsSinceEpoch + 5},
|
||||
),
|
||||
], existing: existing);
|
||||
expect(existing.single.lastSeen, now);
|
||||
expect(existing.single.lastMessageAt, now);
|
||||
});
|
||||
|
||||
test('a file that is not a JSON list throws FormatException', () {
|
||||
expect(() => run('{"publicKey": "x"}'), throwsFormatException);
|
||||
expect(() => run('not json at all'), throwsFormatException);
|
||||
expect(() => run(''), throwsFormatException);
|
||||
});
|
||||
|
||||
test('an empty list reports zero entries', () {
|
||||
final result = run(<Object>[]);
|
||||
expect(result.total, 0);
|
||||
expect(result.imported, 0);
|
||||
});
|
||||
|
||||
test('exports leave out routing paths but stay importable', () {
|
||||
final source = Contact(
|
||||
publicKey: Uint8List.fromList(_key(1)),
|
||||
name: 'Pathy',
|
||||
type: advTypeRepeater,
|
||||
pathLength: 2,
|
||||
path: Uint8List.fromList([0xA1, 0xB2]),
|
||||
lastSeen: DateTime.fromMillisecondsSinceEpoch(1000),
|
||||
);
|
||||
final exported = store.exportContactsJson([source]);
|
||||
final decoded = (jsonDecode(exported) as List).single as Map;
|
||||
expect(decoded.containsKey('path'), isFalse);
|
||||
expect(decoded.containsKey('pathLength'), isFalse);
|
||||
final existing = <Contact>[];
|
||||
final result = run(exported, existing: existing);
|
||||
expect(result.imported, 1);
|
||||
expect(existing.single.name, 'Pathy');
|
||||
});
|
||||
});
|
||||
|
||||
group('MeshCoreConnector.importDiscoveredContactsJson', () {
|
||||
late MeshCoreConnector connector;
|
||||
|
||||
setUpAll(() async {
|
||||
SharedPreferences.setMockInitialValues({});
|
||||
PrefsManager.reset();
|
||||
await PrefsManager.initialize();
|
||||
connector = MeshCoreConnector();
|
||||
final retryService = MessageRetryService();
|
||||
connector.initialize(
|
||||
retryService: retryService,
|
||||
pathHistoryService: PathHistoryService(StorageService()),
|
||||
);
|
||||
addTearDown(() {
|
||||
connector.dispose();
|
||||
retryService.dispose();
|
||||
});
|
||||
});
|
||||
|
||||
test('does nothing while disconnected', () async {
|
||||
final result = await connector.importDiscoveredContactsJson(
|
||||
jsonEncode([_entry(1)]),
|
||||
);
|
||||
expect(result.imported, 0);
|
||||
expect(connector.discoveredContacts, isEmpty);
|
||||
});
|
||||
|
||||
test('an import is trimmed to the discovered-contacts cap', () async {
|
||||
connector.reviewRadioFactoryForTest = () => ReviewRadio(
|
||||
scheduledMessageInterval: const Duration(hours: 1),
|
||||
replyDelay: const Duration(hours: 1),
|
||||
);
|
||||
await connector.connectReview();
|
||||
addTearDown(connector.disconnect);
|
||||
await _waitFor(() => connector.channels.isNotEmpty);
|
||||
|
||||
const count = MeshCoreConnector.maxDiscoveredContacts + 50;
|
||||
final entries = [
|
||||
for (var i = 0; i < count; i++)
|
||||
_entry(
|
||||
0,
|
||||
key: [i & 0xFF, (i >> 8) & 0xFF, ...List<int>.filled(30, 0x5A)],
|
||||
lastSeen: 1000 + i,
|
||||
),
|
||||
];
|
||||
final result = await connector.importDiscoveredContactsJson(
|
||||
jsonEncode(entries),
|
||||
);
|
||||
expect(result.imported, count);
|
||||
expect(
|
||||
connector.discoveredContacts.length,
|
||||
lessThanOrEqualTo(MeshCoreConnector.maxDiscoveredContacts),
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:meshcore_open/helpers/utf8_length_limiter.dart';
|
||||
import 'package:meshcore_open/l10n/app_localizations.dart';
|
||||
import 'package:meshcore_open/widgets/marker_label_dialog.dart';
|
||||
|
||||
/// Pumps a button that opens the dialog and records what it returns.
|
||||
Future<List<String?>> _open(
|
||||
WidgetTester tester, {
|
||||
String defaultLabel = 'Camp',
|
||||
}) async {
|
||||
final results = <String?>[];
|
||||
await tester.pumpWidget(
|
||||
MaterialApp(
|
||||
localizationsDelegates: AppLocalizations.localizationsDelegates,
|
||||
supportedLocales: AppLocalizations.supportedLocales,
|
||||
home: Builder(
|
||||
builder: (context) => Scaffold(
|
||||
body: TextButton(
|
||||
onPressed: () async {
|
||||
results.add(
|
||||
await showMarkerLabelDialog(
|
||||
context,
|
||||
lat: 47.5,
|
||||
lon: -122.25,
|
||||
defaultLabel: defaultLabel,
|
||||
flags: 'poi',
|
||||
confirmText: 'Share',
|
||||
),
|
||||
);
|
||||
},
|
||||
child: const Text('open'),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
await tester.tap(find.text('open'));
|
||||
await tester.pumpAndSettle();
|
||||
return results;
|
||||
}
|
||||
|
||||
void main() {
|
||||
group('marker label helpers', () {
|
||||
test('sanitizeMarkerLabel replaces the field separator and newlines', () {
|
||||
expect(sanitizeMarkerLabel(' Camp | north\nside '), 'Camp / north side');
|
||||
});
|
||||
|
||||
test('formatMarkerText cannot be split by a label', () {
|
||||
expect(
|
||||
formatMarkerText(1.5, -2.25, 'a|b', 'poi'),
|
||||
'm:1.500000,-2.250000|a/b|poi',
|
||||
);
|
||||
});
|
||||
|
||||
test('label budget keeps the whole marker within both limits', () {
|
||||
final budget = markerLabelByteBudget(-90, -180, 'poi');
|
||||
final marker = formatMarkerText(-90, -180, 'x' * budget, 'poi');
|
||||
expect(budget, greaterThan(0));
|
||||
expect(utf8ByteLength(marker), lessThanOrEqualTo(127));
|
||||
});
|
||||
|
||||
test('hasShareableLocation rejects missing and 0,0 positions', () {
|
||||
expect(hasShareableLocation(null, 10), isFalse);
|
||||
expect(hasShareableLocation(0, 0), isFalse);
|
||||
expect(hasShareableLocation(91, 0), isFalse);
|
||||
expect(hasShareableLocation(47.5, -122.25), isTrue);
|
||||
});
|
||||
});
|
||||
|
||||
group('MarkerLabelDialog', () {
|
||||
testWidgets('confirm returns the sanitised label', (tester) async {
|
||||
final results = await _open(tester);
|
||||
await tester.enterText(find.byType(TextField), 'Camp | north');
|
||||
await tester.tap(find.text('Share'));
|
||||
await tester.pumpAndSettle();
|
||||
expect(results, ['Camp / north']);
|
||||
});
|
||||
|
||||
testWidgets('keyboard Send submits, and empty falls back to default', (
|
||||
tester,
|
||||
) async {
|
||||
final results = await _open(tester, defaultLabel: 'Home');
|
||||
await tester.enterText(find.byType(TextField), ' ');
|
||||
await tester.testTextInput.receiveAction(TextInputAction.send);
|
||||
await tester.pumpAndSettle();
|
||||
expect(results, ['Home']);
|
||||
});
|
||||
|
||||
testWidgets('cancel returns null', (tester) async {
|
||||
final results = await _open(tester);
|
||||
await tester.tap(find.text('Cancel'));
|
||||
await tester.pumpAndSettle();
|
||||
expect(results, [null]);
|
||||
});
|
||||
|
||||
testWidgets('input is limited to the byte budget', (tester) async {
|
||||
final budget = markerLabelByteBudget(47.5, -122.25, 'poi');
|
||||
final results = await _open(tester);
|
||||
await tester.enterText(find.byType(TextField), 'y' * (budget + 50));
|
||||
await tester.tap(find.text('Share'));
|
||||
await tester.pumpAndSettle();
|
||||
expect(utf8ByteLength(results.single!), lessThanOrEqualTo(budget));
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user