eshare-locale-bin
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -27,3 +27,3 @@ #!/usr/bin/env node | ||
type: 'list', | ||
choices: ['windows', 'ios|mac', 'android', 'android-ctrl'], | ||
choices: ['windows', 'ios','mac', 'android', 'android-ctrl'], | ||
name: 'terminal', | ||
@@ -45,5 +45,6 @@ message: chalk.blue('请选择输出语言包的类型 :') | ||
case 'windows': return generateWindowsV2(data); | ||
case 'ios|mac': return generateIOS(data); | ||
case 'android': return generateAndroid(data,6); | ||
case 'android-ctrl': return generateAndroid(data,7); | ||
case 'ios': return generateIOS(data, 5); | ||
case 'mac': return generateIOS(data, 6); | ||
case 'android': return generateAndroid(data, 7); | ||
case 'android-ctrl': return generateAndroid(data, 8); | ||
@@ -50,0 +51,0 @@ } |
@@ -121,4 +121,4 @@ const tool = require('node-xlsx') | ||
exports.generateIOS = function (data) { | ||
const { zh, en } = getJSON(data, 5) | ||
exports.generateIOS = function (data,number) { | ||
const { zh, en } = getJSON(data, number) | ||
const model = (key, value) => `"${key}" = "${value}";` | ||
@@ -125,0 +125,0 @@ |
{ | ||
"name": "eshare-locale-bin", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60700
4
202