From 2cbf83eb8484ad9abebd6ca01ad344918570af5b Mon Sep 17 00:00:00 2001 From: Dewdew <57179957+yeonjulee1005@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:58:52 +0900 Subject: [PATCH] feat(locale): translate Korean (#2703) Co-authored-by: Benjamin Canac --- src/runtime/locale/index.ts | 1 + src/runtime/locale/ko.ts | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 src/runtime/locale/ko.ts diff --git a/src/runtime/locale/index.ts b/src/runtime/locale/index.ts index 41cb552a..0e360001 100644 --- a/src/runtime/locale/index.ts +++ b/src/runtime/locale/index.ts @@ -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' diff --git a/src/runtime/locale/ko.ts b/src/runtime/locale/ko.ts new file mode 100644 index 00000000..5fe4a3a0 --- /dev/null +++ b/src/runtime/locale/ko.ts @@ -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: '데이터가 없습니다.' + } + } +})