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", "widgetTitle": "App info",
"openButton": "Open", "openButton": "Open",
"uninstallButton": "Uninstall", "uninstallButton": "Uninstall",
"unpatchButton": "Unpatch", "unmountButton": "Unmount",
"rootDialogTitle": "Error", "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?", "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.", "rootDialogText": "App was installed with superuser permissions, but currently ReVanced Manager has no permissions.\nPlease grant superuser permissions first.",
"packageNameLabel": "Package name", "packageNameLabel": "Package name",
"installTypeLabel": "Installation type", "installTypeLabel": "Installation type",
"rootTypeLabel": "Root", "mountTypeLabel": "Mount",
"nonRootTypeLabel": "Non-root", "regularTypeLabel": "Regular",
"patchedDateLabel": "Patched date", "patchedDateLabel": "Patched date",
"appliedPatchesLabel": "Applied patches", "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_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_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_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.", "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), const SizedBox(height: 10),
I18nText( I18nText(
'appInfoView.unpatchButton', 'appInfoView.unmountButton',
child: Text( child: Text(
'', '',
style: TextStyle( style: TextStyle(
@ -236,8 +236,8 @@ class AppInfoView extends StatelessWidget {
), ),
), ),
subtitle: app.isRooted subtitle: app.isRooted
? I18nText('appInfoView.rootTypeLabel') ? I18nText('appInfoView.mountTypeLabel')
: I18nText('appInfoView.nonRootTypeLabel'), : I18nText('appInfoView.regularTypeLabel'),
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
ListTile( ListTile(

View File

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