Skip to content

Commit

Permalink
Added slovak translations for the status sentences (darkskyapp#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsefcik authored and Jay LaPorte committed Jan 13, 2020
1 parent ff3aa9b commit 9a339c6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/lang/sk.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,10 @@ module.exports = {

return str;
},
"next-hour-forecast-status": "Predpoveď na ďalšiu hodinu je $1, pretože $2.",
"unavailable": "nedostupná",
"temporarily-unavailable": "dočasne nedostupná",
"partially-unavailable": "čiastočne nedostupná",
"station-offline": "všetky radarové stanice v okolí sú v režime offline",
"station-incomplete": "vznikli medzery v pokrytí radarovými stanicami v okolí",
};
9 changes: 8 additions & 1 deletion test_cases/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,5 +263,12 @@
["title", ["and", "heavy-rain", "thunderstorm"]],

"Búrky až do budúceho pondelka.":
["sentence", ["until", "thunderstorm", "next-monday"]]
["sentence", ["until", "thunderstorm", "next-monday"]],

"Predpoveď na ďalšiu hodinu je dočasne nedostupná, pretože všetky radarové stanice v okolí sú v režime offline.":
["sentence",["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]],
"Predpoveď na ďalšiu hodinu je čiastočne nedostupná, pretože vznikli medzery v pokrytí radarovými stanicami v okolí.":
["sentence",["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]],
"Predpoveď na ďalšiu hodinu je nedostupná, pretože všetky radarové stanice v okolí sú v režime offline.":
["sentence",["next-hour-forecast-status", "unavailable", "station-offline"]]
}

0 comments on commit 9a339c6

Please sign in to comment.