chore: add missing translations

This commit is contained in:
Aunali321 2023-04-20 23:53:24 +05:30
parent cdfb09fbfa
commit d6918920b6
2 changed files with 22 additions and 13 deletions

View file

@ -73,9 +73,12 @@
"appSelectorView": {
"viewTitle": "Select an application",
"searchBarHint": "Search applications",
"selectFromStorageButton": "Select from storage",
"storageButton": "Storage",
"errorMessage": "Unable to use selected application",
"downloadToast": "Download function is not available yet"
"downloadToast": "Download function is not available yet",
"featureNotAvailable": "Feature not implemented",
"featureNotAvailableText": "This feature has not been added yet for non-root. You'll need to select APK files from storage for now."
},
"patchesSelectorView": {
"viewTitle": "Select patches",

View file

@ -93,20 +93,26 @@ class AppSelectorViewModel extends BaseViewModel {
color: Theme.of(context).colorScheme.primary,
),
const SizedBox(height: 20),
const Text(
'Feature not yet implented',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.w600,
wordSpacing: 1.5,
I18nText(
'appSelectorView.featureNotAvailable',
child: const Text(
'',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.w600,
wordSpacing: 1.5,
),
),
),
const SizedBox(height: 20),
const Text(
"This feature has not been added yet for non-root. You'll need to select APK files from storage for now.",
style: TextStyle(
fontSize: 14,
I18nText(
'appSelectorView.featureNotAvailableText',
child: const Text(
'',
style: TextStyle(
fontSize: 14,
),
),
),
const SizedBox(height: 30),
@ -122,7 +128,7 @@ class AppSelectorViewModel extends BaseViewModel {
children: [
const Icon(Icons.sd_card),
const SizedBox(width: 10),
I18nText('Select from storage'),
I18nText('appSelectorView.selectFromStorageButton'),
],
),
),