Awesome Weather Widget - Version 1.5.11

Version Description

Download this release

Release Info

Developer halgatewood
Plugin Icon 128x128 Awesome Weather Widget
Version 1.5.11
Comparing to
See all releases

Code changes from version 1.5.10 to 1.5.11

awesome-weather-settings.php → img/awe-backgrounds/awesome-weather-settings.php RENAMED
File without changes
awesome-weather-widget-admin.js → img/awe-backgrounds/awesome-weather-widget-admin.js RENAMED
File without changes
awesome-weather.css → img/awe-backgrounds/awesome-weather.css RENAMED
File without changes
awesome-weather.php → img/awe-backgrounds/awesome-weather.php RENAMED
@@ -5,12 +5,11 @@ Plugin URI: https://halgatewood.com/awesome-weather
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: https://www.halgatewood.com
8
- Version: 1.5.10
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
12
 
13
-
14
  FILTERS AVAILABLE:
15
  https://halgatewood.com/docs/plugins/awesome-weather-widget/available-filters
16
 
@@ -65,13 +64,20 @@ add_action('wp_enqueue_scripts', 'awesome_weather_wp_head');
65
 
66
 
67
 
68
- //THE SHORTCODE
69
  add_shortcode( 'awesome-weather', 'awesome_weather_shortcode' );
70
  function awesome_weather_shortcode( $atts )
71
  {
72
  return awesome_weather_logic( $atts );
73
  }
74
 
 
 
 
 
 
 
 
75
 
76
  // THE LOGIC
77
  function awesome_weather_logic( $atts )
@@ -322,18 +328,18 @@ function awesome_weather_logic( $atts )
322
  // CHECK FOR BACKGROUND BY WEATHER
323
  if( $background_by_weather AND ( $weather_code OR $weather_description_slug ) )
324
  {
325
- if( file_exists( get_stylesheet_directory() . "/awe-backgrounds" ) )
326
  {
327
  $bg_ext = apply_filters('awesome_weather_bg_ext', 'jpg' );
328
 
329
  // CHECK FOR CODE
330
- if( $weather_code AND file_exists( get_stylesheet_directory() . "/awe-backgrounds/" . $weather_code . "." . $bg_ext))
331
  {
332
- $background = get_stylesheet_directory_uri() . "/awe-backgrounds/" . $weather_code . "." . $bg_ext;
333
  }
334
- else if( $weather_description_slug AND file_exists( get_stylesheet_directory() . "/awe-backgrounds/" . $weather_description_slug . "." . $bg_ext))
335
  {
336
- $background = get_stylesheet_directory_uri() . "/awe-backgrounds/" . $weather_description_slug . "." . $bg_ext;
337
  }
338
  else
339
  {
@@ -343,7 +349,7 @@ function awesome_weather_logic( $atts )
343
  if( $preset_background_img_name )
344
  {
345
  $background_classes[] = "awe-preset-" . $preset_background_img_name;
346
- if( file_exists( get_stylesheet_directory() . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext) ) $background = get_stylesheet_directory_uri() . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext;
347
  }
348
  }
349
  }
@@ -355,7 +361,7 @@ function awesome_weather_logic( $atts )
355
  if( $preset_background_img_name )
356
  {
357
  $background_classes[] = "awe-preset-" . $preset_background_img_name;
358
- if( file_exists( dirname(__FILE__) . "/img/awe-backgrounds/" . $preset_background_img_name . ".jpg") ) $background = plugin_dir_url( __FILE__ ) . "/img/awe-backgrounds/" . $preset_background_img_name . ".jpg";
359
  }
360
  }
361
  }
@@ -367,6 +373,22 @@ function awesome_weather_logic( $atts )
367
 
368
 
369
  $background_class_string = @implode( " ", apply_filters( 'awesome_weather_background_classes', $background_classes ));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
 
371
  // DISPLAY WIDGET
372
  $rtn .= "<div id=\"awesome-weather-{$city_name_slug}\" class=\"{$background_class_string}\"{$inline_style}>";
@@ -501,7 +523,7 @@ add_action( 'admin_enqueue_scripts', 'awesome_weather_admin_scripts' );
501
  // GET APPID
502
  function awe_get_appid()
503
  {
504
- return defined('AWESOME_WEATHER_APPID') ? AWESOME_WEATHER_APPID : get_option( 'open-weather-key' );
505
  }
506
 
507
 
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: https://www.halgatewood.com
8
+ Version: 1.5.11
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
12
 
 
13
  FILTERS AVAILABLE:
14
  https://halgatewood.com/docs/plugins/awesome-weather-widget/available-filters
15
 
64
 
65
 
66
 
67
+ // THE SHORTCODE
68
  add_shortcode( 'awesome-weather', 'awesome_weather_shortcode' );
69
  function awesome_weather_shortcode( $atts )
70
  {
71
  return awesome_weather_logic( $atts );
72
  }
73
 
74
+ // DATA ONLY
75
+ function awesome_weather_data( $atts )
76
+ {
77
+ $new_atts = array_merge( $atts, array('data_only' => 1) );
78
+ return awesome_weather_logic( $new_atts );
79
+ }
80
+
81
 
82
  // THE LOGIC
83
  function awesome_weather_logic( $atts )
328
  // CHECK FOR BACKGROUND BY WEATHER
329
  if( $background_by_weather AND ( $weather_code OR $weather_description_slug ) )
330
  {
331
+ if( file_exists( untrailingslashit(get_stylesheet_directory()) . "/awe-backgrounds" ) )
332
  {
333
  $bg_ext = apply_filters('awesome_weather_bg_ext', 'jpg' );
334
 
335
  // CHECK FOR CODE
336
+ if( $weather_code AND file_exists( untrailingslashit(get_stylesheet_directory()) . "/awe-backgrounds/" . $weather_code . "." . $bg_ext))
337
  {
338
+ $background = untrailingslashit(get_stylesheet_directory_uri()) . "/awe-backgrounds/" . $weather_code . "." . $bg_ext;
339
  }
340
+ else if( $weather_description_slug AND file_exists( untrailingslashit(get_stylesheet_directory()) . "/awe-backgrounds/" . $weather_description_slug . "." . $bg_ext))
341
  {
342
+ $background = untrailingslashit(get_stylesheet_directory_uri()) . "/awe-backgrounds/" . $weather_description_slug . "." . $bg_ext;
343
  }
344
  else
345
  {
349
  if( $preset_background_img_name )
350
  {
351
  $background_classes[] = "awe-preset-" . $preset_background_img_name;
352
+ if( file_exists( untrailingslashit(get_stylesheet_directory()) . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext) ) $background = untrailingslashit(get_stylesheet_directory_uri()) . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext;
353
  }
354
  }
355
  }
361
  if( $preset_background_img_name )
362
  {
363
  $background_classes[] = "awe-preset-" . $preset_background_img_name;
364
+ if( file_exists( untrailingslashit(dirname(__FILE__)) . "/img/awe-backgrounds/" . $preset_background_img_name . ".jpg") ) $background = untrailingslashit(plugin_dir_url( __FILE__ )) . "/img/awe-backgrounds/" . $preset_background_img_name . ".jpg";
365
  }
366
  }
367
  }
373
 
374
 
375
  $background_class_string = @implode( " ", apply_filters( 'awesome_weather_background_classes', $background_classes ));
376
+
377
+
378
+ // ATTR: data_only = BAIL OUT WITH JUST THE WEATHER DATA
379
+ if( isset($atts['data_only']) AND $atts['data_only'] )
380
+ {
381
+ $rtn = new stdclass;
382
+ $rtn->atts = $atts;
383
+ $rtn->slug = $city_name_slug;
384
+ $rtn->background = $background;
385
+ $rtn->temp = $today_temp;
386
+ $rtn->symbol = $units_display_symbol;
387
+ $rtn->now = $today;
388
+ $rtn->forecast = $weather_data['forecast'];
389
+ return $rtn;
390
+ }
391
+
392
 
393
  // DISPLAY WIDGET
394
  $rtn .= "<div id=\"awesome-weather-{$city_name_slug}\" class=\"{$background_class_string}\"{$inline_style}>";
523
  // GET APPID
524
  function awe_get_appid()
525
  {
526
+ return trim(defined('AWESOME_WEATHER_APPID') ? AWESOME_WEATHER_APPID : get_option( 'open-weather-key' ));
527
  }
528
 
529
 
readme.txt → img/awe-backgrounds/readme.txt RENAMED
@@ -3,7 +3,7 @@ Contributors: halgatewood
3
  Donate link: https://halgatewood.com/donate/
4
  Tags: widgets, sidebar, shortcode, openweathermap, weather, weather widget, forecast, global, temp, local weather,local forecast
5
  Requires at least: 3.5
6
- Tested up to: 4.6
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Finally beautiful weather widgets for your beautiful site.
12
 
13
  == Description ==
14
 
15
- >[Pro Version](https://halgatewood.com/downloads/awesome-weather-widget-pro/) available. Weather icons, 5 New Layouts and Custom Templates, Weather by Yahoo! (no API key required), User Location Detection and more!
16
 
17
  This plugin allows you to easily add super clean (and awesome) weather widgets to your site.
18
 
@@ -21,7 +21,6 @@ Once you have the API Key you can simply add it in 'Settings' -> 'Awesome Weathe
21
 
22
  [View the API Key Help Document](https://halgatewood.com/docs/plugins/awesome-weather-widget/register-for-an-openweathermap-api-key-appid)
23
 
24
-
25
  Use the built in widget with all of its marvelous settings or add it to a page or theme with the shortcode:
26
 
27
  Easiest:
@@ -87,107 +86,16 @@ The easiest shortcode setting is just: `[awesome-weather location="Oklahoma City
87
 
88
  == Upgrade Notice ==
89
 
90
- = 1.5.9 =
91
- Checkbox to hide the attribution in the widget settings or use shortcode attribute hide_attribution="1"
92
-
93
- = 1.5.7 =
94
- Updated the language .pot file. A few new text items have been added and some modified. Fixed location searches that contain commas
95
-
96
- = 1.5.6 =
97
- Two new filters available to remove to the Google font Open Sans. Added new missing background preset 'atmosphere'
98
-
99
- = 1.5.5 =
100
- Some new shortcode attributes, and a constant can be set for the OpenWeatherMap AppID. This helps multisite installations.
101
-
102
- = 1.5.4 =
103
- * Preset background images added for the 'Use Different Background Images Based on Weather' option
104
- * Color picker to choose a font color for the whole widget
105
- * CSS whitespace: no-wrap on the little degree symbols
106
- * Fixed wind speed to mph for 'Imperial' and m/s for Celsius as per the OpenWeatherMap weather data section
107
- * Updated .pot file
108
-
109
- = 1.5.3.1 =
110
- * Added an error message in the admin widget page to let users know they need an APPID
111
-
112
- = 1.5.3 =
113
- * Added spot for API key in 'Settings' -> 'Awesome Weather'
114
- * Added new setting to decide how to show error messages.
115
-
116
- = 1.5.1 =
117
- * Changed .custom class to .awe_custom
118
-
119
- = 1.5 =
120
- * You can now speed up your weather and provide better accuracy by using the new Search box in the widget to find the OpenWeatherMap City ID.
121
- * We also added the ability to use different background images by weather. Also new CSS properties using the weather condition code and text are added so you can target based on weather type.
122
- * Added several new filters to modify aspects of the weather widget like changing the C and F to a Degree symbol.
123
- * Fixed an issue where changing the forecast days would not clear the cache.
124
- * Default cache is now 30 minutes
125
-
126
- = 1.4.2 =
127
- Slightly modified the CSS to include box-sizing. This may slightly modify the look of your widget, hopefully in a cleaner way.
128
-
129
- = 1.4.1 =
130
- * New translations added.
131
- * Caching fixes
132
- * Fixed checkboxes in widget settings
133
- * Checked to be working with WordPress 3.9
134
-
135
- = 1.4 =
136
- * Extended forecast now uses WP current_time to determine what days to show, uses Timezone in 'Settings' -> 'General'
137
- * Added a Widget Title field that uses the standard widget code from the sidebar (optional)
138
- * Support for OpenWeatherMaps City ID, just insert in the Location field.
139
- * Support for rgba() in the Custom Background Color
140
-
141
- = 1.3.4 =
142
- Fixed issue with Location stripping spaces from text cause weather to not get accessed. Thanks @storkontheroof!
143
-
144
- = 1.3.3 =
145
- Moved Google Font out of CSS into enqueue
146
-
147
- = 1.3.2 =
148
- Improved support for poorly coded themes that load the before_title and after_title with extra divs and don't take into account that widgets may not use a title.
149
-
150
- = 1.3.1 =
151
- Added setting for color override
152
- Added URL param to clear transient cache '?clear_awesome_widget'
153
- Added new translations for the days of the week in the extended forecast
154
- Ability to add inline styles to the widget shortcode
155
-
156
- = 1.3 =
157
- Upgraded to most recent OpenWeatherMap APIS and included translation files.
158
-
159
- = 1.2.6 =
160
- Improved error handling with API calls
161
-
162
- = 1.2.5 =
163
- Widget with custom background CSS issue.
164
-
165
- = 1.2.4 =
166
- Forecast now stops showing today.
167
-
168
- = 1.2.3 =
169
- Better API Support
170
-
171
- = 1.2 =
172
- Background Image Option
173
-
174
- = 1.1.1 =
175
- Google Font URL changed or I messed it up, probably me.
176
-
177
- = 1.1 =
178
- Errors are now commented out. Look in the source to see what the problem is.
179
-
180
- = 1.0.2 =
181
- Removed debugging code, sorry!
182
-
183
- = 1.0.1 =
184
- Changed API endpoints. Might not find weather without update.
185
-
186
 
187
 
188
 
189
  == Changelog ==
190
 
 
 
 
 
 
191
  = 1.5.10 =
192
  * PHP7 Support
193
  * New lat and lon attributes to get weather by coordinates
3
  Donate link: https://halgatewood.com/donate/
4
  Tags: widgets, sidebar, shortcode, openweathermap, weather, weather widget, forecast, global, temp, local weather,local forecast
5
  Requires at least: 3.5
6
+ Tested up to: 4.8
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
  == Description ==
14
 
15
+ >[Pro Version](https://halgatewood.com/downloads/awesome-weather-widget-pro/) available. Weather icons, 5 New Layouts and Custom Templates, Weather by Yahoo! (no API key required), User Location Detection, Email Support.
16
 
17
  This plugin allows you to easily add super clean (and awesome) weather widgets to your site.
18
 
21
 
22
  [View the API Key Help Document](https://halgatewood.com/docs/plugins/awesome-weather-widget/register-for-an-openweathermap-api-key-appid)
23
 
 
24
  Use the built in widget with all of its marvelous settings or add it to a page or theme with the shortcode:
25
 
26
  Easiest:
86
 
87
  == Upgrade Notice ==
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
 
91
 
92
  == Changelog ==
93
 
94
+ = 1.5.11 =
95
+ * Get just the weather data with function: awesome_weather_data
96
+ * trim value of the API key in awe_get_appid
97
+ * removing trailing slash for background images on some systems double slashes were being added
98
+
99
  = 1.5.10 =
100
  * PHP7 Support
101
  * New lat and lon attributes to get weather by coordinates
widget.php → img/awe-backgrounds/widget.php RENAMED
File without changes
languages/awesome-weather-sk_SK.mo ADDED
Binary file
languages/awesome-weather-sk_SK.po ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Loco Gettext template
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: Awesome Weather Widget 1.5.7\n"
5
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/awesome-weather\n"
6
+ "POT-Creation-Date: 2016-10-02 10:09+0200\n"
7
+ "POT-Revision-Date: Tue Feb 09 2016 12:16:40 GMT-0600 (CST)\n"
8
+ "PO-Revision-Date: 2016-10-02 10:23+0200\n"
9
+ "Language-Team: \n"
10
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;"
17
+ "dngettext:2,3;__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;"
18
+ "__ngettext_noop:1,2;_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;"
19
+ "_nx_js:1,2,3c;esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;"
20
+ "esc_attr_x:1,2c;esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;"
21
+ "transChoice:1,2\n"
22
+ "X-Generator: Poedit 1.8.9\n"
23
+ "Last-Translator: \n"
24
+ "Language: sk_SK\n"
25
+ "X-Poedit-SearchPath-0: ..\n"
26
+
27
+ #: ../awesome-weather-settings.php:13
28
+ msgid "Awesome Weather Widget"
29
+ msgstr "Awesome Weather Widget"
30
+
31
+ #: ../awesome-weather-settings.php:17
32
+ msgid "Weather Widget Cache Cleared"
33
+ msgstr "Cache Weather Widgetu vyčistená"
34
+
35
+ #: ../awesome-weather-settings.php:28
36
+ msgid "Clear all Awesome Weather Widget Cache"
37
+ msgstr "Vyčistiť cache Weather Widgetu"
38
+
39
+ #: ../awesome-weather-settings.php:42
40
+ msgid "Settings"
41
+ msgstr "Nastavenia"
42
+
43
+ #: ../awesome-weather-settings.php:46
44
+ msgid "API Key Required"
45
+ msgstr "Vyžaduje sa kľúč API"
46
+
47
+ #: ../awesome-weather-settings.php:51
48
+ msgid "Donate"
49
+ msgstr "Donate"
50
+
51
+ #: ../awesome-weather-settings.php:54
52
+ msgid "Upgrade"
53
+ msgstr "Vylepšiť na PRO"
54
+
55
+ #: ../awesome-weather-settings.php:69
56
+ msgid "OpenWeatherMaps APPID"
57
+ msgstr "OpenWeatherMaps APPID"
58
+
59
+ #: ../awesome-weather-settings.php:70
60
+ msgid "Error Handling"
61
+ msgstr "Zobrazovanie chýb"
62
+
63
+ #: ../awesome-weather-settings.php:106
64
+ msgid "Defined in wp-config"
65
+ msgstr "Definované vo WP-CONFIG"
66
+
67
+ #: ../awesome-weather-settings.php:113 ../widget.php:97
68
+ msgid ""
69
+ "As of October 2015, OpenWeatherMap requires an APP ID key to access their "
70
+ "weather data."
71
+ msgstr ""
72
+ "Od októbra 2015, OpenWeatherMap vyžaduje APP ID kľúč na sprístupnenie dát "
73
+ "o počasí"
74
+
75
+ #: ../awesome-weather-settings.php:115 ../widget.php:99
76
+ msgid "Get your APPID"
77
+ msgstr "Získať kľúč APP ID"
78
+
79
+ #: ../awesome-weather-settings.php:126
80
+ msgid "Hidden in Source"
81
+ msgstr "Skryté v zdrojovom kóde"
82
+
83
+ #: ../awesome-weather-settings.php:127
84
+ msgid "Display if Admin"
85
+ msgstr "Zobraziť administrátorovi"
86
+
87
+ #: ../awesome-weather-settings.php:128
88
+ msgid "Display for Anyone"
89
+ msgstr "Zobraziť všetkým"
90
+
91
+ #: ../awesome-weather-settings.php:131
92
+ msgid "What should the plugin do when there is an error?"
93
+ msgstr "Čo by mal plugin urobiť, ak sa vyskytne chyba?"
94
+
95
+ #. Plugin URI of the plugin/theme
96
+ msgid "https://halgatewood.com/awesome-weather"
97
+ msgstr "https://halgatewood.com/awesome-weather"
98
+
99
+ #. Description of the plugin/theme
100
+ msgid "A weather widget that actually looks cool"
101
+ msgstr "Widget počasia, ktorý vyzerá cool"
102
+
103
+ #. Author of the plugin/theme
104
+ msgid "Hal Gatewood"
105
+ msgstr "Hal Gatewood"
106
+
107
+ #. Author URI of the plugin/theme
108
+ msgid "https://www.halgatewood.com"
109
+ msgstr "https://www.halgatewood.com"
110
+
111
+ #: ../awesome-weather.php:75
112
+ msgid "C"
113
+ msgstr "Celsius"
114
+
115
+ #: ../awesome-weather.php:75
116
+ msgid "F"
117
+ msgstr "Fahrenheit"
118
+
119
+ #: ../awesome-weather.php:280
120
+ msgid "N"
121
+ msgstr "S"
122
+
123
+ #: ../awesome-weather.php:280
124
+ msgid "NNE"
125
+ msgstr "SSV"
126
+
127
+ #: ../awesome-weather.php:280
128
+ msgid "NE"
129
+ msgstr "SV"
130
+
131
+ #: ../awesome-weather.php:280
132
+ msgid "ENE"
133
+ msgstr "VSV"
134
+
135
+ #: ../awesome-weather.php:280
136
+ msgid "E"
137
+ msgstr "V"
138
+
139
+ #: ../awesome-weather.php:280
140
+ msgid "ESE"
141
+ msgstr "VJV"
142
+
143
+ #: ../awesome-weather.php:280
144
+ msgid "SE"
145
+ msgstr "JV"
146
+
147
+ #: ../awesome-weather.php:280
148
+ msgid "SSE"
149
+ msgstr "JJV"
150
+
151
+ #: ../awesome-weather.php:280
152
+ msgid "S"
153
+ msgstr "J"
154
+
155
+ #: ../awesome-weather.php:280
156
+ msgid "SSW"
157
+ msgstr "JJZ"
158
+
159
+ #: ../awesome-weather.php:280
160
+ msgid "SW"
161
+ msgstr "JZ"
162
+
163
+ #: ../awesome-weather.php:280
164
+ msgid "WSW"
165
+ msgstr "ZJZ"
166
+
167
+ #: ../awesome-weather.php:280
168
+ msgid "W"
169
+ msgstr "Z"
170
+
171
+ #: ../awesome-weather.php:280
172
+ msgid "WNW"
173
+ msgstr "ZSZ"
174
+
175
+ #: ../awesome-weather.php:280
176
+ msgid "NW"
177
+ msgstr "SZ"
178
+
179
+ #: ../awesome-weather.php:280
180
+ msgid "NNW"
181
+ msgstr "SSZ"
182
+
183
+ #: ../awesome-weather.php:364
184
+ msgid "mph"
185
+ msgstr "míľ/h"
186
+
187
+ #: ../awesome-weather.php:364
188
+ msgid "m/s"
189
+ msgstr "m/s"
190
+
191
+ #: ../awesome-weather.php:373
192
+ msgid "humidity:"
193
+ msgstr "Vlhkosť vzduchu:"
194
+
195
+ #: ../awesome-weather.php:374
196
+ msgid "wind:"
197
+ msgstr "Vietor"
198
+
199
+ #: ../awesome-weather.php:375
200
+ msgid "H"
201
+ msgstr "Najvyššia teplota:"
202
+
203
+ #: ../awesome-weather.php:375
204
+ msgid "L"
205
+ msgstr "Najnižšia teplota:"
206
+
207
+ #: ../awesome-weather.php:386
208
+ msgid "Sun"
209
+ msgstr "Ned"
210
+
211
+ #: ../awesome-weather.php:386
212
+ msgid "Mon"
213
+ msgstr "Pon"
214
+
215
+ #: ../awesome-weather.php:386
216
+ msgid "Tue"
217
+ msgstr "Uto"
218
+
219
+ #: ../awesome-weather.php:386
220
+ msgid "Wed"
221
+ msgstr "Str"
222
+
223
+ #: ../awesome-weather.php:386
224
+ msgid "Thu"
225
+ msgstr "Štv"
226
+
227
+ #: ../awesome-weather.php:386
228
+ msgid "Fri"
229
+ msgstr "Pia"
230
+
231
+ #: ../awesome-weather.php:386
232
+ msgid "Sat"
233
+ msgstr "Sob"
234
+
235
+ #: ../awesome-weather.php:408
236
+ msgid "extended forecast"
237
+ msgstr "Rozšírená predpoveď"
238
+
239
+ #: ../awesome-weather.php:422
240
+ msgid "Weather from"
241
+ msgstr "Počasie poskytuje"
242
+
243
+ #: ../awesome-weather.php:432
244
+ msgid "No weather information available"
245
+ msgstr "Žiadne informácie o počasí"
246
+
247
+ #: ../awesome-weather.php:467
248
+ msgid "No city found in OpenWeatherMap."
249
+ msgstr "Mesto nenájdené v OpenWeatherMap."
250
+
251
+ #: ../awesome-weather.php:468
252
+ msgid "Only one location found. The ID has been set automatically above."
253
+ msgstr ""
254
+ "Našla sa len jedna olácia. Toto ID bolo automaticky nastavené vyššie."
255
+
256
+ #: ../awesome-weather.php:469
257
+ msgid "Please confirm your city: &nbsp;"
258
+ msgstr "Prosím, potvrď svoje mesto: &nbsp;"
259
+
260
+ #: ../widget.php:101
261
+ msgid "and add it to the new settings page."
262
+ msgstr "pridať do nastavení na ďalšej stránke"
263
+
264
+ #: ../widget.php:108
265
+ msgid "Search for Your Location:"
266
+ msgstr "Zadaj svoju pozíciu"
267
+
268
+ #: ../widget.php:109
269
+ msgid "(i.e: London or New York City)"
270
+ msgstr "(napr. Zvolen alebo Moscow)"
271
+
272
+ #: ../widget.php:116
273
+ msgid "OpenWeatherMap City ID:"
274
+ msgstr "ID mesta v OpenWeatherMap:"
275
+
276
+ #: ../widget.php:117
277
+ msgid "(use the field above to find the ID for your city)"
278
+ msgstr "(použi políčko vyššie pre nájdenie ID svojho mesta)"
279
+
280
+ #: ../widget.php:130
281
+ msgid "Override Title:"
282
+ msgstr "Prepísať názov:"
283
+
284
+ #: ../widget.php:135
285
+ msgid "Units:"
286
+ msgstr "Jednotky:"
287
+
288
+ #: ../widget.php:149
289
+ msgid "Size:"
290
+ msgstr "Veľkosť:"
291
+
292
+ #: ../widget.php:158
293
+ msgid "Forecast:"
294
+ msgstr "Predpoveď:"
295
+
296
+ #: ../widget.php:172
297
+ msgid "Background Image:"
298
+ msgstr "Obrázok pozadia:"
299
+
300
+ #: ../widget.php:178
301
+ msgid "Use Different Background Images Based on Weather"
302
+ msgstr "Použiť rôzne pozadie v závislosti od počasia"
303
+
304
+ #: ../widget.php:182
305
+ msgid "Custom Background Color:"
306
+ msgstr "Vlastná farba pozadia"
307
+
308
+ #: ../widget.php:183
309
+ msgid "overrides color changing"
310
+ msgstr "Prepísať zmeny farieb"
311
+
312
+ #: ../widget.php:188
313
+ msgid "Text Color"
314
+ msgstr "Farba textu"
315
+
316
+ #: ../widget.php:207
317
+ msgid "Hide Current Condition Stats"
318
+ msgstr "Skryť štatistiky aktuálnych pomienok"
319
+
320
+ #: ../widget.php:213
321
+ msgid "Link to OpenWeatherMap"
322
+ msgstr "Odkaz na OpenWeatherMap"
323
+
324
+ #: ../widget.php:217
325
+ msgid "Widget Title: (optional)"
326
+ msgstr "Názov widgetu: (voliteľné)"