Repository: darkskyapp/forecast-io-translations
Pull request #125 (2017-03-09 16:40:06)

Add 'thunderstorm' and 'next-*' translations for Bulgarian
Add 'thunderstorm' and 'next-*' translations for Bulgarian


Patch:
diff --git a/lib/lang/bg.js b/lib/lang/bg.js
index 235e7e9..d0ff861 100644
--- a/lib/lang/bg.js
+++ b/lib/lang/bg.js
@@ -70,6 +70,8 @@ module.exports = require("../template")({
   "light-snow": "слаб сняг",
   "medium-snow": "снеговалеж",
   "heavy-snow": "силен снеговалеж",
+  "possible-thunderstorm": "възможна гръмотевична буря",
+  "thunderstorm": "гръмотевична буря",
   "light-wind": "слаб вятър",
   "medium-wind": "умерен вятър",
   "heavy-wind": "силен вятър",
@@ -104,6 +106,13 @@ module.exports = require("../template")({
   "thursday": "в четвъвтък",
   "friday": "в петък",
   "saturday": "в събота",
+  "next-sunday": "следващата неделя",
+  "next-monday": "следващия понеделник",
+  "next-tuesday": "следващия вторник",
+  "next-wednesday": "следващата сряда",
+  "next-thursday": "следващия четвъвтък",
+  "next-friday": "следващия петък",
+  "next-saturday": "следващата събота",
   "minutes": "$1 мин",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",
diff --git a/lib/lang/ca.js b/lib/lang/ca.js
index 84972f9..0d730d0 100644
--- a/lib/lang/ca.js
+++ b/lib/lang/ca.js
@@ -48,8 +48,6 @@ module.exports = require("../template")({
   "light-snow": "lleugeres nevades",
   "medium-snow": "nevades",
   "heavy-snow": "fortes nevades",
-  "possible-thunderstorm": "possibles tempestes",
-  "thunderstorm": "tempesta",
   "light-wind": "vents fluixos",
   "medium-wind": "ventós",
   "heavy-wind": "perillosament ventós",
@@ -84,13 +82,6 @@ module.exports = require("../template")({
   "thursday": "el Dijous",
   "friday": "el Divendres",
   "saturday": "el Dissabte",
-  "next-sunday": "el pròxim diumenge",
-  "next-monday": "el pròxim dilluns",
-  "next-tuesday": "el pròxim dimarts",
-  "next-wednesday": "el pròxim dimecres",
-  "next-thursday": "el pròxim dijous",
-  "next-friday": "el pròxim divendres",
-  "next-saturday": "el pròxim dissabte",
   "minutes": "$1 min.",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",
diff --git a/lib/lang/tr.js b/lib/lang/tr.js
index b1f997d..5f4d6bc 100644
--- a/lib/lang/tr.js
+++ b/lib/lang/tr.js
@@ -42,8 +42,6 @@ module.exports = require("../template")({
   "light-snow": "hafif kar",
   "medium-snow": "kar",
   "heavy-snow": "yoğun kar",
-  "possible-thunderstorm": "fırtına olasılığı",
-  "thunderstorm": "fırtına",
   "light-wind": "hafif rüzgar",
   "medium-wind": "rüzgar",
   "heavy-wind": "yoğun rüzgar",
@@ -71,20 +69,13 @@ module.exports = require("../template")({
   "night": "gece",
   "today": "bugün",
   "tomorrow": "yarın",
-  "sunday": "Pazar",
-  "monday": "Pazartesi",
-  "tuesday": "Salı",
-  "wednesday": "Çarşamba",
-  "thursday": "Perşembe",
-  "friday": "Cuma",
-  "saturday": "Cumartesi",
-  "next-sunday": "Haftaya Pazar'a kadar",
-  "next-monday": "Haftaya Pazartesi'ye kadar",
-  "next-tuesday": "Haftaya Salı'ya kadar",
-  "next-wednesday": "Haftaya Çarşamba'ya kadar",
-  "next-thursday": "Haftaya Perşembe'ye kadar",
-  "next-friday": "Haftaya Cuma'ya kadar",
-  "next-saturday": "Haftaya Cumartesi'ye kadar",
+  "sunday": "pazar",
+  "monday": "pazartesi",
+  "tuesday": "salı",
+  "wednesday": "çarşamba",
+  "thursday": "perşembe",
+  "friday": "cuma",
+  "saturday": "cumartesi",
   "minutes": "$1 dk.",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",
diff --git a/package.json b/package.json
index 2a0c29d..022d117 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "forecast-io-translations",
-  "version": "1.32.0",
+  "version": "1.31.0",
   "description": "translate the Dark Sky API into any language",
   "author": {
     "name": "The Dark Sky Company",


Test patch:
diff --git a/test_cases/bg.json b/test_cases/bg.json
index 58e4b23..f411a4e 100644
--- a/test_cases/bg.json
+++ b/test_cases/bg.json
@@ -251,6 +251,12 @@
   "Временни превалявания (1–3 in.) през целият ден.":
     ["sentence",
       ["for-day",
-        ["parenthetical", "mixed-precipitation", ["inches", ["range", 1, 3]]]]]
+        ["parenthetical", "mixed-precipitation", ["inches", ["range", 1, 3]]]]],
+
+  "Възможна Гръмотевична Буря":
+    ["title", "possible-thunderstorm"],
+
+  "Силен Дъжд и Гръмотевична Буря":
+    ["title", ["and", "heavy-rain", "thunderstorm"]]		
 
 }
diff --git a/test_cases/ca.json b/test_cases/ca.json
index 9d12905..5b6ac9a 100644
--- a/test_cases/ca.json
+++ b/test_cases/ca.json
@@ -234,22 +234,5 @@
         ["through", "today", "saturday"]],
       ["temperatures-peaking",
         ["fahrenheit", 100],
-        "monday"]]],
-
-  "Precipitacions mixtes (1\u20133 in.) durant el dia.":
-    ["sentence",
-      ["for-day",
-        ["parenthetical", "mixed-precipitation", ["inches", ["range", 1, 3]]]]],
-
-  "Fortes Nevades (1\u20133 In.)":
-    ["title", ["parenthetical", "heavy-snow", ["inches", ["range", 1, 3]]]],
-
-  "Fortes Nevades (3\u20135 Cm.)":
-    ["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]],
-
-  "Possibles Tempestes":
-    ["title", "possible-thunderstorm"],
-
-  "Plujes Fortes i Tempesta":
-    ["title", ["and", "heavy-rain", "thunderstorm"]]
+        "monday"]]]
 }
diff --git a/test_cases/tr.json b/test_cases/tr.json
index 356625a..fe419d0 100644
--- a/test_cases/tr.json
+++ b/test_cases/tr.json
@@ -214,7 +214,7 @@
   "Öğleden sonra kar (1 cm.'nin altında).":
     ["sentence", ["during",
       ["parenthetical","medium-snow",
-    ["less-than", ["centimeters", 1]]],"afternoon"
+	  ["less-than", ["centimeters", 1]]],"afternoon"
       ]],
 
 
@@ -223,31 +223,31 @@
       ["for-week","no-precipitation"],
       ["temperatures-peaking",
         ["fahrenheit", 85],
-          "tomorrow"
+		      "tomorrow"
         ]]],
 
-  "Hafta sonu karışık yağış, Perşembe sıcaklık 32\u00B0C'ye yükseliyor.":
+  "Hafta sonu karışık yağış, perşembe sıcaklık 32\u00B0C'ye yükseliyor.":
     ["sentence", ["with",
       ["over-weekend","mixed-precipitation"],
       ["temperatures-rising",
         ["celsius", 32],
         "thursday"]]],
 
-  "Pazartesi çok hafif yağmur, Cuma hava soğuyor ve sıcaklık 15\u00B0F'ye düşüyor.":
+  "Pazartesi çok hafif yağmur, cuma hava soğuyor ve sıcaklık 15\u00B0F'ye düşüyor.":
     ["sentence", ["with",
       ["during", "very-light-rain" ,"monday"],
       ["temperatures-valleying",
         ["fahrenheit", 15],
         "friday"]]],
 
-  "Salı ve Çarşamba hafif kar, Pazar sıcaklık 0\u00B0C'ye düşüyor.":
+  "Salı ve çarşamba hafif kar, pazar sıcaklık 0\u00B0C'ye düşüyor.":
     ["sentence", ["with",
       ["during", "light-snow",["and", "tuesday", "wednesday"]],
       ["temperatures-falling",
         ["celsius", 0],
         "sunday"]]],
 
-  "Bugün ile Cumartesi arası yağış, Pazartesi yüksek sıcaklık 100\u00B0F.":
+  "Bugün ile cumartesi arası yağış, pazartesi yüksek sıcaklık 100\u00B0F.":
     ["sentence", ["with",
       ["during",
         "medium-precipitation",
@@ -265,8 +265,5 @@
     ["title", ["parenthetical", "heavy-snow", ["inches", ["range", 1, 3]]]],
 
   "Yoğun kar (3\u20135 cm.)":
-    ["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]],
-
-  "Haftaya Çarşamba'ya kadar yoğun yağmur":
-    ["during", "heavy-rain", "next-wednesday"]
+    ["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]]
 }