td-octopus 0.1.6 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "td-octopus",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "I18N tool",
5
5
  "author": "Anthony Li",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  const convertJsonToXlsx = (data, lang) => {
2
- let module = ["中文"]
2
+ let module = ["zh-CN"]
3
3
  module.push(lang)
4
4
  const result = [{ name: 'Sheet1', data: [['需要翻译的字段'].concat(["中文", "人工翻译"])] }];
5
5
  const traverse = (node) => {