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:
Flavia de Castro 2025-06-25 08:37:34 -03:00 committed by GitHub
parent 95d790b775
commit da0becc6cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()
);
}
}