mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-30 22:14:25 +02:00
chore: add missing translations
This commit is contained in:
parent
cdfb09fbfa
commit
d6918920b6
@ -73,9 +73,12 @@
|
|||||||
"appSelectorView": {
|
"appSelectorView": {
|
||||||
"viewTitle": "Select an application",
|
"viewTitle": "Select an application",
|
||||||
"searchBarHint": "Search applications",
|
"searchBarHint": "Search applications",
|
||||||
|
"selectFromStorageButton": "Select from storage",
|
||||||
"storageButton": "Storage",
|
"storageButton": "Storage",
|
||||||
"errorMessage": "Unable to use selected application",
|
"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": {
|
"patchesSelectorView": {
|
||||||
"viewTitle": "Select patches",
|
"viewTitle": "Select patches",
|
||||||
|
@ -93,8 +93,10 @@ class AppSelectorViewModel extends BaseViewModel {
|
|||||||
color: Theme.of(context).colorScheme.primary,
|
color: Theme.of(context).colorScheme.primary,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
const Text(
|
I18nText(
|
||||||
'Feature not yet implented',
|
'appSelectorView.featureNotAvailable',
|
||||||
|
child: const Text(
|
||||||
|
'',
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
@ -102,13 +104,17 @@ class AppSelectorViewModel extends BaseViewModel {
|
|||||||
wordSpacing: 1.5,
|
wordSpacing: 1.5,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
const Text(
|
I18nText(
|
||||||
"This feature has not been added yet for non-root. You'll need to select APK files from storage for now.",
|
'appSelectorView.featureNotAvailableText',
|
||||||
|
child: const Text(
|
||||||
|
'',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
const SizedBox(height: 30),
|
const SizedBox(height: 30),
|
||||||
CustomMaterialButton(
|
CustomMaterialButton(
|
||||||
onPressed: () => selectAppFromStorage(context).then(
|
onPressed: () => selectAppFromStorage(context).then(
|
||||||
@ -122,7 +128,7 @@ class AppSelectorViewModel extends BaseViewModel {
|
|||||||
children: [
|
children: [
|
||||||
const Icon(Icons.sd_card),
|
const Icon(Icons.sd_card),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
I18nText('Select from storage'),
|
I18nText('appSelectorView.selectFromStorageButton'),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user