Fix review findings, add default flood scope, and address recent issues

Review fixes:
- Keep stored message history beyond the 200-message window; stop
  messages leaking between radios; reset link/session state on disconnect
- Accept firmware's 176-byte RX frames over USB/TCP
- Hold APP_START during contact sync; contact-sync watchdog; replay DMs
  from not-yet-known senders; tombstone late command replies; finish
  channel sync on ERR_NOT_FOUND; fail region-scoped sends cleanly
- DM retry watchdog when RESP_CODE_SENT never arrives; late repeater CLI
  replies; ACK hash collisions; UTF-8-safe name truncation
- Image pipeline: delete-during-decode, lifecycle cancels, decoder memory
  release, entry cap, dead worker recovery, atomic model writes
- Storage: deterministic reaction hash across web/native, Smaz
  double-decode, per-entry parsing, per-radio path history and regions,
  review-mode data isolation
- UI: safe channel slot selection, byte-length name limits, double-send
  guard, mounted checks, localized hardcoded strings
- Skip persisted-store reload on repeat SELF_INFO

Features:
- Radio default flood scope (firmware ver 11+) and explicit unscoped
  sends (ver 12+)
- Scan for nearby nodes (#570)
- Optional distinct first-hop repeater counting for channel resend (#589)
- Optional region next to hop count (#580)

Issues:
- Message text follows system font size (#569)
- Repeater/room password field accepts 20 chars (#576)
- TCP auto-reconnect and keepalive (#571)
- Order feeds by local receive time; flag future timestamps (#584)
- Coding rate help text (#568), French "Favoris" (#575)
- iOS/macOS app badge now clears

Translations for all new strings in every locale.
This commit is contained in:
zjs81 committed 2026-10-11 01:25:31 -07:00
1 parent a64a33d0c0
commit 25f197c979
120 files changed
+10424 -687

No files matched your search

+54 -2
View File
@@ -2917,7 +2917,7 @@
"settings_telemetryPerContactHint": "要允许某个联系人,请打开其聊天并从菜单中选择“联系人设置”。",
"settings_multiAckSubtitle": "发送额外的 ACK 以提高送达率;会占用更多空中时间",
"settings_presetCustom": "自定义",
"settings_radioMatchWarning": "你通信的所有节点必须使用相同的频率、带宽、扩频因子和编码速率。",
"settings_radioMatchWarning": "你通信的所有节点必须使用相同的频率、带宽和扩频因子。编码速率(CR)可以不同。",
"settings_txPowerRangeHelper": "{min} 至 {max} dBm",
"@settings_txPowerRangeHelper": {
"placeholders": {
@@ -3074,5 +3074,57 @@
"reviewMode_sendTest": "发送测试消息",
"reviewMode_testSent": "测试消息即将送达。",
"reviewMode_exit": "退出",
"reviewMode_connectFailed": "无法启动审核模式:{error}"
"reviewMode_connectFailed": "无法启动审核模式:{error}",
"settings_regionUseRadioDefault": "电台默认({region})",
"settings_regionNoRegion": "无地区(不限范围)",
"settings_regionRadioDefault": "电台默认地区",
"settings_regionRadioDefaultSubtitle": "保存在电台上。不指定地区发送的泛洪会使用它,本应用和连接此电台的其他应用都一样。",
"settings_regionRadioDefaultUpdated": "电台默认地区已更新",
"settings_regionRadioDefaultFailed": "无法更新电台默认地区",
"appSettings_channelMinHopsCountRepeaters": "同时统计附近不同的中继器",
"appSettings_channelMinHopsCountRepeatersSubtitle": "当{count, plural, =1{附近 1 个中继器} other{附近 {count} 个不同的中继器}}转发该消息时,即使听不到它继续传播,也视为已发送。",
"appSettings_regionOnHopsLine": "在跳数旁显示地区",
"appSettings_regionOnHopsLineSubtitle": "将频道消息的地区与跳数显示在同一行,而不是在其下方。",
"channels_regionRadioDefaultSuffix": "(电台默认)",
"channels_regionRadioDefaultApplies": "此电台会用默认地区发送未指定地区的泛洪:{region}。",
"chat_futureTimestampWarning": "此消息的时间在未来,发送方的时钟可能有误。已按到达顺序显示。",
"discoveredContacts_scan": "扫描附近节点",
"discoveredContacts_scanTitle": "附近节点",
"discoveredContacts_scanExplanation": "请求直接无线电范围内的节点自报身份。中继器和传感器会响应,房间服务器和伴侣设备通常不会。",
"discoveredContacts_scanning": "正在扫描…",
"discoveredContacts_scanFound": "{count, plural, =1{发现 1 个节点} other{发现 {count} 个节点}}",
"discoveredContacts_scanNoResults": "没有节点响应。中继器会限制回复频率,请一分钟后重试。",
"discoveredContacts_scanAgain": "重新扫描",
"discoveredContacts_scanFailed": "无法发送扫描请求。",
"discoveredContacts_scanSignal": "信号 {snr} dB · 对方收到我们为 {remoteSnr} dB",
"discoveredContacts_scanInContacts": "已在联系人中",
"discoveredContacts_scanNameLater": "下次广播后将显示名称",
"channels_waitForSync": "频道仍在从电台加载。请在同步完成后重试。",
"channels_nameTooLong": "名称过长(最多 {maxBytes} 字节)。",
"repeater_valueRequired": "{field}:请输入值",
"losMapDetailTooltip": "地图细节",
"losUnitsTooltip": "单位",
"losDistance": "距离",
"losClearance": "净空",
"losBlockedBy": "阻挡物",
"losObstruction": "障碍物",
"losDistanceFromA": "距 A {distance}",
"losWorstBadge": "最严重",
"losBlockedAmount": "阻挡 {amount}",
"losFromA": "自 A",
"losFromB": "自 B",
"losElevation": "海拔",
"losCenterOnMap": "居中显示",
"losStatusClear": "畅通",
"losStatusMarginal": "临界",
"losStatusBlocked": "受阻",
"losStatusCheckingShort": "检查中",
"losStatusNoResult": "无结果",
"losSelectedPill": "已选",
"gif_tapToLoad": "点按加载 GIF",
"gif_loadFailedRetry": "无法加载 GIF\n点按重试",
"qr_cameraPermissionDenied": "相机权限被拒绝。\n请在设置中启用相机访问。",
"qr_cameraUnsupported": "此设备不支持相机。",
"qr_cameraStartFailed": "无法启动相机。\n{details}",
"imageMessages_downloadFailedWithError": "无法下载图像模型:{error}"
}