diff --git a/lib/lang/lv.js b/lib/lang/lv.js index 57bbc15..ccfaa76 100644 --- a/lib/lang/lv.js +++ b/lib/lang/lv.js @@ -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", }; diff --git a/test_cases/lv.json b/test_cases/lv.json index 91481fd..7085c26 100644 --- a/test_cases/lv.json +++ b/test_cases/lv.json @@ -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"]] + }