Merge pull request #248 from MaxMorais/patch-3
Fix Translation in Field Description
This commit is contained in:
commit
ff31652c4d
1 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ wn.ui.form.ControlInput = wn.ui.form.Control.extend({
|
|||
if(this.only_input || this.df.description===this._description)
|
||||
return;
|
||||
if(this.df.description) {
|
||||
this.$wrapper.find(".help-box").html(this.df.description);
|
||||
this.$wrapper.find(".help-box").html(wn._(this.df.description));
|
||||
} else {
|
||||
this.set_empty_description();
|
||||
}
|
||||
|
|
@ -807,4 +807,4 @@ wn.ui.form.fieldtype_icons = {
|
|||
"Datetime": "icon-time",
|
||||
"Code": "icon-code",
|
||||
"Select": "icon-flag"
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue