Awesome Weather Widget - Version 1.5.2

Version Description

  • Updated WP_Widget construct to prevent future breaking.
Download this release

Release Info

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

Code changes from version 1.5.1 to 1.5.2

awesome-weather.php CHANGED
@@ -5,7 +5,7 @@ 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.1
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
@@ -478,7 +478,7 @@ add_action( 'admin_enqueue_scripts', 'awesome_weather_admin_scripts' );
478
  // AWESOME WEATHER WIDGET, WIDGET CLASS, SO MANY WIDGETS
479
  class AwesomeWeatherWidget extends WP_Widget
480
  {
481
- function AwesomeWeatherWidget() { parent::WP_Widget(false, $name = 'Awesome Weather Widget'); }
482
 
483
  function widget($args, $instance)
484
  {
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: https://www.halgatewood.com
8
+ Version: 1.5.2
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
478
  // AWESOME WEATHER WIDGET, WIDGET CLASS, SO MANY WIDGETS
479
  class AwesomeWeatherWidget extends WP_Widget
480
  {
481
+ function AwesomeWeatherWidget() { parent::__construct(false, $name = 'Awesome Weather Widget'); }
482
 
483
  function widget($args, $instance)
484
  {
languages/awesome-weather-ru_RU.po CHANGED
@@ -88,7 +88,7 @@ msgstr "ССЗ"
88
 
89
  #: awesome-weather.php:288
90
  msgid "km/h"
91
- msgstr "км.ч"
92
 
93
  #: awesome-weather.php:288
94
  msgid "mph"
@@ -112,31 +112,31 @@ msgstr "Д"
112
 
113
  #: awesome-weather.php:313
114
  msgid "Sun"
115
- msgstr "Вск"
116
 
117
  #: awesome-weather.php:313
118
  msgid "Mon"
119
- msgstr "Пон"
120
 
121
  #: awesome-weather.php:313
122
  msgid "Tue"
123
- msgstr "Втр"
124
 
125
  #: awesome-weather.php:313
126
  msgid "Wed"
127
- msgstr "Срд"
128
 
129
  #: awesome-weather.php:313
130
  msgid "Thu"
131
- msgstr "Чтв"
132
 
133
  #: awesome-weather.php:313
134
  msgid "Fri"
135
- msgstr "Птн"
136
 
137
  #: awesome-weather.php:313
138
  msgid "Sat"
139
- msgstr "Сбб"
140
 
141
  #: awesome-weather.php:331
142
  msgid "extended forecast"
@@ -152,7 +152,7 @@ msgstr "Место:"
152
 
153
  #: awesome-weather.php:416
154
  msgid "(i.e: London,UK or New York City,NY)"
155
- msgstr "(нап: London,UK or New York City,NY)"
156
 
157
  #: awesome-weather.php:422
158
  msgid "Override Title:"
@@ -176,7 +176,7 @@ msgstr "Фоновое изображение:"
176
 
177
  #: awesome-weather.php:459
178
  msgid "Custom Background Color:"
179
- msgstr "Свой цвет фона:"
180
 
181
  #: awesome-weather.php:460
182
  msgid "overrides color changing"
@@ -188,7 +188,7 @@ msgstr "Скрыть статистику:"
188
 
189
  #: awesome-weather.php:470
190
  msgid "Link to OpenWeatherMap:"
191
- msgstr "Линк на OpenWeatherMap:"
192
 
193
  #: awesome-weather.php:475
194
  msgid "Widget Title: (optional)"
@@ -204,7 +204,7 @@ msgstr "http://halgatewood.com/awesome-weather"
204
 
205
  #. Description of the plugin/theme
206
  msgid "A weather widget that actually looks cool"
207
- msgstr "A weather widget that actually looks cool"
208
 
209
  #. Author of the plugin/theme
210
  msgid "Hal Gatewood"
88
 
89
  #: awesome-weather.php:288
90
  msgid "km/h"
91
+ msgstr "км/ч"
92
 
93
  #: awesome-weather.php:288
94
  msgid "mph"
112
 
113
  #: awesome-weather.php:313
114
  msgid "Sun"
115
+ msgstr "Вс"
116
 
117
  #: awesome-weather.php:313
118
  msgid "Mon"
119
+ msgstr "Пн"
120
 
121
  #: awesome-weather.php:313
122
  msgid "Tue"
123
+ msgstr "Вт"
124
 
125
  #: awesome-weather.php:313
126
  msgid "Wed"
127
+ msgstr "Ср"
128
 
129
  #: awesome-weather.php:313
130
  msgid "Thu"
131
+ msgstr "Чт"
132
 
133
  #: awesome-weather.php:313
134
  msgid "Fri"
135
+ msgstr "Пт"
136
 
137
  #: awesome-weather.php:313
138
  msgid "Sat"
139
+ msgstr "Сб"
140
 
141
  #: awesome-weather.php:331
142
  msgid "extended forecast"
152
 
153
  #: awesome-weather.php:416
154
  msgid "(i.e: London,UK or New York City,NY)"
155
+ msgstr "(Например: London,UK or New York City,NY)"
156
 
157
  #: awesome-weather.php:422
158
  msgid "Override Title:"
176
 
177
  #: awesome-weather.php:459
178
  msgid "Custom Background Color:"
179
+ msgstr "Цвет фона:"
180
 
181
  #: awesome-weather.php:460
182
  msgid "overrides color changing"
188
 
189
  #: awesome-weather.php:470
190
  msgid "Link to OpenWeatherMap:"
191
+ msgstr "Ссылка на OpenWeatherMap:"
192
 
193
  #: awesome-weather.php:475
194
  msgid "Widget Title: (optional)"
204
 
205
  #. Description of the plugin/theme
206
  msgid "A weather widget that actually looks cool"
207
+ msgstr "Виджет погоды, который поистине выглядит круто"
208
 
209
  #. Author of the plugin/theme
210
  msgid "Hal Gatewood"
readme.txt CHANGED
@@ -8,17 +8,17 @@ Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Finally beautiful weather widgets for your site.
12
 
13
  == Description ==
14
 
15
- [Pro Version](https://halgatewood.com/downloads/awesome-weather-widget-pro/) available. Icons, 3 New Layouts, Weather by Yahoo!, User Detection and more!
16
 
17
  This plugin allows you to easily add super clean (and awesome) weather widgets to your site. The weather data is provided for free by http://openweathermap.org
18
 
19
  Use the built in widget with all of its marvelous settings or add it to a page or theme with the shortcode: (all settings shown)
20
 
21
- `[awesome-weather location="Montreal" units="F" size="tall" override_title="MTL" forecast_days="2" hide_stats="1" background="http://urltoanimage.jpg" custom_bg_color="#cccccc" inline_style="width: 200px; margin: 20px; float: left;" background_by_weather="1"]`
22
 
23
  = Settings =
24
 
@@ -153,6 +153,9 @@ Changed API endpoints. Might not find weather without update.
153
 
154
  == Changelog ==
155
 
 
 
 
156
  = 1.5.1 =
157
  * Changed .custom class to .awe_custom
158
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ 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, New Layouts and Custom Templates, Weather by Yahoo!, User Location Detection and more!
16
 
17
  This plugin allows you to easily add super clean (and awesome) weather widgets to your site. The weather data is provided for free by http://openweathermap.org
18
 
19
  Use the built in widget with all of its marvelous settings or add it to a page or theme with the shortcode: (all settings shown)
20
 
21
+ `[awesome-weather location="Montreal" units="F" owm_city_id="6077243" size="tall" override_title="MTL" forecast_days="2" hide_stats="1" background="http://urltoanimage.jpg" custom_bg_color="#cccccc" inline_style="width: 200px; margin: 20px; float: left;" background_by_weather="1"]`
22
 
23
  = Settings =
24
 
153
 
154
  == Changelog ==
155
 
156
+ = 1.5.2 =
157
+ * Updated WP_Widget construct to prevent future breaking.
158
+
159
  = 1.5.1 =
160
  * Changed .custom class to .awe_custom
161