From e1c4166a069481ec21110618cd1c16b6970e1318 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 10 May 2025 20:37:26 +0200 Subject: [PATCH 1/2] feat: Rename strings --- .../domain/bundles/PatchBundleSource.kt | 2 +- .../domain/bundles/RemotePatchBundle.kt | 2 +- .../repository/PatchBundleRepository.kt | 2 +- .../ui/component/ExceptionViewerDialog.kt | 2 +- .../ui/component/bundle/BaseBundleDialog.kt | 12 +-- .../bundle/BundleInformationDialog.kt | 8 +- .../manager/ui/component/bundle/BundleItem.kt | 8 +- .../component/bundle/BundlePatchesDialog.kt | 6 +- .../ui/component/bundle/BundleSelector.kt | 6 +- .../ui/component/bundle/ImportBundleDialog.kt | 12 +-- .../manager/ui/screen/DashboardScreen.kt | 12 +-- .../settings/DeveloperSettingsScreen.kt | 6 +- .../settings/ImportExportSettingsScreen.kt | 8 +- .../ui/viewmodel/DashboardViewModel.kt | 6 +- .../ui/viewmodel/DeveloperOptionsViewModel.kt | 2 +- .../ui/viewmodel/ImportExportViewModel.kt | 8 +- app/src/main/res/values/strings.xml | 86 ++++++++----------- 17 files changed, 89 insertions(+), 99 deletions(-) diff --git a/app/src/main/java/app/revanced/manager/domain/bundles/PatchBundleSource.kt b/app/src/main/java/app/revanced/manager/domain/bundles/PatchBundleSource.kt index 1bc8a7f860..bd779dd1a4 100644 --- a/app/src/main/java/app/revanced/manager/domain/bundles/PatchBundleSource.kt +++ b/app/src/main/java/app/revanced/manager/domain/bundles/PatchBundleSource.kt @@ -34,7 +34,7 @@ sealed class PatchBundleSource(initialName: String, val uid: Int, directory: Fil private val _nameFlow = MutableStateFlow(initialName) val nameFlow = - _nameFlow.map { it.ifEmpty { app.getString(if (isDefault) R.string.bundle_name_default else R.string.bundle_name_fallback) } } + _nameFlow.map { it.ifEmpty { app.getString(if (isDefault) R.string.patches_name_default else R.string.patches_name_fallback) } } suspend fun getName() = nameFlow.first() diff --git a/app/src/main/java/app/revanced/manager/domain/bundles/RemotePatchBundle.kt b/app/src/main/java/app/revanced/manager/domain/bundles/RemotePatchBundle.kt index 8128985589..897312f7d3 100644 --- a/app/src/main/java/app/revanced/manager/domain/bundles/RemotePatchBundle.kt +++ b/app/src/main/java/app/revanced/manager/domain/bundles/RemotePatchBundle.kt @@ -50,7 +50,7 @@ sealed class RemotePatchBundle(name: String, id: Int, directory: File, val endpo suspend fun setAutoUpdate(value: Boolean) = configRepository.setAutoUpdate(uid, value) companion object { - const val updateFailMsg = "Failed to update patch bundle(s)" + const val updateFailMsg = "Failed to update patches" } } diff --git a/app/src/main/java/app/revanced/manager/domain/repository/PatchBundleRepository.kt b/app/src/main/java/app/revanced/manager/domain/repository/PatchBundleRepository.kt index 79bb5cea64..3afe4e3957 100644 --- a/app/src/main/java/app/revanced/manager/domain/repository/PatchBundleRepository.kt +++ b/app/src/main/java/app/revanced/manager/domain/repository/PatchBundleRepository.kt @@ -165,7 +165,7 @@ class PatchBundleRepository( getBundlesByType().forEach { it.downloadLatest() } suspend fun updateCheck() = - uiSafe(app, R.string.source_download_fail, "Failed to update bundles") { + uiSafe(app, R.string.patches_download_fail, "Failed to update bundles") { coroutineScope { if (!networkInfo.isSafe()) { Log.d(tag, "Skipping update check because the network is down or metered.") diff --git a/app/src/main/java/app/revanced/manager/ui/component/ExceptionViewerDialog.kt b/app/src/main/java/app/revanced/manager/ui/component/ExceptionViewerDialog.kt index bea8846f1c..3925c48bcf 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/ExceptionViewerDialog.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/ExceptionViewerDialog.kt @@ -30,7 +30,7 @@ fun ExceptionViewerDialog(text: String, onDismiss: () -> Unit) { Scaffold( topBar = { BundleTopBar( - title = stringResource(R.string.bundle_error), + title = stringResource(R.string.patches_error), onBackClick = onDismiss, backIcon = { Icon( diff --git a/app/src/main/java/app/revanced/manager/ui/component/bundle/BaseBundleDialog.kt b/app/src/main/java/app/revanced/manager/ui/component/bundle/BaseBundleDialog.kt index 0ec27d8df6..3e07af2470 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/bundle/BaseBundleDialog.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/bundle/BaseBundleDialog.kt @@ -92,8 +92,8 @@ fun BaseBundleDialog( if (remoteUrl != null) { BundleListItem( - headlineText = stringResource(R.string.bundle_auto_update), - supportingText = stringResource(R.string.bundle_auto_update_description), + headlineText = stringResource(R.string.auto_update), + supportingText = stringResource(R.string.auto_update_description), trailingContent = { HapticSwitch( checked = autoUpdate, @@ -113,7 +113,7 @@ fun BaseBundleDialog( if (showUrlInputDialog) { TextInputDialog( initial = url, - title = stringResource(R.string.bundle_input_source_url), + title = stringResource(R.string.patches_url), onDismissRequest = { showUrlInputDialog = false }, onConfirm = { showUrlInputDialog = false @@ -134,7 +134,7 @@ fun BaseBundleDialog( showUrlInputDialog = true } ), - headlineText = stringResource(R.string.bundle_input_source_url), + headlineText = stringResource(R.string.patches_url), supportingText = url.ifEmpty { stringResource(R.string.field_not_set) } @@ -143,8 +143,8 @@ fun BaseBundleDialog( val patchesClickable = patchCount > 0 BundleListItem( - headlineText = stringResource(R.string.bundle_view_patches), - supportingText = stringResource(R.string.bundle_view_all_patches, patchCount), + headlineText = stringResource(R.string.patches), + supportingText = stringResource(R.string.view_patches), modifier = Modifier.clickable( enabled = patchesClickable, onClick = onPatchesClick diff --git a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleInformationDialog.kt b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleInformationDialog.kt index 1e86aced6e..20d2d7c4ef 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleInformationDialog.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleInformationDialog.kt @@ -119,8 +119,8 @@ fun BundleInformationDialog( ) BundleListItem( - headlineText = stringResource(R.string.bundle_error), - supportingText = stringResource(R.string.bundle_error_description), + headlineText = stringResource(R.string.patches_error), + supportingText = stringResource(R.string.patches_error_description), trailingContent = { Icon( Icons.AutoMirrored.Outlined.ArrowRight, @@ -133,8 +133,8 @@ fun BundleInformationDialog( if (state is PatchBundleSource.State.Missing && !isLocal) { BundleListItem( - headlineText = stringResource(R.string.bundle_error), - supportingText = stringResource(R.string.bundle_not_downloaded), + headlineText = stringResource(R.string.patches_error), + supportingText = stringResource(R.string.patches_not_downloaded), modifier = Modifier.clickable(onClick = onUpdate) ) } diff --git a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleItem.kt b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleItem.kt index d50d6af21f..3501e26e65 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleItem.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleItem.kt @@ -67,8 +67,8 @@ fun BundleItem( onDelete() viewBundleDialogPage = false }, - title = stringResource(R.string.bundle_delete_single_dialog_title), - description = stringResource(R.string.bundle_delete_single_dialog_description, name), + title = stringResource(R.string.delete), + description = stringResource(R.string.patches_delete_single_dialog_description, name), icon = Icons.Outlined.Delete ) } @@ -100,8 +100,8 @@ fun BundleItem( Row { val icon = remember(state) { when (state) { - is PatchBundleSource.State.Failed -> Icons.Outlined.ErrorOutline to R.string.bundle_error - is PatchBundleSource.State.Missing -> Icons.Outlined.Warning to R.string.bundle_missing + is PatchBundleSource.State.Failed -> Icons.Outlined.ErrorOutline to R.string.patches_error + is PatchBundleSource.State.Missing -> Icons.Outlined.Warning to R.string.patches_missing is PatchBundleSource.State.Loaded -> null } } diff --git a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundlePatchesDialog.kt b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundlePatchesDialog.kt index 30446b9d5c..7d28237d5c 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundlePatchesDialog.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundlePatchesDialog.kt @@ -46,7 +46,7 @@ fun BundlePatchesDialog( Scaffold( topBar = { BundleTopBar( - title = stringResource(R.string.bundle_patches), + title = stringResource(R.string.patches), onBackClick = onDismissRequest, backIcon = { Icon( @@ -133,10 +133,10 @@ fun PatchItem( verticalAlignment = Alignment.CenterVertically ) { PatchInfoChip( - text = "$PACKAGE_ICON ${stringResource(R.string.bundle_view_patches_any_package)}" + text = "$PACKAGE_ICON ${stringResource(R.string.patches_view_any_package)}" ) PatchInfoChip( - text = "$VERSION_ICON ${stringResource(R.string.bundle_view_patches_any_version)}" + text = "$VERSION_ICON ${stringResource(R.string.patches_view_any_version)}" ) } } else { diff --git a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleSelector.kt b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleSelector.kt index c7cd7565da..bcad3fe991 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleSelector.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/bundle/BundleSelector.kt @@ -13,14 +13,14 @@ import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue -import androidx.compose.runtime.remember import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier +import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.dp import androidx.lifecycle.compose.collectAsStateWithLifecycle +import app.revanced.manager.R import app.revanced.manager.domain.bundles.PatchBundleSource import app.revanced.manager.domain.bundles.PatchBundleSource.Extensions.nameState -import kotlinx.coroutines.flow.map @OptIn(ExperimentalMaterial3Api::class) @Composable @@ -50,7 +50,7 @@ fun BundleSelector(bundles: List, onFinish: (PatchBundleSourc .fillMaxWidth() ) { Text( - text = "Select bundle", + text = stringResource(R.string.select), style = MaterialTheme.typography.titleLarge, color = MaterialTheme.colorScheme.onSurface ) diff --git a/app/src/main/java/app/revanced/manager/ui/component/bundle/ImportBundleDialog.kt b/app/src/main/java/app/revanced/manager/ui/component/bundle/ImportBundleDialog.kt index 821a2669cd..1a05d8662a 100644 --- a/app/src/main/java/app/revanced/manager/ui/component/bundle/ImportBundleDialog.kt +++ b/app/src/main/java/app/revanced/manager/ui/component/bundle/ImportBundleDialog.kt @@ -77,7 +77,7 @@ fun ImportPatchBundleDialog( AlertDialogExtended( onDismissRequest = onDismiss, title = { - Text(stringResource(if (currentStep == 0) R.string.select else R.string.add_patch_bundle)) + Text(stringResource(if (currentStep == 0) R.string.select else R.string.add_patches)) }, text = { steps[currentStep]() @@ -126,7 +126,7 @@ fun SelectBundleTypeStep( ) { Text( modifier = Modifier.padding(horizontal = 24.dp), - text = stringResource(R.string.select_bundle_type_dialog_description) + text = stringResource(R.string.select_patches_type_dialog_description) ) Column { ListItem( @@ -136,7 +136,7 @@ fun SelectBundleTypeStep( ), headlineContent = { Text(stringResource(R.string.enter_url)) }, overlineContent = { Text(stringResource(R.string.recommended)) }, - supportingContent = { Text(stringResource(R.string.remote_bundle_description)) }, + supportingContent = { Text(stringResource(R.string.remote_patches_description)) }, leadingContent = { HapticRadioButton( selected = bundleType == BundleType.Remote, @@ -152,7 +152,7 @@ fun SelectBundleTypeStep( onClick = { onBundleTypeSelected(BundleType.Local) } ), headlineContent = { Text(stringResource(R.string.select_from_storage)) }, - supportingContent = { Text(stringResource(R.string.local_bundle_description)) }, + supportingContent = { Text(stringResource(R.string.local_patches_description)) }, overlineContent = { }, leadingContent = { HapticRadioButton( @@ -185,7 +185,7 @@ fun ImportBundleStep( ) { ListItem( headlineContent = { - Text(stringResource(R.string.patch_bundle_field)) + Text(stringResource(R.string.patches)) }, supportingContent = { Text(stringResource(if (patchBundle != null) R.string.file_field_set else R.string.file_field_not_set)) }, trailingContent = { @@ -206,7 +206,7 @@ fun ImportBundleStep( OutlinedTextField( value = remoteUrl, onValueChange = onRemoteUrlChange, - label = { Text(stringResource(R.string.bundle_url)) } + label = { Text(stringResource(R.string.patches_url)) } ) } Column( diff --git a/app/src/main/java/app/revanced/manager/ui/screen/DashboardScreen.kt b/app/src/main/java/app/revanced/manager/ui/screen/DashboardScreen.kt index 0d14cf9ec3..03eff51f19 100644 --- a/app/src/main/java/app/revanced/manager/ui/screen/DashboardScreen.kt +++ b/app/src/main/java/app/revanced/manager/ui/screen/DashboardScreen.kt @@ -79,7 +79,7 @@ enum class DashboardPage( val icon: ImageVector ) { DASHBOARD(R.string.tab_apps, Icons.Outlined.Apps), - BUNDLES(R.string.tab_bundles, Icons.Outlined.Source), + BUNDLES(R.string.tab_patches, Icons.Outlined.Source), } @SuppressLint("BatteryLife") @@ -93,7 +93,7 @@ fun DashboardScreen( onDownloaderPluginClick: () -> Unit, onAppClick: (String) -> Unit ) { - val bundlesSelectable by remember { derivedStateOf { vm.selectedSources.size > 0 } } + val bundlesSelectable by remember { derivedStateOf { vm.selectedSources.isNotEmpty() } } val availablePatches by vm.availablePatches.collectAsStateWithLifecycle(0) val showNewDownloaderPluginsNotification by vm.newDownloaderPluginsAvailable.collectAsStateWithLifecycle( false @@ -164,8 +164,8 @@ fun DashboardScreen( vm.selectedSources.forEach { if (!it.isDefault) vm.delete(it) } vm.cancelSourceSelection() }, - title = stringResource(R.string.bundle_delete_multiple_dialog_title), - description = stringResource(R.string.bundle_delete_multiple_dialog_description), + title = stringResource(R.string.delete), + description = stringResource(R.string.patches_delete_multiple_dialog_description), icon = Icons.Outlined.Delete ) } @@ -174,7 +174,7 @@ fun DashboardScreen( topBar = { if (bundlesSelectable) { BundleTopBar( - title = stringResource(R.string.bundles_selected, vm.selectedSources.size), + title = stringResource(R.string.patches_selected, vm.selectedSources.size), onBackClick = vm::cancelSourceSelection, backIcon = { Icon( @@ -239,7 +239,7 @@ fun DashboardScreen( when (pagerState.currentPage) { DashboardPage.DASHBOARD.ordinal -> { if (availablePatches < 1) { - androidContext.toast(androidContext.getString(R.string.patches_unavailable)) + androidContext.toast(androidContext.getString(R.string.no_patch_found)) composableScope.launch { pagerState.animateScrollToPage( DashboardPage.BUNDLES.ordinal diff --git a/app/src/main/java/app/revanced/manager/ui/screen/settings/DeveloperSettingsScreen.kt b/app/src/main/java/app/revanced/manager/ui/screen/settings/DeveloperSettingsScreen.kt index a6164ec870..ac80009a1a 100644 --- a/app/src/main/java/app/revanced/manager/ui/screen/settings/DeveloperSettingsScreen.kt +++ b/app/src/main/java/app/revanced/manager/ui/screen/settings/DeveloperSettingsScreen.kt @@ -48,13 +48,13 @@ fun DeveloperSettingsScreen( description = R.string.developer_options_description, ) - GroupHeader(stringResource(R.string.patch_bundles_section)) + GroupHeader(stringResource(R.string.patches)) SettingsListItem( - headlineContent = stringResource(R.string.patch_bundles_force_download), + headlineContent = stringResource(R.string.patches_force_download), modifier = Modifier.clickable(onClick = vm::redownloadBundles) ) SettingsListItem( - headlineContent = stringResource(R.string.patch_bundles_reset), + headlineContent = stringResource(R.string.patches_reset), modifier = Modifier.clickable(onClick = vm::redownloadBundles) ) } diff --git a/app/src/main/java/app/revanced/manager/ui/screen/settings/ImportExportSettingsScreen.kt b/app/src/main/java/app/revanced/manager/ui/screen/settings/ImportExportSettingsScreen.kt index 2d88bb373a..3bc8612e1c 100644 --- a/app/src/main/java/app/revanced/manager/ui/screen/settings/ImportExportSettingsScreen.kt +++ b/app/src/main/java/app/revanced/manager/ui/screen/settings/ImportExportSettingsScreen.kt @@ -240,8 +240,8 @@ fun ImportExportSettingsScreen( } } }, - headline = R.string.patch_selection_reset_bundle, - description = R.string.patch_selection_reset_bundle_description + headline = R.string.patch_selection_reset_patches, + description = R.string.patch_selection_reset_patches_description ) } } @@ -296,8 +296,8 @@ fun ImportExportSettingsScreen( } } }, - headline = R.string.patch_options_reset_bundle, - description = R.string.patch_options_reset_bundle_description, + headline = R.string.patch_options_reset_patches, + description = R.string.patch_options_reset_patches_description, ) } } diff --git a/app/src/main/java/app/revanced/manager/ui/viewmodel/DashboardViewModel.kt b/app/src/main/java/app/revanced/manager/ui/viewmodel/DashboardViewModel.kt index 0783e94d63..ae38bd2925 100644 --- a/app/src/main/java/app/revanced/manager/ui/viewmodel/DashboardViewModel.kt +++ b/app/src/main/java/app/revanced/manager/ui/viewmodel/DashboardViewModel.kt @@ -135,13 +135,13 @@ class DashboardViewModel( uiSafe( app, - R.string.source_download_fail, + R.string.patches_download_fail, RemotePatchBundle.updateFailMsg ) { if (bundle.update()) - app.toast(app.getString(R.string.bundle_update_success, bundle.getName())) + app.toast(app.getString(R.string.patches_update_success, bundle.getName())) else - app.toast(app.getString(R.string.bundle_update_unavailable, bundle.getName())) + app.toast(app.getString(R.string.patches_update_unavailable, bundle.getName())) } } } \ No newline at end of file diff --git a/app/src/main/java/app/revanced/manager/ui/viewmodel/DeveloperOptionsViewModel.kt b/app/src/main/java/app/revanced/manager/ui/viewmodel/DeveloperOptionsViewModel.kt index bc8d052761..8d9b11ae53 100644 --- a/app/src/main/java/app/revanced/manager/ui/viewmodel/DeveloperOptionsViewModel.kt +++ b/app/src/main/java/app/revanced/manager/ui/viewmodel/DeveloperOptionsViewModel.kt @@ -16,7 +16,7 @@ class DeveloperOptionsViewModel( private val patchBundleRepository: PatchBundleRepository ) : ViewModel() { fun redownloadBundles() = viewModelScope.launch { - uiSafe(app, R.string.source_download_fail, RemotePatchBundle.updateFailMsg) { + uiSafe(app, R.string.patches_download_fail, RemotePatchBundle.updateFailMsg) { patchBundleRepository.redownloadRemoteBundles() } } diff --git a/app/src/main/java/app/revanced/manager/ui/viewmodel/ImportExportViewModel.kt b/app/src/main/java/app/revanced/manager/ui/viewmodel/ImportExportViewModel.kt index 3628f0d7b8..6e93369689 100644 --- a/app/src/main/java/app/revanced/manager/ui/viewmodel/ImportExportViewModel.kt +++ b/app/src/main/java/app/revanced/manager/ui/viewmodel/ImportExportViewModel.kt @@ -61,8 +61,8 @@ sealed class ResetDialogState( ) class PatchSelectionBundle(dialogOptionName: String, onConfirm: () -> Unit) : ResetDialogState( - titleResId = R.string.patch_selection_reset_bundle, - descriptionResId = R.string.patch_selection_reset_bundle_dialog_description, + titleResId = R.string.patch_selection_reset_patches, + descriptionResId = R.string.patch_selection_reset_patches_dialog_description, onConfirm = onConfirm, dialogOptionName = dialogOptionName ) @@ -81,8 +81,8 @@ sealed class ResetDialogState( ) class PatchOptionBundle(dialogOptionName: String, onConfirm: () -> Unit) : ResetDialogState( - titleResId = R.string.patch_options_reset_bundle, - descriptionResId = R.string.patch_options_reset_bundle_dialog_description, + titleResId = R.string.patch_options_reset_patches, + descriptionResId = R.string.patch_options_reset_patches_dialog_description, onConfirm = onConfirm, dialogOptionName = dialogOptionName ) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 31730c8c7b..3e8d279893 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -14,26 +14,24 @@ Dashboard Settings Select an app - %1$d/%2$d selected + %1$d/%2$d selected New downloader plugins available. Click here to configure them. Patching on this device architecture is unsupported and will most likely fail. Import - Import patch bundle - Bundle patches - Patch bundle + Import patches Selected Not selected Not set - Missing - Error - Bundle could not be loaded. Click to view the error - Bundle has not been downloaded. Click here to download it - Default - Unnamed + Missing + Error + Patches could not be loaded. Click to view the error + Patches has not been downloaded. Click here to download it + Patches + Unnamed Android 11 bug The app installation permission must be granted ahead of time to avoid a bug in the Android 11 system that will negatively affect the user experience. @@ -139,15 +137,15 @@ Reset patch selection for app You are about to reset the patch selection for the app \"%s\". You will have to manually select each patch again. Resets patch selection for a single app - Resets patch selection for bundle - You are about to reset the patch selection for the bundle \"%s\". You will have to manually select each patch again. - Resets the patch selection for all patches in a bundle + Resets patch selection for a specific patches + You are about to reset the patch selection for \"%s\". You will have to manually select each patch again. + Resets the patch selection for a specific patches Reset patch options for app You are about to reset the patch options for the app \"%s\". You will have to reapply each option again. Resets patch options for a single app - Resets patch options for bundle - You are about to reset the patch options for the bundle \"%s\". You will have to reapply each option again. - Resets patch options for all patches in a bundle + Resets patch options for this patches + You are about to reset the patch options for \"%s\". You will have to reapply each option again. + Resets patch options for all patches Reset patch options You are about to reset patch options. You will have to reapply each option again. Resets all patch options @@ -164,7 +162,7 @@ Search apps… Loading… - Downloading patch bundle… + Downloading patches… Options OK @@ -202,8 +200,8 @@ Exported logs API URL The API used to download necessary files. - Set custom API URL - Set the API URL of ReVanced Manager. ReVanced Manager uses the API to download patches and updates. + Change API URL + Change the API URL of ReVanced Manager. ReVanced Manager uses the API to download patches and updates. ReVanced Manager connects to the API to download patches and updates. Make sure that you trust it. Set Reset API URL @@ -213,26 +211,25 @@ CPU Architectures Memory limits %1$dMB (Normal) - %2$dMB (Large) - Patch bundles - Force download all patch bundles - Reset patch bundles + Force download all patches + Reset patches Patching Signing Storage - No patches are available. Check your bundles + No patch can be found. Check your patches Apps - Patch bundles + Patches Delete Refresh Continue anyways Download another version Download app Download APK file - Failed to download patch bundle: %s - Failed to load updated patch bundle: %s + Failed to download patches: %s + Failed to load updated patches: %s No patched apps found Tap on the patches to get more information about them - %s selected + %s selected Incompatible patches Universal patches Patch selection and options has been reset to recommended defaults @@ -348,20 +345,13 @@ Help us improve this application Developer options Options for debugging issues - Source URL - Successfully updated %s - No update available for %s - Auto update - Automatically update this bundle when ReVanced starts - View patches - View all %d patches - Any version - Any package - Delete bundle - Delete bundles - Are you sure you want to delete the bundle \"%s\"? - Are you sure you want to delete the selected bundles? - + Successfully updated %s + No update available for %s + View patches + Any version + Any package + Are you sure you want to delete \"%s\"? + Are you sure you want to delete the selected patches? About ReVanced Manager ReVanced Manager is an Android application that uses ReVanced Patcher to patch Android apps. It allows you to download and patch apps with custom patches, and manage the patching process. @@ -391,7 +381,7 @@ Save (%1$s) Update Empty - Tap on Update when prompted. \n ReVanced Manager will close when updating. + Tap on Update when prompted.\nReVanced Manager will close when updating. No changelogs found Just now %sm ago @@ -415,10 +405,9 @@ No contributors found Select Select or deselect all - Add new bundle - Add a new bundle from a URL or storage - Import local files from your storage, does not automatically update - Import remote files from a URL, can automatically update + Add new patches from URL or local files + Add patches from local storage. + Add patches from URL. Patches can automatically update. Recommended Installation failed @@ -443,9 +432,10 @@ About device Enter URL Next - Add patch bundle - Bundle URL Auto update + Add patches + Automatically update when a new version is available + Patches URL These patches are not compatible with the selected app version (%1$s).\n\nClick on the patches to see more details. Incompatible patch Any From 3fc2bc611c4f4496e0912e66e8c6cc165e61164c Mon Sep 17 00:00:00 2001 From: Ax333l Date: Tue, 15 Jul 2025 17:31:48 +0200 Subject: [PATCH 2/2] make it more consistent --- app/src/main/res/values/strings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6438b37bc9..c1a3d64857 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -133,17 +133,17 @@ Patch selection has been reset Reset patch selection globally You are about to reset all the patch selections. You will need to manually select each patch again. - Reset all the patch selections + Resets all the patch selections Reset patch selection for app You are about to reset the patch selection for the app \"%s\". You will have to manually select each patch again. Resets patch selection for a single app - Resets patch selection for a single source + Reset patch selection (single) You are about to reset the patch selection for \"%s\". You will have to manually select each patch again. Resets the patch selection for a specific collection of patches Reset patch options for app You are about to reset the patch options for the app \"%s\". You will have to reapply each option again. Resets patch options for a single app - Reset patch options + Reset patch options (single) You are about to reset the patch options for \"%s\". You will have to reapply each option again. Resets the patch options for a specific collection of patches Reset patch options globally