Use lang file in typescript

This commit is contained in:
Harvey Tindall
2021-01-12 23:15:12 +00:00
parent c470e40737
commit 422f13202b
13 changed files with 229 additions and 97 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
window.emailEnabled = {{ .email_enabled }};
window.ombiEnabled = {{ .ombiEnabled }};
window.usernamesEnabled = {{ .username }};
window.langFile = JSON.parse({{ .language }});
</script>
{{ template "header.html" . }}
<title>Admin - jfa-go</title>
@@ -264,7 +265,7 @@
</div>
<div id="tab-settings" class="unfocused">
<div class="card ~neutral !low settings overflow">
<span class="heading">{{ .string.settings }}</span>
<span class="heading">{{ .strings.settings }}</span>
<div class="fr">
<span class="button ~neutral !normal unfocused" id="settings-save">{{ .strings.settingsSave }}</span>
</div>