Unverified Commit 67d756f3 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

more translations

parent 8cb0d65e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -433,7 +433,7 @@ sub startup {
			elsif ( my $languages = $self->req->headers->accept_language ) {
				for my $lang ( split( qr{ \s* , \s* }x, $languages ) ) {
					if ( $lang =~ m{ ^ de }x ) {
						push( @languages, 'en-GB' );
						push( @languages, 'de-DE' );
					}
					elsif ( $lang =~ m{ ^ en }x ) {
						push( @languages, 'en-GB' );
+81 −37
Original line number Diff line number Diff line
@@ -5,7 +5,15 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

# Global
#
# Global Strings
#

msgid "button.register"
msgstr "Registrieren"

msgid "button.login"
msgstr "Anmelden"

msgid "button.logout"
msgstr "Abmelden"
@@ -31,6 +39,10 @@ msgstr "dunkel"
msgid "footer.colour-scheme.auto"
msgstr "automatisch"

#
# Templates
#

# account.html.ep

msgid "account.account"
@@ -81,6 +93,67 @@ msgstr "offene Anfragen"
msgid "account.interaction.disabled"
msgstr "Accounts können dir nicht folgen"

# login.html.ep

msgid "login.accept-tos-pre"
msgstr "Mit der Anmeldung stimmst du den"

msgid "login.tos"
msgstr "Nutzungsbedingungen"

msgid "login.accept-tos-post"
msgstr "zu."

msgid "login.forgot-password"
msgstr "Passwort vergessen"

msgid "login.registration-disabled"
msgstr "Diese Instanz erlaubt derzeit keine Registrierung neuer Accounts"

# register.html.ep

msgid "register.name"
msgstr "Name (alphanumerisch)"

msgid "register.mail"
msgstr "E-Mail-Adresse"

msgid "register.password"
msgstr "Passwort"

msgid "register.repeat-password"
msgstr "Passwort wiederholen"

msgid "register.accept-tos-pre"
msgstr "Mit deiner Registrierung stimmst du den"

msgid "register.tos"
msgstr "Nutzungsbedingungen"

msgid "register.accept-tos-post"
msgstr "zu."

msgid "register.expect-confirmation-link"
msgstr "Nach der Registrierung wird ein für 48 Stunden gültiger Bestätigungslink an die angegebene Mail-Adresse geschickt. Eine Anmeldung ist erst nach Bestätigung der Mail-Adresse möglich."

msgid "register.why-mail"
msgstr "Die Mail-Adresse wird ausschließlich zur Bestätigung der Anmeldung, für die „Passwort vergessen“-Funktionalität und für wichtige Informationen über den Account verwendet und nicht an Dritte weitergegeben."

msgid "register.privacy-pre"
msgstr "Die"

msgid "register.privacy"
msgstr "Datenschutzerklärung"

msgid "register.privacy-post"
msgstr "beschreibt weitere erhobene Daten sowie deren Zweck und Speicherfristen."

msgid "register.account-deletion"
msgstr "Accounts werden nach einem Jahr ohne Aktivität per E-Mail über die bevorstehende Löschung informiert und nach vier weiteren Wochen ohne Aktivität automatisch gelöscht."

msgid "register.disclaimer"
msgstr "Bitte beachten: Travelynx ist ein privat betriebenes Projekt ohne Verfügbarkeitsgarantie. Unangekündigte Downtimes oder eine kurzfristige Einstellung dieser Seite sind nicht vorgesehen, aber möglich."

# _public_status_card.html.ep

msgid "status.is-checked-in"
@@ -89,6 +162,9 @@ msgstr "ist unterwegs"
msgid "status.is-not-checked-in"
msgstr "ist gerade nicht eingecheckt"

msgid "status.share"
msgstr "Teilen"

msgid "status.arrival-in"
msgstr "Ankunft in"

@@ -96,7 +172,10 @@ msgid "status.arrival-soon"
msgstr "Ankunft in weniger als einer Minute"

msgid "status.arrival-unknown"
msgstr "Arrival unbekannt"
msgstr "Ankunft unbekannt"

msgid "status.arrived"
msgstr "Ziel erreicht"

msgid "status.carriages"
msgstr "Wagen"
@@ -117,38 +196,3 @@ msgstr "nach"

msgid "wagons.carriage"
msgstr "Wagen"

# Journeys.pm#min_to_human

msgid "countdown.n-weeks"
msgstr "%d Wochen"

msgid "countdown.1-week"
msgstr "1 Woche"

msgid "countdown.n-days"
msgstr "%d Tage"

msgid "countdown.1-day"
msgstr "1 Tag"

msgid "countdown.n-hours"
msgstr "%d Stunden"

msgid "countdown.1-hour"
msgstr "1 Stunde"

msgid "countdown.n-minutes"
msgstr "%d Minuten"

msgid "countdown.1-minute"
msgstr "1 Minute"

msgid "countdown.0-minutes"
msgstr "0 Minuten"

msgid "countdown.concat"
msgstr ", "

msgid "countdown.concat-last"
msgstr " und "
+64 −38
Original line number Diff line number Diff line
msgid ""
msgstr ""
"Language: de-DE\n"
"Language: en-GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

# Global
#
# Global Strings
#

msgid "button.register"
msgstr "Register"

msgid "button.login"
msgstr "Login"

msgid "button.logout"
msgstr "Logout"
@@ -31,6 +39,10 @@ msgstr "dark"
msgid "footer.colour-scheme.auto"
msgstr "auto"

#
# Templates
#

# account.html.ep

msgid "account.account"
@@ -81,7 +93,50 @@ msgstr "open requests"
msgid "account.interaction.disabled"
msgstr "Accounts cannot follow you"

# _public_status_card.html.ep
# login.html.ep

msgid "login.tos"
msgstr "terms of use"

msgid "login.accept-tos-pre"
msgstr "By logging in, you accept the"

msgid "login.accept-tos-post"
msgstr " "

msgid "login.forgot-password"
msgstr "Forgot password"

msgid "login.registration-disabled"
msgstr "This instance does not allow registration of new accounts at the moment"

# register.html.ep

msgid "register.name"
msgstr "Name (alphanumeric)"

msgid "register.mail"
msgstr "E-Mail address"

msgid "register.password"
msgstr "Password"

msgid "register.repeat-password"
msgstr "Repeat password"

msgid "register.tos"
msgstr "terms of use"

msgid "register.accept-tos-pre"
msgstr "By submitting this registration form, you accept the"

msgid "register.accept-tos-post"
msgstr " "

msgid "register.expect-confirmation-link"
msgstr "After submitting the registration, a confirmation link will be sent to the provided E-Mail address. Logging into the new travelynx account is only possible after following that link. The link is valid for 48 hours."

# _checked_in, _public_status_card.html.ep

msgid "status.is-checked-in"
msgstr "is in transit"
@@ -89,6 +144,9 @@ msgstr "is in transit"
msgid "status.is-not-checked-in"
msgstr "ist not in transit right now"

msgid "status.share"
msgstr "Share"

msgid "status.arrival-in"
msgstr "Arrival in"

@@ -98,6 +156,9 @@ msgstr "Arrival in less than one minute"
msgid "status.arrival-unknown"
msgstr "Arrival unknown"

msgid "status.arrived"
msgstr "Arrived"

msgid "status.carriages"
msgstr "Carriages"

@@ -117,38 +178,3 @@ msgstr "towards"

msgid "wagons.carriage"
msgstr "Carriage"

# Journeys.pm#min_to_human

msgid "countdown.n-weeks"
msgstr "%d Wochen"

msgid "countdown.1-week"
msgstr "1 Woche"

msgid "countdown.n-days"
msgstr "%d Tage"

msgid "countdown.1-day"
msgstr "1 Tag"

msgid "countdown.n-hours"
msgstr "%d Stunden"

msgid "countdown.1-hour"
msgstr "1 Stunde"

msgid "countdown.n-minutes"
msgstr "%d Minuten"

msgid "countdown.1-minute"
msgstr "1 Minute"

msgid "countdown.0-minutes"
msgstr "0 Minuten"

msgid "countdown.concat"
msgstr ", "

msgid "countdown.concat-last"
msgstr " und "
+4 −4
Original line number Diff line number Diff line
@@ -32,13 +32,13 @@
					% }
					% elsif (defined $journey->{arrival_countdown}) {
						% if ($journey->{arrival_countdown} > 60) {
							Ankunft in <%= journeys->min_to_human(int($journey->{arrival_countdown} / 60)) %>
							<%= L('status.arrival-in') %> <%= journeys->min_to_human(int($journey->{arrival_countdown} / 60)) %>
						% }
						% elsif ($journey->{arrival_countdown} > 0) {
							Ankunft in weniger als einer Minute
							%= L('status.arrival-soon')
						% }
						% else {
							Ziel erreicht
							%= L('status.arrived')
						% }
						% if ($journey->{arrival_countdown} < (60 * 15) and $journey->{arr_platform}) {
							% if ($journey->{arr_direction} and $journey->{arr_direction} eq 'r') {
@@ -311,7 +311,7 @@
						data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= $user->{name} %>/<%= $journey->{sched_departure}->epoch %>?token=<%= $journey->{dep_eva} %>-<%= $journey->{timestamp}->epoch % 337 %>"
					% }
					>
					<i class="material-icons left" aria-hidden="true">share</i> Teilen
					<i class="material-icons left" aria-hidden="true">share</i> <%= L('status.share') %>
				</a>
			% }
			% else {
+2 −2
Original line number Diff line number Diff line
@@ -144,9 +144,9 @@
		</div>
		<div class="col s10 m10 l6 center-align">
			% if (not app->config->{registration}{disabled}) {
				<a href="/register" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">add</i>Registrieren</a>
				<a href="/register" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">add</i><%= L('button.register') %></a>
			% }
			<a href="/login" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">account_circle</i>Anmelden</a>
			<a href="/login" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">account_circle</i><%= L('button.login') %></a>
		</div>
		<div class="col s1 m1 l3">
		</div>
Loading