summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-07-18 16:42:28 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-07-18 16:42:28 +0200
commit9bf27132cbf2f87bca5af564914d96a57045ecc1 (patch)
tree8e6005affe90216548a8f2c38c49e17aed6352bd
parent90c2c6505e933848268ed9c5bbe21e0b459cd72a (diff)
Translate footer components
-rw-r--r--share/locales/de_DE.po29
-rw-r--r--share/locales/en_GB.po29
-rw-r--r--templates/layouts/default.html.ep14
3 files changed, 65 insertions, 7 deletions
diff --git a/share/locales/de_DE.po b/share/locales/de_DE.po
index 190b577..efc5a3e 100644
--- a/share/locales/de_DE.po
+++ b/share/locales/de_DE.po
@@ -10,6 +10,27 @@ msgstr ""
msgid "button.logout"
msgstr "Abmelden"
+msgid "footer.imprint"
+msgstr "Impressum"
+
+msgid "footer.privacy"
+msgstr "Datenschutz"
+
+msgid "footer.legend"
+msgstr "Legende"
+
+msgid "footer.colour-scheme"
+msgstr "Farbschema"
+
+msgid "footer.colour-scheme.light"
+msgstr "hell"
+
+msgid "footer.colour-scheme.dark"
+msgstr "dunkel"
+
+msgid "footer.colour-scheme.auto"
+msgstr "automatisch"
+
# account.html.ep
msgid "account.account"
@@ -24,6 +45,9 @@ msgstr "E-Mail"
msgid "account.password"
msgstr "Passwort"
+msgid "account.language"
+msgstr "Sprache"
+
msgid "account.connections"
msgstr "Verbindungen"
@@ -56,3 +80,8 @@ msgstr "offene Anfragen"
msgid "account.interaction.disabled"
msgstr "Accounts können dir nicht folgen"
+
+# _public_status_card.html.ep
+
+msgid "status.is-not-checked-in"
+msgstr "ist gerade nicht eingecheckt"
diff --git a/share/locales/en_GB.po b/share/locales/en_GB.po
index 1bfcbc3..0dc29fb 100644
--- a/share/locales/en_GB.po
+++ b/share/locales/en_GB.po
@@ -10,6 +10,27 @@ msgstr ""
msgid "button.logout"
msgstr "Logout"
+msgid "footer.imprint"
+msgstr "Imprint"
+
+msgid "footer.privacy"
+msgstr "Privacy"
+
+msgid "footer.legend"
+msgstr "Legend"
+
+msgid "footer.colour-scheme"
+msgstr "Display Mode"
+
+msgid "footer.colour-scheme.light"
+msgstr "light"
+
+msgid "footer.colour-scheme.dark"
+msgstr "dark"
+
+msgid "footer.colour-scheme.auto"
+msgstr "auto"
+
# account.html.ep
msgid "account.account"
@@ -24,6 +45,9 @@ msgstr "E-Mail"
msgid "account.password"
msgstr "Password"
+msgid "account.language"
+msgstr "Language"
+
msgid "account.connections"
msgstr "Connections"
@@ -56,3 +80,8 @@ msgstr "open requests"
msgid "account.interaction.disabled"
msgstr "Accounts cannot follow you"
+
+# _public_status_card.html.ep
+
+msgid "status.is-not-checked-in"
+msgstr "ist not in transit right now"
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 2279789..ec3b5e0 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -131,21 +131,21 @@
<div class="col s12 center-align grey-text">
<a href="/about">travelynx</a> v<%= $version // '???' %>
<span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
- <a href="/impressum">Impressum</a>
+ <a href="/impressum"><%= L('footer.imprint') %></a>
<span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
- <a href="/impressum">Datenschutz</a>
+ <a href="/impressum"><%= L('footer.privacy') %></a>
<span style="margin-left: 0.5em; margin-right: 0.5em;">–</span>
- <a href="/legend">Legende</a>
+ <a href="/legend"><%= L('footer.legend') %></a>
</div>
</div>
<div class="row">
<div class="col s12 center-align grey-text config">
- Farbschema:
- <a onClick="javascript:setTheme('light')">hell</a>
+ <%= L('footer.colour-scheme') %>:
+ <a onClick="javascript:setTheme('light')"><%= L('footer.colour-scheme.light') %></a>
·
- <a onClick="javascript:setTheme('dark')">dunkel</a>
+ <a onClick="javascript:setTheme('dark')"><%= L('footer.colour-scheme.dark') %></a>
·
- <a onClick="javascript:setTheme('default')">automatisch</a>
+ <a onClick="javascript:setTheme('default')"><%= L('footer.colour-scheme.auto') %></a>
</div>
</div>
</div>