Updated template for i18n

ref #5
This commit is contained in:
Nicolai Ort 2021-02-05 21:20:20 +01:00
parent 75eb925267
commit a596188c00
2 changed files with 7 additions and 9 deletions

View File

@ -1,7 +1,5 @@
{
"test1": "Change Language to",
"test2": "What is good?",
"id": "ID",
"firstname": "FIRSTNAME",
"asd": "asd"
}
"firstname": "firstname",
"lastname": "lastname",
"group": "group"
}

View File

@ -7,9 +7,9 @@
<body>
<div class="page">
<p>ID: {{runner.id}}</p>
<p>FIRSTNAME: {{runner.firstname}}</p>
<p>LASTNAME: {{runner.lastname}}</p>
<p>GROUP: {{runner.group.name}}</p>
<p>{{__ "firstname"}}: {{runner.firstname}}</p>
<p>{__ "lastname"}: {{runner.lastname}}</p>
<p>{__ "group"}: {{runner.group.name}}</p>
</div>
</body>
</html>