Skip to content

Commit

Permalink
UPDATE: i18m / gherkin-lanaguages
Browse files Browse the repository at this point in the history
  • Loading branch information
jenisys committed Feb 15, 2022
1 parent c67afda commit 61781ed
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 28 deletions.
43 changes: 29 additions & 14 deletions behave/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'given': ['* ', 'Gegewe '],
'name': 'Afrikaans',
'native': 'Afrikaans',
'rule': ['Rule'],
'rule': ['Regel'],
'scenario': ['Voorbeeld', 'Situasie'],
'scenario_outline': ['Situasie Uiteensetting'],
'then': ['* ', 'Dan '],
Expand Down Expand Up @@ -101,7 +101,7 @@
'given': ['* ', 'Дадено '],
'name': 'Bulgarian',
'native': 'български',
'rule': ['Rule'],
'rule': ['Правило'],
'scenario': ['Пример', 'Сценарий'],
'scenario_outline': ['Рамка на сценарий'],
'then': ['* ', 'То '],
Expand Down Expand Up @@ -156,7 +156,7 @@
'given': ['* ', 'Pokud ', 'Za předpokladu '],
'name': 'Czech',
'native': 'Česky',
'rule': ['Rule'],
'rule': ['Pravidlo'],
'scenario': ['Příklad', 'Scénář'],
'scenario_outline': ['Náčrt Scénáře', 'Osnova scénáře'],
'then': ['* ', 'Pak '],
Expand Down Expand Up @@ -313,6 +313,21 @@
'scenario_outline': ['Shiver me timbers'],
'then': ['* ', 'Let go and haul '],
'when': ['* ', 'Blimey! ']},
'en-tx': {'and': ['Come hell or high water '],
'background': ["Lemme tell y'all a story"],
'but': ["Well now hold on, I'll you what "],
'examples': ["Now that's a story longer than a cattle drive in "
'July'],
'feature': ['This ain’t my first rodeo', 'All gussied up'],
'given': ["Fixin' to ", 'All git out '],
'name': 'Texas',
'native': 'Texas',
'rule': ['Rule '],
'scenario': ['All hat and no cattle'],
'scenario_outline': ['Serious as a snake bite',
'Busy as a hound in flea season'],
'then': ['There’s no tree but bears some fruit '],
'when': ['Quick out of the chute ']},
'eo': {'and': ['* ', 'Kaj '],
'background': ['Fono'],
'but': ['* ', 'Sed '],
Expand All @@ -330,11 +345,11 @@
'background': ['Antecedentes'],
'but': ['* ', 'Pero '],
'examples': ['Ejemplos'],
'feature': ['Característica'],
'feature': ['Característica', 'Necesidad del negocio', 'Requisito'],
'given': ['* ', 'Dado ', 'Dada ', 'Dados ', 'Dadas '],
'name': 'Spanish',
'native': 'español',
'rule': ['Regla'],
'rule': ['Regla', 'Regla de negocio'],
'scenario': ['Ejemplo', 'Escenario'],
'scenario_outline': ['Esquema del escenario'],
'then': ['* ', 'Entonces '],
Expand Down Expand Up @@ -471,7 +486,7 @@
'given': ['* ', 'अगर ', 'यदि ', 'चूंकि '],
'name': 'Hindi',
'native': 'हिंदी',
'rule': ['Rule'],
'rule': ['नियम'],
'scenario': ['परिदृश्य'],
'scenario_outline': ['परिदृश्य रूपरेखा'],
'then': ['* ', 'तब ', 'तदा '],
Expand Down Expand Up @@ -515,7 +530,7 @@
'given': ['* ', 'Amennyiben ', 'Adott '],
'name': 'Hungarian',
'native': 'magyar',
'rule': ['Rule'],
'rule': ['Szabály'],
'scenario': ['Példa', 'Forgatókönyv'],
'scenario_outline': ['Forgatókönyv vázlat'],
'then': ['* ', 'Akkor '],
Expand Down Expand Up @@ -555,11 +570,11 @@
'background': ['Contesto'],
'but': ['* ', 'Ma '],
'examples': ['Esempi'],
'feature': ['Funzionalità'],
'feature': ['Funzionalità', 'Esigenza di Business', 'Abilità'],
'given': ['* ', 'Dato ', 'Data ', 'Dati ', 'Date '],
'name': 'Italian',
'native': 'italiano',
'rule': ['Rule'],
'rule': ['Regola'],
'scenario': ['Esempio', 'Scenario'],
'scenario_outline': ['Schema dello scenario'],
'then': ['* ', 'Allora '],
Expand Down Expand Up @@ -780,7 +795,7 @@
'given': ['* ', 'Zakładając ', 'Mając ', 'Zakładając, że '],
'name': 'Polish',
'native': 'polski',
'rule': ['Rule'],
'rule': ['Zasada', 'Reguła'],
'scenario': ['Przykład', 'Scenariusz'],
'scenario_outline': ['Szablon scenariusza'],
'then': ['* ', 'Wtedy '],
Expand Down Expand Up @@ -833,7 +848,7 @@
'native': 'русский',
'rule': ['Правило'],
'scenario': ['Пример', 'Сценарий'],
'scenario_outline': ['Структура сценария'],
'scenario_outline': ['Структура сценария', 'Шаблон сценария'],
'then': ['* ', 'То ', 'Затем ', 'Тогда '],
'when': ['* ', 'Когда ', 'Если ']},
'sk': {'and': ['* ', 'A ', 'A tiež ', 'A taktiež ', 'A zároveň '],
Expand Down Expand Up @@ -881,7 +896,7 @@
'given': ['* ', 'За дато ', 'За дате ', 'За дати '],
'name': 'Serbian',
'native': 'Српски',
'rule': ['Rule'],
'rule': ['Правило'],
'scenario': ['Пример', 'Сценарио', 'Пример'],
'scenario_outline': ['Структура сценарија', 'Скица', 'Концепт'],
'then': ['* ', 'Онда '],
Expand All @@ -894,7 +909,7 @@
'given': ['* ', 'Za dato ', 'Za date ', 'Za dati '],
'name': 'Serbian (Latin)',
'native': 'Srpski (Latinica)',
'rule': ['Rule'],
'rule': ['Pravilo'],
'scenario': ['Scenario', 'Primer'],
'scenario_outline': ['Struktura scenarija', 'Skica', 'Koncept'],
'then': ['* ', 'Onda '],
Expand Down Expand Up @@ -972,7 +987,7 @@
'given': ['* ', 'Diyelim ki '],
'name': 'Turkish',
'native': 'Türkçe',
'rule': ['Rule'],
'rule': ['Kural'],
'scenario': ['Örnek', 'Senaryo'],
'scenario_outline': ['Senaryo taslağı'],
'then': ['* ', 'O zaman '],
Expand Down
75 changes: 61 additions & 14 deletions etc/gherkin/gherkin-languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"name": "Afrikaans",
"native": "Afrikaans",
"rule": [
"Rule"
"Regel"
],
"scenario": [
"Voorbeeld",
Expand Down Expand Up @@ -303,7 +303,7 @@
"name": "Bulgarian",
"native": "български",
"rule": [
"Rule"
"Правило"
],
"scenario": [
"Пример",
Expand Down Expand Up @@ -494,7 +494,7 @@
"name": "Czech",
"native": "Česky",
"rule": [
"Rule"
"Pravidlo"
],
"scenario": [
"Příklad",
Expand Down Expand Up @@ -1013,6 +1013,46 @@
"* ",
"Blimey! "
]
},
"en-tx": {
"and": [
"Come hell or high water "
],
"background": [
"Lemme tell y'all a story"
],
"but": [
"Well now hold on, I'll you what "
],
"examples": [
"Now that's a story longer than a cattle drive in July"
],
"feature": [
"This ain’t my first rodeo",
"All gussied up"
],
"given": [
"Fixin' to ",
"All git out "
],
"name": "Texas",
"native": "Texas",
"rule": [
"Rule "
],
"scenario": [
"All hat and no cattle"
],
"scenarioOutline": [
"Serious as a snake bite",
"Busy as a hound in flea season"
],
"then": [
"There’s no tree but bears some fruit "
],
"when": [
"Quick out of the chute "
]
},
"eo": {
"and": [
Expand Down Expand Up @@ -1078,7 +1118,9 @@
"Ejemplos"
],
"feature": [
"Característica"
"Característica",
"Necesidad del negocio",
"Requisito"
],
"given": [
"* ",
Expand All @@ -1090,7 +1132,8 @@
"name": "Spanish",
"native": "español",
"rule": [
"Regla"
"Regla",
"Regla de negocio"
],
"scenario": [
"Ejemplo",
Expand Down Expand Up @@ -1520,7 +1563,7 @@
"name": "Hindi",
"native": "हिंदी",
"rule": [
"Rule"
"नियम"
],
"scenario": [
"परिदृश्य"
Expand Down Expand Up @@ -1672,7 +1715,7 @@
"name": "Hungarian",
"native": "magyar",
"rule": [
"Rule"
"Szabály"
],
"scenario": [
"Példa",
Expand Down Expand Up @@ -1804,7 +1847,9 @@
"Esempi"
],
"feature": [
"Funzionalità"
"Funzionalità",
"Esigenza di Business",
"Abilità"
],
"given": [
"* ",
Expand All @@ -1816,7 +1861,7 @@
"name": "Italian",
"native": "italiano",
"rule": [
"Rule"
"Regola"
],
"scenario": [
"Esempio",
Expand Down Expand Up @@ -2561,7 +2606,8 @@
"name": "Polish",
"native": "polski",
"rule": [
"Rule"
"Zasada",
"Reguła"
],
"scenario": [
"Przykład",
Expand Down Expand Up @@ -2736,7 +2782,8 @@
"Сценарий"
],
"scenarioOutline": [
"Структура сценария"
"Структура сценария",
"Шаблон сценария"
],
"then": [
"* ",
Expand Down Expand Up @@ -2896,7 +2943,7 @@
"name": "Serbian",
"native": "Српски",
"rule": [
"Rule"
"Правило"
],
"scenario": [
"Пример",
Expand Down Expand Up @@ -2951,7 +2998,7 @@
"name": "Serbian (Latin)",
"native": "Srpski (Latinica)",
"rule": [
"Rule"
"Pravilo"
],
"scenario": [
"Scenario",
Expand Down Expand Up @@ -3229,7 +3276,7 @@
"name": "Turkish",
"native": "Türkçe",
"rule": [
"Rule"
"Kural"
],
"scenario": [
"Örnek",
Expand Down
1 change: 1 addition & 0 deletions features/cmdline.lang_list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Feature: Command-line options: Use behave --lang-list
en-lol: LOLCAT / LOLCAT
en-old: Englisc / Old English
en-pirate: Pirate / Pirate
en-tx: Texas / Texas
eo: Esperanto / Esperanto
es: español / Spanish
et: eesti keel / Estonian
Expand Down

0 comments on commit 61781ed

Please sign in to comment.