@univerjs/sheets-sort-ui 0.23.0 → 0.24.0-insiders.20260527-b1d726f

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 (90) hide show
  1. package/lib/cjs/index.js +37 -37
  2. package/lib/cjs/locale/ar-SA.js +34 -0
  3. package/lib/cjs/locale/ca-ES.js +3 -2
  4. package/lib/cjs/locale/de-DE.js +34 -0
  5. package/lib/cjs/locale/en-US.js +3 -2
  6. package/lib/cjs/locale/es-ES.js +3 -2
  7. package/lib/cjs/locale/fa-IR.js +3 -2
  8. package/lib/cjs/locale/fr-FR.js +3 -2
  9. package/lib/cjs/locale/id-ID.js +34 -0
  10. package/lib/cjs/locale/it-IT.js +34 -0
  11. package/lib/cjs/locale/ja-JP.js +3 -2
  12. package/lib/cjs/locale/ko-KR.js +3 -2
  13. package/lib/cjs/locale/pl-PL.js +34 -0
  14. package/lib/cjs/locale/pt-BR.js +34 -0
  15. package/lib/cjs/locale/ru-RU.js +3 -2
  16. package/lib/cjs/locale/sk-SK.js +3 -2
  17. package/lib/cjs/locale/vi-VN.js +3 -2
  18. package/lib/cjs/locale/zh-CN.js +3 -2
  19. package/lib/cjs/locale/zh-HK.js +34 -0
  20. package/lib/cjs/locale/zh-TW.js +3 -2
  21. package/lib/es/index.js +37 -37
  22. package/lib/es/locale/ar-SA.js +33 -0
  23. package/lib/es/locale/ca-ES.js +3 -2
  24. package/lib/es/locale/de-DE.js +33 -0
  25. package/lib/es/locale/en-US.js +3 -2
  26. package/lib/es/locale/es-ES.js +3 -2
  27. package/lib/es/locale/fa-IR.js +3 -2
  28. package/lib/es/locale/fr-FR.js +3 -2
  29. package/lib/es/locale/id-ID.js +33 -0
  30. package/lib/es/locale/it-IT.js +33 -0
  31. package/lib/es/locale/ja-JP.js +3 -2
  32. package/lib/es/locale/ko-KR.js +3 -2
  33. package/lib/es/locale/pl-PL.js +33 -0
  34. package/lib/es/locale/pt-BR.js +33 -0
  35. package/lib/es/locale/ru-RU.js +3 -2
  36. package/lib/es/locale/sk-SK.js +3 -2
  37. package/lib/es/locale/vi-VN.js +3 -2
  38. package/lib/es/locale/zh-CN.js +3 -2
  39. package/lib/es/locale/zh-HK.js +33 -0
  40. package/lib/es/locale/zh-TW.js +3 -2
  41. package/lib/index.js +37 -37
  42. package/lib/locale/ar-SA.js +33 -0
  43. package/lib/locale/ca-ES.js +3 -2
  44. package/lib/locale/de-DE.js +33 -0
  45. package/lib/locale/en-US.js +3 -2
  46. package/lib/locale/es-ES.js +3 -2
  47. package/lib/locale/fa-IR.js +3 -2
  48. package/lib/locale/fr-FR.js +3 -2
  49. package/lib/locale/id-ID.js +33 -0
  50. package/lib/locale/it-IT.js +33 -0
  51. package/lib/locale/ja-JP.js +3 -2
  52. package/lib/locale/ko-KR.js +3 -2
  53. package/lib/locale/pl-PL.js +33 -0
  54. package/lib/locale/pt-BR.js +33 -0
  55. package/lib/locale/ru-RU.js +3 -2
  56. package/lib/locale/sk-SK.js +3 -2
  57. package/lib/locale/vi-VN.js +3 -2
  58. package/lib/locale/zh-CN.js +3 -2
  59. package/lib/locale/zh-HK.js +33 -0
  60. package/lib/locale/zh-TW.js +3 -2
  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 +4 -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 +11 -11
  90. package/LICENSE +0 -176
package/lib/cjs/index.js CHANGED
@@ -34,7 +34,7 @@ const ExtendConfirm = (props) => {
34
34
  className: "univer-text-sm",
35
35
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
36
36
  className: "extend-confirm-desc",
37
- children: localeService.t("sheets-sort.dialog.sort-reminder-desc")
37
+ children: localeService.t("sheets-sort-ui.dialog.sort-reminder-desc")
38
38
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_univerjs_design.RadioGroup, {
39
39
  className: "univer-mt-4",
40
40
  value: extend,
@@ -45,10 +45,10 @@ const ExtendConfirm = (props) => {
45
45
  },
46
46
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
47
47
  value: "0",
48
- children: localeService.t("sheets-sort.dialog.sort-reminder-no")
48
+ children: localeService.t("sheets-sort-ui.dialog.sort-reminder-no")
49
49
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
50
50
  value: "1",
51
- children: localeService.t("sheets-sort.dialog.sort-reminder-ext")
51
+ children: localeService.t("sheets-sort-ui.dialog.sort-reminder-ext")
52
52
  })]
53
53
  })]
54
54
  });
@@ -116,10 +116,10 @@ function __decorate(decorators, target, key, desc) {
116
116
  //#endregion
117
117
  //#region src/services/sheets-sort-ui.service.tsx
118
118
  const SORT_ERROR_MESSAGE = {
119
- MERGE_ERROR: "sheets-sort.error.merge-size",
120
- EMPTY_ERROR: "sheets-sort.error.empty",
121
- SINGLE_ERROR: "sheets-sort.error.single",
122
- FORMULA_ARRAY: "sheets-sort.error.formula-array"
119
+ MERGE_ERROR: "sheets-sort-ui.error.merge-size",
120
+ EMPTY_ERROR: "sheets-sort-ui.error.empty",
121
+ SINGLE_ERROR: "sheets-sort-ui.error.single",
122
+ FORMULA_ARRAY: "sheets-sort-ui.error.formula-array"
123
123
  };
124
124
  let SheetsSortUIService = class SheetsSortUIService extends _univerjs_core.Disposable {
125
125
  constructor(_univerInstanceService, _confirmService, _selectionManagerService, _sheetsSortService, _localeService, _commandService) {
@@ -192,23 +192,23 @@ let SheetsSortUIService = class SheetsSortUIService extends _univerjs_core.Dispo
192
192
  async showCheckError(content) {
193
193
  return await this._confirmService.confirm({
194
194
  id: "sort-range-check-error",
195
- title: { title: this._localeService.t("info.tooltip") },
195
+ title: { title: this._localeService.t("sheets-sort-ui.info.tooltip") },
196
196
  children: { title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: this._localeService.t(content) }) },
197
- cancelText: this._localeService.t("sheets-sort.dialog.cancel"),
198
- confirmText: this._localeService.t("sheets-sort.dialog.confirm")
197
+ cancelText: this._localeService.t("sheets-sort-ui.dialog.cancel"),
198
+ confirmText: this._localeService.t("sheets-sort-ui.dialog.confirm")
199
199
  });
200
200
  }
201
201
  async showExtendConfirm() {
202
202
  let shouldExtend = false;
203
203
  if (await this._confirmService.confirm({
204
204
  id: "extend-sort-range-dialog",
205
- title: { title: this._localeService.t("sheets-sort.dialog.sort-reminder") },
205
+ title: { title: this._localeService.t("sheets-sort-ui.dialog.sort-reminder") },
206
206
  children: { title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExtendConfirm, { onChange: (value) => {
207
207
  shouldExtend = value === "1";
208
208
  } }) },
209
209
  width: 400,
210
- cancelText: this._localeService.t("sheets-sort.dialog.cancel"),
211
- confirmText: this._localeService.t("sheets-sort.dialog.confirm")
210
+ cancelText: this._localeService.t("sheets-sort-ui.dialog.cancel"),
211
+ confirmText: this._localeService.t("sheets-sort-ui.dialog.confirm")
212
212
  })) return shouldExtend ? "extend" : "keep";
213
213
  return "cancel";
214
214
  }
@@ -241,7 +241,7 @@ let SheetsSortUIService = class SheetsSortUIService extends _univerjs_core.Dispo
241
241
  return true;
242
242
  }
243
243
  async _detectSortLocation(extend) {
244
- const workbook = this._univerInstanceService.getCurrentUnitForType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
244
+ const workbook = this._univerInstanceService.getCurrentUnitOfType(_univerjs_core.UniverInstanceType.UNIVER_SHEET);
245
245
  const worksheet = workbook.getActiveSheet();
246
246
  const unitId = workbook.getUnitId();
247
247
  const subUnitId = worksheet.getSheetId();
@@ -374,7 +374,7 @@ const SortRangeCustomInCtxMenuCommand = {
374
374
  //#endregion
375
375
  //#region package.json
376
376
  var name = "@univerjs/sheets-sort-ui";
377
- var version = "0.23.0";
377
+ var version = "0.24.0-insiders.20260527-b1d726f";
378
378
 
379
379
  //#endregion
380
380
  //#region src/config/config.ts
@@ -396,7 +396,7 @@ function sortRangeMenuFactory(accessor) {
396
396
  id: SHEETS_SORT_MENU_ID,
397
397
  type: _univerjs_ui.MenuItemType.SUBITEMS,
398
398
  icon: SHEETS_SORT_ASC_ICON,
399
- tooltip: "sheets-sort.general.sort",
399
+ tooltip: "sheets-sort-ui.general.sort",
400
400
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
401
401
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
402
402
  workbookTypes: [_univerjs_sheets.WorkbookEditablePermission],
@@ -409,7 +409,7 @@ function sortRangeAscMenuFactory(_accessor) {
409
409
  return {
410
410
  id: SortRangeAscCommand.id,
411
411
  icon: SHEETS_SORT_ASC_ICON,
412
- title: "sheets-sort.general.sort-asc-cur",
412
+ title: "sheets-sort-ui.general.sort-asc-cur",
413
413
  type: _univerjs_ui.MenuItemType.BUTTON,
414
414
  hidden$: (0, _univerjs_sheets_ui.getCurrentExclusiveRangeInterest$)(_accessor)
415
415
  };
@@ -417,7 +417,7 @@ function sortRangeAscMenuFactory(_accessor) {
417
417
  function sortRangeAscExtMenuFactory(_accessor) {
418
418
  return {
419
419
  id: SortRangeAscExtCommand.id,
420
- title: "sheets-sort.general.sort-asc-ext",
420
+ title: "sheets-sort-ui.general.sort-asc-ext",
421
421
  icon: SHEETS_SORT_ASC_EXT_ICON,
422
422
  type: _univerjs_ui.MenuItemType.BUTTON
423
423
  };
@@ -425,7 +425,7 @@ function sortRangeAscExtMenuFactory(_accessor) {
425
425
  function sortRangeDescMenuFactory(_accessor) {
426
426
  return {
427
427
  id: SortRangeDescCommand.id,
428
- title: "sheets-sort.general.sort-desc-cur",
428
+ title: "sheets-sort-ui.general.sort-desc-cur",
429
429
  icon: SHEETS_SORT_DESC_ICON,
430
430
  type: _univerjs_ui.MenuItemType.BUTTON
431
431
  };
@@ -433,7 +433,7 @@ function sortRangeDescMenuFactory(_accessor) {
433
433
  function sortRangeDescExtMenuFactory(_accessor) {
434
434
  return {
435
435
  id: SortRangeDescExtCommand.id,
436
- title: "sheets-sort.general.sort-desc-ext",
436
+ title: "sheets-sort-ui.general.sort-desc-ext",
437
437
  icon: SHEETS_SORT_DESC_EXT_ICON,
438
438
  type: _univerjs_ui.MenuItemType.BUTTON
439
439
  };
@@ -441,7 +441,7 @@ function sortRangeDescExtMenuFactory(_accessor) {
441
441
  function sortRangeCustomMenuFactory(_accessor) {
442
442
  return {
443
443
  id: SortRangeCustomCommand.id,
444
- title: "sheets-sort.general.sort-custom",
444
+ title: "sheets-sort-ui.general.sort-custom",
445
445
  type: _univerjs_ui.MenuItemType.BUTTON,
446
446
  icon: SHEETS_SORT_CUSTOM_ICON
447
447
  };
@@ -449,7 +449,7 @@ function sortRangeCustomMenuFactory(_accessor) {
449
449
  function sortRangeCtxMenuFactory(accessor) {
450
450
  return {
451
451
  id: SHEETS_SORT_CTX_MENU_ID,
452
- title: "sheets-sort.general.sort",
452
+ title: "sheets-sort-ui.general.sort",
453
453
  type: _univerjs_ui.MenuItemType.SUBITEMS,
454
454
  icon: SHEETS_SORT_ASC_ICON,
455
455
  hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
@@ -463,7 +463,7 @@ function sortRangeCtxMenuFactory(accessor) {
463
463
  function sortRangeAscCtxMenuFactory(_accessor) {
464
464
  return {
465
465
  id: SortRangeAscInCtxMenuCommand.id,
466
- title: "sheets-sort.general.sort-asc-cur",
466
+ title: "sheets-sort-ui.general.sort-asc-cur",
467
467
  type: _univerjs_ui.MenuItemType.BUTTON,
468
468
  icon: SHEETS_SORT_ASC_ICON,
469
469
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(_accessor, {
@@ -476,7 +476,7 @@ function sortRangeAscCtxMenuFactory(_accessor) {
476
476
  function sortRangeAscExtCtxMenuFactory(_accessor) {
477
477
  return {
478
478
  id: SortRangeAscExtInCtxMenuCommand.id,
479
- title: "sheets-sort.general.sort-asc-ext",
479
+ title: "sheets-sort-ui.general.sort-asc-ext",
480
480
  type: _univerjs_ui.MenuItemType.BUTTON,
481
481
  icon: SHEETS_SORT_ASC_EXT_ICON,
482
482
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(_accessor, {
@@ -489,7 +489,7 @@ function sortRangeAscExtCtxMenuFactory(_accessor) {
489
489
  function sortRangeDescCtxMenuFactory(_accessor) {
490
490
  return {
491
491
  id: SortRangeDescInCtxMenuCommand.id,
492
- title: "sheets-sort.general.sort-desc-cur",
492
+ title: "sheets-sort-ui.general.sort-desc-cur",
493
493
  type: _univerjs_ui.MenuItemType.BUTTON,
494
494
  icon: SHEETS_SORT_DESC_ICON,
495
495
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(_accessor, {
@@ -502,7 +502,7 @@ function sortRangeDescCtxMenuFactory(_accessor) {
502
502
  function sortRangeDescExtCtxMenuFactory(_accessor) {
503
503
  return {
504
504
  id: SortRangeDescExtInCtxMenuCommand.id,
505
- title: "sheets-sort.general.sort-desc-ext",
505
+ title: "sheets-sort-ui.general.sort-desc-ext",
506
506
  type: _univerjs_ui.MenuItemType.BUTTON,
507
507
  icon: SHEETS_SORT_DESC_EXT_ICON,
508
508
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(_accessor, {
@@ -515,7 +515,7 @@ function sortRangeDescExtCtxMenuFactory(_accessor) {
515
515
  function sortRangeCustomCtxMenuFactory(_accessor) {
516
516
  return {
517
517
  id: SortRangeCustomInCtxMenuCommand.id,
518
- title: "sheets-sort.general.sort-custom",
518
+ title: "sheets-sort-ui.general.sort-custom",
519
519
  type: _univerjs_ui.MenuItemType.BUTTON,
520
520
  icon: SHEETS_SORT_CUSTOM_ICON,
521
521
  disabled$: (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(_accessor, {
@@ -661,19 +661,19 @@ function CustomSortPanelImpl({ state }) {
661
661
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Checkbox, {
662
662
  checked: hasTitle,
663
663
  onChange: (value) => setTitle(!!value),
664
- children: localeService.t("sheets-sort.dialog.first-row-check")
664
+ children: localeService.t("sheets-sort-ui.dialog.first-row-check")
665
665
  }), canNew ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
666
666
  className: "univer-flex univer-cursor-pointer univer-select-none univer-items-center univer-text-base",
667
667
  onClick: newItem,
668
668
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.IncreaseIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
669
669
  className: "univer-ml-1.5",
670
- children: localeService.t("sheets-sort.dialog.add-condition")
670
+ children: localeService.t("sheets-sort-ui.dialog.add-condition")
671
671
  })]
672
672
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
673
673
  className: "univer-flex univer-cursor-pointer univer-select-none univer-items-center univer-text-base univer-text-primary-500 disabled:univer-cursor-not-allowed disabled:univer-divide-opacity-30 disabled:univer-text-gray-800",
674
674
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.IncreaseIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
675
675
  className: "univer-ml-1.5 univer-text-xs",
676
- children: localeService.t("sheets-sort.dialog.add-condition")
676
+ children: localeService.t("sheets-sort-ui.dialog.add-condition")
677
677
  })]
678
678
  })]
679
679
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -704,12 +704,12 @@ function CustomSortPanelImpl({ state }) {
704
704
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
705
705
  className: "univer-ml-3",
706
706
  onClick: () => cancel(),
707
- children: localeService.t("sheets-sort.dialog.cancel")
707
+ children: localeService.t("sheets-sort-ui.dialog.cancel")
708
708
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
709
709
  className: "univer-ml-3",
710
710
  variant: "primary",
711
711
  onClick: () => apply(list, hasTitle),
712
- children: localeService.t("sheets-sort.dialog.confirm")
712
+ children: localeService.t("sheets-sort-ui.dialog.confirm")
713
713
  })]
714
714
  })] });
715
715
  }
@@ -781,10 +781,10 @@ function SortOptionItem(props) {
781
781
  },
782
782
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
783
783
  value: _univerjs_sheets_sort.SortType.ASC,
784
- children: localeService.t("sheets-sort.general.sort-asc")
784
+ children: localeService.t("sheets-sort-ui.general.sort-asc")
785
785
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
786
786
  value: _univerjs_sheets_sort.SortType.DESC,
787
- children: localeService.t("sheets-sort.general.sort-desc")
787
+ children: localeService.t("sheets-sort-ui.general.sort-desc")
788
788
  })]
789
789
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
790
790
  className: "univer-flex univer-cursor-pointer univer-items-center univer-text-sm univer-transition-colors hover:univer-text-red-500",
@@ -834,10 +834,10 @@ function EmbedSortBtn(props) {
834
834
  className: "univer-mb-3 univer-w-full univer-grid-cols-2",
835
835
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_univerjs_design.Button, {
836
836
  onClick: () => apply(true),
837
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.AscendingIcon, {}), localeService.t("sheets-sort.general.sort-asc")]
837
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.AscendingIcon, {}), localeService.t("sheets-sort-ui.general.sort-asc")]
838
838
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_univerjs_design.Button, {
839
839
  onClick: () => apply(false),
840
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.DescendingIcon, {}), localeService.t("sheets-sort.general.sort-desc")]
840
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.DescendingIcon, {}), localeService.t("sheets-sort-ui.general.sort-desc")]
841
841
  })]
842
842
  });
843
843
  }
@@ -904,7 +904,7 @@ let SheetsSortUIController = class SheetsSortUIController extends _univerjs_core
904
904
  id: CUSTOM_SORT_DIALOG_ID,
905
905
  draggable: true,
906
906
  width: CUSTOM_SORT_PANEL_WIDTH,
907
- title: { title: `${this._localeService.t("sheets-sort.general.sort-custom")}: ${(0, _univerjs_engine_formula.serializeRange)(location.range)}` },
907
+ title: { title: `${this._localeService.t("sheets-sort-ui.general.sort-custom")}: ${(0, _univerjs_engine_formula.serializeRange)(location.range)}` },
908
908
  children: { label: "CustomSortPanel" },
909
909
  destroyOnClose: true,
910
910
  defaultPosition: getCustomSortDialogDefaultPosition(),
@@ -0,0 +1,34 @@
1
+
2
+ //#region src/locale/ar-SA.ts
3
+ const locale = { "sheets-sort-ui": {
4
+ general: {
5
+ sort: "فرز",
6
+ "sort-asc": "تصاعدي",
7
+ "sort-desc": "تنازلي",
8
+ "sort-custom": "فرز مخصص",
9
+ "sort-asc-ext": "فرز تصاعدي ممتد",
10
+ "sort-desc-ext": "فرز تنازلي ممتد",
11
+ "sort-asc-cur": "تصاعدي",
12
+ "sort-desc-cur": "تنازلي"
13
+ },
14
+ error: {
15
+ "merge-size": "يحتوي النطاق المحدد على خلايا مدمجة بأحجام مختلفة ولا يمكن فرزها.",
16
+ empty: "النطاق المحدد فارغ ولا يمكن فرزه.",
17
+ single: "يحتوي النطاق المحدد على صف واحد فقط ولا يمكن فرزه.",
18
+ "formula-array": "يحتوي النطاق المحدد على صيغ مصفوفة ولا يمكن فرزه."
19
+ },
20
+ dialog: {
21
+ "sort-reminder": "تذكير الفرز",
22
+ "sort-reminder-desc": "توسيع نطاق الفرز أم الاحتفاظ بنطاق الفرز الحالي؟",
23
+ "sort-reminder-ext": "توسيع نطاق الفرز",
24
+ "sort-reminder-no": "الاحتفاظ بنطاق الفرز",
25
+ "first-row-check": "الصف الأول لا يشارك في الفرز",
26
+ "add-condition": "إضافة شرط",
27
+ cancel: "إلغاء",
28
+ confirm: "تأكيد"
29
+ },
30
+ info: { tooltip: "تلميح" }
31
+ } };
32
+
33
+ //#endregion
34
+ module.exports = locale;
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ca-ES.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "Ordena",
6
6
  "sort-asc": "Ascendent",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "Afegeix condició",
27
27
  cancel: "Cancel·lar",
28
28
  confirm: "Confirmar"
29
- }
29
+ },
30
+ info: { tooltip: "Informació sobre l'eina" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -0,0 +1,34 @@
1
+
2
+ //#region src/locale/de-DE.ts
3
+ const locale = { "sheets-sort-ui": {
4
+ general: {
5
+ sort: "Sortieren",
6
+ "sort-asc": "Aufsteigend",
7
+ "sort-desc": "Absteigend",
8
+ "sort-custom": "Benutzerdefiniertes Sortieren",
9
+ "sort-asc-ext": "Aufsteigend erweitern",
10
+ "sort-desc-ext": "Absteigend erweitern",
11
+ "sort-asc-cur": "Aufsteigend",
12
+ "sort-desc-cur": "Absteigend"
13
+ },
14
+ error: {
15
+ "merge-size": "Der ausgewählte Bereich enthält verbundene Zellen unterschiedlicher Größe und kann nicht sortiert werden.",
16
+ empty: "Der ausgewählte Bereich hat keinen Inhalt und kann nicht sortiert werden.",
17
+ single: "Der ausgewählte Bereich hat nur eine Zeile und kann nicht sortiert werden.",
18
+ "formula-array": "Der ausgewählte Bereich enthält Matrixformeln und kann nicht sortiert werden."
19
+ },
20
+ dialog: {
21
+ "sort-reminder": "Sortierhinweis",
22
+ "sort-reminder-desc": "Bereichssortierung erweitern oder beibehalten?",
23
+ "sort-reminder-ext": "Bereichssortierung erweitern",
24
+ "sort-reminder-no": "Bereichssortierung beibehalten",
25
+ "first-row-check": "Erste Zeile nimmt nicht am Sortieren teil",
26
+ "add-condition": "Bedingung hinzufügen",
27
+ cancel: "Abbrechen",
28
+ confirm: "Bestätigen"
29
+ },
30
+ info: { tooltip: "Tooltip" }
31
+ } };
32
+
33
+ //#endregion
34
+ 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 = { "sheets-sort": {
18
+ const locale = { "sheets-sort-ui": {
19
19
  general: {
20
20
  sort: "Sort",
21
21
  "sort-asc": "Ascending",
@@ -41,7 +41,8 @@ const locale = { "sheets-sort": {
41
41
  "add-condition": "Add condition",
42
42
  cancel: "Cancel",
43
43
  confirm: "Confirm"
44
- }
44
+ },
45
+ info: { tooltip: "Tooltip" }
45
46
  } };
46
47
 
47
48
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/es-ES.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "Ordenar",
6
6
  "sort-asc": "Ascendente",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "Agregar condición",
27
27
  cancel: "Cancelar",
28
28
  confirm: "Confirmar"
29
- }
29
+ },
30
+ info: { tooltip: "Información sobre la herramienta" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/fa-IR.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "مرتب‌سازی",
6
6
  "sort-asc": "صعودی",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "افزودن شرط",
27
27
  cancel: "انصراف",
28
28
  confirm: "تایید"
29
- }
29
+ },
30
+ info: { tooltip: "راهنما" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/fr-FR.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "Trier",
6
6
  "sort-asc": "Croissant",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "Ajouter une condition",
27
27
  cancel: "Annuler",
28
28
  confirm: "Confirmer"
29
- }
29
+ },
30
+ info: { tooltip: "Info-bulle" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -0,0 +1,34 @@
1
+
2
+ //#region src/locale/id-ID.ts
3
+ const locale = { "sheets-sort-ui": {
4
+ general: {
5
+ sort: "Urutkan",
6
+ "sort-asc": "Menaik",
7
+ "sort-desc": "Menurun",
8
+ "sort-custom": "Urutan Kustom",
9
+ "sort-asc-ext": "Perluas Menaik",
10
+ "sort-desc-ext": "Perluas Menurun",
11
+ "sort-asc-cur": "Menaik",
12
+ "sort-desc-cur": "Menurun"
13
+ },
14
+ error: {
15
+ "merge-size": "Rentang yang dipilih mengandung sel yang digabungkan dengan ukuran berbeda, yang tidak dapat diurutkan.",
16
+ empty: "Rentang yang dipilih tidak memiliki konten dan tidak dapat diurutkan.",
17
+ single: "Rentang yang dipilih hanya memiliki satu baris dan tidak dapat diurutkan.",
18
+ "formula-array": "Rentang yang dipilih memiliki rumus array dan tidak dapat diurutkan."
19
+ },
20
+ dialog: {
21
+ "sort-reminder": "Pengingat Urutan",
22
+ "sort-reminder-desc": "Perluas pengurutan rentang atau pertahankan pengurutan rentang?",
23
+ "sort-reminder-ext": "Perluas pengurutan rentang",
24
+ "sort-reminder-no": "Pertahankan pengurutan rentang",
25
+ "first-row-check": "Baris pertama tidak ikut dalam pengurutan",
26
+ "add-condition": "Tambah kondisi",
27
+ cancel: "Batal",
28
+ confirm: "Konfirmasi"
29
+ },
30
+ info: { tooltip: "Tooltip" }
31
+ } };
32
+
33
+ //#endregion
34
+ module.exports = locale;
@@ -0,0 +1,34 @@
1
+
2
+ //#region src/locale/it-IT.ts
3
+ const locale = { "sheets-sort-ui": {
4
+ general: {
5
+ sort: "Ordinamento",
6
+ "sort-asc": "Crescente",
7
+ "sort-desc": "Decrescente",
8
+ "sort-custom": "Ordinamento personalizzato",
9
+ "sort-asc-ext": "Espandi crescente",
10
+ "sort-desc-ext": "Espandi decrescente",
11
+ "sort-asc-cur": "Crescente",
12
+ "sort-desc-cur": "Decrescente"
13
+ },
14
+ error: {
15
+ "merge-size": "L'intervallo selezionato contiene celle unite di dimensioni diverse e non può essere ordinato.",
16
+ empty: "L'intervallo selezionato non ha contenuto e non può essere ordinato.",
17
+ single: "L'intervallo selezionato ha una sola riga e non può essere ordinato.",
18
+ "formula-array": "L'intervallo selezionato contiene formule matriciali e non può essere ordinato."
19
+ },
20
+ dialog: {
21
+ "sort-reminder": "Promemoria ordinamento",
22
+ "sort-reminder-desc": "Estendere l'ordinamento all'intervallo o mantenerlo?",
23
+ "sort-reminder-ext": "Estendi ordinamento intervallo",
24
+ "sort-reminder-no": "Mantieni ordinamento intervallo",
25
+ "first-row-check": "La prima riga non partecipa all'ordinamento",
26
+ "add-condition": "Aggiungi condizione",
27
+ cancel: "Annulla",
28
+ confirm: "Conferma"
29
+ },
30
+ info: { tooltip: "Suggerimento" }
31
+ } };
32
+
33
+ //#endregion
34
+ module.exports = locale;
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ja-JP.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "並べ替え",
6
6
  "sort-asc": "昇順",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "条件を追加",
27
27
  cancel: "キャンセル",
28
28
  confirm: "確認"
29
- }
29
+ },
30
+ info: { tooltip: "ツールチップ" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ko-KR.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "정렬",
6
6
  "sort-asc": "오름차순",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "조건 추가",
27
27
  cancel: "취소",
28
28
  confirm: "확인"
29
- }
29
+ },
30
+ info: { tooltip: "툴팁" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -0,0 +1,34 @@
1
+
2
+ //#region src/locale/pl-PL.ts
3
+ const locale = { "sheets-sort-ui": {
4
+ general: {
5
+ sort: "Sortuj",
6
+ "sort-asc": "Rosnąco",
7
+ "sort-desc": "Malejąco",
8
+ "sort-custom": "Sortowanie niestandardowe",
9
+ "sort-asc-ext": "Rozszerz rosnąco",
10
+ "sort-desc-ext": "Rozszerz malejąco",
11
+ "sort-asc-cur": "Rosnąco",
12
+ "sort-desc-cur": "Malejąco"
13
+ },
14
+ error: {
15
+ "merge-size": "Wybrany zakres zawiera scalone komórki o różnych rozmiarach, których nie można sortować.",
16
+ empty: "Wybrany zakres nie zawiera treści i nie można go sortować.",
17
+ single: "Wybrany zakres ma tylko jeden wiersz i nie można go sortować.",
18
+ "formula-array": "Wybrany zakres zawiera formuły tablicowe i nie można go sortować."
19
+ },
20
+ dialog: {
21
+ "sort-reminder": "Przypomnienie o sortowaniu",
22
+ "sort-reminder-desc": "Rozszerzyć sortowanie zakresu czy zachować sortowanie zakresu?",
23
+ "sort-reminder-ext": "Rozszerz sortowanie zakresu",
24
+ "sort-reminder-no": "Zachowaj sortowanie zakresu",
25
+ "first-row-check": "Pierwszy wiersz nie bierze udziału w sortowaniu",
26
+ "add-condition": "Dodaj warunek",
27
+ cancel: "Anuluj",
28
+ confirm: "Potwierdź"
29
+ },
30
+ info: { tooltip: "Podpowiedź" }
31
+ } };
32
+
33
+ //#endregion
34
+ module.exports = locale;
@@ -0,0 +1,34 @@
1
+
2
+ //#region src/locale/pt-BR.ts
3
+ const locale = { "sheets-sort-ui": {
4
+ general: {
5
+ sort: "Ordenar",
6
+ "sort-asc": "Crescente",
7
+ "sort-desc": "Decrescente",
8
+ "sort-custom": "Ordenação Personalizada",
9
+ "sort-asc-ext": "Expandir Crescente",
10
+ "sort-desc-ext": "Expandir Decrescente",
11
+ "sort-asc-cur": "Crescente",
12
+ "sort-desc-cur": "Decrescente"
13
+ },
14
+ error: {
15
+ "merge-size": "O intervalo selecionado contém células mescladas de tamanhos diferentes e não pode ser ordenado.",
16
+ empty: "O intervalo selecionado não tem conteúdo e não pode ser ordenado.",
17
+ single: "O intervalo selecionado tem apenas uma linha e não pode ser ordenado.",
18
+ "formula-array": "O intervalo selecionado possui fórmulas de matriz e não pode ser ordenado."
19
+ },
20
+ dialog: {
21
+ "sort-reminder": "Lembrete de Ordenação",
22
+ "sort-reminder-desc": "Expandir a ordenação do intervalo ou manter a ordenação do intervalo?",
23
+ "sort-reminder-ext": "Expandir ordenação do intervalo",
24
+ "sort-reminder-no": "Manter ordenação do intervalo",
25
+ "first-row-check": "A primeira linha não participa da ordenação",
26
+ "add-condition": "Adicionar condição",
27
+ cancel: "Cancelar",
28
+ confirm: "Confirmar"
29
+ },
30
+ info: { tooltip: "Dica" }
31
+ } };
32
+
33
+ //#endregion
34
+ module.exports = locale;
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/ru-RU.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "Сортировка",
6
6
  "sort-asc": "По возрастанию",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "Добавить условие",
27
27
  cancel: "Отмена",
28
28
  confirm: "Подтвердить"
29
- }
29
+ },
30
+ info: { tooltip: "Подсказка" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/sk-SK.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "Triediť",
6
6
  "sort-asc": "Vzostupne",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "Pridať podmienku",
27
27
  cancel: "Zrušiť",
28
28
  confirm: "Potvrdiť"
29
- }
29
+ },
30
+ info: { tooltip: "Bublinový tip" }
30
31
  } };
31
32
 
32
33
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/locale/vi-VN.ts
3
- const locale = { "sheets-sort": {
3
+ const locale = { "sheets-sort-ui": {
4
4
  general: {
5
5
  sort: "Sắp xếp",
6
6
  "sort-asc": "Tăng dần",
@@ -26,7 +26,8 @@ const locale = { "sheets-sort": {
26
26
  "add-condition": "Thêm điều kiện sắp xếp",
27
27
  cancel: "Hủy bỏ",
28
28
  confirm: "Xác nhận"
29
- }
29
+ },
30
+ info: { tooltip: "Tooltip" }
30
31
  } };
31
32
 
32
33
  //#endregion