@tenado/i18n-cli
Version:
i18n-cli是一个自动国际化脚本,通过执行命令,自动提取代码里面的中文,自动调用百度或谷歌翻译接口,自动将翻译结果以 key-value 形式存入*.json 语言包里
92 lines (40 loc) • 2.66 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### 1.4.9 (2025-03-03)
### 1.4.8 (2024-11-22)
### Bug Fixes
* 修复ts的类型断言被当作jsx转换的bug ([d5752f7](https://github.com/tenadolanter/i18n-cli/commit/d5752f7a9c8c03ca164d6763756130d8b0ded666))
### 1.4.7 (2024-07-26)
### Bug Fixes
* 修复转换vue里面的template报错 ([fe9f8bf](https://github.com/tenadolanter/i18n-cli/commit/fe9f8bfed3cb3bd3547a53197e8b76ef2359d50d))
### 1.4.6 (2024-07-26)
### Bug Fixes
* 修复ts类型声明中包含中文时报错问题,修复vue模板里面template开头标签解析报错问题 ([187247b](https://github.com/tenadolanter/i18n-cli/commit/187247bffd50f4a90f637a4e0d559ebed660c5b2))
### 1.4.5 (2024-06-28)
### Bug Fixes
* 修复vue的script里面装饰器装换失败的bug ([914a2fe](https://github.com/tenadolanter/i18n-cli/commit/914a2fe129dbeb4deeea6e689aee14e3b3294116))
### 1.4.4 (2024-06-27)
### Bug Fixes
* 调整正则,使支持html标签里面的:textName.sync格式属性 ([6f3c766](https://github.com/tenadolanter/i18n-cli/commit/6f3c7667a4b30e84c2e7b58a1bda2eec9d2a0fc5))
### 1.4.3 (2024-06-26)
### 1.4.2 (2024-06-19)
### Bug Fixes
* 修复模板字面量翻译bug ([8e73719](https://github.com/tenadolanter/i18n-cli/commit/8e73719d9b5e07bb8a30200f3e6314a391c9d3b7))
### 1.4.1 (2024-06-14)
### Bug Fixes
* 修复jsx语法转换错误 ([06b427b](https://github.com/tenadolanter/i18n-cli/commit/06b427bec80f5238ead3e899bcce1184c798683b))
## 1.4.0 (2024-05-27)
### Features
* 添加配置属性keyShowOrigin,控制生成的key后面是否跟着中文 ([906331d](https://github.com/tenadolanter/i18n-cli/commit/906331d3da0f1411f06dbf4a7679fe14a1c5ecb1))
### 1.3.18 (2024-03-06)
### Bug Fixes
* 修复报错 Error: [BABEL] unknown file: Preset /* your preset */ requires a filename to be set when babel is called directly ([fc63c15](https://github.com/tenadolanter/i18n-cli/commit/fc63c159c96927f8e9ca02a150237881c8b5ae07))
### 1.3.17 (2024-02-26)
### Bug Fixes
* 修复翻译中的变量显示bug ([0553caf](https://github.com/tenadolanter/i18n-cli/commit/0553caf0f69d3370aee102e59c01a762f5615c30))
### 1.3.16 (2024-02-22)
### Bug Fixes
* 修复自闭和标签转换报错bug ([fb74887](https://github.com/tenadolanter/i18n-cli/commit/fb74887457ca3bb7a959889fa3df0b0e274a20b5))
### 1.3.15 (2024-02-22)
### Bug Fixes
* 修复标签转换错误 ([bae17e8](https://github.com/tenadolanter/i18n-cli/commit/bae17e8b3e5c333dc8dd920f8067ee9dc8069c59))