Build repeater settings from a spec list and stop fetching them on open
Repeater settings: - Each setting is declared once in repeaterSettingSpecs (key, section, input type, range, step, labels); the screen builds its control, refresh and save command from that list. - Add flood.max.advert, flood.max.unscoped, rxdelay, cad, adc.multiplier and extra.sf. adc.multiplier and extra.sf note their hardware limits (extra.sf is LR2021 only and its get reply has no "> " prefix). - Settings can be edited before they are fetched; only edited ones are sent. set radio needs freq, bw, sf and cr together, so a missing one is reported instead of silently skipping the radio. - Check tx delays against the firmware's 0-2 range. - Keep the not-loaded hint's list slot so the Advanced card doesn't collapse when the first value arrives. - New "Auto-fetch repeater settings" app setting, off by default: each get is a LoRa round trip. Fixes: - Adding a discovered contact sent its advert time as lastmod, making it the oldest contact; with overwrite-oldest on a full table the next add evicted it and it reappeared in the discovered list. Let the radio stamp its own clock. - Snackbars replace each other instead of queueing. Translations: add the new strings in all locales and fix widespread mistranslations in hu, ko, sk, sl and uk.
This commit is contained in:
1 parent
929d371061
commit
705267d98f
47 files changed
+4160
-3819
No files matched your search
@@ -1304,7 +1304,7 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String contacts_searchContacts(int number, String str) {
|
||||
return 'Cerca contatti...';
|
||||
return 'Cerca $number$str contatti...';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -3161,9 +3161,6 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get repeater_rxGainHelper =>
|
||||
'Maggiore sensibilità, maggiore assorbimento di corrente (solo per SX1262/SX1268)';
|
||||
|
||||
@override
|
||||
String get repeater_refreshRxGain => 'Rafforza l\'effetto di RX';
|
||||
|
||||
@override
|
||||
String get repeater_multiAcks => 'ACK multipli';
|
||||
|
||||
@@ -3171,9 +3168,6 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get repeater_multiAcksSubtitle =>
|
||||
'Riconoscere i messaggi attraverso percorsi multipli per una migliore consegna.';
|
||||
|
||||
@override
|
||||
String get repeater_refreshMultiAcks => 'Riaffermare più ACK';
|
||||
|
||||
@override
|
||||
String get repeater_networkHealth => 'Salute della rete';
|
||||
|
||||
@@ -3214,10 +3208,6 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get repeater_ownerInfoHelper =>
|
||||
'Metadati pubblici per questo ripetitore';
|
||||
|
||||
@override
|
||||
String get repeater_refreshOwnerInfo =>
|
||||
'Aggiorna le informazioni sull\'operatore';
|
||||
|
||||
@override
|
||||
String get repeater_floodMax => 'Numero massimo di salti in flood';
|
||||
|
||||
@@ -3352,22 +3342,9 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
return 'Errore durante il salvataggio delle impostazioni: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_refreshBasicSettings => 'Aggiorna Impostazioni Base';
|
||||
|
||||
@override
|
||||
String get repeater_refreshRadioSettings => 'Aggiorna le Impostazioni Radio';
|
||||
|
||||
@override
|
||||
String get repeater_refreshTxPower => 'Aggiorna TX potenza';
|
||||
|
||||
@override
|
||||
String get repeater_refreshPacketForwarding =>
|
||||
'Aggiorna il inoltro pacchetti';
|
||||
|
||||
@override
|
||||
String get repeater_refreshGuestAccess => 'Aggiorna Accesso Ospite';
|
||||
|
||||
@override
|
||||
String get repeater_refreshPrivacyMode => 'Aggiorna Modalità Privacy';
|
||||
|
||||
@@ -5242,6 +5219,14 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
String get appSettings_jumpToOldestUnreadSubtitle =>
|
||||
'Quando si apre una chat con messaggi non letti, scorrete verso l\'alto fino al primo messaggio non letto, invece che al più recente.';
|
||||
|
||||
@override
|
||||
String get appSettings_autoFetchRepeaterSettings =>
|
||||
'Recupera automaticamente le impostazioni del ripetitore';
|
||||
|
||||
@override
|
||||
String get appSettings_autoFetchRepeaterSettingsSubtitle =>
|
||||
'Richiede ogni impostazione all\'apertura delle impostazioni di un ripetitore. Ognuna è una richiesta separata via LoRa, quindi è lento e usa tempo di trasmissione. Se disattivato, tocca Aggiorna tutto o aggiorna le singole sezioni.';
|
||||
|
||||
@override
|
||||
String get appSettings_languageHu => 'Ungherese';
|
||||
|
||||
@@ -5937,6 +5922,62 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
return '$field: inserisci un valore';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxAdvert =>
|
||||
'Numero massimo di salti in flood per gli advert';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxAdvertHelper =>
|
||||
'Numero massimo di salti che un advert diffuso in flood può percorrere (0-64, predefinito 8)';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxUnscoped =>
|
||||
'Numero massimo di salti in flood senza regione';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxUnscopedHelper =>
|
||||
'Numero massimo di salti per i flood senza ambito regionale (0-64, predefinito 64). Un valore basso come 3 mantiene locale il traffico senza regione.';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxUnscopedUnset => 'Come il massimo in flood';
|
||||
|
||||
@override
|
||||
String get repeater_rxDelay => 'Ritardo di ricezione';
|
||||
|
||||
@override
|
||||
String get repeater_rxDelayHelper =>
|
||||
'Trattiene i pacchetti flood ricevuti con segnale debole prima di inoltrarli, così i percorsi con segnale forte passano per primi e vengono inviati meno duplicati (0-20, 0 lo disattiva).';
|
||||
|
||||
@override
|
||||
String get repeater_cad => 'Rilevamento dell\'attività del canale';
|
||||
|
||||
@override
|
||||
String get repeater_cadHelper =>
|
||||
'Ascolta l\'attività prima di trasmettere e attende finché il canale è occupato. Funziona insieme alla soglia di interferenza.';
|
||||
|
||||
@override
|
||||
String get repeater_adcMultiplier =>
|
||||
'Calibrazione della tensione della batteria';
|
||||
|
||||
@override
|
||||
String get repeater_adcMultiplierHelper =>
|
||||
'Moltiplicatore della lettura della tensione della batteria (0-10). 0 usa il valore predefinito della scheda.';
|
||||
|
||||
@override
|
||||
String get repeater_boardSupportNote =>
|
||||
'Non tutte le schede lo supportano. Le schede non supportate rifiutano la modifica.';
|
||||
|
||||
@override
|
||||
String get repeater_extraSf => 'Fattori di diffusione (SF) aggiuntivi';
|
||||
|
||||
@override
|
||||
String get repeater_extraSfHelper =>
|
||||
'Fino a 3 fattori di diffusione (SF) in più su cui ascoltare contemporaneamente, separati da virgole (ad esempio 9,10). Lascia vuoto per disattivare.';
|
||||
|
||||
@override
|
||||
String get repeater_lr2021Only =>
|
||||
'Solo per repeater con radio LR2021. Gli altri repeater non hanno questa impostazione e la rifiutano.';
|
||||
|
||||
@override
|
||||
String get losMapDetailTooltip => 'Dettaglio mappa';
|
||||
|
||||
@@ -6392,11 +6433,6 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
return '$setting: $value non è valido';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Potenza TX $value fuori intervallo ($min - $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'La chiave privata deve essere di esattamente $length caratteri esadecimali';
|
||||
|
||||
Reference in new issue
Block a user