Skip to content

Commit 2cbf83e

Browse files
yeonjulee1005benjamincanac
andauthoredNov 20, 2024··
feat(locale): translate Korean (#2703)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
1 parent da1b0ba commit 2cbf83e

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
 

‎src/runtime/locale/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ export { default as pl } from './pl'
1010
export { default as ru } from './ru'
1111
export { default as zh_hans } from './zh_hans'
1212
export { default as zh_hant } from './zh_hant'
13+
export { default as ko } from './ko'

‎src/runtime/locale/ko.ts

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import { defineLocale } from '../composables/defineLocale'
2+
3+
export default defineLocale({
4+
name: '한국어',
5+
code: 'ko',
6+
messages: {
7+
inputMenu: {
8+
noMatch: '일치하는 데이터가 없습니다.',
9+
noData: '데이터가 없습니다.',
10+
create: '"{label}" 생성'
11+
},
12+
inputNumber: {
13+
increment: '증가',
14+
decrement: '감소'
15+
},
16+
commandPalette: {
17+
noMatch: '일치하는 데이터가 없습니다.',
18+
noData: '데이터가 없습니다.',
19+
close: '닫기'
20+
},
21+
selectMenu: {
22+
noMatch: '일치하는 데이터가 없습니다.',
23+
noData: '데이터가 없습니다.',
24+
create: '"{label}" 생성'
25+
},
26+
toast: {
27+
close: '닫기'
28+
},
29+
carousel: {
30+
prev: '이전',
31+
next: '다음',
32+
goto: '{slide} 페이지로 이동'
33+
},
34+
modal: {
35+
close: '닫기'
36+
},
37+
slideover: {
38+
close: '닫기'
39+
},
40+
alert: {
41+
close: '닫기'
42+
},
43+
table: {
44+
noData: '데이터가 없습니다.'
45+
}
46+
}
47+
})

0 commit comments

Comments
 (0)
Please sign in to comment.