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:
1 parent
a64a33d0c0
commit
25f197c979
120 files changed
+10424
-687
No files matched your search
@@ -437,6 +437,29 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get settings_regionDefaultNone => 'Nenhuma';
|
||||
|
||||
@override
|
||||
String settings_regionUseRadioDefault(String region) {
|
||||
return 'Padrão do rádio ($region)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settings_regionNoRegion => 'Sem região (sem escopo)';
|
||||
|
||||
@override
|
||||
String get settings_regionRadioDefault => 'Região padrão do rádio';
|
||||
|
||||
@override
|
||||
String get settings_regionRadioDefaultSubtitle =>
|
||||
'Salva no rádio. Floods enviados sem região a utilizam, a partir deste app e de qualquer outro app conectado ao rádio.';
|
||||
|
||||
@override
|
||||
String get settings_regionRadioDefaultUpdated =>
|
||||
'Região padrão do rádio atualizada';
|
||||
|
||||
@override
|
||||
String get settings_regionRadioDefaultFailed =>
|
||||
'Não foi possível atualizar a região padrão do rádio';
|
||||
|
||||
@override
|
||||
String get settings_regionManagement_screenTitle => 'Gestão de Região';
|
||||
|
||||
@@ -712,7 +735,7 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get settings_radioMatchWarning =>
|
||||
'Todos os nós com os quais você fala devem usar a mesma frequência, largura de banda, SF e CR.';
|
||||
'Todos os nós com os quais você fala devem usar a mesma frequência, largura de banda e SF. A taxa de codificação (CR) pode ser diferente.';
|
||||
|
||||
@override
|
||||
String get settings_frequency => 'Frequência (MHz)';
|
||||
@@ -878,6 +901,21 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
return 'Reenviar até $_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_channelMinHopsCountRepeaters =>
|
||||
'Contar também repetidores próximos diferentes';
|
||||
|
||||
@override
|
||||
String appSettings_channelMinHopsCountRepeatersSubtitle(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count repetidores próximos diferentes',
|
||||
one: '1 repetidor próximo',
|
||||
);
|
||||
return 'Considerar a mensagem como enviada quando $_temp0 a repetirem, mesmo que você não a ouça avançar mais.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get appSettings_enableMessageTracing =>
|
||||
'Ativar rastreamento de mensagens';
|
||||
@@ -886,6 +924,14 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
String get appSettings_enableMessageTracingSubtitle =>
|
||||
'Mostrar metadados detalhados de roteamento e tempo para as mensagens';
|
||||
|
||||
@override
|
||||
String get appSettings_regionOnHopsLine =>
|
||||
'Região ao lado da contagem de saltos';
|
||||
|
||||
@override
|
||||
String get appSettings_regionOnHopsLineSubtitle =>
|
||||
'Mostra a região de uma mensagem de canal na mesma linha da contagem de saltos, em vez de abaixo dela.';
|
||||
|
||||
@override
|
||||
String get appSettings_notifications => 'Notificações';
|
||||
|
||||
@@ -1603,6 +1649,14 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get channels_regionDefaultSuffix => '(padrão)';
|
||||
|
||||
@override
|
||||
String get channels_regionRadioDefaultSuffix => '(padrão do rádio)';
|
||||
|
||||
@override
|
||||
String channels_regionRadioDefaultApplies(String region) {
|
||||
return 'Este rádio envia floods sem região na sua região padrão: $region.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get channels_regionSelectExplanation =>
|
||||
'As mensagens de inundação deste canal só serão encaminhadas por repetidores da região selecionada.';
|
||||
@@ -1646,6 +1700,10 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
@override
|
||||
String get chat_typeMessage => 'Digite uma mensagem...';
|
||||
|
||||
@override
|
||||
String get chat_futureTimestampWarning =>
|
||||
'O horário desta mensagem está no futuro, então o relógio do remetente pode estar errado. Ela é exibida na ordem em que chegou.';
|
||||
|
||||
@override
|
||||
String chat_messageTooLong(int maxBytes) {
|
||||
return 'Mensagem muito longa (máximo $maxBytes bytes).';
|
||||
@@ -4832,6 +4890,53 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
String get discoveredContacts_deleteContactAllContent =>
|
||||
'Tem certeza de que deseja excluir todos os contatos descobertos?';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scan => 'Buscar nós próximos';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanTitle => 'Nós próximos';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanExplanation =>
|
||||
'Pede aos nós ao alcance direto do rádio que se identifiquem. Repetidores e sensores respondem. Servidores de sala e companheiros geralmente não.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanning => 'Buscando…';
|
||||
|
||||
@override
|
||||
String discoveredContacts_scanFound(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count nós encontrados',
|
||||
one: '1 nó encontrado',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanNoResults =>
|
||||
'Nenhum nó respondeu. Os repetidores limitam a frequência das respostas, então tente novamente em um minuto.';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanAgain => 'Buscar novamente';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanFailed =>
|
||||
'Não foi possível enviar a solicitação de busca.';
|
||||
|
||||
@override
|
||||
String discoveredContacts_scanSignal(String snr, String remoteSnr) {
|
||||
return 'Sinal $snr dB · eles nos ouviram a $remoteSnr dB';
|
||||
}
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanInContacts => 'Já está nos contatos';
|
||||
|
||||
@override
|
||||
String get discoveredContacts_scanNameLater =>
|
||||
'O nome aparece após o próximo anúncio';
|
||||
|
||||
@override
|
||||
String get chat_sendCooldown =>
|
||||
'Por favor, aguarde um momento antes de reenviar.';
|
||||
@@ -5518,4 +5623,104 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
String reviewMode_connectFailed(String error) {
|
||||
return 'Não foi possível iniciar o modo de revisão: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get channels_waitForSync =>
|
||||
'Os canais ainda estão sendo carregados do rádio. Tente novamente quando a sincronização terminar.';
|
||||
|
||||
@override
|
||||
String channels_nameTooLong(int maxBytes) {
|
||||
return 'O nome é muito longo (máx. $maxBytes bytes).';
|
||||
}
|
||||
|
||||
@override
|
||||
String repeater_valueRequired(String field) {
|
||||
return '$field: insira um valor';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losMapDetailTooltip => 'Detalhe do mapa';
|
||||
|
||||
@override
|
||||
String get losUnitsTooltip => 'Unidades';
|
||||
|
||||
@override
|
||||
String get losDistance => 'Distância';
|
||||
|
||||
@override
|
||||
String get losClearance => 'Folga';
|
||||
|
||||
@override
|
||||
String get losBlockedBy => 'Bloqueado por';
|
||||
|
||||
@override
|
||||
String get losObstruction => 'Obstrução';
|
||||
|
||||
@override
|
||||
String losDistanceFromA(String distance) {
|
||||
return '$distance de A';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losWorstBadge => 'PIOR';
|
||||
|
||||
@override
|
||||
String losBlockedAmount(String amount) {
|
||||
return 'Bloqueado $amount';
|
||||
}
|
||||
|
||||
@override
|
||||
String get losFromA => 'De A';
|
||||
|
||||
@override
|
||||
String get losFromB => 'De B';
|
||||
|
||||
@override
|
||||
String get losElevation => 'Elevação';
|
||||
|
||||
@override
|
||||
String get losCenterOnMap => 'Centralizar no mapa';
|
||||
|
||||
@override
|
||||
String get losStatusClear => 'Livre';
|
||||
|
||||
@override
|
||||
String get losStatusMarginal => 'Marginal';
|
||||
|
||||
@override
|
||||
String get losStatusBlocked => 'Bloqueado';
|
||||
|
||||
@override
|
||||
String get losStatusCheckingShort => 'Verificando';
|
||||
|
||||
@override
|
||||
String get losStatusNoResult => 'Sem resultado';
|
||||
|
||||
@override
|
||||
String get losSelectedPill => 'Selecionado';
|
||||
|
||||
@override
|
||||
String get gif_tapToLoad => 'Toque para carregar o GIF';
|
||||
|
||||
@override
|
||||
String get gif_loadFailedRetry =>
|
||||
'Não foi possível carregar o GIF\nToque para tentar novamente';
|
||||
|
||||
@override
|
||||
String get qr_cameraPermissionDenied =>
|
||||
'Permissão da câmera negada.\nAtive o acesso à câmera nas configurações.';
|
||||
|
||||
@override
|
||||
String get qr_cameraUnsupported =>
|
||||
'Câmera não compatível com este dispositivo.';
|
||||
|
||||
@override
|
||||
String qr_cameraStartFailed(String details) {
|
||||
return 'Falha ao iniciar a câmera.\n$details';
|
||||
}
|
||||
|
||||
@override
|
||||
String imageMessages_downloadFailedWithError(String error) {
|
||||
return 'Não foi possível baixar o modelo de imagem: $error';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user