From 3cb6784448cd4bd635a39b0da4aabf983b993633 Mon Sep 17 00:00:00 2001 From: Dietrich Date: Tue, 30 Mar 2021 17:43:35 +0200 Subject: [PATCH] translate linklist index --- locales/de/main.ftl | 3 ++- locales/en/main.ftl | 3 ++- templates/index.html | 12 ++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/locales/de/main.ftl b/locales/de/main.ftl index 06d862d..3bfd6da 100644 --- a/locales/de/main.ftl +++ b/locales/de/main.ftl @@ -23,4 +23,5 @@ password = Passwort password-placeholder = Leer lassen um das Passwort nicht zu ändern save-user = Benutzer speichern -userid = Benutzernummer \ No newline at end of file +userid = Benutzernummer +statistics = Statistik \ No newline at end of file diff --git a/locales/en/main.ftl b/locales/en/main.ftl index 68781ab..65bc2e1 100644 --- a/locales/en/main.ftl +++ b/locales/en/main.ftl @@ -23,4 +23,5 @@ password = Password password-placeholder = Leave this empty to keep the current password save-user = Save this user -userid = User ID \ No newline at end of file +userid = User ID +statistics = Statistics \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index e81308b..7f7c276 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,16 +11,20 @@ - Kürzel + {{ fluent(key="link-code", lang=user.language) + }} - Ziellink + {{ fluent(key="link-target", lang=user.language) + }} - Benutzername + {{ fluent(key="username", lang=user.language) + }} - Statistik + {{ fluent(key="statistics", lang=user.language) + }} {% for links_user in links_per_users %}