tiptapify 0.3.4 → 0.4.0
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/content.css +28 -0
- package/dist/tiptapify.css +1 -1
- package/dist/tiptapify.mjs +110820 -65669
- package/dist/tiptapify.umd.js +106 -89
- package/index.d.ts +34 -0
- package/package.json +3 -2
- package/src/components/ImageBubbleMenu.vue +5 -33
- package/src/components/MenuBubble.test.ts +120 -0
- package/src/components/MenuBubble.vue +124 -134
- package/src/components/MenuFloating.vue +48 -45
- package/src/components/Tiptapify.upload.test.ts +10 -0
- package/src/components/Tiptapify.vue +85 -45
- package/src/components/Toolbar/Index.vue +10 -0
- package/src/components/UI/BubbleRow.vue +41 -0
- package/src/components/UI/TiptapifyDialog.test.ts +37 -3
- package/src/components/UI/TiptapifyDialog.vue +15 -4
- package/src/components/editorExtensions.test.ts +9 -0
- package/src/components/editorExtensions.ts +21 -1
- package/src/composables/fakeUploadEndpoint.ts +65 -0
- package/src/composables/useTiptapifyConfig.ts +19 -0
- package/src/composables/useTiptapifyLinkPreview.test.ts +51 -0
- package/src/composables/useTiptapifyLinkPreview.ts +60 -0
- package/src/composables/useTiptapifyUpload.test.ts +96 -0
- package/src/composables/useTiptapifyUpload.ts +126 -0
- package/src/extensions/components/ai/Dialog.test.ts +335 -0
- package/src/extensions/components/ai/Dialog.vue +607 -310
- package/src/extensions/components/ai/backend.test.ts +1 -0
- package/src/extensions/components/ai/backend.ts +2 -1
- package/src/extensions/components/ai/context.test.ts +149 -0
- package/src/extensions/components/ai/context.ts +145 -0
- package/src/extensions/components/ai/diff.test.ts +65 -0
- package/src/extensions/components/ai/diff.ts +120 -0
- package/src/extensions/components/ai/errors.test.ts +45 -0
- package/src/extensions/components/ai/errors.ts +67 -0
- package/src/extensions/components/ai/result.test.ts +144 -0
- package/src/extensions/components/ai/result.ts +101 -0
- package/src/extensions/components/ai/thinking.test.ts +45 -0
- package/src/extensions/components/ai/thinking.ts +58 -0
- package/src/extensions/components/formatExtra/sub/Button.vue +1 -1
- package/src/extensions/components/formatExtra/sup/Button.vue +1 -1
- package/src/extensions/components/media/iframe/Button.vue +6 -7
- package/src/extensions/components/media/iframe/IframeDialog.test.ts +177 -0
- package/src/extensions/components/media/iframe/IframeDialog.vue +477 -105
- package/src/extensions/components/media/iframe/embed.test.ts +123 -0
- package/src/extensions/components/media/iframe/embed.ts +236 -0
- package/src/extensions/components/media/iframe/index.test.ts +123 -0
- package/src/extensions/components/media/iframe/index.ts +92 -10
- package/src/extensions/components/media/image/ImageDialog.vue +430 -132
- package/src/extensions/components/media/image/caption.test.ts +66 -1
- package/src/extensions/components/media/image/caption.ts +27 -1
- package/src/extensions/components/media/image/imageDialog.test.ts +200 -0
- package/src/extensions/components/media/image/imageDialog.ts +114 -0
- package/src/extensions/components/media/image/index.ts +2 -1
- package/src/extensions/components/media/link/Button.test.ts +96 -0
- package/src/extensions/components/media/link/Button.vue +6 -2
- package/src/extensions/components/media/link/LinkDialog.display.test.ts +363 -0
- package/src/extensions/components/media/link/LinkDialog.vue +687 -61
- package/src/extensions/components/media/link/index.ts +111 -6
- package/src/extensions/components/media/link/link.marks.test.ts +89 -0
- package/src/extensions/components/media/link/linkDialog.test.ts +296 -0
- package/src/extensions/components/media/link/linkDialog.ts +154 -0
- package/src/extensions/components/media/linkCard/PasteCardMenu.test.ts +133 -0
- package/src/extensions/components/media/linkCard/PasteCardMenu.vue +168 -0
- package/src/extensions/components/media/linkCard/index.test.ts +146 -0
- package/src/extensions/components/media/linkCard/index.ts +177 -0
- package/src/extensions/components/media/linkCard/linkCardDialog.test.ts +87 -0
- package/src/extensions/components/media/linkCard/linkCardDialog.ts +62 -0
- package/src/extensions/components/media/linkCard/linkPreview.test.ts +102 -0
- package/src/extensions/components/media/linkCard/linkPreview.ts +84 -0
- package/src/extensions/components/media/linkCard/makeLinkCard.test.ts +59 -0
- package/src/extensions/components/media/linkCard/makeLinkCard.ts +58 -0
- package/src/extensions/components/media/linkCard/pasteCard.test.ts +190 -0
- package/src/extensions/components/media/linkCard/pasteCard.ts +153 -0
- package/src/extensions/components/media/video/Button.vue +2 -1
- package/src/extensions/components/media/video/VideoDialog.test.ts +233 -0
- package/src/extensions/components/media/video/VideoDialog.vue +748 -59
- package/src/extensions/components/media/video/index.test.ts +154 -0
- package/src/extensions/components/media/video/index.ts +70 -5
- package/src/extensions/components/media/video/providers.test.ts +148 -0
- package/src/extensions/components/media/video/providers.ts +241 -0
- package/src/extensions/components/media/video/videoFile.test.ts +98 -0
- package/src/extensions/components/media/video/videoFile.ts +142 -0
- package/src/extensions/components/misc/fullscreen/Button.test.ts +55 -0
- package/src/extensions/components/misc/fullscreen/Button.vue +2 -2
- package/src/extensions/components/style/StyleColor.test.ts +255 -0
- package/src/extensions/components/style/StyleColor.vue +358 -208
- package/src/extensions/components/style/color/Button.vue +1 -3
- package/src/extensions/components/style/color/colors.test.ts +191 -0
- package/src/extensions/components/style/color/colors.ts +168 -0
- package/src/extensions/components/style/highlight/Button.vue +1 -3
- package/src/i18n/locales/ar.json +226 -23
- package/src/i18n/locales/bg.json +225 -22
- package/src/i18n/locales/ch.json +226 -23
- package/src/i18n/locales/cz.json +226 -23
- package/src/i18n/locales/de.json +226 -23
- package/src/i18n/locales/el.json +225 -22
- package/src/i18n/locales/en.json +225 -22
- package/src/i18n/locales/es.json +226 -23
- package/src/i18n/locales/et.json +225 -22
- package/src/i18n/locales/fi.json +226 -23
- package/src/i18n/locales/fr.json +226 -23
- package/src/i18n/locales/he.json +225 -22
- package/src/i18n/locales/hi.json +225 -22
- package/src/i18n/locales/hr.json +225 -22
- package/src/i18n/locales/hu.json +226 -23
- package/src/i18n/locales/id.json +225 -22
- package/src/i18n/locales/it.json +226 -23
- package/src/i18n/locales/ja.json +226 -23
- package/src/i18n/locales/ko.json +226 -23
- package/src/i18n/locales/la.json +226 -23
- package/src/i18n/locales/lt.json +226 -23
- package/src/i18n/locales/nl.json +226 -23
- package/src/i18n/locales/no.json +227 -24
- package/src/i18n/locales/pl.json +226 -23
- package/src/i18n/locales/pt-BR.json +225 -22
- package/src/i18n/locales/pt.json +226 -23
- package/src/i18n/locales/ro.json +225 -22
- package/src/i18n/locales/ru.json +227 -24
- package/src/i18n/locales/se.json +226 -23
- package/src/i18n/locales/sk.json +225 -22
- package/src/i18n/locales/sl.json +225 -22
- package/src/i18n/locales/sr.json +225 -22
- package/src/i18n/locales/th.json +226 -23
- package/src/i18n/locales/tr.json +226 -23
- package/src/i18n/locales/uk.json +227 -24
- package/src/i18n/locales/vi.json +226 -23
- package/src/index.ts +8 -0
- package/src/skins/registry.test.ts +1 -1
- package/src/skins/tokens.reachability.test.ts +1 -0
- package/src/skins/tokens.ts +3 -3
- package/src/types/editor.ts +40 -1
- package/src/utils/contentStyles.test.ts +116 -0
- package/src/utils/contentStyles.ts +175 -0
- package/src/utils/mediaSize.test.ts +22 -0
- package/src/utils/mediaSize.ts +27 -0
- package/src/utils/validateHref.test.ts +72 -2
- package/src/utils/validateHref.ts +57 -13
package/src/i18n/locales/en.json
CHANGED
|
@@ -4,7 +4,20 @@
|
|
|
4
4
|
"undo": "Undo"
|
|
5
5
|
},
|
|
6
6
|
"ai": {
|
|
7
|
+
"another_version": "Another version",
|
|
7
8
|
"append": "Append",
|
|
9
|
+
"change_vs_original": "{percent} vs original",
|
|
10
|
+
"changes": "Changes",
|
|
11
|
+
"context": {
|
|
12
|
+
"characters": "{n} character | {n} characters",
|
|
13
|
+
"cursor": "At the cursor",
|
|
14
|
+
"document": "Whole text",
|
|
15
|
+
"excerpt": "“{text}”",
|
|
16
|
+
"paragraphs": "{n} paragraph | {n} paragraphs",
|
|
17
|
+
"selection": "Selected: {paragraphs}, {characters}"
|
|
18
|
+
},
|
|
19
|
+
"copied": "Copied",
|
|
20
|
+
"copy": "Copy",
|
|
8
21
|
"defaultExamples": {
|
|
9
22
|
"expand": {
|
|
10
23
|
"prompt": "Expand this into a more detailed version.",
|
|
@@ -23,19 +36,58 @@
|
|
|
23
36
|
"title": "Summarize"
|
|
24
37
|
}
|
|
25
38
|
},
|
|
39
|
+
"effort_label": {
|
|
40
|
+
"default": "Effort: default",
|
|
41
|
+
"high": "Effort: high",
|
|
42
|
+
"low": "Effort: low",
|
|
43
|
+
"max": "Effort: maximum",
|
|
44
|
+
"medium": "Effort: medium",
|
|
45
|
+
"xhigh": "Effort: extra high"
|
|
46
|
+
},
|
|
47
|
+
"effort_levels": {
|
|
48
|
+
"default": "Default",
|
|
49
|
+
"high": "High",
|
|
50
|
+
"low": "Low",
|
|
51
|
+
"max": "Maximum",
|
|
52
|
+
"medium": "Medium",
|
|
53
|
+
"xhigh": "Extra high"
|
|
54
|
+
},
|
|
26
55
|
"error": "AI generation failed",
|
|
56
|
+
"errors": {
|
|
57
|
+
"auth": "The AI service rejected the request: check the API key or the access rights.",
|
|
58
|
+
"network": "Couldn't reach the AI service. Check that it is running and allows requests from this page (CORS): the browser console shows which.",
|
|
59
|
+
"not_found": "The AI service address was not found: check the endpoint path.",
|
|
60
|
+
"rate_limit": "Too many requests to the AI service. Wait a moment and try again.",
|
|
61
|
+
"request": "The AI service could not process the request.",
|
|
62
|
+
"service_says": "Service response:",
|
|
63
|
+
"timeout": "The AI service did not answer in time. Try again.",
|
|
64
|
+
"unavailable": "The AI service is unavailable: it may be loading a model or busy. Try again later."
|
|
65
|
+
},
|
|
27
66
|
"generate": "Generate",
|
|
28
67
|
"insert": "Insert",
|
|
29
|
-
"
|
|
68
|
+
"insert_below": "Insert below",
|
|
69
|
+
"limit_exceeded": "The result is longer than the editor's character limit allows. Ask for a shorter version.",
|
|
30
70
|
"loading": "Generating...",
|
|
31
71
|
"prompt": "Prompt",
|
|
72
|
+
"prompt_placeholder": "Ask to write or edit the text",
|
|
32
73
|
"quick_prompts": "Quick Prompts",
|
|
33
74
|
"reasoning_effort": "Reasoning effort",
|
|
34
|
-
"
|
|
75
|
+
"replace_selection": "Replace selection",
|
|
35
76
|
"result": "Result",
|
|
77
|
+
"send_hint": "Enter — send",
|
|
36
78
|
"stop": "Stop",
|
|
37
79
|
"thinking": "Thinking",
|
|
38
|
-
"
|
|
80
|
+
"thinking_label": {
|
|
81
|
+
"off": "Thinking: off",
|
|
82
|
+
"on": "Thinking: on"
|
|
83
|
+
},
|
|
84
|
+
"thinking_now": "Thinking…",
|
|
85
|
+
"thinking_states": {
|
|
86
|
+
"off": "Off",
|
|
87
|
+
"on": "On"
|
|
88
|
+
},
|
|
89
|
+
"thought_for": "Thought for {seconds} s",
|
|
90
|
+
"title": "Assistant",
|
|
39
91
|
"unavailable": "Configure an AI provider to use this action"
|
|
40
92
|
},
|
|
41
93
|
"alignment": "Alignment",
|
|
@@ -51,50 +103,163 @@
|
|
|
51
103
|
"defaultValue": "Default value",
|
|
52
104
|
"dialog": {
|
|
53
105
|
"apply": "Apply",
|
|
106
|
+
"cancel": "Cancel",
|
|
54
107
|
"clear": "Clear",
|
|
55
108
|
"close": "Close",
|
|
56
109
|
"iframe": {
|
|
57
|
-
"
|
|
58
|
-
"
|
|
110
|
+
"advanced": "Advanced",
|
|
111
|
+
"allow": "Permissions (allow)",
|
|
112
|
+
"allow_hint": "For example: autoplay; fullscreen; clipboard-write",
|
|
113
|
+
"apply_failed": "The embed cannot be inserted here.",
|
|
114
|
+
"border": "Show border",
|
|
115
|
+
"code_invalid": "Paste the code of a single iframe with an address. Codes with scripts or other tags are not supported.",
|
|
116
|
+
"code_parsed": "Code parsed: {fields}.",
|
|
59
117
|
"height": "Height",
|
|
118
|
+
"input": "Link or embed code",
|
|
119
|
+
"input_hint": "Paste the address or the iframe code from the site's Share or Embed menu.",
|
|
120
|
+
"keep_ratio": "Keep ratio",
|
|
121
|
+
"lazy": "Load when scrolled into view",
|
|
60
122
|
"name": "Name",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
123
|
+
"parsed_allow": "permissions",
|
|
124
|
+
"parsed_fullscreen": "fullscreen",
|
|
125
|
+
"parsed_loading": "lazy loading",
|
|
126
|
+
"parsed_name": "name",
|
|
127
|
+
"parsed_sandbox": "sandbox",
|
|
128
|
+
"parsed_size": "size {width} × {height}",
|
|
129
|
+
"parsed_src": "address",
|
|
130
|
+
"parsed_title": "title",
|
|
131
|
+
"preview": "Embed preview",
|
|
132
|
+
"preview_empty": "The preview appears once the address is valid.",
|
|
133
|
+
"sandbox": "Sandbox",
|
|
134
|
+
"sandbox_hint": "Empty: no restrictions. For example: allow-scripts allow-same-origin",
|
|
135
|
+
"size": "Size",
|
|
136
|
+
"size_custom": "Custom",
|
|
137
|
+
"size_invalid": "Enter the size in pixels.",
|
|
138
|
+
"size_responsive": "Responsive",
|
|
139
|
+
"size_responsive_hint": "Fills the text width in the {ratio} proportions.",
|
|
140
|
+
"src_invalid": "An embed needs a web address starting with https:// or http://.",
|
|
141
|
+
"src_protocol": "Add the protocol to the address: https:// or http://.",
|
|
142
|
+
"src_required": "Paste a link or an embed code.",
|
|
143
|
+
"title_edit": "Edit embed",
|
|
144
|
+
"title_insert": "Embed content",
|
|
145
|
+
"title_missing": "Screen readers announce the embed by its title. Describe what it shows.",
|
|
146
|
+
"title_text": "Title for screen readers",
|
|
64
147
|
"width": "Width"
|
|
65
148
|
},
|
|
66
149
|
"image": {
|
|
67
|
-
"
|
|
150
|
+
"alt_missing": "Screen readers and search can't read an image without alt text.",
|
|
151
|
+
"alt_text": "Alt text for screen readers",
|
|
152
|
+
"apply_error": "The image could not be saved here.",
|
|
68
153
|
"caption": "Caption",
|
|
69
154
|
"caption_placeholder": "Add a caption…",
|
|
70
|
-
"dialog_title": "Add/edit image",
|
|
71
155
|
"height": "Height",
|
|
72
156
|
"keep_ratio": "Keep ratio",
|
|
157
|
+
"original_size": "Original {width} × {height}",
|
|
158
|
+
"position": "Position",
|
|
159
|
+
"position_center": "Center",
|
|
160
|
+
"position_left": "Left",
|
|
161
|
+
"position_right": "Right",
|
|
162
|
+
"remove_error": "The image could not be removed.",
|
|
163
|
+
"size": "Size",
|
|
164
|
+
"size_custom": "Custom",
|
|
165
|
+
"size_original": "Original",
|
|
166
|
+
"size_text": "Text width",
|
|
167
|
+
"source_upload": "Upload",
|
|
168
|
+
"source_url": "By URL",
|
|
73
169
|
"src": "Image URL",
|
|
74
|
-
"
|
|
170
|
+
"title_edit": "Edit image",
|
|
171
|
+
"title_insert": "Insert image",
|
|
172
|
+
"upload_cancel": "Cancel upload",
|
|
173
|
+
"upload_error": "The image could not be uploaded.",
|
|
174
|
+
"upload_file": "Image file",
|
|
75
175
|
"width": "Width"
|
|
76
176
|
},
|
|
177
|
+
"insert": "Insert",
|
|
77
178
|
"link": {
|
|
179
|
+
"advanced": "Advanced",
|
|
180
|
+
"apply_error": "The link could not be applied.",
|
|
78
181
|
"class": "CSS class",
|
|
79
182
|
"href": "Link address",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
183
|
+
"href_invalid": "Enter a link address, for example https://example.com, #anchor or /page.",
|
|
184
|
+
"new_tab": "Open in a new tab",
|
|
185
|
+
"protocol_missing": "No protocol. Add:",
|
|
186
|
+
"rel": "Rel attributes",
|
|
187
|
+
"rel_hint": "Any value: Enter, space or comma adds it.",
|
|
188
|
+
"rel_new_tab_hint": "A link that opens in a new tab also gets noopener and noreferrer.",
|
|
189
|
+
"remove": "Remove link",
|
|
190
|
+
"text": "Text",
|
|
191
|
+
"text_hint": "Leave empty to use the address as the text.",
|
|
192
|
+
"title_edit": "Edit link",
|
|
193
|
+
"title_insert": "Insert link"
|
|
194
|
+
},
|
|
195
|
+
"linkCard": {
|
|
196
|
+
"apply_failed": "The card could not be inserted here.",
|
|
197
|
+
"description": "Description",
|
|
198
|
+
"display": "Display as",
|
|
199
|
+
"display_card": "Card",
|
|
200
|
+
"display_link": "Link",
|
|
201
|
+
"fetch_failed": "The page data could not be loaded: {error}. You can fill in the fields by hand.",
|
|
202
|
+
"href_invalid": "Enter the full address of a page, e.g. https://example.com/page.",
|
|
203
|
+
"image": "Image",
|
|
204
|
+
"image_choose": "Choose image",
|
|
205
|
+
"image_failed": "The image could not be uploaded. Try again.",
|
|
206
|
+
"image_remove": "Remove image",
|
|
207
|
+
"image_replace": "Replace",
|
|
208
|
+
"layout": "Display",
|
|
209
|
+
"layout_compact": "Compact",
|
|
210
|
+
"layout_large": "Large",
|
|
211
|
+
"layout_text": "Without image",
|
|
212
|
+
"loading": "Loading the page data…",
|
|
213
|
+
"page_title": "Title",
|
|
214
|
+
"paste_dismiss": "Keep the link",
|
|
215
|
+
"paste_error": "No preview for this page.",
|
|
216
|
+
"protocol_missing": "Start the address with https:// or http://.",
|
|
217
|
+
"refresh": "Refresh data",
|
|
218
|
+
"site_name": "Site name",
|
|
219
|
+
"title_edit": "Edit link card",
|
|
220
|
+
"title_insert": "Insert link card"
|
|
86
221
|
},
|
|
87
222
|
"preview": {
|
|
88
223
|
"title": "Preview"
|
|
89
224
|
},
|
|
225
|
+
"remove": "Remove",
|
|
226
|
+
"save": "Save",
|
|
90
227
|
"source": {
|
|
91
228
|
"prettify": "Prettify",
|
|
92
229
|
"title": "View source code"
|
|
93
230
|
},
|
|
94
231
|
"video": {
|
|
232
|
+
"apply_failed": "The video cannot be inserted here.",
|
|
233
|
+
"autoplay": "Autoplay muted",
|
|
234
|
+
"controls": "Show controls",
|
|
95
235
|
"height": "Height",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
236
|
+
"keep_ratio": "Keep ratio",
|
|
237
|
+
"loop": "Loop",
|
|
238
|
+
"poster": "Poster",
|
|
239
|
+
"poster_choose": "Choose image",
|
|
240
|
+
"poster_hint": "Optional. Shown until the video starts.",
|
|
241
|
+
"poster_url": "Poster image URL",
|
|
242
|
+
"preview": "Video preview",
|
|
243
|
+
"preview_empty": "The preview appears once the link is recognized.",
|
|
244
|
+
"size": "Size",
|
|
245
|
+
"size_custom": "Custom",
|
|
246
|
+
"size_invalid": "Enter the size in pixels.",
|
|
247
|
+
"size_responsive": "Responsive",
|
|
248
|
+
"size_responsive_embed": "Responsive 16:9",
|
|
249
|
+
"source_upload": "Upload",
|
|
250
|
+
"source_url": "By URL",
|
|
251
|
+
"start": "Start at",
|
|
252
|
+
"start_invalid": "Enter the time as m:ss or h:mm:ss.",
|
|
253
|
+
"title_edit": "Edit video",
|
|
254
|
+
"title_insert": "Insert video",
|
|
255
|
+
"upload_choose": "Choose a video file",
|
|
256
|
+
"upload_failed": "The file could not be uploaded. Try again.",
|
|
257
|
+
"upload_progress": "{loaded} of {total} MB",
|
|
258
|
+
"upload_replace": "Replace",
|
|
259
|
+
"url": "Video link",
|
|
260
|
+
"url_file_protocol": "Add the protocol to the file link: https:// or http://.",
|
|
261
|
+
"url_required": "Paste a YouTube, Vimeo or video file link.",
|
|
262
|
+
"url_unsupported": "Use a YouTube or Vimeo link, or a link to a video file (.mp4, .webm, .ogg, .mov). Use the embed code for other sites.",
|
|
98
263
|
"width": "Width"
|
|
99
264
|
}
|
|
100
265
|
},
|
|
@@ -171,7 +336,7 @@
|
|
|
171
336
|
"search": "Search emoji...",
|
|
172
337
|
"title": "Emoji"
|
|
173
338
|
},
|
|
174
|
-
"iframe": "
|
|
339
|
+
"iframe": "Embed",
|
|
175
340
|
"image": "Image",
|
|
176
341
|
"image_toolbar": {
|
|
177
342
|
"align_left": "Align left",
|
|
@@ -213,9 +378,47 @@
|
|
|
213
378
|
"style": {
|
|
214
379
|
"color": {
|
|
215
380
|
"custom": "Custom color",
|
|
381
|
+
"default": "Default",
|
|
382
|
+
"eyedropper": "Pick a color from the screen",
|
|
383
|
+
"hex": "Hex color",
|
|
384
|
+
"hex_invalid": "Enter a color as #rgb or #rrggbb.",
|
|
216
385
|
"highlight": "Highlight color",
|
|
217
|
-
"
|
|
218
|
-
|
|
386
|
+
"names": {
|
|
387
|
+
"amber": "Amber",
|
|
388
|
+
"black": "Black",
|
|
389
|
+
"blue": "Blue",
|
|
390
|
+
"dark_amber": "Dark amber",
|
|
391
|
+
"dark_blue": "Dark blue",
|
|
392
|
+
"dark_green": "Dark green",
|
|
393
|
+
"dark_grey": "Dark grey",
|
|
394
|
+
"dark_orange": "Dark orange",
|
|
395
|
+
"dark_pink": "Dark pink",
|
|
396
|
+
"dark_purple": "Dark purple",
|
|
397
|
+
"dark_red": "Dark red",
|
|
398
|
+
"dark_teal": "Dark teal",
|
|
399
|
+
"green": "Green",
|
|
400
|
+
"grey": "Grey",
|
|
401
|
+
"light_amber": "Light amber",
|
|
402
|
+
"light_blue": "Light blue",
|
|
403
|
+
"light_green": "Light green",
|
|
404
|
+
"light_grey": "Light grey",
|
|
405
|
+
"light_orange": "Light orange",
|
|
406
|
+
"light_pink": "Light pink",
|
|
407
|
+
"light_purple": "Light purple",
|
|
408
|
+
"light_red": "Light red",
|
|
409
|
+
"light_teal": "Light teal",
|
|
410
|
+
"medium_grey": "Medium grey",
|
|
411
|
+
"orange": "Orange",
|
|
412
|
+
"pale_grey": "Pale grey",
|
|
413
|
+
"pink": "Pink",
|
|
414
|
+
"purple": "Purple",
|
|
415
|
+
"red": "Red",
|
|
416
|
+
"teal": "Teal",
|
|
417
|
+
"white": "White"
|
|
418
|
+
},
|
|
419
|
+
"no_highlight": "No highlight",
|
|
420
|
+
"recent": "Recent",
|
|
421
|
+
"text": "Text color"
|
|
219
422
|
},
|
|
220
423
|
"fontFamily": "Font family",
|
|
221
424
|
"fontSize": "Font size",
|
package/src/i18n/locales/es.json
CHANGED
|
@@ -4,7 +4,20 @@
|
|
|
4
4
|
"undo": "Deshacer"
|
|
5
5
|
},
|
|
6
6
|
"ai": {
|
|
7
|
+
"another_version": "Otra versión",
|
|
7
8
|
"append": "Agregar al final",
|
|
9
|
+
"change_vs_original": "{percent} respecto al original",
|
|
10
|
+
"changes": "Cambios",
|
|
11
|
+
"context": {
|
|
12
|
+
"characters": "{n} carácter | {n} caracteres",
|
|
13
|
+
"cursor": "En el cursor",
|
|
14
|
+
"document": "Todo el texto",
|
|
15
|
+
"excerpt": "«{text}»",
|
|
16
|
+
"paragraphs": "{n} párrafo | {n} párrafos",
|
|
17
|
+
"selection": "Seleccionado: {paragraphs}, {characters}"
|
|
18
|
+
},
|
|
19
|
+
"copied": "Copiado",
|
|
20
|
+
"copy": "Copiar",
|
|
8
21
|
"defaultExamples": {
|
|
9
22
|
"expand": {
|
|
10
23
|
"prompt": "Amplía este texto a una versión más detallada.",
|
|
@@ -23,19 +36,58 @@
|
|
|
23
36
|
"title": "Resumir"
|
|
24
37
|
}
|
|
25
38
|
},
|
|
39
|
+
"effort_label": {
|
|
40
|
+
"default": "Esfuerzo: predeterminado",
|
|
41
|
+
"high": "Esfuerzo: alto",
|
|
42
|
+
"low": "Esfuerzo: bajo",
|
|
43
|
+
"max": "Esfuerzo: máximo",
|
|
44
|
+
"medium": "Esfuerzo: medio",
|
|
45
|
+
"xhigh": "Esfuerzo: muy alto"
|
|
46
|
+
},
|
|
47
|
+
"effort_levels": {
|
|
48
|
+
"default": "Predeterminado",
|
|
49
|
+
"high": "Alto",
|
|
50
|
+
"low": "Bajo",
|
|
51
|
+
"max": "Máximo",
|
|
52
|
+
"medium": "Medio",
|
|
53
|
+
"xhigh": "Muy alto"
|
|
54
|
+
},
|
|
26
55
|
"error": "Error al generar con IA",
|
|
56
|
+
"errors": {
|
|
57
|
+
"auth": "El servicio de IA rechazó la solicitud: revisa la clave de API o los permisos de acceso.",
|
|
58
|
+
"network": "No se pudo contactar con el servicio de IA. Comprueba que esté en marcha y permita solicitudes desde esta página (CORS): la consola del navegador muestra la causa.",
|
|
59
|
+
"not_found": "No se encontró la dirección del servicio de IA: revisa la ruta del endpoint.",
|
|
60
|
+
"rate_limit": "Demasiadas solicitudes al servicio de IA. Espera un momento e inténtalo de nuevo.",
|
|
61
|
+
"request": "El servicio de IA no pudo procesar la solicitud.",
|
|
62
|
+
"service_says": "Respuesta del servicio:",
|
|
63
|
+
"timeout": "El servicio de IA no respondió a tiempo. Inténtalo de nuevo.",
|
|
64
|
+
"unavailable": "El servicio de IA no está disponible: puede estar cargando un modelo u ocupado. Inténtalo más tarde."
|
|
65
|
+
},
|
|
27
66
|
"generate": "Generar",
|
|
28
67
|
"insert": "Insertar",
|
|
29
|
-
"
|
|
68
|
+
"insert_below": "Insertar debajo",
|
|
69
|
+
"limit_exceeded": "El resultado supera el límite de caracteres del editor. Pide una versión más corta.",
|
|
30
70
|
"loading": "Generando...",
|
|
31
71
|
"prompt": "Solicitud",
|
|
72
|
+
"prompt_placeholder": "Pide que escriba o edite el texto",
|
|
32
73
|
"quick_prompts": "Solicitudes rápidas",
|
|
33
74
|
"reasoning_effort": "Esfuerzo de razonamiento",
|
|
34
|
-
"
|
|
75
|
+
"replace_selection": "Reemplazar selección",
|
|
35
76
|
"result": "Resultado",
|
|
77
|
+
"send_hint": "Intro — enviar",
|
|
36
78
|
"stop": "Detener",
|
|
37
79
|
"thinking": "Pensamiento",
|
|
38
|
-
"
|
|
80
|
+
"thinking_label": {
|
|
81
|
+
"off": "Razonamiento: desactivado",
|
|
82
|
+
"on": "Razonamiento: activado"
|
|
83
|
+
},
|
|
84
|
+
"thinking_now": "Pensando…",
|
|
85
|
+
"thinking_states": {
|
|
86
|
+
"off": "Desactivado",
|
|
87
|
+
"on": "Activado"
|
|
88
|
+
},
|
|
89
|
+
"thought_for": "Pensó durante {seconds} s",
|
|
90
|
+
"title": "Asistente",
|
|
39
91
|
"unavailable": "Configura un proveedor de IA para usar esta acción"
|
|
40
92
|
},
|
|
41
93
|
"alignment": "Alineación",
|
|
@@ -51,50 +103,163 @@
|
|
|
51
103
|
"defaultValue": "Valor por defecto",
|
|
52
104
|
"dialog": {
|
|
53
105
|
"apply": "Aplicar",
|
|
106
|
+
"cancel": "Cancelar",
|
|
54
107
|
"clear": "Limpiar",
|
|
55
108
|
"close": "Cerrar",
|
|
56
109
|
"iframe": {
|
|
57
|
-
"
|
|
58
|
-
"
|
|
110
|
+
"advanced": "Avanzado",
|
|
111
|
+
"allow": "Permisos (allow)",
|
|
112
|
+
"allow_hint": "Por ejemplo: autoplay; fullscreen; clipboard-write",
|
|
113
|
+
"apply_failed": "No se puede insertar el contenido aquí.",
|
|
114
|
+
"border": "Mostrar borde",
|
|
115
|
+
"code_invalid": "Pega el código de un solo iframe con una dirección. No se admiten códigos con scripts u otras etiquetas.",
|
|
116
|
+
"code_parsed": "Código reconocido: {fields}.",
|
|
59
117
|
"height": "Alto",
|
|
118
|
+
"input": "Enlace o código de inserción",
|
|
119
|
+
"input_hint": "Pega la dirección o el código iframe del menú Compartir o Insertar del sitio.",
|
|
120
|
+
"keep_ratio": "Mantener proporción",
|
|
121
|
+
"lazy": "Cargar al desplazarse hasta él",
|
|
60
122
|
"name": "Nombre",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
123
|
+
"parsed_allow": "permisos",
|
|
124
|
+
"parsed_fullscreen": "pantalla completa",
|
|
125
|
+
"parsed_loading": "carga diferida",
|
|
126
|
+
"parsed_name": "nombre",
|
|
127
|
+
"parsed_sandbox": "sandbox",
|
|
128
|
+
"parsed_size": "tamaño {width} × {height}",
|
|
129
|
+
"parsed_src": "dirección",
|
|
130
|
+
"parsed_title": "título",
|
|
131
|
+
"preview": "Vista previa del contenido insertado",
|
|
132
|
+
"preview_empty": "La vista previa aparece cuando la dirección es válida.",
|
|
133
|
+
"sandbox": "Entorno aislado (sandbox)",
|
|
134
|
+
"sandbox_hint": "Vacío: sin restricciones. Por ejemplo: allow-scripts allow-same-origin",
|
|
135
|
+
"size": "Tamaño",
|
|
136
|
+
"size_custom": "Personalizado",
|
|
137
|
+
"size_invalid": "Indica el tamaño en píxeles.",
|
|
138
|
+
"size_responsive": "Adaptable",
|
|
139
|
+
"size_responsive_hint": "Ocupa el ancho del texto con la proporción {ratio}.",
|
|
140
|
+
"src_invalid": "El contenido insertado necesita una dirección web que empiece por https:// o http://.",
|
|
141
|
+
"src_protocol": "Añade el protocolo a la dirección: https:// o http://.",
|
|
142
|
+
"src_required": "Pega un enlace o un código de inserción.",
|
|
143
|
+
"title_edit": "Editar contenido insertado",
|
|
144
|
+
"title_insert": "Insertar contenido",
|
|
145
|
+
"title_missing": "Los lectores de pantalla anuncian el contenido insertado por su título. Describe lo que muestra.",
|
|
146
|
+
"title_text": "Título para lectores de pantalla",
|
|
64
147
|
"width": "Ancho"
|
|
65
148
|
},
|
|
66
149
|
"image": {
|
|
67
|
-
"
|
|
150
|
+
"alt_missing": "Los lectores de pantalla y los buscadores no pueden leer una imagen sin texto alternativo.",
|
|
151
|
+
"alt_text": "Texto alternativo para lectores de pantalla",
|
|
152
|
+
"apply_error": "No se pudo guardar la imagen aquí.",
|
|
68
153
|
"caption": "Pie de foto",
|
|
69
154
|
"caption_placeholder": "Añade un pie de foto…",
|
|
70
|
-
"dialog_title": "Agregar/modificar imagen",
|
|
71
155
|
"height": "Alto",
|
|
72
156
|
"keep_ratio": "Mantener proporción",
|
|
157
|
+
"original_size": "Original {width} × {height}",
|
|
158
|
+
"position": "Posición",
|
|
159
|
+
"position_center": "Centro",
|
|
160
|
+
"position_left": "Izquierda",
|
|
161
|
+
"position_right": "Derecha",
|
|
162
|
+
"remove_error": "No se pudo quitar la imagen.",
|
|
163
|
+
"size": "Tamaño",
|
|
164
|
+
"size_custom": "Personalizado",
|
|
165
|
+
"size_original": "Original",
|
|
166
|
+
"size_text": "Ancho del texto",
|
|
167
|
+
"source_upload": "Subir",
|
|
168
|
+
"source_url": "Por URL",
|
|
73
169
|
"src": "Fuente",
|
|
74
|
-
"
|
|
170
|
+
"title_edit": "Editar imagen",
|
|
171
|
+
"title_insert": "Insertar imagen",
|
|
172
|
+
"upload_cancel": "Cancelar subida",
|
|
173
|
+
"upload_error": "No se pudo subir la imagen.",
|
|
174
|
+
"upload_file": "Archivo de imagen",
|
|
75
175
|
"width": "Ancho"
|
|
76
176
|
},
|
|
177
|
+
"insert": "Insertar",
|
|
77
178
|
"link": {
|
|
179
|
+
"advanced": "Avanzado",
|
|
180
|
+
"apply_error": "No se pudo aplicar el enlace.",
|
|
78
181
|
"class": "Clase CSS",
|
|
79
182
|
"href": "Dirección del enlace",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
183
|
+
"href_invalid": "Introduce una dirección de enlace, por ejemplo https://example.com, #ancla o /página.",
|
|
184
|
+
"new_tab": "Abrir en una pestaña nueva",
|
|
185
|
+
"protocol_missing": "Sin protocolo. Añadir:",
|
|
186
|
+
"rel": "Atributos rel",
|
|
187
|
+
"rel_hint": "Cualquier valor: Enter, espacio o coma lo añade.",
|
|
188
|
+
"rel_new_tab_hint": "Un enlace que se abre en una pestaña nueva también recibe noopener y noreferrer.",
|
|
189
|
+
"remove": "Quitar enlace",
|
|
190
|
+
"text": "Texto",
|
|
191
|
+
"text_hint": "Déjalo vacío para usar la dirección como texto.",
|
|
192
|
+
"title_edit": "Editar enlace",
|
|
193
|
+
"title_insert": "Insertar enlace"
|
|
194
|
+
},
|
|
195
|
+
"linkCard": {
|
|
196
|
+
"apply_failed": "No se puede insertar la tarjeta aquí.",
|
|
197
|
+
"description": "Descripción",
|
|
198
|
+
"display": "Mostrar como",
|
|
199
|
+
"display_card": "Tarjeta",
|
|
200
|
+
"display_link": "Enlace",
|
|
201
|
+
"fetch_failed": "No se pudieron cargar los datos de la página: {error}. Puedes rellenar los campos manualmente.",
|
|
202
|
+
"href_invalid": "Introduce la dirección completa de una página, por ejemplo https://example.com/page.",
|
|
203
|
+
"image": "Imagen",
|
|
204
|
+
"image_choose": "Elegir imagen",
|
|
205
|
+
"image_failed": "No se pudo subir la imagen. Inténtalo de nuevo.",
|
|
206
|
+
"image_remove": "Quitar imagen",
|
|
207
|
+
"image_replace": "Reemplazar",
|
|
208
|
+
"layout": "Visualización",
|
|
209
|
+
"layout_compact": "Compacta",
|
|
210
|
+
"layout_large": "Grande",
|
|
211
|
+
"layout_text": "Sin imagen",
|
|
212
|
+
"loading": "Cargando los datos de la página…",
|
|
213
|
+
"page_title": "Título",
|
|
214
|
+
"paste_dismiss": "Mantener el enlace",
|
|
215
|
+
"paste_error": "No hay vista previa para esta página.",
|
|
216
|
+
"protocol_missing": "Empieza la dirección con https:// o http://.",
|
|
217
|
+
"refresh": "Actualizar datos",
|
|
218
|
+
"site_name": "Nombre del sitio",
|
|
219
|
+
"title_edit": "Editar tarjeta de enlace",
|
|
220
|
+
"title_insert": "Insertar tarjeta de enlace"
|
|
86
221
|
},
|
|
87
222
|
"preview": {
|
|
88
223
|
"title": "Vista previa"
|
|
89
224
|
},
|
|
225
|
+
"remove": "Quitar",
|
|
226
|
+
"save": "Guardar",
|
|
90
227
|
"source": {
|
|
91
228
|
"prettify": "prettify",
|
|
92
229
|
"title": "Ver código fuente"
|
|
93
230
|
},
|
|
94
231
|
"video": {
|
|
232
|
+
"apply_failed": "No se puede insertar el video aquí.",
|
|
233
|
+
"autoplay": "Reproducción automática sin sonido",
|
|
234
|
+
"controls": "Mostrar controles",
|
|
95
235
|
"height": "Alto",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
236
|
+
"keep_ratio": "Mantener proporción",
|
|
237
|
+
"loop": "Repetir",
|
|
238
|
+
"poster": "Portada",
|
|
239
|
+
"poster_choose": "Elegir imagen",
|
|
240
|
+
"poster_hint": "Opcional. Se muestra hasta que empieza el video.",
|
|
241
|
+
"poster_url": "URL de la imagen de portada",
|
|
242
|
+
"preview": "Vista previa del video",
|
|
243
|
+
"preview_empty": "La vista previa aparece cuando se reconoce el enlace.",
|
|
244
|
+
"size": "Tamaño",
|
|
245
|
+
"size_custom": "Personalizado",
|
|
246
|
+
"size_invalid": "Introduce el tamaño en píxeles.",
|
|
247
|
+
"size_responsive": "Adaptable",
|
|
248
|
+
"size_responsive_embed": "Adaptable 16:9",
|
|
249
|
+
"source_upload": "Subir",
|
|
250
|
+
"source_url": "Por URL",
|
|
251
|
+
"start": "Empezar en",
|
|
252
|
+
"start_invalid": "Introduce el tiempo como m:ss o h:mm:ss.",
|
|
253
|
+
"title_edit": "Editar video",
|
|
254
|
+
"title_insert": "Insertar video",
|
|
255
|
+
"upload_choose": "Elegir un archivo de video",
|
|
256
|
+
"upload_failed": "No se pudo subir el archivo. Inténtalo de nuevo.",
|
|
257
|
+
"upload_progress": "{loaded} de {total} MB",
|
|
258
|
+
"upload_replace": "Reemplazar",
|
|
259
|
+
"url": "Enlace del video",
|
|
260
|
+
"url_file_protocol": "Añade el protocolo al enlace del archivo: https:// o http://.",
|
|
261
|
+
"url_required": "Pega un enlace de YouTube, Vimeo o de un archivo de vídeo.",
|
|
262
|
+
"url_unsupported": "Usa un enlace de YouTube o Vimeo, o un enlace a un archivo de vídeo (.mp4, .webm, .ogg, .mov). Para otros sitios, usa el código de inserción.",
|
|
98
263
|
"width": "Ancho"
|
|
99
264
|
}
|
|
100
265
|
},
|
|
@@ -171,7 +336,7 @@
|
|
|
171
336
|
"search": "Buscar emoji...",
|
|
172
337
|
"title": "Emoji"
|
|
173
338
|
},
|
|
174
|
-
"iframe": "
|
|
339
|
+
"iframe": "Contenido insertado",
|
|
175
340
|
"image": "Imagen",
|
|
176
341
|
"image_toolbar": {
|
|
177
342
|
"align_left": "Align left",
|
|
@@ -212,10 +377,48 @@
|
|
|
212
377
|
},
|
|
213
378
|
"style": {
|
|
214
379
|
"color": {
|
|
215
|
-
"custom": "
|
|
380
|
+
"custom": "Color personalizado",
|
|
381
|
+
"default": "Predeterminado",
|
|
382
|
+
"eyedropper": "Tomar un color de la pantalla",
|
|
383
|
+
"hex": "Color hexadecimal",
|
|
384
|
+
"hex_invalid": "Introduce un color como #rgb o #rrggbb.",
|
|
216
385
|
"highlight": "Color de resaltado",
|
|
217
|
-
"
|
|
218
|
-
|
|
386
|
+
"names": {
|
|
387
|
+
"amber": "Ámbar",
|
|
388
|
+
"black": "Negro",
|
|
389
|
+
"blue": "Azul",
|
|
390
|
+
"dark_amber": "Ámbar oscuro",
|
|
391
|
+
"dark_blue": "Azul oscuro",
|
|
392
|
+
"dark_green": "Verde oscuro",
|
|
393
|
+
"dark_grey": "Gris oscuro",
|
|
394
|
+
"dark_orange": "Naranja oscuro",
|
|
395
|
+
"dark_pink": "Rosa oscuro",
|
|
396
|
+
"dark_purple": "Morado oscuro",
|
|
397
|
+
"dark_red": "Rojo oscuro",
|
|
398
|
+
"dark_teal": "Verde azulado oscuro",
|
|
399
|
+
"green": "Verde",
|
|
400
|
+
"grey": "Gris",
|
|
401
|
+
"light_amber": "Ámbar claro",
|
|
402
|
+
"light_blue": "Azul claro",
|
|
403
|
+
"light_green": "Verde claro",
|
|
404
|
+
"light_grey": "Gris claro",
|
|
405
|
+
"light_orange": "Naranja claro",
|
|
406
|
+
"light_pink": "Rosa claro",
|
|
407
|
+
"light_purple": "Morado claro",
|
|
408
|
+
"light_red": "Rojo claro",
|
|
409
|
+
"light_teal": "Verde azulado claro",
|
|
410
|
+
"medium_grey": "Gris medio",
|
|
411
|
+
"orange": "Naranja",
|
|
412
|
+
"pale_grey": "Gris pálido",
|
|
413
|
+
"pink": "Rosa",
|
|
414
|
+
"purple": "Morado",
|
|
415
|
+
"red": "Rojo",
|
|
416
|
+
"teal": "Verde azulado",
|
|
417
|
+
"white": "Blanco"
|
|
418
|
+
},
|
|
419
|
+
"no_highlight": "Sin resaltado",
|
|
420
|
+
"recent": "Recientes",
|
|
421
|
+
"text": "Color del texto"
|
|
219
422
|
},
|
|
220
423
|
"fontFamily": "Fuente",
|
|
221
424
|
"fontSize": "Tamaño",
|