fix: Locale unlocalized strings
This commit is contained in:
parent
c43c721f7f
commit
dba2d2eb98
5 changed files with 36 additions and 10 deletions
|
|
@ -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),
|
||||
);
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue