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
+18
-9
@@ -290,7 +290,7 @@
|
||||
"contacts_title": "联系人",
|
||||
"contacts_noContacts": "暂无联系人",
|
||||
"contacts_contactsWillAppear": "当设备发送广播时,联系人将显示。",
|
||||
"contacts_searchContacts": "搜索联系人...",
|
||||
"contacts_searchContacts": "搜索 {number}{str} 个联系人...",
|
||||
"contacts_noUnreadContacts": "没有未读内容",
|
||||
"contacts_noContactsFound": "未找到任何联系人或群聊",
|
||||
"contacts_deleteContact": "删除联系人",
|
||||
@@ -1181,10 +1181,8 @@
|
||||
"repeater_settingsSaved": "设置保存成功",
|
||||
"repeater_rxGain": "增强的 RX 增益",
|
||||
"repeater_rxGainHelper": "更高的灵敏度,更大的电流消耗(仅适用于 SX1262/SX1268)",
|
||||
"repeater_refreshRxGain": "重新启动增强型 RX 功能",
|
||||
"repeater_multiAcks": "多重确认",
|
||||
"repeater_multiAcksSubtitle": "通过多个路径确认消息,以提高传递效率。",
|
||||
"repeater_refreshMultiAcks": "刷新多个确认",
|
||||
"repeater_networkHealth": "网络健康",
|
||||
"repeater_loopDetect": "循环检测",
|
||||
"repeater_loopDetectHelper": "创建看起来像路由环的“泛洪包”",
|
||||
@@ -1204,7 +1202,6 @@
|
||||
},
|
||||
"repeater_ownerInfo": "运营商信息",
|
||||
"repeater_ownerInfoHelper": "此复播器的公共元数据",
|
||||
"repeater_refreshOwnerInfo": "刷新操作员信息",
|
||||
"repeater_floodMax": "最大跳数",
|
||||
"repeater_floodMaxHelper": "一个泛洪包中,最大可以传输的跳数 (0-64)",
|
||||
"repeater_advancedSettings": "高级",
|
||||
@@ -1262,11 +1259,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"repeater_refreshBasicSettings": "刷新基本设置",
|
||||
"repeater_refreshRadioSettings": "刷新无线电设置",
|
||||
"repeater_refreshTxPower": "刷新 TX 功率",
|
||||
"repeater_refreshPacketForwarding": "刷新包转发",
|
||||
"repeater_refreshGuestAccess": "刷新访客权限",
|
||||
"repeater_refreshPrivacyMode": "刷新隐私模式",
|
||||
"repeater_refreshed": "{label} 已刷新",
|
||||
"@repeater_refreshed": {
|
||||
@@ -2226,6 +2219,8 @@
|
||||
},
|
||||
"chat_sendCooldown": "请稍等片刻后再尝试发送。",
|
||||
"appSettings_jumpToOldestUnreadSubtitle": "在打开包含未读消息的聊天时,请滚动到第一个未读消息,而不是最新的消息。",
|
||||
"appSettings_autoFetchRepeaterSettings": "自动获取转发节点设置",
|
||||
"appSettings_autoFetchRepeaterSettingsSubtitle": "打开转发节点设置时请求所有设置。每项设置都是一次通过 LoRa 发送的独立请求,因此速度较慢并会占用空中时间。关闭后,请点按“全部刷新”或刷新单独的部分。",
|
||||
"appSettings_jumpToOldestUnread": "跳转到最旧、未读的文章",
|
||||
"appSettings_languageHu": "匈牙利",
|
||||
"appSettings_languageJa": "日语",
|
||||
@@ -3147,6 +3142,21 @@
|
||||
"channels_waitForSync": "频道仍在从电台加载。请在同步完成后重试。",
|
||||
"channels_nameTooLong": "名称过长(最多 {maxBytes} 字节)。",
|
||||
"repeater_valueRequired": "{field}:请输入值",
|
||||
"repeater_floodMaxAdvert": "广播泛洪最大跳数",
|
||||
"repeater_floodMaxAdvertHelper": "广播(advert)泛洪可传输的最大跳数 (0-64,默认 8)",
|
||||
"repeater_floodMaxUnscoped": "无区域泛洪最大跳数",
|
||||
"repeater_floodMaxUnscopedHelper": "未指定区域的泛洪最大跳数 (0-64,默认 64)。较低的值(如 3)可将无区域流量限制在本地。",
|
||||
"repeater_floodMaxUnscopedUnset": "与泛洪最大跳数相同",
|
||||
"repeater_rxDelay": "接收延迟",
|
||||
"repeater_rxDelayHelper": "转发前先暂缓处理以弱信号收到的泛洪包,让强信号路径优先,从而减少重复发送 (0-20,0 为关闭)。",
|
||||
"repeater_cad": "信道活动检测",
|
||||
"repeater_cadHelper": "发射前先监听是否有活动,信道繁忙时等待。与干扰阈值配合使用。",
|
||||
"repeater_adcMultiplier": "电池电压校准",
|
||||
"repeater_adcMultiplierHelper": "电池电压读数的倍数 (0-10)。0 表示使用开发板默认值。",
|
||||
"repeater_boardSupportNote": "并非所有开发板都支持此功能。不支持的开发板会拒绝该更改。",
|
||||
"repeater_extraSf": "额外扩频因子",
|
||||
"repeater_extraSfHelper": "同时监听最多 3 个额外的扩频因子(SF),用逗号分隔(例如 9,10)。留空则关闭。",
|
||||
"repeater_lr2021Only": "仅适用于配备 LR2021 无线电的转发节点。其他转发节点没有此设置,会拒绝该更改。",
|
||||
"losMapDetailTooltip": "地图细节",
|
||||
"losUnitsTooltip": "单位",
|
||||
"losDistance": "距离",
|
||||
@@ -3263,7 +3273,6 @@
|
||||
"repeater_discardChanges": "放弃",
|
||||
"repeater_actionSentNoReply": "{action}:命令已发送。中继器不会回复此命令。",
|
||||
"repeater_invalidSettingValue": "{setting}:{value} 无效",
|
||||
"repeater_txPowerOutOfRange": "TX 功率 {value} 超出范围({min} 至 {max} dBm)",
|
||||
"repeater_prvKeyLengthError": "私钥必须恰好为 {length} 个十六进制字符",
|
||||
"contacts_advertFailed": "无法发送广播",
|
||||
"contacts_manageGroups": "管理分组",
|
||||
|
||||
Reference in new issue
Block a user