@univerjs/find-replace 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 +14 -9
  2. package/lib/cjs/locale/ar-SA.js +54 -0
  3. package/lib/cjs/locale/ca-ES.js +46 -44
  4. package/lib/cjs/locale/de-DE.js +54 -0
  5. package/lib/cjs/locale/en-US.js +46 -44
  6. package/lib/cjs/locale/es-ES.js +46 -44
  7. package/lib/cjs/locale/fa-IR.js +46 -44
  8. package/lib/cjs/locale/fr-FR.js +46 -44
  9. package/lib/cjs/locale/id-ID.js +54 -0
  10. package/lib/cjs/locale/it-IT.js +54 -0
  11. package/lib/cjs/locale/ja-JP.js +46 -44
  12. package/lib/cjs/locale/ko-KR.js +46 -44
  13. package/lib/cjs/locale/pl-PL.js +54 -0
  14. package/lib/cjs/locale/pt-BR.js +54 -0
  15. package/lib/cjs/locale/ru-RU.js +46 -44
  16. package/lib/cjs/locale/sk-SK.js +46 -44
  17. package/lib/cjs/locale/vi-VN.js +46 -44
  18. package/lib/cjs/locale/zh-CN.js +46 -44
  19. package/lib/cjs/locale/zh-HK.js +54 -0
  20. package/lib/cjs/locale/zh-TW.js +46 -44
  21. package/lib/es/index.js +14 -9
  22. package/lib/es/locale/ar-SA.js +53 -0
  23. package/lib/es/locale/ca-ES.js +46 -44
  24. package/lib/es/locale/de-DE.js +53 -0
  25. package/lib/es/locale/en-US.js +46 -44
  26. package/lib/es/locale/es-ES.js +46 -44
  27. package/lib/es/locale/fa-IR.js +46 -44
  28. package/lib/es/locale/fr-FR.js +46 -44
  29. package/lib/es/locale/id-ID.js +53 -0
  30. package/lib/es/locale/it-IT.js +53 -0
  31. package/lib/es/locale/ja-JP.js +46 -44
  32. package/lib/es/locale/ko-KR.js +46 -44
  33. package/lib/es/locale/pl-PL.js +53 -0
  34. package/lib/es/locale/pt-BR.js +53 -0
  35. package/lib/es/locale/ru-RU.js +46 -44
  36. package/lib/es/locale/sk-SK.js +46 -44
  37. package/lib/es/locale/vi-VN.js +46 -44
  38. package/lib/es/locale/zh-CN.js +46 -44
  39. package/lib/es/locale/zh-HK.js +53 -0
  40. package/lib/es/locale/zh-TW.js +46 -44
  41. package/lib/index.js +14 -9
  42. package/lib/locale/ar-SA.js +53 -0
  43. package/lib/locale/ca-ES.js +46 -44
  44. package/lib/locale/de-DE.js +53 -0
  45. package/lib/locale/en-US.js +46 -44
  46. package/lib/locale/es-ES.js +46 -44
  47. package/lib/locale/fa-IR.js +46 -44
  48. package/lib/locale/fr-FR.js +46 -44
  49. package/lib/locale/id-ID.js +53 -0
  50. package/lib/locale/it-IT.js +53 -0
  51. package/lib/locale/ja-JP.js +46 -44
  52. package/lib/locale/ko-KR.js +46 -44
  53. package/lib/locale/pl-PL.js +53 -0
  54. package/lib/locale/pt-BR.js +53 -0
  55. package/lib/locale/ru-RU.js +46 -44
  56. package/lib/locale/sk-SK.js +46 -44
  57. package/lib/locale/vi-VN.js +46 -44
  58. package/lib/locale/zh-CN.js +46 -44
  59. package/lib/locale/zh-HK.js +53 -0
  60. package/lib/locale/zh-TW.js +46 -44
  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 +5 -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 +8 -8
package/lib/cjs/index.js CHANGED
@@ -35,7 +35,7 @@ const FIND_REPLACE_DIALOG_FOCUS = "FIND_REPLACE_DIALOG_FOCUS";
35
35
  const FIND_REPLACE_REPLACE_REVEALED = "FIND_REPLACE_REPLACE_REVEALED";
36
36
 
37
37
  //#endregion
38
- //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
38
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
39
39
  function _typeof(o) {
40
40
  "@babel/helpers - typeof";
41
41
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -46,7 +46,7 @@ function _typeof(o) {
46
46
  }
47
47
 
48
48
  //#endregion
49
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
49
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
50
50
  function toPrimitive(t, r) {
51
51
  if ("object" != _typeof(t) || !t) return t;
52
52
  var e = t[Symbol.toPrimitive];
@@ -59,14 +59,14 @@ function toPrimitive(t, r) {
59
59
  }
60
60
 
61
61
  //#endregion
62
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
62
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
63
63
  function toPropertyKey(t) {
64
64
  var i = toPrimitive(t, "string");
65
65
  return "symbol" == _typeof(i) ? i : i + "";
66
66
  }
67
67
 
68
68
  //#endregion
69
- //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
69
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
70
70
  function _defineProperty(e, r, t) {
71
71
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
72
72
  value: t,
@@ -77,7 +77,7 @@ function _defineProperty(e, r, t) {
77
77
  }
78
78
 
79
79
  //#endregion
80
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
80
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
81
81
  function __decorateParam(paramIndex, decorator) {
82
82
  return function(target, key) {
83
83
  decorator(target, key, paramIndex);
@@ -85,7 +85,7 @@ function __decorateParam(paramIndex, decorator) {
85
85
  }
86
86
 
87
87
  //#endregion
88
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
88
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
89
89
  function __decorate(decorators, target, key, desc) {
90
90
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
91
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -688,8 +688,8 @@ const ReplaceAllMatchesCommand = {
688
688
  if (!await confirmService.confirm({
689
689
  id: CONFIRM_REPLACE_ALL_ID,
690
690
  title: { title: localeService.t("find-replace.replace.confirm.title") },
691
- cancelText: localeService.t("button.cancel"),
692
- confirmText: localeService.t("button.confirm")
691
+ cancelText: localeService.t("find-replace.button.cancel"),
692
+ confirmText: localeService.t("find-replace.button.confirm")
693
693
  })) return false;
694
694
  const { success, failure } = await accessor.get(IFindReplaceService).replaceAll();
695
695
  if (failure > 0) {
@@ -1097,6 +1097,7 @@ const OpenFindDialogShortcutItem = {
1097
1097
  description: "find-replace.shortcut.open-find-dialog",
1098
1098
  binding: _univerjs_ui.KeyCode.F | _univerjs_ui.MetaKeys.CTRL_COMMAND,
1099
1099
  group: FIND_REPLACE_SHORTCUT_GROUP,
1100
+ groupTitle: "find-replace.shortcut.panel",
1100
1101
  preconditions(contextService) {
1101
1102
  return !whenFindReplaceDialogFocused(contextService) && whenSheetFocused(contextService) && whenEditorNotActivated(contextService);
1102
1103
  }
@@ -1116,6 +1117,7 @@ const OpenReplaceDialogShortcutItem = {
1116
1117
  binding: _univerjs_ui.KeyCode.H | _univerjs_ui.MetaKeys.CTRL_COMMAND,
1117
1118
  mac: _univerjs_ui.KeyCode.H | _univerjs_ui.MetaKeys.MAC_CTRL,
1118
1119
  group: FIND_REPLACE_SHORTCUT_GROUP,
1120
+ groupTitle: "find-replace.shortcut.panel",
1119
1121
  preconditions(contextService) {
1120
1122
  return whenSheetFocused(contextService) && whenEditorNotActivated(contextService) && (!whenFindReplaceDialogFocused(contextService) || !whenReplaceRevealed(contextService));
1121
1123
  }
@@ -1125,6 +1127,7 @@ const GoToNextFindMatchShortcutItem = {
1125
1127
  description: "find-replace.shortcut.go-to-next-match",
1126
1128
  binding: _univerjs_ui.KeyCode.ENTER,
1127
1129
  group: FIND_REPLACE_SHORTCUT_GROUP,
1130
+ groupTitle: "find-replace.shortcut.panel",
1128
1131
  priority: 1e3,
1129
1132
  preconditions(contextService) {
1130
1133
  return whenFindReplaceInputFocused(contextService) && whenFindReplaceDialogFocused(contextService);
@@ -1135,6 +1138,7 @@ const GoToPreviousFindMatchShortcutItem = {
1135
1138
  description: "find-replace.shortcut.go-to-previous-match",
1136
1139
  binding: _univerjs_ui.KeyCode.ENTER | _univerjs_ui.MetaKeys.SHIFT,
1137
1140
  group: FIND_REPLACE_SHORTCUT_GROUP,
1141
+ groupTitle: "find-replace.shortcut.panel",
1138
1142
  priority: 1e3,
1139
1143
  preconditions(contextService) {
1140
1144
  return whenFindReplaceInputFocused(contextService) && whenFindReplaceDialogFocused(contextService);
@@ -1145,6 +1149,7 @@ const FocusSelectionShortcutItem = {
1145
1149
  description: "find-replace.shortcut.focus-selection",
1146
1150
  binding: _univerjs_ui.KeyCode.ESC,
1147
1151
  group: FIND_REPLACE_SHORTCUT_GROUP,
1152
+ groupTitle: "find-replace.shortcut.panel",
1148
1153
  priority: 1e3,
1149
1154
  preconditions(contextService) {
1150
1155
  return whenFindReplaceDialogFocused(contextService);
@@ -1261,7 +1266,7 @@ function getFindReplaceDialogDefaultPosition() {
1261
1266
  //#endregion
1262
1267
  //#region package.json
1263
1268
  var name = "@univerjs/find-replace";
1264
- var version = "0.24.0";
1269
+ var version = "0.25.0";
1265
1270
 
1266
1271
  //#endregion
1267
1272
  //#region src/config/config.ts
@@ -0,0 +1,54 @@
1
+
2
+ //#region src/locale/ar-SA.ts
3
+ const locale = { "find-replace": {
4
+ toolbar: "بحث واستبدال",
5
+ shortcut: {
6
+ "open-find-dialog": "فتح مربع حوار البحث",
7
+ "open-replace-dialog": "فتح مربع حوار الاستبدال",
8
+ "close-dialog": "إغلاق مربع حوار البحث والاستبدال",
9
+ "go-to-next-match": "الانتقال إلى التطابق التالي",
10
+ "go-to-previous-match": "الانتقال إلى التطابق السابق",
11
+ "focus-selection": "تركيز التحديد",
12
+ panel: "بحث واستبدال"
13
+ },
14
+ dialog: {
15
+ title: "بحث",
16
+ find: "بحث",
17
+ replace: "استبدال",
18
+ "replace-all": "استبدال الكل",
19
+ "case-sensitive": "حساس لحالة الأحرف",
20
+ "find-placeholder": "البحث في هذه الورقة",
21
+ "advanced-finding": "بحث واستبدال متقدم",
22
+ "replace-placeholder": "أدخل نص الاستبدال",
23
+ "match-the-whole-cell": "تطابق الخلية بأكملها",
24
+ "find-direction": {
25
+ title: "اتجاه البحث",
26
+ row: "البحث حسب الصف",
27
+ column: "البحث حسب العمود"
28
+ },
29
+ "find-scope": {
30
+ title: "نطاق البحث",
31
+ "current-sheet": "الورقة الحالية",
32
+ workbook: "المصنف"
33
+ },
34
+ "find-by": {
35
+ title: "البحث حسب",
36
+ value: "البحث حسب القيمة",
37
+ formula: "البحث في الصيغ"
38
+ },
39
+ "no-match": "اكتمل البحث ولكن لم يتم العثور على أي تطابق.",
40
+ "no-result": "لا توجد نتائج"
41
+ },
42
+ replace: {
43
+ "all-success": "تم استبدال {0} تطابقات",
44
+ "all-failure": "فشل الاستبدال",
45
+ confirm: { title: "هل أنت متأكد من استبدال جميع التطابقات؟" }
46
+ },
47
+ button: {
48
+ confirm: "موافق",
49
+ cancel: "إلغاء"
50
+ }
51
+ } };
52
+
53
+ //#endregion
54
+ module.exports = locale;
@@ -1,52 +1,54 @@
1
1
 
2
2
  //#region src/locale/ca-ES.ts
3
- const locale = {
4
- "find-replace": {
5
- toolbar: "Cerca i reemplaça",
6
- shortcut: {
7
- "open-find-dialog": "Obre el diàleg de cerca",
8
- "open-replace-dialog": "Obre el diàleg de reemplaçament",
9
- "close-dialog": "Tanca el diàleg de cerca i reemplaça",
10
- "go-to-next-match": "Ves a la següent coincidència",
11
- "go-to-previous-match": "Ves a la coincidència anterior",
12
- "focus-selection": "Focalitza la selecció"
3
+ const locale = { "find-replace": {
4
+ toolbar: "Cerca i reemplaça",
5
+ shortcut: {
6
+ "open-find-dialog": "Obrir el diàleg de cerca",
7
+ "open-replace-dialog": "Obrir el diàleg de reemplaçament",
8
+ "close-dialog": "Tancar el diàleg de cerca i reemplaçament",
9
+ "go-to-next-match": "Anar a la següent coincidència",
10
+ "go-to-previous-match": "Anar a la coincidència anterior",
11
+ "focus-selection": "Enfocar la selecció",
12
+ panel: "Cerca i reemplaça"
13
+ },
14
+ dialog: {
15
+ title: "Cerca",
16
+ find: "Cerca",
17
+ replace: "Reemplaça",
18
+ "replace-all": "Reemplaça-ho tot",
19
+ "case-sensitive": "Distingeix majúscules de minúscules",
20
+ "find-placeholder": "Cerca en aquest full",
21
+ "advanced-finding": "Cerca i reemplaçament avançats",
22
+ "replace-placeholder": "Introduïu la cadena de reemplaçament",
23
+ "match-the-whole-cell": "Coincidir amb la cel·la sencera",
24
+ "find-direction": {
25
+ title: "Direcció de la cerca",
26
+ row: "Cerca per fila",
27
+ column: "Cerca per columna"
28
+ },
29
+ "find-scope": {
30
+ title: "Abast de la cerca",
31
+ "current-sheet": "Full actual",
32
+ workbook: "Llibre"
13
33
  },
14
- dialog: {
15
- title: "Cerca",
16
- find: "Cerca",
17
- replace: "Reemplaça",
18
- "replace-all": "Reemplaça-ho tot",
19
- "case-sensitive": "Distingeix majúscules i minúscules",
20
- "find-placeholder": "Cerca en aquest full",
21
- "advanced-finding": "Cerca i reemplaçament avançats",
22
- "replace-placeholder": "Introdueix el text de reemplaçament",
23
- "match-the-whole-cell": "Coincideix tota la cel·la",
24
- "find-direction": {
25
- title: "Direcció de cerca",
26
- row: "Cerca per fila",
27
- column: "Cerca per columna"
28
- },
29
- "find-scope": {
30
- title: "Abast de la cerca",
31
- "current-sheet": "Full actual",
32
- workbook: "Llibre"
33
- },
34
- "find-by": {
35
- title: "Cerca per",
36
- value: "Cerca per valor",
37
- formula: "Cerca fórmula"
38
- },
39
- "no-match": "Cerca completada però no s’ha trobat cap coincidència.",
40
- "no-result": "Sense resultats"
34
+ "find-by": {
35
+ title: "Cerca per",
36
+ value: "Cerca per valor",
37
+ formula: "Cerca fórmula"
41
38
  },
42
- replace: {
43
- "all-success": "S’han reemplaçat totes les {0} coincidències",
44
- "all-failure": "Error en reemplaçar",
45
- confirm: { title: "Esteu segur que voleu reemplaçar totes les coincidències?" }
46
- }
39
+ "no-match": "S'ha completat la cerca però no s'ha trobat cap coincidència.",
40
+ "no-result": "Sense resultats"
41
+ },
42
+ replace: {
43
+ "all-success": "S'han reemplaçat totes les {0} coincidències",
44
+ "all-failure": "Error en el reemplaçament",
45
+ confirm: { title: "Esteu segur que voleu reemplaçar totes les coincidències?" }
47
46
  },
48
- "find-replace-shortcuts": "Cerca i reemplaça"
49
- };
47
+ button: {
48
+ confirm: "D'acord",
49
+ cancel: "Cancel·lar"
50
+ }
51
+ } };
50
52
 
51
53
  //#endregion
52
54
  module.exports = locale;
@@ -0,0 +1,54 @@
1
+
2
+ //#region src/locale/de-DE.ts
3
+ const locale = { "find-replace": {
4
+ toolbar: "Suchen & Ersetzen",
5
+ shortcut: {
6
+ "open-find-dialog": "Suchdialog öffnen",
7
+ "open-replace-dialog": "Ersetzungsdialog öffnen",
8
+ "close-dialog": "Suchen & Ersetzen-Dialog schließen",
9
+ "go-to-next-match": "Zum nächsten Treffer springen",
10
+ "go-to-previous-match": "Zum vorherigen Treffer springen",
11
+ "focus-selection": "Auswahl fokussieren",
12
+ panel: "Suchen & Ersetzen"
13
+ },
14
+ dialog: {
15
+ title: "Suchen",
16
+ find: "Suchen",
17
+ replace: "Ersetzen",
18
+ "replace-all": "Alle ersetzen",
19
+ "case-sensitive": "Groß-/Kleinschreibung beachten",
20
+ "find-placeholder": "In diesem Blatt suchen",
21
+ "advanced-finding": "Erweitertes Suchen & Ersetzen",
22
+ "replace-placeholder": "Ersetzungstext eingeben",
23
+ "match-the-whole-cell": "Ganze Zelle vergleichen",
24
+ "find-direction": {
25
+ title: "Suchrichtung",
26
+ row: "Nach Zeile suchen",
27
+ column: "Nach Spalte suchen"
28
+ },
29
+ "find-scope": {
30
+ title: "Suchbereich",
31
+ "current-sheet": "Aktuelles Blatt",
32
+ workbook: "Arbeitsmappe"
33
+ },
34
+ "find-by": {
35
+ title: "Suchen nach",
36
+ value: "Nach Wert suchen",
37
+ formula: "Formel suchen"
38
+ },
39
+ "no-match": "Suche abgeschlossen, aber kein Treffer gefunden.",
40
+ "no-result": "Kein Ergebnis"
41
+ },
42
+ replace: {
43
+ "all-success": "Alle {0} Treffer ersetzt",
44
+ "all-failure": "Ersetzen fehlgeschlagen",
45
+ confirm: { title: "Sollen alle Treffer ersetzt werden?" }
46
+ },
47
+ button: {
48
+ confirm: "OK",
49
+ cancel: "Abbrechen"
50
+ }
51
+ } };
52
+
53
+ //#endregion
54
+ module.exports = locale;
@@ -15,53 +15,55 @@
15
15
  * See the License for the specific language governing permissions and
16
16
  * limitations under the License.
17
17
  */
18
- const locale = {
19
- "find-replace": {
20
- toolbar: "Find & Replace",
21
- shortcut: {
22
- "open-find-dialog": "Open Find Dialog",
23
- "open-replace-dialog": "Open Replace Dialog",
24
- "close-dialog": "Close Find & Replace Dialog",
25
- "go-to-next-match": "Go to Next Match",
26
- "go-to-previous-match": "Go to Previous Match",
27
- "focus-selection": "Focus Selection"
18
+ const locale = { "find-replace": {
19
+ toolbar: "Find & Replace",
20
+ shortcut: {
21
+ "open-find-dialog": "Open Find Dialog",
22
+ "open-replace-dialog": "Open Replace Dialog",
23
+ "close-dialog": "Close Find & Replace Dialog",
24
+ "go-to-next-match": "Go to Next Match",
25
+ "go-to-previous-match": "Go to Previous Match",
26
+ "focus-selection": "Focus Selection",
27
+ panel: "Find & Replace"
28
+ },
29
+ dialog: {
30
+ title: "Find",
31
+ find: "Find",
32
+ replace: "Replace",
33
+ "replace-all": "Replace All",
34
+ "case-sensitive": "Case Sensitive",
35
+ "find-placeholder": "Find in this Sheet",
36
+ "advanced-finding": "Advanced Searching & Replace",
37
+ "replace-placeholder": "Input Replace String",
38
+ "match-the-whole-cell": "Match the Whole Cell",
39
+ "find-direction": {
40
+ title: "Find Direction",
41
+ row: "Search by Row",
42
+ column: "Search by Column"
43
+ },
44
+ "find-scope": {
45
+ title: "Find Range",
46
+ "current-sheet": "Current Sheet",
47
+ workbook: "Workbook"
28
48
  },
29
- dialog: {
30
- title: "Find",
31
- find: "Find",
32
- replace: "Replace",
33
- "replace-all": "Replace All",
34
- "case-sensitive": "Case Sensitive",
35
- "find-placeholder": "Find in this Sheet",
36
- "advanced-finding": "Advanced Searching & Replace",
37
- "replace-placeholder": "Input Replace String",
38
- "match-the-whole-cell": "Match the Whole Cell",
39
- "find-direction": {
40
- title: "Find Direction",
41
- row: "Search by Row",
42
- column: "Search by Column"
43
- },
44
- "find-scope": {
45
- title: "Find Range",
46
- "current-sheet": "Current Sheet",
47
- workbook: "Workbook"
48
- },
49
- "find-by": {
50
- title: "Find By",
51
- value: "Find by Value",
52
- formula: "Find Formula"
53
- },
54
- "no-match": "Finding completed but no match found.",
55
- "no-result": "No Result"
49
+ "find-by": {
50
+ title: "Find By",
51
+ value: "Find by Value",
52
+ formula: "Find Formula"
56
53
  },
57
- replace: {
58
- "all-success": "Replaced all {0} matches",
59
- "all-failure": "Replace failed",
60
- confirm: { title: "Are you sure to replace all matches?" }
61
- }
54
+ "no-match": "Finding completed but no match found.",
55
+ "no-result": "No Result"
56
+ },
57
+ replace: {
58
+ "all-success": "Replaced all {0} matches",
59
+ "all-failure": "Replace failed",
60
+ confirm: { title: "Are you sure to replace all matches?" }
62
61
  },
63
- "find-replace-shortcuts": "Find & Replace"
64
- };
62
+ button: {
63
+ confirm: "OK",
64
+ cancel: "Cancel"
65
+ }
66
+ } };
65
67
 
66
68
  //#endregion
67
69
  module.exports = locale;
@@ -1,52 +1,54 @@
1
1
 
2
2
  //#region src/locale/es-ES.ts
3
- const locale = {
4
- "find-replace": {
5
- toolbar: "Buscar y reemplazar",
6
- shortcut: {
7
- "open-find-dialog": "Abrir diálogo de búsqueda",
8
- "open-replace-dialog": "Abrir diálogo de reemplazo",
9
- "close-dialog": "Cerrar diálogo de buscar y reemplazar",
10
- "go-to-next-match": "Ir a la siguiente coincidencia",
11
- "go-to-previous-match": "Ir a la coincidencia anterior",
12
- "focus-selection": "Enfocar selección"
3
+ const locale = { "find-replace": {
4
+ toolbar: "Buscar y reemplazar",
5
+ shortcut: {
6
+ "open-find-dialog": "Abrir cuadro de diálogo de búsqueda",
7
+ "open-replace-dialog": "Abrir cuadro de diálogo de reemplazo",
8
+ "close-dialog": "Cerrar cuadro de diálogo de búsqueda y reemplazo",
9
+ "go-to-next-match": "Ir a la siguiente coincidencia",
10
+ "go-to-previous-match": "Ir a la coincidencia anterior",
11
+ "focus-selection": "Enfocar selección",
12
+ panel: "Buscar y reemplazar"
13
+ },
14
+ dialog: {
15
+ title: "Buscar",
16
+ find: "Buscar",
17
+ replace: "Reemplazar",
18
+ "replace-all": "Reemplazar todo",
19
+ "case-sensitive": "Distinguir mayúsculas y minúsculas",
20
+ "find-placeholder": "Buscar en esta hoja",
21
+ "advanced-finding": "Búsqueda y reemplazo avanzados",
22
+ "replace-placeholder": "Introducir cadena de reemplazo",
23
+ "match-the-whole-cell": "Coincidir con toda la celda",
24
+ "find-direction": {
25
+ title: "Dirección de búsqueda",
26
+ row: "Buscar por fila",
27
+ column: "Buscar por columna"
28
+ },
29
+ "find-scope": {
30
+ title: "Rango de búsqueda",
31
+ "current-sheet": "Hoja actual",
32
+ workbook: "Libro"
13
33
  },
14
- dialog: {
15
- title: "Buscar",
16
- find: "Buscar",
17
- replace: "Reemplazar",
18
- "replace-all": "Reemplazar todo",
19
- "case-sensitive": "Distinguir mayúsculas y minúsculas",
20
- "find-placeholder": "Buscar en esta hoja",
21
- "advanced-finding": "Búsqueda y reemplazo avanzados",
22
- "replace-placeholder": "Introducir texto de reemplazo",
23
- "match-the-whole-cell": "Coincidir toda la celda",
24
- "find-direction": {
25
- title: "Dirección de búsqueda",
26
- row: "Buscar por fila",
27
- column: "Buscar por columna"
28
- },
29
- "find-scope": {
30
- title: "Rango de búsqueda",
31
- "current-sheet": "Hoja actual",
32
- workbook: "Libro"
33
- },
34
- "find-by": {
35
- title: "Buscar por",
36
- value: "Buscar por valor",
37
- formula: "Buscar fórmula"
38
- },
39
- "no-match": "Búsqueda completada pero no se encontraron coincidencias.",
40
- "no-result": "Sin resultados"
34
+ "find-by": {
35
+ title: "Buscar por",
36
+ value: "Buscar por valor",
37
+ formula: "Buscar fórmula"
41
38
  },
42
- replace: {
43
- "all-success": "Se reemplazaron las {0} coincidencias",
44
- "all-failure": "Error al reemplazar",
45
- confirm: { title: "¿Está seguro de reemplazar todas las coincidencias?" }
46
- }
39
+ "no-match": "Búsqueda completada pero no se encontraron coincidencias.",
40
+ "no-result": "Sin resultados"
41
+ },
42
+ replace: {
43
+ "all-success": "Se reemplazaron todas las {0} coincidencias",
44
+ "all-failure": "Error al reemplazar",
45
+ confirm: { title: "¿Está seguro de que desea reemplazar todas las coincidencias?" }
47
46
  },
48
- "find-replace-shortcuts": "Buscar y reemplazar"
49
- };
47
+ button: {
48
+ confirm: "Aceptar",
49
+ cancel: "Cancelar"
50
+ }
51
+ } };
50
52
 
51
53
  //#endregion
52
54
  module.exports = locale;
@@ -1,52 +1,54 @@
1
1
 
2
2
  //#region src/locale/fa-IR.ts
3
- const locale = {
4
- "find-replace": {
5
- toolbar: "یافتن و جایگزینی",
6
- shortcut: {
7
- "open-find-dialog": "باز کردن پنجره گفتگوی یافتن",
8
- "open-replace-dialog": "باز کردن پنجره گفتگوی جایگزینی",
9
- "close-dialog": "بستن پنجره گفتگوی یافتن و جایگزینی",
10
- "go-to-next-match": "رفتن به تطابق بعدی",
11
- "go-to-previous-match": "رفتن به تطابق قبلی",
12
- "focus-selection": "تمرکز بر روی انتخاب"
3
+ const locale = { "find-replace": {
4
+ toolbar: "یافتن و جایگزینی",
5
+ shortcut: {
6
+ "open-find-dialog": "باز کردن پنجره جستجو",
7
+ "open-replace-dialog": "باز کردن پنجره جایگزینی",
8
+ "close-dialog": "بستن پنجره جستجو و جایگزینی",
9
+ "go-to-next-match": "رفتن به مورد تطابق بعدی",
10
+ "go-to-previous-match": "رفتن به مورد تطابق قبلی",
11
+ "focus-selection": "تمرکز بر انتخاب",
12
+ panel: "یافتن و جایگزینی"
13
+ },
14
+ dialog: {
15
+ title: "جستجو",
16
+ find: "جستجو",
17
+ replace: "جایگزینی",
18
+ "replace-all": "جایگزینی همه",
19
+ "case-sensitive": "حساس به حروف بزرگ و کوچک",
20
+ "find-placeholder": "جستجو در این شیت",
21
+ "advanced-finding": "جستجو و جایگزینی پیشرفته",
22
+ "replace-placeholder": "رشته جایگزینی را وارد کنید",
23
+ "match-the-whole-cell": "تطابق کل سلول",
24
+ "find-direction": {
25
+ title: "جهت جستجو",
26
+ row: "جستجو بر اساس ردیف",
27
+ column: "جستجو بر اساس ستون"
28
+ },
29
+ "find-scope": {
30
+ title: "محدوده جستجو",
31
+ "current-sheet": "شیت فعلی",
32
+ workbook: "کتاب کار"
13
33
  },
14
- dialog: {
15
- title: "یافتن",
16
- find: "یافتن",
17
- replace: "جایگزینی",
18
- "replace-all": "جایگزینی همه",
19
- "case-sensitive": "حساس به حروف کوچک و بزرگ",
20
- "find-placeholder": "یافتن در این برگ",
21
- "advanced-finding": "جستجوی پیشرفته و جایگزینی",
22
- "replace-placeholder": "ورود رشته جایگزین",
23
- "match-the-whole-cell": "مطابقت با کل سلول",
24
- "find-direction": {
25
- title: "جهت یافتن",
26
- row: "جستجو بر اساس سطر",
27
- column: "جستجو بر اساس ستون"
28
- },
29
- "find-scope": {
30
- title: "محدوده یافتن",
31
- "current-sheet": "برگ فعلی",
32
- workbook: "کتاب کار"
33
- },
34
- "find-by": {
35
- title: "یافتن بر اساس",
36
- value: "یافتن بر اساس مقدار",
37
- formula: "یافتن فرمول"
38
- },
39
- "no-match": "یافتن تکمیل شد اما هیچ تطابقی یافت نشد.",
40
- "no-result": "نتیجه‌ای وجود ندارد"
34
+ "find-by": {
35
+ title: "جستجو بر اساس",
36
+ value: "جستجو بر اساس مقدار",
37
+ formula: "جستجوی فرمول"
41
38
  },
42
- replace: {
43
- "all-success": "همه {0} تطابق جایگزین شد",
44
- "all-failure": "جایگزینی ناموفق بود",
45
- confirm: { title: "آیا مطمئن هستید که همه تطابق‌ها را جایگزین کنید؟" }
46
- }
39
+ "no-match": "جستجو تکمیل شد اما هیچ تطابقی یافت نشد.",
40
+ "no-result": "بدون نتیجه"
41
+ },
42
+ replace: {
43
+ "all-success": "همه {0} مورد تطابق جایگزین شدند",
44
+ "all-failure": "جایگزینی ناموفق بود",
45
+ confirm: { title: "آیا مطمئن هستید که می‌خواهید همه موارد تطابق را جایگزین کنید؟" }
47
46
  },
48
- "find-replace-shortcuts": "یافتن و جایگزینی"
49
- };
47
+ button: {
48
+ confirm: "تایید",
49
+ cancel: "انصراف"
50
+ }
51
+ } };
50
52
 
51
53
  //#endregion
52
54
  module.exports = locale;