minor: i18n component writing - #1050
This commit is contained in:
@ -175,6 +175,13 @@ html(lang="en")
|
||||
if component.type == "notification"
|
||||
include views/partials/notifications.pug
|
||||
|
||||
if component.type == "lang"
|
||||
hubl-lang(
|
||||
hidden
|
||||
lang=component.parameters.name
|
||||
file=component.parameters.file
|
||||
)
|
||||
|
||||
if componentSet.has('profileDirectory')
|
||||
.scrollbar-content(
|
||||
id=`${getRoute("profileDirectory", true)}-profile`
|
||||
@ -220,13 +227,6 @@ html(lang="en")
|
||||
hidden
|
||||
lang=client.i18n.lang?client.i18n.lang:"fr"
|
||||
)&attributes({"force": client.i18n.force})
|
||||
if client.i18n.files
|
||||
for clientI18n in client.i18n.files
|
||||
hubl-lang(
|
||||
hidden
|
||||
lang=clientI18n.name
|
||||
file=clientI18n.file
|
||||
)
|
||||
|
||||
div(
|
||||
id="swal-content-text"
|
||||
|
Reference in New Issue
Block a user