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

+203 -1
View File
@@ -431,6 +431,29 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get settings_regionDefaultNone => 'None';
@override
String settings_regionUseRadioDefault(String region) {
return 'Radio default ($region)';
}
@override
String get settings_regionNoRegion => 'No region (unscoped)';
@override
String get settings_regionRadioDefault => 'Radio default region';
@override
String get settings_regionRadioDefaultSubtitle =>
'Saved on the radio. Floods sent without a region use it, from this app and any other app connected to the radio.';
@override
String get settings_regionRadioDefaultUpdated =>
'Radio default region updated';
@override
String get settings_regionRadioDefaultFailed =>
'Could not update the radio default region';
@override
String get settings_regionManagement_screenTitle => 'Region Management';
@@ -698,7 +721,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get settings_radioMatchWarning =>
'All nodes you talk to must use the same frequency, bandwidth, SF and CR.';
'All nodes you talk to must use the same frequency, bandwidth and SF. The coding rate (CR) can differ.';
@override
String get settings_frequency => 'Frequency (MHz)';
@@ -864,6 +887,21 @@ class AppLocalizationsEn extends AppLocalizations {
return 'Resend up to $_temp0';
}
@override
String get appSettings_channelMinHopsCountRepeaters =>
'Also count different nearby repeaters';
@override
String appSettings_channelMinHopsCountRepeatersSubtitle(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: '$count different nearby repeaters',
one: '1 nearby repeater',
);
return 'Treat the message as sent when $_temp0 repeat it, even if you can\'t hear it travel further.';
}
@override
String get appSettings_enableMessageTracing =>
'Show full repeater path in messages';
@@ -872,6 +910,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get appSettings_enableMessageTracingSubtitle =>
'Also show repeat counts and trip times. Long-press a message and choose Path for full details.';
@override
String get appSettings_regionOnHopsLine => 'Region next to hop count';
@override
String get appSettings_regionOnHopsLineSubtitle =>
'Show a channel message\'s region on the same line as its hop count instead of below it.';
@override
String get appSettings_notifications => 'Notifications';
@@ -1577,6 +1622,14 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get channels_regionDefaultSuffix => '(default)';
@override
String get channels_regionRadioDefaultSuffix => '(radio default)';
@override
String channels_regionRadioDefaultApplies(String region) {
return 'This radio sends floods without a region in its default region: $region.';
}
@override
String get channels_regionSelectExplanation =>
'Flood messages on this channel will only be forwarded by repeaters in the selected region.';
@@ -1620,6 +1673,10 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get chat_typeMessage => 'Type a message...';
@override
String get chat_futureTimestampWarning =>
'This message\'s time is in the future, so the sender\'s clock may be wrong. It is shown in the order it arrived.';
@override
String chat_messageTooLong(int maxBytes) {
return 'Message too long (max $maxBytes bytes).';
@@ -4758,6 +4815,53 @@ class AppLocalizationsEn extends AppLocalizations {
String get discoveredContacts_deleteContactAllContent =>
'Are you sure you want to delete all discovered contacts?';
@override
String get discoveredContacts_scan => 'Scan for nearby nodes';
@override
String get discoveredContacts_scanTitle => 'Nearby nodes';
@override
String get discoveredContacts_scanExplanation =>
'Asks nodes within direct radio range to identify themselves. Repeaters and sensors answer. Room servers and companions usually don\'t.';
@override
String get discoveredContacts_scanning => 'Scanning…';
@override
String discoveredContacts_scanFound(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: '$count nodes found',
one: '1 node found',
);
return '$_temp0';
}
@override
String get discoveredContacts_scanNoResults =>
'No nodes answered. Repeaters limit how often they reply, so try again in a minute.';
@override
String get discoveredContacts_scanAgain => 'Scan again';
@override
String get discoveredContacts_scanFailed =>
'Could not send the scan request.';
@override
String discoveredContacts_scanSignal(String snr, String remoteSnr) {
return 'Signal $snr dB · they heard us at $remoteSnr dB';
}
@override
String get discoveredContacts_scanInContacts => 'Already in contacts';
@override
String get discoveredContacts_scanNameLater =>
'Name appears after its next advert';
@override
String get chat_sendCooldown => 'Please wait a moment before sending again.';
@@ -5439,4 +5543,102 @@ class AppLocalizationsEn extends AppLocalizations {
String reviewMode_connectFailed(String error) {
return 'Could not start review mode: $error';
}
@override
String get channels_waitForSync =>
'Channels are still loading from the radio. Try again when the sync finishes.';
@override
String channels_nameTooLong(int maxBytes) {
return 'Name is too long (max $maxBytes bytes).';
}
@override
String repeater_valueRequired(String field) {
return '$field: enter a value';
}
@override
String get losMapDetailTooltip => 'Map detail';
@override
String get losUnitsTooltip => 'Units';
@override
String get losDistance => 'Distance';
@override
String get losClearance => 'Clearance';
@override
String get losBlockedBy => 'Blocked by';
@override
String get losObstruction => 'Obstruction';
@override
String losDistanceFromA(String distance) {
return '$distance from A';
}
@override
String get losWorstBadge => 'WORST';
@override
String losBlockedAmount(String amount) {
return 'Blocked $amount';
}
@override
String get losFromA => 'From A';
@override
String get losFromB => 'From B';
@override
String get losElevation => 'Elevation';
@override
String get losCenterOnMap => 'Center on map';
@override
String get losStatusClear => 'Clear';
@override
String get losStatusMarginal => 'Marginal';
@override
String get losStatusBlocked => 'Blocked';
@override
String get losStatusCheckingShort => 'Checking';
@override
String get losStatusNoResult => 'No result';
@override
String get losSelectedPill => 'Selected';
@override
String get gif_tapToLoad => 'Tap to load GIF';
@override
String get gif_loadFailedRetry => 'Can\'t load GIF\nTap to retry';
@override
String get qr_cameraPermissionDenied =>
'Camera permission denied.\nPlease enable camera access in settings.';
@override
String get qr_cameraUnsupported => 'Camera not supported on this device.';
@override
String qr_cameraStartFailed(String details) {
return 'Failed to start camera.\n$details';
}
@override
String imageMessages_downloadFailedWithError(String error) {
return 'The image model could not be downloaded: $error';
}
}