From 3e7e3da14b651fdb82d7236757035872ed4b9d5b Mon Sep 17 00:00:00 2001 From: Ye Naing Date: Tue, 14 May 2024 10:44:24 +0900 Subject: [PATCH] feat: adding the ko-KR translation file to BlockNote core package --- packages/core/src/i18n/locales/index.ts | 1 + packages/core/src/i18n/locales/ko.ts | 198 ++++++++++++++++++++++++ 2 files changed, 199 insertions(+) create mode 100644 packages/core/src/i18n/locales/ko.ts diff --git a/packages/core/src/i18n/locales/index.ts b/packages/core/src/i18n/locales/index.ts index 29036116b8..dd38af2bbb 100644 --- a/packages/core/src/i18n/locales/index.ts +++ b/packages/core/src/i18n/locales/index.ts @@ -2,3 +2,4 @@ export * from "./en"; export * from "./nl"; export * from "./zh"; export * from "./fr"; +export * from "./ko"; diff --git a/packages/core/src/i18n/locales/ko.ts b/packages/core/src/i18n/locales/ko.ts new file mode 100644 index 0000000000..c585e2c5e9 --- /dev/null +++ b/packages/core/src/i18n/locales/ko.ts @@ -0,0 +1,198 @@ +export const ko = { + slash_menu: { + heading: { + title: "제목1", + subtext: "섹션 제목(대)", + aliases: ["h", "제목1", "h1", "대제목"], + group: "제목", + }, + heading_2: { + title: "제목2", + subtext: "섹션 제목(중)", + aliases: ["h2", "제목2", "중제목"], + group: "제목", + }, + heading_3: { + title: "제목3", + subtext: "섹션 제목(소)", + aliases: ["h3", "제목3", "subheading"], + group: "제목", + }, + numbered_list: { + title: "번호 매기기 목록", + subtext: "번호가 매겨진 목록을 추가합니다.", + aliases: ["ol", "li", "목록", "번호 매기기 목록", "번호 목록"], + group: "기본 블록", + }, + bullet_list: { + title: "글머리 기호 목록", + subtext: "간단한 글머리 기호를 추가합니다.", + aliases: ["ul", "li", "목록", "글머리 기호 목록", "글머리 목록"], + group: "기본 블록", + }, + paragraph: { + title: "본문", + subtext: "일반 텍스트", + aliases: ["p", "paragraph", "본문"], + group: "기본 블록", + }, + table: { + title: "표", + subtext: "간단한 표를 추가합니다.", + aliases: ["표"], + group: "고급", + }, + image: { + title: "이미지", + subtext: "이미지 파일을 업로드합니다.", + aliases: [ + "image", + "imageUpload", + "upload", + "img", + "picture", + "media", + "이미지", + "url", + "drive", + "dropbox", + ], + group: "미디어", + }, + }, + placeholders: { + default: "텍스트를 입력하거나 /를 입력하여 명령을 입력하세요.", + heading: "제목", + bulletListItem: "목록", + numberedListItem: "목록", + }, + image: { + add_button: "이미지 추가", + }, + // from react package: + side_menu: { + add_block_label: "블록 추가", + drag_handle_label: "블록 메뉴 열기", + }, + drag_handle: { + delete_menuitem: "삭제", + colors_menuitem: "색깔", + }, + table_handle: { + delete_column_menuitem: "열 1개 삭제", + delete_row_menuitem: "행 삭제", + add_left_menuitem: "왼쪽에 열 1개 추가", + add_right_menuitem: "오른쪽에 열 1개 추가", + add_above_menuitem: "위에 행 1개 추가", + add_below_menuitem: "아래에 행 1개 추가", + }, + suggestion_menu: { + no_items_title: "항목을 찾을 수 없음", + loading: "로딩 중…", + }, + color_picker: { + text_title: "텍스트", + background_title: "배경", + colors: { + default: "기본", + gray: "회색", + brown: "갈색", + red: "빨간색", + orange: "주황색", + yellow: "노란색", + green: "녹색", + blue: "파란색", + purple: "보라색", + pink: "분홍색", + }, + }, + + formatting_toolbar: { + bold: { + tooltip: "진하게", + secondary_tooltip: "Mod+B", + }, + italic: { + tooltip: "기울임", + secondary_tooltip: "Mod+I", + }, + underline: { + tooltip: "밑줄", + secondary_tooltip: "Mod+U", + }, + strike: { + tooltip: "취소선", + secondary_tooltip: "Mod+Shift+X", + }, + code: { + tooltip: "코드", + secondary_tooltip: "", + }, + colors: { + tooltip: "색깔", + }, + link: { + tooltip: "링크 만들기", + secondary_tooltip: "Mod+K", + }, + image_caption: { + tooltip: "이미지 캡션 수정", + input_placeholder: "이미지 캡션 수정", + }, + image_replace: { + tooltip: "이미지 교체", + }, + nest: { + tooltip: "들여블록", + secondary_tooltip: "Tab", + }, + unnest: { + tooltip: "내어블록", + secondary_tooltip: "Shift+Tab", + }, + align_left: { + tooltip: "텍스트 왼쪽 맞춤", + }, + align_center: { + tooltip: "텍스트 가운데 맞춤", + }, + align_right: { + tooltip: "텍스트 오른쪽 맞춤", + }, + align_justify: { + tooltip: "텍스트 양쪽 맞춤", + }, + }, + image_panel: { + upload: { + title: "업로드", + file_placeholder: "이미지 업로드", + upload_error: "오류: 업로드 실패", + }, + embed: { + title: "임베드", + embed_button: "이미지 임베드", + url_placeholder: "URL을 입력하세요.", + }, + }, + link_toolbar: { + delete: { + tooltip: "링크 삭제", + }, + edit: { + text: "싱크 수정", + tooltip: "수정", + }, + open: { + tooltip: "새 탭으로 열기", + }, + form: { + title_placeholder: "제목 수정", + url_placeholder: "URL 수정", + }, + }, + generic: { + ctrl_shortcut: "Ctrl", + }, + }; + \ No newline at end of file