We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8872610 commit 17f226aCopy full SHA for 17f226a
oclp_r/wx_gui/gui_sys_patch_start.py
@@ -233,11 +233,11 @@ def _install_metallib():
233
return True
234
235
236
- def _generate_modal(self, patches: dict = {}, variant: str = "Root Patching"):
+ def _generate_modal(self, patches: dict = {}, variant: str = None):
237
"""
238
Create UI for root patching/unpatching
239
240
- supported_variants = ["Root Patching", "Revert Root Patches"]
+ supported_variants = [self.trans["Root Patching"], self.trans["Revert Root Patches"]]
241
if variant not in supported_variants:
242
logging.error(f"{self.trans["Unsupported variant:"]} {variant}")
243
return
0 commit comments