@blocknote/core 0.13.2 → 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.
Files changed (137) hide show
  1. package/dist/blocknote.js +5282 -2785
  2. package/dist/blocknote.js.map +1 -1
  3. package/dist/blocknote.umd.cjs +7 -7
  4. package/dist/blocknote.umd.cjs.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/dist/webpack-stats.json +1 -1
  7. package/package.json +2 -2
  8. package/src/api/exporters/html/__snapshots__/file/basic/external.html +1 -0
  9. package/src/api/exporters/html/__snapshots__/file/basic/internal.html +1 -0
  10. package/src/api/exporters/html/__snapshots__/file/button/external.html +1 -0
  11. package/src/api/exporters/html/__snapshots__/file/button/internal.html +1 -0
  12. package/src/api/exporters/html/__snapshots__/file/nested/external.html +1 -0
  13. package/src/api/exporters/html/__snapshots__/file/nested/internal.html +1 -0
  14. package/src/api/exporters/html/__snapshots__/file/noCaption/external.html +1 -0
  15. package/src/api/exporters/html/__snapshots__/file/noCaption/internal.html +1 -0
  16. package/src/api/exporters/html/__snapshots__/file/noName/external.html +1 -0
  17. package/src/api/exporters/html/__snapshots__/file/noName/internal.html +1 -0
  18. package/src/api/exporters/html/__snapshots__/image/basic/external.html +1 -1
  19. package/src/api/exporters/html/__snapshots__/image/basic/internal.html +1 -1
  20. package/src/api/exporters/html/__snapshots__/image/button/external.html +1 -1
  21. package/src/api/exporters/html/__snapshots__/image/button/internal.html +1 -1
  22. package/src/api/exporters/html/__snapshots__/image/nested/external.html +1 -1
  23. package/src/api/exporters/html/__snapshots__/image/nested/internal.html +1 -1
  24. package/src/api/exporters/html/__snapshots__/image/noCaption/external.html +1 -0
  25. package/src/api/exporters/html/__snapshots__/image/noCaption/internal.html +1 -0
  26. package/src/api/exporters/html/__snapshots__/image/noName/external.html +1 -0
  27. package/src/api/exporters/html/__snapshots__/image/noName/internal.html +1 -0
  28. package/src/api/exporters/html/__snapshots__/image/noPreview/external.html +1 -0
  29. package/src/api/exporters/html/__snapshots__/image/noPreview/internal.html +1 -0
  30. package/src/api/exporters/html/__snapshots__/simpleFile/basic/external.html +1 -0
  31. package/src/api/exporters/html/__snapshots__/simpleFile/basic/internal.html +1 -0
  32. package/src/api/exporters/html/__snapshots__/simpleFile/button/external.html +1 -0
  33. package/src/api/exporters/html/__snapshots__/simpleFile/button/internal.html +1 -0
  34. package/src/api/exporters/html/__snapshots__/simpleFile/nested/external.html +1 -0
  35. package/src/api/exporters/html/__snapshots__/simpleFile/nested/internal.html +1 -0
  36. package/src/api/exporters/html/__snapshots__/simpleImage/basic/external.html +1 -1
  37. package/src/api/exporters/html/__snapshots__/simpleImage/basic/internal.html +1 -1
  38. package/src/api/exporters/html/__snapshots__/simpleImage/button/external.html +1 -1
  39. package/src/api/exporters/html/__snapshots__/simpleImage/button/internal.html +1 -1
  40. package/src/api/exporters/html/__snapshots__/simpleImage/nested/external.html +1 -1
  41. package/src/api/exporters/html/__snapshots__/simpleImage/nested/internal.html +1 -1
  42. package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/external.html +1 -0
  43. package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/internal.html +1 -0
  44. package/src/api/exporters/html/__snapshots__/simpleImage/noName/external.html +1 -0
  45. package/src/api/exporters/html/__snapshots__/simpleImage/noName/internal.html +1 -0
  46. package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/external.html +1 -0
  47. package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/internal.html +1 -0
  48. package/src/api/exporters/markdown/__snapshots__/file/basic/markdown.md +3 -0
  49. package/src/api/exporters/markdown/__snapshots__/file/button/markdown.md +1 -0
  50. package/src/api/exporters/markdown/__snapshots__/file/nested/markdown.md +7 -0
  51. package/src/api/exporters/markdown/__snapshots__/file/noCaption/markdown.md +1 -0
  52. package/src/api/exporters/markdown/__snapshots__/file/noName/markdown.md +3 -0
  53. package/src/api/exporters/markdown/__snapshots__/image/basic/markdown.md +1 -1
  54. package/src/api/exporters/markdown/__snapshots__/image/button/markdown.md +1 -1
  55. package/src/api/exporters/markdown/__snapshots__/image/nested/markdown.md +2 -2
  56. package/src/api/exporters/markdown/__snapshots__/image/noCaption/markdown.md +1 -0
  57. package/src/api/exporters/markdown/__snapshots__/image/noName/markdown.md +3 -0
  58. package/src/api/exporters/markdown/__snapshots__/image/noPreview/markdown.md +3 -0
  59. package/src/api/exporters/markdown/__snapshots__/simpleFile/basic/markdown.md +3 -0
  60. package/src/api/exporters/markdown/__snapshots__/simpleFile/button/markdown.md +1 -0
  61. package/src/api/exporters/markdown/__snapshots__/simpleFile/nested/markdown.md +7 -0
  62. package/src/api/exporters/markdown/__snapshots__/simpleImage/basic/markdown.md +3 -1
  63. package/src/api/exporters/markdown/__snapshots__/simpleImage/button/markdown.md +1 -0
  64. package/src/api/exporters/markdown/__snapshots__/simpleImage/nested/markdown.md +6 -2
  65. package/src/api/exporters/markdown/__snapshots__/simpleImage/noCaption/markdown.md +1 -0
  66. package/src/api/exporters/markdown/__snapshots__/simpleImage/noName/markdown.md +3 -0
  67. package/src/api/exporters/markdown/__snapshots__/simpleImage/noPreview/markdown.md +3 -0
  68. package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +212 -4
  69. package/src/api/parsers/html/__snapshots__/paste/parse-basic-block-types.json +3 -1
  70. package/src/api/parsers/html/__snapshots__/paste/parse-fake-image-caption.json +3 -1
  71. package/src/api/testUtil/cases/customBlocks.ts +79 -33
  72. package/src/api/testUtil/cases/customInlineContent.ts +1 -1
  73. package/src/api/testUtil/cases/customStyles.ts +1 -1
  74. package/src/api/testUtil/cases/defaultSchema.ts +114 -4
  75. package/src/blocks/AudioBlockContent/AudioBlockContent.ts +162 -0
  76. package/src/blocks/AudioBlockContent/audioBlockHelpers.ts +5 -0
  77. package/src/blocks/FileBlockContent/FileBlockContent.ts +121 -0
  78. package/src/blocks/FileBlockContent/fileBlockHelpers.ts +377 -0
  79. package/src/blocks/ImageBlockContent/ImageBlockContent.ts +135 -356
  80. package/src/blocks/ImageBlockContent/imageBlockHelpers.ts +6 -0
  81. package/src/blocks/VideoBlockContent/VideoBlockContent.ts +182 -0
  82. package/src/blocks/VideoBlockContent/videoBlockHelpers.ts +6 -0
  83. package/src/blocks/defaultBlockTypeGuards.ts +53 -1
  84. package/src/blocks/defaultBlocks.ts +8 -2
  85. package/src/editor/Block.css +67 -27
  86. package/src/editor/BlockNoteEditor.ts +14 -10
  87. package/src/editor/BlockNoteSchema.ts +12 -3
  88. package/src/extensions/{ImagePanel/ImageToolbarPlugin.ts → FilePanel/FilePanelPlugin.ts} +22 -25
  89. package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +14 -2
  90. package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +59 -2
  91. package/src/i18n/locales/en.ts +102 -11
  92. package/src/i18n/locales/fr.ts +104 -11
  93. package/src/i18n/locales/index.ts +8 -2
  94. package/src/i18n/locales/is.ts +288 -0
  95. package/src/i18n/locales/ja.ts +300 -0
  96. package/src/i18n/locales/ko.ts +292 -0
  97. package/src/i18n/locales/nl.ts +101 -8
  98. package/src/i18n/locales/pl.ts +280 -0
  99. package/src/i18n/locales/pt.ts +281 -0
  100. package/src/i18n/locales/vi.ts +281 -0
  101. package/src/i18n/locales/zh.ts +107 -8
  102. package/src/index.ts +9 -2
  103. package/src/pm-nodes/BlockContainer.ts +2 -2
  104. package/src/schema/blocks/createSpec.ts +1 -0
  105. package/src/schema/blocks/internal.ts +10 -0
  106. package/src/schema/blocks/types.ts +41 -5
  107. package/src/util/string.ts +12 -0
  108. package/types/src/api/testUtil/cases/customBlocks.d.ts +228 -42
  109. package/types/src/api/testUtil/cases/customInlineContent.d.ts +178 -4
  110. package/types/src/api/testUtil/cases/customStyles.d.ts +178 -4
  111. package/types/src/blocks/AudioBlockContent/AudioBlockContent.d.ts +104 -0
  112. package/types/src/blocks/AudioBlockContent/audioBlockHelpers.d.ts +3 -0
  113. package/types/src/blocks/FileBlockContent/FileBlockContent.d.ts +96 -0
  114. package/types/src/blocks/FileBlockContent/fileBlockHelpers.d.ts +30 -0
  115. package/types/src/blocks/ImageBlockContent/ImageBlockContent.d.ts +53 -14
  116. package/types/src/blocks/ImageBlockContent/imageBlockHelpers.d.ts +4 -0
  117. package/types/src/blocks/VideoBlockContent/VideoBlockContent.d.ts +132 -0
  118. package/types/src/blocks/VideoBlockContent/videoBlockHelpers.d.ts +4 -0
  119. package/types/src/blocks/defaultBlockTypeGuards.d.ts +6 -1
  120. package/types/src/blocks/defaultBlocks.d.ts +356 -8
  121. package/types/src/editor/BlockNoteEditor.d.ts +5 -5
  122. package/types/src/extensions/{ImagePanel/ImageToolbarPlugin.d.ts → FilePanel/FilePanelPlugin.d.ts} +9 -12
  123. package/types/src/i18n/locales/en.d.ts +49 -7
  124. package/types/src/i18n/locales/fr.d.ts +2 -184
  125. package/types/src/i18n/locales/index.d.ts +7 -1
  126. package/types/src/i18n/locales/is.d.ts +2 -0
  127. package/types/src/i18n/locales/ja.d.ts +2 -0
  128. package/types/src/i18n/locales/ko.d.ts +2 -0
  129. package/types/src/i18n/locales/pl.d.ts +2 -0
  130. package/types/src/i18n/locales/pt.d.ts +2 -0
  131. package/types/src/i18n/locales/vi.d.ts +2 -0
  132. package/types/src/index.d.ts +8 -2
  133. package/types/src/schema/blocks/internal.d.ts +1 -1
  134. package/types/src/schema/blocks/types.d.ts +26 -1
  135. package/types/src/util/string.d.ts +1 -0
  136. /package/src/blocks/{ImageBlockContent → FileBlockContent}/uploadToTmpFilesDotOrg_DEV_ONLY.ts +0 -0
  137. /package/types/src/blocks/{ImageBlockContent → FileBlockContent}/uploadToTmpFilesDotOrg_DEV_ONLY.d.ts +0 -0
@@ -0,0 +1,292 @@
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
+ paragraph: {
36
+ title: "본문",
37
+ subtext: "일반 텍스트",
38
+ aliases: ["p", "paragraph", "본문"],
39
+ group: "기본 블록",
40
+ },
41
+ table: {
42
+ title: "표",
43
+ subtext: "간단한 표를 추가합니다.",
44
+ aliases: ["표"],
45
+ group: "고급",
46
+ },
47
+ image: {
48
+ title: "이미지",
49
+ subtext: "이미지 파일을 업로드합니다.",
50
+ aliases: [
51
+ "image",
52
+ "imageUpload",
53
+ "upload",
54
+ "img",
55
+ "picture",
56
+ "media",
57
+ "이미지",
58
+ "url",
59
+ ],
60
+ group: "미디어",
61
+ },
62
+ video: {
63
+ title: "비디오",
64
+ subtext: "비디오 삽입",
65
+ aliases: [
66
+ "video",
67
+ "videoUpload",
68
+ "upload",
69
+ "mp4",
70
+ "film",
71
+ "media",
72
+ "동영상",
73
+ "url",
74
+ ],
75
+ group: "미디어",
76
+ },
77
+ audio: {
78
+ title: "오디오",
79
+ subtext: "오디오 삽입",
80
+ aliases: [
81
+ "audio",
82
+ "audioUpload",
83
+ "upload",
84
+ "mp3",
85
+ "sound",
86
+ "media",
87
+ "오디오",
88
+ "url",
89
+ ],
90
+ group: "미디어",
91
+ },
92
+ file: {
93
+ title: "파일",
94
+ subtext: "파일 삽입",
95
+ aliases: ["file", "upload", "embed", "media", "파일", "url"],
96
+ group: "미디어",
97
+ },
98
+ },
99
+ placeholders: {
100
+ default: "텍스트를 입력하거나 /를 입력하여 명령을 입력하세요.",
101
+ heading: "제목",
102
+ bulletListItem: "목록",
103
+ numberedListItem: "목록",
104
+ },
105
+ file_blocks: {
106
+ image: {
107
+ add_button_text: "이미지 추가",
108
+ },
109
+ video: {
110
+ add_button_text: "비디오 추가",
111
+ },
112
+ audio: {
113
+ add_button_text: "오디오 추가",
114
+ },
115
+ file: {
116
+ add_button_text: "파일 추가",
117
+ },
118
+ },
119
+ // from react package:
120
+ side_menu: {
121
+ add_block_label: "블록 추가",
122
+ drag_handle_label: "블록 메뉴 열기",
123
+ },
124
+ drag_handle: {
125
+ delete_menuitem: "삭제",
126
+ colors_menuitem: "색깔",
127
+ },
128
+ table_handle: {
129
+ delete_column_menuitem: "열 1개 삭제",
130
+ delete_row_menuitem: "행 삭제",
131
+ add_left_menuitem: "왼쪽에 열 1개 추가",
132
+ add_right_menuitem: "오른쪽에 열 1개 추가",
133
+ add_above_menuitem: "위에 행 1개 추가",
134
+ add_below_menuitem: "아래에 행 1개 추가",
135
+ },
136
+ suggestion_menu: {
137
+ no_items_title: "항목을 찾을 수 없음",
138
+ loading: "로딩 중…",
139
+ },
140
+ color_picker: {
141
+ text_title: "텍스트",
142
+ background_title: "배경",
143
+ colors: {
144
+ default: "기본",
145
+ gray: "회색",
146
+ brown: "갈색",
147
+ red: "빨간색",
148
+ orange: "주황색",
149
+ yellow: "노란색",
150
+ green: "녹색",
151
+ blue: "파란색",
152
+ purple: "보라색",
153
+ pink: "분홍색",
154
+ },
155
+ },
156
+
157
+ formatting_toolbar: {
158
+ bold: {
159
+ tooltip: "진하게",
160
+ secondary_tooltip: "Mod+B",
161
+ },
162
+ italic: {
163
+ tooltip: "기울임",
164
+ secondary_tooltip: "Mod+I",
165
+ },
166
+ underline: {
167
+ tooltip: "밑줄",
168
+ secondary_tooltip: "Mod+U",
169
+ },
170
+ strike: {
171
+ tooltip: "취소선",
172
+ secondary_tooltip: "Mod+Shift+X",
173
+ },
174
+ code: {
175
+ tooltip: "코드",
176
+ secondary_tooltip: "",
177
+ },
178
+ colors: {
179
+ tooltip: "색깔",
180
+ },
181
+ link: {
182
+ tooltip: "링크 만들기",
183
+ secondary_tooltip: "Mod+K",
184
+ },
185
+ file_caption: {
186
+ tooltip: "이미지 캡션 수정",
187
+ input_placeholder: "이미지 캡션 수정",
188
+ },
189
+ file_replace: {
190
+ tooltip: {
191
+ image: "이미지 교체",
192
+ video: "비디오 교체",
193
+ audio: "오디오 교체",
194
+ file: "파일 교체",
195
+ },
196
+ },
197
+ file_rename: {
198
+ tooltip: {
199
+ image: "이미지 이름 변경",
200
+ video: "비디오 이름 변경",
201
+ audio: "오디오 이름 변경",
202
+ file: "파일 이름 변경",
203
+ },
204
+ input_placeholder: {
205
+ image: "이미지 이름 변경",
206
+ video: "비디오 이름 변경",
207
+ audio: "오디오 이름 변경",
208
+ file: "파일 이름 변경",
209
+ },
210
+ },
211
+ file_download: {
212
+ tooltip: {
213
+ image: "이미지 다운로드",
214
+ video: "비디오 다운로드",
215
+ audio: "오디오 다운로드",
216
+ file: "파일 다운로드",
217
+ },
218
+ },
219
+ file_delete: {
220
+ tooltip: {
221
+ image: "이미지 삭제",
222
+ video: "비디오 삭제",
223
+ audio: "오디오 삭제",
224
+ file: "파일 삭제",
225
+ },
226
+ },
227
+ file_preview_toggle: {
228
+ tooltip: "미리보기 전환",
229
+ },
230
+ nest: {
231
+ tooltip: "중첩 블록",
232
+ secondary_tooltip: "Tab",
233
+ },
234
+ unnest: {
235
+ tooltip: "비중첩 블록",
236
+ secondary_tooltip: "Shift+Tab",
237
+ },
238
+ align_left: {
239
+ tooltip: "텍스트 왼쪽 맞춤",
240
+ },
241
+ align_center: {
242
+ tooltip: "텍스트 가운데 맞춤",
243
+ },
244
+ align_right: {
245
+ tooltip: "텍스트 오른쪽 맞춤",
246
+ },
247
+ align_justify: {
248
+ tooltip: "텍스트 양쪽 맞춤",
249
+ },
250
+ },
251
+ file_panel: {
252
+ upload: {
253
+ title: "업로드",
254
+ file_placeholder: {
255
+ image: "이미지 업로드",
256
+ video: "비디오 업로드",
257
+ audio: "오디오 업로드",
258
+ file: "파일 업로드",
259
+ },
260
+ upload_error: "오류: 업로드 실패",
261
+ },
262
+ embed: {
263
+ title: "임베드",
264
+ embed_button: {
265
+ image: "이미지 삽입",
266
+ video: "비디오 삽입",
267
+ audio: "오디오 삽입",
268
+ file: "파일 삽입",
269
+ },
270
+ url_placeholder: "URL을 입력하세요.",
271
+ },
272
+ },
273
+ link_toolbar: {
274
+ delete: {
275
+ tooltip: "링크 삭제",
276
+ },
277
+ edit: {
278
+ text: "링크 수정",
279
+ tooltip: "수정",
280
+ },
281
+ open: {
282
+ tooltip: "새 탭으로 열기",
283
+ },
284
+ form: {
285
+ title_placeholder: "제목 수정",
286
+ url_placeholder: "URL 수정",
287
+ },
288
+ },
289
+ generic: {
290
+ ctrl_shortcut: "Ctrl",
291
+ },
292
+ };
@@ -55,11 +55,45 @@ export const nl: Dictionary = {
55
55
  "foto",
56
56
  "media",
57
57
  "url",
58
+ ],
59
+ group: "Media",
60
+ },
61
+ video: {
62
+ title: "Video",
63
+ subtext: "Voeg een video in",
64
+ aliases: [
65
+ "video",
66
+ "videoUploaden",
67
+ "upload",
68
+ "mp4",
69
+ "film",
70
+ "media",
71
+ "url",
58
72
  "drive",
59
73
  "dropbox",
60
74
  ],
61
75
  group: "Media",
62
76
  },
77
+ audio: {
78
+ title: "Audio",
79
+ subtext: "Voeg audio in",
80
+ aliases: [
81
+ "audio",
82
+ "audioUploaden",
83
+ "upload",
84
+ "mp3",
85
+ "geluid",
86
+ "media",
87
+ "url",
88
+ ],
89
+ group: "Media",
90
+ },
91
+ file: {
92
+ title: "Bestand",
93
+ subtext: "Voeg een bestand in",
94
+ aliases: ["bestand", "upload", "insluiten", "media", "url"],
95
+ group: "Media",
96
+ },
63
97
  },
64
98
  placeholders: {
65
99
  default: "Voer tekst in of type '/' voor commando's",
@@ -67,8 +101,19 @@ export const nl: Dictionary = {
67
101
  bulletListItem: "Lijst",
68
102
  numberedListItem: "Lijst",
69
103
  },
70
- image: {
71
- add_button: "Afbeelding toevoegen",
104
+ file_blocks: {
105
+ image: {
106
+ add_button_text: "Afbeelding toevoegen",
107
+ },
108
+ video: {
109
+ add_button_text: "Video toevoegen",
110
+ },
111
+ audio: {
112
+ add_button_text: "Audio toevoegen",
113
+ },
114
+ file: {
115
+ add_button_text: "Bestand toevoegen",
116
+ },
72
117
  },
73
118
  // from react package:
74
119
  side_menu: {
@@ -135,12 +180,50 @@ export const nl: Dictionary = {
135
180
  tooltip: "Maak link",
136
181
  secondary_tooltip: "Mod+K",
137
182
  },
138
- image_caption: {
183
+ file_caption: {
139
184
  tooltip: "Bewerk onderschrift",
140
185
  input_placeholder: "Bewerk onderschrift",
141
186
  },
142
- image_replace: {
143
- tooltip: "Vervang afbeelding",
187
+ file_replace: {
188
+ tooltip: {
189
+ image: "Afbeelding vervangen",
190
+ video: "Video vervangen",
191
+ audio: "Audio vervangen",
192
+ file: "Bestand vervangen",
193
+ },
194
+ },
195
+ file_rename: {
196
+ tooltip: {
197
+ image: "Afbeelding hernoemen",
198
+ video: "Video hernoemen",
199
+ audio: "Audio hernoemen",
200
+ file: "Bestand hernoemen",
201
+ },
202
+ input_placeholder: {
203
+ image: "Afbeelding hernoemen",
204
+ video: "Video hernoemen",
205
+ audio: "Audio hernoemen",
206
+ file: "Bestand hernoemen",
207
+ },
208
+ },
209
+ file_download: {
210
+ tooltip: {
211
+ image: "Afbeelding downloaden",
212
+ video: "Video downloaden",
213
+ audio: "Audio downloaden",
214
+ file: "Bestand downloaden",
215
+ },
216
+ },
217
+ file_delete: {
218
+ tooltip: {
219
+ image: "Afbeelding verwijderen",
220
+ video: "Video verwijderen",
221
+ audio: "Audio verwijderen",
222
+ file: "Bestand verwijderen",
223
+ },
224
+ },
225
+ file_preview_toggle: {
226
+ tooltip: "Voorbeeldschakelaar",
144
227
  },
145
228
  nest: {
146
229
  tooltip: "Nest blok",
@@ -163,15 +246,25 @@ export const nl: Dictionary = {
163
246
  tooltip: "Tekst uitvullen",
164
247
  },
165
248
  },
166
- image_panel: {
249
+ file_panel: {
167
250
  upload: {
168
251
  title: "Upload",
169
- file_placeholder: "Upload afbeelding",
252
+ file_placeholder: {
253
+ image: "Afbeelding uploaden",
254
+ video: "Video uploaden",
255
+ audio: "Audio uploaden",
256
+ file: "Bestand uploaden",
257
+ },
170
258
  upload_error: "Fout: Upload mislukt",
171
259
  },
172
260
  embed: {
173
261
  title: "Insluiten",
174
- embed_button: "Insluiten afbeelding",
262
+ embed_button: {
263
+ image: "Afbeelding insluiten",
264
+ video: "Video insluiten",
265
+ audio: "Audio insluiten",
266
+ file: "Bestand insluiten",
267
+ },
175
268
  url_placeholder: "Voer URL in",
176
269
  },
177
270
  },
@@ -0,0 +1,280 @@
1
+ import type { Dictionary } from "../dictionary";
2
+
3
+ export const pl: Dictionary = {
4
+ slash_menu: {
5
+ heading: {
6
+ title: "Nagłówek 1",
7
+ subtext: "Używany dla nagłówka najwyższego poziomu",
8
+ aliases: ["h", "naglowek1", "h1"],
9
+ group: "Nagłówki",
10
+ },
11
+ heading_2: {
12
+ title: "Nagłówek 2",
13
+ subtext: "Używany dla kluczowych sekcji",
14
+ aliases: ["h2", "naglowek2", "podnaglowek"],
15
+ group: "Nagłówki",
16
+ },
17
+ heading_3: {
18
+ title: "Nagłówek 3",
19
+ subtext: "Używany dla podsekcji i grup nagłówków",
20
+ aliases: ["h3", "naglowek3", "podnaglowek"],
21
+ group: "Nagłówki",
22
+ },
23
+ numbered_list: {
24
+ title: "Lista numerowana",
25
+ subtext: "Używana do wyświetlania listy numerowanej",
26
+ aliases: ["ol", "li", "lista", "numerowana lista"],
27
+ group: "Podstawowe bloki",
28
+ },
29
+ bullet_list: {
30
+ title: "Lista punktowana",
31
+ subtext: "Używana do wyświetlania listy bez numeracji",
32
+ aliases: ["ul", "li", "lista", "punktowana lista"],
33
+ group: "Podstawowe bloki",
34
+ },
35
+ paragraph: {
36
+ title: "Akapit",
37
+ subtext: "Używany dla treści dokumentu",
38
+ aliases: ["p", "akapit"],
39
+ group: "Podstawowe bloki",
40
+ },
41
+ table: {
42
+ title: "Tabela",
43
+ subtext: "Używana do tworzenia tabel",
44
+ aliases: ["tabela"],
45
+ group: "Zaawansowane",
46
+ },
47
+ image: {
48
+ title: "Zdjęcie",
49
+ subtext: "Wstaw zdjęcie",
50
+ aliases: [
51
+ "obraz",
52
+ "wrzućZdjęcie",
53
+ "wrzuć",
54
+ "img",
55
+ "zdjęcie",
56
+ "media",
57
+ "url",
58
+ ],
59
+ group: "Media",
60
+ },
61
+ video: {
62
+ title: "Wideo",
63
+ subtext: "Wstaw wideo",
64
+ aliases: ["wideo", "wrzućWideo", "wrzuć", "mp4", "film", "media", "url"],
65
+ group: "Media",
66
+ },
67
+ audio: {
68
+ title: "Audio",
69
+ subtext: "Wstaw audio",
70
+ aliases: [
71
+ "audio",
72
+ "wrzućAudio",
73
+ "wrzuć",
74
+ "mp3",
75
+ "dźwięk",
76
+ "media",
77
+ "url",
78
+ ],
79
+ group: "Media",
80
+ },
81
+ file: {
82
+ title: "Plik",
83
+ subtext: "Wstaw plik",
84
+ aliases: ["plik", "wrzuć", "wstaw", "media", "url"],
85
+ group: "Media",
86
+ },
87
+ },
88
+ placeholders: {
89
+ default: "Wprowadź tekst lub wpisz '/' aby użyć poleceń",
90
+ heading: "Nagłówek",
91
+ bulletListItem: "Lista",
92
+ numberedListItem: "Lista",
93
+ },
94
+ file_blocks: {
95
+ image: {
96
+ add_button_text: "Dodaj zdjęcie",
97
+ },
98
+ video: {
99
+ add_button_text: "Dodaj wideo",
100
+ },
101
+ audio: {
102
+ add_button_text: "Dodaj audio",
103
+ },
104
+ file: {
105
+ add_button_text: "Dodaj plik",
106
+ },
107
+ },
108
+ side_menu: {
109
+ add_block_label: "Dodaj blok",
110
+ drag_handle_label: "Otwórz menu bloków",
111
+ },
112
+ drag_handle: {
113
+ delete_menuitem: "Usuń",
114
+ colors_menuitem: "Kolory",
115
+ },
116
+ table_handle: {
117
+ delete_column_menuitem: "Usuń kolumnę",
118
+ delete_row_menuitem: "Usuń wiersz",
119
+ add_left_menuitem: "Dodaj kolumnę po lewej",
120
+ add_right_menuitem: "Dodaj kolumnę po prawej",
121
+ add_above_menuitem: "Dodaj wiersz powyżej",
122
+ add_below_menuitem: "Dodaj wiersz poniżej",
123
+ },
124
+ suggestion_menu: {
125
+ no_items_title: "Nie znaleziono elementów",
126
+ loading: "Ładowanie…",
127
+ },
128
+ color_picker: {
129
+ text_title: "Tekst",
130
+ background_title: "Tło",
131
+ colors: {
132
+ default: "Domyślny",
133
+ gray: "Szary",
134
+ brown: "Brązowy",
135
+ red: "Czerwony",
136
+ orange: "Pomarańczowy",
137
+ yellow: "Żółty",
138
+ green: "Zielony",
139
+ blue: "Niebieski",
140
+ purple: "Fioletowy",
141
+ pink: "Różowy",
142
+ },
143
+ },
144
+
145
+ formatting_toolbar: {
146
+ bold: {
147
+ tooltip: "Pogrubienie",
148
+ secondary_tooltip: "Mod+B",
149
+ },
150
+ italic: {
151
+ tooltip: "Kursywa",
152
+ secondary_tooltip: "Mod+I",
153
+ },
154
+ underline: {
155
+ tooltip: "Podkreślenie",
156
+ secondary_tooltip: "Mod+U",
157
+ },
158
+ strike: {
159
+ tooltip: "Przekreślenie",
160
+ secondary_tooltip: "Mod+Shift+X",
161
+ },
162
+ code: {
163
+ tooltip: "Kod",
164
+ secondary_tooltip: "",
165
+ },
166
+ colors: {
167
+ tooltip: "Kolory",
168
+ },
169
+ link: {
170
+ tooltip: "Utwórz link",
171
+ secondary_tooltip: "Mod+K",
172
+ },
173
+ file_caption: {
174
+ tooltip: "Zmień podpis",
175
+ input_placeholder: "Zmień podpis",
176
+ },
177
+ file_replace: {
178
+ tooltip: {
179
+ image: "Zmień obraz",
180
+ video: "Zmień wideo",
181
+ audio: "Zmień audio",
182
+ file: "Zmień plik",
183
+ },
184
+ },
185
+ file_rename: {
186
+ tooltip: {
187
+ image: "Zmień nazwę zdjęcia",
188
+ video: "Zmień nazwę wideo",
189
+ audio: "Zmień nazwę audio",
190
+ file: "Zmień nazwę pliku",
191
+ },
192
+ input_placeholder: {
193
+ image: "Zmień nazwę zdjęcia",
194
+ video: "Zmień nazwę wideo",
195
+ audio: "Zmień nazwę audio",
196
+ file: "Zmień nazwę pliku",
197
+ },
198
+ },
199
+ file_download: {
200
+ tooltip: {
201
+ image: "Pobierz zdjęcie",
202
+ video: "Pobierz wideo",
203
+ audio: "Pobierz audio",
204
+ file: "Pobierz plik",
205
+ },
206
+ },
207
+ file_delete: {
208
+ tooltip: {
209
+ image: "Usuń zdjęcie",
210
+ video: "Usuń wideo",
211
+ audio: "Usuń audio",
212
+ file: "Usuń plik",
213
+ },
214
+ },
215
+ file_preview_toggle: {
216
+ tooltip: "Przełącz podgląd",
217
+ },
218
+ nest: {
219
+ tooltip: "Zagnieźdź blok",
220
+ secondary_tooltip: "Tab",
221
+ },
222
+ unnest: {
223
+ tooltip: "Odgagnieźdź blok",
224
+ secondary_tooltip: "Shift+Tab",
225
+ },
226
+ align_left: {
227
+ tooltip: "Wyrównaj tekst do lewej",
228
+ },
229
+ align_center: {
230
+ tooltip: "Wyśrodkuj tekst",
231
+ },
232
+ align_right: {
233
+ tooltip: "Wyrównaj tekst do prawej",
234
+ },
235
+ align_justify: {
236
+ tooltip: "Wyjustuj tekst",
237
+ },
238
+ },
239
+ file_panel: {
240
+ upload: {
241
+ title: "Wrzuć",
242
+ file_placeholder: {
243
+ image: "Wrzuć zdjęcie",
244
+ video: "Wrzuć wideo",
245
+ audio: "Wrzuć audio",
246
+ file: "Wrzuć plik",
247
+ },
248
+ upload_error: "Błąd: Przesyłanie nie powiodło się",
249
+ },
250
+ embed: {
251
+ title: "Wstaw",
252
+ embed_button: {
253
+ image: "Wstaw zdjęice",
254
+ video: "Wstaw wideo",
255
+ audio: "Wstaw audio",
256
+ file: "Wstaw plik",
257
+ },
258
+ url_placeholder: "Wprowadź URL",
259
+ },
260
+ },
261
+ link_toolbar: {
262
+ delete: {
263
+ tooltip: "Usuń link",
264
+ },
265
+ edit: {
266
+ text: "Edytuj link",
267
+ tooltip: "Edytuj",
268
+ },
269
+ open: {
270
+ tooltip: "Otwórz w nowej karcie",
271
+ },
272
+ form: {
273
+ title_placeholder: "Edytuj tytuł",
274
+ url_placeholder: "Edytuj URL",
275
+ },
276
+ },
277
+ generic: {
278
+ ctrl_shortcut: "Ctrl",
279
+ },
280
+ };