summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-12-25 20:58:55 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-12-25 20:58:55 +0100
commit17da239ee4c78975e1142f5777c60d7556e70b19 (patch)
treec3295d45bb85f221387aa68bff5b4e93da099612
parent84ff184fb0fa8852fe036d95058057b562348d5c (diff)
history: localize link to review
-rw-r--r--share/locales/de_DE.po5
-rw-r--r--share/locales/en_GB.po5
-rw-r--r--templates/history_by_year.html.ep2
3 files changed, 11 insertions, 1 deletions
diff --git a/share/locales/de_DE.po b/share/locales/de_DE.po
index 6a4600f..8a51083 100644
--- a/share/locales/de_DE.po
+++ b/share/locales/de_DE.po
@@ -223,6 +223,11 @@ msgstr "Korrekte Berechnung und Visualisierung der Wegstrecke bei Fahrten mit Ri
msgid "changelog.2-17.1"
msgstr "Kartendaten („Polylines“) zu einzelnen Fahrten können nun als GPX ex- und importiert werden. Somit können Kartendaten nachträglich korrigiert oder nachgepflegt werden. Das GPX-Datenformat ist mit BRouter-Web kompatibel."
+# history.html.ep
+
+msgid "history.review"
+msgstr "Rückblick"
+
# journey.html.ep
msgid "journey.not-found"
diff --git a/share/locales/en_GB.po b/share/locales/en_GB.po
index 8823f21..12a8559 100644
--- a/share/locales/en_GB.po
+++ b/share/locales/en_GB.po
@@ -223,6 +223,11 @@ msgstr "Fix distance calculation and visualization of ring line trips. Trips sho
msgid "changelog.2-17.1"
msgstr "Map data (“polylines”) for individual trips can now be exported and imported in the GPX format. This allows map data to be corrected or augmented after the fact. The GPX import/export is compatible with BRouter-Web."
+
+# history.html.ep
+msgid "history.review"
+msgstr "Review"
+
# journey.html.ep
msgid "journey.not-found"
diff --git a/templates/history_by_year.html.ep b/templates/history_by_year.html.ep
index 1557b77..4fe87ab 100644
--- a/templates/history_by_year.html.ep
+++ b/templates/history_by_year.html.ep
@@ -11,7 +11,7 @@
</div>
<div class="col s12 m12 l2">&nbsp;</div>
<div class="col s12 m12 l5 center-align">
- <a href="/history/<%= $year %>/review" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">camera_roll</i> Rückblick</a>
+ <a href="/history/<%= $year %>/review" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">camera_roll</i> <%= L('history.review') %></a>
</div>
% }
% else {