diff --git a/public/js/wn/form/control.js b/public/js/wn/form/control.js index 31fc7c53bf..0e4bcefb4c 100644 --- a/public/js/wn/form/control.js +++ b/public/js/wn/form/control.js @@ -29,7 +29,7 @@ wn.ui.form.Control = Class.extend({ // if developer_mode=1, show fieldname as tooltip if(wn.boot.profile && wn.boot.profile.name==="Administrator" && wn.boot.developer_mode===1 && this.$wrapper) { - this.$wrapper.attr("title", this.df.fieldname); + this.$wrapper.attr("title", wn._(this.df.fieldname)); } }, make: function() { @@ -788,7 +788,7 @@ wn.ui.form.ControlTable = wn.ui.form.Control.extend({ // add title if prev field is not column / section heading or html if(["Column Break", "Section Break", "HTML"].indexOf( wn.model.get("DocField", {parent: this.frm.doctype, idx: this.df.idx-1}).fieldtype)===-1) { - $("