Merge pull request #88 from m13253/master

Some zh_CN translations and one line of src change
yahoo_weather
Christian Louis Gabriel METZLER 12 years ago
commit 5c4e96a266
  1. 14
      po/zh_CN.po
  2. 2
      src/extension.js

@ -212,12 +212,11 @@ msgstr "不可用"
#: ../src/extension.js:880 #: ../src/extension.js:880
msgid "Calm" msgid "Calm"
msgstr "平静" msgstr "静"
#: ../src/extension.js:882 #: ../src/extension.js:882
#, fuzzy
msgid "Light air" msgid "Light air"
msgstr "轻空气" msgstr "轻微气流"
#: ../src/extension.js:884 #: ../src/extension.js:884
msgid "Light breeze" msgid "Light breeze"
@ -245,7 +244,7 @@ msgstr "中度风"
#: ../src/extension.js:896 #: ../src/extension.js:896
msgid "Fresh gale" msgid "Fresh gale"
msgstr "清" msgstr "清"
#: ../src/extension.js:898 #: ../src/extension.js:898
msgid "Strong gale" msgid "Strong gale"
@ -326,7 +325,7 @@ msgstr "昨天"
#: ../src/extension.js:1198 ../src/extension.js:1327 #: ../src/extension.js:1198 ../src/extension.js:1327
#, python-format #, python-format
msgid "%s days ago" msgid "%s days ago"
msgstr "%s 天之前" msgstr "%s天之前"
#: ../src/extension.js:1319 #: ../src/extension.js:1319
msgid "Today" msgid "Today"
@ -358,9 +357,8 @@ msgid "Please wait"
msgstr "请等待" msgstr "请等待"
#: ../src/extension.js:1441 #: ../src/extension.js:1441
#, fuzzy
msgid "Feels like:" msgid "Feels like:"
msgstr "体感:" msgstr "体感"
#: ../src/extension.js:1443 #: ../src/extension.js:1443
msgid "Humidity:" msgid "Humidity:"
@ -429,4 +427,4 @@ msgstr "城市名"
#: ../src/prefs.js:452 #: ../src/prefs.js:452
#, python-format #, python-format
msgid "Remove %s ?" msgid "Remove %s ?"
msgstr "删除 %s ?" msgstr "删除 %s 吗?"

@ -836,7 +836,7 @@ const WeatherMenuButton = new Lang.Class({
toCelsius: function(t) toCelsius: function(t)
{ {
return String(Math.round((Number(t)-32)*0.555556)); return String(Math.round((Number(t)-32)/1.8));
}, },
toKelvin: function(t) toKelvin: function(t)

Loading…
Cancel
Save