Skip to content

Commit

Permalink
Translated missing pieces into Dutch (darkskyapp#296)
Browse files Browse the repository at this point in the history
* Update nl.js

* Update nl.js

* Slight change and added testcases
  • Loading branch information
realjax authored and Jay LaPorte committed Jan 23, 2020
1 parent 8febcf5 commit 1f2e2ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/lang/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,10 @@ module.exports = {

return str;
},
"next-hour-forecast-status": "de eerstvolgende voorspelling is $1 omdat $2",
"unavailable": "niet beschikbaar",
"temporarily-unavailable": "tijdelijk niet beschikbaar",
"partially-unavailable": "gedeeltelijk niet beschikbaar",
"station-offline": "alle radar stations in de buurt offline zijn",
"station-incomplete": "de dekking van radar stations in de buurt niet volledig is",
};
11 changes: 10 additions & 1 deletion test_cases/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,15 @@
["title", "possible-thunderstorm"],

"Zware regenbuien en onweer":
["title", ["and", "heavy-rain", "thunderstorm"]]
["title", ["and", "heavy-rain", "thunderstorm"]],

"De eerstvolgende voorspelling is tijdelijk niet beschikbaar omdat alle radar stations in de buurt offline zijn.":
["sentence", ["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]],

"De eerstvolgende voorspelling is gedeeltelijk niet beschikbaar omdat de dekking van radar stations in de buurt niet volledig is.":
["sentence", ["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]],

"De eerstvolgende voorspelling is niet beschikbaar omdat alle radar stations in de buurt offline zijn.":
["sentence", ["next-hour-forecast-status", "unavailable", "station-offline"]]

}

0 comments on commit 1f2e2ac

Please sign in to comment.