Awesome Weather Widget - Version 1.3.2

Version Description

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.

Download this release

Release Info

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

Code changes from version 1.3.1 to 1.3.2

awesome-weather.css CHANGED
@@ -104,6 +104,9 @@
104
  #sidebar .awe_wide .awesome-weather-todays-stats,
105
  #secondary .awe_wide .awesome-weather-todays-stats { font-size: 12px; }
106
 
 
 
 
107
 
108
  .awesome-weather-more-weather-link { padding: 5px; text-align: center; }
109
  .awesome-weather-more-weather-link a { color: #fff !important; text-decoration: none !important; font-size: 0.8em; }
104
  #sidebar .awe_wide .awesome-weather-todays-stats,
105
  #secondary .awe_wide .awesome-weather-todays-stats { font-size: 12px; }
106
 
107
+ .widget.widget_awesomeweatherwidget h2,
108
+ .widget.widget_awesomeweatherwidget h3,
109
+ .widget.widget_awesomeweatherwidget .widget-title { display: none; }
110
 
111
  .awesome-weather-more-weather-link { padding: 5px; text-align: center; }
112
  .awesome-weather-more-weather-link a { color: #fff !important; text-decoration: none !important; font-size: 0.8em; }
awesome-weather.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://halgatewood.com/awesome-weather
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: http://www.halgatewood.com
8
- Version: 1.3.1
9
 
10
 
11
  FILTERS AVAILABLE:
@@ -367,6 +367,7 @@ class AwesomeWeatherWidget extends WP_Widget
367
  $custom_bg_color = isset($instance['custom_bg_color']) ? $instance['custom_bg_color'] : false;
368
 
369
  echo $before_widget;
 
370
  echo awesome_weather_logic( array( 'location' => $location, 'override_title' => $override_title, 'size' => $size, 'units' => $units, 'forecast_days' => $forecast_days, 'hide_stats' => $hide_stats, 'show_link' => $show_link, 'background' => $background, 'custom_bg_color' => $custom_bg_color ));
371
  echo $after_widget;
372
  }
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: http://www.halgatewood.com
8
+ Version: 1.3.2
9
 
10
 
11
  FILTERS AVAILABLE:
367
  $custom_bg_color = isset($instance['custom_bg_color']) ? $instance['custom_bg_color'] : false;
368
 
369
  echo $before_widget;
370
+ echo $before_title . $after_title;
371
  echo awesome_weather_logic( array( 'location' => $location, 'override_title' => $override_title, 'size' => $size, 'units' => $units, 'forecast_days' => $forecast_days, 'hide_stats' => $hide_stats, 'show_link' => $show_link, 'background' => $background, 'custom_bg_color' => $custom_bg_color ));
372
  echo $after_widget;
373
  }
languages/awesome-weather-de_DE.mo ADDED
Binary file
languages/awesome-weather-de_DE.po ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013 Awesome Weather Widget
2
+ # This file is distributed under the same license as the Awesome Weather Widget package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Awesome Weather Widget 1.3.1\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/awesome-weather\n"
7
+ "POT-Creation-Date: 2013-09-27 16:36:26+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2013-11-26 09:53+0100\n"
12
+ "Last-Translator: Anne Bremer <anne.bremer@the-bremer.net>\n"
13
+ "Language-Team: Schoene Heide <info@schoene-heide.de>\n"
14
+ "X-Generator: Poedit 1.5.7\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "Language: Deutsch\n"
17
+
18
+ #: awesome-weather.php:69
19
+ msgid "C"
20
+ msgstr "C"
21
+
22
+ #: awesome-weather.php:69
23
+ msgid "F"
24
+ msgstr "F"
25
+
26
+ #: awesome-weather.php:228
27
+ msgid "N"
28
+ msgstr "N"
29
+
30
+ #: awesome-weather.php:229
31
+ msgid "NNE"
32
+ msgstr "NNO"
33
+
34
+ #: awesome-weather.php:230
35
+ msgid "NE"
36
+ msgstr "NO"
37
+
38
+ #: awesome-weather.php:231
39
+ msgid "ENE"
40
+ msgstr "ONO"
41
+
42
+ #: awesome-weather.php:232
43
+ msgid "E"
44
+ msgstr "O"
45
+
46
+ #: awesome-weather.php:233
47
+ msgid "ESE"
48
+ msgstr "OSO"
49
+
50
+ #: awesome-weather.php:234
51
+ msgid "SE"
52
+ msgstr "SO"
53
+
54
+ #: awesome-weather.php:235
55
+ msgid "SSE"
56
+ msgstr "SSO"
57
+
58
+ #: awesome-weather.php:236
59
+ msgid "S"
60
+ msgstr "S"
61
+
62
+ #: awesome-weather.php:237
63
+ msgid "SSW"
64
+ msgstr "SSW"
65
+
66
+ #: awesome-weather.php:238
67
+ msgid "SW"
68
+ msgstr "SW"
69
+
70
+ #: awesome-weather.php:239
71
+ msgid "WSW"
72
+ msgstr "WSW"
73
+
74
+ #: awesome-weather.php:240
75
+ msgid "W"
76
+ msgstr "W"
77
+
78
+ #: awesome-weather.php:241
79
+ msgid "WNW"
80
+ msgstr "WNW"
81
+
82
+ #: awesome-weather.php:242
83
+ msgid "NW"
84
+ msgstr "NW"
85
+
86
+ #: awesome-weather.php:243
87
+ msgid "NNW"
88
+ msgstr "NNW"
89
+
90
+ #: awesome-weather.php:280
91
+ msgid "km/h"
92
+ msgstr "km/h"
93
+
94
+ #: awesome-weather.php:280
95
+ msgid "mph"
96
+ msgstr "mph"
97
+
98
+ #: awesome-weather.php:287
99
+ msgid "humidity:"
100
+ msgstr "Luftfeuchtigkeit:"
101
+
102
+ #: awesome-weather.php:288
103
+ msgid "wind:"
104
+ msgstr "Windstärke:"
105
+
106
+ #: awesome-weather.php:289
107
+ msgid "H"
108
+ msgstr "MAX"
109
+
110
+ #: awesome-weather.php:289
111
+ msgid "L"
112
+ msgstr "MIN"
113
+
114
+ #: awesome-weather.php:305
115
+ msgid "Sun"
116
+ msgstr "SO"
117
+
118
+ #: awesome-weather.php:305
119
+ msgid "Mon"
120
+ msgstr "MO"
121
+
122
+ #: awesome-weather.php:305
123
+ msgid "Tue"
124
+ msgstr "DIE"
125
+
126
+ #: awesome-weather.php:305
127
+ msgid "Wed"
128
+ msgstr "MI"
129
+
130
+ #: awesome-weather.php:305
131
+ msgid "Thu"
132
+ msgstr "DO"
133
+
134
+ #: awesome-weather.php:305
135
+ msgid "Fri"
136
+ msgstr "FR"
137
+
138
+ #: awesome-weather.php:305
139
+ msgid "Sat"
140
+ msgstr "SA"
141
+
142
+ #: awesome-weather.php:323
143
+ msgid "extended forecast"
144
+ msgstr "langfristige Vorhersage"
145
+
146
+ #: awesome-weather.php:344
147
+ msgid "No weather information available"
148
+ msgstr "Keine Wetterdaten verfügbar."
149
+
150
+ #: awesome-weather.php:405
151
+ msgid "Location:"
152
+ msgstr "Ort:"
153
+
154
+ #: awesome-weather.php:406
155
+ msgid "(i.e: London,UK or New York City,NY)"
156
+ msgstr "(d. h.: London/UK oder New York City, NY)"
157
+
158
+ #: awesome-weather.php:412
159
+ msgid "Override Title:"
160
+ msgstr "Titel ändern:"
161
+
162
+ #: awesome-weather.php:417
163
+ msgid "Units:"
164
+ msgstr "Einheiten:"
165
+
166
+ #: awesome-weather.php:423
167
+ msgid "Size:"
168
+ msgstr "Größe:"
169
+
170
+ #: awesome-weather.php:432
171
+ msgid "Forecast:"
172
+ msgstr "Vorhersage:"
173
+
174
+ #: awesome-weather.php:444
175
+ msgid "Background Image:"
176
+ msgstr "Hintergrundbild"
177
+
178
+ #: awesome-weather.php:449
179
+ msgid "Custom Background Color:"
180
+ msgstr "benutzerspezifische Hintergrundfarbe:"
181
+
182
+ #: awesome-weather.php:450
183
+ msgid "(overrides color changing, use hex #7fb761)"
184
+ msgstr "(schaltet Farbwechsel aus, verwenden Sie hex #7fb761)"
185
+
186
+ #: awesome-weather.php:455
187
+ msgid "Hide Stats:"
188
+ msgstr "Statistik verbergen"
189
+
190
+ #: awesome-weather.php:460
191
+ msgid "Link to OpenWeatherMap:"
192
+ msgstr "Link zu OpenWeatherMap:"
193
+
194
+ #. Plugin Name of the plugin/theme
195
+ msgid "Awesome Weather Widget"
196
+ msgstr "Awesome Weather Widget"
197
+
198
+ #. Plugin URI of the plugin/theme
199
+ msgid "http://halgatewood.com/awesome-weather"
200
+ msgstr "http://halgatewood.com/awesome-weather"
201
+
202
+ #. Description of the plugin/theme
203
+ msgid "A weather widget that actually looks cool"
204
+ msgstr "Ein Wetter-Widget, das tatsächlich cool aussieht"
205
+
206
+ #. Author of the plugin/theme
207
+ msgid "Hal Gatewood"
208
+ msgstr "Hal Gatewood"
209
+
210
+ #. Author URI of the plugin/theme
211
+ msgid "http://www.halgatewood.com"
212
+ msgstr "http://www.halgatewood.com"
readme.txt CHANGED
@@ -33,7 +33,8 @@ Use the built in widget or add it somewhere else with this shortcode: (all setti
33
  All weather data is provided by http://openweathermap.org and is cached for one hour.
34
 
35
  = Translations =
36
- Portuguese - alvarogois
 
37
 
38
 
39
  == Installation ==
@@ -54,6 +55,9 @@ Portuguese - alvarogois
54
 
55
  == Upgrade Notice ==
56
 
 
 
 
57
  = 1.3.1 =
58
  Added setting for color override
59
  Added URL param to clear transient cache '?clear_awesome_widget'
@@ -92,6 +96,10 @@ Changed API endpoints. Might not find weather without update.
92
 
93
  == Changelog ==
94
 
 
 
 
 
95
  = 1.3.1 =
96
  * Added setting for color override
97
  * Added URL param to clear transient cache '?clear_awesome_widget'
33
  All weather data is provided by http://openweathermap.org and is cached for one hour.
34
 
35
  = Translations =
36
+ * Portuguese - alvarogois
37
+ * German - Anne Bremer
38
 
39
 
40
  == Installation ==
55
 
56
  == Upgrade Notice ==
57
 
58
+ = 1.3.2 =
59
+ 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.
60
+
61
  = 1.3.1 =
62
  Added setting for color override
63
  Added URL param to clear transient cache '?clear_awesome_widget'
96
 
97
  == Changelog ==
98
 
99
+ = 1.3.2 =
100
+ * 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.
101
+ * Portuguese translation created by user: alvarogois
102
+
103
  = 1.3.1 =
104
  * Added setting for color override
105
  * Added URL param to clear transient cache '?clear_awesome_widget'