diff --git a/erpnext/setup/doctype/company/company.py b/erpnext/setup/doctype/company/company.py index b409e116df..ae6d641755 100644 --- a/erpnext/setup/doctype/company/company.py +++ b/erpnext/setup/doctype/company/company.py @@ -138,7 +138,7 @@ class Company(Document): cc_doc.ignore_mandatory = True cc_doc.insert() - frappe.db.set(self, "cost_center", "Main - " + self.abbr) + frappe.db.set(self, "cost_center", _("Main") + " - " + self.abbr) def on_trash(self): """ diff --git a/erpnext/setup/page/setup_wizard/setup_wizard.js b/erpnext/setup/page/setup_wizard/setup_wizard.js index b991bc4e9e..ee1daa19d7 100644 --- a/erpnext/setup/page/setup_wizard/setup_wizard.js +++ b/erpnext/setup/page/setup_wizard/setup_wizard.js @@ -94,7 +94,7 @@ frappe.pages['setup-wizard'].onload = function(wrapper) { {"fieldname": "last_name", "label": __("Last Name"), "fieldtype": "Data", reqd:1}, {"fieldname": "email", "label": __("Email Id"), "fieldtype": "Data", - reqd:1, "description":"Your Login Id", "options":"Email"}, + reqd:1, "description": __("Your Login Id"), "options":"Email"}, {"fieldname": "password", "label": __("Password"), "fieldtype": "Password", reqd:1}, {fieldtype:"Attach Image", fieldname:"attach_user", diff --git a/erpnext/setup/page/setup_wizard/setup_wizard.py b/erpnext/setup/page/setup_wizard/setup_wizard.py index 95401b74ff..049e462a13 100644 --- a/erpnext/setup/page/setup_wizard/setup_wizard.py +++ b/erpnext/setup/page/setup_wizard/setup_wizard.py @@ -136,10 +136,10 @@ def create_fiscal_year_and_company(args): args["curr_fiscal_year"] = curr_fiscal_year def create_price_lists(args): - for pl_type in ["Selling", "Buying"]: + for pl_type, pl_name in (("Selling", _("Standard Selling")), ("Buying", _("Standard Buying"))): frappe.get_doc({ "doctype": "Price List", - "price_list_name": "Standard " + pl_type, + "price_list_name": pl_name, "enabled": 1, "buying": 1 if pl_type == "Buying" else 0, "selling": 1 if pl_type == "Selling" else 0, @@ -273,7 +273,7 @@ def create_taxes(args): frappe.get_doc({ "doctype":"Account", "company": args.get("company_name"), - "parent_account": "Duties and Taxes - " + args.get("company_abbr"), + "parent_account": _("Duties and Taxes") + " - " + args.get("company_abbr"), "account_name": args.get("tax_" + str(i)), "group_or_ledger": "Ledger", "report_type": "Balance Sheet",