@ecomcx/ecomweb-editor 1.32.0 → 1.34.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/package.json +3 -3
- package/src/locales/en/attrs.ts +2 -1
- package/src/locales/en/background.ts +5 -0
- package/src/locales/en/bindings.ts +5 -1
- package/src/locales/en/block-desc.ts +5 -11
- package/src/locales/en/block-style.ts +17 -6
- package/src/locales/en/block-titles.ts +38 -15
- package/src/locales/en/blocks.ts +37 -6
- package/src/locales/en/columns.ts +1 -0
- package/src/locales/en/controls.ts +1 -1
- package/src/locales/en/hints.ts +315 -12
- package/src/locales/en/index.ts +3 -1
- package/src/locales/en/layout.ts +13 -0
- package/src/locales/en/motion.ts +16 -0
- package/src/locales/en/palette.ts +8 -0
- package/src/locales/en/parts.ts +2 -1
- package/src/locales/en/pattern-overrides.ts +14 -0
- package/src/locales/en/placeholders.ts +9 -3
- package/src/locales/en/v2.ts +2 -0
- package/src/locales/vi/attrs.ts +3 -2
- package/src/locales/vi/background.ts +5 -0
- package/src/locales/vi/bindings.ts +5 -1
- package/src/locales/vi/block-desc.ts +8 -14
- package/src/locales/vi/block-style.ts +18 -7
- package/src/locales/vi/block-titles.ts +48 -25
- package/src/locales/vi/blocks.ts +37 -6
- package/src/locales/vi/columns.ts +1 -0
- package/src/locales/vi/controls.ts +1 -1
- package/src/locales/vi/hints.ts +315 -12
- package/src/locales/vi/index.ts +3 -1
- package/src/locales/vi/layout.ts +13 -0
- package/src/locales/vi/motion.ts +16 -0
- package/src/locales/vi/palette.ts +8 -0
- package/src/locales/vi/parts.ts +2 -1
- package/src/locales/vi/pattern-overrides.ts +14 -0
- package/src/locales/vi/placeholders.ts +10 -4
- package/src/locales/vi/v2.ts +2 -0
- package/src/v2/blocks/columns-inspector.tsx +11 -2
- package/src/v2/blocks/index.ts +9 -6
- package/src/v2/blocks/layout-options.tsx +80 -0
- package/src/v2/blocks/layout.tsx +349 -106
- package/src/v2/blocks/media.tsx +51 -21
- package/src/v2/blocks/resize.tsx +50 -19
- package/src/v2/blocks/social-icons.ts +22 -0
- package/src/v2/blocks/text.tsx +12 -50
- package/src/v2/blocks/theme.tsx +62 -29
- package/src/v2/blocks/tools.tsx +24 -2
- package/src/v2/blocks/widgets.tsx +84 -28
- package/src/v2/canvas/block-list.tsx +36 -5
- package/src/v2/canvas/canvas-css.ts +95 -7
- package/src/v2/canvas/canvas.tsx +65 -9
- package/src/v2/canvas/dnd.ts +7 -0
- package/src/v2/canvas/variation-picker.tsx +63 -0
- package/src/v2/context.tsx +48 -0
- package/src/v2/core/bindings.ts +6 -1
- package/src/v2/core/block-presets.ts +10 -0
- package/src/v2/core/clipboard.ts +5 -5
- package/src/v2/core/host.ts +3 -1
- package/src/v2/core/model.ts +6 -6
- package/src/v2/core/registry.ts +15 -0
- package/src/v2/core/store.ts +9 -9
- package/src/v2/core/structure.ts +1 -3
- package/src/v2/editor.css +74 -0
- package/src/v2/editor.tsx +22 -7
- package/src/v2/text/rich-text.tsx +20 -5
- package/src/v2/ui/ai-markdown.ts +52 -0
- package/src/v2/ui/ai.tsx +81 -14
- package/src/v2/ui/attr-form.tsx +45 -7
- package/src/v2/ui/attr-hints.ts +151 -19
- package/src/v2/ui/background-panel.tsx +22 -0
- package/src/v2/ui/bg-video-preview.tsx +7 -0
- package/src/v2/ui/bindings.tsx +9 -1
- package/src/v2/ui/block-icons.tsx +3 -10
- package/src/v2/ui/block-live-preview.tsx +21 -0
- package/src/v2/ui/block-style-panel.tsx +3 -1
- package/src/v2/ui/command-palette.tsx +125 -0
- package/src/v2/ui/icon-picker.tsx +88 -21
- package/src/v2/ui/icon-svg.tsx +21 -0
- package/src/v2/ui/inserter.tsx +72 -17
- package/src/v2/ui/inspector.tsx +12 -6
- package/src/v2/ui/layout-panel.tsx +1 -1
- package/src/v2/ui/motion-panel.tsx +22 -13
- package/src/v2/ui/option-thumbs.tsx +81 -0
- package/src/v2/ui/pattern-library.tsx +2 -1
- package/src/v2/ui/pattern-overrides.tsx +67 -0
- package/src/v2/ui/placeholders.tsx +21 -2
- package/src/v2/ui/preset-bar.tsx +5 -5
- package/src/v2/ui/style-supports.ts +2 -3
- package/src/v2/ui/style-tab.tsx +83 -20
- package/src/v2/ui/toolbar.tsx +40 -6
- package/src/v2/ui/transform-panel.tsx +77 -0
package/src/locales/en/hints.ts
CHANGED
|
@@ -24,11 +24,8 @@ export const hints = {
|
|
|
24
24
|
"file.src.label": "File",
|
|
25
25
|
"video.src.label": "Video URL",
|
|
26
26
|
"audio.src.label": "Audio URL",
|
|
27
|
-
"youtube.src.label": "YouTube link",
|
|
28
|
-
"youtube.start.label": "Start at second",
|
|
29
27
|
"image.src.label": "Image URL",
|
|
30
28
|
"cover.src.label": "Background image",
|
|
31
|
-
"pullquote.citation.label": "Citation",
|
|
32
29
|
"heading.level.help": "The page / post title is already the H1 — start content headings at H2 and don't skip levels (SEO).",
|
|
33
30
|
"queryTitle.level.help": "Archive / search pages should have exactly one H1 — this block.",
|
|
34
31
|
"breadcrumbs.separator.opt.\u203a": "›",
|
|
@@ -43,14 +40,9 @@ export const hints = {
|
|
|
43
40
|
"columns.verticalAlign.opt.top": "Top",
|
|
44
41
|
"columns.verticalAlign.opt.center": "Middle",
|
|
45
42
|
"columns.verticalAlign.opt.bottom": "Bottom",
|
|
46
|
-
"mediaText.verticalAlign.opt.top": "Top",
|
|
47
|
-
"mediaText.verticalAlign.opt.center": "Middle",
|
|
48
|
-
"mediaText.verticalAlign.opt.bottom": "Bottom",
|
|
49
43
|
"cover.contentAlign.opt.top": "Top",
|
|
50
44
|
"cover.contentAlign.opt.center": "Middle",
|
|
51
45
|
"cover.contentAlign.opt.bottom": "Bottom",
|
|
52
|
-
"mediaText.position.opt.left": "Media left",
|
|
53
|
-
"mediaText.position.opt.right": "Media right",
|
|
54
46
|
"buttons.align.opt.left": "Left",
|
|
55
47
|
"buttons.align.opt.center": "Center",
|
|
56
48
|
"buttons.align.opt.right": "Right",
|
|
@@ -71,10 +63,6 @@ export const hints = {
|
|
|
71
63
|
"button.ariaLabel.help": "Read instead of the button text when the text is not clear enough (e.g. \"More\" → \"More about the Pro plan\").",
|
|
72
64
|
"button.rel.help": "e.g. nofollow, sponsored",
|
|
73
65
|
"spacer.height.help": "Theme size (xs → 2xl) or a length (e.g. 3rem, 80px)",
|
|
74
|
-
"callout.tone.opt.info": "Info",
|
|
75
|
-
"callout.tone.opt.success": "Success",
|
|
76
|
-
"callout.tone.opt.warning": "Warning",
|
|
77
|
-
"callout.tone.opt.danger": "Danger",
|
|
78
66
|
"image.align.opt.left": "Left",
|
|
79
67
|
"image.align.opt.center": "Center",
|
|
80
68
|
"image.align.opt.right": "Right",
|
|
@@ -156,10 +144,25 @@ export const hints = {
|
|
|
156
144
|
"gallery.imageCrop.label": "Crop images to fit",
|
|
157
145
|
"gallery.lightbox.label": "Enlarge on click",
|
|
158
146
|
"image.lightbox.label": "Enlarge on click",
|
|
147
|
+
"table.striped.label": "Striped rows",
|
|
148
|
+
"table.hoverRows.label": "Highlight row on hover",
|
|
149
|
+
"table.lines.label": "Lines",
|
|
150
|
+
"table.lines.opt.all": "All",
|
|
151
|
+
"table.lines.opt.rows": "Between rows",
|
|
152
|
+
"table.lines.opt.columns": "Between columns",
|
|
153
|
+
"table.lines.opt.none": "None",
|
|
154
|
+
"table.density.label": "Cell spacing",
|
|
155
|
+
"table.density.opt.compact": "Compact",
|
|
156
|
+
"table.density.opt.normal": "Normal",
|
|
157
|
+
"table.density.opt.roomy": "Roomy",
|
|
158
|
+
"table.stickyHead.label": "Sticky header row when scrolling",
|
|
159
|
+
"table.stickyHead.help": "A long table scrolls inside a 70%-height frame with the header row pinned",
|
|
160
|
+
"table.caption.label": "Table caption",
|
|
159
161
|
"countdown.expiredText.label": "Text when expired",
|
|
160
162
|
"navigation.overlayMenu.label": "Collapse into menu button",
|
|
161
163
|
"navigation.overlayMenu.opt.never": "Never",
|
|
162
164
|
"navigation.overlayMenu.opt.mobile": "Mobile",
|
|
165
|
+
"navigation.overlayMenu.opt.tablet": "Tablet",
|
|
163
166
|
"navigation.overlayMenu.opt.always": "Always",
|
|
164
167
|
"search.showLabel.label": "Show label",
|
|
165
168
|
"search.buttonPosition.label": "Button position",
|
|
@@ -184,6 +187,9 @@ export const hints = {
|
|
|
184
187
|
"loginout.logoutText.label": "“Log out” text",
|
|
185
188
|
"pageList.parentId.label": "Only children of (page ID)",
|
|
186
189
|
"archives.showCount.label": "Show post count",
|
|
190
|
+
"icon.tooltip.label": "Hover tooltip",
|
|
191
|
+
"icon.tooltip.placeholder": "e.g. Call now",
|
|
192
|
+
"icon.tooltip.help": "Shown as a small box above the icon on hover or keyboard focus.",
|
|
187
193
|
"icon.name.opt.check": "Check",
|
|
188
194
|
"icon.name.opt.x": "X",
|
|
189
195
|
"icon.name.opt.star": "Star",
|
|
@@ -240,7 +246,102 @@ export const hints = {
|
|
|
240
246
|
"iconBox.position.label": "Icon position",
|
|
241
247
|
"iconBox.position.opt.top": "Top",
|
|
242
248
|
"iconBox.position.opt.left": "Left",
|
|
249
|
+
"imageOverlay.src.label": "Image",
|
|
250
|
+
"imageOverlay.subtitle.label": "Subtitle",
|
|
251
|
+
"imageOverlay.linkTarget.label": "Open link",
|
|
252
|
+
"imageOverlay.ratio.label": "Aspect ratio",
|
|
253
|
+
"imageOverlay.hAlign.label": "Horizontal text align",
|
|
254
|
+
"imageOverlay.vAlign.label": "Vertical text align",
|
|
255
|
+
"imageOverlay.subtitleMode.label": "Show subtitle",
|
|
256
|
+
"imageOverlay.imageEffect.label": "Image effect on hover",
|
|
257
|
+
"imageOverlay.overlayColor.label": "Overlay colour",
|
|
258
|
+
"imageOverlay.overlayOpacity.label": "Strength on hover",
|
|
259
|
+
"imageOverlay.restOpacity.label": "Strength at rest",
|
|
260
|
+
"imageOverlay.frame.label": "White frame on hover",
|
|
261
|
+
"imageOverlay.frameInset.label": "Frame inset",
|
|
262
|
+
"imageOverlay.divider.label": "Short rule under the title",
|
|
263
|
+
"imageOverlay.linkTarget.opt._self": "Same tab",
|
|
264
|
+
"imageOverlay.linkTarget.opt._blank": "New tab",
|
|
265
|
+
"imageOverlay.ratio.opt.auto": "Image size",
|
|
266
|
+
"imageOverlay.ratio.opt.1/1": "1/1",
|
|
267
|
+
"imageOverlay.ratio.opt.4/3": "4/3",
|
|
268
|
+
"imageOverlay.ratio.opt.3/2": "3/2",
|
|
269
|
+
"imageOverlay.ratio.opt.16/9": "16/9",
|
|
270
|
+
"imageOverlay.ratio.opt.3/4": "3/4",
|
|
271
|
+
"imageOverlay.ratio.opt.2/3": "2/3",
|
|
272
|
+
"imageOverlay.hAlign.opt.left": "Left",
|
|
273
|
+
"imageOverlay.hAlign.opt.center": "Center",
|
|
274
|
+
"imageOverlay.hAlign.opt.right": "Right",
|
|
275
|
+
"imageOverlay.vAlign.opt.top": "Top",
|
|
276
|
+
"imageOverlay.vAlign.opt.center": "Middle",
|
|
277
|
+
"imageOverlay.vAlign.opt.bottom": "Bottom",
|
|
278
|
+
"imageOverlay.subtitleMode.opt.hover": "On hover",
|
|
279
|
+
"imageOverlay.subtitleMode.opt.always": "Always",
|
|
280
|
+
"imageOverlay.imageEffect.opt.none": "None",
|
|
281
|
+
"imageOverlay.imageEffect.opt.zoom": "Zoom",
|
|
282
|
+
"imageOverlay.imageEffect.opt.grayscale": "Grayscale",
|
|
283
|
+
"imageOverlay.imageEffect.opt.blur": "Blur",
|
|
284
|
+
"imageOverlay.imageEffect.opt.slide": "Slide",
|
|
285
|
+
"imageOverlay.restOpacity.help": "At 0 the colour layer only shows on hover; raise it for a light tint at rest.",
|
|
286
|
+
"popup.triggerStyle.label": "Open button style",
|
|
287
|
+
"popup.triggerAlign.label": "Open button alignment",
|
|
288
|
+
"popup.size.label": "Dialog width",
|
|
289
|
+
"popup.anim.label": "Open animation",
|
|
290
|
+
"popup.overlayOpacity.label": "Backdrop darkness",
|
|
291
|
+
"popup.vAlign.label": "Dialog position",
|
|
292
|
+
"popup.closeButton.label": "Show close button ×",
|
|
293
|
+
"popup.closeOnOverlay.label": "Click the backdrop to close",
|
|
294
|
+
"popup.label.label": "Dialog name (for screen readers)",
|
|
295
|
+
"popup.triggerStyle.opt.primary": "Solid button",
|
|
296
|
+
"popup.triggerStyle.opt.outline": "Outline button",
|
|
297
|
+
"popup.triggerStyle.opt.link": "Text link",
|
|
298
|
+
"popup.triggerStyle.opt.play": "Video play button",
|
|
299
|
+
"popup.popupId.label": "Opening ID",
|
|
300
|
+
"popup.popupId.help": "Lowercase letters, digits, hyphens (e.g. promo). Point any link or button to #popup-promo (or use data-popup-open) to open this popup from anywhere.",
|
|
301
|
+
"popup.popupId.placeholder": "promo",
|
|
302
|
+
"popup.autoOpen.label": "Open automatically",
|
|
303
|
+
"popup.autoOpen.help": "The popup opens without a click. Set “Show once” so you do not annoy visitors.",
|
|
304
|
+
"popup.autoOpen.opt.none": "Never",
|
|
305
|
+
"popup.autoOpen.opt.delay": "After a few seconds",
|
|
306
|
+
"popup.autoOpen.opt.scroll": "After scrolling",
|
|
307
|
+
"popup.autoOpen.opt.exit": "On exit intent (desktop)",
|
|
308
|
+
"popup.autoOpen.opt.idle": "When idle",
|
|
309
|
+
"popup.autoDelay.label": "Seconds",
|
|
310
|
+
"popup.autoScroll.label": "Scroll to (%)",
|
|
311
|
+
"popup.onceDays.label": "Show once (days remembered)",
|
|
312
|
+
"popup.onceDays.help": "0 = every page load. Needs an Opening ID to remember.",
|
|
313
|
+
"popup.triggerImage.label": "Play button cover image",
|
|
314
|
+
"popup.triggerImage.help": "Image address (/uploads/… path or https). Put a video or YouTube block in the popup content to make a Video Popup.",
|
|
315
|
+
"popup.triggerAlign.opt.left": "Left",
|
|
316
|
+
"popup.triggerAlign.opt.center": "Center",
|
|
317
|
+
"popup.triggerAlign.opt.right": "Right",
|
|
318
|
+
"popup.size.opt.sm": "Small",
|
|
319
|
+
"popup.size.opt.md": "Medium",
|
|
320
|
+
"popup.size.opt.lg": "Large",
|
|
321
|
+
"popup.size.opt.xl": "Extra large",
|
|
322
|
+
"popup.anim.opt.fade": "Fade",
|
|
323
|
+
"popup.anim.opt.up": "Slide up",
|
|
324
|
+
"popup.anim.opt.zoom": "Zoom",
|
|
325
|
+
"popup.anim.opt.none": "None",
|
|
326
|
+
"popup.vAlign.opt.top": "Near top",
|
|
327
|
+
"popup.vAlign.opt.center": "Screen centre",
|
|
328
|
+
"popup.label.help": "Defaults to the button text. Give a short name if the button text does not say what the dialog holds.",
|
|
329
|
+
"testimonials.layout.label": "Layout",
|
|
330
|
+
"testimonials.columns.label": "Columns (desktop)",
|
|
331
|
+
"testimonials.columnsTablet.label": "Columns (tablet)",
|
|
332
|
+
"testimonials.columnsMobile.label": "Columns (phone)",
|
|
333
|
+
"testimonials.gap.label": "Gap between cards",
|
|
334
|
+
"testimonials.arrows.label": "Previous / next buttons",
|
|
335
|
+
"testimonials.dots.label": "Position dots",
|
|
336
|
+
"testimonials.autoplay.label": "Autoplay",
|
|
337
|
+
"testimonials.interval.label": "Seconds between slides",
|
|
338
|
+
"testimonials.loop.label": "Loop back after the last card",
|
|
339
|
+
"testimonials.layout.opt.grid": "Grid",
|
|
340
|
+
"testimonials.layout.opt.carousel": "Slider",
|
|
341
|
+
"testimonials.gap.help": "A length with unit (e.g. 1.5rem, 24px) or a theme size. Empty = 1.5rem.",
|
|
243
342
|
"imageBox.src.label": "Image",
|
|
343
|
+
"testimonial.mediaIcon.label": "Icon instead of avatar",
|
|
344
|
+
"testimonial.mediaIcon.help": "Used when there is no avatar image: shows a round icon beside the reviewer name.",
|
|
244
345
|
"testimonial.src.label": "Avatar",
|
|
245
346
|
"counter.start.label": "Count from",
|
|
246
347
|
"counter.prefix.label": "Prefix (e.g. ~, $)",
|
|
@@ -292,6 +393,10 @@ export const hints = {
|
|
|
292
393
|
"progressBar.prefix.label": "Number prefix",
|
|
293
394
|
"progressBar.suffix.label": "Number suffix",
|
|
294
395
|
"progressBar.suffix.help": "Empty = \"%\".",
|
|
396
|
+
"progressBar.shape.label": "Shape",
|
|
397
|
+
"progressBar.shape.opt.bar": "Bar",
|
|
398
|
+
"progressBar.shape.opt.circle": "Circle",
|
|
399
|
+
"progressBar.shape.opt.half": "Half circle",
|
|
295
400
|
"progressBar.textPosition.label": "Text position",
|
|
296
401
|
"progressBar.textPosition.opt.above": "Above",
|
|
297
402
|
"progressBar.textPosition.opt.inside": "Inside",
|
|
@@ -332,6 +437,11 @@ export const hints = {
|
|
|
332
437
|
"tableOfContents.smoothScroll.label": "Smooth scroll to item",
|
|
333
438
|
"tableOfContents.highlight.label": "Highlight the item being read",
|
|
334
439
|
"formField.width.opt.third": "1/3 row",
|
|
440
|
+
"formField.showIf.label": "Show only when",
|
|
441
|
+
"formField.showIf.help": "Condition on another field: name=value (equals), name!=value (differs) or just name (filled in). A hidden field is not required and not sent.",
|
|
442
|
+
"formField.showIf.placeholder": "topic=Other",
|
|
443
|
+
"formField.step.label": "Step (multi-step form)",
|
|
444
|
+
"formField.step.help": "Give fields a step number (1–8) to split the form into steps with Next / Back buttons. Empty = step 1.",
|
|
335
445
|
"formField.autocomplete.label": "Browser autofill",
|
|
336
446
|
"formField.autocomplete.help": "Helps people fill the form quickly on phones.",
|
|
337
447
|
"formField.autocomplete.opt.off": "Off",
|
|
@@ -421,12 +531,102 @@ export const hints = {
|
|
|
421
531
|
"tabs.iconOnly.label": "Icon only",
|
|
422
532
|
"tabs.iconOnly.help": "Hides the label of tabs that have an icon (kept for screen readers); tabs without an icon still show text",
|
|
423
533
|
"tableOfContents.showTitle.label": "Show title",
|
|
534
|
+
"search.scopeSelect.label": "Search scope dropdown",
|
|
535
|
+
"search.scopeSelect.help": "Visitors choose between All and each content type (products, posts…)",
|
|
536
|
+
"search.scopes.label": "Types to choose from",
|
|
537
|
+
"search.scopes.help": "One entry per type as code:label, separated by commas. Example: product:Products, post:News, page:Pages",
|
|
538
|
+
"query.taxonomy.label": "Taxonomy",
|
|
539
|
+
"query.taxonomy.help": "Filter by a taxonomy other than category / tag, e.g. product categories (product_cat)",
|
|
540
|
+
"query.term.label": "Taxonomy term",
|
|
541
|
+
"postTemplate.layout.opt.carousel": "Horizontal scroll",
|
|
542
|
+
"postTemplate.gap.label": "Gap between cards",
|
|
543
|
+
"postTemplate.gap.help": "A size such as sm, md, lg or a length like 16px. Empty = 1.5rem",
|
|
544
|
+
"postTemplate.arrows.label": "Show previous / next buttons",
|
|
545
|
+
"postTemplate.columnsTablet.label": "Columns on tablet",
|
|
546
|
+
"postTemplate.columnsMobile.label": "Columns on phone",
|
|
547
|
+
"search.collapse.label": "Collapse to a magnifier button",
|
|
548
|
+
"search.collapse.help": "On small screens only the magnifier shows; tap to open the field (no need for two Search blocks)",
|
|
549
|
+
"search.collapse.opt.never": "No",
|
|
550
|
+
"search.collapse.opt.tablet": "From tablet",
|
|
551
|
+
"search.collapse.opt.mobile": "Phone",
|
|
552
|
+
"query.source.label": "Posts from",
|
|
553
|
+
"query.source.opt.latest": "Latest",
|
|
554
|
+
"query.source.opt.manual": "Hand-picked",
|
|
555
|
+
"query.source.opt.related": "Related",
|
|
556
|
+
"query.include.label": "Post ids (hand-picked)",
|
|
557
|
+
"query.include.help": "Post ids separated by commas, shown in this order",
|
|
558
|
+
"query.include.placeholder": "12, 7, 31",
|
|
559
|
+
"query.terms.label": "Taxonomy terms",
|
|
560
|
+
"query.termMode.label": "Match",
|
|
561
|
+
"query.termMode.opt.any": "Any term",
|
|
562
|
+
"query.termMode.opt.all": "All terms",
|
|
563
|
+
"query.termMode.opt.none": "Exclude",
|
|
564
|
+
"query.metaKey.label": "Custom field",
|
|
565
|
+
"query.metaKey.help": "Filter by the value of a custom field (ACF…)",
|
|
566
|
+
"query.metaKey.placeholder": "sale_price",
|
|
567
|
+
"query.metaCompare.label": "Compare",
|
|
568
|
+
"query.metaValue.label": "Value",
|
|
569
|
+
"query.dateRange.label": "Published in",
|
|
570
|
+
"query.dateRange.opt.any": "Any time",
|
|
571
|
+
"query.dateRange.opt.7": "Last 7 days",
|
|
572
|
+
"query.dateRange.opt.30": "Last 30 days",
|
|
573
|
+
"query.dateRange.opt.90": "Last 90 days",
|
|
574
|
+
"query.dateRange.opt.365": "Last year",
|
|
575
|
+
"query.after.label": "From date",
|
|
576
|
+
"query.after.placeholder": "2026-01-31",
|
|
577
|
+
"query.before.label": "Until date",
|
|
578
|
+
"query.before.placeholder": "2026-12-31",
|
|
579
|
+
"query.parent.label": "Children of id",
|
|
580
|
+
"query.parent.help": "Only posts whose parent is this page / post (id)",
|
|
581
|
+
"query.offset.label": "Skip the first N",
|
|
582
|
+
"query.offset.help": "Useful when a featured post is already shown elsewhere",
|
|
583
|
+
"query.excludeCurrent.label": "Skip the current post",
|
|
584
|
+
"query.excludeCurrent.help": "On a post / product page, do not repeat that post in the list",
|
|
585
|
+
"query.authorCurrent.label": "Same author as the current post",
|
|
586
|
+
"query.urlFilters.label": "Use the filter bar",
|
|
587
|
+
"query.urlFilters.help": "A Filter bar block on the page (search, terms, sort) filters this list",
|
|
588
|
+
"queryFilter.taxonomy.label": "Taxonomy",
|
|
589
|
+
"queryFilter.taxonomy.help": "What to filter by, e.g. product categories",
|
|
590
|
+
"queryFilter.termStyle.label": "Term style",
|
|
591
|
+
"queryFilter.termStyle.opt.none": "None",
|
|
592
|
+
"queryFilter.termStyle.opt.links": "Links",
|
|
593
|
+
"queryFilter.termStyle.opt.chips": "Filter buttons",
|
|
594
|
+
"queryFilter.termStyle.opt.select": "Dropdown",
|
|
595
|
+
"queryFilter.allLabel.label": "All label",
|
|
596
|
+
"queryFilter.allLabel.placeholder": "All",
|
|
597
|
+
"queryFilter.showSearch.label": "Show search",
|
|
598
|
+
"queryFilter.showRange.label": "Show range filter (from – to)",
|
|
599
|
+
"queryFilter.rangeParam.label": "Range filter name",
|
|
600
|
+
"queryFilter.rangeParam.help": "Lowercase, underscores (e.g. price). Sent in the address as ?fq_price_min= and ?fq_price_max=; a plugin (like the shop) reads these to filter.",
|
|
601
|
+
"queryFilter.rangeParam.placeholder": "price",
|
|
602
|
+
"queryFilter.rangeLabel.label": "Range label", "queryFilter.rangeLabel.placeholder": "Price",
|
|
603
|
+
"queryFilter.rangeMax.label": "Largest value allowed",
|
|
604
|
+
"queryFilter.termStyle.opt.checks": "Checkboxes (multi-select)",
|
|
605
|
+
"queryFilter.showYear.label": "Show year picker",
|
|
606
|
+
"queryFilter.showReset.label": "Show Clear filters button",
|
|
607
|
+
"queryFilter.showSort.label": "Show sorting",
|
|
608
|
+
"queryFilter.sortOptions.label": "Sort choices",
|
|
609
|
+
"queryFilter.sortOptions.help": "Pick from: date_desc, date_asc, title_asc, title_desc, modified_desc, rand",
|
|
610
|
+
"queryFilter.sortOptions.placeholder": "date_desc,date_asc,title_asc",
|
|
611
|
+
"queryFilter.placeholder.label": "Search placeholder",
|
|
612
|
+
"queryFilter.submitText.label": "Filter button text",
|
|
613
|
+
"queryFilter.action.label": "Page that receives the filters",
|
|
614
|
+
"queryFilter.action.help": "Empty = this page",
|
|
615
|
+
"queryFilter.action.placeholder": "/product",
|
|
424
616
|
"search.buttonStyle.label": "Button style",
|
|
425
617
|
"search.buttonStyle.opt.text": "Text",
|
|
426
618
|
"search.buttonStyle.opt.icon": "Magnifier icon",
|
|
427
619
|
"gallery.layout.label": "Layout",
|
|
428
620
|
"gallery.layout.opt.grid": "Even grid",
|
|
429
621
|
"gallery.layout.opt.masonry": "Masonry",
|
|
622
|
+
"gallery.layout.opt.mosaic": "Mosaic (big first image)",
|
|
623
|
+
"gallery.layout.opt.tiles": "Tiles (mixed sizes)",
|
|
624
|
+
"gallery.layout.opt.thumbs": "Big image + thumbnails",
|
|
625
|
+
"gallery.captionStyle.label": "Caption style",
|
|
626
|
+
"gallery.captionStyle.opt.below": "Below image",
|
|
627
|
+
"gallery.captionStyle.opt.hover": "On hover",
|
|
628
|
+
"gallery.captionStyle.opt.overlay": "Over image",
|
|
629
|
+
"gallery.layout.opt.slider": "Slider",
|
|
430
630
|
"form.inputSize.label": "Input size",
|
|
431
631
|
"form.inputSize.opt.sm": "Small",
|
|
432
632
|
"form.inputSize.opt.md": "Medium",
|
|
@@ -437,6 +637,101 @@ export const hints = {
|
|
|
437
637
|
"map.title.help": "For screen readers; empty = the address",
|
|
438
638
|
"map.zoom.label": "Zoom",
|
|
439
639
|
"map.height.label": "Height",
|
|
640
|
+
"carousel.effect.label": "Transition",
|
|
641
|
+
"carousel.effect.opt.slide": "Slide",
|
|
642
|
+
"carousel.effect.opt.fade": "Fade",
|
|
643
|
+
"carousel.speed.label": "Transition speed",
|
|
644
|
+
"carousel.heightMode.label": "Slide height",
|
|
645
|
+
"carousel.heightMode.opt.auto": "Fit content",
|
|
646
|
+
"carousel.heightMode.opt.ratio": "Aspect ratio",
|
|
647
|
+
"carousel.heightMode.opt.min": "Minimum",
|
|
648
|
+
"carousel.ratio.label": "Aspect ratio",
|
|
649
|
+
"carousel.ratio.opt.16/9": "16/9",
|
|
650
|
+
"carousel.ratio.opt.4/3": "4/3",
|
|
651
|
+
"carousel.ratio.opt.3/2": "3/2",
|
|
652
|
+
"carousel.ratio.opt.1/1": "1/1",
|
|
653
|
+
"carousel.ratio.opt.21/9": "21/9",
|
|
654
|
+
"carousel.ratio.opt.3/1": "3/1",
|
|
655
|
+
"carousel.minHeight.label": "Minimum height",
|
|
656
|
+
"carousel.arrowStyle.label": "Arrow style",
|
|
657
|
+
"carousel.arrowStyle.opt.circle": "Round",
|
|
658
|
+
"carousel.arrowStyle.opt.square": "Square",
|
|
659
|
+
"carousel.arrowStyle.opt.plain": "Arrow only",
|
|
660
|
+
"carousel.arrowStyle.opt.light": "Light fill",
|
|
661
|
+
"carousel.arrowPos.label": "Arrow position",
|
|
662
|
+
"carousel.arrowPos.opt.center": "Middle sides",
|
|
663
|
+
"carousel.arrowPos.opt.bottom": "Bottom",
|
|
664
|
+
"carousel.dotStyle.label": "Dot style",
|
|
665
|
+
"carousel.dotStyle.opt.dot": "Dots",
|
|
666
|
+
"carousel.dotStyle.opt.line": "Bars",
|
|
667
|
+
"carousel.dotStyle.opt.light": "White over slide",
|
|
668
|
+
"carousel.hoverPause.label": "Pause on hover",
|
|
669
|
+
"carousel.minHeight.help": "A number with unit, e.g. 24rem or 400px. Shorter slides are stretched.",
|
|
670
|
+
"countdown.expireAction.label": "When time is up",
|
|
671
|
+
"countdown.redirectUrl.label": "Redirect to",
|
|
672
|
+
"countdown.repeat.label": "Repeat",
|
|
673
|
+
"countdown.evergreenReset.label": "Restart after",
|
|
674
|
+
"countdown.pauseButton.label": "Pause button for visitors",
|
|
675
|
+
"countdown.expireAction.opt.zero": "Stay at 0",
|
|
676
|
+
"countdown.expireAction.opt.message": "Show replacement text",
|
|
677
|
+
"countdown.expireAction.opt.hide": "Hide the timer",
|
|
678
|
+
"countdown.expireAction.opt.redirect": "Go to another page",
|
|
679
|
+
"countdown.repeat.opt.none": "No repeat",
|
|
680
|
+
"countdown.repeat.opt.daily": "Every day",
|
|
681
|
+
"countdown.repeat.opt.weekly": "Every week",
|
|
682
|
+
"countdown.repeat.opt.monthly": "Every month",
|
|
683
|
+
"countdown.repeat.opt.yearly": "Every year",
|
|
684
|
+
"countdown.redirectUrl.help": "A path on the site (e.g. /thanks) or a full address. Unsafe addresses are dropped.",
|
|
685
|
+
"countdown.evergreenReset.help": "Set 0 so each visitor only counts once, ever.",
|
|
686
|
+
"spacer.line.label": "Show a line in the middle",
|
|
687
|
+
"spacer.lineStyle.label": "Line style",
|
|
688
|
+
"spacer.lineWeight.label": "Thickness",
|
|
689
|
+
"spacer.lineWidth.label": "Line length",
|
|
690
|
+
"spacer.lineAlign.label": "Line alignment",
|
|
691
|
+
"spacer.lineColor.label": "Line colour",
|
|
692
|
+
"spacer.lineStyle.opt.solid": "Solid",
|
|
693
|
+
"spacer.lineStyle.opt.dashed": "Dashed",
|
|
694
|
+
"spacer.lineStyle.opt.dotted": "Dotted",
|
|
695
|
+
"spacer.lineStyle.opt.double": "Double",
|
|
696
|
+
"spacer.lineAlign.opt.left": "Left",
|
|
697
|
+
"spacer.lineAlign.opt.center": "Center",
|
|
698
|
+
"spacer.lineAlign.opt.right": "Right",
|
|
699
|
+
"image.ratio.label": "Aspect ratio",
|
|
700
|
+
"image.ratio.opt.auto": "Image size",
|
|
701
|
+
"image.ratio.opt.1/1": "1/1",
|
|
702
|
+
"image.ratio.opt.4/3": "4/3",
|
|
703
|
+
"image.ratio.opt.3/2": "3/2",
|
|
704
|
+
"image.ratio.opt.16/9": "16/9",
|
|
705
|
+
"image.ratio.opt.21/9": "21/9",
|
|
706
|
+
"image.ratio.opt.3/4": "3/4",
|
|
707
|
+
"image.ratio.opt.2/3": "2/3",
|
|
708
|
+
"cover.videoSrc.label": "Background video (mp4 / webm)",
|
|
709
|
+
"cover.videoSrc.help": "Paste a video path from the library or an https address. Autoplays muted on loop; the cover image is the poster. Keep it under 5 MB. Visitors who prefer reduced motion only see the image.",
|
|
710
|
+
"button.tooltip.label": "Hover tooltip",
|
|
711
|
+
"button.tooltip.help": "A small note shown when hovering the button; also helps screen-reader users understand what it does.",
|
|
712
|
+
"heading.typedWords.label": "Typed words at the end",
|
|
713
|
+
"heading.typedWords.help": "Words separated by |, e.g. websites | apps | brands. The website types them one after another; visitors who prefer reduced motion see only the first.",
|
|
714
|
+
"heading.typedWords.placeholder": "websites | apps | brands",
|
|
715
|
+
"heading.typedSpeed.label": "Typing speed",
|
|
716
|
+
"heading.typedPause.label": "Pause between words",
|
|
717
|
+
"heading.typedLoop.label": "Loop",
|
|
718
|
+
"group.href.label": "Link the whole block",
|
|
719
|
+
"group.href.help": "Set an address and clicking anywhere in the block opens it (a clickable card). Avoid other links inside the block.",
|
|
720
|
+
"group.href.placeholder": "https://… or /path",
|
|
721
|
+
"heading.htmlTag.label": "Use another tag",
|
|
722
|
+
"heading.htmlTag.help": "Only swaps the HTML tag (e.g. <p> or <span> with heading styling). Real headings for SEO should stay H1–H6; other tags are left out of the table of contents.",
|
|
723
|
+
"heading.htmlTag.opt.": "Heading (by level)",
|
|
724
|
+
"heading.htmlTag.opt.p": "Paragraph <p>", "heading.htmlTag.opt.span": "<span>", "heading.htmlTag.opt.div": "<div>",
|
|
725
|
+
"group.collapseFade.label": "Fade at the cut edge", "group.collapseOnce.label": "Hide the button after opening",
|
|
726
|
+
"group.collapseHeight.label": "Collapse to height (Show more)",
|
|
727
|
+
"group.collapseHeight.help": "Empty = show everything. Enter a height (e.g. 12rem) and the website cuts the block there with a Show more button. The editor always shows it in full.",
|
|
728
|
+
"group.collapseHeight.placeholder": "12rem",
|
|
729
|
+
"group.moreText.label": "Expand button text",
|
|
730
|
+
"group.moreText.placeholder": "Show more",
|
|
731
|
+
"group.lessText.label": "Collapse button text",
|
|
732
|
+
"group.lessText.placeholder": "Show less",
|
|
733
|
+
"group.linkLabel.label": "Link name (for screen readers)",
|
|
734
|
+
"group.linkLabel.help": "Describe where the link goes, e.g. “See the summer collection”.",
|
|
440
735
|
"map.mapType.label": "Map type",
|
|
441
736
|
"map.mapType.opt.roadmap": "Roadmap",
|
|
442
737
|
"map.mapType.opt.satellite": "Satellite",
|
|
@@ -452,6 +747,14 @@ export const hints = {
|
|
|
452
747
|
"heading.iconPosition.opt.right": "After text",
|
|
453
748
|
"heading.iconTitle.label": "Icon tooltip",
|
|
454
749
|
"heading.iconTitle.help": "Shown when hovering the heading.",
|
|
750
|
+
"heading.href.label": "Link the whole heading",
|
|
751
|
+
"heading.href.help": "Clicking the heading opens this address (keeps the heading color). To link part of the text, select it and use the link button.",
|
|
752
|
+
"heading.href.placeholder": "https://… or /path",
|
|
753
|
+
"heading.linkRel.label": "Link type",
|
|
754
|
+
"heading.linkRel.opt.": "Normal",
|
|
755
|
+
"heading.linkRel.opt.nofollow": "No follow",
|
|
756
|
+
"heading.linkRel.opt.sponsored": "Sponsored",
|
|
757
|
+
"heading.linkRel.opt.nofollow sponsored": "Sponsored, no follow",
|
|
455
758
|
"heading.tocTitle.label": "Name in table of contents",
|
|
456
759
|
"heading.tocTitle.help": "Leave empty to use the heading's own text.",
|
|
457
760
|
};
|
package/src/locales/en/index.ts
CHANGED
|
@@ -21,6 +21,8 @@ import { patternLib } from "./pattern-lib";
|
|
|
21
21
|
import { shortcuts } from "./shortcuts";
|
|
22
22
|
import { placeholders } from "./placeholders";
|
|
23
23
|
import { library } from "./library";
|
|
24
|
+
import { palette } from "./palette";
|
|
25
|
+
import { patternOverrides } from "./pattern-overrides";
|
|
24
26
|
|
|
25
27
|
/** Tiếng Anh: đủ khoá như vi/ (thiếu khoá là lỗi biên dịch) và là ngôn ngữ dự phòng của mọi ngôn ngữ khác. */
|
|
26
|
-
export const en: typeof vi = { v2, legacy, attrs, background, bindings, blockStyle, blockDesc, blockTitles, blocks, controls, columns, hints, parts, presets, layout, legacyBasic, legacyDynamic, motion, library, patternLib, placeholders, shortcuts };
|
|
28
|
+
export const en: typeof vi = { patternOverrides, v2, legacy, attrs, background, bindings, blockStyle, blockDesc, blockTitles, blocks, controls, columns, hints, parts, presets, layout, legacyBasic, legacyDynamic, motion, library, patternLib, placeholders, shortcuts, palette };
|
package/src/locales/en/layout.ts
CHANGED
|
@@ -21,6 +21,18 @@ export const layout = {
|
|
|
21
21
|
none: "None",
|
|
22
22
|
shadow: "Shadow",
|
|
23
23
|
ratio: "Aspect ratio",
|
|
24
|
+
customCss: "Custom CSS", customCssHelp: "CSS that only affects this block — use \"selector\" for the block itself. Example: selector:hover { opacity: .8 }", customCssDropped: "Removed unsafe part", customCssExample: "selector { box-shadow: 0 4px 12px #0002 }\nselector:hover { opacity: .85 }\nselector img { border-radius: 8px }",
|
|
25
|
+
backdrop: "Frosted glass", backdropBlur: "Blur what is behind", backdropHelp: "Blurs the page behind this block (glass effect). Works best with a slightly transparent background colour.",
|
|
26
|
+
inheritedValue: "inherited", placeTitle: "Position", placeType: "Positioning", placeTypeRelative: "Relative", placeTypeAbsolute: "Absolute", placeTypeFixed: "Fixed",
|
|
27
|
+
placeTop: "Top", placeRight: "Right", placeBottom: "Bottom", placeLeft: "Left",
|
|
28
|
+
placeHelpRelative: "Keeps its place in the layout, then shifts by the values above (does not push other blocks).",
|
|
29
|
+
placeHelpAbsolute: "Leaves the layout and sits by the edges of its parent (the parent becomes the anchor). For badges and images overlapping other blocks.",
|
|
30
|
+
placeHelpFixed: "Sticks to the screen while scrolling (floating buttons, bars). Set the phone view so it does not cover content.",
|
|
31
|
+
transformTitle: "Transform", rotate: "Rotate", scale: "Scale", skewX: "Skew X", skewY: "Skew Y", moveX: "Move X", moveY: "Move Y", origin: "Origin",
|
|
32
|
+
origin_top_left: "Top left", origin_top: "Top", origin_top_right: "Top right", origin_left: "Left", origin_center: "Center", origin_right: "Right", origin_bottom_left: "Bottom left", origin_bottom: "Bottom", origin_bottom_right: "Bottom right",
|
|
33
|
+
audience: "Who can see it", audienceAll: "Everyone", audienceGuest: "Guests only (not signed in)", audienceUser: "Signed-in members only", audienceHelp: "Hidden in the browser only; do not use for confidential content. The editor still shows it so you can edit.",
|
|
34
|
+
schedule: "Schedule", scheduleFrom: "Show from", scheduleUntil: "Show until", scheduleHelp: "The website only shows this block within this range (your device time). The editor still shows it so you can edit. Cached pages may lag a few minutes.",
|
|
35
|
+
hoverPreview: "Preview hover state", hoverPreviewHelp: "Show the block as if hovered, to tune its hover colours, border and shadow",
|
|
24
36
|
sticky: "Sticky",
|
|
25
37
|
top: "Top offset",
|
|
26
38
|
hover: "Hover",
|
|
@@ -58,6 +70,7 @@ export const layout = {
|
|
|
58
70
|
divider_tilt: "Tilt",
|
|
59
71
|
divider_triangle: "Triangle",
|
|
60
72
|
divider_zigzag: "Zigzag",
|
|
73
|
+
divider_arrow: "Arrow", divider_stairs: "Stairs", divider_ripple: "Double wave", divider_mountains: "Mountains",
|
|
61
74
|
textShadow: "Text shadow",
|
|
62
75
|
tsX: "Offset X",
|
|
63
76
|
tsY: "Offset Y",
|
package/src/locales/en/motion.ts
CHANGED
|
@@ -14,6 +14,12 @@ export const motion = {
|
|
|
14
14
|
stagger: "Reveal children one by one",
|
|
15
15
|
hover: "Hover effect",
|
|
16
16
|
plugin: "Plugin",
|
|
17
|
+
ease: "Easing",
|
|
18
|
+
eases: { smooth: "Smooth", snappy: "Snappy", bounce: "Bounce", linear: "Linear" },
|
|
19
|
+
loop: "Looping motion",
|
|
20
|
+
loops: { float: "Float up and down", pulse: "Pulse", spin: "Spin", swing: "Gentle swing" },
|
|
21
|
+
parallax: "Scroll parallax",
|
|
22
|
+
parallaxes: { slow: "Slow", fast: "Fast", reverse: "Reverse" },
|
|
17
23
|
in: {
|
|
18
24
|
fade: "Fade",
|
|
19
25
|
"slide-up": "Slide up",
|
|
@@ -23,11 +29,21 @@ export const motion = {
|
|
|
23
29
|
"zoom-in": "Zoom in",
|
|
24
30
|
"zoom-out": "Zoom out",
|
|
25
31
|
"blur-in": "Blur in",
|
|
32
|
+
"flip-x": "Flip horizontal",
|
|
33
|
+
"flip-y": "Flip vertical",
|
|
34
|
+
"rotate-in": "Rotate in",
|
|
35
|
+
"bounce-in": "Bounce in",
|
|
36
|
+
"reveal-up": "Reveal upward",
|
|
37
|
+
"reveal-left": "Reveal from left",
|
|
26
38
|
},
|
|
27
39
|
hv: {
|
|
28
40
|
lift: "Lift",
|
|
29
41
|
grow: "Grow",
|
|
30
42
|
brighten: "Brighten",
|
|
31
43
|
glow: "Glow",
|
|
44
|
+
rotate: "Slight rotate",
|
|
45
|
+
tilt: "3D tilt",
|
|
46
|
+
gray: "Grey to colour",
|
|
47
|
+
shrink: "Shrink",
|
|
32
48
|
},
|
|
33
49
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Command palette (⌘⇧P / Ctrl+Shift+P): quickly find an action, a view, a block to insert, or jump to a block on the page. */
|
|
2
|
+
export const palette: typeof import("../vi/palette").palette = {
|
|
3
|
+
title: "Command palette", placeholder: "Type a command, a block to insert or text on the page…", empty: "No matching command", hint: "↑ ↓ choose · Enter run · Esc close",
|
|
4
|
+
groupActions: "Actions", groupView: "View", groupInsert: "Insert block", groupGoto: "Go to block",
|
|
5
|
+
save: "Save", undo: "Undo", redo: "Redo", selectParent: "Select parent block", duplicate: "Duplicate selected block", remove: "Delete selected block", moveUp: "Move block up", moveDown: "Move block down", copyStyle: "Copy selected block style", pasteStyle: "Paste style onto selected block",
|
|
6
|
+
desktop: "Preview desktop", tablet: "Preview tablet", mobile: "Preview phone", listView: "Toggle block list", settings: "Toggle settings panel", inserter: "Open block inserter", zoomOut: "Zoom out to rearrange", library: "Open pattern library",
|
|
7
|
+
insert: "Insert", goto: "Go to",
|
|
8
|
+
};
|
package/src/locales/en/parts.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/** Block parts (content 1.26 PartSpec) and their controls. */
|
|
2
2
|
export const parts = {
|
|
3
|
+
frame: "Frame", subtitle: "Subtitle",
|
|
3
4
|
box: "Box", icon: "Icon", title: "Title", text: "Description", image: "Image", quote: "Quote", avatar: "Avatar", name: "Name", role: "Role",
|
|
4
|
-
quoteMark: "Quote mark", rating: "Star rating", required: "Required asterisk", help: "Field help", error: "Error message", success: "Success message", input: "Input", map: "Map frame", number: "Number", label: "Label", track: "Track", bar: "Bar", item: "Item",
|
|
5
|
+
more: "Read more button", quoteMark: "Quote mark", rating: "Star rating", required: "Required asterisk", help: "Field help", error: "Error message", success: "Success message", input: "Input", map: "Map frame", number: "Number", label: "Label", track: "Track", bar: "Bar", item: "Item",
|
|
5
6
|
paneTitle: "Pane title", paneContent: "Pane content", tabList: "Tab bar", tab: "Tab button", panel: "Tab content", button: "Button", caption: "Caption",
|
|
6
7
|
tableHead: "Header cells", tableCell: "Cells", unitBox: "Time box", unitLabel: "Unit label", content: "Content area",
|
|
7
8
|
highlight: "Highlight", link: "Link", active: "Open / active",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Synced pattern per-use overrides. */
|
|
2
|
+
export const patternOverrides = {
|
|
3
|
+
title: "Pattern override fields",
|
|
4
|
+
none: "This pattern has no overridable blocks yet. Open the pattern, select a block and turn on “Allow override” in the Advanced tab.",
|
|
5
|
+
followPattern: "Follow pattern",
|
|
6
|
+
help: "Empty = same as the pattern (synced). A value = only this use of the pattern differs.",
|
|
7
|
+
allowTitle: "Override when used",
|
|
8
|
+
allow: "Allow overriding at each use of the pattern",
|
|
9
|
+
allowHelp: "This block's text / image / link can be set separately at each use; styling still follows the pattern.",
|
|
10
|
+
key: "Field key",
|
|
11
|
+
attrContent: "Content", attrSrc: "Image", attrAlt: "Image alt", attrCaption: "Caption", attrText: "Text", attrHref: "Link", attrTitle: "Title", attrSubtitle: "Subtitle",
|
|
12
|
+
attrQuote: "Quote", attrName: "Name", attrRole: "Role", attrPoster: "Poster image", attrAddress: "Address", attrPlaceholder: "Placeholder", attrButtonText: "Button text",
|
|
13
|
+
attrSummary: "Item title", attrCitation: "Citation", attrLabel: "Label", attrTooltip: "Hover tooltip", attrPrefix: "Prefix", attrSuffix: "Suffix", attrTarget: "Target time",
|
|
14
|
+
};
|
|
@@ -16,23 +16,28 @@ export const placeholders: typeof vi = {
|
|
|
16
16
|
missing: "Missing: {fields}",
|
|
17
17
|
paragraph: "Write something, or type / to choose a block",
|
|
18
18
|
listItem: "List item…",
|
|
19
|
-
taskItem: "To-do…",
|
|
20
19
|
heading: "Heading…",
|
|
21
20
|
quote: "Add a quote…",
|
|
22
21
|
citation: "Add a source…",
|
|
23
22
|
speaker: "Add the speaker's name…",
|
|
24
23
|
caption: "Add a caption…",
|
|
24
|
+
popupPreview: "Preview dialog", popupPreviewing: "Previewing", popupPreviewClose: "Close preview",
|
|
25
|
+
addTestimonial: "Add testimonial",
|
|
26
|
+
popupTrigger: "Open button text…", popupContent: "Popup content",
|
|
25
27
|
detailsSummary: "Title when collapsed…",
|
|
26
28
|
calloutTitle: "Title (optional)…",
|
|
27
29
|
code: "// Paste or type code…",
|
|
28
|
-
preformatted: "Text that keeps its spacing…",
|
|
29
30
|
buttonText: "Button text",
|
|
30
31
|
tabTitle: "Tab name…",
|
|
31
32
|
moveTabLeft: "Move open tab left",
|
|
32
33
|
moveTabRight: "Move open tab right",
|
|
33
34
|
addTab: "Add tab",
|
|
34
35
|
addItem: "Add item",
|
|
35
|
-
addSlide: "Add slide",
|
|
36
|
+
addSlide: "Add slide", removeSlide: "Delete this slide", slideOf: "Slide",
|
|
37
|
+
duplicateSlide: "Duplicate slide", moveSlideLeft: "Move slide left", moveSlideRight: "Move slide right",
|
|
38
|
+
slide: "Slide",
|
|
39
|
+
prevSlide: "Previous slide",
|
|
40
|
+
nextSlide: "Next slide",
|
|
36
41
|
addImage: "Add image",
|
|
37
42
|
addRow: "Add row",
|
|
38
43
|
addField: "Add field",
|
|
@@ -99,6 +104,7 @@ export const placeholders: typeof vi = {
|
|
|
99
104
|
openSettings: "Open settings",
|
|
100
105
|
cdDays: "days", cdHours: "hours", cdMinutes: "minutes", cdSeconds: "seconds",
|
|
101
106
|
"mapAddress": "Type an address to show the map…",
|
|
107
|
+
countdownMode: "Countdown type", countdownModeDate: "Fixed date", countdownModeEvergreen: "Per visitor", countdownHours: "Hours", countdownMinutes: "Minutes", countdownEvergreenHint: "Each visitor starts counting on their first visit (saved in their browser), so everyone gets the full time.",
|
|
102
108
|
countdownZone: "Time zone",
|
|
103
109
|
countdownZoneLocal: "Viewer's device",
|
|
104
110
|
};
|
package/src/locales/en/v2.ts
CHANGED
|
@@ -103,6 +103,8 @@ export const v2 = {
|
|
|
103
103
|
queryEmptyCollapsed: "When there are no posts (hidden because the list has posts) — click to edit",
|
|
104
104
|
undo: "Undo",
|
|
105
105
|
redo: "Redo",
|
|
106
|
+
commandPalette: "Command palette",
|
|
107
|
+
resizeGap: "change column gap",
|
|
106
108
|
listView: "List view",
|
|
107
109
|
settings: "Settings",
|
|
108
110
|
noSelection: "Select a block to edit",
|
package/src/locales/vi/attrs.ts
CHANGED
|
@@ -82,7 +82,7 @@ export const attrs = {
|
|
|
82
82
|
successMessage: "Lời cảm ơn sau khi gửi",
|
|
83
83
|
notifyEmail: "Email nhận thông báo",
|
|
84
84
|
icon: "Icon",
|
|
85
|
-
quote: "
|
|
85
|
+
quote: "Nội dung đánh giá",
|
|
86
86
|
name: "Tên",
|
|
87
87
|
role: "Chức danh",
|
|
88
88
|
label: "Nhãn",
|
|
@@ -91,7 +91,8 @@ export const attrs = {
|
|
|
91
91
|
suffix: "Hậu tố",
|
|
92
92
|
duration: "Thời gian chạy (ms)",
|
|
93
93
|
showValue: "Hiện phần trăm",
|
|
94
|
-
slidesPerView: "
|
|
94
|
+
slidesPerView: "Slide thấy cùng lúc (máy tính)", slidesTablet: "Slide thấy cùng lúc (tablet)", slidesMobile: "Slide thấy cùng lúc (điện thoại)",
|
|
95
|
+
arrows: "Nút trước / sau hai bên", dots: "Chấm chỉ vị trí bên dưới", autoplay: "Tự chuyển slide", interval: "Giây giữa hai lần chuyển", loop: "Hết slide cuối thì quay lại slide đầu", gap: "Khoảng cách giữa các slide",
|
|
95
96
|
max: "Giá trị tối đa",
|
|
96
97
|
display: "Kiểu hiển thị",
|
|
97
98
|
depth: "Số cấp hiện",
|
|
@@ -17,10 +17,15 @@ export const background = {
|
|
|
17
17
|
focal: "Điểm lấy nét",
|
|
18
18
|
repeat: "Lặp lại ảnh",
|
|
19
19
|
fixed: "Cố định khi cuộn (parallax, chỉ trên máy tính)",
|
|
20
|
+
video: "Video nền (mp4 / webm)",
|
|
21
|
+
videoHint: "Tự phát, tắt tiếng, lặp, nằm dưới nội dung. Đường dẫn trong website (/uploads/…) hoặc https. Người xem bật giảm chuyển động thì video dừng.",
|
|
20
22
|
overlay: "Lớp phủ",
|
|
21
23
|
opacity: "Độ đậm lớp phủ",
|
|
22
24
|
overlayTitle: "Lớp phủ nền",
|
|
23
25
|
overlayType: "Loại lớp phủ",
|
|
26
|
+
imageOpacity: "Độ mờ của ảnh nền",
|
|
27
|
+
imageBlur: "Làm mờ ảnh nền",
|
|
28
|
+
imageBlend: "Hoà trộn ảnh với màu nền",
|
|
24
29
|
overlayBlend: "Hoà trộn với nền",
|
|
25
30
|
blendNormal: "Thường",
|
|
26
31
|
blend_multiply: "Nhân",
|