fix(ux): fix unstranslated text in msgprint/throw

This commit is contained in:
Ankush Menat
2021-05-25 19:54:40 +05:30
parent 99636c6aca
commit ff96bdf0c1
11 changed files with 23 additions and 22 deletions

View File

@@ -39,7 +39,7 @@ def check_setup_wizard_not_completed():
if cint(frappe.db.get_single_value('System Settings', 'setup_complete') or 0):
message = """ERPNext can only be installed on a fresh site where the setup wizard is not completed.
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall"""
frappe.throw(message)
frappe.throw(message) # nosemgrep
def set_single_defaults():