fix: Locale unlocalized strings

This commit is contained in:
Christian Kußowski 2026-01-12 10:29:33 +01:00
commit dba2d2eb98
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 36 additions and 10 deletions

View file

@ -52,7 +52,7 @@ abstract class PlatformInfos {
showAboutDialog(
context: context,
children: [
Text('Version: $version'),
Text(L10n.of(context).versionWithNumber(version)),
TextButton.icon(
onPressed: () => launchUrlString(AppConfig.sourceCodeUrl),
icon: const Icon(Icons.source_outlined),
@ -66,7 +66,7 @@ abstract class PlatformInfos {
Navigator.of(innerContext).pop();
},
icon: const Icon(Icons.list_outlined),
label: const Text('Logs'),
label: Text(L10n.of(context).logs),
);
},
),
@ -78,7 +78,7 @@ abstract class PlatformInfos {
Navigator.of(innerContext).pop();
},
icon: const Icon(Icons.settings_applications_outlined),
label: const Text('Advanced Configs'),
label: Text(L10n.of(context).advancedConfigs),
);
},
),