Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(locale): add Ukrainian language #2908

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/runtime/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ export { default as pt_br } from './pt_br'
export { default as ru } from './ru'
export { default as sk } from './sk'
export { default as tr } from './tr'
export { default as uk } from './uk'
export { default as zh_hans } from './zh_hans'
export { default as zh_hant } from './zh_hant'
53 changes: 53 additions & 0 deletions src/runtime/locale/uk.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: 'Українська',
code: 'uk',
messages: {
inputMenu: {
noMatch: 'Збігів не знайдено',
noData: 'Немає даних',
create: 'Створити "{label}"'
},
calendar: {
prevYear: 'Попередній рік',
nextYear: 'Наступний рік',
prevMonth: 'Попередній місяць',
nextMonth: 'Наступний місяць'
},
inputNumber: {
increment: 'Збільшити',
decrement: 'Зменшити'
},
commandPalette: {
noMatch: 'Збігів не знайдено',
noData: 'Немає даних',
close: 'Закрити'
},
selectMenu: {
noMatch: 'Збігів не знайдено',
noData: 'Немає даних',
create: 'Створити "{label}"'
},
toast: {
close: 'Закрити'
},
carousel: {
prev: 'Назад',
next: 'Далі',
goto: 'Перейти до {slide}'
},
modal: {
close: 'Закрити'
},
slideover: {
close: 'Закрити'
},
alert: {
close: 'Закрити'
},
table: {
noData: 'Немає даних'
}
}
})
Loading