From abc0bc44755cd1da697a2d8a55f8be82ab4ced49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=92riks=20Vorobjovs?= Date: Tue, 3 Mar 2020 14:37:13 +0200 Subject: [PATCH] Translated missing pieces into Latvian (#297) --- 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"]] + }