This is an automated email from the git hooks/post-receive script. intrigeri pushed a commit to annotated tag 0.19 in repository libtest-bdd-cucumber-perl.
commit 95757e65d6cc811f95967eda6bf9be7f84180530 Author: glauschwuffel <glauschwuf...@nomaden.org> Date: Sat May 31 13:57:10 2014 +0200 moved initialization of language definitions to dedicated function --- lib/Test/BDD/Cucumber/I18n.pm | 917 ++---------------------------------------- 1 file changed, 27 insertions(+), 890 deletions(-) diff --git a/lib/Test/BDD/Cucumber/I18n.pm b/lib/Test/BDD/Cucumber/I18n.pm index 6f38dd8..ab91fe5 100644 --- a/lib/Test/BDD/Cucumber/I18n.pm +++ b/lib/Test/BDD/Cucumber/I18n.pm @@ -38,24 +38,33 @@ use File::Spec; use base 'Exporter'; -our @EXPORT_OK=qw(languages langdef has_language readable_keywords keyword_to_subname); - -my $dir=dist_dir('My-Dist'); -my $filename=File::Spec->catfile($dir, 'i18n.json'); -ouch 'i18n_error', 'I18n file does not exist', $filename unless -e $filename; -my $success=open(my $fh, '<', $filename); -ouch 'i18n_error', "Unable to open i18n file: $!", $filename unless $success; - -# Parse keywords hash for all supported languages from the JSON file -my $json = join '', (<$fh>); -my $langdefs = decode_json( $json ); - -# strip asterisks from the keyword definitions since they don't work yet -for my $language ( languages() ) { - my $langdef=langdef($language); - for my $key ( keys %$langdef ) { - $langdef->{$key} =~ s{\Q*|\E}{}; +our @EXPORT_OK = + qw(languages langdef has_language readable_keywords keyword_to_subname); + +my $langdefs=_initialize_language_definitions_from_shared_json_file(); + +sub _initialize_language_definitions_from_shared_json_file { + my $dir = dist_dir('Test-BDD-Cucumber'); + my $filename = File::Spec->catfile( $dir, 'i18n.json' ); + ouch 'i18n_error', 'I18n file does not exist', $filename + unless -e $filename; + my $success = open( my $fh, '<', $filename ); + ouch 'i18n_error', "Unable to open i18n file: $!", $filename + unless $success; + + # Parse keywords hash for all supported languages from the JSON file + my $json = join '', (<$fh>); + my $langdefs = decode_json($json); + + # strip asterisks from the keyword definitions since they don't work yet + for my $language ( keys %$langdefs ) { + my $langdef = $langdefs->{$language}; + for my $key ( keys %$langdef ) { + $langdef->{$key} =~ s{\Q*|\E}{}; + } } + + return $langdefs; } sub languages { @@ -85,7 +94,7 @@ sub readable_keywords { } sub keyword_to_subname { - my ($word)=@_; + my ($word) = @_; # remove non-word characters so we have a decent sub name $word =~ s{[^\p{Word}]}{}g; @@ -137,875 +146,3 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. =cut 1; - -__DATA__ -{ - "en": { - "name": "English", - "native": "English", - "feature": "Feature|Business Need|Ability", - "background": "Background", - "scenario": "Scenario", - "scenario_outline": "Scenario Outline|Scenario Template", - "examples": "Examples|Scenarios", - "given": "*|Given", - "when": "*|When", - "then": "*|Then", - "and": "*|And", - "but": "*|But" - }, - "af": { - "name": "Afrikaans", - "native": "Afrikaans", - "feature": "Funksie|Besigheid Behoefte|Vermoë", - "background": "Agtergrond", - "scenario": "Situasie", - "scenario_outline": "Situasie Uiteensetting", - "examples": "Voorbeelde", - "given": "*|Gegewe", - "when": "*|Wanneer", - "then": "*|Dan", - "and": "*|En", - "but": "*|Maar" - }, - "ar": { - "name": "Arabic", - "native": "العربية", - "feature": "خاصية", - "background": "الخلفية", - "scenario": "سيناريو", - "scenario_outline": "سيناريو مخطط", - "examples": "امثلة", - "given": "*|بفرض", - "when": "*|متى|عندما", - "then": "*|اذاً|ثم", - "and": "*|و", - "but": "*|لكن" - }, - "bm": { - "name": "Malay", - "native": "Bahasa Melayu", - "feature": "Fungsi", - "background": "Latar Belakang", - "scenario": "Senario|Situai|Keadaan", - "scenario_outline": "Template Senario|Template Situai|Template Keadaan|Menggariskan Senario", - "examples": "Contoh", - "given": "*|Diberi|Bagi", - "when": "*|Apabila", - "then": "*|Maka|Kemudian", - "and": "*|Dan", - "but": "*|Tetapi|Tapi" - }, - "bg": { - "name": "Bulgarian", - "native": "български", - "feature": "Функционалност", - "background": "Предистория", - "scenario": "Сценарий", - "scenario_outline": "Рамка на сценарий", - "examples": "Примери", - "given": "*|Дадено", - "when": "*|Когато", - "then": "*|То", - "and": "*|И", - "but": "*|Но" - }, - "ca": { - "name": "Catalan", - "native": "català", - "background": "Rerefons|Antecedents", - "feature": "Característica|Funcionalitat", - "scenario": "Escenari", - "scenario_outline": "Esquema de l'escenari", - "examples": "Exemples", - "given": "*|Donat|Donada|Atès|Atesa", - "when": "*|Quan", - "then": "*|Aleshores|Cal", - "and": "*|I", - "but": "*|Però" - }, - "cy-GB": { - "name": "Welsh", - "native": "Cymraeg", - "background": "Cefndir", - "feature": "Arwedd", - "scenario": "Scenario", - "scenario_outline": "Scenario Amlinellol", - "examples": "Enghreifftiau", - "given": "*|Anrhegedig a", - "when": "*|Pryd", - "then": "*|Yna", - "and": "*|A", - "but": "*|Ond" - }, - "cs": { - "name": "Czech", - "native": "Česky", - "feature": "Požadavek", - "background": "Pozadí|Kontext", - "scenario": "Scénář", - "scenario_outline": "Náčrt Scénáře|Osnova scénáře", - "examples": "Příklady", - "given": "*|Pokud|Za předpokladu", - "when": "*|Když", - "then": "*|Pak", - "and": "*|A také|A", - "but": "*|Ale" - }, - "da": { - "name": "Danish", - "native": "dansk", - "feature": "Egenskab", - "background": "Baggrund", - "scenario": "Scenarie", - "scenario_outline": "Abstrakt Scenario", - "examples": "Eksempler", - "given": "*|Givet", - "when": "*|Når", - "then": "*|Så", - "and": "*|Og", - "but": "*|Men" - }, - "de": { - "name": "German", - "native": "Deutsch", - "feature": "Funktionalität", - "background": "Grundlage", - "scenario": "Szenario", - "scenario_outline": "Szenariogrundriss", - "examples": "Beispiele", - "given": "*|Angenommen|Gegeben sei|Gegeben seien", - "when": "*|Wenn", - "then": "*|Dann", - "and": "*|Und", - "but": "*|Aber" - }, - "el": { - "name": "Greek", - "native": "Ελληνικά", - "feature": "Δυνατότητα|Λειτουργία", - "background": "Υπόβαθρο", - "scenario": "Σενάριο", - "scenario_outline": "Περιγραφή Σεναρίου", - "examples": "Παραδείγματα|Σενάρια", - "given": "*|Δεδομένου", - "when": "*|Όταν", - "then": "*|Τότε", - "and": "*|Και", - "but": "*|Αλλά" - }, - "en-au": { - "name": "Australian", - "native": "Australian", - "feature": "Pretty much", - "background": "First off", - "scenario": "Awww, look mate", - "scenario_outline": "Reckon it's like", - "examples": "You'll wanna", - "given": "*|Y'know", - "when": "*|It's just unbelievable", - "then": "*|But at the end of the day I reckon", - "and": "*|Too right", - "but": "*|Yeah nah" - }, - "en-lol": { - "name": "LOLCAT", - "native": "LOLCAT", - "feature": "OH HAI", - "background": "B4", - "scenario": "MISHUN", - "scenario_outline": "MISHUN SRSLY", - "examples": "EXAMPLZ", - "given": "*|I CAN HAZ", - "when": "*|WEN", - "then": "*|DEN", - "and": "*|AN", - "but": "*|BUT" - }, - "en-old": { - "name": "Old English", - "native": "Englisc", - "feature": "Hwaet|Hwæt", - "background": "Aer|Ær", - "scenario": "Swa", - "scenario_outline": "Swa hwaer swa|Swa hwær swa", - "examples": "Se the|Se þe|Se ðe", - "given": "*|Thurh|Þurh|Ðurh", - "when": "*|Tha|Þa|Ða", - "then": "*|Tha|Þa|Ða|Tha the|Þa þe|Ða ðe", - "and": "*|Ond|7", - "but": "*|Ac" - }, - "en-pirate": { - "name": "Pirate", - "native": "Pirate", - "feature": "Ahoy matey!", - "background": "Yo-ho-ho", - "scenario": "Heave to", - "scenario_outline": "Shiver me timbers", - "examples": "Dead men tell no tales", - "given": "*|Gangway!", - "when": "*|Blimey!", - "then": "*|Let go and haul", - "and": "*|Aye", - "but": "*|Avast!" - }, - "en-Scouse": { - "name": "Scouse", - "native": "Scouse", - "feature": "Feature", - "background": "Dis is what went down", - "scenario": "The thing of it is", - "scenario_outline": "Wharrimean is", - "examples": "Examples", - "given": "*|Givun|Youse know when youse got", - "when": "*|Wun|Youse know like when", - "then": "*|Dun|Den youse gotta", - "and": "*|An", - "but": "*|Buh" - }, - "en-tx": { - "name": "Texan", - "native": "Texan", - "feature": "Feature", - "background": "Background", - "scenario": "Scenario", - "scenario_outline": "All y'all", - "examples": "Examples", - "given": "*|Given y'all", - "when": "*|When y'all", - "then": "*|Then y'all", - "and": "*|And y'all", - "but": "*|But y'all" - }, - "eo": { - "name": "Esperanto", - "native": "Esperanto", - "feature": "Trajto", - "background": "Fono", - "scenario": "Scenaro", - "scenario_outline": "Konturo de la scenaro", - "examples": "Ekzemploj", - "given": "*|Donitaĵo", - "when": "*|Se", - "then": "*|Do", - "and": "*|Kaj", - "but": "*|Sed" - }, - "es": { - "name": "Spanish", - "native": "español", - "background": "Antecedentes", - "feature": "Característica", - "scenario": "Escenario", - "scenario_outline": "Esquema del escenario", - "examples": "Ejemplos", - "given": "*|Dado|Dada|Dados|Dadas", - "when": "*|Cuando", - "then": "*|Entonces", - "and": "*|Y", - "but": "*|Pero" - }, - "et": { - "name": "Estonian", - "native": "eesti keel", - "feature": "Omadus", - "background": "Taust", - "scenario": "Stsenaarium", - "scenario_outline": "Raamstsenaarium", - "examples": "Juhtumid", - "given": "*|Eeldades", - "when": "*|Kui", - "then": "*|Siis", - "and": "*|Ja", - "but": "*|Kuid" - }, - "fa": { - "name": "Persian", - "native": "فارسی", - "feature": "وِیژگی", - "background": "زمینه", - "scenario": "سناریو", - "scenario_outline": "الگوی سناریو", - "examples": "نمونه ها", - "given": "*|با فرض", - "when": "*|هنگامی", - "then": "*|آنگاه", - "and": "*|و", - "but": "*|اما" - }, - "fi": { - "name": "Finnish", - "native": "suomi", - "feature": "Ominaisuus", - "background": "Tausta", - "scenario": "Tapaus", - "scenario_outline": "Tapausaihio", - "examples": "Tapaukset", - "given": "*|Oletetaan", - "when": "*|Kun", - "then": "*|Niin", - "and": "*|Ja", - "but": "*|Mutta" - }, - "fr": { - "name": "French", - "native": "français", - "feature": "Fonctionnalité", - "background": "Contexte", - "scenario": "Scénario", - "scenario_outline": "Plan du scénario|Plan du Scénario", - "examples": "Exemples", - "given": "*|Soit|Etant donné|Etant donnée|Etant donnés|Etant données|Étant donné|Étant donnée|Étant donnés|Étant données", - "when": "*|Quand|Lorsque|Lorsqu'<", - "then": "*|Alors", - "and": "*|Et", - "but": "*|Mais" - }, - "gl": { - "name": "Galician", - "native": "galego", - "background": "Contexto", - "feature": "Característica", - "scenario": "Escenario", - "scenario_outline": "Esbozo do escenario", - "examples": "Exemplos", - "given": "*|Dado|Dada|Dados|Dadas", - "when": "*|Cando", - "then": "*|Entón|Logo", - "and": "*|E", - "but": "*|Mais|Pero" - }, - "he": { - "name": "Hebrew", - "native": "עברית", - "feature": "תכונה", - "background": "רקע", - "scenario": "תרחיש", - "scenario_outline": "תבנית תרחיש", - "examples": "דוגמאות", - "given": "*|בהינתן", - "when": "*|כאשר", - "then": "*|אז|אזי", - "and": "*|וגם", - "but": "*|אבל" - }, - "hi": { - "name": "Hindi", - "native": "हिंदी", - "feature": "रूप लेख", - "background": "पृष्ठभूमि", - "scenario": "परिदृश्य", - "scenario_outline": "परिदृश्य रूपरेखा", - "examples": "उदाहरण", - "given": "*|अगर|यदि|चूंकि", - "when": "*|जब|कदा", - "then": "*|तब|तदा", - "and": "*|और|तथा", - "but": "*|पर|परन्तु|किन्तु" - }, - "hr": { - "name": "Croatian", - "native": "hrvatski", - "feature": "Osobina|Mogućnost|Mogucnost", - "background": "Pozadina", - "scenario": "Scenarij", - "scenario_outline": "Skica|Koncept", - "examples": "Primjeri|Scenariji", - "given": "*|Zadan|Zadani|Zadano", - "when": "*|Kada|Kad", - "then": "*|Onda", - "and": "*|I", - "but": "*|Ali" - }, - "ht": { - "name": "Creole", - "native": "kreyòl", - "feature": "Karakteristik|Mak|Fonksyonalite", - "background": "Kontèks|Istorik", - "scenario": "Senaryo", - "scenario_outline": "Plan senaryo|Plan Senaryo|Senaryo deskripsyon|Senaryo Deskripsyon|Dyagram senaryo|Dyagram Senaryo", - "examples": "Egzanp", - "given": "*|Sipoze|Sipoze ke|Sipoze Ke", - "when": "*|Lè|Le", - "then": "*|Lè sa a|Le sa a", - "and": "*|Ak|Epi|E", - "but": "*|Men" - }, - "hu": { - "name": "Hungarian", - "native": "magyar", - "feature": "Jellemző", - "background": "Háttér", - "scenario": "Forgatókönyv", - "scenario_outline": "Forgatókönyv vázlat", - "examples": "Példák", - "given": "*|Amennyiben|Adott", - "when": "*|Majd|Ha|Amikor", - "then": "*|Akkor", - "and": "*|És", - "but": "*|De" - }, - "id": { - "name": "Indonesian", - "native": "Bahasa Indonesia", - "feature": "Fitur", - "background": "Dasar", - "scenario": "Skenario", - "scenario_outline": "Skenario konsep", - "examples": "Contoh", - "given": "*|Dengan", - "when": "*|Ketika", - "then": "*|Maka", - "and": "*|Dan", - "but": "*|Tapi" - }, - "is": { - "name": "Icelandic", - "native": "Íslenska", - "feature": "Eiginleiki", - "background": "Bakgrunnur", - "scenario": "Atburðarás", - "scenario_outline": "Lýsing Atburðarásar|Lýsing Dæma", - "examples": "Dæmi|Atburðarásir", - "given": "*|Ef", - "when": "*|Þegar", - "then": "*|Þá", - "and": "*|Og", - "but": "*|En" - }, - "it": { - "name": "Italian", - "native": "italiano", - "feature": "Funzionalità", - "background": "Contesto", - "scenario": "Scenario", - "scenario_outline": "Schema dello scenario", - "examples": "Esempi", - "given": "*|Dato|Data|Dati|Date", - "when": "*|Quando", - "then": "*|Allora", - "and": "*|E", - "but": "*|Ma" - }, - "ja": { - "name": "Japanese", - "native": "日本語", - "feature": "フィーチャ|機能", - "background": "背景", - "scenario": "シナリオ", - "scenario_outline": "シナリオアウトライン|シナリオテンプレート|テンプレ|シナリオテンプレ", - "examples": "例|サンプル", - "given": "*|前提<", - "when": "*|もし<", - "then": "*|ならば<", - "and": "*|かつ<", - "but": "*|しかし<|但し<|ただし<" - }, - "jv": { - "name": "Javanese", - "native": "Basa Jawa", - "feature": "Fitur", - "background": "Dasar", - "scenario": "Skenario", - "scenario_outline": "Konsep skenario", - "examples": "Conto|Contone", - "given": "*|Nalika|Nalikaning", - "when": "*|Manawa|Menawa", - "then": "*|Njuk|Banjur", - "and": "*|Lan", - "but": "*|Tapi|Nanging|Ananging" - }, - "kn": { - "name": "Kannada", - "native": "ಕನ್ನಡ", - "background": "ಹಿನ್ನೆಲೆ", - "feature": "ಹೆಚ್ಚಳ", - "scenario": "ಕಥಾಸಾರಾಂಶ", - "scenario_outline": "ವಿವರಣೆ", - "examples": "ಉದಾಹರಣೆಗಳು", - "given": "*|ನೀಡಿದ", - "when": "*|ಸ್ಥಿತಿಯನ್ನು", - "then": "*|ನಂತರ", - "and": "*|ಮತ್ತು", - "but": "*|ಆದರೆ" - }, - "ko": { - "name": "Korean", - "native": "한국어", - "background": "배경", - "feature": "기능", - "scenario": "시나리오", - "scenario_outline": "시나리오 개요", - "examples": "예", - "given": "*|조건<|먼저<", - "when": "*|만일<|만약<", - "then": "*|그러면<", - "and": "*|그리고<", - "but": "*|하지만<|단<" - }, - "lt": { - "name": "Lithuanian", - "native": "lietuvių kalba", - "feature": "Savybė", - "background": "Kontekstas", - "scenario": "Scenarijus", - "scenario_outline": "Scenarijaus šablonas", - "examples": "Pavyzdžiai|Scenarijai|Variantai", - "given": "*|Duota", - "when": "*|Kai", - "then": "*|Tada", - "and": "*|Ir", - "but": "*|Bet" - }, - "lu": { - "name": "Luxemburgish", - "native": "Lëtzebuergesch", - "feature": "Funktionalitéit", - "background": "Hannergrond", - "scenario": "Szenario", - "scenario_outline": "Plang vum Szenario", - "examples": "Beispiller", - "given": "*|ugeholl", - "when": "*|wann", - "then": "*|dann", - "and": "*|an|a", - "but": "*|awer|mä" - }, - "lv": { - "name": "Latvian", - "native": "latviešu", - "feature": "Funkcionalitāte|Fīča", - "background": "Konteksts|Situācija", - "scenario": "Scenārijs", - "scenario_outline": "Scenārijs pēc parauga", - "examples": "Piemēri|Paraugs", - "given": "*|Kad", - "when": "*|Ja", - "then": "*|Tad", - "and": "*|Un", - "but": "*|Bet" - }, - "nl": { - "name": "Dutch", - "native": "Nederlands", - "feature": "Functionaliteit", - "background": "Achtergrond", - "scenario": "Scenario", - "scenario_outline": "Abstract Scenario", - "examples": "Voorbeelden", - "given": "*|Gegeven|Stel", - "when": "*|Als", - "then": "*|Dan", - "and": "*|En", - "but": "*|Maar" - }, - "no": { - "name": "Norwegian", - "native": "norsk", - "feature": "Egenskap", - "background": "Bakgrunn", - "scenario": "Scenario", - "scenario_outline": "Scenariomal|Abstrakt Scenario", - "examples": "Eksempler", - "given": "*|Gitt", - "when": "*|Når", - "then": "*|Så", - "and": "*|Og", - "but": "*|Men" - }, - "pa": { - "name": "Panjabi", - "native": "ਪੰਜਾਬੀ", - "feature": "ਖਾਸੀਅਤ|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ", - "background": "ਪਿਛੋਕੜ", - "scenario": "ਪਟਕਥਾ", - "scenario_outline": "ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ", - "examples": "ਉਦਾਹਰਨਾਂ", - "given": "*|ਜੇਕਰ|ਜਿਵੇਂ ਕਿ", - "when": "*|ਜਦੋਂ", - "then": "*|ਤਦ", - "and": "*|ਅਤੇ", - "but": "*|ਪਰ" - }, - "pl": { - "name": "Polish", - "native": "polski", - "feature": "Właściwość|Funkcja|Aspekt|Potrzeba biznesowa", - "background": "Założenia", - "scenario": "Scenariusz", - "scenario_outline": "Szablon scenariusza", - "examples": "Przykłady", - "given": "*|Zakładając|Mając", - "when": "*|Jeżeli|Jeśli|Gdy|Kiedy", - "then": "*|Wtedy", - "and": "*|Oraz|I", - "but": "*|Ale" - }, - "pt": { - "name": "Portuguese", - "native": "português", - "background": "Contexto|Cenário de Fundo|Cenario de Fundo|Fundo", - "feature": "Funcionalidade|Característica|Caracteristica", - "scenario": "Cenário|Cenario", - "scenario_outline": "Esquema do Cenário|Esquema do Cenario|Delineação do Cenário|Delineacao do Cenario", - "examples": "Exemplos|Cenários|Cenarios", - "given": "*|Dado|Dada|Dados|Dadas", - "when": "*|Quando", - "then": "*|Então|Entao", - "and": "*|E", - "but": "*|Mas" - }, - "ro": { - "name": "Romanian", - "native": "română", - "background": "Context", - "feature": "Functionalitate|Funcționalitate|Funcţionalitate", - "scenario": "Scenariu", - "scenario_outline": "Structura scenariu|Structură scenariu", - "examples": "Exemple", - "given": "*|Date fiind|Dat fiind|Dati fiind|Dați fiind|Daţi fiind", - "when": "*|Cand|Când", - "then": "*|Atunci", - "and": "*|Si|Și|Şi", - "but": "*|Dar" - }, - "ru": { - "name": "Russian", - "native": "русский", - "feature": "Функция|Функционал|Свойство", - "background": "Предыстория|Контекст", - "scenario": "Сценарий", - "scenario_outline": "Структура сценария", - "examples": "Примеры", - "given": "*|Допустим|Дано|Пусть", - "when": "*|Если|Когда", - "then": "*|То|Тогда", - "and": "*|И|К тому же|Также", - "but": "*|Но|А" - }, - "sv": { - "name": "Swedish", - "native": "Svenska", - "feature": "Egenskap", - "background": "Bakgrund", - "scenario": "Scenario", - "scenario_outline": "Abstrakt Scenario|Scenariomall", - "examples": "Exempel", - "given": "*|Givet", - "when": "*|När", - "then": "*|Så", - "and": "*|Och", - "but": "*|Men" - }, - "sk": { - "name": "Slovak", - "native": "Slovensky", - "feature": "Požiadavka|Funkcia|Vlastnosť", - "background": "Pozadie", - "scenario": "Scenár", - "scenario_outline": "Náčrt Scenáru|Náčrt Scenára|Osnova Scenára", - "examples": "Príklady", - "given": "*|Pokiaľ|Za predpokladu", - "when": "*|Keď|Ak", - "then": "*|Tak|Potom", - "and": "*|A|A tiež|A taktiež|A zároveň", - "but": "*|Ale" - }, - "sl": { - "name": "Slovenian", - "native": "Slovenski", - "feature": "Funkcionalnost|Funkcija|Možnosti|Moznosti|Lastnost|Značilnost", - "background": "Kontekst|Osnova|Ozadje", - "scenario": "Scenarij|Primer", - "scenario_outline": "Struktura scenarija|Skica|Koncept|Oris scenarija|Osnutek", - "examples": "Primeri|Scenariji", - "given": "Dano|Podano|Zaradi|Privzeto", - "when": "Ko|Ce|Če|Kadar", - "then": "Nato|Potem|Takrat", - "and": "In|Ter", - "but": "Toda|Ampak|Vendar" - }, - "sr-Latn": { - "name": "Serbian (Latin)", - "native": "Srpski (Latinica)", - "feature": "Funkcionalnost|Mogućnost|Mogucnost|Osobina", - "background": "Kontekst|Osnova|Pozadina", - "scenario": "Scenario|Primer", - "scenario_outline": "Struktura scenarija|Skica|Koncept", - "examples": "Primeri|Scenariji", - "given": "*|Zadato|Zadate|Zatati", - "when": "*|Kada|Kad", - "then": "*|Onda", - "and": "*|I", - "but": "*|Ali" - }, - "sr-Cyrl": { - "name": "Serbian", - "native": "Српски", - "feature": "Функционалност|Могућност|Особина", - "background": "Контекст|Основа|Позадина", - "scenario": "Сценарио|Пример", - "scenario_outline": "Структура сценарија|Скица|Концепт", - "examples": "Примери|Сценарији", - "given": "*|Задато|Задате|Задати", - "when": "*|Када|Кад", - "then": "*|Онда", - "and": "*|И", - "but": "*|Али" - }, - "tl": { - "name": "Telugu", - "native": "తెలుగు", - "feature": "గుణము", - "background": "నేపథ్యం", - "scenario": "సన్నివేశం", - "scenario_outline": "కథనం", - "examples": "ఉదాహరణలు", - "given": "*|చెప్పబడినది", - "when": "*|ఈ పరిస్థితిలో", - "then": "*|అప్పుడు", - "and": "*|మరియు", - "but": "*|కాని" - }, - "th": { - "name": "Thai", - "native": "ไทย", - "feature": "โครงหลัก|ความต้องการทางธุรกิจ|ความสามารถ", - "background": "แนวคิด", - "scenario": "เหตุการณ์", - "scenario_outline": "สรุปเหตุการณ์|โครงสร้างของเหตุการณ์", - "examples": "ชุดของตัวอย่าง|ชุดของเหตุการณ์", - "given": "*|กำหนดให้", - "when": "*|เมื่อ", - "then": "*|ดังนั้น", - "and": "*|และ", - "but": "*|แต่" - }, - "tlh": { - "name": "Klingon", - "native": "tlhIngan", - "feature": "Qap|Qu'meH 'ut|perbogh|poQbogh malja'|laH", - "background": "mo'", - "scenario": "lut", - "scenario_outline": "lut chovnatlh", - "examples": "ghantoH|lutmey", - "given": "*|ghu' noblu'|DaH ghu' bejlu'", - "when": "*|qaSDI'", - "then": "*|vaj", - "and": "*|'ej|latlh", - "but": "*|'ach|'a" - }, - "tr": { - "name": "Turkish", - "native": "Türkçe", - "feature": "Özellik", - "background": "Geçmiş", - "scenario": "Senaryo", - "scenario_outline": "Senaryo taslağı", - "examples": "Örnekler", - "given": "*|Diyelim ki", - "when": "*|Eğer ki", - "then": "*|O zaman", - "and": "*|Ve", - "but": "*|Fakat|Ama" - }, - "tt": { - "name": "Tatar", - "native": "Татарча", - "feature": "Мөмкинлек|Үзенчәлеклелек", - "background": "Кереш", - "scenario": "Сценарий", - "scenario_outline": "Сценарийның төзелеше", - "examples": "Үрнәкләр|Мисаллар", - "given": "*|Әйтик", - "when": "*|Әгәр", - "then": "*|Нәтиҗәдә", - "and": "*|Һәм|Вә", - "but": "*|Ләкин|Әмма" - }, - "uk": { - "name": "Ukrainian", - "native": "Українська", - "feature": "Функціонал", - "background": "Передумова", - "scenario": "Сценарій", - "scenario_outline": "Структура сценарію", - "examples": "Приклади", - "given": "*|Припустимо|Припустимо, що|Нехай|Дано", - "when": "*|Якщо|Коли", - "then": "*|То|Тоді", - "and": "*|І|А також|Та", - "but": "*|Але" - }, - "uz": { - "name": "Uzbek", - "native": "Узбекча", - "feature": "Функционал", - "background": "Тарих", - "scenario": "Сценарий", - "scenario_outline": "Сценарий структураси", - "examples": "Мисоллар", - "given": "*|Агар", - "when": "*|Агар", - "then": "*|Унда", - "and": "*|Ва", - "but": "*|Лекин|Бирок|Аммо" - }, - "vi": { - "name": "Vietnamese", - "native": "Tiếng Việt", - "feature": "Tính năng", - "background": "Bối cảnh", - "scenario": "Tình huống|Kịch bản", - "scenario_outline": "Khung tình huống|Khung kịch bản", - "examples": "Dữ liệu", - "given": "*|Biết|Cho", - "when": "*|Khi", - "then": "*|Thì", - "and": "*|Và", - "but": "*|Nhưng" - }, - "zh-CN": { - "name": "Chinese simplified", - "native": "简体中文", - "feature": "功能", - "background": "背景", - "scenario": "场景|剧本", - "scenario_outline": "场景大纲|剧本大纲", - "examples": "例子", - "given": "*|假如<|假设<|假定<", - "when": "*|当<", - "then": "*|那么<", - "and": "*|而且<|并且<|同时<", - "but": "*|但是<" - }, - "zh-TW": { - "name": "Chinese traditional", - "native": "繁體中文", - "feature": "功能", - "background": "背景", - "scenario": "場景|劇本", - "scenario_outline": "場景大綱|劇本大綱", - "examples": "例子", - "given": "*|假如<|假設<|假定<", - "when": "*|當<", - "then": "*|那麼<", - "and": "*|而且<|並且<|同時<", - "but": "*|但是<" - }, - "ur": { - "name": "Urdu", - "native": "اردو", - "feature": "صلاحیت|کاروبار کی ضرورت|خصوصیت", - "background": "پس منظر", - "scenario": "منظرنامہ", - "scenario_outline": "منظر نامے کا خاکہ", - "examples": "مثالیں", - "given": "*|اگر|بالفرض|فرض کیا", - "when": "*|جب", - "then": "*|پھر|تب", - "and": "*|اور", - "but": "*|لیکن" - } -} -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-bdd-cucumber-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits