refactor: Remove unused strings (#2010)

This commit is contained in:
kitadai31 2024-07-11 13:28:02 +09:00 committed by GitHub
parent a28d77bc65
commit 1bdb820aed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 28 deletions

View File

@ -4,14 +4,10 @@
"dismissButton": "Dismiss", "dismissButton": "Dismiss",
"quitButton": "Quit", "quitButton": "Quit",
"updateButton": "Update", "updateButton": "Update",
"enabledLabel": "Enabled",
"disabledLabel": "Disabled",
"installed": "Installed: ${version}",
"suggested": "Suggested: ${version}", "suggested": "Suggested: ${version}",
"yesButton": "Yes", "yesButton": "Yes",
"noButton": "No", "noButton": "No",
"warning": "Warning", "warning": "Warning",
"options": "Options",
"notice": "Notice", "notice": "Notice",
"noShowAgain": "Don't show this again", "noShowAgain": "Don't show this again",
"add": "Add", "add": "Add",
@ -30,8 +26,6 @@
"lastPatchedAppSubtitle": "Last patched app", "lastPatchedAppSubtitle": "Last patched app",
"patchedSubtitle": "Installed apps", "patchedSubtitle": "Installed apps",
"changeLaterSubtitle": "You can change this in the settings at a later time.", "changeLaterSubtitle": "You can change this in the settings at a later time.",
"noUpdates": "No updates available",
"WIP": "Work in progress...",
"noSavedAppFound": "No app found", "noSavedAppFound": "No app found",
"noInstallations": "No patched apps installed", "noInstallations": "No patched apps installed",
"installUpdate": "Continue to install the update?", "installUpdate": "Continue to install the update?",
@ -43,27 +37,19 @@
"downloadConsentDialogTitle": "Download necessary files?", "downloadConsentDialogTitle": "Download necessary files?",
"downloadConsentDialogText": "ReVanced Manager needs to download necessary files to work properly.", "downloadConsentDialogText": "ReVanced Manager needs to download necessary files to work properly.",
"downloadConsentDialogText2": "This will connect you to ${url}.", "downloadConsentDialogText2": "This will connect you to ${url}.",
"checkUpdateDialogTitle": "Check for updates?",
"checkUpdateDialogText": "Do you want ReVanced Manager to check for updates automatically?",
"notificationTitle": "Update downloaded",
"notificationText": "Tap to install the update",
"downloadingMessage": "Downloading update...", "downloadingMessage": "Downloading update...",
"downloadedMessage": "Update downloaded", "downloadedMessage": "Update downloaded",
"installingMessage": "Installing update...", "installingMessage": "Installing update...",
"errorDownloadMessage": "Unable to download update", "errorDownloadMessage": "Unable to download update",
"errorInstallMessage": "Unable to install update", "errorInstallMessage": "Unable to install update",
"noConnection": "No internet connection", "noConnection": "No internet connection"
"updatesDisabled": "Updating a patched app is currently disabled. Repatch the app again."
}, },
"applicationItem": { "applicationItem": {
"infoButton": "Info" "infoButton": "Info"
}, },
"latestCommitCard": { "latestCommitCard": {
"loadingLabel": "Loading...", "loadingLabel": "Loading...",
"timeagoLabel": "${time} ago", "timeagoLabel": "${time} ago"
"patcherLabel": "Patcher: ",
"managerLabel": "Manager: ",
"updateButton": "Update Manager"
}, },
"patcherView": { "patcherView": {
"widgetTitle": "Patcher", "widgetTitle": "Patcher",
@ -77,8 +63,6 @@
"widgetTitleSelected": "Selected app", "widgetTitleSelected": "Selected app",
"widgetSubtitle": "No app selected", "widgetSubtitle": "No app selected",
"noAppsLabel": "No applications found", "noAppsLabel": "No applications found",
"currentVersion": "Current",
"suggestedVersion": "Suggested",
"anyVersion": "Any version" "anyVersion": "Any version"
}, },
"patchSelectorCard": { "patchSelectorCard": {
@ -122,15 +106,12 @@
"customValue": "Custom value", "customValue": "Custom value",
"setToNull": "Set to null", "setToNull": "Set to null",
"nullValue": "This option value is currently null", "nullValue": "This option value is currently null",
"resetOptionsTooltip": "Reset patch options",
"viewTitle": "Patch options", "viewTitle": "Patch options",
"saveOptions": "Save", "saveOptions": "Save",
"addOptions": "Add options",
"unselectPatch": "Unselect patch", "unselectPatch": "Unselect patch",
"tooltip": "More input options", "tooltip": "More input options",
"selectFilePath": "Select file path", "selectFilePath": "Select file path",
"selectFolder": "Select folder", "selectFolder": "Select folder",
"selectOption": "Select option",
"requiredOption": "Setting this option is required", "requiredOption": "Setting this option is required",
"unsupportedOption": "This option is not supported", "unsupportedOption": "This option is not supported",
"requiredOptionNull": "The following options have to be set:\n\n${options}" "requiredOptionNull": "The following options have to be set:\n\n${options}"
@ -143,7 +124,6 @@
"patchesChangeWarningDialogButton": "Use default selection" "patchesChangeWarningDialogButton": "Use default selection"
}, },
"installerView": { "installerView": {
"widgetTitle": "Installer",
"installType": "Select install type", "installType": "Select install type",
"installTypeDescription": "Select the installation type to continue with.", "installTypeDescription": "Select the installation type to continue with.",
"installButton": "Install", "installButton": "Install",
@ -152,7 +132,6 @@
"warning": "Disable auto updates for the patched app to avoid unexpected issues.", "warning": "Disable auto updates for the patched app to avoid unexpected issues.",
"pressBackAgain": "Press back again to cancel", "pressBackAgain": "Press back again to cancel",
"openButton": "Open", "openButton": "Open",
"shareButton": "Share file",
"notificationTitle": "ReVanced Manager is patching", "notificationTitle": "ReVanced Manager is patching",
"notificationText": "Tap to return to the installer", "notificationText": "Tap to return to the installer",
"exportApkButtonTooltip": "Export patched APK", "exportApkButtonTooltip": "Export patched APK",
@ -177,7 +156,6 @@
"dynamicThemeHint": "Enjoy an experience closer to your device", "dynamicThemeHint": "Enjoy an experience closer to your device",
"languageLabel": "Language", "languageLabel": "Language",
"languageUpdated": "Language updated", "languageUpdated": "Language updated",
"englishOption": "English",
"sourcesLabel": "Alternative sources", "sourcesLabel": "Alternative sources",
"sourcesLabelHint": "Configure the alternative sources for ReVanced Patches and ReVanced Integrations", "sourcesLabelHint": "Configure the alternative sources for ReVanced Patches and ReVanced Integrations",
"sourcesIntegrationsLabel": "Integrations source", "sourcesIntegrationsLabel": "Integrations source",

View File

@ -458,10 +458,6 @@ class HomeViewModel extends BaseViewModel {
} }
} }
void updatesAreDisabled() {
_toast.showBottom(t.homeView.updatesDisabled);
}
Future<void> showUpdateConfirmationDialog( Future<void> showUpdateConfirmationDialog(
BuildContext parentContext, BuildContext parentContext,
bool isPatches, [ bool isPatches, [