auto-i18n-plugin-core 1.1.6 → 1.1.7
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/readme-en.md +14 -0
- package/readme.md +12 -0
package/package.json
CHANGED
package/readme-en.md
CHANGED
|
@@ -35,6 +35,13 @@ pnpm run preview // Don't select React, contains too much English text
|
|
|
35
35
|
- **Build Tools**: Fully compatible with Webpack, Vite, and Rollup 🚀
|
|
36
36
|
- **Translation Services**: Default support for **Youdao** and **Google** translation, plus custom translators
|
|
37
37
|
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## ❓ Common Issues
|
|
41
|
+
|
|
42
|
+
[Documentation](https://juejin.cn/post/7483435518526062626).
|
|
43
|
+
|
|
44
|
+
|
|
38
45
|
---
|
|
39
46
|
|
|
40
47
|
## 🌟 Quick Start 🚀
|
|
@@ -464,6 +471,13 @@ Original authors: wenps, xu-code, Caleb-Xu, Winfans
|
|
|
464
471
|
|
|
465
472
|
## Changelog
|
|
466
473
|
|
|
474
|
+
|
|
475
|
+
### v1.1.6 (Recommended Version)
|
|
476
|
+
|
|
477
|
+
- Fixed issue where clearing whitespace before/after template strings caused mismatch between JSON and translation functions
|
|
478
|
+
- Fixed issue where Chinese brackets in interpolation caused interpolation to fail
|
|
479
|
+
- Added configuration cleanup functionality
|
|
480
|
+
|
|
467
481
|
### v1.1.5 (Recommended Version)
|
|
468
482
|
|
|
469
483
|
- Added support for interpolation translation
|
package/readme.md
CHANGED
|
@@ -39,6 +39,12 @@ tips:有道翻译需要用户自己去申请有道的翻译服务,demo里面
|
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
|
+
## ❓ 常见问题
|
|
43
|
+
|
|
44
|
+
[问题文档](https://juejin.cn/post/7483435518526062626)。
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
42
48
|
## 🌟 快速开始 🚀
|
|
43
49
|
|
|
44
50
|
### 1️⃣ 安装插件 📦
|
|
@@ -478,6 +484,12 @@ const HelloWorld: React.FC<HelloWorldProps> = ({ name = 'World' }) => {
|
|
|
478
484
|
|
|
479
485
|
## 更新日志
|
|
480
486
|
|
|
487
|
+
### v1.1.6 (推荐版本)
|
|
488
|
+
|
|
489
|
+
- 修复模板字符串前后空格清空导致 JSON 对应不上翻译函数的问题
|
|
490
|
+
- 修复插值中文括号导致插值失效的问题
|
|
491
|
+
- 新增清理配置功能
|
|
492
|
+
|
|
481
493
|
### v1.1.5 (推荐版本)
|
|
482
494
|
|
|
483
495
|
- 支持插值翻译
|