feat(i18n): add translations for the new languages (de, es, fr, it, CJK)

This commit is contained in:
Sped0n
2023-11-03 14:19:06 +08:00
parent e2861aa645
commit f4eda42785
19 changed files with 137 additions and 17 deletions

View File

@@ -3,7 +3,12 @@
{{- $currentPage := . -}}
{{- with partial "function/currentMenuItem.html" . -}}
{{- partial "resources/imageJSON.html" (dict "Path" .DirName "Page" $currentPage) -}}
<script>document.getElementById("main").setAttribute("currentMenuItemIndex", "{{- (sub .ID 1) -}}")</script>
<script>
document.getElementById("main").setAttribute("currentMenuItemIndex", "{{- (sub .ID 1) -}}")
document.getElementById("main").setAttribute("nextText", "{{- i18n "next" -}}")
document.getElementById("main").setAttribute("prevText", "{{- i18n "prev" -}}")
document.getElementById("main").setAttribute("closeText", "{{- i18n "close" -}}")
</script>
{{- end -}}
<div class="container">
{{- partial "nav.html" . -}}