i18n: Add 247 missing translation keys across all 13 languages

Replace hardcoded English strings in 32 Dart source files with l10n
references. Covers settings labels, UI actions, map/SAR features,
device config, notifications, profiles, spectrum scan, and status
messages for sl, de, hr, pl, es, fr, it, el, ru, tr, uk, zh, pt.
This commit is contained in:
Janez T
2026-03-17 10:36:58 +01:00
parent bbd5d108cb
commit fa2b586ab7
70 changed files with 16366 additions and 742 deletions

View File

@@ -1090,7 +1090,7 @@ class SensorTelemetryCard extends StatelessWidget {
),
),
if (state == SensorRefreshState.timeout)
const _InlineAlertBadge(label: 'No response'),
_InlineAlertBadge(label: l10n.noResponse),
],
),
if (telemetry != null) ...[
@@ -1107,8 +1107,8 @@ class SensorTelemetryCard extends StatelessWidget {
),
),
if (state == SensorRefreshState.refreshing)
const _InlineStateMeta(
label: 'Refreshing',
_InlineStateMeta(
label: l10n.refreshing,
color: Color(0xFF266AC2),
spinning: true,
),
@@ -1119,8 +1119,8 @@ class SensorTelemetryCard extends StatelessWidget {
icon: Icons.check_circle,
),
if (state == SensorRefreshState.unavailable)
const _InlineStateMeta(
label: 'Unavailable',
_InlineStateMeta(
label: l10n.unavailable,
color: Color(0xFFB13B55),
icon: Icons.error_outline,
),
@@ -1153,17 +1153,17 @@ class SensorTelemetryCard extends StatelessWidget {
}
if (onCustomize != null) {
items.add(
const PopupMenuItem<String>(
PopupMenuItem<String>(
value: 'customize',
child: Text('Customize fields'),
child: Text(l10n.customizeFields),
),
);
}
if (onRemove != null) {
items.add(
const PopupMenuItem<String>(
PopupMenuItem<String>(
value: 'remove',
child: Text('Remove'),
child: Text(l10n.remove),
),
);
}