diff --git a/src/extension.js b/src/extension.js index 9a5ec69..98df1c6 100644 --- a/src/extension.js +++ b/src/extension.js @@ -744,7 +744,10 @@ const WeatherMenuButton = new Lang.Class({ // scattered thunderstorms return ['weather-storm']; case 39: + // The API-description differs from the use by !Yahoo, see: // http://developer.yahoo.com/forum/YDN-Documentation/Yahoo-Weather-API-Wrong-Condition-Code/1290534174000-1122fc3d-da6d-34a2-9fb9-d0863e6c5bc6 + // guessed as isolated showers + return ['weather-showers-isolated', 'weather-showers']; case 40: // scattered showers return ['weather-showers-scattered', 'weather-showers']; @@ -903,10 +906,13 @@ const WeatherMenuButton = new Lang.Class({ // isolated thunderstorms return _('Isolated thunderstorms'); case 38: - // scattered thunderstorms - case 39: // scattered thunderstorms return _('Scattered thunderstorms'); + case 39: + // The API-description differs from the use by !Yahoo, see: + // http://developer.yahoo.com/forum/YDN-Documentation/Yahoo-Weather-API-Wrong-Condition-Code/1290534174000-1122fc3d-da6d-34a2-9fb9-d0863e6c5bc6 + // guessed as isolated showers + return _('Isolated showers'); case 40: // scattered showers return _('Scattered showers');