UI refresh: shared widgets, screen cleanups, and full translations
- Extract reusable widgets (chat composer/send pipeline, message bubble frame, reaction chips, path map scaffold, radio settings dialog, translation settings section, map POI clusters, nav tiles, etc.) and slim down the screens that used them - Map: hide/remove markers with restore, confirm before setting node location, POI clustering, semantics labels - Map cache: cancellable downloads and a bulk tile limit - Repeater: unsaved-changes guard, CLI search/copy/share transcript, framed-command debug preview, disconnected banner - Confirm before clearing chats and debug logs - Keep cached unread totals in sync on per-contact/channel updates - Move remaining hardcoded strings into l10n and translate the 98 new keys into all 17 non-English locales
This commit is contained in:
1 parent
9609a8231d
commit
88dcc5943f
100 files changed
+19778
-8167
No files matched your search
+140
-1
@@ -3304,5 +3304,144 @@
|
||||
"qr_cameraStartFailed": "Failed to start camera.\n{details}",
|
||||
"@qr_cameraStartFailed": {"placeholders": {"details": {"type": "String"}}},
|
||||
"imageMessages_downloadFailedWithError": "The image model could not be downloaded: {error}",
|
||||
"@imageMessages_downloadFailedWithError": {"placeholders": {"error": {"type": "String"}}}
|
||||
"@imageMessages_downloadFailedWithError": {"placeholders": {"error": {"type": "String"}}},
|
||||
"map_nodeId": "ID",
|
||||
"map_markerHideHint": "Hide: hidden until you leave the map.",
|
||||
"map_markerRemoveHint": "Remove: stays hidden until you restore it from the filter menu.",
|
||||
"map_markerRemoved": "Marker removed",
|
||||
"map_restoreRemovedMarkers": "Restore removed markers",
|
||||
"map_restoreRemovedMarkersSubtitle": "{count} removed",
|
||||
"@map_restoreRemovedMarkersSubtitle": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_markersRestored": "Restored {count} markers",
|
||||
"@map_markersRestored": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_setLocationConfirmTitle": "Set as your location?",
|
||||
"map_setLocationConfirmBody": "Your node will advertise this position:\n{lat}, {lon}",
|
||||
"@map_setLocationConfirmBody": {"placeholders": {"lat": {"type": "String"}, "lon": {"type": "String"}}},
|
||||
"map_setLocationAction": "Set location",
|
||||
"map_locationSetSuccess": "Node location updated",
|
||||
"map_locationSetFailed": "The device did not confirm the new location. Try again.",
|
||||
"map_poiClusterTitle": "{count} markers here",
|
||||
"@map_poiClusterTitle": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_poiClusterSemantics": "{count} shared markers. Tap to list them.",
|
||||
"@map_poiClusterSemantics": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_youWithMarkers": "You and {count} markers",
|
||||
"@map_youWithMarkers": {"placeholders": {"count": {"type": "int"}}},
|
||||
"map_sharedMarkerSemantics": "Shared marker: {label}",
|
||||
"@map_sharedMarkerSemantics": {"placeholders": {"label": {"type": "String"}}},
|
||||
"map_nodeMarkerSemantics": "{name}, {type}, {status}",
|
||||
"@map_nodeMarkerSemantics": {"placeholders": {"name": {"type": "String"}, "type": {"type": "String"}, "status": {"type": "String"}}},
|
||||
"mapCache_zoomLevel": "Zoom {zoom}",
|
||||
"@mapCache_zoomLevel": {"placeholders": {"zoom": {"type": "int"}}},
|
||||
"mapCache_sizeBytes": "{size} B",
|
||||
"@mapCache_sizeBytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_sizeKilobytes": "{size} KB",
|
||||
"@mapCache_sizeKilobytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_sizeMegabytes": "{size} MB",
|
||||
"@mapCache_sizeMegabytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_sizeGigabytes": "{size} GB",
|
||||
"@mapCache_sizeGigabytes": {"placeholders": {"size": {"type": "String"}}},
|
||||
"mapCache_downloadCancelled": "Download cancelled. Cached {count} tiles.",
|
||||
"@mapCache_downloadCancelled": {"placeholders": {"count": {"type": "int"}}},
|
||||
"mapCache_tooManyTilesTitle": "Area too large",
|
||||
"mapCache_tooManyTiles": "This area needs {count} tiles, more than the limit of {max}. Pick a smaller area or lower the maximum zoom.",
|
||||
"@mapCache_tooManyTiles": {"placeholders": {"count": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"chat_clearChatConfirm": "This erases every message in this conversation from this device. It cannot be undone.",
|
||||
"channels_clearChatConfirm": "This erases every message in this channel from this device, including received images. It cannot be undone.",
|
||||
"channels_timeNow": "now",
|
||||
"channels_timeMinutes": "{minutes}m",
|
||||
"@channels_timeMinutes": {"placeholders": {"minutes": {"type": "int"}}},
|
||||
"channels_timeHours": "{hours}h",
|
||||
"@channels_timeHours": {"placeholders": {"hours": {"type": "int"}}},
|
||||
"channels_timeDays": "{days}d",
|
||||
"@channels_timeDays": {"placeholders": {"days": {"type": "int"}}},
|
||||
"channels_indexChip": "CH {index}",
|
||||
"@channels_indexChip": {"placeholders": {"index": {"type": "int"}}},
|
||||
"reaction_unknownSender": "Unknown",
|
||||
"pathMap_noSelfGpsFix": "Local node has no GPS fix",
|
||||
"pathTrace_sendFailed": "Could not send the path trace: {error}",
|
||||
"@pathTrace_sendFailed": {"placeholders": {"error": {"type": "String"}}},
|
||||
"losErrorNoInternet": "Elevation data needs an internet connection",
|
||||
"losResultStale": "Out of date: antenna height changed",
|
||||
"losSnrValue": "{snr} dB",
|
||||
"@losSnrValue": {"placeholders": {"snr": {"type": "String"}}},
|
||||
"losFrequencyValue": "{frequency} MHz",
|
||||
"@losFrequencyValue": {"placeholders": {"frequency": {"type": "String"}}},
|
||||
"losKFactorValue": "k={kFactor}",
|
||||
"@losKFactorValue": {"placeholders": {"kFactor": {"type": "String"}}},
|
||||
"losEndpointA": "A",
|
||||
"losEndpointB": "B",
|
||||
"units_km": "km",
|
||||
"units_mi": "mi",
|
||||
"units_m": "m",
|
||||
"units_ft": "ft",
|
||||
"telemetry_loading": "Loading telemetry…",
|
||||
"telemetry_axisValue": "X: {x}, Y: {y}, Z: {z}",
|
||||
"@telemetry_axisValue": {"placeholders": {"x": {"type": "String"}, "y": {"type": "String"}, "z": {"type": "String"}}},
|
||||
"telemetry_colourValue": "R: {red}, G: {green}, B: {blue}",
|
||||
"@telemetry_colourValue": {"placeholders": {"red": {"type": "String"}, "green": {"type": "String"}, "blue": {"type": "String"}}},
|
||||
"telemetry_altitudeValueFeet": "{feet} ft",
|
||||
"@telemetry_altitudeValueFeet": {"placeholders": {"feet": {"type": "String"}}},
|
||||
"telemetry_distanceValueFeet": "{feet} ft",
|
||||
"@telemetry_distanceValueFeet": {"placeholders": {"feet": {"type": "String"}}},
|
||||
"settings_notConnectedError": "Not connected to a radio. Connect and try again.",
|
||||
"settings_requiresConnection": "Connect to a radio to use this",
|
||||
"settings_txPowerInvalidRange": "Invalid TX power ({min} to {max} dBm)",
|
||||
"@settings_txPowerInvalidRange": {"placeholders": {"min": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"settings_contactSettingsSaved": "Contact settings saved",
|
||||
"settings_batteryToggleHint": "Tap to switch between percent and voltage",
|
||||
"settings_publicKeyCopyHint": "Copy public key",
|
||||
"settings_locationClearHelper": "Leave both fields empty to remove your location.",
|
||||
"settings_locationCleared": "Location removed",
|
||||
"settings_regionFetchDiscovering": "Looking for nearby repeaters…",
|
||||
"settings_regionFetchProgress": "Asking repeater {current} of {total}…",
|
||||
"@settings_regionFetchProgress": {"placeholders": {"current": {"type": "int"}, "total": {"type": "int"}}},
|
||||
"settings_regionFetchNoRepeaters": "No repeaters are known yet. Add a repeater as a contact or wait for one to advertise, then try again.",
|
||||
"settings_regionFetchNoneResponded": "No nearby repeaters answered. Move closer to a repeater and try again.",
|
||||
"appSettings_sourceSummary": "{label} - {description}",
|
||||
"@appSettings_sourceSummary": {"placeholders": {"label": {"type": "String"}, "description": {"type": "String"}}},
|
||||
"appSettings_routingSection": "Routing",
|
||||
"appSettings_imageMessagesSection": "Image messages",
|
||||
"appSettings_showApiKey": "Show API key",
|
||||
"appSettings_hideApiKey": "Hide API key",
|
||||
"translation_defaultModelName": "Model",
|
||||
"translation_downloadProgressBytes": "{fileName}: {current} MB",
|
||||
"@translation_downloadProgressBytes": {"placeholders": {"fileName": {"type": "String"}, "current": {"type": "String"}}},
|
||||
"translation_downloadProgressTotal": "{fileName}: {current} / {total} MB ({percent}%)",
|
||||
"@translation_downloadProgressTotal": {"placeholders": {"fileName": {"type": "String"}, "current": {"type": "String"}, "total": {"type": "String"}, "percent": {"type": "String"}}},
|
||||
"translation_downloadedModelDetails": "{size} MB • {source}",
|
||||
"@translation_downloadedModelDetails": {"placeholders": {"size": {"type": "String"}, "source": {"type": "String"}}},
|
||||
"repeater_radioDisconnected": "Radio disconnected",
|
||||
"repeater_radioDisconnectedHint": "Reconnect to your radio to send commands, refresh or save changes.",
|
||||
"repeater_cliSend": "Send command",
|
||||
"repeater_cliCopyTranscript": "Copy transcript",
|
||||
"repeater_cliShareTranscript": "Share transcript",
|
||||
"repeater_cliTranscriptCopied": "Transcript copied",
|
||||
"repeater_cliClearHistoryConfirm": "Clear the command history? This cannot be undone.",
|
||||
"repeater_cliSearchCommands": "Search commands",
|
||||
"repeater_cliNoMatchingCommands": "No matching commands",
|
||||
"debugLog_clearConfirm": "Clear all log entries? This cannot be undone.",
|
||||
"repeater_unsavedChangesTitle": "Unsaved changes",
|
||||
"repeater_unsavedChangesMessage": "You have changes that haven't been saved to the repeater.",
|
||||
"repeater_discardChanges": "Discard",
|
||||
"repeater_actionSentNoReply": "{action}: command sent. The repeater does not reply to this command.",
|
||||
"@repeater_actionSentNoReply": {"placeholders": {"action": {"type": "String"}}},
|
||||
"repeater_invalidSettingValue": "{setting}: {value} is not valid",
|
||||
"@repeater_invalidSettingValue": {"placeholders": {"setting": {"type": "String"}, "value": {"type": "String"}}},
|
||||
"repeater_txPowerOutOfRange": "TX power {value} is out of range ({min} to {max} dBm)",
|
||||
"@repeater_txPowerOutOfRange": {"placeholders": {"value": {"type": "String"}, "min": {"type": "int"}, "max": {"type": "int"}}},
|
||||
"repeater_prvKeyLengthError": "Private key must be exactly {length} hex characters",
|
||||
"@repeater_prvKeyLengthError": {"placeholders": {"length": {"type": "int"}}},
|
||||
"contacts_advertFailed": "Couldn't send advertisement",
|
||||
"contacts_manageGroups": "Manage groups",
|
||||
"community_shortId": "ID: {id}…",
|
||||
"@community_shortId": {"placeholders": {"id": {"type": "String"}}},
|
||||
"tcpSectionTitle": "TCP / IP",
|
||||
"tcpConnectedToHeader": "Connected to",
|
||||
"usbChooseSerialPort": "Choose serial port",
|
||||
"neighbors_durationSeconds": "{seconds}s",
|
||||
"@neighbors_durationSeconds": {"placeholders": {"seconds": {"type": "String"}}},
|
||||
"neighbors_durationMinutes": "{minutes}m {seconds}s",
|
||||
"@neighbors_durationMinutes": {"placeholders": {"minutes": {"type": "int"}, "seconds": {"type": "String"}}},
|
||||
"neighbors_durationHours": "{hours}h {minutes}m",
|
||||
"@neighbors_durationHours": {"placeholders": {"hours": {"type": "int"}, "minutes": {"type": "int"}}}
|
||||
}
|
||||
Reference in new issue
Block a user