Repository: darkskyapp/forecast-io-translations (js)

Issue:
Support Thunderstorm and Next-Week Properties in Simplified Chinese
In the near future, the API will begin generating the following new properties:

*   `possible-thunderstorm`
*   `thunderstorm`
*   `next-sunday`
*   `next-monday`
*   `next-tuesday`
*   `next-wednesday`
*   `next-thursday`
*   `next-friday`
*   `next-saturday`

Add support for these properties to simplified Chinese. (Information is available in the README, and examples are visible in `/lib/lang/en.js` and `/test_cases/en.js`.)


Pull request:
fix #118 update for new API

Patch:
diff --git a/lib/lang/zh.js b/lib/lang/zh.js
index bb9ebb1..13cdbf9 100644
--- a/lib/lang/zh.js
+++ b/lib/lang/zh.js
@@ -36,6 +36,8 @@ module.exports = require("../template")({
   "light-clouds": "局部多云",
   "medium-clouds": "多云",
   "heavy-clouds": "多云转阴",
+  "possible-thunderstorm":"可能有雷暴",
+  "thunderstorm":"雷暴",
   "today-morning": "今天早上",
   "later-today-morning": "今天上午晚些时候",
   "today-afternoon": "今天下午",
@@ -62,6 +64,13 @@ module.exports = require("../template")({
   "friday": "周五",
   "saturday": "周六",
   "minutes": "$1分钟",
+  "next-sunday":"下周日",
+  "next-monday":"下周一",
+  "next-tuesday":"下周二",
+  "next-wednesday":"下周三",
+  "next-thursday":"下周四",
+  "next-friday":"下周五",
+  "next-saturday":"下周六",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",
   "inches": "$1英寸",


Test patch:
diff --git a/test_cases/zh.json b/test_cases/zh.json
index 7768217..d37a391 100644
--- a/test_cases/zh.json
+++ b/test_cases/zh.json
@@ -98,6 +98,11 @@
   "潮湿，局部多云":
     ["title", ["and", "high-humidity", "light-clouds"]],
 
+  "多云，可能有雷暴":
+    ["title", ["and", "medium-clouds", "possible-thunderstorm"]],
+
+  "多云，雷暴":
+    ["title", ["and", "medium-clouds", "thunderstorm"]],
 
   "在接下来一个小时内晴朗。":
     ["sentence", ["for-hour", "clear"]],
@@ -135,6 +140,9 @@
   "大量降水将持续至下午。":
     ["sentence", ["until", "heavy-precipitation", "afternoon"]],
 
+  "雷暴将持续至下周一。":
+  ["sentence", ["until", "thunderstorm", "next-monday"]],
+
   "微风持续至下午。":
     ["sentence", ["during", "light-wind", "afternoon"]],