mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Fix translate setup/doctype/company/company.js
This commit is contained in:
@@ -31,7 +31,7 @@ cur_frm.cscript.company_name = function(doc){
|
|||||||
|
|
||||||
cur_frm.cscript.abbr = function(doc){
|
cur_frm.cscript.abbr = function(doc){
|
||||||
if(doc.abbr && cur_frm.cscript.has_special_chars(doc.abbr)){
|
if(doc.abbr && cur_frm.cscript.has_special_chars(doc.abbr)){
|
||||||
msgprint("<font color=red>"wn._("Special Characters ")+"<b>! @ # $ % ^ * + = - [ ] ' ; , / { } | : < > ?</b>" +
|
msgprint("<font color=red>"+wn._("Special Characters ")+"<b>! @ # $ % ^ * + = - [ ] ' ; , / { } | : < > ?</b>" +
|
||||||
wn._("are not allowed for")+ "</font>\nAbbr <b>" + doc.abbr +"</b>")
|
wn._("are not allowed for")+ "</font>\nAbbr <b>" + doc.abbr +"</b>")
|
||||||
doc.abbr = '';
|
doc.abbr = '';
|
||||||
refresh_field('abbr');
|
refresh_field('abbr');
|
||||||
|
|||||||
Reference in New Issue
Block a user