Skip to content

Commit

Permalink
Merge pull request #2 from darkskyapp/master
Browse files Browse the repository at this point in the history
Update from Dark Sky repository
  • Loading branch information
Chris Mitchell authored Mar 9, 2020
2 parents 1400d95 + 8fb43df commit cac893b
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 4 deletions.
6 changes: 6 additions & 0 deletions lib/lang/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,10 @@ module.exports = {

return str;
},
"next-hour-forecast-status": "η ωριαία πρόγνωση καιρού $1 λόγω $2",
"unavailable": "δεν είναι διαθέσιμη",
"temporarily-unavailable": "είναι προσωρινά μη διαθέσιμη",
"partially-unavailable": "είναι μερικώς μη διαθέσιμη",
"station-offline": "του ότι όλοι οι γύρω μετεωρολογικοί σταθμοί είναι εκτός λειτουργίας",
"station-incomplete": "χαμηλής κάλυψης από κοντινούς μετεωρολογικούς σταθμούς",
};
6 changes: 6 additions & 0 deletions lib/lang/lv.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,10 @@ module.exports = {

return str;
},
"next-hour-forecast-status": "tuvākās stundas laikā, laikaziņas ir $1 jo $2",
"unavailable": "nepieejamas,",
"temporarily-unavailable": "īslaicīgi nepieejamas,",
"partially-unavailable": "daļēji nepieejamas,",
"station-offline": "nav pieejami apgabala staciju radari",
"station-incomplete": "ir traucējumi starp staciju radariem",
};
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",
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "translations",
"version": "3.0.5",
"version": "3.0.8",
"description": "translate the Dark Sky API into any language",
"author": {
"name": "The Dark Sky Company",
Expand Down
12 changes: 11 additions & 1 deletion test_cases/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,15 @@
["title", "possible-thunderstorm"],

"Ισχυρή βροχή και καταιγίδα":
["title", ["and", "heavy-rain", "thunderstorm"]]
["title", ["and", "heavy-rain", "thunderstorm"]],

"Η ωριαία πρόγνωση καιρού είναι προσωρινά μη διαθέσιμη λόγω του ότι όλοι οι γύρω μετεωρολογικοί σταθμοί είναι εκτός λειτουργίας.":
["sentence", ["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]],

"Η ωριαία πρόγνωση καιρού είναι μερικώς μη διαθέσιμη λόγω χαμηλής κάλυψης από κοντινούς μετεωρολογικούς σταθμούς.":
["sentence", ["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]],

"Η ωριαία πρόγνωση καιρού δεν είναι διαθέσιμη λόγω του ότι όλοι οι γύρω μετεωρολογικοί σταθμοί είναι εκτός λειτουργίας.":
["sentence", ["next-hour-forecast-status", "unavailable", "station-offline"]]

}
12 changes: 11 additions & 1 deletion test_cases/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,15 @@

"Smidzinošs lietus sāksies nākamo < 1 min. laikā.":
["sentence",
["starting-in", "very-light-rain", ["less-than", ["minutes", 1]]]]
["starting-in", "very-light-rain", ["less-than", ["minutes", 1]]]],

"Tuvākās stundas laikā, laikaziņas ir īslaicīgi nepieejamas, jo nav pieejami apgabala staciju radari.":
["sentence", ["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]],

"Tuvākās stundas laikā, laikaziņas ir daļēji nepieejamas, jo ir traucējumi starp staciju radariem.":
["sentence", ["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]],

"Tuvākās stundas laikā, laikaziņas ir nepieejamas, jo nav pieejami apgabala staciju radari.":
["sentence", ["next-hour-forecast-status", "unavailable", "station-offline"]]

}
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 cac893b

Please sign in to comment.