Awesome Weather Widget - Version 1.4.3

Version Description

  • Fixed spanish translations for weather description
  • Transient bug for languages also
Download this release

Release Info

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

Code changes from version 1.4.2 to 1.4.3

Files changed (2) hide show
  1. awesome-weather.php +7 -5
  2. readme.txt +4 -0
awesome-weather.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
2
  /*
3
  Plugin Name: Awesome Weather Widget
4
- 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.4.2
 
 
9
 
10
 
11
  FILTERS AVAILABLE:
@@ -74,7 +76,7 @@ function awesome_weather_logic( $atts )
74
  $locale = 'en';
75
 
76
  $sytem_locale = get_locale();
77
- $available_locales = array( 'en', 'sp', 'fr', 'it', 'de', 'pt', 'ro', 'pl', 'ru', 'ua', 'fi', 'nl', 'bg', 'se', 'tr', 'zh_tw', 'zh_cn' );
78
 
79
 
80
  // CHECK FOR LOCALE
@@ -108,7 +110,7 @@ function awesome_weather_logic( $atts )
108
 
109
 
110
  // TRANSIENT NAME
111
- $weather_transient_name = 'awe_' . $city_name_slug . "_" . strtolower($units_display) . '_' . $locale;
112
 
113
 
114
  // TWO APIS USED (VERSION 2.5)
1
  <?php
2
  /*
3
  Plugin Name: Awesome Weather Widget
4
+ 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.4.3
9
+ Text Domain: text-blocks
10
+ Domain Path: /languages
11
 
12
 
13
  FILTERS AVAILABLE:
76
  $locale = 'en';
77
 
78
  $sytem_locale = get_locale();
79
+ $available_locales = array( 'en', 'es', 'sp', 'fr', 'it', 'de', 'pt', 'ro', 'pl', 'ru', 'ua', 'fi', 'nl', 'bg', 'se', 'tr', 'zh_tw', 'zh_cn' );
80
 
81
 
82
  // CHECK FOR LOCALE
110
 
111
 
112
  // TRANSIENT NAME
113
+ $weather_transient_name = 'awe_' . $city_name_slug . "_" . strtolower($units) . '_' . $locale;
114
 
115
 
116
  // TWO APIS USED (VERSION 2.5)
readme.txt CHANGED
@@ -134,6 +134,10 @@ Changed API endpoints. Might not find weather without update.
134
 
135
  == Changelog ==
136
 
 
 
 
 
137
  = 1.4.2 =
138
  Added box-sizing: border-box to hopefully clean up the widget in many themes.
139
 
134
 
135
  == Changelog ==
136
 
137
+ = 1.4.3 =
138
+ * Fixed spanish translations for weather description
139
+ * Transient bug for languages also
140
+
141
  = 1.4.2 =
142
  Added box-sizing: border-box to hopefully clean up the widget in many themes.
143