Commit 35d89cde authored by Tamara Schmitz's avatar Tamara Schmitz Committed by derf
Browse files

localization: add more account page strings to locales

parent 5d0feca7
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -113,6 +113,27 @@ msgstr "Vorschläge deaktiviert"
msgid "account.visibility"
msgstr "Sichtbarkeit"

msgid "account.webhook"
msgstr "Webhook"

msgid "account.webhook.disabled"
msgstr "Nicht eingerichtet"

msgid "account.webhook.active_pending"
msgstr "Aktiv, noch nicht ausgeführt"

msgid "account.webhook.active_error"
msgstr "Aktiv, fehlerhaft"

msgid "account.webhook.active"
msgstr "Aktiv"

msgid "account.traewelling.unsupported"
msgstr "Wird wegen Inkompatibilität zwischen bahn.de und transitous derzeit nicht unterstützt"

msgid "account.registration_date"
msgstr "Registriert am"

msgid "account.interaction"
msgstr "Interaktion"

+21 −0
Original line number Diff line number Diff line
@@ -113,6 +113,27 @@ msgstr "Suggestions disabled"
msgid "account.visibility"
msgstr "Visibility"

msgid "account.webhook"
msgstr "Webhook"

msgid "account.webhook.disabled"
msgstr "No webhook was configured"

msgid "account.webhook.active_pending"
msgstr "Active and Pending"

msgid "account.webhook.active_error"
msgstr "Active with Error"

msgid "account.webhook.active"
msgstr "Active"

msgid "account.traewelling.unsupported"
msgstr "Unsupported due to incompatibility with bahn.de and transitous"

msgid "account.registration_date"
msgstr "Registered on"

msgid "account.interaction"
msgstr "Interaction"

+7 −7
Original line number Diff line number Diff line
@@ -109,20 +109,20 @@
				</td>
			</tr>
			<tr>
				<th scope="row">Web Hook</th>
				<th scope="row"><%= L('account.webhook') %></th>
				<td>
					<a href="/account/hooks"><i class="material-icons">edit</i></a>
					% if (not $hook->{enabled}) {
						<span style="color: #999999;">Nicht eingerichtet</span>
						<span style="color: #999999;"><%= L('account.webhook.disabled') %></span>
					% }
					% elsif ($hook->{latest_run}->epoch == 0) {
						Aktiv, noch nicht ausgeführt
						<%= L('account.webhook.active_pending') %>
					% }
					% elsif ($hook->{errored}) {
						Aktiv, fehlerhaft <i class="material-icons" aria-hidden="true">error</i>
						<%= L('account.webhook.active_error') %> <i class="material-icons" aria-hidden="true">error</i>
					% }
					% else {
						Aktiv
						<%= L('account.webhook.active') %>
					% }
				</td>
			</tr>
@@ -130,7 +130,7 @@
				<tr>
					<th scope="row">Träwelling</th>
					<td>
						Wird wegen Inkompatibilität zwischen bahn.de und transitous derzeit nicht unterstützt
						<%= L('account.traewelling.unsupported') %>
					<!--
						<a href="/account/traewelling"><i class="material-icons">edit</i></a>
						% if (not ($traewelling->{token})) {
@@ -159,8 +159,8 @@
				</tr>
			% }
			<tr>
				<th scope="row">Registriert am</th>
				<td><%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %></td>
				<th scope="row"><%= L('account.registration_date') %></th>
			</tr>
		</table>
	</div>