@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,52 +1,54 @@
1
1
 
2
2
  //#region src/locale/sk-SK.ts
3
- const locale = {
4
- "find-replace": {
5
- toolbar: "Hľadať a nahradiť",
6
- shortcut: {
7
- "open-find-dialog": "Otvoriť dialóg Hľadať",
8
- "open-replace-dialog": "Otvoriť dialóg Nahradiť",
9
- "close-dialog": "Zavrieť dialóg Hľadať a nahradiť",
10
- "go-to-next-match": "Prejsť na ďalšiu zhodu",
11
- "go-to-previous-match": "Prejsť na predchádzajúcu zhodu",
12
- "focus-selection": "Zamerať výber"
3
+ const locale = { "find-replace": {
4
+ toolbar: "Hľadať a nahradiť",
5
+ shortcut: {
6
+ "open-find-dialog": "Otvoriť dialógové okno hľadania",
7
+ "open-replace-dialog": "Otvoriť dialógové okno nahradenia",
8
+ "close-dialog": "Zavrieť dialógové okno hľadania a nahradenia",
9
+ "go-to-next-match": "Prejsť na ďalšiu zhodu",
10
+ "go-to-previous-match": "Prejsť na predchádzajúcu zhodu",
11
+ "focus-selection": "Zamerať výber",
12
+ panel: "Hľadať a nahradiť"
13
+ },
14
+ dialog: {
15
+ title: "Hľadať",
16
+ find: "Hľadať",
17
+ replace: "Nahradiť",
18
+ "replace-all": "Nahradiť všetko",
19
+ "case-sensitive": "Rozlišovať veľké a malé písmená",
20
+ "find-placeholder": "Hľadať v tomto hárku",
21
+ "advanced-finding": "Pokročilé hľadanie a nahradenie",
22
+ "replace-placeholder": "Zadajte reťazec na nahradenie",
23
+ "match-the-whole-cell": "Zhoda s celou bunkou",
24
+ "find-direction": {
25
+ title: "Smer hľadania",
26
+ row: "Hľadať podľa riadkov",
27
+ column: "Hľadať podľa stĺpcov"
28
+ },
29
+ "find-scope": {
30
+ title: "Rozsah hľadania",
31
+ "current-sheet": "Aktuálny hárok",
32
+ workbook: "Zošit"
13
33
  },
14
- dialog: {
15
- title: "Hľadať",
16
- find: "Hľadať",
17
- replace: "Nahradiť",
18
- "replace-all": "Nahradiť všetko",
19
- "case-sensitive": "Rozlišovať veľkosť písmen",
20
- "find-placeholder": "Hľadať v tomto hárku",
21
- "advanced-finding": "Rozšírené hľadanie a nahrádzanie",
22
- "replace-placeholder": "Zadajte reťazec na nahradenie",
23
- "match-the-whole-cell": "Zhodovať celú bunku",
24
- "find-direction": {
25
- title: "Smer hľadania",
26
- row: "Hľadať podľa riadkov",
27
- column: "Hľadať podľa stĺpcov"
28
- },
29
- "find-scope": {
30
- title: "Rozsah hľadania",
31
- "current-sheet": "Aktuálny hárok",
32
- workbook: "Zošit"
33
- },
34
- "find-by": {
35
- title: "Hľadať podľa",
36
- value: "Hľadať podľa hodnoty",
37
- formula: "Hľadať podľa vzorca"
38
- },
39
- "no-match": "Hľadanie dokončené, ale nenašla sa zhoda.",
40
- "no-result": "Žiadny výsledok"
34
+ "find-by": {
35
+ title: "Hľadať podľa",
36
+ value: "Hľadať podľa hodnoty",
37
+ formula: "Hľadať vzorec"
41
38
  },
42
- replace: {
43
- "all-success": "Nahradených všetkých {0} zhôd",
44
- "all-failure": "Nahradenie zlyhalo",
45
- confirm: { title: "Naozaj nahradiť všetky zhody?" }
46
- }
39
+ "no-match": "Hľadanie bolo dokončené, ale nenašla sa žiadna zhoda.",
40
+ "no-result": "Žiadne výsledky"
41
+ },
42
+ replace: {
43
+ "all-success": "Všetkých {0} zhôd bolo nahradených",
44
+ "all-failure": "Nahradenie zlyhalo",
45
+ confirm: { title: "Ste si istí, že chcete nahradiť všetky zhody?" }
47
46
  },
48
- "find-replace-shortcuts": "Hľadať a nahradiť"
49
- };
47
+ button: {
48
+ confirm: "OK",
49
+ cancel: "Zrušiť"
50
+ }
51
+ } };
50
52
 
51
53
  //#endregion
52
54
  module.exports = locale;
@@ -1,52 +1,54 @@
1
1
 
2
2
  //#region src/locale/vi-VN.ts
3
- const locale = {
4
- "find-replace": {
5
- toolbar: "Tìm kiếm và Thay thế",
6
- shortcut: {
7
- "open-find-dialog": "Mở hộp thoại tìm kiếm",
8
- "open-replace-dialog": "Mở hộp thoại thay thế",
9
- "close-dialog": "Đóng hộp thoại tìm kiếm và thay thế",
10
- "go-to-next-match": "Đến mục khớp tiếp theo",
11
- "go-to-previous-match": "Đến mục khớp trước đó",
12
- "focus-selection": "Tập trung vào lựa chọn"
3
+ const locale = { "find-replace": {
4
+ toolbar: "Tìm kiếm và Thay thế",
5
+ shortcut: {
6
+ "open-find-dialog": "Mở hộp thoại Tìm kiếm",
7
+ "open-replace-dialog": "Mở hộp thoại Thay thế",
8
+ "close-dialog": "Đóng hộp thoại Tìm kiếm & Thay thế",
9
+ "go-to-next-match": "Chuyển đến kết quả tiếp theo",
10
+ "go-to-previous-match": "Chuyển đến kết quả trước đó",
11
+ "focus-selection": "Tập trung vào vùng chọn",
12
+ panel: "Tìm kiếm Thay thế"
13
+ },
14
+ dialog: {
15
+ title: "Tìm kiếm",
16
+ find: "Tìm kiếm",
17
+ replace: "Thay thế",
18
+ "replace-all": "Thay thế Tất cả",
19
+ "case-sensitive": "Phân biệt chữ hoa chữ thường",
20
+ "find-placeholder": "Tìm trong Trang tính này",
21
+ "advanced-finding": "Tìm kiếm & Thay thế Nâng cao",
22
+ "replace-placeholder": "Nhập chuỗi thay thế",
23
+ "match-the-whole-cell": "Khớp toàn bộ ô",
24
+ "find-direction": {
25
+ title: "Hướng tìm kiếm",
26
+ row: "Tìm theo hàng",
27
+ column: "Tìm theo cột"
28
+ },
29
+ "find-scope": {
30
+ title: "Phạm vi tìm kiếm",
31
+ "current-sheet": "Trang tính hiện tại",
32
+ workbook: "Sổ làm việc"
13
33
  },
14
- dialog: {
15
- title: "Tìm kiếm",
16
- find: "Tìm kiếm",
17
- replace: "Thay thế",
18
- "replace-all": "Thay thế tất cả",
19
- "find-placeholder": "Nhập nội dung tìm kiếm",
20
- "advanced-finding": "Thay thế / Tìm kiếm nâng cao",
21
- "replace-placeholder": "Nhập nội dung thay thế",
22
- "case-sensitive": "Phân biệt chữ hoa chữ thường",
23
- "match-the-whole-cell": "Khớp toàn bộ ô",
24
- "find-scope": {
25
- title: "Phạm vi tìm kiếm",
26
- "current-sheet": "Bảng hiện tại",
27
- workbook: "Toàn bộ sổ làm việc"
28
- },
29
- "find-direction": {
30
- title: "Thứ tự tìm kiếm",
31
- column: "Tìm theo cột",
32
- row: "Tìm theo hàng"
33
- },
34
- "find-by": {
35
- title: "Phương thức tìm kiếm",
36
- formula: "Tìm công thức",
37
- value: "Tìm giá trị"
38
- },
39
- "no-match": "Đã hoàn thành tìm kiếm nhưng không tìm thấy mục nào khớp",
40
- "no-result": "Không có kết quả"
34
+ "find-by": {
35
+ title: "Tìm theo",
36
+ value: "Tìm theo giá trị",
37
+ formula: "Tìm công thức"
41
38
  },
42
- replace: {
43
- "all-success": "Đã thay thế tất cả {0} mục khớp",
44
- "all-failure": "Thay thế thất bại",
45
- confirm: { title: "Bạn có chắc muốn thay thế tất cả các mục khớp không?" }
46
- }
39
+ "no-match": "Đã hoàn thành tìm kiếm nhưng không tìm thấy kết quả phù hợp.",
40
+ "no-result": "Không kết quả"
41
+ },
42
+ replace: {
43
+ "all-success": "Đã thay thế tất cả {0} kết quả phù hợp",
44
+ "all-failure": "Thay thế thất bại",
45
+ confirm: { title: "Bạn có chắc chắn muốn thay thế tất cả các kết quả phù hợp không?" }
47
46
  },
48
- "find-replace-shortcuts": "Tìm kiếm và Thay thế"
49
- };
47
+ button: {
48
+ confirm: "Xác nhận",
49
+ cancel: "Hủy"
50
+ }
51
+ } };
50
52
 
51
53
  //#endregion
52
54
  module.exports = locale;
@@ -1,52 +1,54 @@
1
1
 
2
2
  //#region src/locale/zh-CN.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
+ "find-placeholder": "输入查找内容",
20
+ "advanced-finding": "替换 / 高级查找",
21
+ "replace-placeholder": "输入替换内容",
22
+ "case-sensitive": "匹配大小写",
23
+ "match-the-whole-cell": "匹配整个单元格",
24
+ "find-scope": {
25
+ title: "查找范围",
26
+ "current-sheet": "当前子表",
27
+ workbook: "整个工作簿"
28
+ },
29
+ "find-direction": {
30
+ title: "查找顺序",
31
+ column: "按列查找",
32
+ row: "按行查找"
13
33
  },
14
- dialog: {
15
- title: "查找",
16
- find: "查找",
17
- replace: "替换",
18
- "replace-all": "替换全部",
19
- "find-placeholder": "输入查找内容",
20
- "advanced-finding": "替换 / 高级查找",
21
- "replace-placeholder": "输入替换内容",
22
- "case-sensitive": "匹配大小写",
23
- "match-the-whole-cell": "匹配整个单元格",
24
- "find-scope": {
25
- title: "查找范围",
26
- "current-sheet": "当前子表",
27
- workbook: "整个工作簿"
28
- },
29
- "find-direction": {
30
- title: "查找顺序",
31
- column: "按列查找",
32
- row: "按行查找"
33
- },
34
- "find-by": {
35
- title: "查找方式",
36
- formula: "查找公式",
37
- value: "查找值"
38
- },
39
- "no-match": "已完成搜索,但是未找到任何匹配项",
40
- "no-result": "无结果"
34
+ "find-by": {
35
+ title: "查找方式",
36
+ formula: "查找公式",
37
+ value: "查找值"
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;
@@ -0,0 +1,54 @@
1
+
2
+ //#region src/locale/zh-HK.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/zh-TW.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
- "find-placeholder": "輸入查找內容",
20
- "advanced-finding": "取代 / 進階查找",
21
- "replace-placeholder": "輸入替換內容",
22
- "case-sensitive": "匹配大小寫",
23
- "match-the-whole-cell": "符合整個儲存格",
24
- "find-scope": {
25
- title: "找出範圍",
26
- "current-sheet": "目前子表",
27
- workbook: "整個工作簿"
28
- },
29
- "find-direction": {
30
- title: "找出順序",
31
- column: "按列查找",
32
- row: "按行查找"
33
- },
34
- "find-by": {
35
- title: "找出方式",
36
- formula: "找出公式",
37
- value: "查找值"
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;
package/lib/es/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 };