Add dynamic i18n to profile views

This commit is contained in:
Cohee
2024-09-07 13:36:19 +03:00
parent c77c3d8f37
commit 6d9c64f38e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
</h2> </h2>
<ul class="justifyLeft"> <ul class="justifyLeft">
{{#each profile}} {{#each profile}}
<li><strong>{{@key}}:</strong>&nbsp;{{this}}</li> <li><strong data-i18n="{{@key}}">{{@key}}:</strong>&nbsp;{{this}}</li>
{{/each}} {{/each}}
</ul> </ul>
<h3 data-i18n="Enter a name:"> <h3 data-i18n="Enter a name:">

View File

@ -1,5 +1,5 @@
<ul> <ul>
{{#each profile}} {{#each profile}}
<li><strong>{{@key}}:</strong>&nbsp;{{this}}</li> <li><strong data-i18n="{{@key}}">{{@key}}:</strong>&nbsp;{{this}}</li>
{{/each}} {{/each}}
</ul> </ul>