Skip to content

feat: Korea locale #757

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

Merged
merged 1 commit into from
May 21, 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
7 changes: 4 additions & 3 deletions packages/core/src/i18n/locales/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
export * from "./en";
export * from "./fr";
export * from "./is";
export * from "./ja";
export * from "./ko";
export * from "./nl";
export * from "./zh";
export * from "./pl";
export * from "./is";
export * from "./pt";
export * from "./vi";
export * from "./pt-BR";
export * from "./zh";
197 changes: 197 additions & 0 deletions packages/core/src/i18n/locales/ko.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
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",
},
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Dictionary } from "../dictionary";

export const ptBR: Dictionary = {
export const pt: Dictionary = {
slash_menu: {
heading: {
title: "Título",
Expand Down