mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-22 02:13:47 +02:00
Minor language-specific case tweaks (#2396)
This commit is contained in:
@@ -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,
|
||||
|
@@ -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(),
|
||||
|
@@ -545,7 +545,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
child: Text(
|
||||
tr(
|
||||
'searchX',
|
||||
args: [tr('source').toLowerCase()],
|
||||
args: [lowerCaseIfEnglish(tr('source'))],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user