Skip to content

Commit

Permalink
Translated missing pieces into Latvian (darkskyapp#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
EriksVorobjovs authored Mar 3, 2020
1 parent 185183c commit abc0bc4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
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",
};
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"]]

}

0 comments on commit abc0bc4

Please sign in to comment.