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:
mahsem 2023-12-04 13:53:09 +01:00 committed by GitHub
parent 71a1712e35
commit 551aaafefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"}
],