mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-13 16:35:43 +08:00
Better decrypt menu message
This commit is contained in:
parent
15aab16b93
commit
293d88e62f
4 changed files with 9 additions and 5 deletions
|
@ -120,7 +120,7 @@ def config_gui(config_dict: dict, config_file: str):
|
|||
config_dict[section][entry] = value
|
||||
return config_dict
|
||||
|
||||
right_click_menu = ["", [_t("generic.decrypt")]]
|
||||
right_click_menu = ["", [_t("config_gui.show_decrypted")]]
|
||||
|
||||
backup_col = [
|
||||
[
|
||||
|
@ -480,7 +480,7 @@ def config_gui(config_dict: dict, config_file: str):
|
|||
sg.Popup(_t("config_gui.configuration_saved"), keep_on_top=True)
|
||||
logger.info("Configuration saved successfully.")
|
||||
break
|
||||
if event == _t("generic.decrypt"):
|
||||
if event == _t("config_gui.show_decrypted"):
|
||||
if ask_backup_admin_password(config_dict):
|
||||
update_gui(window, config_dict, unencrypted=True)
|
||||
if event == "create_task":
|
||||
|
|
|
@ -96,7 +96,7 @@ def _about_gui(version_string: str, config_dict: dict) -> None:
|
|||
if sub_result:
|
||||
sys.exit(0)
|
||||
else:
|
||||
sg.Popup(_t("config_gui.auto_upgrade_failed"))
|
||||
sg.Popup(_t("config_gui.auto_upgrade_failed"), keep_on_top=True)
|
||||
window.close()
|
||||
|
||||
|
||||
|
|
|
@ -73,3 +73,5 @@ en:
|
|||
machine_identification: Machine identification
|
||||
machine_id: Machine identifier
|
||||
machine_group: Machine group
|
||||
|
||||
show_decrypted: Show decrypted
|
|
@ -73,3 +73,5 @@ fr:
|
|||
machine_identification: Identification machine
|
||||
machine_id: Identificateur machine
|
||||
machine_group: Groupe machine
|
||||
|
||||
show_decrypted: Voir déchiffré
|
Loading…
Add table
Reference in a new issue