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

perltidy

parent 7477ab8a
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -49,8 +49,7 @@ sub get_json_p {

			if ( my $err = $tx->error ) {
				$self->{log}->debug(
"efa->get_json_p($url): HTTP $err->{code} $err->{message}"
				);
					"efa->get_json_p($url): HTTP $err->{code} $err->{message}");
				$cache->freeze( $url, { error => $err->{message} } );
				$promise->reject(
					"GET $url returned HTTP $err->{code} $err->{message}");
@@ -60,8 +59,7 @@ sub get_json_p {
			my $res = $tx->res->json;

			if ( not $res ) {
				$self->{log}
				  ->debug("efa->get_json_p($url): empty response");
				$self->{log}->debug("efa->get_json_p($url): empty response");
				$promise->reject("GET $url returned empty response");
				return;
			}
+65 −55
Original line number Diff line number Diff line
@@ -7,23 +7,29 @@ package DBInfoscreen::I18N::en;
use Mojo::Base 'DBInfoscreen::I18N';

our %Lexicon = (

	# common
	'Stationen in der Umgebung suchen' => 'Find stops nearby',

	# layouts/app
	'Mehrdeutige Eingabe'                        => 'Ambiguous input',
	'Bitte eine Station aus der Liste auswählen' => 'Please select a station from the list',
	'Bitte eine Station aus der Liste auswählen' =>
	  'Please select a station from the list',
	'Zug / Station' => 'Enter train number or station name',
	'Zug, Stationsname oder Ril100-Kürzel' => 'train, station name, or DS100 code',
	'Zug, Stationsname oder Ril100-Kürzel' =>
	  'train, station name, or DS100 code',
	'Abfahrstafel'                            => 'Show departures',
	'Weitere Einstellungen'                   => 'Preferences',
	'Zeiten inkl. Verspätung angeben'         => 'Include delay in timestamps',
	'Verspätungen erst ab 5 Minuten anzeigen' => 'Hide delays below 5 minutes',
	'Mehr Details'                            => 'Verbose mode',
	'Betriebliche Bahnhofstrennungen berücksichtigen (z.B. "Hbf (Fern+Regio)" vs. "Hbf (S)")' => 'Respect split stations; do not join them',
'Betriebliche Bahnhofstrennungen berücksichtigen (z.B. "Hbf (Fern+Regio)" vs. "Hbf (S)")'
	  => 'Respect split stations; do not join them',
	'Bereits abgefahrene Züge anzeigen'              => 'Include past trains',
	'Formular verstecken'                            => 'Hide form',
	'Nur Züge über'                                  => 'Only show trains via',
	'Bahnhof 1, Bhf2, ... (oder regulärer Ausdruck)' => 'Station 1, 2, ... (or regular expression)',
	'Bahnhof 1, Bhf2, ... (oder regulärer Ausdruck)' =>
	  'Station 1, 2, ... (or regular expression)',
	'Gleise'                                => 'Platforms',
	'Ankunfts- oder Abfahrtszeit anzeigen?' => 'Show arrival or departure?',
	'Abfahrt bevorzugen'                    => 'prefer departure',
@@ -33,8 +39,10 @@ our %Lexicon = (
	'Über DBF'                              => 'About',
	'Datenschutz'                           => 'Privacy',
	'Impressum'                             => 'Imprint',

	# landing page
	'Oder hier angeben:' => 'Or enter manually:',

	# train details
	'Gleis'                         => 'Platform',
	'An:'                           => 'Arr',
@@ -53,10 +61,12 @@ our %Lexicon = (
	'Betrieb'                       => 'Operator',
	'Karte'                         => 'Map',
	'Wagen'                         => 'Composition',

	# wagon order
	'Nach'         => 'To',
	'in Abschnitt' => 'in sections',
	'Wagen '       => 'carriage ',

	# map
	'Fahrt'                  => 'Trip',
	'von'                    => 'from',
+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+14 −14

File changed.

Contains only whitespace changes.