fix: Use correct installation type labels

This commit is contained in:
oSumAtrIX 2023-12-23 22:07:08 +01:00
parent 7426f5484d
commit 1928b150ad
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
3 changed files with 10 additions and 10 deletions

View file

@ -304,17 +304,17 @@
"widgetTitle": "App info",
"openButton": "Open",
"uninstallButton": "Uninstall",
"unpatchButton": "Unpatch",
"unmountButton": "Unmount",
"rootDialogTitle": "Error",
"unpatchDialogText": "Are you sure you want to unpatch this app?",
"unmountDialogText": "Are you sure you want to unmount this app?",
"uninstallDialogText": "Are you sure you want to uninstall this app?",
"rootDialogText": "App was installed with superuser permissions, but currently ReVanced Manager has no permissions.\nPlease grant superuser permissions first.",
"packageNameLabel": "Package name",
"installTypeLabel": "Installation type",
"rootTypeLabel": "Root",
"nonRootTypeLabel": "Non-root",
"mountTypeLabel": "Mount",
"regularTypeLabel": "Regular",
"patchedDateLabel": "Patched date",
"appliedPatchesLabel": "Applied patches",
@ -348,7 +348,7 @@
"mount_version_mismatch_description": "The installation failed due to the installed app being a different version than the patched app.\n\nInstall the version of the app you are mounting and try again.",
"mount_no_root_description": "The installation failed due to root access not being granted.\n\nGrant root access to ReVanced Manager and try again.",
"mount_missing_installation_description": "The installation failed due to the unpatched app not being installed on this device.\n\nInstall the app and try again.",
"mount_missing_installation_description": "The installation failed due to the unpatched app not being installed on this device in order to mount over it.\n\nInstall the unpatched app before mounting and try again.",
"status_failure_timeout_description": "The installation took too long to finish.\n\nWould you like to try again?",
"status_failure_storage_description": "The installation failed due to insufficient storage.\n\nFree up some space and try again.",

View file

@ -184,7 +184,7 @@ class AppInfoView extends StatelessWidget {
),
const SizedBox(height: 10),
I18nText(
'appInfoView.unpatchButton',
'appInfoView.unmountButton',
child: Text(
'',
style: TextStyle(
@ -236,8 +236,8 @@ class AppInfoView extends StatelessWidget {
),
),
subtitle: app.isRooted
? I18nText('appInfoView.rootTypeLabel')
: I18nText('appInfoView.nonRootTypeLabel'),
? I18nText('appInfoView.mountTypeLabel')
: I18nText('appInfoView.regularTypeLabel'),
),
const SizedBox(height: 4),
ListTile(

View file

@ -80,10 +80,10 @@ class AppInfoViewModel extends BaseViewModel {
context: context,
builder: (context) => AlertDialog(
title: I18nText(
'appInfoView.unpatchButton',
'appInfoView.unmountButton',
),
content: I18nText(
'appInfoView.unpatchDialogText',
'appInfoView.unmountDialogText',
),
actions: <Widget>[
TextButton(