From 33ef3dd25201572706f5977809b41af91f91e72b Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Fri, 18 May 2018 14:56:37 -0500 Subject: [PATCH] Move widgets into separate file --- resources/lang/en/frontend.php | 31 ------------------------------ resources/lang/en/widgets.php | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 31 deletions(-) create mode 100644 resources/lang/en/widgets.php diff --git a/resources/lang/en/frontend.php b/resources/lang/en/frontend.php index dcee72d0..50187a15 100644 --- a/resources/lang/en/frontend.php +++ b/resources/lang/en/frontend.php @@ -105,35 +105,4 @@ return [ 'users' => [ 'location' => 'Location', ], - - 'widgets' => [ - 'latestnews' => [ - 'news' => 'News', - 'nonewsfound' => 'No News Found', - ], - - 'livemap' => [ - 'groundspeed' => 'Ground Speed', - 'altitude' => 'Altitude', - 'heading' => 'Heading', - 'noflights' => 'There are no flights.', - 'gs' => 'GS', - ], - - 'weather' => [ - 'metarnotretrieved' => 'METAR/TAF data could not be retrieved', - 'conditions' => 'Conditions', - 'visibility' => 'visibility', - 'humidity' => 'humidity', - 'dewpoint' => 'dew point', - 'barometer' => 'Barometer', - 'clouds' => 'Clouds', - 'wind' => 'Wind', - 'remarks' => 'Remarks', - 'guststo' => 'gusts to', - 'updated' => 'Updated', - 'hrago' => 'hr ago|hrs ago', - 'minago' => 'min ago|mins ago', - ], - ], ]; diff --git a/resources/lang/en/widgets.php b/resources/lang/en/widgets.php new file mode 100644 index 00000000..1a55e44f --- /dev/null +++ b/resources/lang/en/widgets.php @@ -0,0 +1,35 @@ + [ + 'news' => 'News', + 'nonewsfound' => 'No News Found', + ], + + 'livemap' => [ + 'groundspeed' => 'Ground Speed', + 'altitude' => 'Altitude', + 'heading' => 'Heading', + 'noflights' => 'There are no flights.', + 'gs' => 'GS', + ], + + 'weather' => [ + 'metarnotretrieved' => 'METAR/TAF data could not be retrieved', + 'conditions' => 'Conditions', + 'visibility' => 'visibility', + 'humidity' => 'humidity', + 'dewpoint' => 'dew point', + 'barometer' => 'Barometer', + 'clouds' => 'Clouds', + 'wind' => 'Wind', + 'remarks' => 'Remarks', + 'guststo' => 'gusts to', + 'updated' => 'Updated', + 'hrago' => 'hr ago|hrs ago', + 'minago' => 'min ago|mins ago', + ], +];