fix: add missing translation function to webform list strings (#33080)
* fix: add missing translation function to webform list strings * fix: format file
This commit is contained in:
parent
95d790b775
commit
da0becc6cf
1 changed files with 4 additions and 2 deletions
|
|
@ -279,7 +279,7 @@ export default class WebFormList {
|
|||
const actions = $(".web-list-actions");
|
||||
|
||||
frappe.has_permission(this.doctype, "", "delete", () => {
|
||||
this.add_button(actions, "delete-rows", "danger", true, "Delete", () =>
|
||||
this.add_button(actions, "delete-rows", "danger", true, __("Delete"), () =>
|
||||
this.delete_rows()
|
||||
);
|
||||
});
|
||||
|
|
@ -302,7 +302,9 @@ export default class WebFormList {
|
|||
create_more() {
|
||||
if (this.rows.length >= this.page_length) {
|
||||
const footer = $(".web-list-footer");
|
||||
this.add_button(footer, "more", "secondary", false, "Load More", () => this.more());
|
||||
this.add_button(footer, "more", "secondary", false, __("Load More"), () =>
|
||||
this.more()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue