refactor: use translation context for Edit button in Grid Row
This commit is contained in:
parent
f2277b9254
commit
4708979e0f
2 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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.
|
Loading…
Add table
Reference in a new issue