@univerjs/slides-ui 0.24.0 → 0.25.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.
Files changed (89) hide show
  1. package/lib/cjs/index.js +31 -31
  2. package/lib/cjs/locale/ar-SA.js +45 -0
  3. package/lib/cjs/locale/ca-ES.js +18 -1
  4. package/lib/cjs/locale/de-DE.js +45 -0
  5. package/lib/cjs/locale/en-US.js +18 -1
  6. package/lib/cjs/locale/es-ES.js +18 -1
  7. package/lib/cjs/locale/fa-IR.js +18 -1
  8. package/lib/cjs/locale/fr-FR.js +18 -1
  9. package/lib/cjs/locale/id-ID.js +45 -0
  10. package/lib/cjs/locale/it-IT.js +45 -0
  11. package/lib/cjs/locale/ja-JP.js +18 -1
  12. package/lib/cjs/locale/ko-KR.js +18 -1
  13. package/lib/cjs/locale/pl-PL.js +45 -0
  14. package/lib/cjs/locale/pt-BR.js +45 -0
  15. package/lib/cjs/locale/ru-RU.js +18 -1
  16. package/lib/cjs/locale/sk-SK.js +18 -1
  17. package/lib/cjs/locale/vi-VN.js +18 -1
  18. package/lib/cjs/locale/zh-CN.js +18 -1
  19. package/lib/cjs/locale/zh-HK.js +64 -0
  20. package/lib/cjs/locale/zh-TW.js +18 -1
  21. package/lib/es/index.js +31 -31
  22. package/lib/es/locale/ar-SA.js +44 -0
  23. package/lib/es/locale/ca-ES.js +18 -1
  24. package/lib/es/locale/de-DE.js +44 -0
  25. package/lib/es/locale/en-US.js +18 -1
  26. package/lib/es/locale/es-ES.js +18 -1
  27. package/lib/es/locale/fa-IR.js +18 -1
  28. package/lib/es/locale/fr-FR.js +18 -1
  29. package/lib/es/locale/id-ID.js +44 -0
  30. package/lib/es/locale/it-IT.js +44 -0
  31. package/lib/es/locale/ja-JP.js +18 -1
  32. package/lib/es/locale/ko-KR.js +18 -1
  33. package/lib/es/locale/pl-PL.js +44 -0
  34. package/lib/es/locale/pt-BR.js +44 -0
  35. package/lib/es/locale/ru-RU.js +18 -1
  36. package/lib/es/locale/sk-SK.js +18 -1
  37. package/lib/es/locale/vi-VN.js +18 -1
  38. package/lib/es/locale/zh-CN.js +18 -1
  39. package/lib/es/locale/zh-HK.js +63 -0
  40. package/lib/es/locale/zh-TW.js +18 -1
  41. package/lib/index.js +31 -31
  42. package/lib/locale/ar-SA.js +44 -0
  43. package/lib/locale/ca-ES.js +18 -1
  44. package/lib/locale/de-DE.js +44 -0
  45. package/lib/locale/en-US.js +18 -1
  46. package/lib/locale/es-ES.js +18 -1
  47. package/lib/locale/fa-IR.js +18 -1
  48. package/lib/locale/fr-FR.js +18 -1
  49. package/lib/locale/id-ID.js +44 -0
  50. package/lib/locale/it-IT.js +44 -0
  51. package/lib/locale/ja-JP.js +18 -1
  52. package/lib/locale/ko-KR.js +18 -1
  53. package/lib/locale/pl-PL.js +44 -0
  54. package/lib/locale/pt-BR.js +44 -0
  55. package/lib/locale/ru-RU.js +18 -1
  56. package/lib/locale/sk-SK.js +18 -1
  57. package/lib/locale/vi-VN.js +18 -1
  58. package/lib/locale/zh-CN.js +18 -1
  59. package/lib/locale/zh-HK.js +63 -0
  60. package/lib/locale/zh-TW.js +18 -1
  61. package/lib/types/locale/ar-SA.d.ts +18 -0
  62. package/lib/types/locale/de-DE.d.ts +18 -0
  63. package/lib/types/locale/en-US.d.ts +18 -1
  64. package/lib/types/locale/id-ID.d.ts +18 -0
  65. package/lib/types/locale/it-IT.d.ts +18 -0
  66. package/lib/types/locale/pl-PL.d.ts +18 -0
  67. package/lib/types/locale/pt-BR.d.ts +18 -0
  68. package/lib/types/locale/zh-HK.d.ts +18 -0
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -0
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -0
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -0
  78. package/lib/umd/locale/it-IT.js +1 -0
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -0
  82. package/lib/umd/locale/pt-BR.js +1 -0
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -0
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +12 -12
package/lib/cjs/index.js CHANGED
@@ -12,7 +12,7 @@ let _univerjs_docs_ui = require("@univerjs/docs-ui");
12
12
  let rxjs = require("rxjs");
13
13
  let _univerjs_docs = require("@univerjs/docs");
14
14
 
15
- //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
15
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
16
16
  function _typeof(o) {
17
17
  "@babel/helpers - typeof";
18
18
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -23,7 +23,7 @@ function _typeof(o) {
23
23
  }
24
24
 
25
25
  //#endregion
26
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
26
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
27
27
  function toPrimitive(t, r) {
28
28
  if ("object" != _typeof(t) || !t) return t;
29
29
  var e = t[Symbol.toPrimitive];
@@ -36,14 +36,14 @@ function toPrimitive(t, r) {
36
36
  }
37
37
 
38
38
  //#endregion
39
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
39
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
40
40
  function toPropertyKey(t) {
41
41
  var i = toPrimitive(t, "string");
42
42
  return "symbol" == _typeof(i) ? i : i + "";
43
43
  }
44
44
 
45
45
  //#endregion
46
- //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
46
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
47
47
  function _defineProperty(e, r, t) {
48
48
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
49
49
  value: t,
@@ -54,7 +54,7 @@ function _defineProperty(e, r, t) {
54
54
  }
55
55
 
56
56
  //#endregion
57
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
57
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
58
58
  function __decorateParam(paramIndex, decorator) {
59
59
  return function(target, key) {
60
60
  decorator(target, key, paramIndex);
@@ -62,7 +62,7 @@ function __decorateParam(paramIndex, decorator) {
62
62
  }
63
63
 
64
64
  //#endregion
65
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
65
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
66
66
  function __decorate(decorators, target, key, desc) {
67
67
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
68
68
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -562,7 +562,7 @@ function ArrangePanel$1(props) {
562
562
  className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
563
563
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
564
564
  className: "univer-w-full univer-text-left univer-text-gray-600 dark:!univer-text-gray-200",
565
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: localeService.t("image-panel.arrange.title") })
565
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: localeService.t("slides-ui.image-panel.arrange.title") })
566
566
  })
567
567
  }),
568
568
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -575,7 +575,7 @@ function ArrangePanel$1(props) {
575
575
  },
576
576
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
577
577
  className: "univer-flex univer-items-center univer-gap-1",
578
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.MoveUpIcon, {}), localeService.t("image-panel.arrange.forward")]
578
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.MoveUpIcon, {}), localeService.t("slides-ui.image-panel.arrange.forward")]
579
579
  })
580
580
  })
581
581
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -586,7 +586,7 @@ function ArrangePanel$1(props) {
586
586
  },
587
587
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
588
588
  className: "univer-flex univer-items-center univer-gap-1",
589
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.MoveDownIcon, {}), localeService.t("image-panel.arrange.backward")]
589
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.MoveDownIcon, {}), localeService.t("slides-ui.image-panel.arrange.backward")]
590
590
  })
591
591
  })
592
592
  })]
@@ -601,7 +601,7 @@ function ArrangePanel$1(props) {
601
601
  },
602
602
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
603
603
  className: "univer-flex univer-items-center univer-gap-1",
604
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.TopmostIcon, {}), localeService.t("image-panel.arrange.front")]
604
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.TopmostIcon, {}), localeService.t("slides-ui.image-panel.arrange.front")]
605
605
  })
606
606
  })
607
607
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -612,7 +612,7 @@ function ArrangePanel$1(props) {
612
612
  },
613
613
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
614
614
  className: "univer-flex univer-items-center univer-gap-1",
615
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.BottomIcon, {}), localeService.t("image-panel.arrange.back")]
615
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.BottomIcon, {}), localeService.t("slides-ui.image-panel.arrange.back")]
616
616
  })
617
617
  })
618
618
  })]
@@ -662,7 +662,7 @@ function ArrangePanel(props) {
662
662
  className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
663
663
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
664
664
  className: "univer-w-full univer-text-left univer-text-gray-600 dark:!univer-text-gray-200",
665
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: localeService.t("slide.panel.fill.title") })
665
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: localeService.t("slides-ui.panel.fill.title") })
666
666
  })
667
667
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
668
668
  className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
@@ -788,17 +788,17 @@ function TransformPanel(props) {
788
788
  children: [
789
789
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("header", {
790
790
  className: "univer-text-gray-600 dark:!univer-text-gray-200",
791
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: localeService.t("image-panel.transform.title") })
791
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: localeService.t("slides-ui.image-panel.transform.title") })
792
792
  }),
793
793
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
794
794
  className: "univer-grid univer-grid-cols-3 univer-gap-2 [&>div]:univer-grid [&>div]:univer-gap-2",
795
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("image-panel.transform.width") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
795
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("slides-ui.image-panel.transform.width") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
796
796
  min: 1,
797
797
  value: width,
798
798
  onChange: (val) => {
799
799
  handleWidthChange(val);
800
800
  }
801
- })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("image-panel.transform.height") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
801
+ })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("slides-ui.image-panel.transform.height") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
802
802
  min: 1,
803
803
  value: height,
804
804
  onChange: (val) => {
@@ -809,7 +809,7 @@ function TransformPanel(props) {
809
809
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
810
810
  className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
811
811
  children: [
812
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("image-panel.transform.x") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
812
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("slides-ui.image-panel.transform.x") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
813
813
  min: 0,
814
814
  precision: 1,
815
815
  value: xPosition,
@@ -817,7 +817,7 @@ function TransformPanel(props) {
817
817
  handleXChange(val);
818
818
  }
819
819
  })] }),
820
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("image-panel.transform.y") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
820
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("slides-ui.image-panel.transform.y") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
821
821
  min: 0,
822
822
  precision: 1,
823
823
  value: yPosition,
@@ -825,7 +825,7 @@ function TransformPanel(props) {
825
825
  handleYChange(val);
826
826
  }
827
827
  })] }),
828
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("image-panel.transform.rotate") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
828
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("slides-ui.image-panel.transform.rotate") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.InputNumber, {
829
829
  precision: 1,
830
830
  value: rotation,
831
831
  onChange: handleChangeRotation
@@ -927,13 +927,13 @@ const ToggleSlideEditSidebarOperation = {
927
927
  let title = "";
928
928
  let children = "";
929
929
  if (objectType === _univerjs_engine_render.ObjectType.RECT) {
930
- title = "slide.sidebar.shape";
930
+ title = "slides-ui.sidebar.shape";
931
931
  children = COMPONENT_SLIDE_SIDEBAR;
932
932
  } else if (objectType === _univerjs_engine_render.ObjectType.IMAGE) {
933
- title = "slide.sidebar.image";
933
+ title = "slides-ui.sidebar.image";
934
934
  children = COMPONENT_SLIDE_SIDEBAR;
935
935
  } else if (objectType === _univerjs_engine_render.ObjectType.RICH_TEXT) {
936
- title = "slide.sidebar.text";
936
+ title = "slides-ui.sidebar.text";
937
937
  children = COMPONENT_SLIDE_SIDEBAR;
938
938
  }
939
939
  if (visible) sidebarService.open({
@@ -1123,7 +1123,7 @@ function SlideSideBar() {
1123
1123
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
1124
1124
  className: (0, _univerjs_design.clsx)("univer-box-border univer-block univer-h-8 univer-w-full univer-cursor-pointer univer-rounded-md univer-bg-white univer-text-center univer-text-sm univer-leading-8 univer-transition-colors", _univerjs_design.borderClassName),
1125
1125
  onClick: handleAppendSlide,
1126
- children: localeService.t("slide.append")
1126
+ children: localeService.t("slides-ui.append")
1127
1127
  })
1128
1128
  }), slideList.map((item, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1129
1129
  className: (0, _univerjs_design.clsx)("univer-my-4 univer-flex univer-gap-2", { "[&>div]:univer-border-primary-600 [&>span]:univer-text-primary-600": item.id === activatePageId }),
@@ -1245,14 +1245,14 @@ function SlideImageMenuFactory(accessor) {
1245
1245
  id: SLIDES_IMAGE_MENU_ID,
1246
1246
  type: _univerjs_ui.MenuItemType.SUBITEMS,
1247
1247
  icon: "AddImageIcon",
1248
- tooltip: "slide.image.insert.title",
1248
+ tooltip: "slides-ui.image.insert.title",
1249
1249
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SLIDE)
1250
1250
  };
1251
1251
  }
1252
1252
  function UploadSlideFloatImageMenuFactory(_accessor) {
1253
1253
  return {
1254
1254
  id: InsertSlideFloatImageCommand.id,
1255
- title: "slide.image.insert.float",
1255
+ title: "slides-ui.image.insert.float",
1256
1256
  type: _univerjs_ui.MenuItemType.BUTTON,
1257
1257
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(_accessor, _univerjs_core.UniverInstanceType.UNIVER_SLIDE)
1258
1258
  };
@@ -1266,14 +1266,14 @@ function SlideShapeMenuFactory(accessor) {
1266
1266
  id: SHAPE_MENU_ID,
1267
1267
  type: _univerjs_ui.MenuItemType.SUBITEMS,
1268
1268
  icon: "GraphIcon",
1269
- tooltip: "slide.shape.insert.title",
1269
+ tooltip: "slides-ui.shape.insert.title",
1270
1270
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SLIDE)
1271
1271
  };
1272
1272
  }
1273
1273
  function UploadSlideFloatRectangleShapeMenuFactory(_accessor) {
1274
1274
  return {
1275
1275
  id: InsertSlideShapeRectangleCommand.id,
1276
- title: "slide.shape.insert.rectangle",
1276
+ title: "slides-ui.shape.insert.rectangle",
1277
1277
  type: _univerjs_ui.MenuItemType.BUTTON,
1278
1278
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(_accessor, _univerjs_core.UniverInstanceType.UNIVER_SLIDE)
1279
1279
  };
@@ -1281,7 +1281,7 @@ function UploadSlideFloatRectangleShapeMenuFactory(_accessor) {
1281
1281
  function UploadSlideFloatEllipseShapeMenuFactory(_accessor) {
1282
1282
  return {
1283
1283
  id: InsertSlideShapeEllipseCommand.id,
1284
- title: "slide.shape.insert.ellipse",
1284
+ title: "slides-ui.shape.insert.ellipse",
1285
1285
  type: _univerjs_ui.MenuItemType.BUTTON,
1286
1286
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(_accessor, _univerjs_core.UniverInstanceType.UNIVER_SLIDE)
1287
1287
  };
@@ -1294,7 +1294,7 @@ function SlideAddTextMenuItemFactory(_accessor) {
1294
1294
  id: SlideAddTextCommand.id,
1295
1295
  type: _univerjs_ui.MenuItemType.BUTTON,
1296
1296
  icon: "TextIcon",
1297
- tooltip: "slide.text.insert.title",
1297
+ tooltip: "slides-ui.text.insert.title",
1298
1298
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(_accessor, _univerjs_core.UniverInstanceType.UNIVER_SLIDE)
1299
1299
  };
1300
1300
  }
@@ -1574,7 +1574,7 @@ SlidesUIController = __decorate([
1574
1574
  //#endregion
1575
1575
  //#region package.json
1576
1576
  var name = "@univerjs/slides-ui";
1577
- var version = "0.24.0";
1577
+ var version = "0.25.0";
1578
1578
 
1579
1579
  //#endregion
1580
1580
  //#region src/config/config.ts
@@ -2546,7 +2546,7 @@ let SlidePopupMenuController = class SlidePopupMenuController extends _univerjs_
2546
2546
  }
2547
2547
  _getMenuItemsByObjectType(objectType, oKey, unitId) {
2548
2548
  return [{
2549
- label: "slide.popup.edit",
2549
+ label: "slides-ui.popup.edit",
2550
2550
  index: 0,
2551
2551
  commandId: ToggleSlideEditSidebarOperation.id,
2552
2552
  commandParams: {
@@ -2555,7 +2555,7 @@ let SlidePopupMenuController = class SlidePopupMenuController extends _univerjs_
2555
2555
  },
2556
2556
  disable: false
2557
2557
  }, {
2558
- label: "slide.popup.delete",
2558
+ label: "slides-ui.popup.delete",
2559
2559
  index: 5,
2560
2560
  commandId: DeleteSlideElementOperation.id,
2561
2561
  commandParams: {
@@ -0,0 +1,45 @@
1
+
2
+ //#region src/locale/ar-SA.ts
3
+ const locale = { "slides-ui": {
4
+ append: "إلحاق شريحة",
5
+ text: { insert: { title: "إدراج نص" } },
6
+ shape: { insert: {
7
+ title: "إدراج شكل",
8
+ rectangle: "إدراج مستطيل",
9
+ ellipse: "إدراج قطع ناقص"
10
+ } },
11
+ image: { insert: {
12
+ title: "إدراج صورة",
13
+ float: "إدراج صورة عائمة"
14
+ } },
15
+ popup: {
16
+ edit: "تحرير",
17
+ delete: "حذف"
18
+ },
19
+ sidebar: {
20
+ text: "تحرير النص",
21
+ shape: "تحرير الشكل",
22
+ image: "تحرير الصورة"
23
+ },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "ترتيب",
27
+ forward: "إحضار إلى الأمام",
28
+ backward: "إرسال إلى الخلف",
29
+ front: "إحضار إلى المقدمة",
30
+ back: "إرسال إلى المؤخرة"
31
+ },
32
+ transform: {
33
+ title: "تحويل",
34
+ width: "العرض (بكسل)",
35
+ height: "الارتفاع (بكسل)",
36
+ x: "X (بكسل)",
37
+ y: "Y (بكسل)",
38
+ rotate: "تدوير (°)"
39
+ }
40
+ },
41
+ panel: { fill: { title: "لون التعبئة" } }
42
+ } };
43
+
44
+ //#endregion
45
+ module.exports = locale;
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ca-ES.ts
3
- const locale = { slide: {
3
+ const locale = { "slides-ui": {
4
4
  append: "Afegeix diapositiva",
5
5
  text: { insert: { title: "Insereix text" } },
6
6
  shape: { insert: {
@@ -21,6 +21,23 @@ const locale = { slide: {
21
21
  shape: "Edita forma",
22
22
  image: "Edita imatge"
23
23
  },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "Organitza",
27
+ forward: "Porta endavant",
28
+ backward: "Envia enrere",
29
+ front: "Porta al davant",
30
+ back: "Envia al fons"
31
+ },
32
+ transform: {
33
+ title: "Transforma",
34
+ width: "Amplada (px)",
35
+ height: "Alçada (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "Gira (°)"
39
+ }
40
+ },
24
41
  panel: { fill: { title: "Color de farciment" } }
25
42
  } };
26
43
 
@@ -0,0 +1,45 @@
1
+
2
+ //#region src/locale/de-DE.ts
3
+ const locale = { "slides-ui": {
4
+ append: "Folie anhängen",
5
+ text: { insert: { title: "Text einfügen" } },
6
+ shape: { insert: {
7
+ title: "Form einfügen",
8
+ rectangle: "Rechteck einfügen",
9
+ ellipse: "Ellipse einfügen"
10
+ } },
11
+ image: { insert: {
12
+ title: "Bild einfügen",
13
+ float: "Schwebendes Bild einfügen"
14
+ } },
15
+ popup: {
16
+ edit: "Bearbeiten",
17
+ delete: "Löschen"
18
+ },
19
+ sidebar: {
20
+ text: "Text bearbeiten",
21
+ shape: "Form bearbeiten",
22
+ image: "Bild bearbeiten"
23
+ },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "Anordnen",
27
+ forward: "Nach vorne",
28
+ backward: "Nach hinten",
29
+ front: "In den Vordergrund",
30
+ back: "In den Hintergrund"
31
+ },
32
+ transform: {
33
+ title: "Transformieren",
34
+ width: "Breite (px)",
35
+ height: "Höhe (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "Drehen (°)"
39
+ }
40
+ },
41
+ panel: { fill: { title: "Füllfarbe" } }
42
+ } };
43
+
44
+ //#endregion
45
+ module.exports = locale;
@@ -15,7 +15,7 @@
15
15
  * See the License for the specific language governing permissions and
16
16
  * limitations under the License.
17
17
  */
18
- const locale = { slide: {
18
+ const locale = { "slides-ui": {
19
19
  append: "Append Slide",
20
20
  text: { insert: { title: "Insert Text" } },
21
21
  shape: { insert: {
@@ -36,6 +36,23 @@ const locale = { slide: {
36
36
  shape: "Edit Shape",
37
37
  image: "Edit Image"
38
38
  },
39
+ "image-panel": {
40
+ arrange: {
41
+ title: "Arrange",
42
+ forward: "Bring Forward",
43
+ backward: "Send Backward",
44
+ front: "Bring to Front",
45
+ back: "Send to Back"
46
+ },
47
+ transform: {
48
+ title: "Transform",
49
+ width: "Width (px)",
50
+ height: "Height (px)",
51
+ x: "X (px)",
52
+ y: "Y (px)",
53
+ rotate: "Rotate (°)"
54
+ }
55
+ },
39
56
  panel: { fill: { title: "Fill Color" } }
40
57
  } };
41
58
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/es-ES.ts
3
- const locale = { slide: {
3
+ const locale = { "slides-ui": {
4
4
  append: "Añadir diapositiva",
5
5
  text: { insert: { title: "Insertar texto" } },
6
6
  shape: { insert: {
@@ -21,6 +21,23 @@ const locale = { slide: {
21
21
  shape: "Editar forma",
22
22
  image: "Editar imagen"
23
23
  },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "Organizar",
27
+ forward: "Traer adelante",
28
+ backward: "Enviar atrás",
29
+ front: "Traer al frente",
30
+ back: "Enviar al fondo"
31
+ },
32
+ transform: {
33
+ title: "Transformar",
34
+ width: "Ancho (px)",
35
+ height: "Alto (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "Rotar (°)"
39
+ }
40
+ },
24
41
  panel: { fill: { title: "Color de relleno" } }
25
42
  } };
26
43
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/fa-IR.ts
3
- const locale = { slide: {
3
+ const locale = { "slides-ui": {
4
4
  append: "اضافه کردن اسلاید",
5
5
  text: { insert: { title: "درج متن" } },
6
6
  shape: { insert: {
@@ -21,6 +21,23 @@ const locale = { slide: {
21
21
  shape: "ویرایش شکل",
22
22
  image: "ویرایش تصویر"
23
23
  },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "ترتیب‌دهی",
27
+ forward: "آوردن به جلو",
28
+ backward: "فرستادن به عقب",
29
+ front: "آوردن به جلوی همه",
30
+ back: "فرستادن به پشت همه"
31
+ },
32
+ transform: {
33
+ title: "تبدیل",
34
+ width: "عرض (px)",
35
+ height: "ارتفاع (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "چرخش (°)"
39
+ }
40
+ },
24
41
  panel: { fill: { title: "رنگ پر کردن" } }
25
42
  } };
26
43
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/fr-FR.ts
3
- const locale = { slide: {
3
+ const locale = { "slides-ui": {
4
4
  append: "Ajouter une diapositive",
5
5
  text: { insert: { title: "Insérer du texte" } },
6
6
  shape: { insert: {
@@ -21,6 +21,23 @@ const locale = { slide: {
21
21
  shape: "Éditer la forme",
22
22
  image: "Éditer l'image"
23
23
  },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "Arranger",
27
+ forward: "Avancer",
28
+ backward: "Reculer",
29
+ front: "Mettre au premier plan",
30
+ back: "Mettre à l'arrière-plan"
31
+ },
32
+ transform: {
33
+ title: "Transformer",
34
+ width: "Largeur (px)",
35
+ height: "Hauteur (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "Pivoter (°)"
39
+ }
40
+ },
24
41
  panel: { fill: { title: "Couleur de remplissage" } }
25
42
  } };
26
43
 
@@ -0,0 +1,45 @@
1
+
2
+ //#region src/locale/id-ID.ts
3
+ const locale = { "slides-ui": {
4
+ append: "Tambah Slide",
5
+ text: { insert: { title: "Sisipkan Teks" } },
6
+ shape: { insert: {
7
+ title: "Sisipkan Bentuk",
8
+ rectangle: "Sisipkan Persegi Panjang",
9
+ ellipse: "Sisipkan Elips"
10
+ } },
11
+ image: { insert: {
12
+ title: "Sisipkan Gambar",
13
+ float: "Sisipkan Gambar Mengambang"
14
+ } },
15
+ popup: {
16
+ edit: "Edit",
17
+ delete: "Hapus"
18
+ },
19
+ sidebar: {
20
+ text: "Edit Teks",
21
+ shape: "Edit Bentuk",
22
+ image: "Edit Gambar"
23
+ },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "Atur",
27
+ forward: "Bawa ke Depan",
28
+ backward: "Kirim ke Belakang",
29
+ front: "Bawa ke Paling Depan",
30
+ back: "Kirim ke Paling Belakang"
31
+ },
32
+ transform: {
33
+ title: "Transformasi",
34
+ width: "Lebar (px)",
35
+ height: "Tinggi (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "Putar (°)"
39
+ }
40
+ },
41
+ panel: { fill: { title: "Warna Isi" } }
42
+ } };
43
+
44
+ //#endregion
45
+ module.exports = locale;
@@ -0,0 +1,45 @@
1
+
2
+ //#region src/locale/it-IT.ts
3
+ const locale = { "slides-ui": {
4
+ append: "Aggiungi Diapositiva",
5
+ text: { insert: { title: "Inserisci Testo" } },
6
+ shape: { insert: {
7
+ title: "Inserisci Forma",
8
+ rectangle: "Inserisci Rettangolo",
9
+ ellipse: "Inserisci Ellisse"
10
+ } },
11
+ image: { insert: {
12
+ title: "Inserisci Immagine",
13
+ float: "Inserisci Immagine Fluttuante"
14
+ } },
15
+ popup: {
16
+ edit: "Modifica",
17
+ delete: "Elimina"
18
+ },
19
+ sidebar: {
20
+ text: "Modifica Testo",
21
+ shape: "Modifica Forma",
22
+ image: "Modifica Immagine"
23
+ },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "Disposizione",
27
+ forward: "Porta Avanti",
28
+ backward: "Manda Indietro",
29
+ front: "Porta in Primo Piano",
30
+ back: "Manda in Secondo Piano"
31
+ },
32
+ transform: {
33
+ title: "Trasforma",
34
+ width: "Larghezza (px)",
35
+ height: "Altezza (px)",
36
+ x: "X (px)",
37
+ y: "Y (px)",
38
+ rotate: "Ruota (°)"
39
+ }
40
+ },
41
+ panel: { fill: { title: "Colore Riempimento" } }
42
+ } };
43
+
44
+ //#endregion
45
+ module.exports = locale;
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ja-JP.ts
3
- const locale = { slide: {
3
+ const locale = { "slides-ui": {
4
4
  append: "スライドを追加",
5
5
  text: { insert: { title: "テキストの挿入" } },
6
6
  shape: { insert: {
@@ -21,6 +21,23 @@ const locale = { slide: {
21
21
  shape: "図形編集",
22
22
  image: "画像編集"
23
23
  },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "配置",
27
+ forward: "前面へ移動",
28
+ backward: "背面へ移動",
29
+ front: "最前面へ移動",
30
+ back: "最背面へ移動"
31
+ },
32
+ transform: {
33
+ title: "変形",
34
+ width: "幅 (px)",
35
+ height: "高さ (px)",
36
+ x: "X座標 (px)",
37
+ y: "Y座標 (px)",
38
+ rotate: "回転 (°)"
39
+ }
40
+ },
24
41
  panel: { fill: { title: "塗りつぶしの色" } }
25
42
  } };
26
43
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ko-KR.ts
3
- const locale = { slide: {
3
+ const locale = { "slides-ui": {
4
4
  append: "슬라이드 추가",
5
5
  text: { insert: { title: "텍스트 삽입" } },
6
6
  shape: { insert: {
@@ -21,6 +21,23 @@ const locale = { slide: {
21
21
  shape: "도형 편집",
22
22
  image: "이미지 편집"
23
23
  },
24
+ "image-panel": {
25
+ arrange: {
26
+ title: "정렬",
27
+ forward: "앞으로 가져오기",
28
+ backward: "뒤로 보내기",
29
+ front: "맨 앞으로 가져오기",
30
+ back: "맨 뒤로 보내기"
31
+ },
32
+ transform: {
33
+ title: "변형",
34
+ width: "너비 (px)",
35
+ height: "높이 (px)",
36
+ x: "X 좌표 (px)",
37
+ y: "Y 좌표 (px)",
38
+ rotate: "회전 (°)"
39
+ }
40
+ },
24
41
  panel: { fill: { title: "채우기 색상" } }
25
42
  } };
26
43