Make some English strings sentence case (#2338)

This commit is contained in:
Imran Remtulla
2025-07-02 20:40:09 -04:00
parent 0f803b963f
commit cdff0613b3
4 changed files with 17 additions and 8 deletions

View File

@@ -312,7 +312,10 @@ class AddAppPageState extends State<AddAppPage> {
context: context,
builder: (BuildContext ctx) {
return SelectionModal(
title: tr('selectX', args: [plural('source', 2)]),
title: tr(
'selectX',
args: [plural('source', 2).toLowerCase()],
),
entries: sourceStrings,
selectedByDefault: true,
onlyOneSelectionAllowed: false,

View File

@@ -272,7 +272,9 @@ class _ImportExportPageState extends State<ImportExportPage> {
showMessage(
tr(
'importedX',
args: [plural('apps', selectedUrls.length)],
args: [
plural('apps', selectedUrls.length).toLowerCase(),
],
),
context,
);
@@ -339,7 +341,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
showMessage(
tr(
'importedX',
args: [plural('apps', selectedUrls.length)],
args: [plural('apps', selectedUrls.length).toLowerCase()],
),
context,
);
@@ -512,7 +514,11 @@ class _ImportExportPageState extends State<ImportExportPage> {
return SelectionModal(
title: tr(
'selectX',
args: [tr('source')],
args: [
tr(
'source',
).toLowerCase(),
],
),
entries: sourceStrings,
selectedByDefault: false,

View File

@@ -138,7 +138,7 @@ class _SettingsPageState extends State<SettingsPage> {
ColorPickerType.wheel: tr('custom'),
},
title: Text(
tr('selectX', args: [tr('colour')]),
tr('selectX', args: [tr('colour').toLowerCase()]),
style: Theme.of(context).textTheme.titleLarge,
),
wheelDiameter: 192,
@@ -180,7 +180,7 @@ class _SettingsPageState extends State<SettingsPage> {
var colorPicker = ListTile(
dense: true,
contentPadding: EdgeInsets.zero,
title: Text(tr('selectX', args: [tr('colour')])),
title: Text(tr('selectX', args: [tr('colour').toLowerCase()])),
subtitle: Text(
"${ColorTools.nameThatColor(settingsProvider.themeColor)} "
"(${ColorTools.materialNameAndCode(settingsProvider.themeColor, colorSwatchNameMap: colorsNameMap)})",