brotherton-erpnext/.github/helper/semgrep_rules/ux.js
2021-05-25 14:06:10 +05:30

10 lines
294 B
JavaScript

// ok: frappe-missing-translate-function-js
frappe.msgprint('{{ _("Both login and password required") }}');
// ruleid: frappe-missing-translate-function-js
frappe.msgprint('What');
// ok: frappe-missing-translate-function-js
frappe.throw(' {{ _("Both login and password required") }}. ');