summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/locales/de_DE.po18
-rw-r--r--share/locales/en_GB.po18
-rw-r--r--share/locales/reference.md54
-rw-r--r--share/locales/template.pot76
-rw-r--r--templates/account.html.ep18
5 files changed, 171 insertions, 13 deletions
diff --git a/share/locales/de_DE.po b/share/locales/de_DE.po
index 334f0b0..a9d4870 100644
--- a/share/locales/de_DE.po
+++ b/share/locales/de_DE.po
@@ -188,6 +188,24 @@ msgstr "offene Anfragen"
msgid "account.interaction.disabled"
msgstr "Accounts können dir nicht folgen"
+msgid "account.profile"
+msgstr "Öffentliches Profil"
+
+msgid "account.interaction.requests"
+msgstr "Offene anfragen"
+
+msgid "account.interaction.requests.incoming.none"
+msgstr "keine eingehend"
+
+msgid "account.interaction.requests.incoming.some"
+msgstr "eingehend"
+
+msgid "account.interaction.requests.outgoing.none"
+msgstr "keine ausgehend"
+
+msgid "account.interaction.requests.outgoing.some"
+msgstr "ausgehend"
+
# changelog.html.ep
msgid "changelog.added"
diff --git a/share/locales/en_GB.po b/share/locales/en_GB.po
index 8834e35..abe5f1d 100644
--- a/share/locales/en_GB.po
+++ b/share/locales/en_GB.po
@@ -188,6 +188,24 @@ msgstr "open requests"
msgid "account.interaction.disabled"
msgstr "Accounts cannot follow you"
+msgid "account.profile"
+msgstr "Public profile page"
+
+msgid "account.interaction.requests"
+msgstr "Pending requests"
+
+msgid "account.interaction.requests.incoming.none"
+msgstr "none incoming"
+
+msgid "account.interaction.requests.incoming.some"
+msgstr "incoming"
+
+msgid "account.interaction.requests.outgoing.none"
+msgstr "none outgoing"
+
+msgid "account.interaction.requests.outgoing.some"
+msgstr "outgoing"
+
# changelog.html.ep
msgid "changelog.added"
diff --git a/share/locales/reference.md b/share/locales/reference.md
index 2983bbb..7778548 100644
--- a/share/locales/reference.md
+++ b/share/locales/reference.md
@@ -2,9 +2,9 @@
* de-DE: 100.0% complete (0 missing)
* en-GB: 100.0% complete (0 missing)
-* fr-FR: 31.2% complete (128 missing)
-* hu-HU: 87.6% complete (23 missing)
-* pl-PL: 39.8% complete (112 missing)
+* fr-FR: 30.9% complete (130 missing)
+* hu-HU: 86.7% complete (25 missing)
+* pl-PL: 39.4% complete (114 missing)
###
@@ -498,6 +498,54 @@ Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n>=2 && n<=4 && (n<10 || n>=20) ? 1
* hu-HU: Senki sem követhet
* pl-PL: Inne konta nie mogą cię obserwować
+### account.profile
+
+* de-DE: Öffentliches Profil
+* en-GB: Public profile page
+* fr-FR *missing*
+* hu-HU *missing*
+* pl-PL *missing*
+
+### account.interaction.requests
+
+* de-DE: Offene anfragen
+* en-GB: Pending requests
+* fr-FR *missing*
+* hu-HU *missing*
+* pl-PL *missing*
+
+### account.interaction.requests.incoming.none
+
+* de-DE: keine eingehend
+* en-GB: none incoming
+* fr-FR *missing*
+* hu-HU *missing*
+* pl-PL *missing*
+
+### account.interaction.requests.incoming.some
+
+* de-DE: eingehend
+* en-GB: incoming
+* fr-FR *missing*
+* hu-HU *missing*
+* pl-PL *missing*
+
+### account.interaction.requests.outgoing.none
+
+* de-DE: keine ausgehend
+* en-GB: none outgoing
+* fr-FR *missing*
+* hu-HU *missing*
+* pl-PL *missing*
+
+### account.interaction.requests.outgoing.some
+
+* de-DE: ausgehend
+* en-GB: outgoing
+* fr-FR *missing*
+* hu-HU *missing*
+* pl-PL *missing*
+
## changelog.html.ep
### changelog.added
diff --git a/share/locales/template.pot b/share/locales/template.pot
index f5c7ef1..f609776 100644
--- a/share/locales/template.pot
+++ b/share/locales/template.pot
@@ -152,7 +152,7 @@ msgstr ""
msgid "account.webhook.disabled"
msgstr ""
-msgid "account.webhook.active-ppending"
+msgid "account.webhook.active-pending"
msgstr ""
msgid "account.webhook.active-error"
@@ -188,6 +188,24 @@ msgstr ""
msgid "account.interaction.disabled"
msgstr ""
+msgid "account.profile"
+msgstr ""
+
+msgid "account.interaction.requests"
+msgstr ""
+
+msgid "account.interaction.requests.incoming.none"
+msgstr ""
+
+msgid "account.interaction.requests.incoming.some"
+msgstr ""
+
+msgid "account.interaction.requests.outgoing.none"
+msgstr ""
+
+msgid "account.interaction.requests.outgoing.some"
+msgstr ""
+
# changelog.html.ep
msgid "changelog.added"
@@ -202,6 +220,9 @@ msgstr ""
msgid "changelog.2-16.2"
msgstr ""
+msgid "changelog.2-17.1"
+msgstr ""
+
# journey.html.ep
msgid "journey.not-found"
@@ -270,6 +291,30 @@ msgstr ""
msgid "journey.edit"
msgstr ""
+msgid "journey.map-data"
+msgstr ""
+
+msgid "journey.map.download"
+msgstr ""
+
+msgid "journey.map.upload"
+msgstr ""
+
+msgid "journey.map.upload-full"
+msgstr ""
+
+msgid "journey.map.upload-partial"
+msgstr ""
+
+msgid "journey.map.info.download"
+msgstr ""
+
+msgid "journey.map.info.upload"
+msgstr ""
+
+msgid "journey.danger"
+msgstr ""
+
msgid "journey.delete"
msgstr ""
@@ -528,6 +573,35 @@ msgstr ""
msgid "status.force-checkout"
msgstr ""
+# _history_stats.html.ep
+
+msgid "stats.trips"
+msgstr ""
+
+msgid "stats.distance"
+msgstr ""
+
+msgid "stats.time"
+msgstr ""
+
+msgid "stats.hours"
+msgstr ""
+
+msgid "stats.per-schedule"
+msgstr ""
+
+msgid "stats.transfer-time"
+msgstr ""
+
+msgid "stats.total-delay"
+msgstr ""
+
+msgid "stats.on-dep"
+msgstr ""
+
+msgid "stats.on-arr"
+msgstr ""
+
# _wagons.html.ep
msgid "wagons.name-as-type"
diff --git a/templates/account.html.ep b/templates/account.html.ep
index 5539a39..17f708f 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -179,32 +179,32 @@
% if ($num_rx_follow_requests or $num_tx_follow_requests or $num_followers or $num_following or $num_blocked) {
<div class="row">
<div class="col s12">
- <h2>Interaktion</h2>
+ <h2><%= L('account.interaction') %></h2>
<p>
- <a href="/p/<%= $acc->{name} %>">Öffentliches Profil</a>
+ <a href="/p/<%= $acc->{name} %>"><%= L('account.profile') %></a>
</p>
<table class="striped">
<tr>
- <th scope="row">Anfragen</th>
+ <th scope="row"><%= L('account.interaction.requests') %></th>
<td>
% if ($num_rx_follow_requests == 0) {
- <span style="color: #999999;">keine eingehend</span>
+ <span style="color: #999999;"><%= L('account.interaction.requests.incoming.none') %></span>
% }
% elsif ($num_rx_follow_requests == 1) {
- <a href="/account/social/follow-requests-received"><strong>eine</strong> eingehend</a>
+ <a href="/account/social/follow-requests-received"><strong><%= L('account.interaction.one') %></strong> <%= L('account.interaction.requests.incoming.some') %></a>
% }
% else {
- <a href="/account/social/follow-requests-received"><strong><%= $num_rx_follow_requests %></strong> eingehend</a>
+ <a href="/account/social/follow-requests-received"><strong><%= $num_rx_follow_requests %></strong> <%= L('account.interaction.requests.incoming.some') %></a>
% }
<br/>
% if ($num_tx_follow_requests == 0) {
- <span style="color: #999999;">keine ausgehend</span>
+ <span style="color: #999999;"><%= L('account.interaction.requests.outgoing.none') %></span>
% }
% elsif ($num_tx_follow_requests == 1) {
- <a href="/account/social/follow-requests-sent"><strong>eine</strong> ausgehend</a>
+ <a href="/account/social/follow-requests-sent"><strong><%= L('account.interaction.one') %></strong> <%= L('account.interaction.requests.outgoing.some') %></a>
% }
% else {
- <a href="/account/social/follow-requests-sent"><strong><%= $num_tx_follow_requests %></strong> ausgehend</a>
+ <a href="/account/social/follow-requests-sent"><strong><%= $num_tx_follow_requests %></strong> <%= L('account.interaction.requests.outgoing.some') %></a>
% }
</td>
</tr>