Fixed translations and tests (#12900)

* Fixed translations and tests

* minor fixes

* minor test fixes
This commit is contained in:
Nabin Hait
2018-02-14 17:44:06 +05:30
committed by GitHub
parent 361366ebe6
commit e6d65bc2a1
43 changed files with 187 additions and 168 deletions

View File

@@ -46,7 +46,7 @@ frappe.ui.form.on("Hub Settings", {
set_enable_hub_primary_button: (frm) => {
frm.page.set_primary_action(__("Enable Hub"), () => {
if(frappe.session.user === "Administrator") {
frappe.msgprint("Please login as another user.")
frappe.msgprint(__("Please login as another user."))
} else {
frappe.verify_password(() => {
this.frm.call({