feat(locale): translate Korean (#2703)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Dewdew
2024-11-20 17:58:52 +09:00
committed by GitHub
parent da1b0bac04
commit 2cbf83eb84
2 changed files with 48 additions and 0 deletions

View File

@@ -10,3 +10,4 @@ export { default as pl } from './pl'
export { default as ru } from './ru'
export { default as zh_hans } from './zh_hans'
export { default as zh_hant } from './zh_hant'
export { default as ko } from './ko'

47
src/runtime/locale/ko.ts Normal file
View File

@@ -0,0 +1,47 @@
import { defineLocale } from '../composables/defineLocale'
export default defineLocale({
name: '한국어',
code: 'ko',
messages: {
inputMenu: {
noMatch: '일치하는 데이터가 없습니다.',
noData: '데이터가 없습니다.',
create: '"{label}" 생성'
},
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: '데이터가 없습니다.'
}
}
})