Support translations

This commit is contained in:
Misode
2019-12-20 19:09:33 +01:00
parent 9d038dc3bc
commit 1c5dc81f47
2 changed files with 6 additions and 5 deletions
+3 -5
View File
@@ -38,12 +38,10 @@
<div id="lngList" class="dropdown-menu"></div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="" role="button" data-toggle="dropdown">
Theme
</a>
<a class="nav-link dropdown-toggle" href="" role="button" data-toggle="dropdown" data-i18n="theme"></a>
<div class="dropdown-menu">
<a class="dropdown-item" onclick="changeTheme('light')">Light</a>
<a class="dropdown-item" onclick="changeTheme('dark')">Dark</a>
<a class="dropdown-item" onclick="changeTheme('light')" data-i18n="theme.light"></a>
<a class="dropdown-item" onclick="changeTheme('dark')" data-i18n="theme.dark"></a>
</div>
</li>
</ul>
+3
View File
@@ -322,6 +322,9 @@
"tabs": "Tabs",
"term_add": "Add Term",
"term_remove": "Remove Term",
"theme": "Theme",
"theme.light": "Light",
"theme.dark": "Dark",
"title.loot-table": "Loot Table Generator",
"title.predicate": "Predicate Generator",
"true": "True",