From 6d65c406d1094c36f0cd1d3f3fa4f27bc34af14b Mon Sep 17 00:00:00 2001 From: Eriks Vorobjovs Date: Tue, 3 Mar 2020 13:56:48 +0200 Subject: [PATCH] Translated missing pieces into Latvian --- lib/lang/lv.js | 6 ++++++ test_cases/lv.json | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/lang/lv.js b/lib/lang/lv.js index 57bbc155..ccfaa767 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 91481fd0..7085c267 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"]] + }