aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-07-29 21:43:00 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-07-29 21:43:00 +0200
commit38230599d68ae097e886222f5c2384fe6dd9b5bc (patch)
treefbb2e051564b128fb19f27ffb19d780c7429d023 /src/templates
parentb56bc988851f219f50cf29ed52f5775fc30b6cbe (diff)
Switch dummy translations for the real-deal
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/language.html.tmpl20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/templates/language.html.tmpl b/src/templates/language.html.tmpl
index 78703fc..a79e30c 100644
--- a/src/templates/language.html.tmpl
+++ b/src/templates/language.html.tmpl
@@ -21,13 +21,19 @@
const Δt = 5000; /* Total time a text is shown */
const Δf = 1000; /* Fade duration */
const texts = [
- // ["en", "Select Your Language", "Eurozone Languages", "Other Languages"],
- ["nl", "Kies uw taal", "Eurozone talen", "Andere talen"],
- ["sv", "Välj ditt språk", "Eurozonens språk", "Andra språk"],
- ["fi", "Valitse kieli", "Euroalueen kielet", "Muut kielet"],
- ["de", "Wählen Sie Ihre Sprache", "Eurozone Sprachen", "Weitere Sprachen"],
- ["el", "Επιλέξτε τη γλώσσα σας", "Γλώσσες Ευρωζώνης", "Άλλες γλώσσες"],
- ["bg", "Изберете език", "Езици на еврозоната", "Други езици"],
+ {{ $save := . }}
+ {{ $ps := .Printers }}
+ {{ range locales }}
+ {{ if (and .Enabled (ne .Bcp $save.Printer.Bcp)) }}
+ [
+ "{{ .Bcp }}",
+ {{ $p := (index $ps .Bcp) }}
+ "{{ $p.Get `Select Your Language` }}",
+ "{{ $p.Get `Eurozone Languages` }}",
+ "{{ $p.Get `Other Languages` }}",
+ ],
+ {{ end }}
+ {{ end }}
];
const updateTexts = () => {