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
@@ -3178,9 +3178,6 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get repeater_rxGainHelper =>
|
||||
'Większa czułość, większe pobieranie prądu (dotyczy tylko SX1262/SX1268)';
|
||||
|
||||
@override
|
||||
String get repeater_refreshRxGain => 'Zaktualizuj zwiększone zyski RX';
|
||||
|
||||
@override
|
||||
String get repeater_multiAcks => 'Wielokrotne potwierdzenia odbioru';
|
||||
|
||||
@@ -3188,10 +3185,6 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get repeater_multiAcksSubtitle =>
|
||||
'Potwierdź odbiór wiadomości za pomocą różnych ścieżek, aby zapewnić lepszą dostawę.';
|
||||
|
||||
@override
|
||||
String get repeater_refreshMultiAcks =>
|
||||
'Odświeżanie wielokrotnych potwierdzeń';
|
||||
|
||||
@override
|
||||
String get repeater_networkHealth => 'Stan sieci';
|
||||
|
||||
@@ -3233,10 +3226,6 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get repeater_ownerInfoHelper =>
|
||||
'Publiczne metadane dla tego urządzenia powielającego';
|
||||
|
||||
@override
|
||||
String get repeater_refreshOwnerInfo =>
|
||||
'Aktualizacja danych dotyczących operatora';
|
||||
|
||||
@override
|
||||
String get repeater_floodMax => 'Maksymalna liczba skoków flood';
|
||||
|
||||
@@ -3370,21 +3359,9 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
return 'Błąd zapisu ustawień: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_refreshBasicSettings => 'Odśwież Podstawowe Ustawienia';
|
||||
|
||||
@override
|
||||
String get repeater_refreshRadioSettings => 'Odśwież ustawienia radia';
|
||||
|
||||
@override
|
||||
String get repeater_refreshTxPower => 'Odśwież moc TX';
|
||||
|
||||
@override
|
||||
String get repeater_refreshPacketForwarding => 'Odśwież trasowanie pakietów';
|
||||
|
||||
@override
|
||||
String get repeater_refreshGuestAccess => 'Odśwież dostęp gościa';
|
||||
|
||||
@override
|
||||
String get repeater_refreshPrivacyMode => 'Odśwież Tryb Prywatności';
|
||||
|
||||
@@ -5268,6 +5245,14 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
String get appSettings_jumpToOldestUnreadSubtitle =>
|
||||
'Przy otwieraniu czatu z nieodczytanymi wiadomościami, przewijaj, aby przejść do pierwszej nieodczytanej wiadomości, zamiast do najnowszej.';
|
||||
|
||||
@override
|
||||
String get appSettings_autoFetchRepeaterSettings =>
|
||||
'Automatycznie pobieraj ustawienia przekaźnika';
|
||||
|
||||
@override
|
||||
String get appSettings_autoFetchRepeaterSettingsSubtitle =>
|
||||
'Żądaj wszystkich ustawień po otwarciu ustawień przekaźnika. Każde z nich to osobne żądanie przez LoRa, więc jest to wolne i zużywa czas antenowy. Gdy wyłączone, dotknij Odśwież wszystko lub odśwież poszczególne sekcje.';
|
||||
|
||||
@override
|
||||
String get appSettings_languageHu => 'Węgierski';
|
||||
|
||||
@@ -5962,6 +5947,61 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
return '$field: wpisz wartość';
|
||||
}
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxAdvert =>
|
||||
'Maks. liczba skoków flood dla advertów';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxAdvertHelper =>
|
||||
'Maksymalna liczba skoków, które może pokonać rozgłaszany (flood) advert (0-64, domyślnie 8)';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxUnscoped =>
|
||||
'Maks. liczba skoków flood bez zakresu';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxUnscopedHelper =>
|
||||
'Maksymalna liczba skoków dla floodów bez zakresu regionu (0-64, domyślnie 64). Niska wartość, np. 3, utrzymuje ruch bez zakresu lokalnie.';
|
||||
|
||||
@override
|
||||
String get repeater_floodMaxUnscopedUnset => 'Jak maks. flood';
|
||||
|
||||
@override
|
||||
String get repeater_rxDelay => 'Opóźnienie odbioru';
|
||||
|
||||
@override
|
||||
String get repeater_rxDelayHelper =>
|
||||
'Wstrzymuje pakiety flood odebrane ze słabym sygnałem przed przekazaniem dalej, dzięki czemu ścieżki z silnym sygnałem są pierwsze i wysyłanych jest mniej duplikatów (0-20, 0 wyłącza).';
|
||||
|
||||
@override
|
||||
String get repeater_cad => 'Wykrywanie aktywności kanału';
|
||||
|
||||
@override
|
||||
String get repeater_cadHelper =>
|
||||
'Nasłuchuje aktywności przed nadawaniem i czeka, dopóki kanał jest zajęty. Działa razem z progiem zakłóceń.';
|
||||
|
||||
@override
|
||||
String get repeater_adcMultiplier => 'Kalibracja napięcia baterii';
|
||||
|
||||
@override
|
||||
String get repeater_adcMultiplierHelper =>
|
||||
'Mnożnik odczytu napięcia baterii (0-10). 0 używa wartości domyślnej płytki.';
|
||||
|
||||
@override
|
||||
String get repeater_boardSupportNote =>
|
||||
'Nie każda płytka to obsługuje. Nieobsługiwane płytki odrzucają zmianę.';
|
||||
|
||||
@override
|
||||
String get repeater_extraSf => 'Dodatkowe współczynniki rozpraszania';
|
||||
|
||||
@override
|
||||
String get repeater_extraSfHelper =>
|
||||
'Do 3 dodatkowych współczynników rozpraszania, na których nasłuchiwać jednocześnie, oddzielonych przecinkami (na przykład 9,10). Pozostaw puste, aby wyłączyć.';
|
||||
|
||||
@override
|
||||
String get repeater_lr2021Only =>
|
||||
'Tylko dla przekaźników z radiem LR2021. Inne przekaźniki nie mają tego ustawienia i je odrzucają.';
|
||||
|
||||
@override
|
||||
String get losMapDetailTooltip => 'Szczegóły mapy';
|
||||
|
||||
@@ -6416,11 +6456,6 @@ class AppLocalizationsPl extends AppLocalizations {
|
||||
return '$setting: $value jest nieprawidłowe';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_txPowerOutOfRange(String value, int min, int max) {
|
||||
return 'Moc TX $value jest poza zakresem (od $min do $max dBm)';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_prvKeyLengthError(int length) {
|
||||
return 'Klucz prywatny musi mieć dokładnie $length znaków szesnastkowych';
|
||||
|
||||
Reference in new issue
Block a user