Skip to content

Commit

Permalink
Add Armenian language translations 🇦🇲
Browse files Browse the repository at this point in the history
Include Armenian translations for various components and plugins. This adds a new translation file for the Armenian language and updates relevant JavaScript files to support the new language option.
  • Loading branch information
armanayvazyan committed Oct 22, 2024
1 parent 1e3f6ef commit d0224dd
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 0 deletions.
222 changes: 222 additions & 0 deletions allure-generator/src/main/javascript/translations/am.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
{
"chart": {
"duration": {
"empty": "Տվյալներ չկան",
"name": "Ժամանակահատվածը"
},
"severity": {
"name": "Կարևորությունը"
},
"status": {
"name": "Կարգավիճակ"
},
"trend": {
"empty": "Տվյալներ չկան"
}
},
"component": {
"markToggle": {
"hideCases": "Թաքցնել {{mark}} թեստի արդյունքը",
"showCases": "Ցույց տալ {{mark}} թեստի արդյունքը"
},
"statusToggle": {
"hideCases": "Թաքցնել {{status}} կարգավիճակով թեստի արյունքը",
"showCases": "Ցույց տալ {{status}} կարգավիճակով թեստի արյունքը"
},
"tree": {
"download": "Բեռնել CSV",
"empty": "Տվյալներ չկան",
"filter": "Կարգիվիճակ",
"filter-marks": "Նշումներ",
"filtered": {
"shown": "Ցուցադրվում է {{count}}",
"total": "{{count}} թեստի արդյունքը",
"total_plural": "{{count}} թեստերի արդյունքը"
},
"groups": "Տեղեկություն խմբերի մասին",
"time": {
"max": {
"name": "Մաքսիմում",
"tooltip": "Ամենաերկար թեստը"
},
"sum": {
"name": "Գումարային",
"tooltip": "Բոլոր թեստերի գումարային տևողությունը"
},
"total": {
"name": "Ընդամենը",
"tooltip": "Թեստի տևողությունը՝ առաջին թեստից մինչև վերջինը"
}
},
"unknown": "<անհայտ>"
},
"widgetStatus": {
"showAll": "Ցույց տալ բոլորը",
"total": "Ընդհանուր {{count}} էլեմենտ",
"total_plural": "Ընդհանուր {{count}} էլեմենտներ"
}
},
"controls": {
"backto": "Հետ գնալ",
"clipboard": "Պատճենել clipboard-ում",
"clipboardError": "Հնարավոր չէ պատճենել clipboard-ում: Հնարավոր է, որ այս գործառույթը չի ապահովվում դիտարկիչում",
"clipboardSuccess": "Պատճենումն հաջողվեց",
"collapse": "Ծալել",
"expand": "Մեծացնել",
"fullscreen": "Ամբողջ էկրան",
"language": "Փոխեք լեզուն"
},
"errors": {
"missedAttachment": "Կցված ֆայլը չի գտնվել",
"notFound": "Չի գտնվել"
},
"marks": {
"flaky": "Անկայուն",
"newBroken": "Նոր փչացած",
"newFailed": "Նոր ձախողված",
"newPassed": "Նոր հաջողված",
"retriesStatusChange": "Կարգավիճակը փոխվեց կրկնելուց հետո"
},
"sorter": {
"duration": "տևողություն",
"name": "անուն",
"order": "հերթականություն",
"status": "կարգավիճակ"
},
"status": {
"broken": "Փչացած",
"failed": "Ձախողված",
"passed": "Հաջողված",
"skipped": "Բաց թողնված",
"unknown": "Անհայտ"
},
"tab": {
"categories": {
"name": "Կատեգորիաներ"
},
"graph": {
"name": "Գրաֆիկները"
},
"overview": {
"name": "Ընդհանուր"
},
"suites": {
"name": "Թեստի փաթեթներ"
},
"timeline": {
"name": "Ժամանակային աղյուսակ",
"selected": "Ընտրվել է {{count}} թեստ ({{percent}}%) {{տեւողությամբ}}-ից բարձր տևողությամբ",
"selected_plural": "Ընտրվել են {{count}} թեստեր ({{percent}}%) {{տեւողությամբ}}-ից բարձր տևողությամբ"
}
},
"testResult": {
"categories": {
"name": "Կատեգորիաներ"
},
"description": {
"name": "Նկարագրություն"
},
"duration": {
"name": "Տևողությունը"
},
"execution": {
"body": "Հիմնական մասը",
"downloadAttachment": {
"tooltip": "Բացել կցված ֆայլը նոր ներդիրում"
},
"name": "Կատարումը",
"setup": "Նախապատրաստում",
"teardown": "Ավարտը"
},
"history": {
"empty": "Պատմությունը հասանելի չէ։",
"name": "Պատմություն",
"statistic": "{{passed}}-ը {{total}}-ից",
"successRate": "Հաջողության ցուցանիշը",
"time": "{{date}} {{time}}-ին"
},
"links": {
"name": "Հղումներ"
},
"overview": {
"name": "Ընդհանուր"
},
"owner": {
"name": "Սեփականատեր"
},
"parameters": {
"name": "Պարամետրեր"
},
"retries": {
"empty": "Թեստերի կրկնության մասին տվյալները հասանելի չեն",
"name": "Կրկնությունների քանակ",
"time": "{{date}} {{time}}-ին"
},
"severity": {
"name": "Կարևորությունը",
"blocker": "Բլոկավարող",
"critical": "Կրիտիկական",
"normal": "Նորմալ",
"minor": "Մինոր",
"trivial": "Տրիվիալ"
},
"stats": {
"count": {
"attachments": "{{count}} կցված ֆայլեր",
"attachments_plural": "{{count}} կցված ֆայլեր",
"parameters": "{{count}} պարամետրեր",
"parameters_plural": "{{count}} պարամետրեր",
"steps": "{{count}} ենթաքայլ",
"steps_plural": "{{count}} ենթաքայլեր"
}
},
"status": {
"empty": "Կարգավիճակի մանրամասները հասանելի չեն",
"trace": "Ցույց տալ trace-ը"
},
"tags": {
"name": "Թեգեր"
}
},
"widget": {
"categories": {
"name": "Կատեգորիաներ"
},
"categoriesTrend": {
"name": "Կատեգորիաներ թրենդ"
},
"durationTrend": {
"name": "Տևողության թրենդ"
},
"environment": {
"empty": "Միջավայրի փոփոխականներ չկան",
"name": "Միջավայր",
"showAll": "Ցույց տալ բոլորը"
},
"executors": {
"empty": "Թեստերը կատարողների հանձնողի մասին տեղեկություն չկա",
"name": "Թեստերը կատարողներ",
"unknown": "Անհայտ"
},
"launches": {
"empty": "Գործարկիչների մասին տեղեկություններ չկան",
"name": "Գործարկիչներ"
},
"retryTrend": {
"name": "Կրկնությունների թրենդ"
},
"suites": {
"name": "Թեստի փաթեթներ"
},
"summary": {
"aggregatedName": "Հաշվետվությունների համախումբ",
"launches": "գործարկիչ",
"launches_plural": "գործարկիչներ",
"testResults": "թեստ քեյս",
"testResults_plural": "թեստ քեյսեր"
},
"trend": {
"name": "Թրենդ"
}
}
}
1 change: 1 addition & 0 deletions allure-generator/src/main/javascript/utils/translation.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import gtag from "./gtag";
import settings from "./settings";

export const LANGUAGES = [
{ id: "am", title: "Հայերեն" },
{ id: "az", title: "Azərbaycanca" },
{ id: "br", title: "Brazil" },
{ id: "de", title: "Deutsch" },
Expand Down
14 changes: 14 additions & 0 deletions plugins/behaviors-plugin/src/dist/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,20 @@ allure.api.addTranslation('pl', {
}
});

allure.api.addTranslation('am', {
tab: {
behaviors: {
name: 'Վարքագծեր'
}
},
widget: {
behaviors: {
name: 'Ֆիչրները ըստ պատմությունների',
showAll: 'ցույց տալ բոլորը'
}
}
});

allure.api.addTranslation('az', {
tab: {
behaviors: {
Expand Down
8 changes: 8 additions & 0 deletions plugins/packages-plugin/src/dist/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ allure.api.addTranslation('pl', {
}
});

allure.api.addTranslation('am', {
tab: {
packages: {
name: 'Փաթեթներ'
}
}
});

allure.api.addTranslation('az', {
tab: {
packages: {
Expand Down

0 comments on commit d0224dd

Please sign in to comment.