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

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


Pull request:
Added next-*, thunderstorm and possible-thunderstorm to Dutch language
Fixes #107 

Patch:
diff --git a/lib/lang/nl.js b/lib/lang/nl.js
index 32bdae0..d94dcad 100644
--- a/lib/lang/nl.js
+++ b/lib/lang/nl.js
@@ -56,6 +56,8 @@ module.exports = require("../template")({
   "light-clouds": "licht bewolkt",
   "medium-clouds": "overwegend bewolkt",
   "heavy-clouds": "zwaar bewolkt",
+  "possible-thunderstorm": "mogelijk onweer",
+  "thunderstorm": "onweer",
   "today-morning":  function() {
     return today_variants(this, "de ochtend", "vanochtend");
   },
@@ -89,6 +91,13 @@ module.exports = require("../template")({
   "thursday": function(){ return weekdays(this, "donderdag"); },
   "friday": function(){ return weekdays(this, "vrijdag"); },
   "saturday": function(){ return weekdays(this, "zaterdag"); },
+  "next-sunday": "volgende zondag",
+  "next-monday": "volgende maandag",
+  "next-tuesday": "volgende dinsdag",
+  "next-wednesday": "volgende woensdag",
+  "next-thursday": "volgende donderdag",
+  "next-friday": "volgende vrijdag",
+  "next-saturday": "volgende zaterdag",
   "minutes": "$1 minuten",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",


Test patch:
diff --git a/test_cases/nl.json b/test_cases/nl.json
index af9a710..62141ee 100644
--- a/test_cases/nl.json
+++ b/test_cases/nl.json
@@ -215,6 +215,12 @@
         "monday"]]],
 
   "Vanaf vannacht lichte regen.":
-    ["sentence", ["starting", "light-rain", "today-night"]]
+    ["sentence", ["starting", "light-rain", "today-night"]],
+
+  "Mogelijk onweer":
+  ["title", "possible-thunderstorm"],
+
+  "Zware regenbuien en onweer":
+  ["title", ["and", "heavy-rain", "thunderstorm"]]
 
 }