@blocknote/core 0.13.2 → 0.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocknote.js +5730 -2891
- package/dist/blocknote.js.map +1 -1
- package/dist/blocknote.umd.cjs +7 -7
- package/dist/blocknote.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +2 -2
- package/src/api/exporters/html/__snapshots__/file/basic/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/basic/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/button/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/button/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/nested/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/nested/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/noCaption/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/noCaption/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/noName/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/file/noName/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/basic/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/button/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/button/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/nested/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/image/noCaption/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/noCaption/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/noName/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/noName/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/noPreview/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/image/noPreview/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/lists/basic/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/lists/basic/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/lists/nested/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/lists/nested/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleFile/basic/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleFile/basic/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleFile/button/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleFile/button/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleFile/nested/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleFile/nested/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleImage/basic/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/basic/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/button/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/button/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/nested/external.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/nested/internal.html +1 -1
- package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleImage/noName/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleImage/noName/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/internal.html +1 -0
- package/src/api/exporters/html/externalHTMLExporter.ts +4 -3
- package/src/api/exporters/html/util/simplifyBlocksRehypePlugin.ts +1 -1
- package/src/api/exporters/markdown/__snapshots__/file/basic/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/file/button/markdown.md +1 -0
- package/src/api/exporters/markdown/__snapshots__/file/nested/markdown.md +7 -0
- package/src/api/exporters/markdown/__snapshots__/file/noCaption/markdown.md +1 -0
- package/src/api/exporters/markdown/__snapshots__/file/noName/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/image/basic/markdown.md +1 -1
- package/src/api/exporters/markdown/__snapshots__/image/button/markdown.md +1 -1
- package/src/api/exporters/markdown/__snapshots__/image/nested/markdown.md +2 -2
- package/src/api/exporters/markdown/__snapshots__/image/noCaption/markdown.md +1 -0
- package/src/api/exporters/markdown/__snapshots__/image/noName/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/image/noPreview/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/lists/basic/markdown.md +8 -0
- package/src/api/exporters/markdown/__snapshots__/lists/nested/markdown.md +10 -0
- package/src/api/exporters/markdown/__snapshots__/simpleFile/basic/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/simpleFile/button/markdown.md +1 -0
- package/src/api/exporters/markdown/__snapshots__/simpleFile/nested/markdown.md +7 -0
- package/src/api/exporters/markdown/__snapshots__/simpleImage/basic/markdown.md +3 -1
- package/src/api/exporters/markdown/__snapshots__/simpleImage/button/markdown.md +1 -0
- package/src/api/exporters/markdown/__snapshots__/simpleImage/nested/markdown.md +6 -2
- package/src/api/exporters/markdown/__snapshots__/simpleImage/noCaption/markdown.md +1 -0
- package/src/api/exporters/markdown/__snapshots__/simpleImage/noName/markdown.md +3 -0
- package/src/api/exporters/markdown/__snapshots__/simpleImage/noPreview/markdown.md +3 -0
- package/src/api/exporters/markdown/markdownExporter.ts +2 -0
- package/src/api/exporters/markdown/util/addSpacesToCheckboxesRehypePlugin.ts +42 -0
- package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +262 -4
- package/src/api/parsers/html/__snapshots__/paste/list-test.json +74 -2
- package/src/api/parsers/html/__snapshots__/paste/parse-basic-block-types.json +3 -1
- package/src/api/parsers/html/__snapshots__/paste/parse-fake-image-caption.json +3 -1
- package/src/api/parsers/html/__snapshots__/paste/parse-mixed-nested-lists.json +135 -10
- package/src/api/parsers/html/__snapshots__/paste/parse-nested-lists-with-paragraphs.json +132 -7
- package/src/api/parsers/html/__snapshots__/paste/parse-nested-lists.json +111 -3
- package/src/api/parsers/html/parseHTML.test.ts +166 -95
- package/src/api/testUtil/cases/customBlocks.ts +82 -33
- package/src/api/testUtil/cases/customInlineContent.ts +1 -1
- package/src/api/testUtil/cases/customStyles.ts +1 -1
- package/src/api/testUtil/cases/defaultSchema.ts +185 -4
- package/src/blocks/AudioBlockContent/AudioBlockContent.ts +163 -0
- package/src/blocks/AudioBlockContent/audioBlockHelpers.ts +5 -0
- package/src/blocks/FileBlockContent/FileBlockContent.ts +120 -0
- package/src/blocks/FileBlockContent/fileBlockHelpers.ts +377 -0
- package/src/blocks/ImageBlockContent/ImageBlockContent.ts +134 -354
- package/src/blocks/ImageBlockContent/imageBlockHelpers.ts +6 -0
- package/src/blocks/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.ts +3 -0
- package/src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.ts +266 -0
- package/src/blocks/ListItemBlockContent/ListItemKeyboardShortcuts.ts +2 -1
- package/src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.ts +1 -0
- package/src/blocks/VideoBlockContent/VideoBlockContent.ts +181 -0
- package/src/blocks/VideoBlockContent/videoBlockHelpers.ts +6 -0
- package/src/blocks/defaultBlockTypeGuards.ts +53 -1
- package/src/blocks/defaultBlocks.ts +11 -2
- package/src/editor/Block.css +89 -27
- package/src/editor/BlockNoteEditor.ts +24 -10
- package/src/editor/BlockNoteSchema.ts +12 -3
- package/src/editor/transformPasted.ts +2 -1
- package/src/extensions/{ImagePanel/ImageToolbarPlugin.ts → FilePanel/FilePanelPlugin.ts} +22 -25
- package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +14 -2
- package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +72 -2
- package/src/extensions/TableHandles/TableHandlesPlugin.ts +27 -27
- package/src/extensions/TextAlignment/TextAlignmentExtension.ts +7 -1
- package/src/i18n/locales/en.ts +117 -11
- package/src/i18n/locales/fr.ts +118 -11
- package/src/i18n/locales/index.ts +8 -2
- package/src/i18n/locales/is.ts +295 -0
- package/src/i18n/locales/ja.ts +323 -0
- package/src/i18n/locales/ko.ts +307 -0
- package/src/i18n/locales/nl.ts +108 -8
- package/src/i18n/locales/pl.ts +287 -0
- package/src/i18n/locales/pt.ts +295 -0
- package/src/i18n/locales/vi.ts +295 -0
- package/src/i18n/locales/zh.ts +123 -8
- package/src/index.ts +9 -2
- package/src/pm-nodes/BlockContainer.ts +18 -6
- package/src/schema/blocks/createSpec.ts +1 -0
- package/src/schema/blocks/internal.ts +10 -0
- package/src/schema/blocks/types.ts +40 -5
- package/src/util/string.ts +12 -0
- package/types/src/api/exporters/markdown/util/addSpacesToCheckboxesRehypePlugin.d.ts +7 -0
- package/types/src/api/testUtil/cases/customBlocks.d.ts +272 -54
- package/types/src/api/testUtil/cases/customInlineContent.d.ts +222 -16
- package/types/src/api/testUtil/cases/customStyles.d.ts +222 -16
- package/types/src/blocks/AudioBlockContent/AudioBlockContent.d.ts +101 -0
- package/types/src/blocks/AudioBlockContent/audioBlockHelpers.d.ts +3 -0
- package/types/src/blocks/FileBlockContent/FileBlockContent.d.ts +93 -0
- package/types/src/blocks/FileBlockContent/fileBlockHelpers.d.ts +30 -0
- package/types/src/blocks/ImageBlockContent/ImageBlockContent.d.ts +50 -14
- package/types/src/blocks/ImageBlockContent/imageBlockHelpers.d.ts +4 -0
- package/types/src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.d.ts +55 -0
- package/types/src/blocks/VideoBlockContent/VideoBlockContent.d.ts +129 -0
- package/types/src/blocks/VideoBlockContent/videoBlockHelpers.d.ts +4 -0
- package/types/src/blocks/defaultBlockTypeGuards.d.ts +6 -1
- package/types/src/blocks/defaultBlocks.d.ts +444 -32
- package/types/src/editor/BlockNoteEditor.d.ts +12 -5
- package/types/src/extensions/{ImagePanel/ImageToolbarPlugin.d.ts → FilePanel/FilePanelPlugin.d.ts} +9 -12
- package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +1 -1
- package/types/src/i18n/locales/en.d.ts +56 -7
- package/types/src/i18n/locales/fr.d.ts +2 -184
- package/types/src/i18n/locales/index.d.ts +7 -1
- package/types/src/i18n/locales/is.d.ts +2 -0
- package/types/src/i18n/locales/ja.d.ts +2 -0
- package/types/src/i18n/locales/ko.d.ts +2 -0
- package/types/src/i18n/locales/pl.d.ts +2 -0
- package/types/src/i18n/locales/pt.d.ts +2 -0
- package/types/src/i18n/locales/vi.d.ts +2 -0
- package/types/src/index.d.ts +8 -2
- package/types/src/pm-nodes/BlockContainer.d.ts +1 -1
- package/types/src/schema/blocks/internal.d.ts +1 -1
- package/types/src/schema/blocks/types.d.ts +25 -1
- package/types/src/util/string.d.ts +1 -0
- /package/src/blocks/{ImageBlockContent → FileBlockContent}/uploadToTmpFilesDotOrg_DEV_ONLY.ts +0 -0
- /package/types/src/blocks/{ImageBlockContent → FileBlockContent}/uploadToTmpFilesDotOrg_DEV_ONLY.d.ts +0 -0
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { Dictionary } from "../dictionary";
|
|
2
|
+
|
|
3
|
+
export const ja: Dictionary = {
|
|
4
|
+
slash_menu: {
|
|
5
|
+
heading: {
|
|
6
|
+
title: "見出し1",
|
|
7
|
+
subtext: "トップレベルの見出しに使用",
|
|
8
|
+
aliases: ["h", "見出し1", "h1", "大見出し"],
|
|
9
|
+
group: "見出し",
|
|
10
|
+
},
|
|
11
|
+
heading_2: {
|
|
12
|
+
title: "見出し2",
|
|
13
|
+
subtext: "重要なセクションに使用",
|
|
14
|
+
aliases: ["h2", "見出し2", "subheading", "中見出し"],
|
|
15
|
+
group: "見出し",
|
|
16
|
+
},
|
|
17
|
+
heading_3: {
|
|
18
|
+
title: "見出し3",
|
|
19
|
+
subtext: "セクションやグループの見出しに使用",
|
|
20
|
+
aliases: ["h3", "見出し3", "subheading", "小見出し"],
|
|
21
|
+
group: "見出し",
|
|
22
|
+
},
|
|
23
|
+
numbered_list: {
|
|
24
|
+
title: "番号付リスト",
|
|
25
|
+
subtext: "番号付リストを表示するために使用",
|
|
26
|
+
aliases: [
|
|
27
|
+
"ol",
|
|
28
|
+
"li",
|
|
29
|
+
"numberedlist",
|
|
30
|
+
"numbered list",
|
|
31
|
+
"リスト",
|
|
32
|
+
"番号付リスト",
|
|
33
|
+
"番号 リスト",
|
|
34
|
+
],
|
|
35
|
+
group: "基本ブロック",
|
|
36
|
+
},
|
|
37
|
+
bullet_list: {
|
|
38
|
+
title: "箇条書き",
|
|
39
|
+
subtext: "箇条書きを表示するために使用",
|
|
40
|
+
aliases: [
|
|
41
|
+
"ul",
|
|
42
|
+
"li",
|
|
43
|
+
"bulletlist",
|
|
44
|
+
"bullet list",
|
|
45
|
+
"リスト",
|
|
46
|
+
"箇条書きリスト",
|
|
47
|
+
],
|
|
48
|
+
group: "基本ブロック",
|
|
49
|
+
},
|
|
50
|
+
check_list: {
|
|
51
|
+
title: "チェックリスト",
|
|
52
|
+
subtext: "チェックボックス付きリストを表示するために使用されます",
|
|
53
|
+
aliases: [
|
|
54
|
+
"ul",
|
|
55
|
+
"li",
|
|
56
|
+
"list",
|
|
57
|
+
"checklist",
|
|
58
|
+
"checked list",
|
|
59
|
+
"リスト",
|
|
60
|
+
"チェックリスト",
|
|
61
|
+
"チェックされたリスト",
|
|
62
|
+
],
|
|
63
|
+
group: "基本ブロック",
|
|
64
|
+
},
|
|
65
|
+
paragraph: {
|
|
66
|
+
title: "標準テキスト",
|
|
67
|
+
subtext: "本文に使用",
|
|
68
|
+
aliases: ["p", "paragraph", "標準テキスト"],
|
|
69
|
+
group: "基本ブロック",
|
|
70
|
+
},
|
|
71
|
+
table: {
|
|
72
|
+
title: "表",
|
|
73
|
+
subtext: "表に使用",
|
|
74
|
+
aliases: ["table", "表", "テーブル"],
|
|
75
|
+
group: "高度なブロック",
|
|
76
|
+
},
|
|
77
|
+
image: {
|
|
78
|
+
title: "画像",
|
|
79
|
+
subtext: "画像を挿入",
|
|
80
|
+
aliases: [
|
|
81
|
+
"image",
|
|
82
|
+
"imageUpload",
|
|
83
|
+
"upload",
|
|
84
|
+
"img",
|
|
85
|
+
"picture",
|
|
86
|
+
"media",
|
|
87
|
+
"url",
|
|
88
|
+
"画像",
|
|
89
|
+
],
|
|
90
|
+
group: "メディア",
|
|
91
|
+
},
|
|
92
|
+
video: {
|
|
93
|
+
title: "ビデオ",
|
|
94
|
+
subtext: "ビデオを挿入",
|
|
95
|
+
aliases: [
|
|
96
|
+
"video",
|
|
97
|
+
"videoUpload",
|
|
98
|
+
"upload",
|
|
99
|
+
"mp4",
|
|
100
|
+
"film",
|
|
101
|
+
"media",
|
|
102
|
+
"url",
|
|
103
|
+
"ビデオ",
|
|
104
|
+
],
|
|
105
|
+
group: "メディア",
|
|
106
|
+
},
|
|
107
|
+
audio: {
|
|
108
|
+
title: "オーディオ",
|
|
109
|
+
subtext: "オーディオを挿入",
|
|
110
|
+
aliases: [
|
|
111
|
+
"audio",
|
|
112
|
+
"audioUpload",
|
|
113
|
+
"upload",
|
|
114
|
+
"mp3",
|
|
115
|
+
"sound",
|
|
116
|
+
"media",
|
|
117
|
+
"url",
|
|
118
|
+
"オーディオ",
|
|
119
|
+
],
|
|
120
|
+
group: "メディア",
|
|
121
|
+
},
|
|
122
|
+
file: {
|
|
123
|
+
title: "ファイル",
|
|
124
|
+
subtext: "ファイルを挿入",
|
|
125
|
+
aliases: ["file", "upload", "embed", "media", "url", "ファイル"],
|
|
126
|
+
group: "メディア",
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
placeholders: {
|
|
130
|
+
default: "テキストを入力するか'/' を入力してコマンド選択",
|
|
131
|
+
heading: "見出し",
|
|
132
|
+
bulletListItem: "リストを追加",
|
|
133
|
+
numberedListItem: "リストを追加",
|
|
134
|
+
checkListItem: "リストを追加",
|
|
135
|
+
},
|
|
136
|
+
file_blocks: {
|
|
137
|
+
image: {
|
|
138
|
+
add_button_text: "画像を追加",
|
|
139
|
+
},
|
|
140
|
+
video: {
|
|
141
|
+
add_button_text: "ビデオを追加",
|
|
142
|
+
},
|
|
143
|
+
audio: {
|
|
144
|
+
add_button_text: "オーディオを追加",
|
|
145
|
+
},
|
|
146
|
+
file: {
|
|
147
|
+
add_button_text: "ファイルを追加",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
// from react package:
|
|
151
|
+
side_menu: {
|
|
152
|
+
add_block_label: "ブロックを追加",
|
|
153
|
+
drag_handle_label: "ブロックメニュー",
|
|
154
|
+
},
|
|
155
|
+
drag_handle: {
|
|
156
|
+
delete_menuitem: "削除",
|
|
157
|
+
colors_menuitem: "色を変更",
|
|
158
|
+
},
|
|
159
|
+
table_handle: {
|
|
160
|
+
delete_column_menuitem: "列を削除",
|
|
161
|
+
delete_row_menuitem: "行を削除",
|
|
162
|
+
add_left_menuitem: "左に列を追加",
|
|
163
|
+
add_right_menuitem: "右に列を追加",
|
|
164
|
+
add_above_menuitem: "上に行を追加",
|
|
165
|
+
add_below_menuitem: "下に行を追加",
|
|
166
|
+
},
|
|
167
|
+
suggestion_menu: {
|
|
168
|
+
no_items_title: "アイテムが見つかりません",
|
|
169
|
+
loading: "読込中…",
|
|
170
|
+
},
|
|
171
|
+
color_picker: {
|
|
172
|
+
text_title: "文字色",
|
|
173
|
+
background_title: "背景色",
|
|
174
|
+
colors: {
|
|
175
|
+
default: "デフォルト",
|
|
176
|
+
gray: "グレー",
|
|
177
|
+
brown: "茶色",
|
|
178
|
+
red: "赤",
|
|
179
|
+
orange: "オレンジ",
|
|
180
|
+
yellow: "黄色",
|
|
181
|
+
green: "緑",
|
|
182
|
+
blue: "青",
|
|
183
|
+
purple: "紫",
|
|
184
|
+
pink: "ピンク",
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
formatting_toolbar: {
|
|
189
|
+
bold: {
|
|
190
|
+
tooltip: "太字",
|
|
191
|
+
secondary_tooltip: "Mod+B",
|
|
192
|
+
},
|
|
193
|
+
italic: {
|
|
194
|
+
tooltip: "斜体",
|
|
195
|
+
secondary_tooltip: "Mod+I",
|
|
196
|
+
},
|
|
197
|
+
underline: {
|
|
198
|
+
tooltip: "下線",
|
|
199
|
+
secondary_tooltip: "Mod+U",
|
|
200
|
+
},
|
|
201
|
+
strike: {
|
|
202
|
+
tooltip: "打ち消し",
|
|
203
|
+
secondary_tooltip: "Mod+Shift+X",
|
|
204
|
+
},
|
|
205
|
+
code: {
|
|
206
|
+
tooltip: "コード",
|
|
207
|
+
secondary_tooltip: "",
|
|
208
|
+
},
|
|
209
|
+
colors: {
|
|
210
|
+
tooltip: "色",
|
|
211
|
+
},
|
|
212
|
+
link: {
|
|
213
|
+
tooltip: "リンク",
|
|
214
|
+
secondary_tooltip: "Mod+K",
|
|
215
|
+
},
|
|
216
|
+
file_caption: {
|
|
217
|
+
tooltip: "キャプションを編集",
|
|
218
|
+
input_placeholder: "キャプションを編集",
|
|
219
|
+
},
|
|
220
|
+
file_replace: {
|
|
221
|
+
tooltip: {
|
|
222
|
+
image: "画像を置換",
|
|
223
|
+
video: "ビデオを置換",
|
|
224
|
+
audio: "オーディオを置換",
|
|
225
|
+
file: "ファイルを置換",
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
file_rename: {
|
|
229
|
+
tooltip: {
|
|
230
|
+
image: "画像の名前を変更",
|
|
231
|
+
video: "ビデオの名前を変更",
|
|
232
|
+
audio: "オーディオの名前を変更",
|
|
233
|
+
file: "ファイルの名前を変更",
|
|
234
|
+
},
|
|
235
|
+
input_placeholder: {
|
|
236
|
+
image: "画像の名前を変更",
|
|
237
|
+
video: "ビデオの名前を変更",
|
|
238
|
+
audio: "オーディオの名前を変更",
|
|
239
|
+
file: "ファイルの名前を変更",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
file_download: {
|
|
243
|
+
tooltip: {
|
|
244
|
+
image: "画像をダウンロード",
|
|
245
|
+
video: "ビデオをダウンロード",
|
|
246
|
+
audio: "オーディオをダウンロード",
|
|
247
|
+
file: "ファイルをダウンロード",
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
file_delete: {
|
|
251
|
+
tooltip: {
|
|
252
|
+
image: "画像を削除",
|
|
253
|
+
video: "ビデオを削除",
|
|
254
|
+
audio: "オーディオを削除",
|
|
255
|
+
file: "ファイルを削除",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
file_preview_toggle: {
|
|
259
|
+
tooltip: "プレビューの切り替え",
|
|
260
|
+
},
|
|
261
|
+
nest: {
|
|
262
|
+
tooltip: "インデント増",
|
|
263
|
+
secondary_tooltip: "Tab",
|
|
264
|
+
},
|
|
265
|
+
unnest: {
|
|
266
|
+
tooltip: "インデント減",
|
|
267
|
+
secondary_tooltip: "Shift+Tab",
|
|
268
|
+
},
|
|
269
|
+
align_left: {
|
|
270
|
+
tooltip: "左揃え",
|
|
271
|
+
},
|
|
272
|
+
align_center: {
|
|
273
|
+
tooltip: "中央揃え",
|
|
274
|
+
},
|
|
275
|
+
align_right: {
|
|
276
|
+
tooltip: "右揃え",
|
|
277
|
+
},
|
|
278
|
+
align_justify: {
|
|
279
|
+
tooltip: "両端揃え",
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
file_panel: {
|
|
283
|
+
upload: {
|
|
284
|
+
title: "アップロード",
|
|
285
|
+
file_placeholder: {
|
|
286
|
+
image: "画像をアップロード",
|
|
287
|
+
video: "ビデオをアップロード",
|
|
288
|
+
audio: "オーディオをアップロード",
|
|
289
|
+
file: "ファイルをアップロード",
|
|
290
|
+
},
|
|
291
|
+
upload_error: "エラー: アップロードが失敗しました",
|
|
292
|
+
},
|
|
293
|
+
embed: {
|
|
294
|
+
title: "埋め込み",
|
|
295
|
+
embed_button: {
|
|
296
|
+
image: "画像を埋め込む",
|
|
297
|
+
video: "ビデオを埋め込む",
|
|
298
|
+
audio: "オーディオを埋め込む",
|
|
299
|
+
file: "ファイルを埋め込む",
|
|
300
|
+
},
|
|
301
|
+
url_placeholder: "URLを入力",
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
link_toolbar: {
|
|
305
|
+
delete: {
|
|
306
|
+
tooltip: "リンクを解除",
|
|
307
|
+
},
|
|
308
|
+
edit: {
|
|
309
|
+
text: "リンクを編集",
|
|
310
|
+
tooltip: "編集",
|
|
311
|
+
},
|
|
312
|
+
open: {
|
|
313
|
+
tooltip: "新しいタブでリンクを開く",
|
|
314
|
+
},
|
|
315
|
+
form: {
|
|
316
|
+
title_placeholder: "タイトルを編集",
|
|
317
|
+
url_placeholder: "URLを編集",
|
|
318
|
+
},
|
|
319
|
+
},
|
|
320
|
+
generic: {
|
|
321
|
+
ctrl_shortcut: "Ctrl",
|
|
322
|
+
},
|
|
323
|
+
};
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { Dictionary } from "../dictionary";
|
|
2
|
+
|
|
3
|
+
export const ko: Dictionary = {
|
|
4
|
+
slash_menu: {
|
|
5
|
+
heading: {
|
|
6
|
+
title: "제목1",
|
|
7
|
+
subtext: "섹션 제목(대)",
|
|
8
|
+
aliases: ["h", "제목1", "h1", "대제목"],
|
|
9
|
+
group: "제목",
|
|
10
|
+
},
|
|
11
|
+
heading_2: {
|
|
12
|
+
title: "제목2",
|
|
13
|
+
subtext: "섹션 제목(중)",
|
|
14
|
+
aliases: ["h2", "제목2", "중제목"],
|
|
15
|
+
group: "제목",
|
|
16
|
+
},
|
|
17
|
+
heading_3: {
|
|
18
|
+
title: "제목3",
|
|
19
|
+
subtext: "섹션 제목(소)",
|
|
20
|
+
aliases: ["h3", "제목3", "subheading"],
|
|
21
|
+
group: "제목",
|
|
22
|
+
},
|
|
23
|
+
numbered_list: {
|
|
24
|
+
title: "번호 매기기 목록",
|
|
25
|
+
subtext: "번호가 매겨진 목록을 추가합니다.",
|
|
26
|
+
aliases: ["ol", "li", "목록", "번호 매기기 목록", "번호 목록"],
|
|
27
|
+
group: "기본 블록",
|
|
28
|
+
},
|
|
29
|
+
bullet_list: {
|
|
30
|
+
title: "글머리 기호 목록",
|
|
31
|
+
subtext: "간단한 글머리 기호를 추가합니다.",
|
|
32
|
+
aliases: ["ul", "li", "목록", "글머리 기호 목록", "글머리 목록"],
|
|
33
|
+
group: "기본 블록",
|
|
34
|
+
},
|
|
35
|
+
check_list: {
|
|
36
|
+
title: "체크리스트",
|
|
37
|
+
subtext: "체크박스가 있는 목록을 표시하는 데 사용",
|
|
38
|
+
aliases: [
|
|
39
|
+
"ul",
|
|
40
|
+
"li",
|
|
41
|
+
"목록",
|
|
42
|
+
"체크리스트",
|
|
43
|
+
"체크 리스트",
|
|
44
|
+
"체크된 목록",
|
|
45
|
+
"체크박스",
|
|
46
|
+
],
|
|
47
|
+
group: "기본 블록",
|
|
48
|
+
},
|
|
49
|
+
paragraph: {
|
|
50
|
+
title: "본문",
|
|
51
|
+
subtext: "일반 텍스트",
|
|
52
|
+
aliases: ["p", "paragraph", "본문"],
|
|
53
|
+
group: "기본 블록",
|
|
54
|
+
},
|
|
55
|
+
table: {
|
|
56
|
+
title: "표",
|
|
57
|
+
subtext: "간단한 표를 추가합니다.",
|
|
58
|
+
aliases: ["표"],
|
|
59
|
+
group: "고급",
|
|
60
|
+
},
|
|
61
|
+
image: {
|
|
62
|
+
title: "이미지",
|
|
63
|
+
subtext: "이미지 파일을 업로드합니다.",
|
|
64
|
+
aliases: [
|
|
65
|
+
"image",
|
|
66
|
+
"imageUpload",
|
|
67
|
+
"upload",
|
|
68
|
+
"img",
|
|
69
|
+
"picture",
|
|
70
|
+
"media",
|
|
71
|
+
"이미지",
|
|
72
|
+
"url",
|
|
73
|
+
],
|
|
74
|
+
group: "미디어",
|
|
75
|
+
},
|
|
76
|
+
video: {
|
|
77
|
+
title: "비디오",
|
|
78
|
+
subtext: "비디오 삽입",
|
|
79
|
+
aliases: [
|
|
80
|
+
"video",
|
|
81
|
+
"videoUpload",
|
|
82
|
+
"upload",
|
|
83
|
+
"mp4",
|
|
84
|
+
"film",
|
|
85
|
+
"media",
|
|
86
|
+
"동영상",
|
|
87
|
+
"url",
|
|
88
|
+
],
|
|
89
|
+
group: "미디어",
|
|
90
|
+
},
|
|
91
|
+
audio: {
|
|
92
|
+
title: "오디오",
|
|
93
|
+
subtext: "오디오 삽입",
|
|
94
|
+
aliases: [
|
|
95
|
+
"audio",
|
|
96
|
+
"audioUpload",
|
|
97
|
+
"upload",
|
|
98
|
+
"mp3",
|
|
99
|
+
"sound",
|
|
100
|
+
"media",
|
|
101
|
+
"오디오",
|
|
102
|
+
"url",
|
|
103
|
+
],
|
|
104
|
+
group: "미디어",
|
|
105
|
+
},
|
|
106
|
+
file: {
|
|
107
|
+
title: "파일",
|
|
108
|
+
subtext: "파일 삽입",
|
|
109
|
+
aliases: ["file", "upload", "embed", "media", "파일", "url"],
|
|
110
|
+
group: "미디어",
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
placeholders: {
|
|
114
|
+
default: "텍스트를 입력하거나 /를 입력하여 명령을 입력하세요.",
|
|
115
|
+
heading: "제목",
|
|
116
|
+
bulletListItem: "목록",
|
|
117
|
+
numberedListItem: "목록",
|
|
118
|
+
checkListItem: "목록",
|
|
119
|
+
},
|
|
120
|
+
file_blocks: {
|
|
121
|
+
image: {
|
|
122
|
+
add_button_text: "이미지 추가",
|
|
123
|
+
},
|
|
124
|
+
video: {
|
|
125
|
+
add_button_text: "비디오 추가",
|
|
126
|
+
},
|
|
127
|
+
audio: {
|
|
128
|
+
add_button_text: "오디오 추가",
|
|
129
|
+
},
|
|
130
|
+
file: {
|
|
131
|
+
add_button_text: "파일 추가",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
// from react package:
|
|
135
|
+
side_menu: {
|
|
136
|
+
add_block_label: "블록 추가",
|
|
137
|
+
drag_handle_label: "블록 메뉴 열기",
|
|
138
|
+
},
|
|
139
|
+
drag_handle: {
|
|
140
|
+
delete_menuitem: "삭제",
|
|
141
|
+
colors_menuitem: "색깔",
|
|
142
|
+
},
|
|
143
|
+
table_handle: {
|
|
144
|
+
delete_column_menuitem: "열 1개 삭제",
|
|
145
|
+
delete_row_menuitem: "행 삭제",
|
|
146
|
+
add_left_menuitem: "왼쪽에 열 1개 추가",
|
|
147
|
+
add_right_menuitem: "오른쪽에 열 1개 추가",
|
|
148
|
+
add_above_menuitem: "위에 행 1개 추가",
|
|
149
|
+
add_below_menuitem: "아래에 행 1개 추가",
|
|
150
|
+
},
|
|
151
|
+
suggestion_menu: {
|
|
152
|
+
no_items_title: "항목을 찾을 수 없음",
|
|
153
|
+
loading: "로딩 중…",
|
|
154
|
+
},
|
|
155
|
+
color_picker: {
|
|
156
|
+
text_title: "텍스트",
|
|
157
|
+
background_title: "배경",
|
|
158
|
+
colors: {
|
|
159
|
+
default: "기본",
|
|
160
|
+
gray: "회색",
|
|
161
|
+
brown: "갈색",
|
|
162
|
+
red: "빨간색",
|
|
163
|
+
orange: "주황색",
|
|
164
|
+
yellow: "노란색",
|
|
165
|
+
green: "녹색",
|
|
166
|
+
blue: "파란색",
|
|
167
|
+
purple: "보라색",
|
|
168
|
+
pink: "분홍색",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
|
|
172
|
+
formatting_toolbar: {
|
|
173
|
+
bold: {
|
|
174
|
+
tooltip: "진하게",
|
|
175
|
+
secondary_tooltip: "Mod+B",
|
|
176
|
+
},
|
|
177
|
+
italic: {
|
|
178
|
+
tooltip: "기울임",
|
|
179
|
+
secondary_tooltip: "Mod+I",
|
|
180
|
+
},
|
|
181
|
+
underline: {
|
|
182
|
+
tooltip: "밑줄",
|
|
183
|
+
secondary_tooltip: "Mod+U",
|
|
184
|
+
},
|
|
185
|
+
strike: {
|
|
186
|
+
tooltip: "취소선",
|
|
187
|
+
secondary_tooltip: "Mod+Shift+X",
|
|
188
|
+
},
|
|
189
|
+
code: {
|
|
190
|
+
tooltip: "코드",
|
|
191
|
+
secondary_tooltip: "",
|
|
192
|
+
},
|
|
193
|
+
colors: {
|
|
194
|
+
tooltip: "색깔",
|
|
195
|
+
},
|
|
196
|
+
link: {
|
|
197
|
+
tooltip: "링크 만들기",
|
|
198
|
+
secondary_tooltip: "Mod+K",
|
|
199
|
+
},
|
|
200
|
+
file_caption: {
|
|
201
|
+
tooltip: "이미지 캡션 수정",
|
|
202
|
+
input_placeholder: "이미지 캡션 수정",
|
|
203
|
+
},
|
|
204
|
+
file_replace: {
|
|
205
|
+
tooltip: {
|
|
206
|
+
image: "이미지 교체",
|
|
207
|
+
video: "비디오 교체",
|
|
208
|
+
audio: "오디오 교체",
|
|
209
|
+
file: "파일 교체",
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
file_rename: {
|
|
213
|
+
tooltip: {
|
|
214
|
+
image: "이미지 이름 변경",
|
|
215
|
+
video: "비디오 이름 변경",
|
|
216
|
+
audio: "오디오 이름 변경",
|
|
217
|
+
file: "파일 이름 변경",
|
|
218
|
+
},
|
|
219
|
+
input_placeholder: {
|
|
220
|
+
image: "이미지 이름 변경",
|
|
221
|
+
video: "비디오 이름 변경",
|
|
222
|
+
audio: "오디오 이름 변경",
|
|
223
|
+
file: "파일 이름 변경",
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
file_download: {
|
|
227
|
+
tooltip: {
|
|
228
|
+
image: "이미지 다운로드",
|
|
229
|
+
video: "비디오 다운로드",
|
|
230
|
+
audio: "오디오 다운로드",
|
|
231
|
+
file: "파일 다운로드",
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
file_delete: {
|
|
235
|
+
tooltip: {
|
|
236
|
+
image: "이미지 삭제",
|
|
237
|
+
video: "비디오 삭제",
|
|
238
|
+
audio: "오디오 삭제",
|
|
239
|
+
file: "파일 삭제",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
file_preview_toggle: {
|
|
243
|
+
tooltip: "미리보기 전환",
|
|
244
|
+
},
|
|
245
|
+
nest: {
|
|
246
|
+
tooltip: "중첩 블록",
|
|
247
|
+
secondary_tooltip: "Tab",
|
|
248
|
+
},
|
|
249
|
+
unnest: {
|
|
250
|
+
tooltip: "비중첩 블록",
|
|
251
|
+
secondary_tooltip: "Shift+Tab",
|
|
252
|
+
},
|
|
253
|
+
align_left: {
|
|
254
|
+
tooltip: "텍스트 왼쪽 맞춤",
|
|
255
|
+
},
|
|
256
|
+
align_center: {
|
|
257
|
+
tooltip: "텍스트 가운데 맞춤",
|
|
258
|
+
},
|
|
259
|
+
align_right: {
|
|
260
|
+
tooltip: "텍스트 오른쪽 맞춤",
|
|
261
|
+
},
|
|
262
|
+
align_justify: {
|
|
263
|
+
tooltip: "텍스트 양쪽 맞춤",
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
file_panel: {
|
|
267
|
+
upload: {
|
|
268
|
+
title: "업로드",
|
|
269
|
+
file_placeholder: {
|
|
270
|
+
image: "이미지 업로드",
|
|
271
|
+
video: "비디오 업로드",
|
|
272
|
+
audio: "오디오 업로드",
|
|
273
|
+
file: "파일 업로드",
|
|
274
|
+
},
|
|
275
|
+
upload_error: "오류: 업로드 실패",
|
|
276
|
+
},
|
|
277
|
+
embed: {
|
|
278
|
+
title: "임베드",
|
|
279
|
+
embed_button: {
|
|
280
|
+
image: "이미지 삽입",
|
|
281
|
+
video: "비디오 삽입",
|
|
282
|
+
audio: "오디오 삽입",
|
|
283
|
+
file: "파일 삽입",
|
|
284
|
+
},
|
|
285
|
+
url_placeholder: "URL을 입력하세요.",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
link_toolbar: {
|
|
289
|
+
delete: {
|
|
290
|
+
tooltip: "링크 삭제",
|
|
291
|
+
},
|
|
292
|
+
edit: {
|
|
293
|
+
text: "링크 수정",
|
|
294
|
+
tooltip: "수정",
|
|
295
|
+
},
|
|
296
|
+
open: {
|
|
297
|
+
tooltip: "새 탭으로 열기",
|
|
298
|
+
},
|
|
299
|
+
form: {
|
|
300
|
+
title_placeholder: "제목 수정",
|
|
301
|
+
url_placeholder: "URL 수정",
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
generic: {
|
|
305
|
+
ctrl_shortcut: "Ctrl",
|
|
306
|
+
},
|
|
307
|
+
};
|