Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 14bb163

Browse files
committed
gherkin: Add Aragonese.
1 parent 5335765 commit 14bb163

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

gherkin-languages.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,51 @@
8181
"Երբ "
8282
]
8383
},
84+
"an": {
85+
"and": [
86+
"* ",
87+
"Y ",
88+
"E "
89+
],
90+
"background": [
91+
"Antecedents"
92+
],
93+
"but": [
94+
"* ",
95+
"Pero "
96+
],
97+
"examples": [
98+
"Eixemplos"
99+
],
100+
"feature": [
101+
"Caracteristica"
102+
],
103+
"given": [
104+
"* ",
105+
"Dau ",
106+
"Dada ",
107+
"Daus ",
108+
"Dadas "
109+
],
110+
"name": "Aragonese",
111+
"native": "Aragonés",
112+
"scenario": [
113+
"Caso"
114+
],
115+
"scenarioOutline": [
116+
"Esquema del caso"
117+
],
118+
"then": [
119+
"* ",
120+
"Alavez ",
121+
"Allora ",
122+
"Antonces "
123+
],
124+
"when": [
125+
"* ",
126+
"Cuan "
127+
]
128+
},
84129
"ar": {
85130
"and": [
86131
"* ",

src/dialect.c

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,49 @@ static const Dialect am_dialect = {
8686
&am_then_keywords,
8787
&am_when_keywords };
8888

89+
static const wchar_t* const an_and_KEYWORDS[] = { L"* ", L"Y ", L"E " };
90+
static const Keywords an_and_keywords = { 3, an_and_KEYWORDS };
91+
92+
static const wchar_t* const an_background_KEYWORDS[] = { L"Antecedents" };
93+
static const Keywords an_background_keywords = { 1, an_background_KEYWORDS };
94+
95+
static const wchar_t* const an_but_KEYWORDS[] = { L"* ", L"Pero " };
96+
static const Keywords an_but_keywords = { 2, an_but_KEYWORDS };
97+
98+
static const wchar_t* const an_examples_KEYWORDS[] = { L"Eixemplos" };
99+
static const Keywords an_examples_keywords = { 1, an_examples_KEYWORDS };
100+
101+
static const wchar_t* const an_feature_KEYWORDS[] = { L"Caracteristica" };
102+
static const Keywords an_feature_keywords = { 1, an_feature_KEYWORDS };
103+
104+
static const wchar_t* const an_given_KEYWORDS[] = { L"* ", L"Dau ", L"Dada ", L"Daus ", L"Dadas " };
105+
static const Keywords an_given_keywords = { 5, an_given_KEYWORDS };
106+
107+
static const wchar_t* const an_scenario_KEYWORDS[] = { L"Caso" };
108+
static const Keywords an_scenario_keywords = { 1, an_scenario_KEYWORDS };
109+
110+
static const wchar_t* const an_scenarioOutline_KEYWORDS[] = { L"Esquema del caso" };
111+
static const Keywords an_scenarioOutline_keywords = { 1, an_scenarioOutline_KEYWORDS };
112+
113+
static const wchar_t* const an_then_KEYWORDS[] = { L"* ", L"Alavez ", L"Allora ", L"Antonces " };
114+
static const Keywords an_then_keywords = { 4, an_then_KEYWORDS };
115+
116+
static const wchar_t* const an_when_KEYWORDS[] = { L"* ", L"Cuan " };
117+
static const Keywords an_when_keywords = { 2, an_when_KEYWORDS };
118+
119+
static const Dialect an_dialect = {
120+
L"an",
121+
&an_and_keywords,
122+
&an_background_keywords,
123+
&an_but_keywords,
124+
&an_examples_keywords,
125+
&an_feature_keywords,
126+
&an_given_keywords,
127+
&an_scenario_keywords,
128+
&an_scenarioOutline_keywords,
129+
&an_then_keywords,
130+
&an_when_keywords };
131+
89132
static const wchar_t* const ar_and_KEYWORDS[] = { L"* ", L"و " };
90133
static const Keywords ar_and_keywords = { 2, ar_and_KEYWORDS };
91134

@@ -3144,6 +3187,8 @@ const Dialect* Dialect_for(const wchar_t* language) {
31443187
return &af_dialect;
31453188
if (wcscmp(am_dialect.language_name, language) == 0)
31463189
return &am_dialect;
3190+
if (wcscmp(an_dialect.language_name, language) == 0)
3191+
return &an_dialect;
31473192
if (wcscmp(ar_dialect.language_name, language) == 0)
31483193
return &ar_dialect;
31493194
if (wcscmp(ast_dialect.language_name, language) == 0)

0 commit comments

Comments
 (0)