fix: update setup_wizard.py translation (#23583)
* Update setup_wizard.py translation Import frappe _ and translate some untranslated strings * style: format --------- Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
parent
71a1712e35
commit
551aaafefc
1 changed files with 3 additions and 2 deletions
|
|
@ -4,6 +4,7 @@
|
|||
import json
|
||||
|
||||
import frappe
|
||||
from frappe import _
|
||||
from frappe.geo.country_info import get_country_info
|
||||
from frappe.permissions import AUTOMATIC_ROLES
|
||||
from frappe.translate import get_messages_for_boot, send_translations, set_default_language
|
||||
|
|
@ -19,8 +20,8 @@ def get_setup_stages(args):
|
|||
# That is done by frappe after successful completion of all stages
|
||||
stages = [
|
||||
{
|
||||
"status": "Updating global settings",
|
||||
"fail_msg": "Failed to update global settings",
|
||||
"status": _("Updating global settings"),
|
||||
"fail_msg": _("Failed to update global settings"),
|
||||
"tasks": [
|
||||
{"fn": update_global_settings, "args": args, "fail_msg": "Failed to update global settings"}
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue