Connect a radio: one page with Bluetooth, USB and TCP tabs

Replace the scanner, USB and TCP screens with one page and a tab for
each, so the design and the connection options are consistent. Fixes
#699, where the USB screen's Bluetooth button went back to the main
screens instead of the scanner.

The "Need a new node?" banner shows on every tab, with a close button
that hides it until the page is opened again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
celsoazevedoandClaude Opus 5.5 committed 2026-11-26 08:57:32 +00:00
1 parent 86b3e252c6
commit 9104b4a60a
60 files changed
+989 -1474

No files matched your search

+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore – Отворена версия",
"scanner_scanning": "Сканиране за устройства...",
"scanner_connecting": "Свързвам се...",
"scanner_disconnecting": "Изключване...",
@@ -2164,12 +2163,12 @@
"map_guessedLocation": "Предполагано местоположение",
"map_showGuessedLocations": "Покажете местоположенията на предположените възли.",
"connectionChoiceUsbLabel": "USB",
"usbScreenTitle": "Свържете се чрез USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenSubtitle": "Изберете открития сериен уред и свържете директно към вашия MeshCore възел.",
"usbScreenStatus": "Изберете USB устройство",
"usbScreenNote": "USB серийната връзка е активна на поддържаните Android устройства и настолни платформи.",
"usbScreenEmptyState": "Няма открити USB устройства. Включете едно и опитайте отново.",
"usbScreenEmptyStateAuto": "Няма открити USB устройства. Включете едно и то ще се появи тук.",
"usbErrorPermissionDenied": "Не беше разрешено достъпът през USB.",
"usbErrorDeviceMissing": "Избраното USB устройство вече не е налично.",
"usbErrorInvalidPort": "Изберете валитно USB устройство.",
@@ -2189,18 +2188,9 @@
}
}
},
"usbStatus_connecting": "Свързване към USB устройство...",
"usbConnectionFailed": "Неуспешно свързване през USB: {error}",
"usbStatus_notConnected": "Изберете USB устройство",
"usbStatus_searching": "Търсене на USB устройства...",
"usbErrorConnectTimedOut": "Връзката прекъсна. Уверете се, че устройството има софтуер за USB връзка.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2209,13 +2199,10 @@
}
},
"tcpHostHint": "192.168.40.10",
"tcpScreenTitle": "Свържете се чрез TCP",
"connectionChoiceTcpLabel": "TCP",
"tcpHostLabel": "IP адрес",
"tcpPortLabel": "Пристанище",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Въведете крайната точка и свържете се.",
"tcpStatus_connectingTo": "Свързване към {endpoint}...",
"tcpErrorHostRequired": "Необходим е IP адрес.",
"tcpErrorPortInvalid": "Портът трябва да бъде между 1 и 65535.",
"tcpErrorUnsupported": "Транспортът чрез TCP не се поддържа на тази платформа.",
@@ -3412,7 +3399,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Свързан с",
"usbChooseSerialPort": "Изберете сериен порт",
"neighbors_durationSeconds": "{seconds}с",
+1 -15
View File
@@ -90,24 +90,13 @@
},
"common_autoRefresh": "Automatické obnovení",
"common_interval": "Interval",
"scanner_title": "MeshCore Open",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Připojení přes TCP",
"tcpHostLabel": "Koncový bod",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpPortLabel": "Port",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Zadejte koncový bod a připojte se",
"tcpStatus_connectingTo": "Připojování k {endpoint}...",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"tcpErrorHostRequired": "Hostitel je povinný.",
"tcpErrorPortInvalid": "Port musí být mezi 1 a 65535.",
"tcpErrorUnsupported": "Přenos přes TCP není na této platformě podporován.",
@@ -120,11 +109,11 @@
}
}
},
"usbScreenTitle": "Připojení přes USB",
"usbScreenSubtitle": "Vyberte rozpoznané sériové zařízení a připojte se přímo ke svému uzlu MeshCore.",
"usbScreenStatus": "Vyberte zařízení USB",
"usbScreenNote": "Sériové USB funguje na podporovaných zařízeních Android a na desktopových platformách.",
"usbScreenEmptyState": "Nebyla nalezena žádná zařízení USB. Připojte nějaké a obnovte.",
"usbScreenEmptyStateAuto": "Nebyla nalezena žádná zařízení USB. Připojte nějaké a zobrazí se zde.",
"usbErrorPermissionDenied": "Oprávnění k USB bylo odepřeno.",
"usbErrorDeviceMissing": "Vybrané zařízení USB už není dostupné.",
"usbErrorInvalidPort": "Vyberte platné zařízení USB.",
@@ -138,8 +127,6 @@
"usbErrorPortClosed": "Připojení USB není otevřené.",
"usbErrorConnectTimedOut": "Časový limit připojení vypršel. Ujistěte se, že zařízení má firmware USB Companion.",
"usbFallbackDeviceName": "Zařízení Web Serial",
"usbStatus_notConnected": "Vyberte zařízení USB",
"usbStatus_connecting": "Připojování k zařízení USB...",
"usbStatus_searching": "Hledání zařízení USB...",
"usbConnectionFailed": "Připojení USB se nezdařilo: {error}",
"@usbConnectionFailed": {
@@ -4016,7 +4003,6 @@
}
}
},
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Připojeno k",
"usbChooseSerialPort": "Vyberte sériový port",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore Open",
"scanner_scanning": "Suche nach Geräten...",
"scanner_connecting": "Verbinde...",
"scanner_disconnecting": "Trenne...",
@@ -2292,11 +2291,11 @@
"map_guessedLocation": "Vermuteter Standort",
"usbScreenSubtitle": "Wählen Sie ein erkanntes serielles Gerät aus und verbinden Sie es direkt mit Ihrem MeshCore-Knoten.",
"connectionChoiceUsbLabel": "USB",
"usbScreenTitle": "Über USB verbinden",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenStatus": "Wählen Sie ein USB-Gerät aus",
"usbScreenNote": "USB-Seriell ist auf unterstützten Android-Geräten und Desktop-Plattformen verfügbar.",
"usbScreenEmptyState": "Keine USB-Geräte gefunden. Schließen Sie eines an und aktualisieren Sie.",
"usbScreenEmptyStateAuto": "Keine USB-Geräte gefunden. Schließen Sie eines an, dann erscheint es hier.",
"usbErrorPermissionDenied": "Die USB-Berechtigung wurde abgelehnt.",
"usbErrorDeviceMissing": "Das ausgewählte USB-Gerät ist nicht mehr verfügbar.",
"usbErrorInvalidPort": "Wählen Sie ein gültiges USB-Gerät aus.",
@@ -2317,17 +2316,8 @@
}
},
"usbStatus_searching": "Suche nach USB-Geräten...",
"usbStatus_notConnected": "Wählen Sie ein USB-Gerät aus",
"usbStatus_connecting": "Verbindung zum USB-Gerät wird hergestellt...",
"usbConnectionFailed": "USB-Verbindung fehlgeschlagen: {error}",
"usbErrorConnectTimedOut": "Verbindung konnte nicht hergestellt werden. Stellen Sie sicher, dass das Gerät über USB-Companion-Firmware verfügt.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2338,11 +2328,8 @@
"tcpHostLabel": "Endpunkt",
"connectionChoiceTcpLabel": "TCP",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpScreenTitle": "Verbinden über TCP",
"tcpPortLabel": "Port",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Endpunkt eingeben und verbinden",
"tcpStatus_connectingTo": "Verbindung zu {endpoint}...",
"tcpErrorHostRequired": "Ein Endpunkt ist erforderlich.",
"tcpErrorPortInvalid": "Die Portnummer muss zwischen 1 und 65535 liegen.",
"tcpErrorUnsupported": "TCP wird auf dieser Plattform nicht unterstützt.",
@@ -3547,7 +3534,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Verbunden mit",
"usbChooseSerialPort": "Serielle Schnittstelle wählen",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -91,24 +91,13 @@
},
"common_autoRefresh": "Autorefresh",
"common_interval": "Interval",
"scanner_title": "MeshCore Open",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Connect over TCP",
"tcpHostLabel": "Endpoint",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpPortLabel": "Port",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Enter endpoint and connect",
"tcpStatus_connectingTo": "Connecting to {endpoint}...",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"tcpErrorHostRequired": "Host is required.",
"tcpErrorPortInvalid": "Port must be between 1 and 65535.",
"tcpErrorUnsupported": "TCP transport is not supported on this platform.",
@@ -121,11 +110,11 @@
}
}
},
"usbScreenTitle": "Connect over USB",
"usbScreenSubtitle": "Choose a detected serial device and connect directly to your MeshCore node.",
"usbScreenStatus": "Select a USB device",
"usbScreenNote": "USB serial is active on supported Android devices and desktop platforms.",
"usbScreenEmptyState": "No USB devices found. Plug one in and refresh.",
"usbScreenEmptyStateAuto": "No USB devices found. Plug one in and it shows up here.",
"usbErrorPermissionDenied": "USB permission was denied.",
"usbErrorDeviceMissing": "The selected USB device is no longer available.",
"usbErrorInvalidPort": "Select a valid USB device.",
@@ -139,8 +128,6 @@
"usbErrorPortClosed": "The USB connection is not open.",
"usbErrorConnectTimedOut": "Connection timed out. Make sure the device has USB Companion firmware.",
"usbFallbackDeviceName": "Web Serial Device",
"usbStatus_notConnected": "Select a USB device",
"usbStatus_connecting": "Connecting to USB device...",
"usbStatus_searching": "Searching for USB devices...",
"usbConnectionFailed": "USB connection failed: {error}",
"@usbConnectionFailed": {
@@ -4077,7 +4064,6 @@
"@contacts_keyPrefixSemantics": {"placeholders": {"prefix": {"type": "String"}}},
"community_shortId": "ID: {id}…",
"@community_shortId": {"placeholders": {"id": {"type": "String"}}},
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Connected to",
"usbChooseSerialPort": "Choose serial port",
"neighbors_durationSeconds": "{seconds}s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore Open",
"scanner_scanning": "Escaneando dispositivos...",
"scanner_connecting": "Conectando...",
"scanner_disconnecting": "Desconectando...",
@@ -2221,13 +2220,13 @@
},
"map_guessedLocation": "Ubicación estimada",
"map_showGuessedLocations": "Mostrar las ubicaciones estimadas de los nodos.",
"usbScreenTitle": "Conecte mediante USB",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenSubtitle": "Seleccione el dispositivo de serie detectado y conéctelo directamente a su nodo MeshCore.",
"usbScreenStatus": "Seleccione un dispositivo USB",
"usbScreenNote": "La comunicación serial a través de USB está activa en dispositivos Android compatibles y en plataformas de escritorio.",
"usbScreenEmptyState": "No se encontraron dispositivos USB. Conecte uno y vuelva a intentar.",
"usbScreenEmptyStateAuto": "No se encontraron dispositivos USB. Conecte uno y aparecerá aquí.",
"usbErrorPermissionDenied": "Se denegó el permiso de acceso a través de USB.",
"usbErrorDeviceMissing": "El dispositivo USB seleccionado ya no está disponible.",
"usbErrorInvalidPort": "Seleccione un dispositivo USB válido.",
@@ -2247,18 +2246,9 @@
}
}
},
"usbStatus_connecting": "Conectándose al dispositivo USB...",
"usbStatus_searching": "Buscando dispositivos USB...",
"usbStatus_notConnected": "Seleccione un dispositivo USB",
"usbConnectionFailed": "Error al conectar mediante USB: {error}",
"usbErrorConnectTimedOut": "La conexión ha caducado. Asegúrese de que el dispositivo tenga el firmware USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2266,14 +2256,11 @@
}
}
},
"tcpScreenTitle": "Establecer conexión a través de TCP",
"connectionChoiceTcpLabel": "TCP",
"tcpHostHint": "192.168.40.10",
"tcpHostLabel": "Dirección IP",
"tcpPortLabel": "Puerto",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Ingrese la dirección final y conecte.",
"tcpStatus_connectingTo": "Conectándose a {endpoint}...",
"tcpErrorHostRequired": "Se requiere la dirección IP.",
"tcpErrorPortInvalid": "El puerto debe estar entre 1 y 65535.",
"tcpErrorUnsupported": "El protocolo de transporte TCP no está soportado en esta plataforma.",
@@ -3424,7 +3411,6 @@
"contacts_advertFailed": "No se pudo enviar el anuncio",
"contacts_manageGroups": "Gestionar grupos",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Conectado a",
"usbChooseSerialPort": "Elegir puerto serie",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore Open",
"scanner_scanning": "Recherche de périphériques...",
"scanner_connecting": "Connexion en cours...",
"scanner_disconnecting": "Déconnexion...",
@@ -2215,12 +2214,12 @@
"map_showGuessedLocations": "Afficher les emplacements estimés des nœuds",
"map_guessedLocation": "Localisation estimée",
"connectionChoiceUsbLabel": "USB",
"usbScreenTitle": "Connectez via USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenSubtitle": "Sélectionnez un périphérique série détecté et connectez-vous directement à votre nœud MeshCore.",
"usbScreenStatus": "Sélectionnez un périphérique USB",
"usbScreenNote": "La communication série USB est active sur les appareils Android et les plateformes de bureau compatibles.",
"usbScreenEmptyState": "Aucun périphérique USB n'a été trouvé. Veuillez en brancher un et rafraîchir la page.",
"usbScreenEmptyStateAuto": "Aucun périphérique USB n'a été trouvé. Veuillez en brancher un et il apparaîtra ici.",
"usbErrorPermissionDenied": "L'accès via USB a été refusé.",
"usbErrorDeviceMissing": "Le périphérique USB sélectionné n'est plus disponible.",
"usbErrorInvalidPort": "Sélectionnez un périphérique USB valide.",
@@ -2240,18 +2239,9 @@
}
}
},
"usbStatus_notConnected": "Sélectionnez un périphérique USB",
"usbConnectionFailed": "Échec de la connexion USB : {error}",
"usbStatus_connecting": "Connexion au périphérique USB...",
"usbStatus_searching": "Recherche de périphériques USB...",
"usbErrorConnectTimedOut": "La connexion a expiré. Assurez-vous que l'appareil dispose du firmware USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2261,12 +2251,9 @@
},
"tcpHostLabel": "Adresse IP",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Établir une connexion via TCP",
"tcpHostHint": "192.168.40.10",
"tcpPortLabel": "Port",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Entrez l'adresse de destination et connectez-vous.",
"tcpStatus_connectingTo": "Connexion à {endpoint}...",
"tcpErrorHostRequired": "Une adresse IP est obligatoire.",
"tcpErrorPortInvalid": "La taille du port doit être comprise entre 1 et 65535.",
"tcpErrorUnsupported": "Le protocole TCP n'est pas pris en charge sur cette plateforme.",
@@ -3424,7 +3411,6 @@
"contacts_advertFailed": "Impossible d'envoyer l'annonce",
"contacts_manageGroups": "Gérer les groupes",
"community_shortId": "ID : {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Connecté à",
"usbChooseSerialPort": "Choisir le port série",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -48,24 +48,13 @@
}
}
},
"scanner_title": "MeshCore Open",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Csatlakozzon TCP-n keresztül",
"tcpHostLabel": "Végpont",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpPortLabel": "Kikötő",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Adja meg a végpontot, és csatlakozzon",
"tcpStatus_connectingTo": "Csatlakozás a következőhöz: {endpoint}...",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"tcpErrorHostRequired": "Házigazda szükséges.",
"tcpErrorPortInvalid": "A portnak 1 és 65535 között kell lennie.",
"tcpErrorUnsupported": "A TCP-átvitel nem támogatott ezen a platformon.",
@@ -78,11 +67,11 @@
}
}
},
"usbScreenTitle": "Csatlakoztassa USB-n keresztül",
"usbScreenSubtitle": "Válasszon egy észlelt soros eszközt, és csatlakozzon közvetlenül a MeshCore csomóponthoz.",
"usbScreenStatus": "Válasszon ki egy USB-eszközt",
"usbScreenNote": "Az USB-soros aktív a támogatott Android-eszközökön és asztali platformokon.",
"usbScreenEmptyState": "Nem található USB-eszköz. Csatlakoztasson egyet, és frissítse.",
"usbScreenEmptyStateAuto": "Nem található USB-eszköz. Csatlakoztasson egyet, és megjelenik itt.",
"usbErrorPermissionDenied": "Az USB-engedély megtagadva.",
"usbErrorDeviceMissing": "A kiválasztott USB-eszköz már nem érhető el.",
"usbErrorInvalidPort": "Válasszon ki egy érvényes USB-eszközt.",
@@ -96,8 +85,6 @@
"usbErrorPortClosed": "Az USB-csatlakozás nincs nyitva.",
"usbErrorConnectTimedOut": "A kapcsolat időtúllépése lejárt. Győződjön meg arról, hogy az eszköz rendelkezik USB Companion firmware-rel.",
"usbFallbackDeviceName": "Web soros eszköz",
"usbStatus_notConnected": "Válasszon ki egy USB-eszközt",
"usbStatus_connecting": "Csatlakozás USB-eszközhöz...",
"usbStatus_searching": "USB-eszközök keresése...",
"usbConnectionFailed": "USB csatlakozás sikertelen: {error}",
"@usbConnectionFailed": {
@@ -3451,7 +3438,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Csatlakozva:",
"usbChooseSerialPort": "Soros port kiválasztása",
"neighbors_durationSeconds": "{seconds} mp",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore Open",
"scanner_scanning": "Scansione in corso per i dispositivi...",
"scanner_connecting": "Connessione...",
"scanner_disconnecting": "Disconnessione...",
@@ -2228,10 +2227,10 @@
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenSubtitle": "Seleziona il dispositivo seriale rilevato e connettilo direttamente al tuo nodo MeshCore.",
"connectionChoiceUsbLabel": "USB",
"usbScreenTitle": "Connessione tramite USB",
"usbScreenStatus": "Seleziona un dispositivo USB",
"usbScreenNote": "La comunicazione seriale USB è attiva sui dispositivi Android supportati e sulle piattaforme desktop.",
"usbScreenEmptyState": "Nessun dispositivo USB rilevato. Collegare uno e aggiornare.",
"usbScreenEmptyStateAuto": "Nessun dispositivo USB rilevato. Collegare uno e apparirà qui.",
"usbErrorPermissionDenied": "È stato negato l'accesso tramite USB.",
"usbErrorDeviceMissing": "Il dispositivo USB selezionato non è più disponibile.",
"usbErrorInvalidPort": "Seleziona un dispositivo USB valido.",
@@ -2253,16 +2252,7 @@
},
"usbStatus_searching": "Ricerca di dispositivi USB...",
"usbConnectionFailed": "Errore nella connessione USB: {error}",
"usbStatus_notConnected": "Seleziona un dispositivo USB",
"usbStatus_connecting": "Connessione al dispositivo USB...",
"usbErrorConnectTimedOut": "La connessione è scaduta. Assicurarsi che il dispositivo abbia il firmware USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2273,11 +2263,8 @@
"tcpHostLabel": "Indirizzo IP",
"tcpHostHint": "192.168.40.10",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Stabilire una connessione tramite TCP",
"tcpPortLabel": "Porta",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Inserisci l'endpoint e connettiti.",
"tcpStatus_connectingTo": "Connessione a {endpoint}...",
"tcpErrorHostRequired": "È necessario fornire un indirizzo IP.",
"tcpErrorPortInvalid": "La dimensione della porta deve essere compresa tra 1 e 65535.",
"tcpErrorUnsupported": "Il protocollo TCP non è supportato su questa piattaforma.",
@@ -3424,7 +3411,6 @@
"contacts_advertFailed": "Impossibile inviare l'annuncio",
"contacts_manageGroups": "Gestisci gruppi",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Connesso a",
"usbChooseSerialPort": "Scegli porta seriale",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -54,24 +54,13 @@
}
}
},
"scanner_title": "MeshCore Open",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "TCP で接続",
"tcpHostLabel": "接続先",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpPortLabel": "ポート",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "接続先を入力して接続してください",
"tcpStatus_connectingTo": "{endpoint} への接続中...",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"tcpErrorHostRequired": "接続先は必須です。",
"tcpErrorPortInvalid": "ポート番号は1から65535の範囲で指定してください。",
"tcpErrorUnsupported": "このプラットフォームでは、TCP 転送はサポートされていません。",
@@ -84,11 +73,11 @@
}
}
},
"usbScreenTitle": "USB経由で接続",
"usbScreenSubtitle": "検出されたシリアルデバイスを選択して、MeshCore ノードに直接接続します。",
"usbScreenStatus": "USB デバイスを選択してください",
"usbScreenNote": "USB シリアルは、対応する Android デバイスとデスクトップ プラットフォームで利用できます。",
"usbScreenEmptyState": "USB デバイスが見つかりません。接続してから再度更新してください。",
"usbScreenEmptyStateAuto": "USB デバイスが見つかりません。接続するとここに表示されます。",
"usbErrorPermissionDenied": "USBへのアクセス許可が拒否されました。",
"usbErrorDeviceMissing": "選択されたUSBデバイスは、もう利用できません。",
"usbErrorInvalidPort": "有効なUSBデバイスを選択してください。",
@@ -102,8 +91,6 @@
"usbErrorPortClosed": "USB 接続は開かれていません。",
"usbErrorConnectTimedOut": "接続がタイムアウトしました。デバイスにUSBコンパニオンファームウェアがインストールされていることを確認してください。",
"usbFallbackDeviceName": "ウェブシリアルデバイス",
"usbStatus_notConnected": "USB デバイスを選択してください",
"usbStatus_connecting": "USBデバイスへの接続中...",
"usbStatus_searching": "USBデバイスを検索中...",
"usbConnectionFailed": "USB接続に失敗しました:{error}",
"@usbConnectionFailed": {
@@ -3424,7 +3411,6 @@
"contacts_advertFailed": "アドバートを送信できませんでした",
"contacts_manageGroups": "グループを管理",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "接続先",
"usbChooseSerialPort": "シリアルポートを選択",
"neighbors_durationSeconds": "{seconds}秒",
+1 -15
View File
@@ -48,24 +48,13 @@
}
}
},
"scanner_title": "MeshCore Open",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "블루투스",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "TCP를 통해 연결",
"tcpHostLabel": "IP 주소",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpPortLabel": "포트",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "엔드포인트를 입력한 뒤 연결하세요.",
"tcpStatus_connectingTo": "{endpoint}에 연결 중...",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"tcpErrorHostRequired": "IP 주소가 필요합니다.",
"tcpErrorPortInvalid": "포트 번호는 1에서 65535 사이여야 합니다.",
"tcpErrorUnsupported": "이 플랫폼에서는 TCP 트랜스포트를 지원하지 않습니다.",
@@ -78,11 +67,11 @@
}
}
},
"usbScreenTitle": "USB를 통해 연결",
"usbScreenSubtitle": "감지된 시리얼 장치를 선택하고 MeshCore 노드에 직접 연결하십시오.",
"usbScreenStatus": "USB 장치를 선택하세요.",
"usbScreenNote": "USB 직렬 통신은 지원되는 Android 기기 및 데스크톱 플랫폼에서 사용할 수 있습니다.",
"usbScreenEmptyState": "USB 장치가 없습니다. 하나 연결한 뒤 새로고침하세요.",
"usbScreenEmptyStateAuto": "USB 장치가 없습니다. 하나 연결하면 여기에 표시됩니다.",
"usbErrorPermissionDenied": "USB 접근 권한이 거부되었습니다.",
"usbErrorDeviceMissing": "선택한 USB 장치를 더 이상 사용할 수 없습니다.",
"usbErrorInvalidPort": "유효한 USB 장치를 선택하세요.",
@@ -96,8 +85,6 @@
"usbErrorPortClosed": "USB 연결이 열려 있지 않습니다.",
"usbErrorConnectTimedOut": "연결 시간이 초과되었습니다. 장치에 USB Companion 펌웨어가 있는지 확인하세요.",
"usbFallbackDeviceName": "웹 시리얼 장치",
"usbStatus_notConnected": "USB 장치를 선택합니다.",
"usbStatus_connecting": "USB 장치에 연결 중...",
"usbStatus_searching": "USB 장치 검색 중...",
"usbConnectionFailed": "USB 연결 실패: {error}",
"@usbConnectionFailed": {
@@ -3424,7 +3411,6 @@
"contacts_advertFailed": "어드버트를 보낼 수 없습니다",
"contacts_manageGroups": "그룹 관리",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "연결 대상",
"usbChooseSerialPort": "시리얼 포트 선택",
"neighbors_durationSeconds": "{seconds}초",
+6 -48
View File
@@ -433,12 +433,6 @@ abstract class AppLocalizations {
/// **'Interval'**
String get common_interval;
/// No description provided for @scanner_title.
///
/// In en, this message translates to:
/// **'MeshCore Open'**
String get scanner_title;
/// No description provided for @connectionChoiceUsbLabel.
///
/// In en, this message translates to:
@@ -457,12 +451,6 @@ abstract class AppLocalizations {
/// **'TCP'**
String get connectionChoiceTcpLabel;
/// No description provided for @tcpScreenTitle.
///
/// In en, this message translates to:
/// **'Connect over TCP'**
String get tcpScreenTitle;
/// No description provided for @tcpHostLabel.
///
/// In en, this message translates to:
@@ -487,18 +475,6 @@ abstract class AppLocalizations {
/// **'5000'**
String get tcpPortHint;
/// No description provided for @tcpStatus_notConnected.
///
/// In en, this message translates to:
/// **'Enter endpoint and connect'**
String get tcpStatus_notConnected;
/// No description provided for @tcpStatus_connectingTo.
///
/// In en, this message translates to:
/// **'Connecting to {endpoint}...'**
String tcpStatus_connectingTo(String endpoint);
/// No description provided for @tcpErrorHostRequired.
///
/// In en, this message translates to:
@@ -529,12 +505,6 @@ abstract class AppLocalizations {
/// **'TCP connection failed: {error}'**
String tcpConnectionFailed(String error);
/// No description provided for @usbScreenTitle.
///
/// In en, this message translates to:
/// **'Connect over USB'**
String get usbScreenTitle;
/// No description provided for @usbScreenSubtitle.
///
/// In en, this message translates to:
@@ -559,6 +529,12 @@ abstract class AppLocalizations {
/// **'No USB devices found. Plug one in and refresh.'**
String get usbScreenEmptyState;
/// No description provided for @usbScreenEmptyStateAuto.
///
/// In en, this message translates to:
/// **'No USB devices found. Plug one in and it shows up here.'**
String get usbScreenEmptyStateAuto;
/// No description provided for @usbErrorPermissionDenied.
///
/// In en, this message translates to:
@@ -637,18 +613,6 @@ abstract class AppLocalizations {
/// **'Web Serial Device'**
String get usbFallbackDeviceName;
/// No description provided for @usbStatus_notConnected.
///
/// In en, this message translates to:
/// **'Select a USB device'**
String get usbStatus_notConnected;
/// No description provided for @usbStatus_connecting.
///
/// In en, this message translates to:
/// **'Connecting to USB device...'**
String get usbStatus_connecting;
/// No description provided for @usbStatus_searching.
///
/// In en, this message translates to:
@@ -12256,12 +12220,6 @@ abstract class AppLocalizations {
/// **'ID: {id}…'**
String community_shortId(String id);
/// No description provided for @tcpSectionTitle.
///
/// In en, this message translates to:
/// **'TCP / IP'**
String get tcpSectionTitle;
/// No description provided for @tcpConnectedToHeader.
///
/// In en, this message translates to:
+4 -26
View File
@@ -179,9 +179,6 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get common_interval => 'Интервал';
@override
String get scanner_title => 'MeshCore – Отворена версия';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Свържете се чрез TCP';
@override
String get tcpHostLabel => 'IP адрес';
@@ -206,14 +200,6 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Въведете крайната точка и свържете се.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Свързване към $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Необходим е IP адрес.';
@@ -232,9 +218,6 @@ class AppLocalizationsBg extends AppLocalizations {
return 'Неуспешно е установено TCP връзката: $error';
}
@override
String get usbScreenTitle => 'Свържете се чрез USB';
@override
String get usbScreenSubtitle =>
'Изберете открития сериен уред и свържете директно към вашия MeshCore възел.';
@@ -250,6 +233,10 @@ class AppLocalizationsBg extends AppLocalizations {
String get usbScreenEmptyState =>
'Няма открити USB устройства. Включете едно и опитайте отново.';
@override
String get usbScreenEmptyStateAuto =>
'Няма открити USB устройства. Включете едно и то ще се появи тук.';
@override
String get usbErrorPermissionDenied => 'Не беше разрешено достъпът през USB.';
@@ -296,12 +283,6 @@ class AppLocalizationsBg extends AppLocalizations {
String get usbFallbackDeviceName =>
'Устройство за четене на уеб серийни данни';
@override
String get usbStatus_notConnected => 'Изберете USB устройство';
@override
String get usbStatus_connecting => 'Свързване към USB устройство...';
@override
String get usbStatus_searching => 'Търсене на USB устройства...';
@@ -7373,9 +7354,6 @@ class AppLocalizationsBg extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Свързан с';
+4 -26
View File
@@ -181,9 +181,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get common_interval => 'Interval';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -193,9 +190,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Připojení přes TCP';
@override
String get tcpHostLabel => 'Koncový bod';
@@ -208,14 +202,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Zadejte koncový bod a připojte se';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Připojování k $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Hostitel je povinný.';
@@ -234,9 +220,6 @@ class AppLocalizationsCs extends AppLocalizations {
return 'Připojení TCP se nezdařilo: $error';
}
@override
String get usbScreenTitle => 'Připojení přes USB';
@override
String get usbScreenSubtitle =>
'Vyberte rozpoznané sériové zařízení a připojte se přímo ke svému uzlu MeshCore.';
@@ -252,6 +235,10 @@ class AppLocalizationsCs extends AppLocalizations {
String get usbScreenEmptyState =>
'Nebyla nalezena žádná zařízení USB. Připojte nějaké a obnovte.';
@override
String get usbScreenEmptyStateAuto =>
'Nebyla nalezena žádná zařízení USB. Připojte nějaké a zobrazí se zde.';
@override
String get usbErrorPermissionDenied => 'Oprávnění k USB bylo odepřeno.';
@@ -295,12 +282,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Zařízení Web Serial';
@override
String get usbStatus_notConnected => 'Vyberte zařízení USB';
@override
String get usbStatus_connecting => 'Připojování k zařízení USB...';
@override
String get usbStatus_searching => 'Hledání zařízení USB...';
@@ -7356,9 +7337,6 @@ class AppLocalizationsCs extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Připojeno k';
+4 -27
View File
@@ -179,9 +179,6 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get common_interval => 'Intervall';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Verbinden über TCP';
@override
String get tcpHostLabel => 'Endpunkt';
@@ -206,14 +200,6 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Endpunkt eingeben und verbinden';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Verbindung zu $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Ein Endpunkt ist erforderlich.';
@@ -233,9 +219,6 @@ class AppLocalizationsDe extends AppLocalizations {
return 'TCP-Verbindung fehlgeschlagen: $error';
}
@override
String get usbScreenTitle => 'Über USB verbinden';
@override
String get usbScreenSubtitle =>
'Wählen Sie ein erkanntes serielles Gerät aus und verbinden Sie es direkt mit Ihrem MeshCore-Knoten.';
@@ -251,6 +234,10 @@ class AppLocalizationsDe extends AppLocalizations {
String get usbScreenEmptyState =>
'Keine USB-Geräte gefunden. Schließen Sie eines an und aktualisieren Sie.';
@override
String get usbScreenEmptyStateAuto =>
'Keine USB-Geräte gefunden. Schließen Sie eines an, dann erscheint es hier.';
@override
String get usbErrorPermissionDenied =>
'Die USB-Berechtigung wurde abgelehnt.';
@@ -298,13 +285,6 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Web-Serial-Gerät';
@override
String get usbStatus_notConnected => 'Wählen Sie ein USB-Gerät aus';
@override
String get usbStatus_connecting =>
'Verbindung zum USB-Gerät wird hergestellt...';
@override
String get usbStatus_searching => 'Suche nach USB-Geräten...';
@@ -7384,9 +7364,6 @@ class AppLocalizationsDe extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Verbunden mit';
+4 -26
View File
@@ -178,9 +178,6 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get common_interval => 'Interval';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -190,9 +187,6 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Connect over TCP';
@override
String get tcpHostLabel => 'Endpoint';
@@ -205,14 +199,6 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Enter endpoint and connect';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Connecting to $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Host is required.';
@@ -231,9 +217,6 @@ class AppLocalizationsEn extends AppLocalizations {
return 'TCP connection failed: $error';
}
@override
String get usbScreenTitle => 'Connect over USB';
@override
String get usbScreenSubtitle =>
'Choose a detected serial device and connect directly to your MeshCore node.';
@@ -249,6 +232,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get usbScreenEmptyState =>
'No USB devices found. Plug one in and refresh.';
@override
String get usbScreenEmptyStateAuto =>
'No USB devices found. Plug one in and it shows up here.';
@override
String get usbErrorPermissionDenied => 'USB permission was denied.';
@@ -293,12 +280,6 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Web Serial Device';
@override
String get usbStatus_notConnected => 'Select a USB device';
@override
String get usbStatus_connecting => 'Connecting to USB device...';
@override
String get usbStatus_searching => 'Searching for USB devices...';
@@ -7272,9 +7253,6 @@ class AppLocalizationsEn extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Connected to';
+4 -26
View File
@@ -179,9 +179,6 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get common_interval => 'Intervalo';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Establecer conexión a través de TCP';
@override
String get tcpHostLabel => 'Dirección IP';
@@ -206,14 +200,6 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Ingrese la dirección final y conecte.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Conectándose a $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Se requiere la dirección IP.';
@@ -232,9 +218,6 @@ class AppLocalizationsEs extends AppLocalizations {
return 'Error en la conexión TCP: $error';
}
@override
String get usbScreenTitle => 'Conecte mediante USB';
@override
String get usbScreenSubtitle =>
'Seleccione el dispositivo de serie detectado y conéctelo directamente a su nodo MeshCore.';
@@ -250,6 +233,10 @@ class AppLocalizationsEs extends AppLocalizations {
String get usbScreenEmptyState =>
'No se encontraron dispositivos USB. Conecte uno y vuelva a intentar.';
@override
String get usbScreenEmptyStateAuto =>
'No se encontraron dispositivos USB. Conecte uno y aparecerá aquí.';
@override
String get usbErrorPermissionDenied =>
'Se denegó el permiso de acceso a través de USB.';
@@ -297,12 +284,6 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Dispositivo de serie web';
@override
String get usbStatus_notConnected => 'Seleccione un dispositivo USB';
@override
String get usbStatus_connecting => 'Conectándose al dispositivo USB...';
@override
String get usbStatus_searching => 'Buscando dispositivos USB...';
@@ -7370,9 +7351,6 @@ class AppLocalizationsEs extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Conectado a';
+4 -27
View File
@@ -179,9 +179,6 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get common_interval => 'Intervalle';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Établir une connexion via TCP';
@override
String get tcpHostLabel => 'Adresse IP';
@@ -206,15 +200,6 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected =>
'Entrez l\'adresse de destination et connectez-vous.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Connexion à $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Une adresse IP est obligatoire.';
@@ -234,9 +219,6 @@ class AppLocalizationsFr extends AppLocalizations {
return 'Échec de la connexion TCP : $error';
}
@override
String get usbScreenTitle => 'Connectez via USB';
@override
String get usbScreenSubtitle =>
'Sélectionnez un périphérique série détecté et connectez-vous directement à votre nœud MeshCore.';
@@ -252,6 +234,10 @@ class AppLocalizationsFr extends AppLocalizations {
String get usbScreenEmptyState =>
'Aucun périphérique USB n\'a été trouvé. Veuillez en brancher un et rafraîchir la page.';
@override
String get usbScreenEmptyStateAuto =>
'Aucun périphérique USB n\'a été trouvé. Veuillez en brancher un et il apparaîtra ici.';
@override
String get usbErrorPermissionDenied => 'L\'accès via USB a été refusé.';
@@ -299,12 +285,6 @@ class AppLocalizationsFr extends AppLocalizations {
String get usbFallbackDeviceName =>
'Dispositif de communication série sur le Web';
@override
String get usbStatus_notConnected => 'Sélectionnez un périphérique USB';
@override
String get usbStatus_connecting => 'Connexion au périphérique USB...';
@override
String get usbStatus_searching => 'Recherche de périphériques USB...';
@@ -7389,9 +7369,6 @@ class AppLocalizationsFr extends AppLocalizations {
return 'ID : $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Connecté à';
+4 -26
View File
@@ -179,9 +179,6 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get common_interval => 'Intervallum';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Csatlakozzon TCP-n keresztül';
@override
String get tcpHostLabel => 'Végpont';
@@ -206,14 +200,6 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Adja meg a végpontot, és csatlakozzon';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Csatlakozás a következőhöz: $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Házigazda szükséges.';
@@ -232,9 +218,6 @@ class AppLocalizationsHu extends AppLocalizations {
return 'A TCP-kapcsolat sikertelen: $error';
}
@override
String get usbScreenTitle => 'Csatlakoztassa USB-n keresztül';
@override
String get usbScreenSubtitle =>
'Válasszon egy észlelt soros eszközt, és csatlakozzon közvetlenül a MeshCore csomóponthoz.';
@@ -250,6 +233,10 @@ class AppLocalizationsHu extends AppLocalizations {
String get usbScreenEmptyState =>
'Nem található USB-eszköz. Csatlakoztasson egyet, és frissítse.';
@override
String get usbScreenEmptyStateAuto =>
'Nem található USB-eszköz. Csatlakoztasson egyet, és megjelenik itt.';
@override
String get usbErrorPermissionDenied => 'Az USB-engedély megtagadva.';
@@ -295,12 +282,6 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Web soros eszköz';
@override
String get usbStatus_notConnected => 'Válasszon ki egy USB-eszközt';
@override
String get usbStatus_connecting => 'Csatlakozás USB-eszközhöz...';
@override
String get usbStatus_searching => 'USB-eszközök keresése...';
@@ -7362,9 +7343,6 @@ class AppLocalizationsHu extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Csatlakozva:';
+4 -26
View File
@@ -179,9 +179,6 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get common_interval => 'Intervallo';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Stabilire una connessione tramite TCP';
@override
String get tcpHostLabel => 'Indirizzo IP';
@@ -206,14 +200,6 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Inserisci l\'endpoint e connettiti.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Connessione a $endpoint...';
}
@override
String get tcpErrorHostRequired => 'È necessario fornire un indirizzo IP.';
@@ -233,9 +219,6 @@ class AppLocalizationsIt extends AppLocalizations {
return 'Impossibile stabilire la connessione TCP: $error';
}
@override
String get usbScreenTitle => 'Connessione tramite USB';
@override
String get usbScreenSubtitle =>
'Seleziona il dispositivo seriale rilevato e connettilo direttamente al tuo nodo MeshCore.';
@@ -251,6 +234,10 @@ class AppLocalizationsIt extends AppLocalizations {
String get usbScreenEmptyState =>
'Nessun dispositivo USB rilevato. Collegare uno e aggiornare.';
@override
String get usbScreenEmptyStateAuto =>
'Nessun dispositivo USB rilevato. Collegare uno e apparirà qui.';
@override
String get usbErrorPermissionDenied =>
'È stato negato l\'accesso tramite USB.';
@@ -299,12 +286,6 @@ class AppLocalizationsIt extends AppLocalizations {
String get usbFallbackDeviceName =>
'Dispositivo per comunicazione seriale su rete';
@override
String get usbStatus_notConnected => 'Seleziona un dispositivo USB';
@override
String get usbStatus_connecting => 'Connessione al dispositivo USB...';
@override
String get usbStatus_searching => 'Ricerca di dispositivi USB...';
@@ -7377,9 +7358,6 @@ class AppLocalizationsIt extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Connesso a';
+3 -26
View File
@@ -175,9 +175,6 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get common_interval => '間隔';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -187,9 +184,6 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'TCP で接続';
@override
String get tcpHostLabel => '接続先';
@@ -202,14 +196,6 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => '接続先を入力して接続してください';
@override
String tcpStatus_connectingTo(String endpoint) {
return '$endpoint への接続中...';
}
@override
String get tcpErrorHostRequired => '接続先は必須です。';
@@ -227,9 +213,6 @@ class AppLocalizationsJa extends AppLocalizations {
return 'TCP接続に失敗しました:$error';
}
@override
String get usbScreenTitle => 'USB経由で接続';
@override
String get usbScreenSubtitle => '検出されたシリアルデバイスを選択して、MeshCore ノードに直接接続します。';
@@ -243,6 +226,9 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get usbScreenEmptyState => 'USB デバイスが見つかりません。接続してから再度更新してください。';
@override
String get usbScreenEmptyStateAuto => 'USB デバイスが見つかりません。接続するとここに表示されます。';
@override
String get usbErrorPermissionDenied => 'USBへのアクセス許可が拒否されました。';
@@ -283,12 +269,6 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'ウェブシリアルデバイス';
@override
String get usbStatus_notConnected => 'USB デバイスを選択してください';
@override
String get usbStatus_connecting => 'USBデバイスへの接続中...';
@override
String get usbStatus_searching => 'USBデバイスを検索中...';
@@ -7040,9 +7020,6 @@ class AppLocalizationsJa extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => '接続先';
+3 -26
View File
@@ -175,9 +175,6 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get common_interval => '간격';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -187,9 +184,6 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'TCP를 통해 연결';
@override
String get tcpHostLabel => 'IP 주소';
@@ -202,14 +196,6 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => '엔드포인트를 입력한 뒤 연결하세요.';
@override
String tcpStatus_connectingTo(String endpoint) {
return '$endpoint에 연결 중...';
}
@override
String get tcpErrorHostRequired => 'IP 주소가 필요합니다.';
@@ -227,9 +213,6 @@ class AppLocalizationsKo extends AppLocalizations {
return 'TCP 연결 실패: $error';
}
@override
String get usbScreenTitle => 'USB를 통해 연결';
@override
String get usbScreenSubtitle => '감지된 시리얼 장치를 선택하고 MeshCore 노드에 직접 연결하십시오.';
@@ -243,6 +226,9 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get usbScreenEmptyState => 'USB 장치가 없습니다. 하나 연결한 뒤 새로고침하세요.';
@override
String get usbScreenEmptyStateAuto => 'USB 장치가 없습니다. 하나 연결하면 여기에 표시됩니다.';
@override
String get usbErrorPermissionDenied => 'USB 접근 권한이 거부되었습니다.';
@@ -283,12 +269,6 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get usbFallbackDeviceName => '웹 시리얼 장치';
@override
String get usbStatus_notConnected => 'USB 장치를 선택합니다.';
@override
String get usbStatus_connecting => 'USB 장치에 연결 중...';
@override
String get usbStatus_searching => 'USB 장치 검색 중...';
@@ -7051,9 +7031,6 @@ class AppLocalizationsKo extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => '연결 대상';
+4 -26
View File
@@ -180,9 +180,6 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get common_interval => 'Tijdsinterval';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -192,9 +189,6 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Verbind via TCP';
@override
String get tcpHostLabel => 'Eindpunt';
@@ -207,14 +201,6 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Voer het eindpunt in en verbind';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Verbinding maken met $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Host is vereist.';
@@ -234,9 +220,6 @@ class AppLocalizationsNl extends AppLocalizations {
return 'Verbinding met TCP mislukt: $error';
}
@override
String get usbScreenTitle => 'Verbind via USB';
@override
String get usbScreenSubtitle =>
'Selecteer een gedetecteerd serieel apparaat en maak direct verbinding met je MeshCore-node.';
@@ -252,6 +235,10 @@ class AppLocalizationsNl extends AppLocalizations {
String get usbScreenEmptyState =>
'Geen USB-apparaten gevonden. Sluit er een aan en herlaad.';
@override
String get usbScreenEmptyStateAuto =>
'Geen USB-apparaten gevonden. Sluit er een aan en het verschijnt hier.';
@override
String get usbErrorPermissionDenied => 'Toegang via USB is geweigerd.';
@@ -296,12 +283,6 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Web Serial-apparaat';
@override
String get usbStatus_notConnected => 'Selecteer een USB-apparaat';
@override
String get usbStatus_connecting => 'Verbinding maken met USB-apparaat...';
@override
String get usbStatus_searching => 'Zoeken naar USB-apparaten...';
@@ -7335,9 +7316,6 @@ class AppLocalizationsNl extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Verbonden met';
+4 -26
View File
@@ -181,9 +181,6 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get common_interval => 'Interwał';
@override
String get scanner_title => 'MeshCore – wersja open source';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -193,9 +190,6 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Połącz się za pomocą protokołu TCP';
@override
String get tcpHostLabel => 'Adres IP';
@@ -208,14 +202,6 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Wprowadź adres URL i połącz';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Połączenie z $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Wymagana jest adresa IP.';
@@ -236,9 +222,6 @@ class AppLocalizationsPl extends AppLocalizations {
return 'Błąd połączenia TCP: $error';
}
@override
String get usbScreenTitle => 'Połącz przez USB';
@override
String get usbScreenSubtitle =>
'Wybierz wykryte urządzenie szeregowe i połącz się bezpośrednio ze swoim węzłem MeshCore.';
@@ -254,6 +237,10 @@ class AppLocalizationsPl extends AppLocalizations {
String get usbScreenEmptyState =>
'Nie znaleziono żadnych urządzeń USB. Podłącz jedno i zaktualizuj.';
@override
String get usbScreenEmptyStateAuto =>
'Nie znaleziono żadnych urządzeń USB. Podłącz jedno, a pojawi się tutaj.';
@override
String get usbErrorPermissionDenied =>
'Zostało odrzucone żądanie dostępu przez USB.';
@@ -302,12 +289,6 @@ class AppLocalizationsPl extends AppLocalizations {
String get usbFallbackDeviceName =>
'Urządzenie do komunikacji przez sieć (seria)';
@override
String get usbStatus_notConnected => 'Wybierz urządzenie USB';
@override
String get usbStatus_connecting => 'Połączenie z urządzeniem USB...';
@override
String get usbStatus_searching => 'Wyszukiwanie urządzeń USB...';
@@ -7418,9 +7399,6 @@ class AppLocalizationsPl extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Połączono z';
+8 -52
View File
@@ -179,9 +179,6 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get common_interval => 'Intervalo';
@override
String get scanner_title => 'MeshCore: Versão aberta';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Estabelecer conexão via TCP';
@override
String get tcpHostLabel => 'Endereço IP';
@@ -206,14 +200,6 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Insira o endereço final e conecte-se.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Conectando a $endpoint...';
}
@override
String get tcpErrorHostRequired => 'É necessário fornecer um endereço IP.';
@@ -233,9 +219,6 @@ class AppLocalizationsPt extends AppLocalizations {
return 'Falha na conexão TCP: $error';
}
@override
String get usbScreenTitle => 'Conecte via USB';
@override
String get usbScreenSubtitle =>
'Selecione um dispositivo serial detectado e conecte-o diretamente ao seu nó MeshCore.';
@@ -251,6 +234,10 @@ class AppLocalizationsPt extends AppLocalizations {
String get usbScreenEmptyState =>
'Nenhum dispositivo USB encontrado. Conecte um e atualize.';
@override
String get usbScreenEmptyStateAuto =>
'Nenhum dispositivo USB encontrado. Conecte um e ele aparecerá aqui.';
@override
String get usbErrorPermissionDenied =>
'A permissão para acesso via USB foi negada.';
@@ -298,12 +285,6 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Dispositivo de Serial para a Web';
@override
String get usbStatus_notConnected => 'Selecione um dispositivo USB';
@override
String get usbStatus_connecting => 'Conectando ao dispositivo USB...';
@override
String get usbStatus_searching => 'Procurando por dispositivos USB...';
@@ -7361,9 +7342,6 @@ class AppLocalizationsPt extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Conectado a';
@@ -8500,9 +8478,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get common_interval => 'Intervalo';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -8512,9 +8487,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Ligar por TCP';
@override
String get tcpHostLabel => 'Endereço';
@@ -8527,14 +8499,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Introduza o endereço e ligue';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'A ligar a $endpoint...';
}
@override
String get tcpErrorHostRequired => 'O endereço é obrigatório.';
@@ -8553,9 +8517,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
return 'Falha na ligação TCP: $error';
}
@override
String get usbScreenTitle => 'Ligar por USB';
@override
String get usbScreenSubtitle =>
'Escolha um dispositivo série detetado e ligue-se diretamente ao seu nó MeshCore.';
@@ -8571,6 +8532,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get usbScreenEmptyState =>
'Nenhum dispositivo USB encontrado. Ligue um e atualize.';
@override
String get usbScreenEmptyStateAuto =>
'Nenhum dispositivo USB encontrado. Ligue um e aparece aqui.';
@override
String get usbErrorPermissionDenied => 'A permissão USB foi recusada.';
@@ -8616,12 +8581,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get usbFallbackDeviceName => 'Dispositivo Web Serial';
@override
String get usbStatus_notConnected => 'Selecione um dispositivo USB';
@override
String get usbStatus_connecting => 'A ligar ao dispositivo USB...';
@override
String get usbStatus_searching => 'A procurar dispositivos USB...';
@@ -15634,9 +15593,6 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Ligado a';
+4 -26
View File
@@ -179,9 +179,6 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get common_interval => 'Интервал';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Установить соединение по протоколу TCP';
@override
String get tcpHostLabel => 'IP-адрес';
@@ -206,14 +200,6 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Введите адрес и подключитесь.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Подключение к $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Необходимо указать IP-адрес.';
@@ -233,9 +219,6 @@ class AppLocalizationsRu extends AppLocalizations {
return 'Не удалось установить соединение TCP: $error';
}
@override
String get usbScreenTitle => 'Подключение через USB';
@override
String get usbScreenSubtitle =>
'Выберите обнаруженное устройство с последовательным интерфейсом и подключите его напрямую к вашему узлу MeshCore.';
@@ -251,6 +234,10 @@ class AppLocalizationsRu extends AppLocalizations {
String get usbScreenEmptyState =>
'Не обнаружено устройств USB. Подключите одно из них и обновите список.';
@override
String get usbScreenEmptyStateAuto =>
'Не обнаружено устройств USB. Подключите одно из них, и оно появится здесь.';
@override
String get usbErrorPermissionDenied =>
'Запрос на доступ через USB был отклонен.';
@@ -299,12 +286,6 @@ class AppLocalizationsRu extends AppLocalizations {
String get usbFallbackDeviceName =>
'Устройство для последовательного подключения к сети';
@override
String get usbStatus_notConnected => 'Выберите USB-устройство';
@override
String get usbStatus_connecting => 'Подключение к USB-устройству...';
@override
String get usbStatus_searching => 'Поиск USB-устройств...';
@@ -7395,9 +7376,6 @@ class AppLocalizationsRu extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Подключено к';
+4 -26
View File
@@ -180,9 +180,6 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get common_interval => 'Časový interval';
@override
String get scanner_title => 'MeshCore – Verzia pre verejnosť';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -192,9 +189,6 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Spojte sa pomocou protokolu TCP';
@override
String get tcpHostLabel => 'IP adresa';
@@ -207,14 +201,6 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get tcpPortHint => '5 000';
@override
String get tcpStatus_notConnected => 'Zadajte cieľovú adresu a pripojte sa.';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Pripojenie k $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Je potrebné zadať IP adresu.';
@@ -233,9 +219,6 @@ class AppLocalizationsSk extends AppLocalizations {
return 'Neúspešné vytvorenie TCP spojenia: $error';
}
@override
String get usbScreenTitle => 'Pripojte cez USB';
@override
String get usbScreenSubtitle =>
'Vyberte detekovaný sériový zariadenie a pripojte ho priamo k vašej MeshCore uzlu.';
@@ -251,6 +234,10 @@ class AppLocalizationsSk extends AppLocalizations {
String get usbScreenEmptyState =>
'Nenašli sa žiadne USB zariadenia. Pripojte jedno a obnovte.';
@override
String get usbScreenEmptyStateAuto =>
'Nenašli sa žiadne USB zariadenia. Pripojte jedno a zobrazí sa tu.';
@override
String get usbErrorPermissionDenied =>
'Žiadosť o prístup cez USB bola zamietnutá.';
@@ -298,12 +285,6 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Webový sériový zariadenie';
@override
String get usbStatus_notConnected => 'Vyberte USB zariadenie';
@override
String get usbStatus_connecting => 'Pripojenie k USB zariadeniu...';
@override
String get usbStatus_searching => 'Hľadanie USB zariadení...';
@@ -7361,9 +7342,6 @@ class AppLocalizationsSk extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Pripojené k';
+4 -26
View File
@@ -181,9 +181,6 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get common_interval => 'Časovni interval';
@override
String get scanner_title => 'MeshCore – Odprto';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -193,9 +190,6 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Komunicirajte preko protokola TCP';
@override
String get tcpHostLabel => 'IP naslov';
@@ -208,14 +202,6 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Vnesite končni naslov in se povežite';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Povezava z $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Potrebna je IP-naslov.';
@@ -234,9 +220,6 @@ class AppLocalizationsSl extends AppLocalizations {
return 'Napaka pri povezavi TCP: $error';
}
@override
String get usbScreenTitle => 'Povežite preko USB';
@override
String get usbScreenSubtitle =>
'Izberite zaznano serijsko napravo in se neposredno povežite z vašo MeshCore napravo.';
@@ -252,6 +235,10 @@ class AppLocalizationsSl extends AppLocalizations {
String get usbScreenEmptyState =>
'Niti en USB naprave niso najdeni. Povežite eno in posodobite.';
@override
String get usbScreenEmptyStateAuto =>
'Niti en USB naprave niso najdeni. Povežite eno in prikazala se bo tukaj.';
@override
String get usbErrorPermissionDenied =>
'Dovoljenje za dostop preko USB-ja je bilo zavrnjeno.';
@@ -297,12 +284,6 @@ class AppLocalizationsSl extends AppLocalizations {
String get usbFallbackDeviceName =>
'Naprave za serijsko komunikacijo preko spleta';
@override
String get usbStatus_notConnected => 'Izberite USB naprave.';
@override
String get usbStatus_connecting => 'Povezava z USB napravo...';
@override
String get usbStatus_searching => 'Iskanje USB naprav...';
@@ -7356,9 +7337,6 @@ class AppLocalizationsSl extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Povezano z';
+4 -26
View File
@@ -178,9 +178,6 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get common_interval => 'Intervall';
@override
String get scanner_title => 'MeshCore – Öppen version';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -190,9 +187,6 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Anslut via TCP';
@override
String get tcpHostLabel => 'IP-adress';
@@ -205,14 +199,6 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Ange slutpunkt och anslut';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Anslutning till $endpoint...';
}
@override
String get tcpErrorHostRequired => 'IP-adress krävs.';
@@ -231,9 +217,6 @@ class AppLocalizationsSv extends AppLocalizations {
return 'Fel vid TCP-anslutning: $error';
}
@override
String get usbScreenTitle => 'Anslut via USB';
@override
String get usbScreenSubtitle =>
'Välj en detekterad seriell enhet och anslut direkt till din MeshCore-nod.';
@@ -249,6 +232,10 @@ class AppLocalizationsSv extends AppLocalizations {
String get usbScreenEmptyState =>
'Inga USB-enheter hittades. Anslut en och uppdatera.';
@override
String get usbScreenEmptyStateAuto =>
'Inga USB-enheter hittades. Anslut en så visas den här.';
@override
String get usbErrorPermissionDenied => 'Tillgången via USB nekas.';
@@ -294,12 +281,6 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Web Serial-enhet';
@override
String get usbStatus_notConnected => 'Välj en USB-enhet';
@override
String get usbStatus_connecting => 'Anslutning till USB-enhet...';
@override
String get usbStatus_searching => 'Söker efter USB-enheter...';
@@ -7311,9 +7292,6 @@ class AppLocalizationsSv extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Ansluten till';
+4 -26
View File
@@ -179,9 +179,6 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get common_interval => 'Інтервал';
@override
String get scanner_title => 'MeshCore: Відкритий доступ';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -191,9 +188,6 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Підключитись через TCP';
@override
String get tcpHostLabel => 'IP-адреса';
@@ -206,14 +200,6 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Введіть кінцеву точку та підключіться';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Підключення до $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Необхідно вказати IP-адресу.';
@@ -233,9 +219,6 @@ class AppLocalizationsUk extends AppLocalizations {
return 'Не вдалось встановити з\'єднання TCP: $error';
}
@override
String get usbScreenTitle => 'Підключити через USB';
@override
String get usbScreenSubtitle =>
'Виберіть виявлений USB-пристрій і підключіть його безпосередньо до вашого вузла MeshCore.';
@@ -251,6 +234,10 @@ class AppLocalizationsUk extends AppLocalizations {
String get usbScreenEmptyState =>
'Не знайдено жодних пристроїв USB. Підключіть один і перезавантажте.';
@override
String get usbScreenEmptyStateAuto =>
'Не знайдено жодних пристроїв USB. Підключіть один, і він з\'явиться тут.';
@override
String get usbErrorPermissionDenied =>
'Було відмовлено у наданні дозволу на використання USB.';
@@ -297,12 +284,6 @@ class AppLocalizationsUk extends AppLocalizations {
String get usbFallbackDeviceName =>
'Пристрій для передачі даних по веб-серіалах';
@override
String get usbStatus_notConnected => 'Виберіть пристрій USB';
@override
String get usbStatus_connecting => 'Підключення до USB-пристрою...';
@override
String get usbStatus_searching => 'Пошук пристроїв USB...';
@@ -7405,9 +7386,6 @@ class AppLocalizationsUk extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Підключено до';
+3 -26
View File
@@ -174,9 +174,6 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get common_interval => '间隔';
@override
String get scanner_title => '连接设备';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -186,9 +183,6 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => '通过 TCP 连接';
@override
String get tcpHostLabel => 'IP地址';
@@ -201,14 +195,6 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => '输入目标地址,然后连接';
@override
String tcpStatus_connectingTo(String endpoint) {
return '连接到 $endpoint...';
}
@override
String get tcpErrorHostRequired => '需要提供IP地址。';
@@ -226,9 +212,6 @@ class AppLocalizationsZh extends AppLocalizations {
return 'TCP 连接失败:$error';
}
@override
String get usbScreenTitle => '通过USB连接';
@override
String get usbScreenSubtitle => '选择已检测到的串行设备,并直接连接到您的 MeshCore 节点。';
@@ -241,6 +224,9 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get usbScreenEmptyState => '未找到任何 USB 设备。请插入一个,然后刷新。';
@override
String get usbScreenEmptyStateAuto => '未找到任何 USB 设备。请插入一个,它会显示在这里。';
@override
String get usbErrorPermissionDenied => '拒绝了USB权限。';
@@ -280,12 +266,6 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Web 串流设备';
@override
String get usbStatus_notConnected => '选择一个 USB 设备';
@override
String get usbStatus_connecting => '连接USB设备...';
@override
String get usbStatus_searching => '正在搜索 USB 设备...';
@@ -6893,9 +6873,6 @@ class AppLocalizationsZh extends AppLocalizations {
return 'ID:$id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => '已连接到';
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore Open",
"scanner_scanning": "Scannen naar apparaten...",
"scanner_connecting": "Verbinden...",
"scanner_disconnecting": "Verbinding verbreken...",
@@ -2207,10 +2206,10 @@
"connectionChoiceUsbLabel": "USB",
"usbScreenSubtitle": "Selecteer een gedetecteerd serieel apparaat en maak direct verbinding met je MeshCore-node.",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenTitle": "Verbind via USB",
"usbScreenStatus": "Selecteer een USB-apparaat",
"usbScreenNote": "USB-serieel is actief op ondersteunde Android-apparaten en desktop-platforms.",
"usbScreenEmptyState": "Geen USB-apparaten gevonden. Sluit er een aan en herlaad.",
"usbScreenEmptyStateAuto": "Geen USB-apparaten gevonden. Sluit er een aan en het verschijnt hier.",
"usbErrorPermissionDenied": "Toegang via USB is geweigerd.",
"usbErrorDeviceMissing": "Het geselecteerde USB-apparaat is niet meer beschikbaar.",
"usbErrorInvalidPort": "Selecteer een geldig USB-apparaat.",
@@ -2231,17 +2230,8 @@
}
},
"usbConnectionFailed": "Fout bij de USB-verbinding: {error}",
"usbStatus_notConnected": "Selecteer een USB-apparaat",
"usbStatus_connecting": "Verbinding maken met USB-apparaat...",
"usbStatus_searching": "Zoeken naar USB-apparaten...",
"usbErrorConnectTimedOut": "Time-out bij verbinden. Zorg dat het apparaat USB Companion-firmware heeft.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2249,14 +2239,11 @@
}
}
},
"tcpScreenTitle": "Verbind via TCP",
"tcpHostLabel": "Eindpunt",
"tcpHostHint": "192.168.40.10 / example.com",
"connectionChoiceTcpLabel": "TCP",
"tcpPortLabel": "Poort",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Voer het eindpunt in en verbind",
"tcpStatus_connectingTo": "Verbinding maken met {endpoint}...",
"tcpErrorHostRequired": "Host is vereist.",
"tcpErrorPortInvalid": "De poortwaarde moet tussen 1 en 65535 liggen.",
"tcpErrorUnsupported": "TCP-transport wordt niet ondersteund op dit platform.",
@@ -3313,7 +3300,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Verbonden met",
"usbChooseSerialPort": "Seriële poort kiezen",
"neighbors_durationSeconds": "{seconds}s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore – wersja open source",
"scanner_scanning": "Skanowanie urządzeń...",
"scanner_connecting": "Łączenie...",
"scanner_disconnecting": "Odłączanie...",
@@ -2202,12 +2201,12 @@
"map_guessedLocation": "Przypuszczalna lokalizacja",
"map_showGuessedLocations": "Pokaż przypuszczalne lokalizacje węzłów",
"usbScreenSubtitle": "Wybierz wykryte urządzenie szeregowe i połącz się bezpośrednio ze swoim węzłem MeshCore.",
"usbScreenTitle": "Połącz przez USB",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenStatus": "Wybierz urządzenie USB",
"usbScreenNote": "Port szeregowy USB jest aktywny na urządzeniach z systemem Android i platformach stacjonarnych, które go obsługują.",
"usbScreenEmptyState": "Nie znaleziono żadnych urządzeń USB. Podłącz jedno i zaktualizuj.",
"usbScreenEmptyStateAuto": "Nie znaleziono żadnych urządzeń USB. Podłącz jedno, a pojawi się tutaj.",
"usbErrorPermissionDenied": "Zostało odrzucone żądanie dostępu przez USB.",
"usbErrorDeviceMissing": "Wybór urządzenia USB już nie jest dostępny.",
"usbErrorInvalidPort": "Wybierz prawidłowe urządzenie USB.",
@@ -2228,17 +2227,8 @@
}
},
"usbStatus_searching": "Wyszukiwanie urządzeń USB...",
"usbStatus_connecting": "Połączenie z urządzeniem USB...",
"usbStatus_notConnected": "Wybierz urządzenie USB",
"usbConnectionFailed": "Błąd połączenia USB: {error}",
"usbErrorConnectTimedOut": "Połączenie nie zostało nawiązane. Upewnij się, że urządzenie posiada oprogramowanie \"USB Companion\".",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2248,12 +2238,9 @@
},
"connectionChoiceTcpLabel": "TCP",
"tcpHostHint": "192.168.40.10",
"tcpScreenTitle": "Połącz się za pomocą protokołu TCP",
"tcpHostLabel": "Adres IP",
"tcpPortLabel": "Port",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Wprowadź adres URL i połącz",
"tcpStatus_connectingTo": "Połączenie z {endpoint}...",
"tcpErrorHostRequired": "Wymagana jest adresa IP.",
"tcpErrorPortInvalid": "Numer portu musi mieścić się w zakresie od 1 do 65535.",
"tcpErrorUnsupported": "Transport TCP nie jest obsługiwany na tej platformie.",
@@ -3445,7 +3432,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Połączono z",
"usbChooseSerialPort": "Wybierz port szeregowy",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore: Versão aberta",
"scanner_scanning": "Procurando por dispositivos...",
"scanner_connecting": "Conectando...",
"scanner_disconnecting": "Desconectando...",
@@ -2096,11 +2095,11 @@
"map_showGuessedLocations": "Mostrar as localizações dos nós estimados",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenTitle": "Conecte via USB",
"usbScreenSubtitle": "Selecione um dispositivo serial detectado e conecte-o diretamente ao seu nó MeshCore.",
"usbScreenStatus": "Selecione um dispositivo USB",
"usbScreenNote": "A comunicação serial via USB está ativa em dispositivos Android e plataformas de desktop compatíveis.",
"usbScreenEmptyState": "Nenhum dispositivo USB encontrado. Conecte um e atualize.",
"usbScreenEmptyStateAuto": "Nenhum dispositivo USB encontrado. Conecte um e ele aparecerá aqui.",
"usbErrorPermissionDenied": "A permissão para acesso via USB foi negada.",
"usbErrorDeviceMissing": "O dispositivo USB selecionado não está mais disponível.",
"usbErrorInvalidPort": "Selecione um dispositivo USB válido.",
@@ -2121,17 +2120,8 @@
}
},
"usbStatus_searching": "Procurando por dispositivos USB...",
"usbStatus_notConnected": "Selecione um dispositivo USB",
"usbConnectionFailed": "Falha na conexão USB: {error}",
"usbStatus_connecting": "Conectando ao dispositivo USB...",
"usbErrorConnectTimedOut": "A conexão expirou. Verifique se o dispositivo possui o firmware USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2141,12 +2131,9 @@
},
"tcpHostLabel": "Endereço IP",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Estabelecer conexão via TCP",
"tcpHostHint": "192.168.40.10",
"tcpPortLabel": "Porta",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Insira o endereço final e conecte-se.",
"tcpStatus_connectingTo": "Conectando a {endpoint}...",
"tcpErrorHostRequired": "É necessário fornecer um endereço IP.",
"tcpErrorPortInvalid": "O valor do porto deve estar entre 1 e 65535.",
"tcpErrorUnsupported": "O protocolo TCP não é suportado nesta plataforma.",
@@ -3290,7 +3277,6 @@
"contacts_advertFailed": "Não foi possível enviar o anúncio",
"contacts_manageGroups": "Gerenciar grupos",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Conectado a",
"usbChooseSerialPort": "Escolher porta serial",
"neighbors_durationSeconds": "{seconds}s",
+1 -8
View File
@@ -50,27 +50,23 @@
"common_percentValue": "{percent}%",
"common_autoRefresh": "Atualização automática",
"common_interval": "Intervalo",
"scanner_title": "MeshCore Open",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceTcpLabel": "TCP",
"tcpScreenTitle": "Ligar por TCP",
"tcpHostLabel": "Endereço",
"tcpHostHint": "192.168.40.10 / example.com",
"tcpPortLabel": "Porta",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Introduza o endereço e ligue",
"tcpStatus_connectingTo": "A ligar a {endpoint}...",
"tcpErrorHostRequired": "O endereço é obrigatório.",
"tcpErrorPortInvalid": "A porta tem de estar entre 1 e 65535.",
"tcpErrorUnsupported": "O transporte TCP não é suportado nesta plataforma.",
"tcpErrorTimedOut": "A ligação TCP excedeu o tempo limite.",
"tcpConnectionFailed": "Falha na ligação TCP: {error}",
"usbScreenTitle": "Ligar por USB",
"usbScreenSubtitle": "Escolha um dispositivo série detetado e ligue-se diretamente ao seu nó MeshCore.",
"usbScreenStatus": "Selecione um dispositivo USB",
"usbScreenNote": "O USB série está ativo em dispositivos Android compatíveis e em plataformas de computador.",
"usbScreenEmptyState": "Nenhum dispositivo USB encontrado. Ligue um e atualize.",
"usbScreenEmptyStateAuto": "Nenhum dispositivo USB encontrado. Ligue um e aparece aqui.",
"usbErrorPermissionDenied": "A permissão USB foi recusada.",
"usbErrorDeviceMissing": "O dispositivo USB selecionado já não está disponível.",
"usbErrorInvalidPort": "Selecione um dispositivo USB válido.",
@@ -84,8 +80,6 @@
"usbErrorPortClosed": "A ligação USB não está aberta.",
"usbErrorConnectTimedOut": "A ligação excedeu o tempo limite. Confirme que o dispositivo tem firmware USB Companion.",
"usbFallbackDeviceName": "Dispositivo Web Serial",
"usbStatus_notConnected": "Selecione um dispositivo USB",
"usbStatus_connecting": "A ligar ao dispositivo USB...",
"usbStatus_searching": "A procurar dispositivos USB...",
"usbConnectionFailed": "Falha na ligação USB: {error}",
"scanner_scanning": "A procurar dispositivos...",
@@ -1967,7 +1961,6 @@
"contacts_manageGroups": "Gerir grupos",
"contacts_keyPrefixSemantics": "Prefixo da chave {prefix}",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Ligado a",
"usbChooseSerialPort": "Escolher porta série",
"neighbors_durationSeconds": "{seconds}s",
+1 -15
View File
@@ -41,7 +41,6 @@
"common_percentValue": "{percent}%",
"common_autoRefresh": "Автообновление",
"common_interval": "Интервал",
"scanner_title": "MeshCore Open",
"scanner_scanning": "Поиск устройств...",
"scanner_connecting": "Подключение...",
"scanner_disconnecting": "Отключение...",
@@ -1344,11 +1343,11 @@
"map_showGuessedLocations": "Отобразить предполагаемые места расположения узлов",
"connectionChoiceUsbLabel": "USB",
"usbScreenSubtitle": "Выберите обнаруженное устройство с последовательным интерфейсом и подключите его напрямую к вашему узлу MeshCore.",
"usbScreenTitle": "Подключение через USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenStatus": "Выберите USB-устройство",
"usbScreenNote": "USB-серийный порт активен на поддерживаемых устройствах Android и на настольных платформах.",
"usbScreenEmptyState": "Не обнаружено устройств USB. Подключите одно из них и обновите список.",
"usbScreenEmptyStateAuto": "Не обнаружено устройств USB. Подключите одно из них, и оно появится здесь.",
"usbErrorPermissionDenied": "Запрос на доступ через USB был отклонен.",
"usbErrorDeviceMissing": "Выбранное USB-устройство больше недоступно.",
"usbErrorInvalidPort": "Выберите действительное USB-устройство.",
@@ -1369,17 +1368,8 @@
}
},
"usbStatus_searching": "Поиск USB-устройств...",
"usbStatus_connecting": "Подключение к USB-устройству...",
"usbConnectionFailed": "Не удалось установить соединение через USB: {error}",
"usbStatus_notConnected": "Выберите USB-устройство",
"usbErrorConnectTimedOut": "Соединение не установлено. Убедитесь, что устройство имеет установленное программное обеспечение USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -1390,11 +1380,8 @@
"tcpHostHint": "192.168.40.10",
"connectionChoiceTcpLabel": "TCP",
"tcpHostLabel": "IP-адрес",
"tcpScreenTitle": "Установить соединение по протоколу TCP",
"tcpPortLabel": "Порт",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Введите адрес и подключитесь.",
"tcpStatus_connectingTo": "Подключение к {endpoint}...",
"tcpErrorHostRequired": "Необходимо указать IP-адрес.",
"tcpErrorPortInvalid": "Порт должен находиться в диапазоне от 1 до 65535.",
"tcpErrorUnsupported": "Протокол TCP не поддерживается на этой платформе.",
@@ -2709,7 +2696,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Подключено к",
"usbChooseSerialPort": "Выберите последовательный порт",
"neighbors_durationSeconds": "{seconds}с",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore – Verzia pre verejnosť",
"scanner_scanning": "Skrívania zariadení...",
"scanner_connecting": "Pripojujem sa...",
"scanner_disconnecting": "Odpojuje sa...",
@@ -2168,13 +2167,13 @@
"discoveredContacts_deleteContactAllContent": "Ste si istí, že chcete zmazať všetky objavené kontakty?",
"map_showGuessedLocations": "Zobraziť umiestnenia odhadnutých uzlov",
"map_guessedLocation": "Odhadnutá lokalita",
"usbScreenTitle": "Pripojte cez USB",
"usbScreenSubtitle": "Vyberte detekovaný sériový zariadenie a pripojte ho priamo k vašej MeshCore uzlu.",
"connectionChoiceUsbLabel": "USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"usbScreenStatus": "Vyberte USB zariadenie",
"usbScreenNote": "USB sériová komunikácia je aktívna na podporovaných zariadeniach s Androidom a na desktopových platformách.",
"usbScreenEmptyState": "Nenašli sa žiadne USB zariadenia. Pripojte jedno a obnovte.",
"usbScreenEmptyStateAuto": "Nenašli sa žiadne USB zariadenia. Pripojte jedno a zobrazí sa tu.",
"usbErrorPermissionDenied": "Žiadosť o prístup cez USB bola zamietnutá.",
"usbErrorDeviceMissing": "Vybrané USB zariadenie už nie je dostupné.",
"usbErrorInvalidPort": "Vyberte platné USB zariadenie.",
@@ -2196,16 +2195,7 @@
},
"usbStatus_searching": "Hľadanie USB zariadení...",
"usbConnectionFailed": "Neúspešné pripojenie cez USB: {error}",
"usbStatus_notConnected": "Vyberte USB zariadenie",
"usbStatus_connecting": "Pripojenie k USB zariadeniu...",
"usbErrorConnectTimedOut": "Pripojenie nebolo úspešné. Uistite sa, že zariadenie má nainštalovaný firmware USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2215,12 +2205,9 @@
},
"tcpHostHint": "192.168.40.10",
"tcpHostLabel": "IP adresa",
"tcpScreenTitle": "Spojte sa pomocou protokolu TCP",
"connectionChoiceTcpLabel": "TCP",
"tcpPortLabel": "Prístav",
"tcpPortHint": "5 000",
"tcpStatus_notConnected": "Zadajte cieľovú adresu a pripojte sa.",
"tcpStatus_connectingTo": "Pripojenie k {endpoint}...",
"tcpErrorHostRequired": "Je potrebné zadať IP adresu.",
"tcpErrorPortInvalid": "Číslo portu musí byť medzi 1 a 65535.",
"tcpErrorUnsupported": "Prevoz prostredníctvom protokolu TCP nie je na tejto platforme podporovaný.",
@@ -3434,7 +3421,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Pripojené k",
"usbChooseSerialPort": "Vyberte sériový port",
"neighbors_durationSeconds": "{seconds}s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore – Odprto",
"scanner_scanning": "Skeniram za naprave...",
"scanner_connecting": "Povezujem se...",
"scanner_disconnecting": "Odklapljam se...",
@@ -2087,13 +2086,13 @@
"discoveredContacts_deleteContactAll": "Izbriši vse odkrite kontakte",
"map_guessedLocation": "Predpostavljena lokacija",
"map_showGuessedLocations": "Pokaži lokacije domnevnih not.",
"usbScreenTitle": "Povežite preko USB",
"usbScreenSubtitle": "Izberite zaznano serijsko napravo in se neposredno povežite z vašo MeshCore napravo.",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceUsbLabel": "USB",
"usbScreenStatus": "Izberite USB naprave",
"usbScreenNote": "USB serijska povezava je aktivna na podprtih napravah Android in na desktop platformah.",
"usbScreenEmptyState": "Niti en USB naprave niso najdeni. Povežite eno in posodobite.",
"usbScreenEmptyStateAuto": "Niti en USB naprave niso najdeni. Povežite eno in prikazala se bo tukaj.",
"usbErrorPermissionDenied": "Dovoljenje za dostop preko USB-ja je bilo zavrnjeno.",
"usbErrorDeviceMissing": "Izbrani USB napravej je več ne.",
"usbErrorInvalidPort": "Izberite veljavno USB naprave.",
@@ -2113,18 +2112,9 @@
}
}
},
"usbStatus_notConnected": "Izberite USB naprave.",
"usbStatus_connecting": "Povezava z USB napravo...",
"usbStatus_searching": "Iskanje USB naprav...",
"usbConnectionFailed": "Napaka pri povezavi preko USB: {error}",
"usbErrorConnectTimedOut": "Vzpostavitve ni bilo mogo. Prosimo, da se prepričate, da ima naprave trenutno nameštan firmware USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2135,11 +2125,8 @@
"connectionChoiceTcpLabel": "TCP",
"tcpHostLabel": "IP naslov",
"tcpHostHint": "192.168.40.10",
"tcpScreenTitle": "Komunicirajte preko protokola TCP",
"tcpPortLabel": "Vrata",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Vnesite končni naslov in se povežite",
"tcpStatus_connectingTo": "Povezava z {endpoint}...",
"tcpErrorHostRequired": "Potrebna je IP-naslov.",
"tcpErrorPortInvalid": "Port mora biti med 1 in 65535.",
"tcpErrorUnsupported": "Transport preko protokola TCP ni podprt na tej platformi.",
@@ -3291,7 +3278,6 @@
"contacts_advertFailed": "Oglasa ni bilo mogoče poslati",
"contacts_manageGroups": "Upravljaj skupine",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Povezano z",
"usbChooseSerialPort": "Izberite serijska vrata",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -54,7 +54,6 @@
}
}
},
"scanner_title": "MeshCore – Öppen version",
"scanner_scanning": "Söker efter enheter...",
"scanner_connecting": "Ansluter...",
"scanner_disconnecting": "Anslutning bryts...",
@@ -2091,10 +2090,10 @@
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceUsbLabel": "USB",
"usbScreenSubtitle": "Välj en detekterad seriell enhet och anslut direkt till din MeshCore-nod.",
"usbScreenTitle": "Anslut via USB",
"usbScreenStatus": "Välj en USB-enhet",
"usbScreenNote": "USB-seriell kommunikation är aktiv på stödda Android-enheter och på skrivbordsplattformar.",
"usbScreenEmptyState": "Inga USB-enheter hittades. Anslut en och uppdatera.",
"usbScreenEmptyStateAuto": "Inga USB-enheter hittades. Anslut en så visas den här.",
"usbErrorPermissionDenied": "Tillgången via USB nekas.",
"usbErrorDeviceMissing": "Den valda USB-enheten är inte längre tillgänglig.",
"usbErrorInvalidPort": "Välj en giltig USB-enhet.",
@@ -2114,18 +2113,9 @@
}
}
},
"usbStatus_connecting": "Anslutning till USB-enhet...",
"usbStatus_notConnected": "Välj en USB-enhet",
"usbConnectionFailed": "Fel vid USB-anslutning: {error}",
"usbStatus_searching": "Söker efter USB-enheter...",
"usbErrorConnectTimedOut": "Anslutningen tog för lång tid. Kontrollera att enheten har USB Companion-firmware.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2135,12 +2125,9 @@
},
"tcpHostHint": "192.168.40.10",
"tcpHostLabel": "IP-adress",
"tcpScreenTitle": "Anslut via TCP",
"connectionChoiceTcpLabel": "TCP",
"tcpPortLabel": "Port",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Ange slutpunkt och anslut",
"tcpStatus_connectingTo": "Anslutning till {endpoint}...",
"tcpErrorHostRequired": "IP-adress krävs.",
"tcpErrorPortInvalid": "Porten måste vara mellan 1 och 65535.",
"tcpErrorUnsupported": "TCP-transport fungerar inte på denna plattform.",
@@ -3285,7 +3272,6 @@
"contacts_advertFailed": "Kunde inte skicka annonsen",
"contacts_manageGroups": "Hantera grupper",
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Ansluten till",
"usbChooseSerialPort": "Välj serieport",
"neighbors_durationSeconds": "{seconds} s",
+1 -15
View File
@@ -55,7 +55,6 @@
}
}
},
"scanner_title": "MeshCore: Відкритий доступ",
"scanner_scanning": "Пошук пристроїв...",
"scanner_connecting": "Підключення...",
"scanner_disconnecting": "Відключення...",
@@ -2167,12 +2166,12 @@
"map_showGuessedLocations": "Показати геопозиції передбачених вузлів",
"map_guessedLocation": "Передбачена геопозиція",
"usbScreenSubtitle": "Виберіть виявлений USB-пристрій і підключіть його безпосередньо до вашого вузла MeshCore.",
"usbScreenTitle": "Підключити через USB",
"connectionChoiceBluetoothLabel": "Bluetooth",
"connectionChoiceUsbLabel": "USB",
"usbScreenStatus": "Виберіть пристрій USB",
"usbScreenNote": "USB-серіальний інтерфейс активний на підтримуваних пристроях на базі Android та на десктопних платформах.",
"usbScreenEmptyState": "Не знайдено жодних пристроїв USB. Підключіть один і перезавантажте.",
"usbScreenEmptyStateAuto": "Не знайдено жодних пристроїв USB. Підключіть один, і він з'явиться тут.",
"usbErrorPermissionDenied": "Було відмовлено у наданні дозволу на використання USB.",
"usbErrorDeviceMissing": "Вибране USB-пристрій більше недоступне.",
"usbErrorInvalidPort": "Виберіть дійсний USB-пристрій.",
@@ -2193,17 +2192,8 @@
}
},
"usbStatus_searching": "Пошук пристроїв USB...",
"usbStatus_notConnected": "Виберіть пристрій USB",
"usbConnectionFailed": "Не вдалось встановити з'єднання через USB: {error}",
"usbStatus_connecting": "Підключення до USB-пристрою...",
"usbErrorConnectTimedOut": "З'єднання не вдалось встановити. Переконайтесь, що пристрій має встановлене програмне забезпечення USB Companion.",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2214,11 +2204,8 @@
"connectionChoiceTcpLabel": "TCP",
"tcpHostHint": "192.168.40.10",
"tcpHostLabel": "IP-адреса",
"tcpScreenTitle": "Підключитись через TCP",
"tcpPortLabel": "Порт",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Введіть кінцеву точку та підключіться",
"tcpStatus_connectingTo": "Підключення до {endpoint}...",
"tcpErrorHostRequired": "Необхідно вказати IP-адресу.",
"tcpErrorPortInvalid": "Порт має бути в межах від 1 до 65535.",
"tcpErrorUnsupported": "Транспорт TCP не підтримується на цій платформі.",
@@ -3392,7 +3379,6 @@
}
},
"community_shortId": "ID: {id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "Підключено до",
"usbChooseSerialPort": "Виберіть послідовний порт",
"neighbors_durationSeconds": "{seconds}с",
+1 -15
View File
@@ -55,7 +55,6 @@
}
}
},
"scanner_title": "连接设备",
"scanner_scanning": "正在搜索设备...",
"scanner_connecting": "正在连接...",
"scanner_disconnecting": "断开连接...",
@@ -2093,12 +2092,12 @@
"map_showGuessedLocations": "显示猜测的节点位置",
"map_guessedLocation": "猜测的位置",
"connectionChoiceUsbLabel": "USB",
"usbScreenTitle": "通过USB连接",
"usbScreenSubtitle": "选择已检测到的串行设备,并直接连接到您的 MeshCore 节点。",
"connectionChoiceBluetoothLabel": "蓝牙",
"usbScreenStatus": "选择一个 USB 设备",
"usbScreenNote": "USB 串行接口在支持的 Android 设备和桌面平台上处于活动状态。",
"usbScreenEmptyState": "未找到任何 USB 设备。请插入一个,然后刷新。",
"usbScreenEmptyStateAuto": "未找到任何 USB 设备。请插入一个,它会显示在这里。",
"usbErrorPermissionDenied": "拒绝了USB权限。",
"usbErrorDeviceMissing": "所选的USB设备已不再可用。",
"usbErrorInvalidPort": "选择一个有效的USB设备。",
@@ -2119,17 +2118,8 @@
}
},
"usbStatus_searching": "正在搜索 USB 设备...",
"usbStatus_connecting": "连接USB设备...",
"usbStatus_notConnected": "选择一个 USB 设备",
"usbConnectionFailed": "USB 连接失败:{error}",
"usbErrorConnectTimedOut": "连接超时。请确保设备已安装 USB 伴侣固件。",
"@tcpStatus_connectingTo": {
"placeholders": {
"endpoint": {
"type": "String"
}
}
},
"@tcpConnectionFailed": {
"placeholders": {
"error": {
@@ -2139,12 +2129,9 @@
},
"tcpHostLabel": "IP地址",
"tcpHostHint": "192.168.40.10",
"tcpScreenTitle": "通过 TCP 连接",
"connectionChoiceTcpLabel": "TCP",
"tcpPortLabel": "端口",
"tcpPortHint": "5000",
"tcpStatus_notConnected": "输入目标地址,然后连接",
"tcpStatus_connectingTo": "连接到 {endpoint}...",
"tcpErrorHostRequired": "需要提供IP地址。",
"tcpErrorPortInvalid": "端口号必须在 1 到 65535 之间。",
"tcpErrorUnsupported": "此平台不支持 TCP 传输。",
@@ -3295,7 +3282,6 @@
"contacts_advertFailed": "无法发送广播",
"contacts_manageGroups": "管理分组",
"community_shortId": "ID:{id}…",
"tcpSectionTitle": "TCP / IP",
"tcpConnectedToHeader": "已连接到",
"usbChooseSerialPort": "选择串口",
"neighbors_durationSeconds": "{seconds}秒",
+2 -2
View File
@@ -18,7 +18,7 @@ import 'games/chess/chess_link.dart';
import 'games/chess/chess_service.dart';
import 'helpers/message_url_image_helper.dart';
import 'models/image_codec_support.dart';
import 'screens/scanner_screen.dart';
import 'screens/connect_screen.dart';
import 'services/image_chunk_transport.dart';
import 'services/image_codec_service.dart';
import 'services/image_codec_settings_store.dart';
@@ -434,7 +434,7 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
? const ChromeRequiredScreen()
: widget.connector.hasRadioData
? const ChannelsScreen()
: const ScannerScreen();
: const ConnectScreen();
@override
void initState() {
+216
View File
@@ -0,0 +1,216 @@
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../connector/meshcore_connector.dart';
import '../l10n/l10n.dart';
import '../review_mode/review_mode_entry.dart';
import '../theme/mesh_theme.dart';
import '../utils/platform_info.dart';
import '../widgets/adaptive_app_bar_title.dart';
import '../widgets/get_node_banner.dart';
import '../widgets/mesh_ui.dart';
import 'scanner_screen.dart';
import 'tcp_screen.dart';
import 'usb_screen.dart';
/// Connects a radio over Bluetooth, USB or TCP, one tab each. Only the
/// transports the platform offers get a tab: no USB on iOS, no TCP on web.
class ConnectScreen extends StatefulWidget {
/// The tab to open on; the first tab when the platform lacks it.
final MeshCoreTransportType initialTransport;
const ConnectScreen({
super.key,
this.initialTransport = MeshCoreTransportType.bluetooth,
});
@override
State<ConnectScreen> createState() => _ConnectScreenState();
}
class _ConnectScreenState extends State<ConnectScreen>
with SingleTickerProviderStateMixin {
late final List<MeshCoreTransportType> _transports;
late final TabController _tabController;
@override
void initState() {
super.initState();
_transports = [
MeshCoreTransportType.bluetooth,
if (PlatformInfo.supportsUsbSerial) MeshCoreTransportType.usb,
if (!PlatformInfo.isWeb) MeshCoreTransportType.tcp,
];
_tabController = TabController(
length: _transports.length,
initialIndex: math.max(0, _transports.indexOf(widget.initialTransport)),
vsync: this,
)..addListener(_closeKeyboardLeavingTcp);
}
/// A focused field keeps the TCP tab alive and the keyboard open.
void _closeKeyboardLeavingTcp() {
final focus = FocusManager.instance.primaryFocus;
if (_transports[_tabController.previousIndex] ==
MeshCoreTransportType.tcp &&
focus?.context?.findAncestorWidgetOfExactType<EditableText>() != null) {
focus!.unfocus();
}
}
@override
void dispose() {
_tabController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
final l10n = context.l10n;
final state = context.select<MeshCoreConnector, MeshCoreConnectionState>(
(connector) => connector.state,
);
// On a short screen, an open keyboard leaves room only for the TCP form.
final keyboard = MediaQuery.viewInsetsOf(context).bottom;
final cramped =
keyboard > 0 && MediaQuery.sizeOf(context).height - keyboard < 400;
// Leaving a tab cancels its connection, so tabs stay put meanwhile.
final locked =
state == MeshCoreConnectionState.connecting ||
state == MeshCoreConnectionState.disconnecting;
final tabBar = TabBar(
controller: _tabController,
tabs: [
for (final transport in _transports)
Tab(
icon: Icon(switch (transport) {
MeshCoreTransportType.usb => Icons.usb,
MeshCoreTransportType.tcp => Icons.lan,
_ => Icons.bluetooth,
}),
child: FittedBox(
fit: BoxFit.scaleDown,
child: Text(switch (transport) {
MeshCoreTransportType.usb => l10n.connectionChoiceUsbLabel,
MeshCoreTransportType.tcp => l10n.connectionChoiceTcpLabel,
_ => l10n.connectionChoiceBluetoothLabel,
}),
),
),
],
);
return Scaffold(
appBar: AppBar(
title: ReviewModeLongPress(
child: AdaptiveAppBarTitle(l10n.connectSheet_title),
),
centerTitle: true,
bottom: cramped
? null
: PreferredSize(
preferredSize: tabBar.preferredSize,
child: ExcludeFocus(
excluding: locked,
child: IgnorePointer(
ignoring: locked,
child: Opacity(opacity: locked ? 0.5 : 1, child: tabBar),
),
),
),
),
body: SafeArea(
top: false,
child: Column(
children: [
if (!cramped)
Consumer<MeshCoreConnector>(
builder: (context, connector, _) =>
_ConnectionStatusHeader(connector: connector),
),
Expanded(
child: TabBarView(
controller: _tabController,
physics: locked ? const NeverScrollableScrollPhysics() : null,
children: [
// Its own messenger lets a tab's snackbar lift its FAB.
for (final transport in _transports)
ScaffoldMessenger(
child: switch (transport) {
MeshCoreTransportType.usb => const UsbScreen(),
MeshCoreTransportType.tcp => const TcpScreen(),
_ => const ScannerScreen(),
},
),
],
),
),
],
),
),
bottomNavigationBar: const GetNodeBanner(),
);
}
}
/// Connection status header with AnimatedSwitcher between states.
class _ConnectionStatusHeader extends StatelessWidget {
final MeshCoreConnector connector;
const _ConnectionStatusHeader({required this.connector});
@override
Widget build(BuildContext context) {
final l10n = context.l10n;
final scheme = Theme.of(context).colorScheme;
final connectedName = switch (connector.activeTransport) {
MeshCoreTransportType.usb =>
connector.activeUsbPortDisplayLabel ?? l10n.connectionChoiceUsbLabel,
MeshCoreTransportType.tcp =>
connector.activeTcpEndpoint ?? l10n.connectionChoiceTcpLabel,
_ => connector.deviceDisplayName,
};
final (String label, Color color, bool pulse) = switch (connector.state) {
MeshCoreConnectionState.scanning => (
l10n.scanner_scanning,
MeshPalette.blue,
true,
),
MeshCoreConnectionState.connecting => (
l10n.scanner_connecting,
MeshPalette.warn,
true,
),
MeshCoreConnectionState.connected => (
l10n.scanner_connectedTo(connectedName),
MeshPalette.signal,
false,
),
MeshCoreConnectionState.disconnecting => (
l10n.scanner_disconnecting,
MeshPalette.warn,
true,
),
MeshCoreConnectionState.disconnected => (
l10n.scanner_notConnected,
scheme.onSurfaceVariant,
false,
),
};
return Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 4),
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 300),
child: Align(
key: ValueKey(connector.state),
alignment: Alignment.centerLeft,
child: StatusChip(label: label, color: color, pulse: pulse),
),
),
);
}
}
+18 -110
View File
@@ -8,21 +8,16 @@ import 'package:provider/provider.dart';
import '../connector/meshcore_connector.dart';
import '../l10n/l10n.dart';
import '../services/linux_ble_error_classifier.dart';
import '../theme/mesh_theme.dart';
import '../utils/app_logger.dart';
import '../widgets/adaptive_app_bar_title.dart';
import '../widgets/device_tile.dart';
import '../widgets/empty_state.dart';
import '../widgets/get_node_banner.dart';
import '../widgets/mesh_ui.dart';
import '../widgets/settings_reveal.dart';
import '../helpers/snack_bar_builder.dart';
import '../review_mode/review_mode_entry.dart';
import '../utils/main_navigation.dart';
import 'tcp_screen.dart';
import 'usb_screen.dart';
/// Screen for scanning and connecting to MeshCore devices
/// Bluetooth tab of the connect screen: scans for and connects to MeshCore
/// devices.
class ScannerScreen extends StatefulWidget {
const ScannerScreen({super.key});
@@ -50,8 +45,7 @@ class _ScannerScreenState extends State<ScannerScreen> {
if (_connector.state == MeshCoreConnectionState.disconnected) {
_changedNavigation = false;
} else if (_connector.state == MeshCoreConnectionState.connected &&
// TCP lands here after an auto-reconnect: a dropped link popped
// back to this screen, and the TCP screen is no longer on the stack.
// A TCP auto-reconnect can finish while this tab is shown.
(_connector.activeTransport == MeshCoreTransportType.bluetooth ||
_connector.activeTransport == MeshCoreTransportType.tcp) &&
isCurrentRoute &&
@@ -97,55 +91,20 @@ class _ScannerScreenState extends State<ScannerScreen> {
unawaited(_connector.disconnect(manual: true));
});
}
// A scan would keep the other tabs from connecting until it times out.
if (state == MeshCoreConnectionState.scanning) {
WidgetsBinding.instance.addPostFrameCallback((_) {
if (_connector.state == MeshCoreConnectionState.scanning) {
unawaited(_connector.stopScan());
}
});
}
super.dispose();
}
@override
Widget build(BuildContext context) {
final canPop = Navigator.of(context).canPop();
return Scaffold(
appBar: AppBar(
leading: canPop
? IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () {
appLogger.info('Back button pressed', tag: 'ScannerScreen');
Navigator.of(context).maybePop();
},
)
: null,
title: ReviewModeLongPress(
child: AdaptiveAppBarTitle(context.l10n.scanner_title),
),
centerTitle: true,
automaticallyImplyLeading: false,
actions: [
if (PlatformInfo.supportsUsbSerial)
IconButton(
icon: const Icon(Icons.usb),
tooltip: context.l10n.connectionChoiceUsbLabel,
onPressed: () {
appLogger.info(
'USB selected, opening UsbScreen',
tag: 'ScannerScreen',
);
Navigator.of(
context,
).push(MaterialPageRoute(builder: (_) => const UsbScreen()));
},
),
if (!PlatformInfo.isWeb)
IconButton(
icon: const Icon(Icons.lan),
tooltip: context.l10n.connectionChoiceTcpLabel,
onPressed: () {
Navigator.of(
context,
).push(MaterialPageRoute(builder: (_) => const TcpScreen()));
},
),
],
),
body: SafeArea(
top: false,
child: Consumer<MeshCoreConnector>(
@@ -161,9 +120,6 @@ class _ScannerScreenState extends State<ScannerScreen> {
),
),
// Connection status header
_ConnectionStatusHeader(connector: connector),
// Device list
Expanded(child: _buildDeviceList(context, connector)),
],
@@ -171,7 +127,6 @@ class _ScannerScreenState extends State<ScannerScreen> {
},
),
),
bottomNavigationBar: const GetNodeBanner(),
floatingActionButton: Consumer<MeshCoreConnector>(
builder: (context, connector, child) {
final isScanning =
@@ -261,10 +216,16 @@ class _ScannerScreenState extends State<ScannerScreen> {
itemBuilder: (context, index) {
final result = connector.scanResults[index];
final deviceId = result.device.remoteId.toString();
final name = result.device.platformName.isNotEmpty
? result.device.platformName
: result.advertisementData.advName;
return ListEntrance(
index: index,
child: DeviceTile(
scanResult: result,
name: name.isNotEmpty ? name : context.l10n.common_unknownDevice,
id: deviceId,
icon: Icons.router,
rssi: result.rssi,
isConnecting: isConnecting && _connectingDeviceId == deviceId,
onTap: isConnecting
? null
@@ -465,56 +426,3 @@ class _BluetoothOffBanner extends StatelessWidget {
);
}
}
/// Connection status header with AnimatedSwitcher between states.
class _ConnectionStatusHeader extends StatelessWidget {
final MeshCoreConnector connector;
const _ConnectionStatusHeader({required this.connector});
@override
Widget build(BuildContext context) {
final l10n = context.l10n;
final scheme = Theme.of(context).colorScheme;
final (String label, Color color, bool pulse) = switch (connector.state) {
MeshCoreConnectionState.scanning => (
l10n.scanner_scanning,
MeshPalette.blue,
true,
),
MeshCoreConnectionState.connecting => (
l10n.scanner_connecting,
MeshPalette.warn,
true,
),
MeshCoreConnectionState.connected => (
l10n.scanner_connectedTo(connector.deviceDisplayName),
MeshPalette.signal,
false,
),
MeshCoreConnectionState.disconnecting => (
l10n.scanner_disconnecting,
MeshPalette.warn,
true,
),
MeshCoreConnectionState.disconnected => (
l10n.scanner_notConnected,
scheme.onSurfaceVariant,
false,
),
};
return Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 4),
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 300),
child: Align(
key: ValueKey(connector.state),
alignment: Alignment.centerLeft,
child: StatusChip(label: label, color: color, pulse: pulse),
),
),
);
}
}
+7 -89
View File
@@ -8,12 +8,9 @@ import '../connector/meshcore_connector.dart';
import '../l10n/l10n.dart';
import '../services/app_settings_service.dart';
import '../theme/mesh_theme.dart';
import '../utils/platform_info.dart';
import '../widgets/adaptive_app_bar_title.dart';
import '../widgets/mesh_ui.dart';
import '../helpers/snack_bar_builder.dart';
import '../utils/main_navigation.dart';
import 'usb_screen.dart';
class TcpScreen extends StatefulWidget {
const TcpScreen({super.key});
@@ -28,6 +25,7 @@ class _TcpScreenState extends State<TcpScreen> {
late final MeshCoreConnector _connector;
late final VoidCallback _connectionListener;
bool _navigatedToChannels = false;
bool _startedConnect = false;
String? _hostError;
String? _portError;
@@ -74,7 +72,10 @@ class _TcpScreenState extends State<TcpScreen> {
_hostController.dispose();
_portController.dispose();
_connector.removeListener(_connectionListener);
if (!_navigatedToChannels &&
// Only cancel a connection this tab started; an automatic reconnect is
// left alone.
if (_startedConnect &&
!_navigatedToChannels &&
_connector.activeTransport == MeshCoreTransportType.tcp &&
_connector.state != MeshCoreConnectionState.disconnected) {
WidgetsBinding.instance.addPostFrameCallback((_) {
@@ -87,14 +88,6 @@ class _TcpScreenState extends State<TcpScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () => Navigator.of(context).maybePop(),
),
title: AdaptiveAppBarTitle(context.l10n.tcpScreenTitle),
centerTitle: true,
),
body: SafeArea(
top: false,
child: Consumer<MeshCoreConnector>(
@@ -107,26 +100,9 @@ class _TcpScreenState extends State<TcpScreen> {
final isButtonDisabled =
connector.state != MeshCoreConnectionState.disconnected;
return ListView(
padding: const EdgeInsets.only(bottom: 32),
padding: const EdgeInsets.only(top: 8, bottom: 32),
children: [
// Status header
Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 4),
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 300),
child: Align(
key: ValueKey(connector.state),
alignment: Alignment.centerLeft,
child: _buildStatusChip(context, connector),
),
),
),
// Transport switcher
_buildTransportLinks(context),
// Connection form
SectionHeader(context.l10n.tcpSectionTitle),
MeshCard(
padding: const EdgeInsets.all(16),
child: Column(
@@ -233,65 +209,6 @@ class _TcpScreenState extends State<TcpScreen> {
);
}
Widget _buildStatusChip(BuildContext context, MeshCoreConnector connector) {
final l10n = context.l10n;
if (connector.isTcpTransportConnected) {
return StatusChip(
label: l10n.scanner_connectedTo(connector.activeTcpEndpoint ?? 'TCP'),
color: MeshPalette.signal,
);
} else if (connector.state == MeshCoreConnectionState.connecting &&
connector.activeTransport == MeshCoreTransportType.tcp) {
return StatusChip(
label: l10n.tcpStatus_connectingTo(
'${_hostController.text}:${_portController.text}',
),
color: MeshPalette.warn,
pulse: true,
);
} else if (connector.state == MeshCoreConnectionState.disconnecting &&
connector.activeTransport == MeshCoreTransportType.tcp) {
return StatusChip(
label: l10n.scanner_disconnecting,
color: MeshPalette.warn,
pulse: true,
);
} else {
return StatusChip(
label: l10n.tcpStatus_notConnected,
color: Theme.of(context).colorScheme.onSurfaceVariant,
);
}
}
Widget _buildTransportLinks(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
child: Wrap(
spacing: 12,
runSpacing: 8,
children: [
if (PlatformInfo.supportsUsbSerial)
OutlinedButton.icon(
onPressed: () {
Navigator.of(context).pushReplacement(
MaterialPageRoute(builder: (_) => const UsbScreen()),
);
},
icon: const Icon(Icons.usb),
label: Text(context.l10n.connectionChoiceUsbLabel),
),
OutlinedButton.icon(
onPressed: () => Navigator.of(context).maybePop(),
icon: const Icon(Icons.bluetooth),
label: Text(context.l10n.connectionChoiceBluetoothLabel),
),
],
),
);
}
Future<void> _connectTcp() async {
if (_connector.state == MeshCoreConnectionState.connecting ||
_connector.state == MeshCoreConnectionState.connected ||
@@ -313,6 +230,7 @@ class _TcpScreenState extends State<TcpScreen> {
return;
}
_startedConnect = true;
try {
await _connector.connectTcp(host: host, port: parsedPort);
} catch (error) {
+39 -177
View File
@@ -6,16 +6,14 @@ import 'package:provider/provider.dart';
import '../connector/meshcore_connector.dart';
import '../l10n/l10n.dart';
import '../theme/mesh_theme.dart';
import '../utils/app_logger.dart';
import '../utils/platform_info.dart';
import '../utils/usb_port_labels.dart';
import '../widgets/adaptive_app_bar_title.dart';
import '../widgets/device_tile.dart';
import '../widgets/empty_state.dart';
import '../widgets/mesh_ui.dart';
import '../helpers/snack_bar_builder.dart';
import '../utils/main_navigation.dart';
import 'tcp_screen.dart';
class UsbScreen extends StatefulWidget {
const UsbScreen({super.key});
@@ -27,6 +25,7 @@ class UsbScreen extends StatefulWidget {
class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
final List<String> _ports = <String>[];
bool _isLoadingPorts = true;
String? _connectingPort;
bool _navigatedToChannels = false;
bool _didScheduleInitialLoad = false;
Timer? _hotPlugTimer;
@@ -36,6 +35,9 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
bool get _supportsHotPlug =>
PlatformInfo.isWindows || PlatformInfo.isLinux || PlatformInfo.isMacOS;
/// Desktop hot-plugs automatically; web uses the port-picker button.
bool get _showRefreshButton => !_supportsHotPlug && !PlatformInfo.isWeb;
/// Web Serial lists a synthetic "request a port" entry plus ports the user
/// already authorised; the request entry opens the browser's port picker.
static const String _webRequestPortName = 'web:request';
@@ -109,141 +111,27 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () => Navigator.of(context).maybePop(),
),
title: AdaptiveAppBarTitle(context.l10n.usbScreenTitle),
centerTitle: true,
),
body: SafeArea(
top: false,
child: Consumer<MeshCoreConnector>(
builder: (context, connector, child) {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
// Status header
Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 4),
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 300),
child: Align(
key: ValueKey('${connector.state}_$_isLoadingPorts'),
alignment: Alignment.centerLeft,
child: _buildStatusChip(context, connector),
),
),
),
// Transport switcher
_buildTransportLinks(context),
// Port list
Expanded(child: _buildPortList(context, connector)),
],
);
},
builder: (context, connector, child) =>
_buildPortList(context, connector),
),
),
// Desktop hot-plugs automatically; web uses the port-picker button.
bottomNavigationBar: _supportsHotPlug || PlatformInfo.isWeb
? null
: SafeArea(
top: false,
minimum: const EdgeInsets.fromLTRB(16, 8, 16, 16),
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
FloatingActionButton.extended(
onPressed: _isLoadingPorts ? null : _loadPorts,
heroTag: 'usb_refresh_action',
icon: _isLoadingPorts
? const SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(strokeWidth: 2),
)
: const Icon(Icons.usb),
label: Text(context.l10n.scanner_scan),
),
],
),
),
);
}
Widget _buildStatusChip(BuildContext context, MeshCoreConnector connector) {
final l10n = context.l10n;
final scheme = Theme.of(context).colorScheme;
if (_isLoadingPorts) {
return StatusChip(
label: l10n.usbStatus_searching,
color: scheme.primary,
pulse: true,
);
} else if (connector.isUsbTransportConnected) {
switch (connector.state) {
case MeshCoreConnectionState.connected:
return StatusChip(
label: l10n.scanner_connectedTo(
connector.activeUsbPortDisplayLabel ?? 'USB',
),
color: MeshPalette.signal,
);
case MeshCoreConnectionState.disconnecting:
return StatusChip(
label: l10n.scanner_disconnecting,
color: MeshPalette.warn,
pulse: true,
);
default:
return StatusChip(
label: l10n.usbStatus_notConnected,
color: scheme.onSurfaceVariant,
);
}
} else if (connector.state == MeshCoreConnectionState.connecting &&
connector.activeTransport == MeshCoreTransportType.usb) {
return StatusChip(
label: l10n.usbStatus_connecting,
color: MeshPalette.warn,
pulse: true,
);
} else {
return StatusChip(
label: l10n.usbStatus_notConnected,
color: scheme.onSurfaceVariant,
);
}
}
Widget _buildTransportLinks(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
child: Wrap(
spacing: 12,
runSpacing: 8,
children: [
if (!PlatformInfo.isWeb)
OutlinedButton.icon(
onPressed: () {
Navigator.of(context).pushReplacement(
MaterialPageRoute(builder: (_) => const TcpScreen()),
);
},
icon: const Icon(Icons.lan),
label: Text(context.l10n.connectionChoiceTcpLabel),
),
OutlinedButton.icon(
onPressed: () => Navigator.of(context).maybePop(),
icon: const Icon(Icons.bluetooth),
label: Text(context.l10n.connectionChoiceBluetoothLabel),
),
],
),
floatingActionButton: _showRefreshButton
? FloatingActionButton.extended(
onPressed: _isLoadingPorts ? null : _loadPorts,
heroTag: 'usb_refresh_action',
icon: _isLoadingPorts
? const SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(strokeWidth: 2),
)
: const Icon(Icons.refresh),
label: Text(context.l10n.repeater_refresh),
)
: null,
);
}
@@ -263,7 +151,12 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
}
if (_ports.isEmpty) {
return EmptyState(icon: Icons.usb, title: l10n.usbScreenEmptyState);
return EmptyState(
icon: Icons.usb,
title: _supportsHotPlug
? l10n.usbScreenEmptyStateAuto
: l10n.usbScreenEmptyState,
);
}
return _buildPortListView(context, _ports, isConnecting);
@@ -296,7 +189,7 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
_connectPort(_webRequestPortName);
}
: null,
icon: isConnecting
icon: isConnecting && _connectingPort == _webRequestPortName
? const SizedBox(
width: 20,
height: 20,
@@ -323,7 +216,7 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
bool isConnecting,
) {
return ListView.builder(
padding: const EdgeInsets.only(bottom: 32),
padding: EdgeInsets.only(top: 8, bottom: _showRefreshButton ? 88 : 32),
itemCount: ports.length,
itemBuilder: (context, index) {
final port = ports[index];
@@ -334,47 +227,13 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
return ListEntrance(
index: index,
child: MeshCard(
padding: EdgeInsets.zero,
child: ListTile(
onTap: isConnecting
? null
: () {
HapticFeedback.selectionClick();
_connectPort(port);
},
leading: AvatarCircle(
name: displayName,
size: 40,
icon: Icons.usb,
color: Theme.of(context).colorScheme.primary,
),
title: Text(
displayName,
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
fontWeight: FontWeight.w600,
color: Theme.of(context).colorScheme.onSurface,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
subtitle: showRawName
? Text(
rawName,
style: MeshTheme.mono(
fontSize: 13,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
)
: null,
trailing: Icon(
Icons.chevron_right,
size: 24,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
child: DeviceTile(
name: displayName,
id: showRawName ? rawName : null,
icon: Icons.usb,
color: Theme.of(context).colorScheme.primary,
isConnecting: isConnecting && _connectingPort == port,
onTap: isConnecting ? null : () => _connectPort(port),
),
);
},
@@ -448,6 +307,7 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
tag: 'UsbScreen',
);
setState(() => _connectingPort = port);
try {
await _connector.connectUsb(portName: rawPortName);
} catch (error, stackTrace) {
@@ -458,6 +318,8 @@ class _UsbScreenState extends State<UsbScreen> with WidgetsBindingObserver {
if (!mounted) return;
_showError(error);
unawaited(_loadPorts());
} finally {
if (mounted) setState(() => _connectingPort = null);
}
}
+8 -7
View File
@@ -4,9 +4,8 @@ import 'package:provider/provider.dart';
import '../connector/meshcore_connector.dart';
import '../helpers/snack_bar_builder.dart';
import '../l10n/l10n.dart';
import '../screens/scanner_screen.dart';
import '../screens/connect_screen.dart';
import '../screens/settings_screen.dart';
import '../screens/usb_screen.dart';
import '../storage/last_radio_store.dart';
import '../theme/theme_icons.dart';
import '../utils/dialog_utils.dart';
@@ -42,13 +41,15 @@ class _ConnectSheet extends StatelessWidget {
void _chooseRadio(BuildContext context, LastRadio? lastRadio) {
Navigator.of(context).pop();
if (!hostContext.mounted) return;
final usb =
PlatformInfo.isWeb ||
(lastRadio?.transport == LastRadio.transportUsb &&
PlatformInfo.supportsUsbSerial);
final transport = switch (lastRadio?.transport) {
_ when PlatformInfo.isWeb => MeshCoreTransportType.usb,
LastRadio.transportUsb => MeshCoreTransportType.usb,
LastRadio.transportTcp => MeshCoreTransportType.tcp,
_ => MeshCoreTransportType.bluetooth,
};
Navigator.of(hostContext).push(
MaterialPageRoute(
builder: (_) => usb ? const UsbScreen() : const ScannerScreen(),
builder: (_) => ConnectScreen(initialTransport: transport),
),
);
}
+68 -66
View File
@@ -1,51 +1,48 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import '../l10n/l10n.dart';
import '../theme/mesh_theme.dart';
import 'mesh_ui.dart';
import 'signal_ui.dart';
/// A MeshCard-based row for displaying a scanned BLE device.
/// Shows an AvatarCircle (router icon, deterministic hue from device name),
/// device name, mono MAC address, mono RSSI dBm, and SignalBars on the right.
/// While connecting, shows a small progress ring instead of signal bars.
/// A MeshCard row for a radio to connect to: an AvatarCircle, the name, a
/// mono id and, for a scanned BLE device, its signal ([rssi]) on the right.
/// While connecting, shows a small progress ring instead of the signal.
class DeviceTile extends StatelessWidget {
final ScanResult scanResult;
final String name;
final String? id;
final IconData icon;
final Color? color;
final int? rssi;
final VoidCallback? onTap;
final bool isConnecting;
const DeviceTile({
super.key,
required this.scanResult,
required this.name,
this.id,
required this.icon,
this.color,
this.rssi,
required this.onTap,
this.isConnecting = false,
});
@override
Widget build(BuildContext context) {
final device = scanResult.device;
final rssi = scanResult.rssi;
final name = device.platformName.isNotEmpty
? device.platformName
: scanResult.advertisementData.advName;
final displayName = name.isNotEmpty
? name
: context.l10n.common_unknownDevice;
final mac = device.remoteId.toString();
final scheme = Theme.of(context).colorScheme;
final tier = rssi >= -60
? 0
: rssi >= -70
? 1
: rssi >= -80
? 2
: rssi >= -90
? 3
: 4;
final signalUi = signalUiForStrengthTier(tier);
final trailing = isConnecting
? SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(
strokeWidth: 2,
color: scheme.primary,
),
)
: rssi == null
? null
: _signal(rssi!);
return MeshCard(
onTap: onTap == null
@@ -57,7 +54,7 @@ class DeviceTile extends StatelessWidget {
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 12),
child: Row(
children: [
AvatarCircle(name: displayName, size: 42, icon: Icons.router),
AvatarCircle(name: name, size: 42, icon: icon, color: color),
const SizedBox(width: 12),
Expanded(
child: Column(
@@ -65,7 +62,7 @@ class DeviceTile extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
Text(
displayName,
name,
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
fontWeight: FontWeight.w600,
color: scheme.onSurface,
@@ -73,48 +70,53 @@ class DeviceTile extends StatelessWidget {
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
const SizedBox(height: 3),
Text(
mac,
style: MeshTheme.mono(
fontSize: 13,
color: scheme.onSurfaceVariant,
if (id != null) ...[
const SizedBox(height: 3),
Text(
id!,
style: MeshTheme.mono(
fontSize: 13,
color: scheme.onSurfaceVariant,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
],
],
),
),
const SizedBox(width: 12),
if (isConnecting)
SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(
strokeWidth: 2,
color: scheme.primary,
),
)
else
Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Icon(signalUi.icon, size: 20, color: signalUi.color),
const SizedBox(height: 3),
Text(
'$rssi dBm',
style: MeshTheme.mono(
fontSize: 13,
fontWeight: FontWeight.w600,
color: signalUi.color,
),
),
],
),
if (trailing != null) ...[const SizedBox(width: 12), trailing],
],
),
);
}
Widget _signal(int rssi) {
final tier = rssi >= -60
? 0
: rssi >= -70
? 1
: rssi >= -80
? 2
: rssi >= -90
? 3
: 4;
final signalUi = signalUiForStrengthTier(tier);
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Icon(signalUi.icon, size: 20, color: signalUi.color),
const SizedBox(height: 3),
Text(
'$rssi dBm',
style: MeshTheme.mono(
fontSize: 13,
fontWeight: FontWeight.w600,
color: signalUi.color,
),
),
],
);
}
}
+65 -40
View File
@@ -4,11 +4,12 @@ import 'package:url_launcher/url_launcher.dart';
import '../l10n/l10n.dart';
import '../services/node_banner_service.dart';
import '../theme/mesh_theme.dart';
import 'settings_reveal.dart';
/// Bottom banner on the connect screen pointing new users at a node to buy.
/// Its link (and optionally its text) comes from the `_banner` DNS TXT
/// record; it stays hidden until that loads, and when the lookup fails or the
/// record turns it off.
/// record turns it off. Close hides it until the screen closes.
class GetNodeBanner extends StatefulWidget {
final Future<NodeBannerConfig?> Function()? loadConfig;
@@ -20,6 +21,7 @@ class GetNodeBanner extends StatefulWidget {
class _GetNodeBannerState extends State<GetNodeBanner> {
NodeBannerConfig? _config;
bool _closed = false;
@override
void initState() {
@@ -32,17 +34,34 @@ class _GetNodeBannerState extends State<GetNodeBanner> {
@override
Widget build(BuildContext context) {
final config = _config;
if (config == null) return const SizedBox.shrink();
// A landscape phone has no room for it next to the screen's content.
final roomy = MediaQuery.sizeOf(context).height >= 480;
// The bottom inset stays reserved while hidden, so the screen's content
// keeps clear of the system bar.
return SafeArea(
top: false,
child: RevealOnEnable(
visible: config != null && !_closed && roomy,
child: config == null
? const SizedBox.shrink()
: _buildBanner(context, config),
),
);
}
Widget _buildBanner(BuildContext context, NodeBannerConfig config) {
final l10n = context.l10n;
final scheme = Theme.of(context).colorScheme;
final textTheme = Theme.of(context).textTheme;
final ink = scheme.onPrimaryContainer;
void open() => launchUrl(config.url, mode: LaunchMode.externalApplication);
return SafeArea(
top: false,
child: Padding(
padding: const EdgeInsets.fromLTRB(12, 4, 12, 12),
return Padding(
padding: const EdgeInsets.fromLTRB(16, 4, 16, 12),
child: ConstrainedBox(
constraints: BoxConstraints(
maxHeight: MediaQuery.sizeOf(context).height * 0.4,
),
child: Material(
color: scheme.primaryContainer,
shape: RoundedRectangleBorder(
@@ -52,56 +71,62 @@ class _GetNodeBannerState extends State<GetNodeBanner> {
clipBehavior: Clip.antiAlias,
child: InkWell(
onTap: open,
child: Padding(
padding: const EdgeInsets.fromLTRB(14, 12, 14, 10),
child: SingleChildScrollView(
padding: const EdgeInsetsDirectional.fromSTEB(14, 2, 2, 10),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Row(
children: [
Icon(
Icons.router_outlined,
size: 28,
color: scheme.onPrimaryContainer,
),
const SizedBox(width: 10),
Icon(Icons.router_outlined, size: 24, color: ink),
const SizedBox(width: 12),
Expanded(
child: Text(
config.title ?? l10n.scanner_getNodeTitle,
style: textTheme.titleMedium?.copyWith(
color: scheme.onPrimaryContainer,
color: ink,
fontWeight: FontWeight.w700,
),
),
),
IconButton(
icon: Icon(Icons.close, color: ink),
tooltip: l10n.common_close,
onPressed: () => setState(() => _closed = true),
),
],
),
const SizedBox(height: 6),
Text(
config.body ?? l10n.scanner_getNodeBody,
style: textTheme.bodyMedium?.copyWith(
color: scheme.onPrimaryContainer,
height: 1.35,
),
),
const SizedBox(height: 10),
SizedBox(
width: double.infinity,
child: FilledButton.icon(
onPressed: open,
icon: const Icon(Icons.shopping_cart_outlined, size: 22),
label: Text(config.action ?? l10n.scanner_getNodeAction),
),
),
const SizedBox(height: 6),
Center(
child: Text(
l10n.scanner_getNodeDisclosure,
textAlign: TextAlign.center,
style: textTheme.bodySmall?.copyWith(
color: scheme.onPrimaryContainer.withValues(alpha: 0.8),
),
Padding(
padding: const EdgeInsetsDirectional.only(end: 12),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisSize: MainAxisSize.min,
children: [
Text(
config.body ?? l10n.scanner_getNodeBody,
style: textTheme.bodyMedium?.copyWith(
color: ink,
height: 1.35,
),
),
const SizedBox(height: 10),
FilledButton.icon(
onPressed: open,
icon: const Icon(Icons.shopping_cart_outlined),
label: Text(
config.action ?? l10n.scanner_getNodeAction,
),
),
const SizedBox(height: 6),
Text(
l10n.scanner_getNodeDisclosure,
textAlign: TextAlign.center,
style: textTheme.bodySmall?.copyWith(
color: ink.withValues(alpha: 0.8),
),
),
],
),
),
],