Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
Slovenian lang updates (#300)
Browse files Browse the repository at this point in the history
* Update sl lang according to new spec

* better wording

* Test cases update to reflect new updates

* typo
  • Loading branch information
AndyTempel authored Mar 23, 2020
1 parent 4900a90 commit bcdfaa4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 7 additions & 1 deletion lib/lang/sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = {
"over-weekend": "$1 v soboto in nedeljo",
"temperatures-peaking": "temperaturami do $1 $2",
"temperatures-rising": "temperaturami do $1 $2",
"temperatures-valleying": "najnižjimi temperaturamiokoli $1 $2",
"temperatures-valleying": "najnižjimi temperaturami okoli $1 $2",
"temperatures-falling": "temperaturami do $1 $2",
/* Capitalize the first letter of every word. */
"title": function(str) {
Expand All @@ -134,4 +134,10 @@ module.exports = {

return str;
},
"next-hour-forecast-status": "urne napovedi $1, ker $2",
"unavailable": "niso na voljo",
"temporarily-unavailable": "začasno niso na voljo",
"partially-unavailable": "delno niso na voljo",
"station-offline": "so vse bližnje radarske postaje brez povezave",
"station-incomplete": "imajo bližnje radarske postaje pomanjkljivo pokritost",
};
12 changes: 10 additions & 2 deletions test_cases/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
["celsius", 32],
"thursday"]]],

"Rosenje v ponedeljek, s najnižjimi temperaturamiokoli 15\u00B0F v petek.":
"Rosenje v ponedeljek, s najnižjimi temperaturami okoli 15\u00B0F v petek.":
["sentence", ["with",
["during", "very-light-rain", "monday"],
["temperatures-valleying",
Expand Down Expand Up @@ -242,7 +242,15 @@
["title", ["parenthetical", "heavy-snow", ["inches", ["range", 1, 3]]]],

"Močno sneženje (3\u20135 cm.)":
["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]]
["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]],

"Urne napovedi začasno niso na voljo, ker so vse bližnje radarske postaje brez povezave.":
["sentence", ["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]],

"Urne napovedi delno niso na voljo, ker imajo bližnje radarske postaje pomanjkljivo pokritost.":
["sentence", ["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]],

"Urne napovedi niso na voljo, ker so vse bližnje radarske postaje brez povezave.":
["sentence", ["next-hour-forecast-status", "unavailable", "station-offline"]]

}

0 comments on commit bcdfaa4

Please sign in to comment.