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

Issue:
Support Thunderstorm and Next-Week Properties in French
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 French. (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 French
Closes #99 

Patch:
diff --git a/lib/lang/fr.js b/lib/lang/fr.js
index ca889c1..c15cadc 100644
--- a/lib/lang/fr.js
+++ b/lib/lang/fr.js
@@ -41,6 +41,8 @@ module.exports = require("../template")({
   "light-snow": "neige faible",
   "medium-snow": "neige",
   "heavy-snow": "neige forte",
+  "possible-thunderstorm": "orages possibles",
+  "thunderstorm": "orage",
   "light-wind": "vent faible",
   "medium-wind": "venté",
   "heavy-wind": "vent fort",
@@ -75,6 +77,13 @@ module.exports = require("../template")({
   "thursday": "jeudi",
   "friday": "vendredi",
   "saturday": "samedi",
+  "next-sunday": "dimanche prochain",
+  "next-monday": "lundi prochain",
+  "next-tuesday": "mardi prochain",
+  "next-wednesday": "mercredi prochain",
+  "next-thursday": "jeudi prochain",
+  "next-friday": "vendredi prochain",
+  "next-saturday": "samedi prochain",
   "minutes": "$1 min.",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",
@@ -121,7 +130,7 @@ module.exports = require("../template")({
   "temperatures-valleying": "des températures atteignant $1 $2",
   "temperatures-falling": "des températures descendant jusqu’à $1 $2",
   /* Capitalize the first letter of every word, except if that word is "et".
-   * 
+   *
    * Fun fact: JavaScript regex's "\w" and "\b" don't recognize accented
    * characters (such as é or à) and so the neat trick used in the English
    * version of the "title" function can't be used here. (Conveniently,


Test patch:
diff --git a/test_cases/fr.json b/test_cases/fr.json
index fe99a69..a9cb8c2 100644
--- a/test_cases/fr.json
+++ b/test_cases/fr.json
@@ -236,5 +236,11 @@
         ["through", "wednesday", "saturday"]],
       ["temperatures-peaking",
         ["fahrenheit", 100],
-        "monday"]]]
+        "monday"]]],
+
+  "Orages possibles mercredi prochain et jeudi prochain.":
+    ["sentence", ["during",
+      "possible-thunderstorm",
+        ["and", "next-wednesday", "next-thursday"]
+    ]]
 }