@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
@@ -1,51 +1,53 @@
1
1
  //#region src/locale/zh-CN.ts
2
- const locale = {
3
- "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": "聚焦选区"
2
+ const locale = { "find-replace": {
3
+ toolbar: "查找替换",
4
+ shortcut: {
5
+ "open-find-dialog": "打开查找对话框",
6
+ "open-replace-dialog": "打开替换对话框",
7
+ "close-dialog": "关闭查找替换对话框",
8
+ "go-to-next-match": "下一个匹配项",
9
+ "go-to-previous-match": "下一个匹配项",
10
+ "focus-selection": "聚焦选区",
11
+ panel: "查找替换"
12
+ },
13
+ dialog: {
14
+ title: "查找",
15
+ find: "查找",
16
+ replace: "替换",
17
+ "replace-all": "替换全部",
18
+ "find-placeholder": "输入查找内容",
19
+ "advanced-finding": "替换 / 高级查找",
20
+ "replace-placeholder": "输入替换内容",
21
+ "case-sensitive": "匹配大小写",
22
+ "match-the-whole-cell": "匹配整个单元格",
23
+ "find-scope": {
24
+ title: "查找范围",
25
+ "current-sheet": "当前子表",
26
+ workbook: "整个工作簿"
27
+ },
28
+ "find-direction": {
29
+ title: "查找顺序",
30
+ column: "按列查找",
31
+ row: "按行查找"
12
32
  },
13
- dialog: {
14
- title: "查找",
15
- find: "查找",
16
- replace: "替换",
17
- "replace-all": "替换全部",
18
- "find-placeholder": "输入查找内容",
19
- "advanced-finding": "替换 / 高级查找",
20
- "replace-placeholder": "输入替换内容",
21
- "case-sensitive": "匹配大小写",
22
- "match-the-whole-cell": "匹配整个单元格",
23
- "find-scope": {
24
- title: "查找范围",
25
- "current-sheet": "当前子表",
26
- workbook: "整个工作簿"
27
- },
28
- "find-direction": {
29
- title: "查找顺序",
30
- column: "按列查找",
31
- row: "按行查找"
32
- },
33
- "find-by": {
34
- title: "查找方式",
35
- formula: "查找公式",
36
- value: "查找值"
37
- },
38
- "no-match": "已完成搜索,但是未找到任何匹配项",
39
- "no-result": "无结果"
33
+ "find-by": {
34
+ title: "查找方式",
35
+ formula: "查找公式",
36
+ value: "查找值"
40
37
  },
41
- replace: {
42
- "all-success": "已全部替换 {0} 个匹配项",
43
- "all-failure": "替换失败",
44
- confirm: { title: "确定要替换所有的匹配项吗?" }
45
- }
38
+ "no-match": "已完成搜索,但是未找到任何匹配项",
39
+ "no-result": "无结果"
40
+ },
41
+ replace: {
42
+ "all-success": "已全部替换 {0} 个匹配项",
43
+ "all-failure": "替换失败",
44
+ confirm: { title: "确定要替换所有的匹配项吗?" }
46
45
  },
47
- "find-replace-shortcuts": "查找替换"
48
- };
46
+ button: {
47
+ confirm: "确定",
48
+ cancel: "取消"
49
+ }
50
+ } };
49
51
 
50
52
  //#endregion
51
53
  export { locale as default };
@@ -0,0 +1,53 @@
1
+ //#region src/locale/zh-HK.ts
2
+ const locale = { "find-replace": {
3
+ toolbar: "尋找替換",
4
+ shortcut: {
5
+ "open-find-dialog": "打開尋找對話框",
6
+ "open-replace-dialog": "打開取代對話框",
7
+ "close-dialog": "關閉尋找與取代對話框",
8
+ "go-to-next-match": "前往下一個匹配項",
9
+ "go-to-previous-match": "前往上一個匹配項",
10
+ "focus-selection": "聚焦選取範圍",
11
+ panel: "尋找替換"
12
+ },
13
+ dialog: {
14
+ title: "尋找",
15
+ find: "尋找",
16
+ replace: "取代",
17
+ "replace-all": "全部取代",
18
+ "case-sensitive": "區分大小寫",
19
+ "find-placeholder": "在此工作表中尋找",
20
+ "advanced-finding": "進階搜尋與取代",
21
+ "replace-placeholder": "輸入取代字串",
22
+ "match-the-whole-cell": "完全符合儲存格內容",
23
+ "find-direction": {
24
+ title: "尋找方向",
25
+ row: "按列搜尋",
26
+ column: "按欄搜尋"
27
+ },
28
+ "find-scope": {
29
+ title: "尋找範圍",
30
+ "current-sheet": "目前工作表",
31
+ workbook: "整個活頁簿"
32
+ },
33
+ "find-by": {
34
+ title: "尋找方式",
35
+ value: "按值尋找",
36
+ formula: "尋找公式"
37
+ },
38
+ "no-match": "已完成尋找,但未找到任何相符項目。",
39
+ "no-result": "無結果"
40
+ },
41
+ replace: {
42
+ "all-success": "已取代全部 {0} 個相符項目",
43
+ "all-failure": "取代失敗",
44
+ confirm: { title: "確定要取代所有相符項目嗎?" }
45
+ },
46
+ button: {
47
+ confirm: "確定",
48
+ cancel: "取消"
49
+ }
50
+ } };
51
+
52
+ //#endregion
53
+ export { locale as default };
@@ -1,51 +1,53 @@
1
1
  //#region src/locale/zh-TW.ts
2
- const locale = {
3
- "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": "聚焦選區"
2
+ const locale = { "find-replace": {
3
+ toolbar: "尋找替換",
4
+ shortcut: {
5
+ "open-find-dialog": "打開尋找對話框",
6
+ "open-replace-dialog": "打開取代對話框",
7
+ "close-dialog": "關閉尋找與取代對話框",
8
+ "go-to-next-match": "前往下一個匹配項",
9
+ "go-to-previous-match": "前往上一個匹配項",
10
+ "focus-selection": "聚焦選取範圍",
11
+ panel: "尋找替換"
12
+ },
13
+ dialog: {
14
+ title: "尋找",
15
+ find: "尋找",
16
+ replace: "取代",
17
+ "replace-all": "全部取代",
18
+ "case-sensitive": "區分大小寫",
19
+ "find-placeholder": "在此工作表中尋找",
20
+ "advanced-finding": "進階搜尋與取代",
21
+ "replace-placeholder": "輸入取代字串",
22
+ "match-the-whole-cell": "完全符合儲存格內容",
23
+ "find-direction": {
24
+ title: "尋找方向",
25
+ row: "按列搜尋",
26
+ column: "按欄搜尋"
27
+ },
28
+ "find-scope": {
29
+ title: "尋找範圍",
30
+ "current-sheet": "目前工作表",
31
+ workbook: "整個活頁簿"
12
32
  },
13
- dialog: {
14
- title: "",
15
- find: "",
16
- replace: "替換",
17
- "replace-all": "替換全部",
18
- "find-placeholder": "輸入查找內容",
19
- "advanced-finding": "取代 / 進階查找",
20
- "replace-placeholder": "輸入替換內容",
21
- "case-sensitive": "匹配大小寫",
22
- "match-the-whole-cell": "符合整個儲存格",
23
- "find-scope": {
24
- title: "找出範圍",
25
- "current-sheet": "目前子表",
26
- workbook: "整個工作簿"
27
- },
28
- "find-direction": {
29
- title: "找出順序",
30
- column: "按列查找",
31
- row: "按行查找"
32
- },
33
- "find-by": {
34
- title: "找出方式",
35
- formula: "找出公式",
36
- value: "查找值"
37
- },
38
- "no-match": "已完成搜索,但是未找到任何匹配項",
39
- "no-result": "無結果"
33
+ "find-by": {
34
+ title: "尋找方式",
35
+ value: "按值尋找",
36
+ formula: "尋找公式"
40
37
  },
41
- replace: {
42
- "all-success": "已全部替換 {0} 個匹配項",
43
- "all-failure": "替換失敗",
44
- confirm: { title: "確定要取代所有的符合項目嗎? " }
45
- }
38
+ "no-match": "已完成尋找,但未找到任何相符項目。",
39
+ "no-result": "無結果"
40
+ },
41
+ replace: {
42
+ "all-success": "已取代全部 {0} 個相符項目",
43
+ "all-failure": "取代失敗",
44
+ confirm: { title: "確定要取代所有相符項目嗎?" }
46
45
  },
47
- "find-replace-shortcuts": "尋找替換"
48
- };
46
+ button: {
47
+ confirm: "確定",
48
+ cancel: "取消"
49
+ }
50
+ } };
49
51
 
50
52
  //#endregion
51
53
  export { locale as default };
package/lib/index.js CHANGED
@@ -34,7 +34,7 @@ const FIND_REPLACE_DIALOG_FOCUS = "FIND_REPLACE_DIALOG_FOCUS";
34
34
  const FIND_REPLACE_REPLACE_REVEALED = "FIND_REPLACE_REPLACE_REVEALED";
35
35
 
36
36
  //#endregion
37
- //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
37
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
38
38
  function _typeof(o) {
39
39
  "@babel/helpers - typeof";
40
40
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -45,7 +45,7 @@ function _typeof(o) {
45
45
  }
46
46
 
47
47
  //#endregion
48
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
48
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
49
49
  function toPrimitive(t, r) {
50
50
  if ("object" != _typeof(t) || !t) return t;
51
51
  var e = t[Symbol.toPrimitive];
@@ -58,14 +58,14 @@ function toPrimitive(t, r) {
58
58
  }
59
59
 
60
60
  //#endregion
61
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
61
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
62
62
  function toPropertyKey(t) {
63
63
  var i = toPrimitive(t, "string");
64
64
  return "symbol" == _typeof(i) ? i : i + "";
65
65
  }
66
66
 
67
67
  //#endregion
68
- //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
68
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
69
69
  function _defineProperty(e, r, t) {
70
70
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
71
71
  value: t,
@@ -76,7 +76,7 @@ function _defineProperty(e, r, t) {
76
76
  }
77
77
 
78
78
  //#endregion
79
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorateParam.js
79
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
80
80
  function __decorateParam(paramIndex, decorator) {
81
81
  return function(target, key) {
82
82
  decorator(target, key, paramIndex);
@@ -84,7 +84,7 @@ function __decorateParam(paramIndex, decorator) {
84
84
  }
85
85
 
86
86
  //#endregion
87
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
87
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
88
88
  function __decorate(decorators, target, key, desc) {
89
89
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
90
90
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -687,8 +687,8 @@ const ReplaceAllMatchesCommand = {
687
687
  if (!await confirmService.confirm({
688
688
  id: CONFIRM_REPLACE_ALL_ID,
689
689
  title: { title: localeService.t("find-replace.replace.confirm.title") },
690
- cancelText: localeService.t("button.cancel"),
691
- confirmText: localeService.t("button.confirm")
690
+ cancelText: localeService.t("find-replace.button.cancel"),
691
+ confirmText: localeService.t("find-replace.button.confirm")
692
692
  })) return false;
693
693
  const { success, failure } = await accessor.get(IFindReplaceService).replaceAll();
694
694
  if (failure > 0) {
@@ -1096,6 +1096,7 @@ const OpenFindDialogShortcutItem = {
1096
1096
  description: "find-replace.shortcut.open-find-dialog",
1097
1097
  binding: KeyCode.F | MetaKeys.CTRL_COMMAND,
1098
1098
  group: FIND_REPLACE_SHORTCUT_GROUP,
1099
+ groupTitle: "find-replace.shortcut.panel",
1099
1100
  preconditions(contextService) {
1100
1101
  return !whenFindReplaceDialogFocused(contextService) && whenSheetFocused(contextService) && whenEditorNotActivated(contextService);
1101
1102
  }
@@ -1115,6 +1116,7 @@ const OpenReplaceDialogShortcutItem = {
1115
1116
  binding: KeyCode.H | MetaKeys.CTRL_COMMAND,
1116
1117
  mac: KeyCode.H | MetaKeys.MAC_CTRL,
1117
1118
  group: FIND_REPLACE_SHORTCUT_GROUP,
1119
+ groupTitle: "find-replace.shortcut.panel",
1118
1120
  preconditions(contextService) {
1119
1121
  return whenSheetFocused(contextService) && whenEditorNotActivated(contextService) && (!whenFindReplaceDialogFocused(contextService) || !whenReplaceRevealed(contextService));
1120
1122
  }
@@ -1124,6 +1126,7 @@ const GoToNextFindMatchShortcutItem = {
1124
1126
  description: "find-replace.shortcut.go-to-next-match",
1125
1127
  binding: KeyCode.ENTER,
1126
1128
  group: FIND_REPLACE_SHORTCUT_GROUP,
1129
+ groupTitle: "find-replace.shortcut.panel",
1127
1130
  priority: 1e3,
1128
1131
  preconditions(contextService) {
1129
1132
  return whenFindReplaceInputFocused(contextService) && whenFindReplaceDialogFocused(contextService);
@@ -1134,6 +1137,7 @@ const GoToPreviousFindMatchShortcutItem = {
1134
1137
  description: "find-replace.shortcut.go-to-previous-match",
1135
1138
  binding: KeyCode.ENTER | MetaKeys.SHIFT,
1136
1139
  group: FIND_REPLACE_SHORTCUT_GROUP,
1140
+ groupTitle: "find-replace.shortcut.panel",
1137
1141
  priority: 1e3,
1138
1142
  preconditions(contextService) {
1139
1143
  return whenFindReplaceInputFocused(contextService) && whenFindReplaceDialogFocused(contextService);
@@ -1144,6 +1148,7 @@ const FocusSelectionShortcutItem = {
1144
1148
  description: "find-replace.shortcut.focus-selection",
1145
1149
  binding: KeyCode.ESC,
1146
1150
  group: FIND_REPLACE_SHORTCUT_GROUP,
1151
+ groupTitle: "find-replace.shortcut.panel",
1147
1152
  priority: 1e3,
1148
1153
  preconditions(contextService) {
1149
1154
  return whenFindReplaceDialogFocused(contextService);
@@ -1260,7 +1265,7 @@ function getFindReplaceDialogDefaultPosition() {
1260
1265
  //#endregion
1261
1266
  //#region package.json
1262
1267
  var name = "@univerjs/find-replace";
1263
- var version = "0.24.0";
1268
+ var version = "0.25.0";
1264
1269
 
1265
1270
  //#endregion
1266
1271
  //#region src/config/config.ts
@@ -0,0 +1,53 @@
1
+ //#region src/locale/ar-SA.ts
2
+ const locale = { "find-replace": {
3
+ toolbar: "بحث واستبدال",
4
+ shortcut: {
5
+ "open-find-dialog": "فتح مربع حوار البحث",
6
+ "open-replace-dialog": "فتح مربع حوار الاستبدال",
7
+ "close-dialog": "إغلاق مربع حوار البحث والاستبدال",
8
+ "go-to-next-match": "الانتقال إلى التطابق التالي",
9
+ "go-to-previous-match": "الانتقال إلى التطابق السابق",
10
+ "focus-selection": "تركيز التحديد",
11
+ panel: "بحث واستبدال"
12
+ },
13
+ dialog: {
14
+ title: "بحث",
15
+ find: "بحث",
16
+ replace: "استبدال",
17
+ "replace-all": "استبدال الكل",
18
+ "case-sensitive": "حساس لحالة الأحرف",
19
+ "find-placeholder": "البحث في هذه الورقة",
20
+ "advanced-finding": "بحث واستبدال متقدم",
21
+ "replace-placeholder": "أدخل نص الاستبدال",
22
+ "match-the-whole-cell": "تطابق الخلية بأكملها",
23
+ "find-direction": {
24
+ title: "اتجاه البحث",
25
+ row: "البحث حسب الصف",
26
+ column: "البحث حسب العمود"
27
+ },
28
+ "find-scope": {
29
+ title: "نطاق البحث",
30
+ "current-sheet": "الورقة الحالية",
31
+ workbook: "المصنف"
32
+ },
33
+ "find-by": {
34
+ title: "البحث حسب",
35
+ value: "البحث حسب القيمة",
36
+ formula: "البحث في الصيغ"
37
+ },
38
+ "no-match": "اكتمل البحث ولكن لم يتم العثور على أي تطابق.",
39
+ "no-result": "لا توجد نتائج"
40
+ },
41
+ replace: {
42
+ "all-success": "تم استبدال {0} تطابقات",
43
+ "all-failure": "فشل الاستبدال",
44
+ confirm: { title: "هل أنت متأكد من استبدال جميع التطابقات؟" }
45
+ },
46
+ button: {
47
+ confirm: "موافق",
48
+ cancel: "إلغاء"
49
+ }
50
+ } };
51
+
52
+ //#endregion
53
+ export { locale as default };
@@ -1,51 +1,53 @@
1
1
  //#region src/locale/ca-ES.ts
2
- const locale = {
3
- "find-replace": {
4
- toolbar: "Cerca i reemplaça",
5
- shortcut: {
6
- "open-find-dialog": "Obre el diàleg de cerca",
7
- "open-replace-dialog": "Obre el diàleg de reemplaçament",
8
- "close-dialog": "Tanca el diàleg de cerca i reemplaça",
9
- "go-to-next-match": "Ves a la següent coincidència",
10
- "go-to-previous-match": "Ves a la coincidència anterior",
11
- "focus-selection": "Focalitza la selecció"
2
+ const locale = { "find-replace": {
3
+ toolbar: "Cerca i reemplaça",
4
+ shortcut: {
5
+ "open-find-dialog": "Obrir el diàleg de cerca",
6
+ "open-replace-dialog": "Obrir el diàleg de reemplaçament",
7
+ "close-dialog": "Tancar el diàleg de cerca i reemplaçament",
8
+ "go-to-next-match": "Anar a la següent coincidència",
9
+ "go-to-previous-match": "Anar a la coincidència anterior",
10
+ "focus-selection": "Enfocar la selecció",
11
+ panel: "Cerca i reemplaça"
12
+ },
13
+ dialog: {
14
+ title: "Cerca",
15
+ find: "Cerca",
16
+ replace: "Reemplaça",
17
+ "replace-all": "Reemplaça-ho tot",
18
+ "case-sensitive": "Distingeix majúscules de minúscules",
19
+ "find-placeholder": "Cerca en aquest full",
20
+ "advanced-finding": "Cerca i reemplaçament avançats",
21
+ "replace-placeholder": "Introduïu la cadena de reemplaçament",
22
+ "match-the-whole-cell": "Coincidir amb la cel·la sencera",
23
+ "find-direction": {
24
+ title: "Direcció de la cerca",
25
+ row: "Cerca per fila",
26
+ column: "Cerca per columna"
27
+ },
28
+ "find-scope": {
29
+ title: "Abast de la cerca",
30
+ "current-sheet": "Full actual",
31
+ workbook: "Llibre"
12
32
  },
13
- dialog: {
14
- title: "Cerca",
15
- find: "Cerca",
16
- replace: "Reemplaça",
17
- "replace-all": "Reemplaça-ho tot",
18
- "case-sensitive": "Distingeix majúscules i minúscules",
19
- "find-placeholder": "Cerca en aquest full",
20
- "advanced-finding": "Cerca i reemplaçament avançats",
21
- "replace-placeholder": "Introdueix el text de reemplaçament",
22
- "match-the-whole-cell": "Coincideix tota la cel·la",
23
- "find-direction": {
24
- title: "Direcció de cerca",
25
- row: "Cerca per fila",
26
- column: "Cerca per columna"
27
- },
28
- "find-scope": {
29
- title: "Abast de la cerca",
30
- "current-sheet": "Full actual",
31
- workbook: "Llibre"
32
- },
33
- "find-by": {
34
- title: "Cerca per",
35
- value: "Cerca per valor",
36
- formula: "Cerca fórmula"
37
- },
38
- "no-match": "Cerca completada però no s’ha trobat cap coincidència.",
39
- "no-result": "Sense resultats"
33
+ "find-by": {
34
+ title: "Cerca per",
35
+ value: "Cerca per valor",
36
+ formula: "Cerca fórmula"
40
37
  },
41
- replace: {
42
- "all-success": "S’han reemplaçat totes les {0} coincidències",
43
- "all-failure": "Error en reemplaçar",
44
- confirm: { title: "Esteu segur que voleu reemplaçar totes les coincidències?" }
45
- }
38
+ "no-match": "S'ha completat la cerca però no s'ha trobat cap coincidència.",
39
+ "no-result": "Sense resultats"
40
+ },
41
+ replace: {
42
+ "all-success": "S'han reemplaçat totes les {0} coincidències",
43
+ "all-failure": "Error en el reemplaçament",
44
+ confirm: { title: "Esteu segur que voleu reemplaçar totes les coincidències?" }
46
45
  },
47
- "find-replace-shortcuts": "Cerca i reemplaça"
48
- };
46
+ button: {
47
+ confirm: "D'acord",
48
+ cancel: "Cancel·lar"
49
+ }
50
+ } };
49
51
 
50
52
  //#endregion
51
53
  export { locale as default };
@@ -0,0 +1,53 @@
1
+ //#region src/locale/de-DE.ts
2
+ const locale = { "find-replace": {
3
+ toolbar: "Suchen & Ersetzen",
4
+ shortcut: {
5
+ "open-find-dialog": "Suchdialog öffnen",
6
+ "open-replace-dialog": "Ersetzungsdialog öffnen",
7
+ "close-dialog": "Suchen & Ersetzen-Dialog schließen",
8
+ "go-to-next-match": "Zum nächsten Treffer springen",
9
+ "go-to-previous-match": "Zum vorherigen Treffer springen",
10
+ "focus-selection": "Auswahl fokussieren",
11
+ panel: "Suchen & Ersetzen"
12
+ },
13
+ dialog: {
14
+ title: "Suchen",
15
+ find: "Suchen",
16
+ replace: "Ersetzen",
17
+ "replace-all": "Alle ersetzen",
18
+ "case-sensitive": "Groß-/Kleinschreibung beachten",
19
+ "find-placeholder": "In diesem Blatt suchen",
20
+ "advanced-finding": "Erweitertes Suchen & Ersetzen",
21
+ "replace-placeholder": "Ersetzungstext eingeben",
22
+ "match-the-whole-cell": "Ganze Zelle vergleichen",
23
+ "find-direction": {
24
+ title: "Suchrichtung",
25
+ row: "Nach Zeile suchen",
26
+ column: "Nach Spalte suchen"
27
+ },
28
+ "find-scope": {
29
+ title: "Suchbereich",
30
+ "current-sheet": "Aktuelles Blatt",
31
+ workbook: "Arbeitsmappe"
32
+ },
33
+ "find-by": {
34
+ title: "Suchen nach",
35
+ value: "Nach Wert suchen",
36
+ formula: "Formel suchen"
37
+ },
38
+ "no-match": "Suche abgeschlossen, aber kein Treffer gefunden.",
39
+ "no-result": "Kein Ergebnis"
40
+ },
41
+ replace: {
42
+ "all-success": "Alle {0} Treffer ersetzt",
43
+ "all-failure": "Ersetzen fehlgeschlagen",
44
+ confirm: { title: "Sollen alle Treffer ersetzt werden?" }
45
+ },
46
+ button: {
47
+ confirm: "OK",
48
+ cancel: "Abbrechen"
49
+ }
50
+ } };
51
+
52
+ //#endregion
53
+ export { locale as default };
@@ -14,53 +14,55 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- const locale = {
18
- "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"
17
+ const locale = { "find-replace": {
18
+ toolbar: "Find & Replace",
19
+ shortcut: {
20
+ "open-find-dialog": "Open Find Dialog",
21
+ "open-replace-dialog": "Open Replace Dialog",
22
+ "close-dialog": "Close Find & Replace Dialog",
23
+ "go-to-next-match": "Go to Next Match",
24
+ "go-to-previous-match": "Go to Previous Match",
25
+ "focus-selection": "Focus Selection",
26
+ panel: "Find & Replace"
27
+ },
28
+ dialog: {
29
+ title: "Find",
30
+ find: "Find",
31
+ replace: "Replace",
32
+ "replace-all": "Replace All",
33
+ "case-sensitive": "Case Sensitive",
34
+ "find-placeholder": "Find in this Sheet",
35
+ "advanced-finding": "Advanced Searching & Replace",
36
+ "replace-placeholder": "Input Replace String",
37
+ "match-the-whole-cell": "Match the Whole Cell",
38
+ "find-direction": {
39
+ title: "Find Direction",
40
+ row: "Search by Row",
41
+ column: "Search by Column"
42
+ },
43
+ "find-scope": {
44
+ title: "Find Range",
45
+ "current-sheet": "Current Sheet",
46
+ workbook: "Workbook"
27
47
  },
28
- dialog: {
29
- title: "Find",
30
- find: "Find",
31
- replace: "Replace",
32
- "replace-all": "Replace All",
33
- "case-sensitive": "Case Sensitive",
34
- "find-placeholder": "Find in this Sheet",
35
- "advanced-finding": "Advanced Searching & Replace",
36
- "replace-placeholder": "Input Replace String",
37
- "match-the-whole-cell": "Match the Whole Cell",
38
- "find-direction": {
39
- title: "Find Direction",
40
- row: "Search by Row",
41
- column: "Search by Column"
42
- },
43
- "find-scope": {
44
- title: "Find Range",
45
- "current-sheet": "Current Sheet",
46
- workbook: "Workbook"
47
- },
48
- "find-by": {
49
- title: "Find By",
50
- value: "Find by Value",
51
- formula: "Find Formula"
52
- },
53
- "no-match": "Finding completed but no match found.",
54
- "no-result": "No Result"
48
+ "find-by": {
49
+ title: "Find By",
50
+ value: "Find by Value",
51
+ formula: "Find Formula"
55
52
  },
56
- replace: {
57
- "all-success": "Replaced all {0} matches",
58
- "all-failure": "Replace failed",
59
- confirm: { title: "Are you sure to replace all matches?" }
60
- }
53
+ "no-match": "Finding completed but no match found.",
54
+ "no-result": "No Result"
55
+ },
56
+ replace: {
57
+ "all-success": "Replaced all {0} matches",
58
+ "all-failure": "Replace failed",
59
+ confirm: { title: "Are you sure to replace all matches?" }
61
60
  },
62
- "find-replace-shortcuts": "Find & Replace"
63
- };
61
+ button: {
62
+ confirm: "OK",
63
+ cancel: "Cancel"
64
+ }
65
+ } };
64
66
 
65
67
  //#endregion
66
68
  export { locale as default };