nebius/SWE-rebench-V2-PRs huggingface dataset:
Repository: darkskyapp/forecast-io-translations
Pull request #38 (2015-07-06 18:58:01)

Slovak translation minor changes
Some minor changes for Slovak translation


Patch:
diff --git a/lib/lang/sk.js b/lib/lang/sk.js
index c69cb90..f03b118 100644
--- a/lib/lang/sk.js
+++ b/lib/lang/sk.js
@@ -6,7 +6,7 @@ function remove_prefix_and_use_genitive(a) {
   switch(a) {
     case "dnes ráno":
       return "dnešného rána";
-    case "dopoludnia":
+    case "dnes dopoludnia":
       return "dnešného dopoludnia";
     case "dnes popoludní":
       return "dnešného popoludnia";
@@ -120,7 +120,7 @@ module.exports = require("../template")({
   "medium-clouds": "prevažne zamračené",
   "heavy-clouds": "zamračené",
   "today-morning": "dnes ráno",
-  "later-today-morning": "dopoludnia",
+  "later-today-morning": "dnes dopoludnia",
   "today-afternoon": "dnes popoludní",
   "later-today-afternoon": "dnes podvečer",
   "today-evening": "dnes večer",


Test patch:
diff --git a/test_cases/sk.json b/test_cases/sk.json
index 8163383..ece9db9 100644
--- a/test_cases/sk.json
+++ b/test_cases/sk.json
@@ -186,7 +186,7 @@
       ["parenthetical", "medium-snow", ["inches", 5]],
       "night"]],
 
-  "Dopoludnia slabé sneženie (2 cm).":
+  "Dnes dopoludnia slabé sneženie (2 cm).":
     ["sentence", ["during",
       ["parenthetical", "light-snow", ["centimeters", 2]],
       "later-today-morning"]],
Repository: darkskyapp/forecast-io-translations
Pull request #56 (2015-11-27 13:15:27)

Feature/dutch errors
This is a proposed fix for issue #32 plus a small change to the "starting-continuing-until" fragment that i think sounds a bit better.

I think the prefix "van" shouldn't be necessary for a correct sentence. 


Patch:
diff --git a/lib/lang/nl.js b/lib/lang/nl.js
index 91ccd41..c400fcd 100644
--- a/lib/lang/nl.js
+++ b/lib/lang/nl.js
@@ -17,7 +17,7 @@ function today_variants(scope, a, b){
 }
 
 function weekdays(scope, day){
-  return (scope.indexOf("through") !== -1 ? "van " : "op ") + day;
+  return (scope.indexOf("through") !== -1 ? "" : "op ") + day;
 }
 
 module.exports = require("../template")({
@@ -96,7 +96,7 @@ module.exports = require("../template")({
     );
   },
   "through": function(a, b) {
-    return join_with_shared_prefix(a, b, " tot ");
+    return join_with_shared_prefix(a, b, " t/m ");
   },
   "with": "$1 met $2",
   "range": "$1 tot $2",
@@ -119,7 +119,7 @@ module.exports = require("../template")({
   },
   "until": "$1 tot $2",
   "until-starting-again": "$1 tot $2 en $3 weer opnieuw",
-  "starting-continuing-until": "$1 vanaf $2 dat door blijft gaan tot $3",
+  "starting-continuing-until": "$1 vanaf $2, houdt aan tot $3",
   "during": function(condition, time) {
     if(this[1] === "and")
       return time + " " + condition;


Test patch:
diff --git a/test_cases/nl.json b/test_cases/nl.json
index 5dc082a..cf31639 100644
--- a/test_cases/nl.json
+++ b/test_cases/nl.json
@@ -121,7 +121,7 @@
       "later-today-morning",
       "today-evening"]],
 
-  "Zwaar bewolkt vanaf de avond dat door blijft gaan tot de nacht.":
+  "Zwaar bewolkt vanaf de avond, houdt aan tot de nacht.":
     ["sentence", ["starting-continuing-until",
       "heavy-clouds",
       "evening",
@@ -133,7 +133,7 @@
       ["during", "light-sleet", "later-today-afternoon"],
       ["during", "fog", "tomorrow-morning"]]],
 
-  "Zware windstoten vanaf de ochtend dat door blijft gaan tot de middag en morgenochtend ijzel.":
+  "Zware windstoten vanaf de ochtend, houdt aan tot de middag, en morgenochtend ijzel.":
     ["sentence", ["and",
       ["starting-continuing-until",
         "heavy-wind",
@@ -146,7 +146,7 @@
       ["starting", "heavy-clouds", "later-today-night"],
       ["during", "heavy-snow", "tomorrow-afternoon"]]],
 
-  "Vannacht lage luchtvochtigheid en lichte neerslag vanaf morgenavond dat door blijft gaan tot morgennacht.":
+  "Vannacht lage luchtvochtigheid en lichte neerslag vanaf morgenavond, houdt aan tot morgennacht.":
     ["sentence", ["and",
       ["during", "low-humidity", "today-night"],
       ["starting-continuing-until",
@@ -202,7 +202,7 @@
         ["celsius", 0],
         "sunday"]]],
 
-  "Neerslag van donderdag tot zaterdag met een maximum temperatuur van 100\u00B0F op maandag.":
+  "Neerslag donderdag t/m zaterdag met een maximum temperatuur van 100\u00B0F op maandag.":
     ["sentence", ["with",
       ["during",
         "medium-precipitation",
Repository: darkskyapp/forecast-io-translations
Pull request #124 (2017-03-09 16:11:20)

Catalan modifications:
possible-thunderstorm
thunderstorm
next-sunday
next-monday
next-tuesday
next-wednesday
next-thursday
next-friday
next-saturday


Patch:
diff --git a/lib/lang/ca.js b/lib/lang/ca.js
index 0d730d0..84972f9 100644
--- a/lib/lang/ca.js
+++ b/lib/lang/ca.js
@@ -48,6 +48,8 @@ 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",
@@ -82,6 +84,13 @@ 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",


Test patch:
diff --git a/test_cases/ca.json b/test_cases/ca.json
index 5b6ac9a..9d12905 100644
--- a/test_cases/ca.json
+++ b/test_cases/ca.json
@@ -234,5 +234,22 @@
         ["through", "today", "saturday"]],
       ["temperatures-peaking",
         ["fahrenheit", 100],
-        "monday"]]]
+        "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"]]
 }
Repository: darkskyapp/forecast-io-translations
Pull request #127 (2017-03-09 21:50:38)

Cornish translations updated
The Cornish version has been updated with thunderstorms and next-day translations and tests.


Patch:
diff --git a/lib/lang/kw.js b/lib/lang/kw.js
index bdfb47d..3ee7785 100644
--- a/lib/lang/kw.js
+++ b/lib/lang/kw.js
@@ -48,6 +48,8 @@ module.exports = require("../template")({
   "light-snow": "ergh skav",
   "medium-snow": "ergh",
   "heavy-snow": "ergh poos",
+  "possible-thunderstorm": "tewedhow-taran possybyl",
+  "thunderstorm": "tewedhow-taran",
   "light-wind": "nebes gwynsek",
   "medium-wind": "gwynsek",
   "heavy-wind": "gwynsek bys yn peryl",
@@ -82,6 +84,13 @@ module.exports = require("../template")({
   "thursday": "dy' Yow",
   "friday": "dy' Gwener",
   "saturday": "dy' Sadorn",
+  "next-sunday": "dy' Sul a dheu",
+  "next-monday": "dy' Lun a dheu",
+  "next-tuesday": "dy' Meurth a dheu",
+  "next-wednesday": "dy' Mergher a dheu",
+  "next-thursday": "dy' Yow a dheu",
+  "next-friday": "dy' Gwener a dheu",
+  "next-saturday": "dy' Sadorn a dheu",
   "minutes": "$1 myn.",
   "fahrenheit": "$1\u00B0F",
   "celsius": "$1\u00B0C",


Test patch:
diff --git a/test_cases/kw.json b/test_cases/kw.json
index ef1db1e..77c79b7 100644
--- a/test_cases/kw.json
+++ b/test_cases/kw.json
@@ -222,9 +222,9 @@
         ["fahrenheit", 15],
         "friday"]]],
 
-  "Ergh skav dy' Meurth ha dy' Mergher, gans tempredhow ow kodha dhe 0\u00B0C dy' Sul.":
+  "Ergh skav dy' Meurth ha dy' Mergher a dheu, gans tempredhow ow kodha dhe 0\u00B0C dy' Sul.":
     ["sentence", ["with",
-      ["during", "light-snow", ["and", "tuesday", "wednesday"]],
+      ["during", "light-snow", ["and", "tuesday", "next-wednesday"]],
       ["temperatures-falling",
         ["celsius", 0],
         "sunday"]]],
@@ -247,5 +247,11 @@
     ["title", ["parenthetical", "heavy-snow", ["inches", ["range", 1, 3]]]],
 
   "Ergh Poos (3\u20135 cm.)":
-    ["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]]
+    ["title", ["parenthetical", "heavy-snow", ["centimeters", ["range", 3, 5]]]],
+
+  "Tewedhow-Taran Possybyl":
+    ["title", "possible-thunderstorm"],
+
+  "Glaw Poos Ha Tewedhow-Taran":
+    ["title", ["and", "heavy-rain", "thunderstorm"]]
 }