Skip to content

Commit

Permalink
v2.15.0 Add wording for explaining unavailable radar data
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoniya Statelova committed Dec 12, 2019
1 parent 9fcb1ed commit 8470886
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/lang/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,6 @@ module.exports = {

return str;
},
"unavailable-radar": "Прогнозата за идния час временно не е на разположение поради $1.",
"station-offline": "липса на информация от всички близки станции",
};
2 changes: 2 additions & 0 deletions lib/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,6 @@ module.exports = {

return str;
},
"unavailable-radar": "Next hour forecasts are temporarily unavailable due to $1.",
"station-offline": "all nearby radar stations being offline",
};
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": "2.14.4",
"version": "2.15.0",
"description": "translate the Dark Sky API into any language",
"author": {
"name": "The Dark Sky Company",
Expand Down
4 changes: 3 additions & 1 deletion test_cases/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@
["title", "possible-thunderstorm"],

"Силен Дъжд и Гръмотевична Буря":
["title", ["and", "heavy-rain", "thunderstorm"]]
["title", ["and", "heavy-rain", "thunderstorm"]],

"Прогнозата за идния час временно не е на разположение поради липса на информация от всички близки станции.":
["sentence",["unavailable-radar", "station-offline"]]
}
5 changes: 4 additions & 1 deletion test_cases/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,5 +257,8 @@

"Drizzle starting in < 1 min.":
["sentence",
["starting-in", "very-light-rain", ["less-than", ["minutes", 1]]]]
["starting-in", "very-light-rain", ["less-than", ["minutes", 1]]]],

"Next hour forecasts are temporarily unavailable due to all nearby radar stations being offline.":
["sentence",["unavailable-radar", "station-offline"]]
}

0 comments on commit 8470886

Please sign in to comment.