td-octopus 0.1.10 → 0.1.11

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/cmds/check.js CHANGED
@@ -2,7 +2,7 @@ const { main } = require('../src/check');
2
2
 
3
3
  exports.command = 'check';
4
4
 
5
- exports.describe = 'check 校验项目中缺少的翻译项,适用于工程页面迁移过来的场景';
5
+ exports.describe = 'check 将项目中缺少的key';
6
6
 
7
7
  exports.handler = () => {
8
8
  main()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "td-octopus",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "I18N tool",
5
5
  "author": "Anthony Li",
6
6
  "bin": {
@@ -3,7 +3,7 @@
3
3
  * @Author: 郑泳健
4
4
  * @Date: 2024-12-12 15:00:24
5
5
  * @LastEditors: 郑泳健
6
- * @LastEditTime: 2025-09-09 15:06:47
6
+ * @LastEditTime: 2024-12-12 15:00:33
7
7
  */
8
8
  const path = require('path')
9
9
  const fs = require('fs')
@@ -46,7 +46,7 @@ function main() {
46
46
  (async () => {
47
47
  const distLang = Array.isArray(CONFIG.distLangs) ? CONFIG.distLangs : []
48
48
 
49
- // 删除中文下多余的key
49
+ // 删除中文下躲雨的key
50
50
  const zhCN = syncLang('zh-CN');
51
51
  const zhCNFlat = flatObject(zhCN);
52
52
  // 当前项目所有的key