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
+17
-9
@@ -1730,10 +1730,8 @@
|
||||
"repeater_settingsSaved": "Settings saved successfully",
|
||||
"repeater_rxGain": "Boosted RX gain",
|
||||
"repeater_rxGainHelper": "Higher sensitivity, more current draw (SX1262/SX1268 only)",
|
||||
"repeater_refreshRxGain": "Refresh boosted RX gain",
|
||||
"repeater_multiAcks": "Multi-ACKs",
|
||||
"repeater_multiAcksSubtitle": "Acknowledge messages over multiple paths for better delivery",
|
||||
"repeater_refreshMultiAcks": "Refresh multi-ACKs",
|
||||
"repeater_networkHealth": "Network health",
|
||||
"repeater_loopDetect": "Loop detection",
|
||||
"repeater_loopDetectHelper": "Drop flood packets that look like routing loops",
|
||||
@@ -1753,7 +1751,6 @@
|
||||
},
|
||||
"repeater_ownerInfo": "Operator info",
|
||||
"repeater_ownerInfoHelper": "Public metadata for this repeater",
|
||||
"repeater_refreshOwnerInfo": "Refresh operator info",
|
||||
"repeater_floodMax": "Flood max hops",
|
||||
"repeater_floodMaxHelper": "Maximum hops a flood packet may travel (0-64)",
|
||||
"repeater_advancedSettings": "Advanced",
|
||||
@@ -1828,11 +1825,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_refreshBasicSettings": "Refresh Basic Settings",
|
||||
"repeater_refreshRadioSettings": "Refresh Radio Settings",
|
||||
"repeater_refreshTxPower": "Refresh TX power",
|
||||
"repeater_refreshPacketForwarding": "Refresh Packet Forwarding",
|
||||
"repeater_refreshGuestAccess": "Refresh Guest Access",
|
||||
"repeater_refreshPrivacyMode": "Refresh Privacy Mode",
|
||||
"repeater_refreshAll": "Refresh all",
|
||||
"repeater_settingsNotLoaded": "Settings haven't been loaded from this repeater yet.",
|
||||
@@ -2923,6 +2916,8 @@
|
||||
"chat_sendCooldown": "Please wait a moment before sending again.",
|
||||
"appSettings_jumpToOldestUnread": "Jump to oldest unread",
|
||||
"appSettings_jumpToOldestUnreadSubtitle": "When opening a chat with unread messages, scroll to the first unread instead of the latest.",
|
||||
"appSettings_autoFetchRepeaterSettings": "Auto-fetch repeater settings",
|
||||
"appSettings_autoFetchRepeaterSettingsSubtitle": "Request every setting when opening a repeater's settings. Each one is a separate request over LoRa, so this is slow and uses airtime. When off, tap Refresh All or refresh individual sections.",
|
||||
"appSettings_languageHu": "Hungarian",
|
||||
"appSettings_languageJa": "Japanese",
|
||||
"appSettings_languageKo": "Korean",
|
||||
@@ -3393,6 +3388,21 @@
|
||||
"channels_nameTooLong": "Name is too long (max {maxBytes} bytes).",
|
||||
"@channels_nameTooLong": {"description": "Snackbar when a channel name would not fit on the radio", "placeholders": {"maxBytes": {"type": "int"}}},
|
||||
"repeater_valueRequired": "{field}: enter a value",
|
||||
"repeater_floodMaxAdvert": "Advert flood max hops",
|
||||
"repeater_floodMaxAdvertHelper": "Maximum hops a flooded advert may travel (0-64, default 8)",
|
||||
"repeater_floodMaxUnscoped": "Unscoped flood max hops",
|
||||
"repeater_floodMaxUnscopedHelper": "Maximum hops for floods without a region scope (0-64, default 64). A low value such as 3 keeps unscoped traffic local.",
|
||||
"repeater_floodMaxUnscopedUnset": "Same as flood max",
|
||||
"repeater_rxDelay": "Receive delay",
|
||||
"repeater_rxDelayHelper": "Holds flood packets heard with a weak signal before forwarding, so strong-signal paths go first and fewer duplicates are sent (0-20, 0 turns it off).",
|
||||
"repeater_cad": "Channel activity detection",
|
||||
"repeater_cadHelper": "Listen for activity before transmitting and wait while the channel is busy. Works alongside the interference threshold.",
|
||||
"repeater_adcMultiplier": "Battery voltage calibration",
|
||||
"repeater_adcMultiplierHelper": "Multiplier for the battery voltage reading (0-10). 0 uses the board's default.",
|
||||
"repeater_boardSupportNote": "Not every board supports this. Unsupported boards reject the change.",
|
||||
"repeater_extraSf": "Extra spreading factors",
|
||||
"repeater_extraSfHelper": "Up to 3 more spreading factors to listen on at the same time, separated by commas (for example 9,10). Leave empty to turn off.",
|
||||
"repeater_lr2021Only": "Only for repeaters with an LR2021 radio. Other repeaters don't have this setting and reject it.",
|
||||
"@repeater_valueRequired": {"description": "Save error when a changed repeater setting was left empty", "placeholders": {"field": {"type": "String"}}},
|
||||
"losMapDetailTooltip": "Map detail",
|
||||
"losUnitsTooltip": "Units",
|
||||
@@ -3558,8 +3568,6 @@
|
||||
"@repeater_actionSentNoReply": {"placeholders": {"action": {"type": "String"}}},
|
||||
"repeater_invalidSettingValue": "{setting}: {value} is not valid",
|
||||
"@repeater_invalidSettingValue": {"placeholders": {"setting": {"type": "String"}, "value": {"type": "String"}}},
|
||||
"repeater_txPowerOutOfRange": "TX power {value} is out of range ({min} to {max} dBm)",
|
||||
"@repeater_txPowerOutOfRange": {"placeholders": {"value": {"type": "String"}, "min": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"repeater_prvKeyLengthError": "Private key must be exactly {length} hex characters",
|
||||
"@repeater_prvKeyLengthError": {"placeholders": {"length": {"type": "int"}}},
|
||||
"contacts_advertFailed": "Couldn't send advertisement",
|
||||
|
||||
Reference in new issue
Block a user