refactor: use translation context for Edit button in Grid Row

This commit is contained in:
Florian HENRY 2023-09-28 11:08:11 +02:00
parent f2277b9254
commit 4708979e0f
2 changed files with 2 additions and 1 deletions

View file

@ -338,7 +338,7 @@ export default class GridRow {
this.open_form_button = $(`
<div class="btn-open-row">
<a>${frappe.utils.icon("edit", "xs")}</a>
<div class="hidden-md edit-grid-row">${__("Edit")}</div>
<div class="hidden-md edit-grid-row">${__("Edit", "", "edit-grid-row")}</div>
</div>
`)
.appendTo(this.open_form_button)

View file

@ -4852,3 +4852,4 @@ Published on,Publié le,
Bottom,Bas,
Top,Haut,
List View,Vue en liste,
Edit:edit-grid-row,Détail

Can't render this file because it has a wrong number of fields in line 4670.