Merge pull request #7988 from scmmishra/web-form-grid-translation
refactor: translated table headings
This commit is contained in:
commit
a2fc720ccf
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ export default class WebFormList {
|
|||
add_heading(row, "Sr.");
|
||||
this.columns.forEach(col => {
|
||||
let th = document.createElement("th");
|
||||
let text = document.createTextNode(col.label);
|
||||
let text = document.createTextNode(__(col.label));
|
||||
th.appendChild(text);
|
||||
row.appendChild(th);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue