mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
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:
@@ -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),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user