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

Issue:
Support Thunderstorm and Next-Week Properties in Spanish
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 Spanish. (Information is available in the README, and examples are visible in `/lib/lang/en.js` and `/test_cases/en.js`.)


Pull request:
Add support for next-* and thunderstorms to Spanish
Closes #97 

Patch:
diff --git a/lib/lang/es.js b/lib/lang/es.js
index 95a3468..f8b0026 100644
--- a/lib/lang/es.js
+++ b/lib/lang/es.js
@@ -48,6 +48,8 @@ module.exports = require("../template")({
   "light-snow": "nevadas ligeras",
   "medium-snow": "nevadas",
   "heavy-snow": "fuertes nevadas",
+  "possible-thunderstorm": "tormentas posibles",
+  "thunderstorm": "tormenta",
   "light-wind": "pocos vientos",
   "medium-wind": "ventoso",
   "heavy-wind": "peligrosamente ventoso",
@@ -82,6 +84,13 @@ module.exports = require("../template")({
   "thursday": "el Jueves",
   "friday": "el Viernes",
   "saturday": "el Sábado",
+  "next-sunday": "el próximo Domingo",
+  "next-monday": "el próximo Lunes",
+  "next-tuesday": "el próximo Martes",
+  "next-wednesday": "el próximo Miércoles",
+  "next-thursday": "el próximo Jueves",
+  "next-friday": "el próximo Viernes",
+  "next-saturday": "el próximo Sábado",
   "minutes": "$1 min.",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",


Test patch:
diff --git a/test_cases/es.json b/test_cases/es.json
index 384d4ac..2ce8d2c 100644
--- a/test_cases/es.json
+++ b/test_cases/es.json
@@ -234,5 +234,8 @@
         ["through", "today", "saturday"]],
       ["temperatures-peaking",
         ["fahrenheit", 100],
-        "monday"]]]
+        "monday"]]],
+
+  "Tormentas posibles hasta el próximo Miércoles.":
+    ["sentence", ["until", "possible-thunderstorm", "next-wednesday"]]
 }