mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-31 21:00:15 +02:00
@@ -165,7 +165,10 @@ class _HomePageState extends State<HomePage> {
|
||||
return GeneratedFormModal(
|
||||
title: tr(
|
||||
'importX',
|
||||
args: [action == 'app' ? tr('app') : tr('appsString')],
|
||||
args: [
|
||||
(action == 'app' ? tr('app') : tr('appsString'))
|
||||
.toLowerCase(),
|
||||
],
|
||||
),
|
||||
items: const [],
|
||||
additionalWidgets: [
|
||||
@@ -192,7 +195,10 @@ class _HomePageState extends State<HomePage> {
|
||||
);
|
||||
// ignore: use_build_context_synchronously
|
||||
showMessage(
|
||||
tr('importedX', args: [plural('apps', result.key.length)]),
|
||||
tr(
|
||||
'importedX',
|
||||
args: [plural('apps', result.key.length).toLowerCase()],
|
||||
),
|
||||
context,
|
||||
);
|
||||
await appsProvider
|
||||
|
@@ -88,7 +88,10 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
.then((errors) {
|
||||
if (errors.isEmpty) {
|
||||
showMessage(
|
||||
tr('importedX', args: [plural('apps', urls.length)]),
|
||||
tr(
|
||||
'importedX',
|
||||
args: [plural('apps', urls.length).toLowerCase()],
|
||||
),
|
||||
context,
|
||||
);
|
||||
} else {
|
||||
@@ -159,7 +162,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
});
|
||||
appsProvider.addMissingCategories(settingsProvider);
|
||||
showMessage(
|
||||
'${tr('importedX', args: [plural('apps', value.key.length)])}${value.value ? ' + ${tr('settings')}' : ''}',
|
||||
'${tr('importedX', args: [plural('apps', value.key.length).toLowerCase()])}${value.value ? ' + ${tr('settings').toLowerCase()}' : ''}',
|
||||
context,
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user