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

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

Patch:
diff --git a/lib/lang/pt.js b/lib/lang/pt.js
index 44fb6cd..36d34d1 100644
--- a/lib/lang/pt.js
+++ b/lib/lang/pt.js
@@ -42,6 +42,8 @@ module.exports = require("../template")({
   "light-snow": "neve fraca",
   "medium-snow": "neve",
   "heavy-snow": "nevão",
+  "possible-thunderstorm": "tempestades possíveis",
+  "thurderstorm": "tempestade",
   "light-wind": "vento fraco",
   "medium-wind": "vento",
   "heavy-wind": "vento forte",
@@ -76,6 +78,13 @@ module.exports = require("../template")({
   "thursday": "quinta-feira",
   "friday": "sexta-feira",
   "saturday": "sábado",
+  "next-sunday": "próximo domingo",
+  "next-monday": "próxima segunda-feira",
+  "next-tuesday": "próxima terça-feira",
+  "next-wednesday": "próxima quarta-feira",
+  "next-thursday": "próxima quinta-feira",
+  "next-friday": "próxima sexta-feira",
+  "next-saturday": "próximo sábado",
   "minutes": "$1 min",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",


Test patch:
diff --git a/test_cases/pt.json b/test_cases/pt.json
index 82fe73d..0d36dd0 100644
--- a/test_cases/pt.json
+++ b/test_cases/pt.json
@@ -158,7 +158,7 @@
       "heavy-rain",
       "later-today-morning",
       "today-evening"]],
-  
+
   "Muito nublado começa esta noite, continua até à madrugada.":
     ["sentence",["starting-continuing-until",
       "heavy-clouds",
@@ -226,7 +226,7 @@
       ["temperatures-valleying",
         ["celsius", 15],
         "friday"]]],
-  
+
   "Neve fraca durante terça-feira e quarta-feira, com as temperaturas a descer até um minimo de 0\u00B0C domingo.":
     ["sentence", ["with",
       ["during", "light-snow", ["and", "tuesday", "wednesday"]],
@@ -241,6 +241,8 @@
         ["through", "today", "saturday"]],
       ["temperatures-peaking",
         ["celsius", 37],
-        "monday"]]]
+        "monday"]]],
 
+  "Tempestades possíveis até próxima quarta-feira.":
+  ["sentence", ["until", "possible-thunderstorm", "next-wednesday"]]
 }