From 99041f5acf2a089b011e9a7c4416f21e3136a3a8 Mon Sep 17 00:00:00 2001 From: Binh Duc Tran Date: Thu, 4 Jan 2024 18:35:29 +0700 Subject: [PATCH] i18n: add vietnamese translation of "rule" (#204) --- CHANGELOG.md | 2 ++ c/src/dialect.c | 2 +- dart/assets/gherkin-languages.json | 2 +- dotnet/Gherkin/gherkin-languages.json | 2 +- elixir/priv/gherkin_languages.json | 2 +- gherkin-languages.json | 2 +- go/dialects_builtin.go | 2 +- javascript/src/gherkin-languages.json | 2 +- php/resources/gherkin-languages.json | 2 +- python/gherkin/gherkin-languages.json | 2 +- ruby/lib/gherkin/gherkin-languages.json | 2 +- 11 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd2fae32f..dc0ecf32f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ This project adheres to [Semantic Versioning](http://semver.org). This document is formatted according to the principles of [Keep A CHANGELOG](http://keepachangelog.com). ## [Unreleased] +### Added +- (i18n) Added Vietnamese translation of "Rule" ## [27.0.0] - 2023-09-15 ### Added diff --git a/c/src/dialect.c b/c/src/dialect.c index 290559137..27a326dc0 100644 --- a/c/src/dialect.c +++ b/c/src/dialect.c @@ -3496,7 +3496,7 @@ static const Keywords vi_feature_keywords = { 1, vi_feature_KEYWORDS }; static const wchar_t* const vi_given_KEYWORDS[] = { L"* ", L"Biết ", L"Cho " }; static const Keywords vi_given_keywords = { 3, vi_given_KEYWORDS }; -static const wchar_t* const vi_rule_KEYWORDS[] = { L"Rule" }; +static const wchar_t* const vi_rule_KEYWORDS[] = { L"Quy tắc" }; static const Keywords vi_rule_keywords = { 1, vi_rule_KEYWORDS }; static const wchar_t* const vi_scenario_KEYWORDS[] = { L"Tình huống", L"Kịch bản" }; diff --git a/dart/assets/gherkin-languages.json b/dart/assets/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/dart/assets/gherkin-languages.json +++ b/dart/assets/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/dotnet/Gherkin/gherkin-languages.json b/dotnet/Gherkin/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/dotnet/Gherkin/gherkin-languages.json +++ b/dotnet/Gherkin/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/elixir/priv/gherkin_languages.json b/elixir/priv/gherkin_languages.json index d9a22c590..8c1e8877f 100644 --- a/elixir/priv/gherkin_languages.json +++ b/elixir/priv/gherkin_languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/gherkin-languages.json b/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/gherkin-languages.json +++ b/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/go/dialects_builtin.go b/go/dialects_builtin.go index 25167bac6..6ba3abbaf 100644 --- a/go/dialects_builtin.go +++ b/go/dialects_builtin.go @@ -4913,7 +4913,7 @@ var builtinDialects = gherkinDialectMap{ "Tính năng", }, rule: { - "Rule", + "Quy tắc", }, background: { "Bối cảnh", diff --git a/javascript/src/gherkin-languages.json b/javascript/src/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/javascript/src/gherkin-languages.json +++ b/javascript/src/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/php/resources/gherkin-languages.json b/php/resources/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/php/resources/gherkin-languages.json +++ b/php/resources/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/python/gherkin/gherkin-languages.json b/python/gherkin/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/python/gherkin/gherkin-languages.json +++ b/python/gherkin/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống", diff --git a/ruby/lib/gherkin/gherkin-languages.json b/ruby/lib/gherkin/gherkin-languages.json index d9a22c590..8c1e8877f 100644 --- a/ruby/lib/gherkin/gherkin-languages.json +++ b/ruby/lib/gherkin/gherkin-languages.json @@ -3576,7 +3576,7 @@ "name": "Vietnamese", "native": "Tiếng Việt", "rule": [ - "Rule" + "Quy tắc" ], "scenario": [ "Tình huống",