Minor language-specific case tweaks (#2396)

This commit is contained in:
Imran Remtulla
2025-08-01 17:59:15 -04:00
parent 89d853a948
commit 3e73156f78
6 changed files with 16 additions and 6 deletions

View File

@@ -232,7 +232,10 @@ class _AppPageState extends State<AppPage> {
: const EdgeInsetsDirectional.fromSTEB(0, 6, 0, 6),
margin: const EdgeInsetsDirectional.fromSTEB(0, 6, 0, 0),
child: Text(
tr('downloadX', args: [tr('releaseAsset').toLowerCase()]),
tr(
'downloadX',
args: [lowerCaseIfEnglish(tr('releaseAsset'))],
),
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.labelSmall!.copyWith(
decoration: TextDecoration.underline,

View File

@@ -1072,7 +1072,10 @@ class AppsPageState extends State<AppsPage> {
Navigator.of(context).pop();
},
child: Text(
tr('downloadX', args: [tr('releaseAsset').toLowerCase()]),
tr(
'downloadX',
args: [lowerCaseIfEnglish(tr('releaseAsset'))],
),
),
),
const Divider(),

View File

@@ -545,7 +545,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
child: Text(
tr(
'searchX',
args: [tr('source').toLowerCase()],
args: [lowerCaseIfEnglish(tr('source'))],
),
),
),