Merge origin/dev into feat/bookmarks-ux-improvements

This commit is contained in:
zjs81 committed 2026-11-23 23:30:35 -07:00
commit faa9bf3752
16 files changed
+408 -316

No files matched your search

+20 -4
View File
@@ -146,7 +146,7 @@ Icon sizes in use: 24 for tile and banner icons, 20 for menu icons and small act
| Empty list | `EmptyState(icon:, title:, subtitle:, action:)` | Scrolls rather than overflowing at large text |
| Inline error with retry | `ErrorRetryCard(message:, onRetry:, retryLabel:)` | Pass `retryLabel: context.l10n.common_retry` |
| Radio offline on a remote-node screen | `RadioDisconnectedBanner` | Renders nothing while connected |
| Sync progress | `SyncProgressAppBarBottom` as the app bar `bottom` | 3px bar |
| Progress bar | `MeshProgressBar`; `MeshProgressAppBarBottom` as an app bar `bottom`; `SyncProgressAppBarBottom` for the app syncs (`widgets/sync_progress_overlay.dart`) | See [Progress bars](#progress-bars) |
| Toast message | `showDismissibleSnackBar(context, content: Text(...))` | Tap to dismiss, replaces the current snackbar, safe after an async gap |
| List item entrance | `ListEntrance(index:)` | Optional. Plays only for rows built while the list is at rest at the top; rows scrolled into view appear at once |
@@ -156,7 +156,7 @@ Icon sizes in use: 24 for tile and banner icons, 20 for menu icons and small act
- `FilledButton.tonal`: a secondary action that still needs weight (rare).
- `OutlinedButton(.icon)`: secondary actions next to a filled one.
- `TextButton`: Cancel and low-emphasis actions in dialogs; inline actions in cards.
- Destructive confirm: destructive or data-removing actions (such as clearing a chat, deleting a channel or contact, or removing single or bulk bookmarks) always prompt with a confirmation `AlertDialog` pairing a `Cancel` `TextButton` with an error-styled destructive action (`TextButton` with `foregroundColor: scheme.error`, as in `confirmClearChat` and `confirmRemoveBookmarks`, or `FilledButton` with `backgroundColor: scheme.error`, `foregroundColor: scheme.onError`).
- Destructive confirm: destructive or data-removing actions (such as clearing a chat, deleting a channel or contact, or removing single or bulk bookmarks) always prompt with a confirmation `AlertDialog` pairing a `Cancel` `TextButton` with an error-styled destructive action: `FilledButton` with `backgroundColor: scheme.error`, `foregroundColor: scheme.onError` (`showConfirmClearDialog` in `widgets/confirm_clear_dialog.dart`), or a `TextButton` with `foregroundColor: scheme.error` when it is not the primary action (as in `confirmClearChat` and `confirmRemoveBookmarks`). Use `showConfirmClearDialog(confirmLabel:)` for any confirm dialog; `warning: true` makes the button `scheme.tertiary` for disruptive, non-destructive actions (Reboot in Settings).
- Dialog action order: Cancel first, primary last.
- Avoid `ElevatedButton` in new code.
@@ -211,6 +211,18 @@ A dialog that offers several missing models (backup restore) uses the same rows
The channel's games list is a `showMeshSheet` with a `DraggableScrollableSheet`, the same layout as the Add channel sheet. Starting a game closes it and opens a second sheet, so sheets are never stacked.
### Progress bars
A thin bar at the top of a screen or list shows that something is running. Bars inside content (model downloads, image send progress) are not covered here.
1. 4px.
2. Theme colours: don't set a colour or track. The theme's `progressIndicatorTheme` (`primary` on `surfaceContainerHigh`) applies, so the bar follows light, dark and custom themes.
3. Use the shared widgets: `MeshProgressAppBarBottom` as an app bar `bottom` for the screen's own task (Refresh all in `repeater_settings_screen.dart`, the chess game), `SyncProgressAppBarBottom` for the app syncs (contacts, channels, queued messages), and `MeshProgressBar` at the top of content (chat search results, the line-of-sight map).
4. Fill (`value`) when the progress is known; move (`value: null`) when it isn't.
5. Keep the height while idle (`active: false`), so the content doesn't jump. A bar laid over content (the line-of-sight map) can be removed instead.
6. One bar at a time: when a screen's own task and an app sync overlap, the same bar shows one of them, never two stacked bars.
7. Waiting for the radio: when the user starts an action and the app waits for the radio, the control shows the 18×18 spinner (see [States](#9-states)) and the screen's top bar moves. Background traffic (polling, message sync, ACKs) doesn't; messages keep their own delivery status.
## 6. Sheets, dialogs and pages
What the code does:
@@ -271,7 +283,7 @@ That is the Contacts list and its group member picker, Discovery, Map node searc
- Order: screen-specific items first, then a `PopupMenuDivider` separating the trailing app-level section — Connect/Disconnect (`connectionMenuItem`) immediately followed by Settings (`settingsMenuItem`) — and destructive items last if a screen has any. Omit the divider when no items precede the app-level section (for example, `MapScreen` while building a path trace). Main views use `mainOverflowTrailingItems(screenContext, menuContext, hasPrecedingItems:)` in `lib/widgets/connect_sheet.dart` so they stay in sync.
- Visual & interaction rules: rely on `MeshTheme`'s `popupMenuTheme` (`surfaceContainerHigh`, `MeshRadii.md` border radius, and consistent `menuPadding`, margins, item padding, and elevation), separate sections with `PopupMenuDivider`, build every row with `MeshMenuItemRow` (20px icon slot, 12px gap, 2-line wrap + ellipsis), use `context.l10n.contacts_moreOptions` as the button `tooltip` on main views, and capture the screen `context` (not the `itemBuilder`'s `menuContext`) for `onTap` callbacks since menus pop before `onTap` runs. Destructive items use `MeshMenuItemRow(color: scheme.error)` so both icon and label turn red (Clear chat in `chat_screen.dart`; Clear / Delete channel in `channel_chat_screen.dart`).
- Search: tapping search swaps the title for the field and hides all actions (`actions: _searching ? null : [...]`). The leading back arrow and the system back gesture close the search (`PopScope(canPop: !_searching)`) instead of leaving the screen.
- Long operations: show progress as the app bar `bottom` (`SyncProgressAppBarBottom`, or a 4px `LinearProgressIndicator` for Refresh all in `repeater_settings_screen.dart`).
- Long operations: show progress as the app bar `bottom` with the shared bar (see [Progress bars](#progress-bars)).
## 9. States
@@ -280,6 +292,7 @@ That is the Contacts list and its group member picker, Discovery, Map node searc
| Loading, nothing to show yet | `Center(child: CircularProgressIndicator())`, only until the first data arrives; then show partial data (`channels_screen.dart`). |
| Loading in place | Swap the control's icon for an 18×18 `CircularProgressIndicator(strokeWidth: 2)` and disable it (`_buildRefreshButton` in `repeater_settings_screen.dart`). |
| Background sync | `SyncProgressAppBarBottom`. |
| Waiting for the radio | The control's 18×18 spinner and the screen's top bar, moving. See [Progress bars](#progress-bars). |
| Empty | `EmptyState` with an icon, a short title, and an action when there is an obvious next step. Use a separate "no results" state (`Icons.search_off`) when a search or filter hides everything. |
| Error | A snackbar for a failed action. `ErrorRetryCard` for a failed load the user can retry. Never show raw exception text alone. |
| Companion radio disconnected | Main and chat screens stay open, read-only ([offline mode](offline-mode.md)). Decide with `isRadioReadOnly(connector)` / `context.radioReadOnly` (`lib/utils/radio_guard.dart`): disable menu items (`PopupMenuItem(enabled: false)`, drop destructive colors) and buttons, hide FABs, and call `ensureRadioConnected(context)` as the safety net in handlers. The chat composer shows `OfflineComposerBar` in the same bubble and margins. Repeater screens and the Settings pages that save to the radio stay open with `RadioDisconnectedBanner` at the top and disable radio-dependent actions, including Save. Settings rows that need the radio pass `onTap: null` and show `settings_requiresConnection` as the subtitle (`settings_screen.dart`). |
@@ -324,6 +337,7 @@ Follow the same pattern for any new remote-value screen.
- [ ] Settings stored on a radio use `SaveToRadioPage` and save only on Save; settings stored in the app apply immediately.
- [ ] Contact, repeater, room and user search uses `compareContactQueryRank`: prefix, then substring, then hop hash.
- [ ] Loading, empty, error, offline and unknown-value states handled.
- [ ] Top progress bars use the shared widgets (4px, theme colours); see [Progress bars](#progress-bars).
- [ ] All strings in `app_en.arb`; checked in German or Portuguese at 1.3× and 2.0× on a narrow screen.
- [ ] Settings row titles in Title Case (English); descriptions without a trailing full stop.
- [ ] Light, dark and one custom theme checked.
@@ -337,10 +351,12 @@ The current code does not yet follow this page everywhere:
- **Disconnect icon-only error tint.** In overflow menus, Disconnect tints only the icon (`iconColor`), while Clear chat / Delete tint icon and label (`color`).
- **Menu rows not using `MeshMenuItemRow`.** `channel_chat_screen.dart` bulk-select menu (Select all / Copy) puts a `ListTile` inside `PopupMenuItem`. `widgets/list_filter_widget.dart` and the group menu in `contacts_screen.dart` use plain `Text` items, which is acceptable for icon-less lists but does not limit wrapping.
- **Tile titles without `MeshSettingsTileTheme`.** Backup & Restore (`CheckboxListTile`) and Themes (`SwitchListTile`) do not wrap their body in it, so those titles are not semibold like the other settings rows.
- **Bars inside content.** The map cache download bar (`map_cache_screen.dart`) uses a fixed `MeshPalette.blue`.
- **Radio waits not shown yet.** In Settings actions, Sync Time and Reboot show nothing while sending, and Refresh Contacts shows only the sync bar. `SaveToRadioPage` pages show the Save spinner but no top bar. Other radio actions are not reviewed yet.
- **`ErrorRetryCard` is unused** and its fallback label is the hard-coded English `'Retry'` (`mesh_ui.dart`); screens show load errors in their own ways.
- **Fixed-width label boxes.** `chat_screen.dart` `_buildInfoRow` (80px), `line_of_sight_map_screen.dart` endpoint label (54px, `fontSize: 12`), `channel_message_path_screen.dart` (72px, upper-cased `accentLabel` at its 11px default).
- **11px text.** `MeshTheme.accentLabel()` without `fontSize` gives 11px in `channel_message_path_screen.dart`. The type scale's `labelSmall` (11) is used in `list_filter_widget.dart` section titles.
- **Hard-coded colours.** `SyncProgressAppBarBottom` uses `Colors.red`, `Colors.blue` and `Colors.green`; `AppBarTitle` subtitle uses `Colors.grey[600]` at a literal 14 instead of `onSurfaceVariant`; `telemetry_location_map.dart` uses raw `Colors.*`. `MeshPalette.ink/bg/line` still appear directly in a few screen/widget files: map marker overlays (node name labels and shared-count badges in `path_map_scaffold.dart`, the hop badge on avatars in `channel_message_path_screen.dart`) and the `channels_screen.dart` and `channel_chat_screen.dart` community dots with an 8px icon. The path map chrome (`PathMapBottomPanel`, `PathMapDesktopControls`, `PathViewModeToggle` and the panel contents in `path_map_ui.dart` and both path map screens) uses `ColorScheme` roles: `surfaceContainerLow` background, `outlineVariant` border and dividers, `onSurface`/`onSurfaceVariant` text and icons, `primary` for active toggles and `tertiary` for warnings.
- **Hard-coded colours.** `AppBarTitle` subtitle uses `Colors.grey[600]` at a literal 14 instead of `onSurfaceVariant`; `telemetry_location_map.dart` uses raw `Colors.*`. `MeshPalette.ink/bg/line` still appear directly in a few screen/widget files: map marker overlays (node name labels and shared-count badges in `path_map_scaffold.dart`, the hop badge on avatars in `channel_message_path_screen.dart`) and the `channels_screen.dart` and `channel_chat_screen.dart` community dots with an 8px icon. The path map chrome (`PathMapBottomPanel`, `PathMapDesktopControls`, `PathViewModeToggle` and the panel contents in `path_map_ui.dart` and both path map screens) uses `ColorScheme` roles: `surfaceContainerLow` background, `outlineVariant` border and dividers, `onSurface`/`onSurfaceVariant` text and icons, `primary` for active toggles and `tertiary` for warnings.
- **Literal sizes instead of the theme.** About 300 literal `fontSize:` values in `lib/screens` and `lib/widgets` (most 12–14), e.g. `EmptyState` subtitle at 13.5; and 36 `BorderRadius.circular(<number>)` calls (8 and 12 most common) instead of `MeshRadii`.
- **Navigation bar theme.** `navigationBarTheme` colours selected labels `onPrimary`, which is white-on-white in light mode; `QuickSwitchBar` overrides it. Any other `NavigationBar` would inherit the problem.
- **Two badge styles.** `QuickSwitchBar` uses Material `Badge` capped at 99+; `UnreadBadge` caps at 9999+.
+1 -1
View File
@@ -210,7 +210,7 @@ One-tap device operations:
| Sync Time | Sends current Unix timestamp to the device |
| Refresh Contacts | Re-requests the full contact list |
| Reboot Device | Confirmation dialog → reboots the device (shown in warning color) |
| Delete All Paths | Confirmation dialog → clears all stored routing paths (shown in alert color) |
| Delete All Paths | Confirmation dialog → clears all stored routing paths (shown in error color) |
---
+2 -6
View File
@@ -7,6 +7,7 @@ import '../../../theme/mesh_theme.dart';
import '../../../utils/radio_guard.dart';
import '../../../widgets/mesh_nav_tile.dart';
import '../../../widgets/mesh_ui.dart';
import '../../../widgets/sync_progress_overlay.dart';
import '../chess_game.dart';
import '../chess_service.dart';
import 'chess_board.dart';
@@ -106,12 +107,7 @@ class _ChessGameScreenState extends State<ChessGameScreen> {
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
bottom: busy
? const PreferredSize(
preferredSize: Size.fromHeight(3),
child: LinearProgressIndicator(minHeight: 3),
)
: null,
bottom: MeshProgressAppBarBottom(active: busy),
),
body: SafeArea(
child: LayoutBuilder(
+1 -1
View File
@@ -2322,7 +2322,7 @@
"repeater_cliHelpSetAf": "Sets the air-time-factor.",
"repeater_cliHelpSetTx": "Sets LoRa transmit power in dBm. (reboot to apply)",
"repeater_cliHelpSetRepeat": "Enables or disables the repeater role for this node.",
"repeater_cliHelpSetAllowReadOnly": "(Room server) If 'on', then login in blank password will be allowed, but cannot Post to room. (just read only)",
"repeater_cliHelpSetAllowReadOnly": "(Room server) If 'on', allows login without the room password. Read-only, can't post to the room.",
"repeater_cliHelpSetFloodMax": "Sets the maximum number of hops of inbound flood packet (if >= max, packet is not forwarded)",
"repeater_cliHelpSetIntThresh": "Sets the Interference Threshold (in DB). Default is 14. Set to 0 to disable channel interference detection.",
"repeater_cliHelpSetAgcResetInterval": "Sets the interval to reset the Auto Gain Controller. Set to 0 to disable.",
+1 -1
View File
@@ -7442,7 +7442,7 @@ abstract class AppLocalizations {
/// No description provided for @repeater_cliHelpSetAllowReadOnly.
///
/// In en, this message translates to:
/// **'(Room server) If \'on\', then login in blank password will be allowed, but cannot Post to room. (just read only)'**
/// **'(Room server) If \'on\', allows login without the room password. Read-only, can\'t post to the room.'**
String get repeater_cliHelpSetAllowReadOnly;
/// No description provided for @repeater_cliHelpSetFloodMax.
+1 -1
View File
@@ -4237,7 +4237,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get repeater_cliHelpSetAllowReadOnly =>
'(Room server) If \'on\', then login in blank password will be allowed, but cannot Post to room. (just read only)';
'(Room server) If \'on\', allows login without the room password. Read-only, can\'t post to the room.';
@override
String get repeater_cliHelpSetFloodMax =>
+95 -96
View File
@@ -8523,7 +8523,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
}
@override
String get tcpErrorHostRequired => 'O anfitrião é obrigatório.';
String get tcpErrorHostRequired => 'O endereço é obrigatório.';
@override
String get tcpErrorPortInvalid => 'A porta tem de estar entre 1 e 65535.';
@@ -8910,7 +8910,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get nodeName_info =>
'Cada byte do seu nome é menos um para as mensagens de canal. Os caracteres especiais e os emojis podem ocupar mais do que um byte.';
'Cada byte do seu nome é menos um para as mensagens de canal. Os carateres especiais e os emojis podem ocupar mais do que um byte.';
@override
String get nodeName_messageLength => 'Tamanho da mensagem';
@@ -8957,7 +8957,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get settings_radioSettingsSubtitle =>
'Frequência, potência, fator de espalhamento';
'Frequência, potência, spreading factor';
@override
String get settings_unsavedChangesMessage =>
@@ -9004,7 +9004,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
}
@override
String get settings_regionNoRegion => 'Sem região (sem âmbito)';
String get settings_regionNoRegion => 'Sem região (unscoped)';
@override
String get settings_regionRadioDefault => 'Região predefinida do rádio';
@@ -9349,7 +9349,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get settings_bandwidth => 'Largura de banda';
@override
String get settings_spreadingFactor => 'Fator de espalhamento';
String get settings_spreadingFactor => 'Spreading Factor';
@override
String get settings_codingRate => 'Coding Rate';
@@ -9370,7 +9370,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get settings_clientRepeatDescription =>
'Permite que este dispositivo repita pacotes. Destina-se a locais sem cobertura de repetidores.\n\nEste modo usa um conjunto restrito de frequências. Ao ATIVÁ-LO, é provável que perca a ligação ao resto da mesh. Todos os nós com que comunica têm de usar a mesma frequência, largura de banda e fator de espalhamento (SF). Só o coding rate (CR) pode ser diferente.';
'Permite que este dispositivo repita pacotes. Destina-se a locais sem cobertura de repetidores.\n\nEste modo usa um conjunto restrito de frequências. Ao ATIVÁ-LO, é provável que perca a ligação ao resto da mesh. Todos os nós com que comunica têm de usar a mesma frequência, largura de banda e spreading factor (SF). Só o coding rate (CR) pode ser diferente.';
@override
String get settings_clientRepeatSwitch => 'Modo de repetição';
@@ -9644,7 +9644,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
'Também substitui os fundos definidos em conversas individuais';
@override
String get appSettings_language => 'Idioma';
String get appSettings_language => 'Língua';
@override
String get appSettings_languageSystem => 'Predefinição do sistema';
@@ -9880,7 +9880,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get appSettings_directRetriesSubtitle =>
'Quantas vezes tentar um caminho conhecido. Continua disponível com a rotação automática de caminhos desligada.';
'Quantas vezes tentar um caminho conhecido. Continua disponível com a rotação automática de rotas desligada.';
@override
String appSettings_floodRetries(int count) {
@@ -9889,16 +9889,16 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get appSettings_floodRetriesSubtitle =>
'Quantas vezes usar Flood. Flood usa mais tempo de ar. Com a rotação ligada, vêm a seguir às tentativas diretas.';
'Quantas vezes usar Flood. O Flood usa mais airtime. Com a rotação ligada, vêm a seguir às tentativas diretas.';
@override
String appSettings_loginAttempts(int count) {
return 'Tentativas de início de sessão: $count';
return 'Tentativas de login: $count';
}
@override
String get appSettings_loginAttemptsSubtitle =>
'Quantas vezes tentar iniciar sessão num repetidor ou servidor de sala antes de desistir.';
'Quantas vezes tenta iniciar sessão num repetidor ou sala antes de desistir.';
@override
String get appSettings_repeatersAndRooms => 'Repetidores e salas';
@@ -9909,7 +9909,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get appSettings_clockSyncAfterLoginSubtitle =>
'Depois de iniciar sessão num repetidor, é enviado clock sync. Cada repetidor pode continuar a escolher Predefinição, Ligado ou Desligado.';
'Depois de entrar num repetidor, o relógio é sincronizado. Cada repetidor pode continuar a escolher Predefinição, Ligado ou Desligado.';
@override
String get appSettings_loginPasswordAutofocus =>
@@ -9917,7 +9917,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get appSettings_loginPasswordAutofocusSubtitle =>
'Ao abrir o início de sessão de um repetidor ou sala, o cursor vai para a palavra-passe se estiver vazia. Desligado deixa o diálogo visível até tocar no campo.';
'Ao entrar num repetidor ou sala, o campo da palavra-passe fica logo selecionado, se estiver vazio. Desligado deixa o diálogo visível até tocar no campo.';
@override
String get appSettings_resetRepeaterRoomSettings =>
@@ -10059,10 +10059,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get appSettings_showNodesDiscoveredWithin =>
'Mostrar nós descobertos nos últimos:';
'Mostrar nós descobertos nas últimas:';
@override
String get appSettings_allTime => 'Sempre';
String get appSettings_allTime => 'Todos';
@override
String get appSettings_lastHour => 'Última hora';
@@ -10174,7 +10174,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String contacts_searchRoomServers(int number, String str) {
return 'Pesquisar $number$str room servers...';
return 'Pesquisar $number$str salas...';
}
@override
@@ -10230,10 +10230,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get contacts_manageRepeater => 'Gerir repetidor';
@override
String get contacts_manageRoom => 'Gerir room server';
String get contacts_manageRoom => 'Gerir sala';
@override
String get contacts_roomLogin => 'Início de sessão no room server';
String get contacts_roomLogin => 'Entrar na sala';
@override
String get contacts_openChat => 'Abrir conversa';
@@ -10466,7 +10466,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get channels_usePublicChannel => 'Usar canal público';
@override
String get channels_standardPublicPsk => 'PSK público padrão';
String get channels_standardPublicPsk => 'PSK pública padrão';
@override
String get channels_pskHex => 'PSK (Hex)';
@@ -10479,7 +10479,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get channels_pskMustBe32Hex =>
'A PSK tem de ter 32 caracteres hexadecimais';
'A PSK tem de ter 32 carateres hexadecimais';
@override
String channels_channelAdded(String name) {
@@ -10499,7 +10499,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get channels_cyr2latSettingsDscr =>
'Editar a configuração JSON da substituição de caracteres';
'Editar a configuração JSON da substituição de carateres';
@override
String get channels_cyr2latSettingsDialogHint => 'Mapa de substituição JSON';
@@ -10868,14 +10868,14 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get chat_ipfsUploadNotConfigured =>
'Configure primeiro um fornecedor de envio IPFS nas Definições da app.';
'Configure primeiro um fornecedor de carregamento IPFS nas Definições da app.';
@override
String get chat_ipfsSelectedFileEmpty => 'O ficheiro selecionado está vazio.';
@override
String get chat_ipfsEndpointInvalid =>
'O endpoint de envio IPFS tem de ser um endereço http:// ou https:// completo. Verifique-o nas Definições da app.';
'O endpoint de carregamento IPFS tem de ser um endereço http:// ou https:// completo. Verifique-o nas Definições da app.';
@override
String get chat_ipfsPinataTokenMissing =>
@@ -10887,7 +10887,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get chat_ipfsKuboPathInvalid =>
'O endpoint de envio Kubo tem de terminar em /api/v0/add. Verifique-o nas Definições da app.';
'O endpoint de carregamento Kubo tem de terminar em /api/v0/add. Verifique-o nas Definições da app.';
@override
String get chat_ipfsLinkNoRoom =>
@@ -10937,7 +10937,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get gifPicker_searchHint => 'Pesquisar GIFs...';
@override
String get gifPicker_poweredBy => 'Desenvolvido por GIPHY';
String get gifPicker_poweredBy => 'Com tecnologia GIPHY';
@override
String get gifPicker_noGifsFound => 'Nenhum GIF encontrado';
@@ -11086,7 +11086,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get routing_modeDirectHint =>
'Envia sempre diretamente para este contacto, sem hops de repetidores. Use quando estiver no alcance de rádio.';
'Envia sempre diretamente para este contacto, sem hops de repetidores. Use-o quando o contacto estiver ao alcance do rádio.';
@override
String get routing_currentRoute => 'Rota atual';
@@ -11166,7 +11166,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get pathEditor_addHops => 'Adicionar hops por ordem';
@override
String get pathEditor_searchRepeaters => 'Pesquisar repetidores';
String get pathEditor_searchRepeaters => 'Pesquisar nome ou hash';
@override
String get pathEditor_advancedHex => 'Avançado: caminho hex em bruto';
@@ -11176,7 +11176,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String pathEditor_hexHelper(int count) {
return '$count caracteres hex por hop, separados por vírgulas';
return '$count carateres hex por hop, separados por vírgulas';
}
@override
@@ -11533,7 +11533,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get map_guessedLocation => 'Localização estimada';
@override
String get map_lastSeenTime => 'Hora da última vez visto';
String get map_lastSeenTime => 'Visto pela última vez';
@override
String get map_sharedPin => 'Marcador partilhado';
@@ -11617,11 +11617,11 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get manualTrace_errorInvalidHex =>
'Só são permitidos caracteres hex (0-9, A-F)';
'Só são permitidos carateres hex (0-9, A-F)';
@override
String get manualTrace_errorOddLength =>
'Cada hash precisa de um número par de caracteres hex, correspondente ao tamanho do hop';
'Cada hash precisa de um número par de carateres hex, correspondente ao tamanho do hop';
@override
String get manualTrace_errorMixedWidths =>
@@ -11629,7 +11629,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get manualTrace_errorUnsupportedWidth =>
'Os hashes têm de ter 1, 2 ou 3 bytes (2, 4 ou 6 caracteres hex)';
'Os hashes têm de ter 1, 2 ou 3 bytes (2, 4 ou 6 carateres hex)';
@override
String manualTrace_errorTooManyHops(int max) {
@@ -11807,7 +11807,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get time_minutes => 'minutos';
@override
String get time_allTime => 'Sempre';
String get time_allTime => 'Todos';
@override
String get dialog_disconnect => 'Desligar';
@@ -11817,10 +11817,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
'Tem a certeza de que quer desligar deste dispositivo?';
@override
String get login_repeaterLogin => 'Início de sessão do repetidor';
String get login_repeaterLogin => 'Entrar no repetidor';
@override
String get login_roomLogin => 'Início de sessão do room server';
String get login_roomLogin => 'Entrar na sala';
@override
String get login_password => 'Palavra-passe';
@@ -11877,12 +11877,12 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String login_failed(String error) {
return 'Falha ao iniciar sessão: $error';
return 'Falha no login: $error';
}
@override
String get login_failedMessage =>
'Falha ao iniciar sessão. A palavra-passe está incorreta ou o repetidor está inacessível.';
'Falha no login. A palavra-passe está incorreta ou o repetidor está inacessível.';
@override
String get common_reload => 'Recarregar';
@@ -11897,20 +11897,19 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get path_currentPathLabel => 'Caminho atual';
@override
String get path_noRepeatersFound =>
'Nenhum repetidor ou room server encontrado.';
String get path_noRepeatersFound => 'Nenhum repetidor ou sala encontrado.';
@override
String get repeater_management => 'Gestão do repetidor';
@override
String get room_management => 'Gestão do room server';
String get room_management => 'Gestão da sala';
@override
String get repeater_guest => 'Informações do repetidor';
@override
String get room_guest => 'Informações do room server';
String get room_guest => 'Informações da sala';
@override
String get repeater_managementTools => 'Ferramentas de gestão';
@@ -11961,7 +11960,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_clockSyncAfterLoginSubtitle =>
'Predefinição segue Repetidores e salas nas definições. Ligado e Desligado valem só para este repetidor.';
'Predefinição segue Repetidores e salas nas definições da app. Ligado e Desligado aplicam-se só a este repetidor.';
@override
String get repeater_clockSyncDefault => 'Predefinição';
@@ -12017,7 +12016,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get repeater_lastSnr => 'Último SNR';
@override
String get repeater_noiseFloor => 'Noise floor';
String get repeater_noiseFloor => 'Ruído de fundo';
@override
String get repeater_txAirtime => 'Airtime TX';
@@ -12328,7 +12327,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_prvKeyHelper =>
'Uma nova chave privada para o repetidor, uma cadeia hexadecimal de 128 caracteres.';
'Uma nova chave privada para o repetidor, uma cadeia hexadecimal de 128 carateres.';
@override
String get repeater_generatePrvKey => 'Gerar um par de chaves aleatório';
@@ -12446,7 +12445,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String repeater_refreshed(String label) {
return '$label atualizado';
return 'Atualizado: $label';
}
@override
@@ -12556,7 +12555,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpSetAllowReadOnly =>
'(Room server) Se \'on\', o início de sessão com palavra-passe em branco é permitido, mas não pode publicar na sala. (só leitura)';
'(Sala) Se \'on\', permite login sem palavra-passe. Leitura apenas, sem permissão para publicar.';
@override
String get repeater_cliHelpSetFloodMax =>
@@ -12614,7 +12613,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
'Igual a txdelay, mas aplica um atraso aleatório ao reencaminhamento de pacotes em modo direto.';
@override
String get repeater_cliHelpSetBridgeEnabled => 'Ativar/desativar bridge.';
String get repeater_cliHelpSetBridgeEnabled => 'Ativar/desativar ponte.';
@override
String get repeater_cliHelpSetBridgeDelay =>
@@ -12622,15 +12621,15 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpSetBridgeSource =>
'Escolhe se a bridge retransmite pacotes recebidos ou transmitidos.';
'Escolhe se a ponte retransmite pacotes recebidos ou transmitidos.';
@override
String get repeater_cliHelpSetBridgeBaud =>
'Define o baudrate da ligação série para bridges rs232.';
'Define o baudrate da ligação série para pontes rs232.';
@override
String get repeater_cliHelpSetBridgeSecret =>
'Define o segredo da bridge para bridges espnow.';
'Define o segredo da ponte para pontes espnow.';
@override
String get repeater_cliHelpSetAdcMultiplier =>
@@ -12646,7 +12645,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpGetBridgeType =>
'Obtém o tipo de bridge: none, rs232, espnow';
'Obtém o tipo de ponte: none, rs232, espnow';
@override
String get repeater_cliHelpLogStart =>
@@ -12654,7 +12653,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpLogStop =>
'Pára o registo de pacotes no sistema de ficheiros.';
'Termina o registo de pacotes no sistema de ficheiros.';
@override
String get repeater_cliHelpLogErase =>
@@ -12678,7 +12677,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpRegionGet =>
'Procura a região com o prefixo de nome indicado (ou \"*\" para o âmbito global). Responde com \"-> region-name (parent-name) \'F\'\"';
'Procura a região com o prefixo de nome indicado (ou \"*\" para o scope global). Responde com \"-> region-name (parent-name) \'F\'\"';
@override
String get repeater_cliHelpRegionPut =>
@@ -12690,11 +12689,11 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpRegionAllowf =>
'Define a permissão \'F\'lood para a região indicada. (\'*\' para o âmbito global/legado)';
'Define a permissão \'F\'lood para a região indicada. (\'*\' para o scope global/legado)';
@override
String get repeater_cliHelpRegionDenyf =>
'Remove a permissão \'F\'lood da região indicada. (NOTA: nesta fase NÃO é aconselhável usar isto no âmbito global/legado!!)';
'Remove a permissão \'F\'lood da região indicada. (NOTA: nesta fase NÃO é aconselhável usar isto no scope global/legado!!)';
@override
String get repeater_cliHelpRegionHome =>
@@ -12772,7 +12771,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpSetFloodMaxUnscoped =>
'Define o número máximo de hops para reencaminhar pacotes Flood sem âmbito de região (0-64).';
'Define o número máximo de hops para reencaminhar pacotes Flood sem scope de região (0-64).';
@override
String get repeater_cliHelpSetFloodMaxAdvert =>
@@ -12780,7 +12779,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpGetFloodMaxUnscoped =>
'Mostra o número máximo de hops para pacotes Flood sem âmbito.';
'Mostra o número máximo de hops para pacotes Flood unscoped.';
@override
String get repeater_cliHelpGetFloodMaxAdvert =>
@@ -12804,7 +12803,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_bridgeNote =>
'Só disponível em firmware compilado com bridge (RS232 ou ESP-NOW).';
'Só disponível em firmware compilado com ponte (RS232 ou ESP-NOW).';
@override
String get repeater_general => 'Geral';
@@ -12899,7 +12898,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpSetOwnerInfo =>
'Define a cadeia de contacto do proprietário incluída nos anúncios. Use \'|\' para novas linhas.';
'Define o texto de contacto do proprietário incluído nos anúncios. Use \'|\' para novas linhas.';
@override
String get repeater_cliHelpSetPathHashMode =>
@@ -12915,14 +12914,14 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpSetBridgeChannel =>
'(só bridge ESPNow) Define o canal WiFi (1-14) usado pela bridge.';
'(só ponte ESPNow) Define o canal WiFi (1-14) usado pela ponte.';
@override
String get repeater_cliHelpGetName => 'Mostra o nome do nó configurado.';
@override
String get repeater_cliHelpGetRole =>
'Mostra a função do firmware (Repetidor, Room Server, etc.).';
'Mostra a função do firmware (Repetidor, Sala, etc.).';
@override
String get repeater_cliHelpGetPublicKey =>
@@ -13009,7 +13008,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpGetOwnerInfo =>
'Mostra a cadeia de contacto do proprietário.';
'Mostra o texto de contacto do proprietário.';
@override
String get repeater_cliHelpGetPathHashMode =>
@@ -13025,27 +13024,27 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpGetBridgeEnabled =>
'Mostra se a bridge está ativada.';
'Mostra se a ponte está ativada.';
@override
String get repeater_cliHelpGetBridgeDelay =>
'Mostra o atraso da bridge em ms.';
'Mostra o atraso da ponte em ms.';
@override
String get repeater_cliHelpGetBridgeSource =>
'Mostra se a bridge regista pacotes RX ou TX.';
'Mostra se a ponte regista pacotes RX ou TX.';
@override
String get repeater_cliHelpGetBridgeBaud =>
'(só bridge RS232) Mostra o baud rate da bridge.';
'(só ponte RS232) Mostra o baud rate da ponte.';
@override
String get repeater_cliHelpGetBridgeChannel =>
'(só bridge ESPNow) Mostra o canal WiFi da bridge.';
'(só ponte ESPNow) Mostra o canal WiFi da ponte.';
@override
String get repeater_cliHelpGetBridgeSecret =>
'(só bridge ESPNow) Mostra o segredo partilhado da bridge.';
'(só ponte ESPNow) Mostra o segredo partilhado da ponte.';
@override
String get repeater_cliHelpGetBootloaderVer =>
@@ -13085,11 +13084,11 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get repeater_cliHelpRegionDefault =>
'Mostra o âmbito de região predefinido atual.';
'Mostra o scope de região predefinido atual.';
@override
String get repeater_cliHelpRegionDefaultSet =>
'Define o âmbito de região predefinido. Use \"<null>\" para limpar.';
'Define o scope de região predefinido. Use \"<null>\" para limpar.';
@override
String get repeater_cliHelpRegionListAllowed =>
@@ -13533,7 +13532,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String community_deleteChannelsWarning(int count) {
return 'Isto também elimina $count canal(ais) e as respetivas mensagens.';
return 'Isto também elimina $count canal/canais e as respetivas mensagens.';
}
@override
@@ -13585,14 +13584,14 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get community_regularHashtagDesc =>
'Hashtag público (qualquer pessoa pode entrar)';
'Hashtag pública (qualquer pessoa pode entrar)';
@override
String get community_communityHashtag => 'Hashtag da comunidade';
@override
String get community_communityHashtagDesc =>
'Privado para membros da comunidade';
'Privada para membros da comunidade';
@override
String community_forCommunity(String name) {
@@ -13636,7 +13635,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get listFilter_repeaters => 'Repetidores';
@override
String get listFilter_roomServers => 'Servidores de sala';
String get listFilter_roomServers => 'Salas';
@override
String get listFilter_unreadOnly => 'Só não lidas';
@@ -13687,7 +13686,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
'Toque nos nós ou prima longamente o mapa para pontos personalizados';
@override
String get losShowDisplayNodes => 'Mostrar nós de visualização';
String get losShowDisplayNodes => 'Mostrar nós no mapa';
@override
String get losCustomPoints => 'Pontos personalizados';
@@ -13846,10 +13845,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get contacts_repeaterPing => 'Ping ao repetidor';
@override
String get contacts_roomPathTrace => 'Trace do caminho até ao room server';
String get contacts_roomPathTrace => 'Trace do caminho até à sala';
@override
String get contacts_roomPing => 'Ping ao room server';
String get contacts_roomPing => 'Ping à sala';
@override
String get contacts_chatTraceRoute => 'Rota do trace do caminho';
@@ -14035,7 +14034,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String notification_reacted(String emoji) {
return 'Reagiu $emoji';
return 'Reagiu com $emoji';
}
@override
@@ -14130,7 +14129,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get settings_gpxExportRepeatersRoom =>
'Localizações de repetidores e room servers';
'Localizações de repetidores e salas';
@override
String get settings_gpxExportChat => 'Localizações de companions';
@@ -14185,7 +14184,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get contactsSettings_autoAddRepeatersTitle => 'Repetidores';
@override
String get contactsSettings_autoAddRoomServersTitle => 'Servidores de sala';
String get contactsSettings_autoAddRoomServersTitle => 'Salas';
@override
String get contactsSettings_autoAddSensorsTitle => 'Sensores';
@@ -14264,7 +14263,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get discoveredContacts_scanExplanation =>
'Pede aos nós ao alcance direto do rádio que se identifiquem. Repetidores e sensores respondem. Room servers e companions normalmente não.';
'Pede aos nós ao alcance direto do rádio que se identifiquem. Repetidores e sensores respondem. Salas e companions normalmente não.';
@override
String get discoveredContacts_scanning => 'A procurar…';
@@ -14451,7 +14450,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get translation_composerSubtitle =>
'Controla o estado predefinido do ícone de tradução do compositor.';
'Controla o estado predefinido do ícone de tradução no campo de mensagem.';
@override
String get translation_autoIncomingTitle =>
@@ -14465,10 +14464,10 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get translation_translateMessage => 'Traduzir mensagem';
@override
String get translation_targetLanguage => 'Idioma de destino';
String get translation_targetLanguage => 'Língua de destino';
@override
String get translation_useAppLanguage => 'Usar o idioma da app';
String get translation_useAppLanguage => 'Usar a língua da app';
@override
String get translation_downloadedModelLabel => 'Modelo transferido';
@@ -14477,7 +14476,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get translation_presetModelLabel => 'Modelo Hugging Face predefinido';
@override
String get translation_manualUrlLabel => 'URL do modelo manual';
String get translation_manualUrlLabel => 'URL manual do modelo';
@override
String get translation_downloadModel => 'Transferir modelo';
@@ -14542,7 +14541,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get translation_composerDisabledHint =>
'Enviar mensagens no idioma original escrito.';
'As mensagens são enviadas na língua em que foram escritas.';
@override
String translation_translateTo(String language) {
@@ -14553,7 +14552,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get translation_translationOptions => 'Opções de tradução';
@override
String get translation_systemLanguage => 'Idioma do sistema';
String get translation_systemLanguage => 'Língua do sistema';
@override
String get background_serviceTitle => 'MeshCore em execução';
@@ -14960,7 +14959,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
'Imagem recebida — a descodificação de imagens está desativada';
@override
String get receivedImage_evicted => 'Imagem já não guardada';
String get receivedImage_evicted => 'A imagem já não está guardada';
@override
String get receivedImage_retry => 'Tentar novamente';
@@ -15078,11 +15077,11 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
'Máximo de hops que um anúncio em flood pode percorrer (0-64, predefinição 8)';
@override
String get repeater_floodMaxUnscoped => 'Máx. hops de flood sem âmbito';
String get repeater_floodMaxUnscoped => 'Máx. hops de flood unscoped';
@override
String get repeater_floodMaxUnscopedHelper =>
'Máximo de hops para floods sem âmbito de região (0-64, predefinição 64). Um valor baixo, como 3, mantém o tráfego sem âmbito local.';
'Máximo de hops para floods sem scope de região (0-64, predefinição 64). Um valor baixo, como 3, mantém local o tráfego unscoped.';
@override
String get repeater_floodMaxUnscopedUnset => 'Igual ao máx. de flood';
@@ -15732,7 +15731,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get networkMap_locationEstimated =>
'Localização aproximada, estimada por quem o ouviu';
'Localização aproximada, estimada a partir de quem o ouviu';
@override
String get networkMap_locationAdvertised =>
@@ -15880,7 +15879,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get messageFilter_repeatedCharactersSubtitle =>
'Sequências longas do mesmo carater, como \"aaaaaaaaaaaaaaaaaaaa\"';
'Sequências longas do mesmo caráter, como \"aaaaaaaaaaaaaaaaaaaa\"';
@override
String get messageFilter_learning => 'Aprender com os toques em Spam';
@@ -16134,7 +16133,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String get addContact_publicKeyInvalid =>
'A chave pública deve ter 64 caracteres hexadecimais (32 bytes)';
'A chave pública deve ter 64 carateres hexadecimais (32 bytes)';
@override
String get addContact_clipboardKeyLoaded =>
@@ -16332,11 +16331,11 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String chess_playerYou(String name) {
return '$name (você)';
return '$name (eu)';
}
@override
String get chess_toMoveChip => 'Por jogar';
String get chess_toMoveChip => 'Vez de jogar';
@override
String get chess_statusYourMove => 'É a sua vez';
@@ -16551,7 +16550,7 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
@override
String chess_notifyResigned(String name) {
return '$name desistiu. Venceu.';
return '$name desistiu. A vitória é sua.';
}
@override
+95 -95
View File
@@ -61,7 +61,7 @@
"tcpPortHint": "5000",
"tcpStatus_notConnected": "Introduza o endereço e ligue",
"tcpStatus_connectingTo": "A ligar a {endpoint}...",
"tcpErrorHostRequired": "O anfitrião é obrigatório.",
"tcpErrorHostRequired": "O endereço é obrigatório.",
"tcpErrorPortInvalid": "A porta tem de estar entre 1 e 65535.",
"tcpErrorUnsupported": "O transporte TCP não é suportado nesta plataforma.",
"tcpErrorTimedOut": "A ligação TCP excedeu o tempo limite.",
@@ -174,7 +174,7 @@
"settings_nodeName": "Nome do nó",
"settings_nodeNameNotSet": "Não definido",
"settings_nodeNameHint": "Introduza o nome do nó",
"nodeName_info": "Cada byte do seu nome é menos um para as mensagens de canal. Os caracteres especiais e os emojis podem ocupar mais do que um byte.",
"nodeName_info": "Cada byte do seu nome é menos um para as mensagens de canal. Os carateres especiais e os emojis podem ocupar mais do que um byte.",
"nodeName_messageLength": "Tamanho da mensagem",
"nodeName_channelMessages": "Mensagens de canal",
"nodeName_channelMessagesSubtitle": "Reduzido pelo seu nome",
@@ -184,7 +184,7 @@
"nodeName_bytesOver": "{count, plural, =1{1 byte acima do limite} other{{count} bytes acima do limite}}",
"settings_nodeNameUpdated": "Nome atualizado",
"settings_radioSettings": "Definições de rádio",
"settings_radioSettingsSubtitle": "Frequência, potência, fator de espalhamento",
"settings_radioSettingsSubtitle": "Frequência, potência, spreading factor",
"settings_unsavedChangesMessage": "Tem alterações que não foram guardadas no rádio.",
"settings_radioSettingsUpdated": "Definições de rádio atualizadas",
"settings_radioSettingsNotApplied": "O rádio não aplicou estas definições",
@@ -197,7 +197,7 @@
"settings_regionDefaultSubtitle": "Usada por canais sem região própria",
"settings_regionDefaultNone": "Nenhuma",
"settings_regionUseRadioDefault": "Predefinição do rádio ({region})",
"settings_regionNoRegion": "Sem região (sem âmbito)",
"settings_regionNoRegion": "Sem região (unscoped)",
"settings_regionRadioDefault": "Região predefinida do rádio",
"settings_regionRadioDefaultSubtitle": "Guardada no rádio. Os floods enviados sem região usam-na, a partir desta app e de qualquer outra app ligada ao rádio.",
"settings_regionRadioDefaultUpdated": "Região predefinida do rádio atualizada",
@@ -300,13 +300,13 @@
"settings_frequencyHelper": "150.0 - 2500.0 MHz",
"settings_frequencyInvalid": "Frequência inválida (150-2500 MHz)",
"settings_bandwidth": "Largura de banda",
"settings_spreadingFactor": "Fator de espalhamento",
"settings_spreadingFactor": "Spreading Factor",
"settings_codingRate": "Coding Rate",
"settings_txPower": "Potência TX (dBm)",
"settings_txPowerRangeHelper": "{min} a {max} dBm",
"settings_txPowerInvalid": "Potência TX inválida",
"settings_clientRepeat": "Modo de repetição off-grid",
"settings_clientRepeatDescription": "Permite que este dispositivo repita pacotes. Destina-se a locais sem cobertura de repetidores.\n\nEste modo usa um conjunto restrito de frequências. Ao ATIVÁ-LO, é provável que perca a ligação ao resto da mesh. Todos os nós com que comunica têm de usar a mesma frequência, largura de banda e fator de espalhamento (SF). Só o coding rate (CR) pode ser diferente.",
"settings_clientRepeatDescription": "Permite que este dispositivo repita pacotes. Destina-se a locais sem cobertura de repetidores.\n\nEste modo usa um conjunto restrito de frequências. Ao ATIVÁ-LO, é provável que perca a ligação ao resto da mesh. Todos os nós com que comunica têm de usar a mesma frequência, largura de banda e spreading factor (SF). Só o coding rate (CR) pode ser diferente.",
"settings_clientRepeatSwitch": "Modo de repetição",
"settings_clientRepeatNote": "Nota: Ao DESATIVÁ-LO, é reposta a frequência anterior. Se depois não conseguir ligar-se à mesh, verifique as predefinições/parâmetros.",
"settings_clientRepeatFrequencyNote": "Frequência definida para {freq} MHz para repetição off-grid",
@@ -388,7 +388,7 @@
"themes_chatBackgroundHelp": "Mostrado nas conversas sem fundo próprio",
"themes_chatBackgroundEverywhere": "Usar em todas as conversas",
"themes_chatBackgroundEverywhereHelp": "Também substitui os fundos definidos em conversas individuais",
"appSettings_language": "Idioma",
"appSettings_language": "Língua",
"appSettings_languageSystem": "Predefinição do sistema",
"appSettings_languageEn": "English",
"appSettings_languageFr": "Français",
@@ -485,8 +485,8 @@
"appSettings_timeFilterShowAll": "Mostrar todos os nós",
"appSettings_timeFilterShowLast": "Mostrar nós das últimas {hours} horas",
"appSettings_mapTimeFilter": "Filtro de tempo do mapa",
"appSettings_showNodesDiscoveredWithin": "Mostrar nós descobertos nos últimos:",
"appSettings_allTime": "Sempre",
"appSettings_showNodesDiscoveredWithin": "Mostrar nós descobertos nas últimas:",
"appSettings_allTime": "Todos",
"appSettings_lastHour": "Última hora",
"appSettings_last6Hours": "Últimas 6 horas",
"appSettings_last24Hours": "Últimas 24 horas",
@@ -517,7 +517,7 @@
"contacts_searchFavorites": "Pesquisar {number}{str} favoritos...",
"contacts_searchUsers": "Pesquisar {number}{str} utilizadores...",
"contacts_searchRepeaters": "Pesquisar {number}{str} repetidores...",
"contacts_searchRoomServers": "Pesquisar {number}{str} room servers...",
"contacts_searchRoomServers": "Pesquisar {number}{str} salas...",
"contacts_noUnreadContacts": "Nenhum contacto por ler",
"contacts_noContactsFound": "Nenhum contacto ou grupo encontrado",
"contacts_storageFull": "O armazenamento de contactos do nó está cheio. Não é possível adicionar novos nós até remover contactos.",
@@ -532,8 +532,8 @@
"contacts_discoveredNearby": "Descobertos nas proximidades ({count})",
"contacts_noContactsDiscoveredHint": "Os nós que o seu rádio ouve mas ainda não adicionou aparecem em Contactos descobertos",
"contacts_manageRepeater": "Gerir repetidor",
"contacts_manageRoom": "Gerir room server",
"contacts_roomLogin": "Início de sessão no room server",
"contacts_manageRoom": "Gerir sala",
"contacts_roomLogin": "Entrar na sala",
"contacts_openChat": "Abrir conversa",
"contacts_editGroup": "Editar grupo",
"contacts_deleteGroup": "Eliminar grupo",
@@ -595,11 +595,11 @@
"channels_channelIndexLabel": "Índice do canal",
"channels_channelName": "Nome do canal",
"channels_usePublicChannel": "Usar canal público",
"channels_standardPublicPsk": "PSK público padrão",
"channels_standardPublicPsk": "PSK pública padrão",
"channels_pskHex": "PSK (Hex)",
"channels_generateRandomPsk": "Gerar PSK aleatória",
"channels_enterChannelName": "Introduza um nome para o canal",
"channels_pskMustBe32Hex": "A PSK tem de ter 32 caracteres hexadecimais",
"channels_pskMustBe32Hex": "A PSK tem de ter 32 carateres hexadecimais",
"channels_channelAdded": "Canal \"{name}\" adicionado",
"channels_editChannelTitle": "Editar canal {index}",
"channels_smazCompression": "Compressão SMAZ",
@@ -607,7 +607,7 @@
"channels_cyr2latCompressionDscr": "Substitui alguns caracteres cirílicos por latinos ao enviar.",
"channels_cyr2latSettingsHeading": "Configuração Cyr2Lat",
"channels_cyr2latSettingsSubheading": "Lista de substituições",
"channels_cyr2latSettingsDscr": "Editar a configuração JSON da substituição de caracteres",
"channels_cyr2latSettingsDscr": "Editar a configuração JSON da substituição de carateres",
"channels_cyr2latSettingsDialogHint": "Mapa de substituição JSON",
"channels_cyr2latSettingsDialogWrongJSON": "JSON inválido: {error}",
"channels_channelUpdated": "Canal \"{name}\" atualizado",
@@ -695,12 +695,12 @@
"chat_sendImageLora": "Enviar imagem de baixa resolução por rádio",
"chat_sendImageIpfs": "Enviar imagem ou ficheiro via IPFS",
"chat_ipfsUploadFailed": "Falha no envio para IPFS: {error}",
"chat_ipfsUploadNotConfigured": "Configure primeiro um fornecedor de envio IPFS nas Definições da app.",
"chat_ipfsUploadNotConfigured": "Configure primeiro um fornecedor de carregamento IPFS nas Definições da app.",
"chat_ipfsSelectedFileEmpty": "O ficheiro selecionado está vazio.",
"chat_ipfsEndpointInvalid": "O endpoint de envio IPFS tem de ser um endereço http:// ou https:// completo. Verifique-o nas Definições da app.",
"chat_ipfsEndpointInvalid": "O endpoint de carregamento IPFS tem de ser um endereço http:// ou https:// completo. Verifique-o nas Definições da app.",
"chat_ipfsPinataTokenMissing": "O Pinata precisa de uma chave API ou JWT. Adicione-a nas Definições da app.",
"chat_ipfsFilebaseTokenMissing": "O Filebase precisa de um token API. Adicione-o nas Definições da app.",
"chat_ipfsKuboPathInvalid": "O endpoint de envio Kubo tem de terminar em /api/v0/add. Verifique-o nas Definições da app.",
"chat_ipfsKuboPathInvalid": "O endpoint de carregamento Kubo tem de terminar em /api/v0/add. Verifique-o nas Definições da app.",
"chat_ipfsLinkNoRoom": "Sem espaço para a ligação da imagem. Encurte a mensagem e tente novamente.",
"chat_ipfsLinkOverLimit": "Ligação da imagem adicionada, mas a mensagem ficou demasiado longa. Encurte-a antes de enviar.",
"chat_imagePickFailed": "Não foi possível abrir essa imagem",
@@ -716,7 +716,7 @@
"emojiCategoryObjects": "Objetos",
"gifPicker_title": "Escolher um GIF",
"gifPicker_searchHint": "Pesquisar GIFs...",
"gifPicker_poweredBy": "Desenvolvido por GIPHY",
"gifPicker_poweredBy": "Com tecnologia GIPHY",
"gifPicker_noGifsFound": "Nenhum GIF encontrado",
"gifPicker_failedLoad": "Falha ao carregar GIFs",
"gifPicker_failedSearch": "Falha ao pesquisar GIFs",
@@ -756,7 +756,7 @@
"routing_modeAutoHint": "Escolhe automaticamente o melhor caminho conhecido, usando flood quando não há nenhum.",
"routing_modeFloodHint": "Difunde por todos os repetidores. Mais fiável, mas usa mais airtime.",
"routing_modeManualHint": "Envia sempre pelo caminho exato que definir.",
"routing_modeDirectHint": "Envia sempre diretamente para este contacto, sem hops de repetidores. Use quando estiver no alcance de rádio.",
"routing_modeDirectHint": "Envia sempre diretamente para este contacto, sem hops de repetidores. Use-o quando o contacto estiver ao alcance do rádio.",
"routing_currentRoute": "Rota atual",
"routing_directNoHops": "Direto — sem hops de repetidores",
"routing_noPathYet": "Ainda sem caminho. A próxima mensagem usa flood até ser descoberta uma rota.",
@@ -780,10 +780,10 @@
"pathEditor_hopCounter": "{count} de 64 hops",
"pathEditor_noHops": "Ainda sem hops. Toque nos repetidores abaixo para os adicionar por ordem, ou guarde sem hops para enviar diretamente.",
"pathEditor_addHops": "Adicionar hops por ordem",
"pathEditor_searchRepeaters": "Pesquisar repetidores",
"pathEditor_searchRepeaters": "Pesquisar nome ou hash",
"pathEditor_advancedHex": "Avançado: caminho hex em bruto",
"pathEditor_hexLabel": "Prefixos hex",
"pathEditor_hexHelper": "{count} caracteres hex por hop, separados por vírgulas",
"pathEditor_hexHelper": "{count} carateres hex por hop, separados por vírgulas",
"pathEditor_invalidTokens": "Inválido: {tokens}",
"pathEditor_tooManyHops": "Máximo de 64 hops",
"pathEditor_usePath": "Usar este caminho",
@@ -894,7 +894,7 @@
"map_clusterNodesSubtitle": "Ao afastar o zoom, mostra nós próximos como um círculo numerado",
"map_showDiscoveryContacts": "Mostrar contactos descobertos",
"map_guessedLocation": "Localização estimada",
"map_lastSeenTime": "Hora da última vez visto",
"map_lastSeenTime": "Visto pela última vez",
"map_sharedPin": "Marcador partilhado",
"map_sharedAt": "Partilhado",
"map_joinRoom": "Entrar na sala",
@@ -919,10 +919,10 @@
"manualTrace_enterHashes": "Introduza hashes",
"manualTrace_run": "Executar trace do caminho",
"manualTrace_notConnected": "Ligue a um rádio para executar um trace",
"manualTrace_errorInvalidHex": "Só são permitidos caracteres hex (0-9, A-F)",
"manualTrace_errorOddLength": "Cada hash precisa de um número par de caracteres hex, correspondente ao tamanho do hop",
"manualTrace_errorInvalidHex": "Só são permitidos carateres hex (0-9, A-F)",
"manualTrace_errorOddLength": "Cada hash precisa de um número par de carateres hex, correspondente ao tamanho do hop",
"manualTrace_errorMixedWidths": "Todos os hashes têm de ter o mesmo comprimento",
"manualTrace_errorUnsupportedWidth": "Os hashes têm de ter 1, 2 ou 3 bytes (2, 4 ou 6 caracteres hex)",
"manualTrace_errorUnsupportedWidth": "Os hashes têm de ter 1, 2 ou 3 bytes (2, 4 ou 6 carateres hex)",
"manualTrace_errorTooManyHops": "O caminho é demasiado longo (máximo {max} bytes)",
"manualTrace_errorTraceTooLong": "Demasiados hops para um trace num só pedido. Remova alguns hops ou escolha Como introduzido.",
"mapCache_title": "Cache de mapa offline",
@@ -967,11 +967,11 @@
"time_month": "mês",
"time_months": "meses",
"time_minutes": "minutos",
"time_allTime": "Sempre",
"time_allTime": "Todos",
"dialog_disconnect": "Desligar",
"dialog_disconnectConfirm": "Tem a certeza de que quer desligar deste dispositivo?",
"login_repeaterLogin": "Início de sessão do repetidor",
"login_roomLogin": "Início de sessão do room server",
"login_repeaterLogin": "Entrar no repetidor",
"login_roomLogin": "Entrar na sala",
"login_password": "Palavra-passe",
"login_enterPassword": "Introduza a palavra-passe",
"login_showPassword": "Mostrar palavra-passe",
@@ -988,17 +988,17 @@
"login_managePaths": "Gerir caminhos",
"login_login": "Entrar",
"login_attempt": "Tentativa {current}/{max}",
"login_failed": "Falha ao iniciar sessão: {error}",
"login_failedMessage": "Falha ao iniciar sessão. A palavra-passe está incorreta ou o repetidor está inacessível.",
"login_failed": "Falha no login: {error}",
"login_failedMessage": "Falha no login. A palavra-passe está incorreta ou o repetidor está inacessível.",
"common_reload": "Recarregar",
"common_clear": "Limpar",
"common_clearSearch": "Limpar pesquisa",
"path_currentPathLabel": "Caminho atual",
"path_noRepeatersFound": "Nenhum repetidor ou room server encontrado.",
"path_noRepeatersFound": "Nenhum repetidor ou sala encontrado.",
"repeater_management": "Gestão do repetidor",
"room_management": "Gestão do room server",
"room_management": "Gestão da sala",
"repeater_guest": "Informações do repetidor",
"room_guest": "Informações do room server",
"room_guest": "Informações da sala",
"repeater_managementTools": "Ferramentas de gestão",
"repeater_guestTools": "Ferramentas de convidado",
"repeater_roleAdmin": "ADMIN",
@@ -1014,7 +1014,7 @@
"repeater_settings": "Definições",
"repeater_settingsSubtitle": "Configurar parâmetros do repetidor",
"repeater_clockSyncAfterLogin": "Sincronizar relógio após login",
"repeater_clockSyncAfterLoginSubtitle": "Predefinição segue Repetidores e salas nas definições. Ligado e Desligado valem só para este repetidor.",
"repeater_clockSyncAfterLoginSubtitle": "Predefinição segue Repetidores e salas nas definições da app. Ligado e Desligado aplicam-se só a este repetidor.",
"repeater_statusTitle": "Estado do repetidor",
"repeater_routingMode": "Modo de encaminhamento",
"repeater_refresh": "Atualizar",
@@ -1029,7 +1029,7 @@
"repeater_radioStatistics": "Estatísticas de rádio",
"repeater_lastRssi": "Último RSSI",
"repeater_lastSnr": "Último SNR",
"repeater_noiseFloor": "Noise floor",
"repeater_noiseFloor": "Ruído de fundo",
"repeater_txAirtime": "Airtime TX",
"repeater_rxAirtime": "Airtime RX",
"repeater_chanUtil": "Utilização do canal",
@@ -1117,7 +1117,7 @@
"repeater_keySettings": "Alterar chaves de identidade",
"repeater_keySettingsSubtitle": "Alterar o par de chaves pública/privada",
"repeater_prvKey": "Chave privada",
"repeater_prvKeyHelper": "Uma nova chave privada para o repetidor, uma cadeia hexadecimal de 128 caracteres.",
"repeater_prvKeyHelper": "Uma nova chave privada para o repetidor, uma cadeia hexadecimal de 128 carateres.",
"repeater_generatePrvKey": "Gerar um par de chaves aleatório",
"repeater_stopGeneratingPrvKey": "Interromper a procura de chaves",
"repeater_pubKey": "Chave pública",
@@ -1149,7 +1149,7 @@
"repeater_refreshAll": "Atualizar tudo",
"repeater_settingsNotLoaded": "As definições ainda não foram carregadas deste repetidor.",
"repeater_settingsLoadIncomplete": "Não foi possível carregar algumas definições. Use os botões de atualizar para tentar novamente.",
"repeater_refreshed": "{label} atualizado",
"repeater_refreshed": "Atualizado: {label}",
"repeater_errorRefreshing": "Erro ao atualizar {label}",
"repeater_cliTitle": "CLI do repetidor",
"repeater_debugNextCommand": "Depurar próximo comando",
@@ -1181,7 +1181,7 @@
"repeater_cliHelpSetAf": "Define o air-time-factor.",
"repeater_cliHelpSetTx": "Define a potência de transmissão LoRa em dBm. (reiniciar para aplicar)",
"repeater_cliHelpSetRepeat": "Ativa ou desativa a função de repetidor neste nó.",
"repeater_cliHelpSetAllowReadOnly": "(Room server) Se 'on', o início de sessão com palavra-passe em branco é permitido, mas não pode publicar na sala. (só leitura)",
"repeater_cliHelpSetAllowReadOnly": "(Sala) Se 'on', permite login sem palavra-passe. Leitura apenas, sem permissão para publicar.",
"repeater_cliHelpSetFloodMax": "Define o número máximo de hops de um pacote Flood recebido (se >= máx., o pacote não é reencaminhado)",
"repeater_cliHelpSetIntThresh": "Define o limiar de interferência (em dB). A predefinição é 14. Defina 0 para desativar a deteção de interferência no canal.",
"repeater_cliHelpSetAgcResetInterval": "Define o intervalo para repor o controlador automático de ganho. Defina 0 para desativar.",
@@ -1196,27 +1196,27 @@
"repeater_cliHelpSetRxDelay": "Define a base (experimental; tem de ser > 1 para ter efeito) para aplicar um ligeiro atraso aos pacotes recebidos, com base na intensidade/pontuação do sinal. Defina 0 para desativar.",
"repeater_cliHelpSetTxDelay": "Define um fator multiplicado pelo time-on-air de um pacote em modo Flood e por um sistema de slots aleatórios, para atrasar o seu reencaminhamento. (para diminuir a probabilidade de colisões)",
"repeater_cliHelpSetDirectTxDelay": "Igual a txdelay, mas aplica um atraso aleatório ao reencaminhamento de pacotes em modo direto.",
"repeater_cliHelpSetBridgeEnabled": "Ativar/desativar bridge.",
"repeater_cliHelpSetBridgeEnabled": "Ativar/desativar ponte.",
"repeater_cliHelpSetBridgeDelay": "Define o atraso antes de retransmitir pacotes.",
"repeater_cliHelpSetBridgeSource": "Escolhe se a bridge retransmite pacotes recebidos ou transmitidos.",
"repeater_cliHelpSetBridgeBaud": "Define o baudrate da ligação série para bridges rs232.",
"repeater_cliHelpSetBridgeSecret": "Define o segredo da bridge para bridges espnow.",
"repeater_cliHelpSetBridgeSource": "Escolhe se a ponte retransmite pacotes recebidos ou transmitidos.",
"repeater_cliHelpSetBridgeBaud": "Define o baudrate da ligação série para pontes rs232.",
"repeater_cliHelpSetBridgeSecret": "Define o segredo da ponte para pontes espnow.",
"repeater_cliHelpSetAdcMultiplier": "Define um fator personalizado para ajustar a tensão de bateria reportada (só suportado em algumas placas).",
"repeater_cliHelpTempRadio": "Define parâmetros de rádio temporários durante o número de minutos indicado, voltando depois aos parâmetros originais. (NÃO guarda nas preferências).",
"repeater_cliHelpSetPerm": "Modifica a ACL. Remove a entrada correspondente (por prefixo de pubkey) se \"permissions\" for zero. Adiciona uma nova entrada se pubkey-hex tiver o comprimento total e não estiver na ACL. Atualiza a entrada por correspondência do prefixo de pubkey. Os bits de permissão variam consoante a função do firmware, mas os 2 bits mais baixos são: 0 (Convidado), 1 (Só leitura), 2 (Leitura e escrita), 3 (Admin)",
"repeater_cliHelpGetBridgeType": "Obtém o tipo de bridge: none, rs232, espnow",
"repeater_cliHelpGetBridgeType": "Obtém o tipo de ponte: none, rs232, espnow",
"repeater_cliHelpLogStart": "Inicia o registo de pacotes no sistema de ficheiros.",
"repeater_cliHelpLogStop": "Pára o registo de pacotes no sistema de ficheiros.",
"repeater_cliHelpLogStop": "Termina o registo de pacotes no sistema de ficheiros.",
"repeater_cliHelpLogErase": "Apaga os registos de pacotes do sistema de ficheiros.",
"repeater_cliHelpNeighbors": "Mostra uma lista de outros nós repetidores ouvidos através de anúncios zero-hop. Cada linha é id-prefix-hex:timestamp:snr-times-4",
"repeater_cliHelpNeighborRemove": "Remove a primeira entrada correspondente (por prefixo de pubkey (hex)) da lista de vizinhos.",
"repeater_cliHelpRegion": "(só série) Lista todas as regiões definidas e as permissões Flood atuais.",
"repeater_cliHelpRegionLoad": "NOTA: esta é uma invocação especial de vários comandos. Cada comando seguinte é um nome de região (indentado com espaços para indicar a hierarquia do pai, com pelo menos um espaço). Termina ao enviar uma linha/comando em branco.",
"repeater_cliHelpRegionGet": "Procura a região com o prefixo de nome indicado (ou \"*\" para o âmbito global). Responde com \"-> region-name (parent-name) 'F'\"",
"repeater_cliHelpRegionGet": "Procura a região com o prefixo de nome indicado (ou \"*\" para o scope global). Responde com \"-> region-name (parent-name) 'F'\"",
"repeater_cliHelpRegionPut": "Adiciona ou atualiza a definição de uma região com o nome indicado.",
"repeater_cliHelpRegionRemove": "Remove a definição de uma região com o nome indicado. (tem de corresponder exatamente e não ter regiões filhas)",
"repeater_cliHelpRegionAllowf": "Define a permissão 'F'lood para a região indicada. ('*' para o âmbito global/legado)",
"repeater_cliHelpRegionDenyf": "Remove a permissão 'F'lood da região indicada. (NOTA: nesta fase NÃO é aconselhável usar isto no âmbito global/legado!!)",
"repeater_cliHelpRegionAllowf": "Define a permissão 'F'lood para a região indicada. ('*' para o scope global/legado)",
"repeater_cliHelpRegionDenyf": "Remove a permissão 'F'lood da região indicada. (NOTA: nesta fase NÃO é aconselhável usar isto no scope global/legado!!)",
"repeater_cliHelpRegionHome": "Responde com a região 'home' atual. (Ainda não aplicada em lado nenhum, reservada para o futuro)",
"repeater_cliHelpRegionHomeSet": "Define a região 'home'.",
"repeater_cliHelpRegionSave": "Guarda a lista/mapa de regiões no armazenamento.",
@@ -1238,15 +1238,15 @@
"repeater_cliRegionLoadHint": "Linha de região, ou vazia para terminar",
"repeater_cliRegionLoadEnd": "(fim do carregamento de regiões)",
"repeater_cliHelpRegionDef": "Define uma cadeia de regiões num só comando: cada nome é adicionado sob o anterior; \"name,parent\" adiciona o nome e depois continua sob o pai indicado. Responde com a lista de regiões.",
"repeater_cliHelpSetFloodMaxUnscoped": "Define o número máximo de hops para reencaminhar pacotes Flood sem âmbito de região (0-64).",
"repeater_cliHelpSetFloodMaxUnscoped": "Define o número máximo de hops para reencaminhar pacotes Flood sem scope de região (0-64).",
"repeater_cliHelpSetFloodMaxAdvert": "Define o número máximo de hops para reencaminhar anúncios Flood (0-64).",
"repeater_cliHelpGetFloodMaxUnscoped": "Mostra o número máximo de hops para pacotes Flood sem âmbito.",
"repeater_cliHelpGetFloodMaxUnscoped": "Mostra o número máximo de hops para pacotes Flood unscoped.",
"repeater_cliHelpGetFloodMaxAdvert": "Mostra o número máximo de hops para anúncios Flood.",
"repeater_cliHelpSetRadioFemRxGain": "Alterna o ganho RX (LNA) do módulo front-end LoRa. As placas sem um respondem \"Error: unsupported\".",
"repeater_cliHelpSetRadioFemTxGain": "Alterna o ganho TX (PA) do módulo front-end LoRa. As placas sem um respondem \"Error: unsupported\".",
"repeater_cliHelpGetRadioFemRxGain": "Mostra se o ganho RX do módulo front-end LoRa está ativo.",
"repeater_cliHelpGetRadioFemTxGain": "Mostra se o ganho TX do módulo front-end LoRa está ativo.",
"repeater_bridgeNote": "Só disponível em firmware compilado com bridge (RS232 ou ESP-NOW).",
"repeater_bridgeNote": "Só disponível em firmware compilado com ponte (RS232 ou ESP-NOW).",
"repeater_general": "Geral",
"repeater_settingsCategory": "Definições",
"repeater_bridge": "Ponte",
@@ -1272,13 +1272,13 @@
"repeater_cliHelpSetDutyCycle": "Define o duty cycle de transmissão máximo permitido, em percentagem (1-100). Ajusta internamente o fator de airtime.",
"repeater_cliHelpSetPrvKey": "Substitui a chave privada de identidade do dispositivo. É necessário reiniciar para aplicar. Gera uma nova chave pública.",
"repeater_cliHelpSetRadioRxGain": "(só SX126x) Alterna o ganho RX reforçado para maior sensibilidade com maior consumo de corrente.",
"repeater_cliHelpSetOwnerInfo": "Define a cadeia de contacto do proprietário incluída nos anúncios. Use '|' para novas linhas.",
"repeater_cliHelpSetOwnerInfo": "Define o texto de contacto do proprietário incluído nos anúncios. Use '|' para novas linhas.",
"repeater_cliHelpSetPathHashMode": "Define o tamanho do ID do nó usado nos anúncios deste repetidor: 0 = 1 byte (até 64 hops), 1 = 2 bytes (até 32 hops), 2 = 3 bytes (até 21 hops). 3 está reservado. Não afeta os tamanhos que são reencaminhados. Requer firmware v1.14+.",
"repeater_cliHelpSetLoopDetect": "Define a sensibilidade da deteção de ciclos de encaminhamento: off, minimal, moderate ou strict.",
"repeater_cliHelpSetFreq": "(Só série) Define rapidamente apenas a frequência. É necessário reiniciar. Prefira \"set radio\" para os parâmetros de rádio completos.",
"repeater_cliHelpSetBridgeChannel": "(só bridge ESPNow) Define o canal WiFi (1-14) usado pela bridge.",
"repeater_cliHelpSetBridgeChannel": "(só ponte ESPNow) Define o canal WiFi (1-14) usado pela ponte.",
"repeater_cliHelpGetName": "Mostra o nome do nó configurado.",
"repeater_cliHelpGetRole": "Mostra a função do firmware (Repetidor, Room Server, etc.).",
"repeater_cliHelpGetRole": "Mostra a função do firmware (Repetidor, Sala, etc.).",
"repeater_cliHelpGetPublicKey": "Mostra a chave pública do dispositivo.",
"repeater_cliHelpGetPrvKey": "(Só série) Mostra a chave privada do dispositivo. Trate-a como segredo.",
"repeater_cliHelpGetRepeat": "Mostra se o reencaminhamento de pacotes (função de repetidor) está ligado ou desligado.",
@@ -1301,16 +1301,16 @@
"repeater_cliHelpGetTxDelay": "Mostra o fator de txdelay do modo Flood.",
"repeater_cliHelpGetDirectTxDelay": "Mostra o fator de txdelay do modo direto.",
"repeater_cliHelpGetFloodMax": "Mostra o número máximo de hops Flood.",
"repeater_cliHelpGetOwnerInfo": "Mostra a cadeia de contacto do proprietário.",
"repeater_cliHelpGetOwnerInfo": "Mostra o texto de contacto do proprietário.",
"repeater_cliHelpGetPathHashMode": "Mostra o modo de tamanho do ID do nó usado nos anúncios (0 = 1 byte, 1 = 2 bytes, 2 = 3 bytes).",
"repeater_cliHelpGetLoopDetect": "Mostra a sensibilidade da deteção de ciclos.",
"repeater_cliHelpGetAcl": "(Só série) Lista as entradas de controlo de acesso de um repetidor.",
"repeater_cliHelpGetBridgeEnabled": "Mostra se a bridge está ativada.",
"repeater_cliHelpGetBridgeDelay": "Mostra o atraso da bridge em ms.",
"repeater_cliHelpGetBridgeSource": "Mostra se a bridge regista pacotes RX ou TX.",
"repeater_cliHelpGetBridgeBaud": "(só bridge RS232) Mostra o baud rate da bridge.",
"repeater_cliHelpGetBridgeChannel": "(só bridge ESPNow) Mostra o canal WiFi da bridge.",
"repeater_cliHelpGetBridgeSecret": "(só bridge ESPNow) Mostra o segredo partilhado da bridge.",
"repeater_cliHelpGetBridgeEnabled": "Mostra se a ponte está ativada.",
"repeater_cliHelpGetBridgeDelay": "Mostra o atraso da ponte em ms.",
"repeater_cliHelpGetBridgeSource": "Mostra se a ponte regista pacotes RX ou TX.",
"repeater_cliHelpGetBridgeBaud": "(só ponte RS232) Mostra o baud rate da ponte.",
"repeater_cliHelpGetBridgeChannel": "(só ponte ESPNow) Mostra o canal WiFi da ponte.",
"repeater_cliHelpGetBridgeSecret": "(só ponte ESPNow) Mostra o segredo partilhado da ponte.",
"repeater_cliHelpGetBootloaderVer": "(só NRF52) Mostra a versão do bootloader.",
"repeater_cliHelpGetAdcMultiplier": "Mostra o multiplicador do ADC (escala da tensão da bateria).",
"repeater_cliHelpGetPwrMgtSupport": "Indica se a placa tem suporte de gestão de energia.",
@@ -1320,8 +1320,8 @@
"repeater_cliHelpSensorGet": "Lê uma definição de sensor personalizada pela chave.",
"repeater_cliHelpSensorSet": "Escreve uma definição de sensor personalizada.",
"repeater_cliHelpSensorList": "Lista todas as definições de sensor personalizadas, paginadas a partir de um índice inicial opcional.",
"repeater_cliHelpRegionDefault": "Mostra o âmbito de região predefinido atual.",
"repeater_cliHelpRegionDefaultSet": "Define o âmbito de região predefinido. Use \"<null>\" para limpar.",
"repeater_cliHelpRegionDefault": "Mostra o scope de região predefinido atual.",
"repeater_cliHelpRegionDefaultSet": "Define o scope de região predefinido. Use \"<null>\" para limpar.",
"repeater_cliHelpRegionListAllowed": "Lista as regiões que permitem tráfego Flood.",
"repeater_cliHelpRegionListDenied": "Lista as regiões que negam tráfego Flood.",
"repeater_cliHelpStatsPackets": "(Só série) Mostra estatísticas ao nível dos pacotes.",
@@ -1441,7 +1441,7 @@
"community_manageCommunities": "Gerir comunidades",
"community_delete": "Sair da comunidade",
"community_deleteConfirm": "Sair de \"{name}\"?",
"community_deleteChannelsWarning": "Isto também elimina {count} canal(ais) e as respetivas mensagens.",
"community_deleteChannelsWarning": "Isto também elimina {count} canal/canais e as respetivas mensagens.",
"community_deleted": "Saiu da comunidade \"{name}\"",
"community_regenerateSecret": "Regenerar segredo",
"community_regenerateSecretConfirm": "Regenerar a chave secreta de \"{name}\"? Todos os membros terão de ler o novo código QR para continuar a comunicar.",
@@ -1454,9 +1454,9 @@
"community_addHashtagChannelDesc": "Adicionar um canal de hashtag para esta comunidade",
"community_selectCommunity": "Selecionar comunidade",
"community_regularHashtag": "Hashtag normal",
"community_regularHashtagDesc": "Hashtag público (qualquer pessoa pode entrar)",
"community_regularHashtagDesc": "Hashtag pública (qualquer pessoa pode entrar)",
"community_communityHashtag": "Hashtag da comunidade",
"community_communityHashtagDesc": "Privado para membros da comunidade",
"community_communityHashtagDesc": "Privada para membros da comunidade",
"community_forCommunity": "Para {name}",
"listFilter_tooltip": "Filtrar e ordenar",
"listFilter_sortBy": "Ordenar por",
@@ -1470,7 +1470,7 @@
"listFilter_removeFromFavorites": "Remover dos favoritos",
"listFilter_users": "Utilizadores",
"listFilter_repeaters": "Repetidores",
"listFilter_roomServers": "Servidores de sala",
"listFilter_roomServers": "Salas",
"listFilter_unreadOnly": "Só não lidas",
"listFilter_newGroup": "Novo grupo",
"pathTrace_you": "Eu",
@@ -1485,7 +1485,7 @@
"losRunToViewElevationProfile": "Execute o LOS para ver o perfil de elevação",
"losMenuTitle": "Menu LOS",
"losMenuSubtitle": "Toque nos nós ou prima longamente o mapa para pontos personalizados",
"losShowDisplayNodes": "Mostrar nós de visualização",
"losShowDisplayNodes": "Mostrar nós no mapa",
"losCustomPoints": "Pontos personalizados",
"losCustomPointLabel": "Personalizado {index}",
"losPointA": "Ponto A",
@@ -1522,8 +1522,8 @@
"contacts_ping": "Ping",
"contacts_repeaterPathTrace": "Trace do caminho até ao repetidor",
"contacts_repeaterPing": "Ping ao repetidor",
"contacts_roomPathTrace": "Trace do caminho até ao room server",
"contacts_roomPing": "Ping ao room server",
"contacts_roomPathTrace": "Trace do caminho até à sala",
"contacts_roomPing": "Ping à sala",
"contacts_chatTraceRoute": "Rota do trace do caminho",
"contacts_pathTraceTo": "Trace da rota para {name}",
"contacts_clipboardEmpty": "A área de transferência está vazia.",
@@ -1565,7 +1565,7 @@
"notification_receivedNewMessage": "Nova mensagem recebida",
"notification_sharedLocation": "Partilhou uma localização",
"notification_sharedLocationNamed": "Partilhou uma localização: {label}",
"notification_reacted": "Reagiu {emoji}",
"notification_reacted": "Reagiu com {emoji}",
"notification_sentGif": "Enviou um GIF",
"notification_sentImage": "Enviou uma imagem",
"notification_actionReply": "Responder",
@@ -1590,7 +1590,7 @@
"settings_gpxExportNoContacts": "Sem contactos para exportar.",
"settings_gpxExportNotAvailable": "Não suportado no seu dispositivo/SO",
"settings_gpxExportError": "Ocorreu um erro ao exportar.",
"settings_gpxExportRepeatersRoom": "Localizações de repetidores e room servers",
"settings_gpxExportRepeatersRoom": "Localizações de repetidores e salas",
"settings_gpxExportChat": "Localizações de companions",
"settings_gpxExportAllContacts": "Localizações de todos os contactos",
"settings_gpxExportShareText": "Dados do mapa exportados do meshcore-open",
@@ -1606,7 +1606,7 @@
"contactsSettings_otherTitle": "Limites das listas de contactos",
"contactsSettings_autoAddUsersTitle": "Utilizadores",
"contactsSettings_autoAddRepeatersTitle": "Repetidores",
"contactsSettings_autoAddRoomServersTitle": "Servidores de sala",
"contactsSettings_autoAddRoomServersTitle": "Salas",
"contactsSettings_autoAddSensorsTitle": "Sensores",
"contactsSettings_overwriteOldestTitle": "Substituir o mais antigo",
"contactsSettings_overwriteOldestSubtitle": "Quando a lista de contactos do rádio estiver cheia, substitui o contacto mais antigo que não seja favorito.",
@@ -1626,7 +1626,7 @@
"discoveredContacts_deleteContactAllContent": "Tem a certeza de que quer eliminar todos os contactos descobertos?",
"discoveredContacts_scan": "Procurar nós próximos",
"discoveredContacts_scanTitle": "Nós próximos",
"discoveredContacts_scanExplanation": "Pede aos nós ao alcance direto do rádio que se identifiquem. Repetidores e sensores respondem. Room servers e companions normalmente não.",
"discoveredContacts_scanExplanation": "Pede aos nós ao alcance direto do rádio que se identifiquem. Repetidores e sensores respondem. Salas e companions normalmente não.",
"discoveredContacts_scanning": "A procurar…",
"discoveredContacts_scanFound": "{count, plural, =1{1 nó encontrado} other{{count} nós encontrados}}",
"discoveredContacts_scanNoResults": "Nenhum nó respondeu. Os repetidores limitam a frequência das respostas, por isso tente novamente dentro de um minuto.",
@@ -1675,15 +1675,15 @@
"translation_enableTitle": "Ativar tradução",
"translation_enableSubtitle": "Traduz as mensagens recebidas e permite a tradução antes de enviar.",
"translation_composerTitle": "Traduzir antes de enviar",
"translation_composerSubtitle": "Controla o estado predefinido do ícone de tradução do compositor.",
"translation_composerSubtitle": "Controla o estado predefinido do ícone de tradução no campo de mensagem.",
"translation_autoIncomingTitle": "Traduzir mensagens recebidas automaticamente",
"translation_autoIncomingSubtitle": "Traduz automaticamente as mensagens nas notificações e nas conversas ou canais.",
"translation_translateMessage": "Traduzir mensagem",
"translation_targetLanguage": "Idioma de destino",
"translation_useAppLanguage": "Usar o idioma da app",
"translation_targetLanguage": "Língua de destino",
"translation_useAppLanguage": "Usar a língua da app",
"translation_downloadedModelLabel": "Modelo transferido",
"translation_presetModelLabel": "Modelo Hugging Face predefinido",
"translation_manualUrlLabel": "URL do modelo manual",
"translation_manualUrlLabel": "URL manual do modelo",
"translation_downloadModel": "Transferir modelo",
"translation_downloading": "A transferir...",
"translation_working": "A processar...",
@@ -1702,10 +1702,10 @@
"translation_messageTranslation": "Tradução de mensagens",
"translation_translateBeforeSending": "Traduzir antes de enviar",
"translation_composerEnabledHint": "As mensagens serão traduzidas antes de serem enviadas.",
"translation_composerDisabledHint": "Enviar mensagens no idioma original escrito.",
"translation_composerDisabledHint": "As mensagens são enviadas na língua em que foram escritas.",
"translation_translateTo": "Traduzir para {language}",
"translation_translationOptions": "Opções de tradução",
"translation_systemLanguage": "Idioma do sistema",
"translation_systemLanguage": "Língua do sistema",
"background_serviceTitle": "MeshCore em execução",
"background_serviceText": "A manter o BLE ligado",
"appSettings_translationModelDeleted": "{name} eliminado",
@@ -1797,7 +1797,7 @@
"receivedImage_incomplete": "Imagem incompleta — chegaram {received} de {total} pacotes",
"receivedImage_corrupt": "Não foi possível reconstruir a imagem",
"receivedImage_decoderMissing": "Imagem recebida — a descodificação de imagens está desativada",
"receivedImage_evicted": "Imagem já não guardada",
"receivedImage_evicted": "A imagem já não está guardada",
"receivedImage_retry": "Tentar novamente",
"receivedImage_decodeAgain": "Descodificar novamente",
"receivedImage_openSettings": "Configurar",
@@ -1826,8 +1826,8 @@
"repeater_valueRequired": "{field}: introduza um valor",
"repeater_floodMaxAdvert": "Máx. hops de flood de anúncios",
"repeater_floodMaxAdvertHelper": "Máximo de hops que um anúncio em flood pode percorrer (0-64, predefinição 8)",
"repeater_floodMaxUnscoped": "Máx. hops de flood sem âmbito",
"repeater_floodMaxUnscopedHelper": "Máximo de hops para floods sem âmbito de região (0-64, predefinição 64). Um valor baixo, como 3, mantém o tráfego sem âmbito local.",
"repeater_floodMaxUnscoped": "Máx. hops de flood unscoped",
"repeater_floodMaxUnscopedHelper": "Máximo de hops para floods sem scope de região (0-64, predefinição 64). Um valor baixo, como 3, mantém local o tráfego unscoped.",
"repeater_floodMaxUnscopedUnset": "Igual ao máx. de flood",
"repeater_rxDelay": "Atraso de receção",
"repeater_rxDelayHelper": "Retém pacotes flood ouvidos com sinal fraco antes de os reencaminhar, para que os caminhos de sinal forte passem primeiro e se enviem menos duplicados (0-20, 0 desativa).",
@@ -1998,7 +1998,7 @@
"networkMap_confirmed": "Confirmado",
"networkMap_singleSource": "Fonte única, ainda não confirmado",
"networkMap_reports": "Relatórios",
"networkMap_locationEstimated": "Localização aproximada, estimada por quem o ouviu",
"networkMap_locationEstimated": "Localização aproximada, estimada a partir de quem o ouviu",
"networkMap_locationAdvertised": "Localização aproximada, do seu próprio anúncio",
"networkMap_heardByRadio": "Ouvido pelo seu rádio",
"networkMap_inYourArea": "Na sua zona",
@@ -2043,7 +2043,7 @@
"messageFilter_repeatSends": "Envios para contar como repetição",
"messageFilter_repeatSendsSubtitle": "Oculta uma mensagem quando o mesmo remetente a envia {count} vezes em 10 minutos",
"messageFilter_repeatedCharacters": "Carateres repetidos",
"messageFilter_repeatedCharactersSubtitle": "Sequências longas do mesmo carater, como \"aaaaaaaaaaaaaaaaaaaa\"",
"messageFilter_repeatedCharactersSubtitle": "Sequências longas do mesmo caráter, como \"aaaaaaaaaaaaaaaaaaaa\"",
"messageFilter_learning": "Aprender com os toques em Spam",
"messageFilter_learningSubtitle": "{spam} exemplos de spam e {notSpam} de não spam",
"messageFilter_resetLearning": "Repor aprendizagem",
@@ -2083,16 +2083,16 @@
"connectSheet_reconnectFailed": "Não foi possível contactar {name}. Verifique se está ligado e por perto.",
"chat_composerOffline": "Ligue-se a um rádio para enviar mensagens",
"appSettings_directRetries": "Tentativas diretas: {count}",
"appSettings_directRetriesSubtitle": "Quantas vezes tentar um caminho conhecido. Continua disponível com a rotação automática de caminhos desligada.",
"appSettings_directRetriesSubtitle": "Quantas vezes tentar um caminho conhecido. Continua disponível com a rotação automática de rotas desligada.",
"appSettings_floodRetries": "Tentativas Flood: {count}",
"appSettings_floodRetriesSubtitle": "Quantas vezes usar Flood. Flood usa mais tempo de ar. Com a rotação ligada, vêm a seguir às tentativas diretas.",
"appSettings_loginAttempts": "Tentativas de início de sessão: {count}",
"appSettings_loginAttemptsSubtitle": "Quantas vezes tentar iniciar sessão num repetidor ou servidor de sala antes de desistir.",
"appSettings_floodRetriesSubtitle": "Quantas vezes usar Flood. O Flood usa mais airtime. Com a rotação ligada, vêm a seguir às tentativas diretas.",
"appSettings_loginAttempts": "Tentativas de login: {count}",
"appSettings_loginAttemptsSubtitle": "Quantas vezes tenta iniciar sessão num repetidor ou sala antes de desistir.",
"appSettings_repeatersAndRooms": "Repetidores e salas",
"appSettings_clockSyncAfterLogin": "Sincronizar o relógio do repetidor ao iniciar sessão",
"appSettings_clockSyncAfterLoginSubtitle": "Depois de iniciar sessão num repetidor, é enviado clock sync. Cada repetidor pode continuar a escolher Predefinição, Ligado ou Desligado.",
"appSettings_clockSyncAfterLoginSubtitle": "Depois de entrar num repetidor, o relógio é sincronizado. Cada repetidor pode continuar a escolher Predefinição, Ligado ou Desligado.",
"appSettings_loginPasswordAutofocus": "Focar o campo da palavra-passe",
"appSettings_loginPasswordAutofocusSubtitle": "Ao abrir o início de sessão de um repetidor ou sala, o cursor vai para a palavra-passe se estiver vazia. Desligado deixa o diálogo visível até tocar no campo.",
"appSettings_loginPasswordAutofocusSubtitle": "Ao entrar num repetidor ou sala, o campo da palavra-passe fica logo selecionado, se estiver vazio. Desligado deixa o diálogo visível até tocar no campo.",
"appSettings_resetRepeaterRoomSettings": "Repor definições de repetidores e salas",
"appSettings_resetRepeaterRoomSettingsSubtitle": "Repõe as definições desta secção. As escolhas guardadas em cada repetidor mantêm-se.",
"appSettings_repeaterRoomSettingsReset": "Definições de repetidores e salas repostas",
@@ -2156,8 +2156,8 @@
"chess_sendChallenge": "Enviar desafio",
"chess_postInvite": "Publicar convite",
"chess_gameGone": "Este jogo já não está disponível.",
"chess_playerYou": "{name} (você)",
"chess_toMoveChip": "Por jogar",
"chess_playerYou": "{name} (eu)",
"chess_toMoveChip": "Vez de jogar",
"chess_statusYourMove": "É a sua vez",
"chess_statusWaiting": "A aguardar {name}",
"chess_statusToMove": "Vez de {name}",
@@ -2209,7 +2209,7 @@
"chess_notifyGameStartedYourMove": "O seu jogo começou. Joga com as brancas, é a sua vez.",
"chess_notifyYourMove": "{name} jogou {move}. É a sua vez.",
"chess_notifyGameOver": "O seu jogo com {name} terminou",
"chess_notifyResigned": "{name} desistiu. Venceu.",
"chess_notifyResigned": "{name} desistiu. A vitória é sua.",
"chess_notifyDrawOffered": "{name} oferece empate",
"chess_notifyDrawAccepted": "{name} aceitou o empate",
"chess_notifyTimeout": "{name} reclamou vitória por tempo",
@@ -2268,7 +2268,7 @@
"addContact_nameRequired": "Introduza um nome",
"addContact_publicKeyHex": "Chave pública (hex)",
"addContact_publicKeyRequired": "Introduza uma chave pública",
"addContact_publicKeyInvalid": "A chave pública deve ter 64 caracteres hexadecimais (32 bytes)",
"addContact_publicKeyInvalid": "A chave pública deve ter 64 carateres hexadecimais (32 bytes)",
"addContact_clipboardKeyLoaded": "Chave pública preenchida. Escolha um tipo de contacto, introduza um nome e toque em guardar.",
"addContact_fromDiscovered": "Adicionar dos contactos descobertos",
"addContact_saveFailed": "Falha ao adicionar o contacto.",
+2 -4
View File
@@ -21,6 +21,7 @@ import '../widgets/app_bar.dart';
import '../widgets/mesh_ui.dart';
import '../widgets/path_map_scaffold.dart';
import '../widgets/quick_switch_bar.dart';
import '../widgets/sync_progress_overlay.dart';
import '../icons/los_icon.dart';
import '../theme/mesh_theme.dart';
@@ -440,10 +441,7 @@ class _LineOfSightMapScreenState extends State<LineOfSightMapScreen> {
left: 0,
right: 0,
top: 0,
child: LinearProgressIndicator(
color: LosPalette.selected,
backgroundColor: LosPalette.chartBackground,
),
child: const MeshProgressBar(),
),
],
),
+5 -6
View File
@@ -17,6 +17,7 @@ import '../widgets/mesh_nav_tile.dart';
import '../widgets/mesh_ui.dart';
import '../widgets/radio_disconnected_banner.dart';
import '../widgets/routing_sheet.dart';
import '../widgets/sync_progress_overlay.dart';
import '../utils/keys.dart';
import '../helpers/snack_bar_builder.dart';
@@ -889,12 +890,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
label: Text(l10n.common_save),
),
],
bottom: _loadingAll
? PreferredSize(
preferredSize: const Size.fromHeight(4),
child: LinearProgressIndicator(value: _loadAllProgress),
)
: null,
bottom: MeshProgressAppBarBottom(
active: _loadingAll,
value: _loadAllProgress,
),
),
body: MeshSettingsTileTheme(
child: SafeArea(
+27 -53
View File
@@ -7,6 +7,7 @@ import '../connector/meshcore_protocol.dart';
import '../l10n/l10n.dart';
import '../theme/mesh_theme.dart';
import '../helpers/snack_bar_builder.dart';
import '../widgets/confirm_clear_dialog.dart';
import '../widgets/mesh_nav_tile.dart';
import '../widgets/adaptive_app_bar_title.dart';
import '../widgets/mesh_ui.dart';
@@ -621,6 +622,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
MeshCoreConnector connector,
) {
final l10n = context.l10n;
final scheme = Theme.of(context).colorScheme;
final connected = connector.isConnected;
final offline = l10n.settings_requiresConnection;
return Column(
@@ -643,8 +645,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
icon: Icons.restart_alt,
title: l10n.settings_rebootDevice,
subtitle: connected ? l10n.settings_rebootDeviceSubtitle : offline,
titleColor: MeshPalette.warn,
iconColor: MeshPalette.warn,
titleColor: scheme.tertiary,
iconColor: scheme.tertiary,
onTap: connected ? () => _confirmReboot(context, connector) : null,
),
const Divider(height: 1, indent: 16),
@@ -652,8 +654,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
icon: Icons.delete_outline,
title: l10n.settings_deleteAllPaths,
subtitle: l10n.settings_deleteAllPathsSubtitle,
titleColor: MeshPalette.alert,
iconColor: MeshPalette.alert,
titleColor: scheme.error,
iconColor: scheme.error,
onTap: () => _confirmDeleteAllPaths(context, connector),
),
],
@@ -717,62 +719,34 @@ class _SettingsScreenState extends State<SettingsScreen> {
}
}
void _confirmDeleteAllPaths(
Future<void> _confirmDeleteAllPaths(
BuildContext context,
MeshCoreConnector connector,
) {
) async {
final l10n = context.l10n;
showDialog(
context: context,
builder: (context) => AlertDialog(
title: Text(l10n.settings_deleteAllPaths),
content: Text(l10n.settings_deleteAllPathsSubtitle),
actions: [
TextButton(
onPressed: () => Navigator.pop(context),
child: Text(l10n.common_cancel),
),
TextButton(
onPressed: () {
Navigator.pop(context);
connector.deleteAllPaths();
},
child: Text(
l10n.common_deleteAll,
style: TextStyle(color: Theme.of(context).colorScheme.error),
),
),
],
),
final confirmed = await showConfirmClearDialog(
context,
title: l10n.settings_deleteAllPaths,
message: l10n.settings_deleteAllPathsSubtitle,
confirmLabel: l10n.common_deleteAll,
);
if (confirmed) connector.deleteAllPaths();
}
void _confirmReboot(BuildContext context, MeshCoreConnector connector) {
Future<void> _confirmReboot(
BuildContext context,
MeshCoreConnector connector,
) async {
final l10n = context.l10n;
final screenContext = context;
showDialog(
context: context,
builder: (context) => AlertDialog(
title: Text(l10n.settings_rebootDevice),
content: Text(l10n.settings_rebootDeviceConfirm),
actions: [
TextButton(
onPressed: () => Navigator.pop(context),
child: Text(l10n.common_cancel),
),
TextButton(
onPressed: () {
Navigator.pop(context);
if (!_ensureConnected(screenContext, connector)) return;
connector.rebootDevice();
},
child: Text(
l10n.common_reboot,
style: TextStyle(color: Theme.of(context).colorScheme.tertiary),
),
),
],
),
final confirmed = await showConfirmClearDialog(
context,
title: l10n.settings_rebootDevice,
message: l10n.settings_rebootDeviceConfirm,
confirmLabel: l10n.common_reboot,
warning: true,
);
if (!confirmed || !context.mounted) return;
if (!_ensureConnected(context, connector)) return;
connector.rebootDevice();
}
}
+2 -4
View File
@@ -8,6 +8,7 @@ import '../helpers/snack_bar_builder.dart';
import '../l10n/l10n.dart';
import 'chat_day_separator.dart';
import 'empty_state.dart';
import 'sync_progress_overlay.dart';
/// Results list for "search in this chat". Loads the full history through
/// [loadEntries] (once, cached) and re-filters on each debounced [query].
@@ -86,10 +87,7 @@ class _ChatSearchResultsState extends State<ChatSearchResults> {
final showEmpty = !_loading && _results.isEmpty;
return Column(
children: [
SizedBox(
height: 3,
child: _loading ? const LinearProgressIndicator() : null,
),
MeshProgressBar(active: _loading),
if (!_loading && _results.isNotEmpty)
Padding(
padding: const EdgeInsets.fromLTRB(16, 10, 16, 6),
+25 -19
View File
@@ -2,34 +2,40 @@ import 'package:flutter/material.dart';
import '../l10n/l10n.dart';
/// Asks the user to confirm clearing a log or history. Resolves to true only
/// when the user taps Clear.
/// Asks the user to confirm a destructive action (Clear by default). Resolves
/// to true only when the user taps the confirm button. [warning] uses the
/// amber warning colour instead of red.
Future<bool> showConfirmClearDialog(
BuildContext context, {
required String title,
required String message,
String? confirmLabel,
bool warning = false,
}) async {
final l10n = context.l10n;
final confirmed = await showDialog<bool>(
context: context,
builder: (dialogContext) => AlertDialog(
title: Text(title),
content: Text(message),
actions: [
TextButton(
onPressed: () => Navigator.pop(dialogContext, false),
child: Text(l10n.common_cancel),
),
FilledButton(
onPressed: () => Navigator.pop(dialogContext, true),
style: FilledButton.styleFrom(
backgroundColor: Theme.of(dialogContext).colorScheme.error,
foregroundColor: Theme.of(dialogContext).colorScheme.onError,
builder: (dialogContext) {
final scheme = Theme.of(dialogContext).colorScheme;
return AlertDialog(
title: Text(title),
content: Text(message),
actions: [
TextButton(
onPressed: () => Navigator.pop(dialogContext, false),
child: Text(l10n.common_cancel),
),
child: Text(l10n.common_clear),
),
],
),
FilledButton(
onPressed: () => Navigator.pop(dialogContext, true),
style: FilledButton.styleFrom(
backgroundColor: warning ? scheme.tertiary : scheme.error,
foregroundColor: warning ? scheme.onTertiary : scheme.onError,
),
child: Text(confirmLabel ?? l10n.common_clear),
),
],
);
},
);
return confirmed == true;
}
+47 -25
View File
@@ -3,57 +3,79 @@ import 'package:provider/provider.dart';
import '../connector/meshcore_connector.dart';
/// The thin progress bar at the top of a screen or list: 4px, in the theme's
/// progress colour and track. Fills when [value] is known, moves when it is
/// null. While inactive it keeps its height, so the content doesn't jump.
class MeshProgressBar extends StatelessWidget {
static const double height = 4;
final bool active;
final double? value;
const MeshProgressBar({super.key, this.active = true, this.value});
@override
Widget build(BuildContext context) {
return SizedBox(
height: height,
child: active
? LinearProgressIndicator(value: value, minHeight: height)
: null,
);
}
}
/// [MeshProgressBar] as an app bar's `bottom`, for a screen's own task.
class MeshProgressAppBarBottom extends StatelessWidget
implements PreferredSizeWidget {
final bool active;
final double? value;
const MeshProgressAppBarBottom({super.key, this.active = true, this.value});
@override
Size get preferredSize => const Size.fromHeight(MeshProgressBar.height);
@override
Widget build(BuildContext context) =>
MeshProgressBar(active: active, value: value);
}
/// [MeshProgressBar] as an app bar's `bottom` for the app-wide syncs:
/// contacts, channels and queued messages, one at a time.
class SyncProgressAppBarBottom extends StatelessWidget
implements PreferredSizeWidget {
static const double height = 3;
const SyncProgressAppBarBottom({super.key});
@override
Size get preferredSize => const Size.fromHeight(height);
Size get preferredSize => const Size.fromHeight(MeshProgressBar.height);
@override
Widget build(BuildContext context) {
return Consumer<MeshCoreConnector>(
builder: (context, connector, _) {
final state = _SyncProgressState.fromConnector(connector);
if (state == null) return const SizedBox(height: height);
return SizedBox(
height: height,
child: LinearProgressIndicator(
value: state.value,
minHeight: height,
color: state.color,
backgroundColor: state.color.withValues(alpha: 0.18),
),
);
return MeshProgressBar(active: state != null, value: state?.value);
},
);
}
}
class _SyncProgressState {
/// Null while the progress is unknown.
final double? value;
final Color color;
const _SyncProgressState({required this.value, required this.color});
const _SyncProgressState({required this.value});
static _SyncProgressState? fromConnector(MeshCoreConnector connector) {
if (connector.isLoadingContacts) {
return _SyncProgressState(
value: connector.contactSyncProgress,
color: Colors.red,
);
return _SyncProgressState(value: connector.contactSyncProgress);
}
if (connector.isSyncingChannels) {
return _SyncProgressState(
value: connector.channelSyncProgress / 100,
color: Colors.blue,
);
return _SyncProgressState(value: connector.channelSyncProgress / 100);
}
if (connector.isShowingQueuedMessageSyncProgress) {
return const _SyncProgressState(value: null, color: Colors.green);
return const _SyncProgressState(value: null);
}
return null;
}
+49
View File
@@ -281,6 +281,55 @@ void main() {
await tester.pumpWidget(const SizedBox());
});
testWidgets('Reboot and Delete All Paths use theme colours and confirm', (
tester,
) async {
final connector = await _connectedConnector(tester);
Future<void> settle() async {
for (var i = 0; i < 8; i++) {
await tester.pump(const Duration(milliseconds: 100));
}
}
await tester.pumpWidget(_app(connector, const SettingsScreen()));
await settle();
final scheme = Theme.of(
tester.element(find.byType(SettingsScreen)),
).colorScheme;
final rows = {
_l10n.settings_rebootDevice: (_l10n.common_reboot, scheme.tertiary),
_l10n.settings_deleteAllPaths: (_l10n.common_deleteAll, scheme.error),
};
for (final MapEntry(key: title, value: (label, color)) in rows.entries) {
await tester.scrollUntilVisible(
find.text(title),
200,
scrollable: find
.descendant(
of: find.byType(ListView),
matching: find.byType(Scrollable),
)
.first,
);
await settle();
expect(tester.widget<Text>(find.text(title)).style?.color, color);
await tester.tap(find.text(title));
await settle();
final confirm = tester.widget<FilledButton>(
find.widgetWithText(FilledButton, label),
);
expect(confirm.style?.backgroundColor?.resolve({}), color, reason: title);
// Cancel, so the review radio isn't rebooted.
await tester.tap(find.text(_l10n.common_cancel));
await settle();
expect(find.byType(AlertDialog), findsNothing, reason: title);
}
await tester.pumpWidget(const SizedBox());
});
testWidgets('Radio Settings shows Save only while something differs', (
tester,
) async {
+35
View File
@@ -0,0 +1,35 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:meshcore_open/widgets/sync_progress_overlay.dart';
// The shared top progress bar: 4px, theme colours, keeps its height idle.
void main() {
Widget host(Widget child) => MaterialApp(
home: Scaffold(body: Column(children: [child])),
);
testWidgets('idle bar keeps its 4px height and draws nothing', (
tester,
) async {
await tester.pumpWidget(host(const MeshProgressBar(active: false)));
expect(tester.getSize(find.byType(MeshProgressBar)).height, 4);
expect(find.byType(LinearProgressIndicator), findsNothing);
});
testWidgets('active bar fills with the theme colour', (tester) async {
await tester.pumpWidget(host(const MeshProgressBar(value: 0.5)));
final bar = tester.widget<LinearProgressIndicator>(
find.byType(LinearProgressIndicator),
);
expect(bar.value, 0.5);
expect(bar.minHeight, 4);
expect(bar.color, isNull);
expect(bar.backgroundColor, isNull);
});
test('app bar versions are 4px tall', () {
expect(const MeshProgressAppBarBottom().preferredSize.height, 4);
expect(const SyncProgressAppBarBottom().preferredSize.height, 4);
});
}