i18n: fix solid-delete
This commit is contained in:
parent
b941c00144
commit
0d4c2738d8
@ -20,7 +20,7 @@ solid-widget(name='hubl-create')
|
|||||||
br
|
br
|
||||||
span(data-trans="menuLeft.emptyCircleProject.createNew")
|
span(data-trans="menuLeft.emptyCircleProject.createNew")
|
||||||
span
|
span
|
||||||
solid-link(next='admin', data-trans="menuLeft.emptyCircleProject.adminPanel")
|
solid-link(next="${value == 'projet' ? 'admin-projects' : 'admin-circles'}", data-trans="menuLeft.emptyCircleProject.adminPanel")
|
||||||
|
|
||||||
solid-widget(name='hubl-menu-fix-url-circle')
|
solid-widget(name='hubl-menu-fix-url-circle')
|
||||||
template
|
template
|
||||||
|
@ -39,6 +39,12 @@ class JsI18n {
|
|||||||
if (attr == "html") {
|
if (attr == "html") {
|
||||||
this.translateNodeContent(node, k);
|
this.translateNodeContent(node, k);
|
||||||
} else {
|
} else {
|
||||||
|
if(node.tagName == "SOLID-DELETE") {
|
||||||
|
let button = node.querySelector('button');
|
||||||
|
if(button != null) {
|
||||||
|
this.translateNodeContent(button, k);
|
||||||
|
}
|
||||||
|
}
|
||||||
this.translateNodeContent(node.attributes[attr], k);
|
this.translateNodeContent(node.attributes[attr], k);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,5 +61,5 @@ div.content-box__info.flex
|
|||||||
next='admin-communities-list'
|
next='admin-communities-list'
|
||||||
|
|
||||||
submit-button=''
|
submit-button=''
|
||||||
data-trans='label-user.first_name=user.create.labelFirstname;label-user.last_name=user.create.labelLastname;label-user.username=user.create.labelUsername;user.create.labelEmail;submit-button=user.create.buttonSubmit'
|
data-trans='label-user.first_name=user.create.labelFirstname;label-user.last_name=user.create.labelLastname;label-user.username=user.create.labelUsername;label-user.email=user.create.labelEmail;submit-button=user.create.buttonSubmit'
|
||||||
)
|
)
|
||||||
|
@ -68,7 +68,7 @@ div.content-box__info
|
|||||||
widget-user='solid-form-dropdown-autocompletion'
|
widget-user='solid-form-dropdown-autocompletion'
|
||||||
|
|
||||||
submit-button=''
|
submit-button=''
|
||||||
data-trans='circle.edit.buttonAddMember'
|
data-trans='submit-button=circle.edit.buttonAddMember'
|
||||||
)
|
)
|
||||||
|
|
||||||
.table-wrapper
|
.table-wrapper
|
||||||
|
Loading…
Reference in New Issue
Block a user