Skip to content

Commit 47e4ed8

Browse files
oSumAtrIXAxelen123
andauthored
feat: Rename "Patch bundle" to "Patches" (#2541)
Co-authored-by: Ax333l <[email protected]>
1 parent 486ed59 commit 47e4ed8

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

app/src/main/java/app/revanced/manager/ui/screen/settings/ImportExportSettingsScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ fun ImportExportSettingsScreen(
296296
}
297297
}
298298
},
299-
headline = R.string.patch_options_reset,
300-
description = R.string.patch_options_reset_all,
299+
headline = R.string.patch_options_reset_patches,
300+
description = R.string.patch_options_reset_patches_description,
301301
)
302302
}
303303
}

app/src/main/java/app/revanced/manager/ui/viewmodel/ImportExportViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ sealed class ResetDialogState(
8181
)
8282

8383
class PatchOptionBundle(dialogOptionName: String, onConfirm: () -> Unit) : ResetDialogState(
84-
titleResId = R.string.patch_options_reset,
85-
descriptionResId = R.string.patch_options_reset_dialog_description,
84+
titleResId = R.string.patch_options_reset_patches,
85+
descriptionResId = R.string.patch_options_reset_patches_dialog_description,
8686
onConfirm = onConfirm,
8787
dialogOptionName = dialogOptionName
8888
)

app/src/main/res/values/strings.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,21 +131,22 @@
131131
<string name="reset_patch_options">Reset patch options</string>
132132
<string name="reset_patch_options_description">Reset the stored patch options</string>
133133
<string name="reset_patch_selection_success">Patch selection has been reset</string>
134-
<string name="patch_selection_reset_all">Reset all patch selection</string>
134+
<string name="patch_selection_reset_all">Reset patch selection globally</string>
135135
<string name="patch_selection_reset_all_dialog_description">You are about to reset all the patch selections. You will need to manually select each patch again.</string>
136-
<string name="patch_selection_reset_all_description">Reset all the patch selections</string>
136+
<string name="patch_selection_reset_all_description">Resets all the patch selections</string>
137137
<string name="patch_selection_reset_package">Reset patch selection for app</string>
138138
<string name="patch_selection_reset_package_dialog_description">You are about to reset the patch selection for the app \"%s\". You will have to manually select each patch again.</string>
139139
<string name="patch_selection_reset_package_description">Resets patch selection for a single app</string>
140-
<string name="patch_selection_reset_patches">Resets patch selection for a specific patches</string>
140+
<string name="patch_selection_reset_patches">Reset patch selection (single)</string>
141141
<string name="patch_selection_reset_patches_dialog_description">You are about to reset the patch selection for \"%s\". You will have to manually select each patch again.</string>
142-
<string name="patch_selection_reset_patches_description">Resets the patch selection for a specific patches</string>
142+
<string name="patch_selection_reset_patches_description">Resets the patch selection for a specific collection of patches</string>
143143
<string name="patch_options_reset_package">Reset patch options for app</string>
144144
<string name="patch_options_reset_package_dialog_description">You are about to reset the patch options for the app \"%s\". You will have to reapply each option again.</string>
145145
<string name="patch_options_reset_package_description">Resets patch options for a single app</string>
146-
<string name="patch_options_reset">Reset patch options</string>
147-
<string name="patch_options_reset_dialog_description">You are about to reset the patch options for \"%s\". You will have to reapply each option again.</string>
148-
<string name="patch_options_reset_all">Reset patch options for all</string>
146+
<string name="patch_options_reset_patches">Reset patch options (single)</string>
147+
<string name="patch_options_reset_patches_dialog_description">You are about to reset the patch options for \"%s\". You will have to reapply each option again.</string>
148+
<string name="patch_options_reset_patches_description">Resets the patch options for a specific collection of patches</string>
149+
<string name="patch_options_reset_all">Reset patch options globally</string>
149150
<string name="patch_options_reset_all_dialog_description">You are about to reset patch options. You will have to reapply each option again.</string>
150151
<string name="patch_options_reset_all_description">Resets all patch options</string>
151152
<string name="downloader_plugins">Plugins</string>

0 commit comments

Comments
 (0)