From dca9ebab9b0cf9bbb8a1443ba025fc4b84609a92 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Thu, 14 Feb 2013 12:23:29 +0800 Subject: [PATCH 1/3] Translated fuzzy strings --- po/zh_CN.po | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/po/zh_CN.po b/po/zh_CN.po index c34d644..6780836 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -358,9 +358,8 @@ msgid "Please wait" msgstr "请等待" #: ../src/extension.js:1441 -#, fuzzy msgid "Feels like:" -msgstr "体感:" +msgstr "体感:" #: ../src/extension.js:1443 msgid "Humidity:" From 82fd8ee543eb05267c5a8a4a742d92aef93a86f6 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Thu, 14 Feb 2013 12:26:31 +0800 Subject: [PATCH 2/3] More accurate translations --- po/zh_CN.po | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/po/zh_CN.po b/po/zh_CN.po index 6780836..8a2b496 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -212,12 +212,11 @@ msgstr "不可用" #: ../src/extension.js:880 msgid "Calm" -msgstr "平静" +msgstr "风平浪静" #: ../src/extension.js:882 -#, fuzzy msgid "Light air" -msgstr "轻空气" +msgstr "轻微气流" #: ../src/extension.js:884 msgid "Light breeze" @@ -245,7 +244,7 @@ msgstr "中度风" #: ../src/extension.js:896 msgid "Fresh gale" -msgstr "清新" +msgstr "清风" #: ../src/extension.js:898 msgid "Strong gale" @@ -326,7 +325,7 @@ msgstr "昨天" #: ../src/extension.js:1198 ../src/extension.js:1327 #, python-format msgid "%s days ago" -msgstr "%s 天之前" +msgstr "%s天之前" #: ../src/extension.js:1319 msgid "Today" @@ -428,4 +427,4 @@ msgstr "城市名" #: ../src/prefs.js:452 #, python-format msgid "Remove %s ?" -msgstr "删除 %s ?" +msgstr "删除 %s 吗?" From 4edb96350291fdc4a9744a1dd7bd3b87d8f88006 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Thu, 14 Feb 2013 12:32:00 +0800 Subject: [PATCH 3/3] Change 'x*0.555556' to 'x/1.8' --- src/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.js b/src/extension.js index 91a8f4a..9ad54c0 100644 --- a/src/extension.js +++ b/src/extension.js @@ -836,7 +836,7 @@ const WeatherMenuButton = new Lang.Class({ toCelsius: function(t) { - return String(Math.round((Number(t)-32)*0.555556)); + return String(Math.round((Number(t)-32)/1.8)); }, toKelvin: function(t)