Beaufort descriptions corrected

The descriptions of Beaufort numbers 10 and 11 were wrong (please, see http://en.wikipedia.org/wiki/Beaufort_scale#Modern_scale ).
yahoo_weather
Mattia M. 12 years ago
parent 291b7bd47c
commit 2083aa3a4f
  1. 4
      src/extension.js

@ -893,9 +893,9 @@ const WeatherMenuButton = new Lang.Class({
else if(w >= 47 && w <= 54) else if(w >= 47 && w <= 54)
return (!t)?"9":"("+_("Strong gale")+")"; return (!t)?"9":"("+_("Strong gale")+")";
else if(w >= 55 && w <= 63) else if(w >= 55 && w <= 63)
return (!t)?"10":"("+_("Whole gale")+")"; return (!t)?"10":"("+_("Storm")+")";
else if(w >= 64 && w <= 73) else if(w >= 64 && w <= 73)
return (!t)?"11":"("+_("Storm")+")"; return (!t)?"11":"("+_("Violent storm")+")";
else else
return (!t)?"12":"("+_("Hurricane")+")"; return (!t)?"12":"("+_("Hurricane")+")";
}, },

Loading…
Cancel
Save