@blocknote/core 0.13.0 → 0.13.3
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/README.md +6 -2
- package/dist/blocknote.js +5724 -2803
- 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__/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/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__/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/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +212 -4
- 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/testUtil/cases/customBlocks.ts +79 -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 +114 -4
- package/src/blocks/AudioBlockContent/AudioBlockContent.ts +162 -0
- package/src/blocks/AudioBlockContent/audioBlockHelpers.ts +5 -0
- package/src/blocks/FileBlockContent/FileBlockContent.ts +121 -0
- package/src/blocks/FileBlockContent/fileBlockHelpers.ts +377 -0
- package/src/blocks/ImageBlockContent/ImageBlockContent.ts +135 -356
- package/src/blocks/ImageBlockContent/imageBlockHelpers.ts +6 -0
- package/src/blocks/VideoBlockContent/VideoBlockContent.ts +182 -0
- package/src/blocks/VideoBlockContent/videoBlockHelpers.ts +6 -0
- package/src/blocks/defaultBlockTypeGuards.ts +53 -1
- package/src/blocks/defaultBlocks.ts +8 -2
- package/src/editor/Block.css +67 -27
- package/src/editor/BlockNoteEditor.ts +14 -10
- package/src/editor/BlockNoteExtensions.ts +1 -1
- package/src/editor/BlockNoteSchema.ts +12 -3
- package/src/extensions/{ImagePanel/ImageToolbarPlugin.ts → FilePanel/FilePanelPlugin.ts} +22 -25
- package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +14 -2
- package/src/extensions/NonEditableBlocks/NonEditableBlockPlugin.ts +43 -12
- package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +59 -2
- package/src/i18n/locales/en.ts +102 -11
- package/src/i18n/locales/fr.ts +289 -0
- package/src/i18n/locales/index.ts +8 -0
- package/src/i18n/locales/is.ts +288 -0
- package/src/i18n/locales/ja.ts +300 -0
- package/src/i18n/locales/ko.ts +292 -0
- package/src/i18n/locales/nl.ts +101 -8
- package/src/i18n/locales/pl.ts +280 -0
- package/src/i18n/locales/pt.ts +281 -0
- package/src/i18n/locales/vi.ts +281 -0
- package/src/i18n/locales/zh.ts +312 -0
- package/src/index.ts +9 -2
- package/src/pm-nodes/BlockContainer.ts +5 -3
- package/src/schema/blocks/createSpec.ts +1 -0
- package/src/schema/blocks/internal.ts +10 -0
- package/src/schema/blocks/types.ts +41 -5
- package/src/util/string.ts +12 -0
- package/types/src/api/testUtil/cases/customBlocks.d.ts +228 -42
- package/types/src/api/testUtil/cases/customInlineContent.d.ts +178 -4
- package/types/src/api/testUtil/cases/customStyles.d.ts +178 -4
- package/types/src/blocks/AudioBlockContent/AudioBlockContent.d.ts +104 -0
- package/types/src/blocks/AudioBlockContent/audioBlockHelpers.d.ts +3 -0
- package/types/src/blocks/FileBlockContent/FileBlockContent.d.ts +96 -0
- package/types/src/blocks/FileBlockContent/fileBlockHelpers.d.ts +30 -0
- package/types/src/blocks/ImageBlockContent/ImageBlockContent.d.ts +53 -14
- package/types/src/blocks/ImageBlockContent/imageBlockHelpers.d.ts +4 -0
- package/types/src/blocks/VideoBlockContent/VideoBlockContent.d.ts +132 -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 +356 -8
- package/types/src/editor/BlockNoteEditor.d.ts +5 -5
- package/types/src/extensions/{ImagePanel/ImageToolbarPlugin.d.ts → FilePanel/FilePanelPlugin.d.ts} +9 -12
- package/types/src/i18n/locales/en.d.ts +49 -7
- package/types/src/i18n/locales/fr.d.ts +2 -0
- package/types/src/i18n/locales/index.d.ts +8 -0
- 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/i18n/locales/zh.d.ts +2 -0
- package/types/src/index.d.ts +8 -2
- package/types/src/schema/blocks/internal.d.ts +1 -1
- package/types/src/schema/blocks/types.d.ts +26 -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,288 @@
|
|
|
1
|
+
import type { Dictionary } from "../dictionary";
|
|
2
|
+
|
|
3
|
+
export const is: Dictionary = {
|
|
4
|
+
slash_menu: {
|
|
5
|
+
heading: {
|
|
6
|
+
title: "Fyrirsögn 1",
|
|
7
|
+
subtext: "Notað fyrir efstu fyrirsögn",
|
|
8
|
+
aliases: ["h", "fyrirsogn1", "h1"],
|
|
9
|
+
group: "Fyrirsagnir",
|
|
10
|
+
},
|
|
11
|
+
heading_2: {
|
|
12
|
+
title: "Fyrirsögn 2",
|
|
13
|
+
subtext: "Notað fyrir lykilhluta",
|
|
14
|
+
aliases: ["h2", "fyrirsogn2", "undirfyrirsogn"],
|
|
15
|
+
group: "Fyrirsagnir",
|
|
16
|
+
},
|
|
17
|
+
heading_3: {
|
|
18
|
+
title: "Fyrirsögn 3",
|
|
19
|
+
subtext: "Notað fyrir undirhluta og hópfyrirsagnir",
|
|
20
|
+
aliases: ["h3", "fyrirsogn3", "undirfyrirsogn"],
|
|
21
|
+
group: "Fyrirsagnir",
|
|
22
|
+
},
|
|
23
|
+
numbered_list: {
|
|
24
|
+
title: "Númeruð listi",
|
|
25
|
+
subtext: "Notað til að birta númeraðan lista",
|
|
26
|
+
aliases: ["ol", "li", "listi", "numeradurlisti"],
|
|
27
|
+
group: "Grunnblokkar",
|
|
28
|
+
},
|
|
29
|
+
bullet_list: {
|
|
30
|
+
title: "Punktalisti",
|
|
31
|
+
subtext: "Notað til að birta óraðaðan lista",
|
|
32
|
+
aliases: ["ul", "li", "listi", "punktalisti"],
|
|
33
|
+
group: "Grunnblokkar",
|
|
34
|
+
},
|
|
35
|
+
paragraph: {
|
|
36
|
+
title: "Málsgrein",
|
|
37
|
+
subtext: "Notað fyrir meginmál skjalsins",
|
|
38
|
+
aliases: ["p", "malsgrein"],
|
|
39
|
+
group: "Grunnblokkar",
|
|
40
|
+
},
|
|
41
|
+
table: {
|
|
42
|
+
title: "Tafla",
|
|
43
|
+
subtext: "Notað fyrir töflur",
|
|
44
|
+
aliases: ["tafla"],
|
|
45
|
+
group: "Ítarlegt",
|
|
46
|
+
},
|
|
47
|
+
image: {
|
|
48
|
+
title: "Mynd",
|
|
49
|
+
subtext: "Settu inn mynd",
|
|
50
|
+
aliases: [
|
|
51
|
+
"mynd",
|
|
52
|
+
"myndaupphlaed",
|
|
53
|
+
"upphlaed",
|
|
54
|
+
"img",
|
|
55
|
+
"mynd",
|
|
56
|
+
"media",
|
|
57
|
+
"url",
|
|
58
|
+
],
|
|
59
|
+
group: "Miðlar",
|
|
60
|
+
},
|
|
61
|
+
video: {
|
|
62
|
+
title: "Myndband",
|
|
63
|
+
subtext: "Setja inn myndband",
|
|
64
|
+
aliases: [
|
|
65
|
+
"myndband",
|
|
66
|
+
"videoUpphala",
|
|
67
|
+
"hlaða upp",
|
|
68
|
+
"mp4",
|
|
69
|
+
"kvikmynd",
|
|
70
|
+
"miðill",
|
|
71
|
+
"url",
|
|
72
|
+
],
|
|
73
|
+
group: "Miðill",
|
|
74
|
+
},
|
|
75
|
+
audio: {
|
|
76
|
+
title: "Hljóð",
|
|
77
|
+
subtext: "Setja inn hljóð",
|
|
78
|
+
aliases: [
|
|
79
|
+
"hljóð",
|
|
80
|
+
"audioUpphala",
|
|
81
|
+
"hlaða upp",
|
|
82
|
+
"mp3",
|
|
83
|
+
"hljóð",
|
|
84
|
+
"miðill",
|
|
85
|
+
"url",
|
|
86
|
+
],
|
|
87
|
+
group: "Miðlar",
|
|
88
|
+
},
|
|
89
|
+
file: {
|
|
90
|
+
title: "Skrá",
|
|
91
|
+
subtext: "Setja inn skrá",
|
|
92
|
+
aliases: ["skrá", "hlaða upp", "fella inn", "miðill", "url"],
|
|
93
|
+
group: "Miðlar",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
placeholders: {
|
|
97
|
+
default: "Sláðu inn texta eða skrifaðu '/' fyrir skipanir",
|
|
98
|
+
heading: "Fyrirsögn",
|
|
99
|
+
bulletListItem: "Listi",
|
|
100
|
+
numberedListItem: "Listi",
|
|
101
|
+
},
|
|
102
|
+
file_blocks: {
|
|
103
|
+
image: {
|
|
104
|
+
add_button_text: "Bæta við mynd",
|
|
105
|
+
},
|
|
106
|
+
video: {
|
|
107
|
+
add_button_text: "Bæta við myndbandi",
|
|
108
|
+
},
|
|
109
|
+
audio: {
|
|
110
|
+
add_button_text: "Bæta við hljóði",
|
|
111
|
+
},
|
|
112
|
+
file: {
|
|
113
|
+
add_button_text: "Bæta við skrá",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
side_menu: {
|
|
117
|
+
add_block_label: "Bæta við blokki",
|
|
118
|
+
drag_handle_label: "Opna blokkarvalmynd",
|
|
119
|
+
},
|
|
120
|
+
drag_handle: {
|
|
121
|
+
delete_menuitem: "Eyða",
|
|
122
|
+
colors_menuitem: "Litir",
|
|
123
|
+
},
|
|
124
|
+
table_handle: {
|
|
125
|
+
delete_column_menuitem: "Eyða dálki",
|
|
126
|
+
delete_row_menuitem: "Eyða röð",
|
|
127
|
+
add_left_menuitem: "Bæta dálki við til vinstri",
|
|
128
|
+
add_right_menuitem: "Bæta dálki við til hægri",
|
|
129
|
+
add_above_menuitem: "Bæta röð við fyrir ofan",
|
|
130
|
+
add_below_menuitem: "Bæta röð við fyrir neðan",
|
|
131
|
+
},
|
|
132
|
+
suggestion_menu: {
|
|
133
|
+
no_items_title: "Engir hlutir fundust",
|
|
134
|
+
loading: "Hleður…",
|
|
135
|
+
},
|
|
136
|
+
color_picker: {
|
|
137
|
+
text_title: "Texti",
|
|
138
|
+
background_title: "Bakgrunnur",
|
|
139
|
+
colors: {
|
|
140
|
+
default: "Sjálfgefið",
|
|
141
|
+
gray: "Grár",
|
|
142
|
+
brown: "Brúnn",
|
|
143
|
+
red: "Rauður",
|
|
144
|
+
orange: "Appelsínugulur",
|
|
145
|
+
yellow: "Gulur",
|
|
146
|
+
green: "Grænn",
|
|
147
|
+
blue: "Blár",
|
|
148
|
+
purple: "Fjólublár",
|
|
149
|
+
pink: "Bleikur",
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
formatting_toolbar: {
|
|
154
|
+
bold: {
|
|
155
|
+
tooltip: "Feitletrað",
|
|
156
|
+
secondary_tooltip: "Mod+B",
|
|
157
|
+
},
|
|
158
|
+
italic: {
|
|
159
|
+
tooltip: "Skáletrað",
|
|
160
|
+
secondary_tooltip: "Mod+I",
|
|
161
|
+
},
|
|
162
|
+
underline: {
|
|
163
|
+
tooltip: "Undirstrikað",
|
|
164
|
+
secondary_tooltip: "Mod+U",
|
|
165
|
+
},
|
|
166
|
+
strike: {
|
|
167
|
+
tooltip: "Yfirstrikað",
|
|
168
|
+
secondary_tooltip: "Mod+Shift+X",
|
|
169
|
+
},
|
|
170
|
+
code: {
|
|
171
|
+
tooltip: "Kóði",
|
|
172
|
+
secondary_tooltip: "",
|
|
173
|
+
},
|
|
174
|
+
colors: {
|
|
175
|
+
tooltip: "Litir",
|
|
176
|
+
},
|
|
177
|
+
link: {
|
|
178
|
+
tooltip: "Búa til tengil",
|
|
179
|
+
secondary_tooltip: "Mod+K",
|
|
180
|
+
},
|
|
181
|
+
file_caption: {
|
|
182
|
+
tooltip: "Breyta myndatexta",
|
|
183
|
+
input_placeholder: "Breyta myndatexta",
|
|
184
|
+
},
|
|
185
|
+
file_replace: {
|
|
186
|
+
tooltip: {
|
|
187
|
+
image: "Skipta um mynd",
|
|
188
|
+
video: "Skipta um myndband",
|
|
189
|
+
audio: "Skipta um hljóð",
|
|
190
|
+
file: "Skipta um skrá",
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
file_rename: {
|
|
194
|
+
tooltip: {
|
|
195
|
+
image: "Endurnefna mynd",
|
|
196
|
+
video: "Endurnefna myndband",
|
|
197
|
+
audio: "Endurnefna hljóð",
|
|
198
|
+
file: "Endurnefna skrá",
|
|
199
|
+
},
|
|
200
|
+
input_placeholder: {
|
|
201
|
+
image: "Endurnefna mynd",
|
|
202
|
+
video: "Endurnefna myndband",
|
|
203
|
+
audio: "Endurnefna hljóð",
|
|
204
|
+
file: "Endurnefna skrá",
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
file_download: {
|
|
208
|
+
tooltip: {
|
|
209
|
+
image: "Sækja mynd",
|
|
210
|
+
video: "Sækja myndband",
|
|
211
|
+
audio: "Sækja hljóð",
|
|
212
|
+
file: "Sækja skrá",
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
file_delete: {
|
|
216
|
+
tooltip: {
|
|
217
|
+
image: "Eyða mynd",
|
|
218
|
+
video: "Eyða myndbandi",
|
|
219
|
+
audio: "Eyða hljóði",
|
|
220
|
+
file: "Eyða skrá",
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
file_preview_toggle: {
|
|
224
|
+
tooltip: "Skipta um forskoðun",
|
|
225
|
+
},
|
|
226
|
+
nest: {
|
|
227
|
+
tooltip: "Fella blokk saman",
|
|
228
|
+
secondary_tooltip: "Tab",
|
|
229
|
+
},
|
|
230
|
+
unnest: {
|
|
231
|
+
tooltip: "Afþýða blokk",
|
|
232
|
+
secondary_tooltip: "Shift+Tab",
|
|
233
|
+
},
|
|
234
|
+
align_left: {
|
|
235
|
+
tooltip: "Vinstrijafna texta",
|
|
236
|
+
},
|
|
237
|
+
align_center: {
|
|
238
|
+
tooltip: "Miðjustilla texta",
|
|
239
|
+
},
|
|
240
|
+
align_right: {
|
|
241
|
+
tooltip: "Hægrijafna texta",
|
|
242
|
+
},
|
|
243
|
+
align_justify: {
|
|
244
|
+
tooltip: "Jafna texta",
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
file_panel: {
|
|
248
|
+
upload: {
|
|
249
|
+
title: "Hlaða upp",
|
|
250
|
+
file_placeholder: {
|
|
251
|
+
image: "Hlaða upp mynd",
|
|
252
|
+
video: "Hlaða upp myndband",
|
|
253
|
+
audio: "Hlaða upp hljóð",
|
|
254
|
+
file: "Hlaða upp skrá",
|
|
255
|
+
},
|
|
256
|
+
upload_error: "Villa: Upphleðsla mistókst",
|
|
257
|
+
},
|
|
258
|
+
embed: {
|
|
259
|
+
title: "Innsetja",
|
|
260
|
+
embed_button: {
|
|
261
|
+
image: "Innsetja mynd",
|
|
262
|
+
video: "Innsetja myndband",
|
|
263
|
+
audio: "Innsetja hljóð",
|
|
264
|
+
file: "Innsetja skrá",
|
|
265
|
+
},
|
|
266
|
+
url_placeholder: "Sláðu inn URL",
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
link_toolbar: {
|
|
270
|
+
delete: {
|
|
271
|
+
tooltip: "Fjarlægja tengil",
|
|
272
|
+
},
|
|
273
|
+
edit: {
|
|
274
|
+
text: "Breyta tengli",
|
|
275
|
+
tooltip: "Breyta",
|
|
276
|
+
},
|
|
277
|
+
open: {
|
|
278
|
+
tooltip: "Opna í nýjum flipa",
|
|
279
|
+
},
|
|
280
|
+
form: {
|
|
281
|
+
title_placeholder: "Breyta titli",
|
|
282
|
+
url_placeholder: "Breyta URL",
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
generic: {
|
|
286
|
+
ctrl_shortcut: "Ctrl",
|
|
287
|
+
},
|
|
288
|
+
};
|
|
@@ -0,0 +1,300 @@
|
|
|
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: ["ul", "li", "リスト", "箇条書きリスト"],
|
|
41
|
+
group: "基本ブロック",
|
|
42
|
+
},
|
|
43
|
+
paragraph: {
|
|
44
|
+
title: "標準テキスト",
|
|
45
|
+
subtext: "本文に使用",
|
|
46
|
+
aliases: ["p", "paragraph", "標準テキスト"],
|
|
47
|
+
group: "基本ブロック",
|
|
48
|
+
},
|
|
49
|
+
table: {
|
|
50
|
+
title: "表",
|
|
51
|
+
subtext: "表に使用",
|
|
52
|
+
aliases: ["table", "表", "テーブル"],
|
|
53
|
+
group: "高度なブロック",
|
|
54
|
+
},
|
|
55
|
+
image: {
|
|
56
|
+
title: "画像",
|
|
57
|
+
subtext: "画像を挿入",
|
|
58
|
+
aliases: [
|
|
59
|
+
"image",
|
|
60
|
+
"imageUpload",
|
|
61
|
+
"upload",
|
|
62
|
+
"img",
|
|
63
|
+
"picture",
|
|
64
|
+
"media",
|
|
65
|
+
"url",
|
|
66
|
+
"画像",
|
|
67
|
+
],
|
|
68
|
+
group: "メディア",
|
|
69
|
+
},
|
|
70
|
+
video: {
|
|
71
|
+
title: "ビデオ",
|
|
72
|
+
subtext: "ビデオを挿入",
|
|
73
|
+
aliases: [
|
|
74
|
+
"video",
|
|
75
|
+
"videoUpload",
|
|
76
|
+
"upload",
|
|
77
|
+
"mp4",
|
|
78
|
+
"film",
|
|
79
|
+
"media",
|
|
80
|
+
"url",
|
|
81
|
+
"ビデオ",
|
|
82
|
+
],
|
|
83
|
+
group: "メディア",
|
|
84
|
+
},
|
|
85
|
+
audio: {
|
|
86
|
+
title: "オーディオ",
|
|
87
|
+
subtext: "オーディオを挿入",
|
|
88
|
+
aliases: [
|
|
89
|
+
"audio",
|
|
90
|
+
"audioUpload",
|
|
91
|
+
"upload",
|
|
92
|
+
"mp3",
|
|
93
|
+
"sound",
|
|
94
|
+
"media",
|
|
95
|
+
"url",
|
|
96
|
+
"オーディオ",
|
|
97
|
+
],
|
|
98
|
+
group: "メディア",
|
|
99
|
+
},
|
|
100
|
+
file: {
|
|
101
|
+
title: "ファイル",
|
|
102
|
+
subtext: "ファイルを挿入",
|
|
103
|
+
aliases: ["file", "upload", "embed", "media", "url", "ファイル"],
|
|
104
|
+
group: "メディア",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
placeholders: {
|
|
108
|
+
default: "テキストを入力するか'/' を入力してコマンド選択",
|
|
109
|
+
heading: "見出し",
|
|
110
|
+
bulletListItem: "リストを追加",
|
|
111
|
+
numberedListItem: "リストを追加",
|
|
112
|
+
},
|
|
113
|
+
file_blocks: {
|
|
114
|
+
image: {
|
|
115
|
+
add_button_text: "画像を追加",
|
|
116
|
+
},
|
|
117
|
+
video: {
|
|
118
|
+
add_button_text: "ビデオを追加",
|
|
119
|
+
},
|
|
120
|
+
audio: {
|
|
121
|
+
add_button_text: "オーディオを追加",
|
|
122
|
+
},
|
|
123
|
+
file: {
|
|
124
|
+
add_button_text: "ファイルを追加",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
// from react package:
|
|
128
|
+
side_menu: {
|
|
129
|
+
add_block_label: "ブロックを追加",
|
|
130
|
+
drag_handle_label: "ブロックメニュー",
|
|
131
|
+
},
|
|
132
|
+
drag_handle: {
|
|
133
|
+
delete_menuitem: "削除",
|
|
134
|
+
colors_menuitem: "色を変更",
|
|
135
|
+
},
|
|
136
|
+
table_handle: {
|
|
137
|
+
delete_column_menuitem: "列を削除",
|
|
138
|
+
delete_row_menuitem: "行を削除",
|
|
139
|
+
add_left_menuitem: "左に列を追加",
|
|
140
|
+
add_right_menuitem: "右に列を追加",
|
|
141
|
+
add_above_menuitem: "上に行を追加",
|
|
142
|
+
add_below_menuitem: "下に行を追加",
|
|
143
|
+
},
|
|
144
|
+
suggestion_menu: {
|
|
145
|
+
no_items_title: "アイテムが見つかりません",
|
|
146
|
+
loading: "読込中…",
|
|
147
|
+
},
|
|
148
|
+
color_picker: {
|
|
149
|
+
text_title: "文字色",
|
|
150
|
+
background_title: "背景色",
|
|
151
|
+
colors: {
|
|
152
|
+
default: "デフォルト",
|
|
153
|
+
gray: "グレー",
|
|
154
|
+
brown: "茶色",
|
|
155
|
+
red: "赤",
|
|
156
|
+
orange: "オレンジ",
|
|
157
|
+
yellow: "黄色",
|
|
158
|
+
green: "緑",
|
|
159
|
+
blue: "青",
|
|
160
|
+
purple: "紫",
|
|
161
|
+
pink: "ピンク",
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
formatting_toolbar: {
|
|
166
|
+
bold: {
|
|
167
|
+
tooltip: "太字",
|
|
168
|
+
secondary_tooltip: "Mod+B",
|
|
169
|
+
},
|
|
170
|
+
italic: {
|
|
171
|
+
tooltip: "斜体",
|
|
172
|
+
secondary_tooltip: "Mod+I",
|
|
173
|
+
},
|
|
174
|
+
underline: {
|
|
175
|
+
tooltip: "下線",
|
|
176
|
+
secondary_tooltip: "Mod+U",
|
|
177
|
+
},
|
|
178
|
+
strike: {
|
|
179
|
+
tooltip: "打ち消し",
|
|
180
|
+
secondary_tooltip: "Mod+Shift+X",
|
|
181
|
+
},
|
|
182
|
+
code: {
|
|
183
|
+
tooltip: "コード",
|
|
184
|
+
secondary_tooltip: "",
|
|
185
|
+
},
|
|
186
|
+
colors: {
|
|
187
|
+
tooltip: "色",
|
|
188
|
+
},
|
|
189
|
+
link: {
|
|
190
|
+
tooltip: "リンク",
|
|
191
|
+
secondary_tooltip: "Mod+K",
|
|
192
|
+
},
|
|
193
|
+
file_caption: {
|
|
194
|
+
tooltip: "キャプションを編集",
|
|
195
|
+
input_placeholder: "キャプションを編集",
|
|
196
|
+
},
|
|
197
|
+
file_replace: {
|
|
198
|
+
tooltip: {
|
|
199
|
+
image: "画像を置換",
|
|
200
|
+
video: "ビデオを置換",
|
|
201
|
+
audio: "オーディオを置換",
|
|
202
|
+
file: "ファイルを置換",
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
file_rename: {
|
|
206
|
+
tooltip: {
|
|
207
|
+
image: "画像の名前を変更",
|
|
208
|
+
video: "ビデオの名前を変更",
|
|
209
|
+
audio: "オーディオの名前を変更",
|
|
210
|
+
file: "ファイルの名前を変更",
|
|
211
|
+
},
|
|
212
|
+
input_placeholder: {
|
|
213
|
+
image: "画像の名前を変更",
|
|
214
|
+
video: "ビデオの名前を変更",
|
|
215
|
+
audio: "オーディオの名前を変更",
|
|
216
|
+
file: "ファイルの名前を変更",
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
file_download: {
|
|
220
|
+
tooltip: {
|
|
221
|
+
image: "画像をダウンロード",
|
|
222
|
+
video: "ビデオをダウンロード",
|
|
223
|
+
audio: "オーディオをダウンロード",
|
|
224
|
+
file: "ファイルをダウンロード",
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
file_delete: {
|
|
228
|
+
tooltip: {
|
|
229
|
+
image: "画像を削除",
|
|
230
|
+
video: "ビデオを削除",
|
|
231
|
+
audio: "オーディオを削除",
|
|
232
|
+
file: "ファイルを削除",
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
file_preview_toggle: {
|
|
236
|
+
tooltip: "プレビューの切り替え",
|
|
237
|
+
},
|
|
238
|
+
nest: {
|
|
239
|
+
tooltip: "インデント増",
|
|
240
|
+
secondary_tooltip: "Tab",
|
|
241
|
+
},
|
|
242
|
+
unnest: {
|
|
243
|
+
tooltip: "インデント減",
|
|
244
|
+
secondary_tooltip: "Shift+Tab",
|
|
245
|
+
},
|
|
246
|
+
align_left: {
|
|
247
|
+
tooltip: "左揃え",
|
|
248
|
+
},
|
|
249
|
+
align_center: {
|
|
250
|
+
tooltip: "中央揃え",
|
|
251
|
+
},
|
|
252
|
+
align_right: {
|
|
253
|
+
tooltip: "右揃え",
|
|
254
|
+
},
|
|
255
|
+
align_justify: {
|
|
256
|
+
tooltip: "両端揃え",
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
file_panel: {
|
|
260
|
+
upload: {
|
|
261
|
+
title: "アップロード",
|
|
262
|
+
file_placeholder: {
|
|
263
|
+
image: "画像をアップロード",
|
|
264
|
+
video: "ビデオをアップロード",
|
|
265
|
+
audio: "オーディオをアップロード",
|
|
266
|
+
file: "ファイルをアップロード",
|
|
267
|
+
},
|
|
268
|
+
upload_error: "エラー: アップロードが失敗しました",
|
|
269
|
+
},
|
|
270
|
+
embed: {
|
|
271
|
+
title: "埋め込み",
|
|
272
|
+
embed_button: {
|
|
273
|
+
image: "画像を埋め込む",
|
|
274
|
+
video: "ビデオを埋め込む",
|
|
275
|
+
audio: "オーディオを埋め込む",
|
|
276
|
+
file: "ファイルを埋め込む",
|
|
277
|
+
},
|
|
278
|
+
url_placeholder: "URLを入力",
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
link_toolbar: {
|
|
282
|
+
delete: {
|
|
283
|
+
tooltip: "リンクを解除",
|
|
284
|
+
},
|
|
285
|
+
edit: {
|
|
286
|
+
text: "リンクを編集",
|
|
287
|
+
tooltip: "編集",
|
|
288
|
+
},
|
|
289
|
+
open: {
|
|
290
|
+
tooltip: "新しいタブでリンクを開く",
|
|
291
|
+
},
|
|
292
|
+
form: {
|
|
293
|
+
title_placeholder: "タイトルを編集",
|
|
294
|
+
url_placeholder: "URLを編集",
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
generic: {
|
|
298
|
+
ctrl_shortcut: "Ctrl",
|
|
299
|
+
},
|
|
300
|
+
};
|