mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(locale): add Armenian language (#3664)
This commit is contained in:
@@ -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
|
||||
|
||||
56
src/runtime/locale/hy.ts
Normal file
56
src/runtime/locale/hy.ts
Normal file
@@ -0,0 +1,56 @@
|
||||
import type { Messages } from '../types'
|
||||
import { defineLocale } from '../composables/defineLocale'
|
||||
|
||||
export default defineLocale<Messages>({
|
||||
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: 'Տվյալներ չկան'
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user