From d55d59feef838887ad54dddd27e001b9413f089d Mon Sep 17 00:00:00 2001 From: Sergio Forero Date: Fri, 12 Feb 2021 11:35:28 -0500 Subject: [PATCH 1/3] Spanish translation for Feature and Rule synonym keywords --- gherkin/c/gherkin-languages.json | 8 ++++++-- gherkin/dotnet/Gherkin/gherkin-languages.json | 8 ++++++-- gherkin/elixir/priv/gherkin_languages.json | 8 ++++++-- gherkin/gherkin-languages.json | 8 ++++++-- gherkin/go/gherkin-languages.json | 8 ++++++-- .../resources/io/cucumber/gherkin/gherkin-languages.json | 8 ++++++-- gherkin/javascript/src/gherkin-languages.json | 8 ++++++-- .../objective-c/GherkinLanguages/gherkin-languages.json | 8 ++++++-- gherkin/perl/gherkin-languages.json | 8 ++++++-- gherkin/python/gherkin/gherkin-languages.json | 8 ++++++-- gherkin/ruby/lib/gherkin/gherkin-languages.json | 8 ++++++-- 11 files changed, 66 insertions(+), 22 deletions(-) diff --git a/gherkin/c/gherkin-languages.json b/gherkin/c/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/c/gherkin-languages.json +++ b/gherkin/c/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/dotnet/Gherkin/gherkin-languages.json b/gherkin/dotnet/Gherkin/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/dotnet/Gherkin/gherkin-languages.json +++ b/gherkin/dotnet/Gherkin/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/elixir/priv/gherkin_languages.json b/gherkin/elixir/priv/gherkin_languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/elixir/priv/gherkin_languages.json +++ b/gherkin/elixir/priv/gherkin_languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/gherkin-languages.json b/gherkin/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/gherkin-languages.json +++ b/gherkin/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/go/gherkin-languages.json b/gherkin/go/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/go/gherkin-languages.json +++ b/gherkin/go/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json b/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json +++ b/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/javascript/src/gherkin-languages.json b/gherkin/javascript/src/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/javascript/src/gherkin-languages.json +++ b/gherkin/javascript/src/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/objective-c/GherkinLanguages/gherkin-languages.json b/gherkin/objective-c/GherkinLanguages/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/objective-c/GherkinLanguages/gherkin-languages.json +++ b/gherkin/objective-c/GherkinLanguages/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/perl/gherkin-languages.json b/gherkin/perl/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/perl/gherkin-languages.json +++ b/gherkin/perl/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/python/gherkin/gherkin-languages.json b/gherkin/python/gherkin/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/python/gherkin/gherkin-languages.json +++ b/gherkin/python/gherkin/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", diff --git a/gherkin/ruby/lib/gherkin/gherkin-languages.json b/gherkin/ruby/lib/gherkin/gherkin-languages.json index 7b9412017d8..b1b08b88ba4 100644 --- a/gherkin/ruby/lib/gherkin/gherkin-languages.json +++ b/gherkin/ruby/lib/gherkin/gherkin-languages.json @@ -1078,7 +1078,10 @@ "Ejemplos" ], "feature": [ - "Característica" + "Característica", + "Necesidad del negocio", + "Necesidad", + "Requisito" ], "given": [ "* ", @@ -1090,7 +1093,8 @@ "name": "Spanish", "native": "español", "rule": [ - "Regla" + "Regla", + "Regla de negocio" ], "scenario": [ "Ejemplo", From a24dc1e24461da0b640f6666f23fe9bc61c3ae41 Mon Sep 17 00:00:00 2001 From: Sergio Forero Date: Fri, 12 Feb 2021 11:43:42 -0500 Subject: [PATCH 2/3] Add entry to changelog --- gherkin/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gherkin/CHANGELOG.md b/gherkin/CHANGELOG.md index 9fd3d2e3a3e..b632e2ed646 100644 --- a/gherkin/CHANGELOG.md +++ b/gherkin/CHANGELOG.md @@ -47,6 +47,9 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt (Fixes [#1284](https://github.com/cucumber/cucumber/issues/1284) ### Fixed +* Use Spanish translation for the "Rule" keyword and for the "Feature" synonym keywords + ([#1360](https://github.com/cucumber/cucumber/pull/1360) + [sergioforerogomez]) * Use Italian translation for the "Rule" keyword and for the "Feature" synonym keywords ([#1318](https://github.com/cucumber/cucumber/pull/1318) [mgiustiniani]) @@ -966,6 +969,7 @@ to Gherkin 2. [Pr-Mex]: https://github.com/Pr-Mex [Pwera]: https://github.com/Pwera [SabotageAndi]: https://github.com/SabotageAndi +[sergioforerogomez]: https://github.com/sergioforerogomez [tsundberg]: https://github.com/tsundberg [upgundecha]: https://github.com/upgundecha [vincent-psarga]: https://github.com/vincent-psarga From dbc08339dd4053b7242126a6656a4cdf712ea67e Mon Sep 17 00:00:00 2001 From: Sergio Forero Date: Tue, 16 Feb 2021 10:22:19 -0500 Subject: [PATCH 3/3] Spanish translation for Feature and Rule synonym keywords --- gherkin/c/gherkin-languages.json | 1 - gherkin/dotnet/Gherkin/gherkin-languages.json | 1 - gherkin/elixir/priv/gherkin_languages.json | 1 - gherkin/gherkin-languages.json | 1 - gherkin/go/gherkin-languages.json | 1 - .../main/resources/io/cucumber/gherkin/gherkin-languages.json | 1 - gherkin/javascript/src/gherkin-languages.json | 1 - gherkin/objective-c/GherkinLanguages/gherkin-languages.json | 1 - gherkin/perl/gherkin-languages.json | 1 - gherkin/python/gherkin/gherkin-languages.json | 1 - gherkin/ruby/lib/gherkin/gherkin-languages.json | 1 - 11 files changed, 11 deletions(-) diff --git a/gherkin/c/gherkin-languages.json b/gherkin/c/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/c/gherkin-languages.json +++ b/gherkin/c/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/dotnet/Gherkin/gherkin-languages.json b/gherkin/dotnet/Gherkin/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/dotnet/Gherkin/gherkin-languages.json +++ b/gherkin/dotnet/Gherkin/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/elixir/priv/gherkin_languages.json b/gherkin/elixir/priv/gherkin_languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/elixir/priv/gherkin_languages.json +++ b/gherkin/elixir/priv/gherkin_languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/gherkin-languages.json b/gherkin/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/gherkin-languages.json +++ b/gherkin/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/go/gherkin-languages.json b/gherkin/go/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/go/gherkin-languages.json +++ b/gherkin/go/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json b/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json +++ b/gherkin/java/src/main/resources/io/cucumber/gherkin/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/javascript/src/gherkin-languages.json b/gherkin/javascript/src/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/javascript/src/gherkin-languages.json +++ b/gherkin/javascript/src/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/objective-c/GherkinLanguages/gherkin-languages.json b/gherkin/objective-c/GherkinLanguages/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/objective-c/GherkinLanguages/gherkin-languages.json +++ b/gherkin/objective-c/GherkinLanguages/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/perl/gherkin-languages.json b/gherkin/perl/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/perl/gherkin-languages.json +++ b/gherkin/perl/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/python/gherkin/gherkin-languages.json b/gherkin/python/gherkin/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/python/gherkin/gherkin-languages.json +++ b/gherkin/python/gherkin/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [ diff --git a/gherkin/ruby/lib/gherkin/gherkin-languages.json b/gherkin/ruby/lib/gherkin/gherkin-languages.json index b1b08b88ba4..bf8cd686596 100644 --- a/gherkin/ruby/lib/gherkin/gherkin-languages.json +++ b/gherkin/ruby/lib/gherkin/gherkin-languages.json @@ -1080,7 +1080,6 @@ "feature": [ "Característica", "Necesidad del negocio", - "Necesidad", "Requisito" ], "given": [