i18-fe-automator-beta 2.0.0 → 2.0.1

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.
@@ -2534,7 +2534,7 @@ function translateUtil(appid, key, projectName, isLintFix) {
2534
2534
  (item.ZH_CN === p1 || item.ZH_CN === p1.trim()) // 去除前后空格,原[ 执行人: ]翻译变成[执行人:]
2535
2535
  ).key;
2536
2536
  // 去除{ slotxx }
2537
- key = key.replace(/\{[\r\n\s]*slot\d[\r\n\s]*\}/g, "");
2537
+ // key = key.replace(/\{[\r\n\s]*slot\d[\r\n\s]*\}/g, "");
2538
2538
  // 去除空格
2539
2539
  key = key.replace(/\s/g, "");
2540
2540
  return match.replace(reg1, `key: '${key}'`);
@@ -2512,7 +2512,7 @@ function translateUtil(appid, key, projectName, isLintFix) {
2512
2512
  (item.ZH_CN === p1 || item.ZH_CN === p1.trim()) // 去除前后空格,原[ 执行人: ]翻译变成[执行人:]
2513
2513
  ).key;
2514
2514
  // 去除{ slotxx }
2515
- key = key.replace(/\{[\r\n\s]*slot\d[\r\n\s]*\}/g, "");
2515
+ // key = key.replace(/\{[\r\n\s]*slot\d[\r\n\s]*\}/g, "");
2516
2516
  // 去除空格
2517
2517
  key = key.replace(/\s/g, "");
2518
2518
  return match.replace(reg1, `key: '${key}'`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18-fe-automator-beta",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "i18-fe-automator-beta内测版本,只用于key: ''替换、检测中文规则等",
5
5
  "type": "module",
6
6
  "bin": {
@@ -45,5 +45,6 @@
45
45
  "strip-ansi": "^7.1.0",
46
46
  "uuid": "^9.0.1",
47
47
  "vue-eslint-parser": "^9.4.3"
48
- }
48
+ },
49
+ "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
49
50
  }