Awesome Weather Widget - Version 1.5.1

Version Description

  • Changed .custom class to .awe_custom
Download this release

Release Info

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

Code changes from version 1.5 to 1.5.1

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
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
@@ -88,7 +88,7 @@ function awesome_weather_logic( $atts )
88
  $locale = 'en';
89
 
90
  $sytem_locale = get_locale();
91
- $available_locales = array( 'en', 'es', 'sp', 'fr', 'it', 'de', 'pt', 'ro', 'pl', 'ru', 'uk', 'ua', 'fi', 'nl', 'bg', 'sv', 'se', 'ca', 'tr', 'hr', 'zh', 'zh_tw', 'zh_cn' );
92
 
93
 
94
  // CHECK FOR LOCALE
@@ -235,7 +235,7 @@ function awesome_weather_logic( $atts )
235
  {
236
  if( substr(trim($custom_bg_color), 0, 1) != "#" AND substr(trim(strtolower($custom_bg_color)), 0, 3) != "rgb" ) { $custom_bg_color = "#" . $custom_bg_color; }
237
  $inline_style .= "background-color: {$custom_bg_color};";
238
- $background_classes[] = "custom";
239
  }
240
  else
241
  {
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
 
88
  $locale = 'en';
89
 
90
  $sytem_locale = get_locale();
91
+ $available_locales = array( 'en', 'es', 'sp', 'fr', 'it', 'de', 'pt', 'ro', 'pl', 'ru', 'uk', 'ua', 'fi', 'nl', 'bg', 'sv', 'se', 'ca', 'tr', 'hr', 'zh', 'zh_tw', 'zh_cn', 'hu' );
92
 
93
 
94
  // CHECK FOR LOCALE
235
  {
236
  if( substr(trim($custom_bg_color), 0, 1) != "#" AND substr(trim(strtolower($custom_bg_color)), 0, 3) != "rgb" ) { $custom_bg_color = "#" . $custom_bg_color; }
237
  $inline_style .= "background-color: {$custom_bg_color};";
238
+ $background_classes[] = "awe_custom";
239
  }
240
  else
241
  {
languages/awesome-weather-tr_TR.mo ADDED
Binary file
languages/awesome-weather-tr_TR.po ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 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.5\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/awesome-weather\n"
7
+ "POT-Creation-Date: 2015-05-21 19:42:51+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: 2015-06-08 06:31+0200\n"
12
+ "Last-Translator: \n"
13
+ "Language-Team: \n"
14
+ "X-Generator: Poedit 1.7.4\n"
15
+ "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "Language: tr_TR\n"
17
+
18
+ #: awesome-weather.php:79
19
+ msgid "C"
20
+ msgstr "°C"
21
+
22
+ #: awesome-weather.php:79
23
+ msgid "F"
24
+ msgstr "°F"
25
+
26
+ #: awesome-weather.php:273
27
+ msgid "N"
28
+ msgstr "K"
29
+
30
+ #: awesome-weather.php:274
31
+ msgid "NNE"
32
+ msgstr "KKD"
33
+
34
+ #: awesome-weather.php:275
35
+ msgid "NE"
36
+ msgstr "KD"
37
+
38
+ #: awesome-weather.php:276
39
+ msgid "ENE"
40
+ msgstr "DKD"
41
+
42
+ #: awesome-weather.php:277
43
+ msgid "E"
44
+ msgstr "D"
45
+
46
+ #: awesome-weather.php:278
47
+ msgid "ESE"
48
+ msgstr "DGD"
49
+
50
+ #: awesome-weather.php:279
51
+ msgid "SE"
52
+ msgstr "GD"
53
+
54
+ #: awesome-weather.php:280
55
+ msgid "SSE"
56
+ msgstr "GGD"
57
+
58
+ #: awesome-weather.php:281
59
+ msgid "S"
60
+ msgstr "G"
61
+
62
+ #: awesome-weather.php:282
63
+ msgid "SSW"
64
+ msgstr "GGB"
65
+
66
+ #: awesome-weather.php:283
67
+ msgid "SW"
68
+ msgstr "GB"
69
+
70
+ #: awesome-weather.php:284
71
+ msgid "WSW"
72
+ msgstr "BGB"
73
+
74
+ #: awesome-weather.php:285
75
+ msgid "W"
76
+ msgstr "B"
77
+
78
+ #: awesome-weather.php:286
79
+ msgid "WNW"
80
+ msgstr "BKB"
81
+
82
+ #: awesome-weather.php:287
83
+ msgid "NW"
84
+ msgstr "KB"
85
+
86
+ #: awesome-weather.php:288
87
+ msgid "NNW"
88
+ msgstr "KKB"
89
+
90
+ #: awesome-weather.php:385
91
+ msgid "km/h"
92
+ msgstr "km/saat"
93
+
94
+ #: awesome-weather.php:385
95
+ msgid "mph"
96
+ msgstr "mil/saat"
97
+
98
+ #: awesome-weather.php:391
99
+ msgid "humidity:"
100
+ msgstr "nem:"
101
+
102
+ #: awesome-weather.php:392
103
+ msgid "wind:"
104
+ msgstr "Rüzgar:"
105
+
106
+ #: awesome-weather.php:393
107
+ msgid "H"
108
+ msgstr "Y"
109
+
110
+ #: awesome-weather.php:393
111
+ msgid "L"
112
+ msgstr "D"
113
+
114
+ #: awesome-weather.php:409
115
+ msgid "Sun"
116
+ msgstr "Paz"
117
+
118
+ #: awesome-weather.php:409
119
+ msgid "Mon"
120
+ msgstr "Ptesi"
121
+
122
+ #: awesome-weather.php:409
123
+ msgid "Tue"
124
+ msgstr "Sal"
125
+
126
+ #: awesome-weather.php:409
127
+ msgid "Wed"
128
+ msgstr "Çarş"
129
+
130
+ #: awesome-weather.php:409
131
+ msgid "Thu"
132
+ msgstr "Per"
133
+
134
+ #: awesome-weather.php:409
135
+ msgid "Fri"
136
+ msgstr "Cuma"
137
+
138
+ #: awesome-weather.php:409
139
+ msgid "Sat"
140
+ msgstr "Ctesi"
141
+
142
+ #: awesome-weather.php:427
143
+ msgid "extended forecast"
144
+ msgstr "Genişletilmiş tahmin"
145
+
146
+ #: awesome-weather.php:448
147
+ msgid "No weather information available"
148
+ msgstr "Mevcut Hava durumu bilgisi yok"
149
+
150
+ #: awesome-weather.php:469
151
+ msgid "No city found in OpenWeatherMap."
152
+ msgstr "şehir bulunamadı."
153
+
154
+ #: awesome-weather.php:470
155
+ msgid "Only one location found. The ID has been set automatically above."
156
+ msgstr "Sadece bir yer bulundu. Kimliği otomatik olarak yukarıda belirtilmiştir."
157
+
158
+ #: awesome-weather.php:471
159
+ msgid "Please confirm your city:  "
160
+ msgstr "Şehrinizi teyit edin: & nbsp;"
161
+
162
+ #: awesome-weather.php:555
163
+ msgid "Search for Your Location:"
164
+ msgstr "Konumunuzu ara:"
165
+
166
+ #: awesome-weather.php:556
167
+ msgid "(i.e: London,UK or New York City,NY)"
168
+ msgstr "(Örn: Londra,İngiltere ya da New York,NY)"
169
+
170
+ #: awesome-weather.php:563
171
+ msgid "OpenWeatherMap City ID:"
172
+ msgstr "OpenWeatherMap Şehir Kimliği:"
173
+
174
+ #: awesome-weather.php:564
175
+ msgid "(use the field above to find the ID for your city)"
176
+ msgstr "(Şehrinizin kimliğini bulmak için yukarıdaki alanı kullanın)"
177
+
178
+ #: awesome-weather.php:577
179
+ msgid "Override Title:"
180
+ msgstr "Başlığı geçersiz kıl:"
181
+
182
+ #: awesome-weather.php:582
183
+ msgid "Units:"
184
+ msgstr "Birimler:"
185
+
186
+ #: awesome-weather.php:588
187
+ msgid "Size:"
188
+ msgstr "Boyutu:"
189
+
190
+ #: awesome-weather.php:597
191
+ msgid "Forecast:"
192
+ msgstr "Tahmin:"
193
+
194
+ #: awesome-weather.php:609
195
+ msgid "Background Image:"
196
+ msgstr "Arkaplan Resim:"
197
+
198
+ #: awesome-weather.php:615
199
+ msgid "Use Different Background Images Based on Weather"
200
+ msgstr "Havaya dayanarak Farklı Arka Plan Görüntüleri kullanın"
201
+
202
+ #: awesome-weather.php:619
203
+ msgid "Custom Background Color:"
204
+ msgstr "Özel Arkaplan Rengi:"
205
+
206
+ #: awesome-weather.php:620
207
+ msgid "overrides color changing"
208
+ msgstr "Renk değişimini geçersiz kılar"
209
+
210
+ #: awesome-weather.php:626
211
+ msgid "Hide Stats"
212
+ msgstr "İstatistikleri gizle"
213
+
214
+ #: awesome-weather.php:632
215
+ msgid "Link to OpenWeatherMap"
216
+ msgstr "OpenWeatherMap Link"
217
+
218
+ #: awesome-weather.php:636
219
+ msgid "Widget Title: (optional)"
220
+ msgstr "Bileşen başlığı: (isteğe bağlı)"
221
+
222
+ #. Plugin Name of the plugin/theme
223
+ msgid "Awesome Weather Widget"
224
+ msgstr "Hava Durumu Bileşeni"
225
+
226
+ #. Plugin URI of the plugin/theme
227
+ msgid "https://halgatewood.com/awesome-weather"
228
+ msgstr "https://halgatewood.com/awesome-weather"
229
+
230
+ #. Description of the plugin/theme
231
+ msgid "A weather widget that actually looks cool"
232
+ msgstr "hava durmu bileşeni aslında iyi görünüyor "
233
+
234
+ #. Author of the plugin/theme
235
+ msgid "Hal Gatewood"
236
+ msgstr "Hal Gatewood"
237
+
238
+ #. Author URI of the plugin/theme
239
+ msgid "https://www.halgatewood.com"
240
+ msgstr "https://www.halgatewood.com"
readme.txt CHANGED
@@ -46,6 +46,10 @@ Use the built in widget with all of its marvelous settings or add it to a page o
46
  * Greek - John T.
47
  * Finnish - Mikko A.
48
  * Hungarian - Istvan H.
 
 
 
 
49
 
50
  == Installation ==
51
 
@@ -67,6 +71,9 @@ Use the built in widget with all of its marvelous settings or add it to a page o
67
 
68
  == Upgrade Notice ==
69
 
 
 
 
70
  = 1.5 =
71
  * 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.
72
  * 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.
@@ -146,6 +153,9 @@ Changed API endpoints. Might not find weather without update.
146
 
147
  == Changelog ==
148
 
 
 
 
149
  = 1.5 =
150
  * 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.
151
  * 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.
46
  * Greek - John T.
47
  * Finnish - Mikko A.
48
  * Hungarian - Istvan H.
49
+ * Arabic - Fouad Y.
50
+ * Croatian - Vinko P.
51
+ * Nederlands - Schoene H.
52
+ * Turkish - Saban K.
53
 
54
  == Installation ==
55
 
71
 
72
  == Upgrade Notice ==
73
 
74
+ = 1.5.1 =
75
+ * Changed .custom class to .awe_custom
76
+
77
  = 1.5 =
78
  * 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.
79
  * 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.
153
 
154
  == Changelog ==
155
 
156
+ = 1.5.1 =
157
+ * Changed .custom class to .awe_custom
158
+
159
  = 1.5 =
160
  * 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.
161
  * 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.