diff --git a/docs/app/components/content/SupportedLanguages.vue b/docs/app/components/content/SupportedLanguages.vue index 8adf5f9a..fc2af8d4 100644 --- a/docs/app/components/content/SupportedLanguages.vue +++ b/docs/app/components/content/SupportedLanguages.vue @@ -27,7 +27,8 @@ function getEmojiFlag(locale: string): string { sv: 'se', // Swedish -> Sweden uk: 'ua', // Ukrainian -> Ukraine ur: 'pk', // Urdu -> Pakistan - vi: 'vn' // Vietnamese -> Vietnam + vi: 'vn', // Vietnamese -> Vietnam + hy: 'am' // Armenian -> Armenia } const baseLanguage = locale.split('-')[0]?.toLowerCase() || locale diff --git a/src/runtime/locale/hy.ts b/src/runtime/locale/hy.ts new file mode 100644 index 00000000..591d1f1f --- /dev/null +++ b/src/runtime/locale/hy.ts @@ -0,0 +1,56 @@ +import type { Messages } from '../types' +import { defineLocale } from '../composables/defineLocale' + +export default defineLocale({ + name: 'Հայերեն', + code: 'hy', + messages: { + inputMenu: { + noMatch: 'Համընկնումներ չեն գտնվել', + noData: 'Տվյալներ չկան', + create: 'Ստեղծել "{label}"' + }, + calendar: { + prevYear: 'Նախորդ տարի', + nextYear: 'Հաջորդ տարի', + prevMonth: 'Նախորդ ամիս', + nextMonth: 'Հաջորդ ամիս' + }, + inputNumber: { + increment: 'Ավելացնել', + decrement: 'Պակասեցնել' + }, + commandPalette: { + placeholder: 'Մուտքագրեք հրաման կամ որոնեք...', + noMatch: 'Համընկնումներ չեն գտնվել', + noData: 'Տվյալներ չկան', + close: 'Փակել' + }, + selectMenu: { + noMatch: 'Համընկնումներ չեն գտնվել', + noData: 'Տվյալներ չկան', + create: 'Ստեղծել "{label}"', + search: 'Որոնում...' + }, + toast: { + close: 'Փակել' + }, + carousel: { + prev: 'Հետ', + next: 'Առաջ', + goto: 'Անցնել {slide}-ին' + }, + modal: { + close: 'Փակել' + }, + slideover: { + close: 'Փակել' + }, + alert: { + close: 'Փակել' + }, + table: { + noData: 'Տվյալներ չկան' + } + } +}) diff --git a/src/runtime/locale/index.ts b/src/runtime/locale/index.ts index 10dcc3dd..975e9777 100644 --- a/src/runtime/locale/index.ts +++ b/src/runtime/locale/index.ts @@ -16,6 +16,7 @@ export { default as fr } from './fr' export { default as he } from './he' export { default as hi } from './hi' export { default as hu } from './hu' +export { default as hy } from './hy' export { default as id } from './id' export { default as it } from './it' export { default as ja } from './ja'