i18next-cli 1.72.0 → 1.72.1
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/cjs/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ const program = new commander.Command();
|
|
|
37
37
|
program
|
|
38
38
|
.name('i18next-cli')
|
|
39
39
|
.description('A unified, high-performance i18next CLI.')
|
|
40
|
-
.version('1.72.
|
|
40
|
+
.version('1.72.1'); // This string is replaced with the actual version at build time by rollup
|
|
41
41
|
// new: global config override option
|
|
42
42
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
43
43
|
program
|
|
@@ -97,7 +97,7 @@ async function runInstrumenter(config, options, logger$1 = new logger.ConsoleLog
|
|
|
97
97
|
for (const candidate of candidates) {
|
|
98
98
|
const { action } = await inquirer__default.default.prompt([
|
|
99
99
|
{
|
|
100
|
-
type: '
|
|
100
|
+
type: 'select',
|
|
101
101
|
name: 'action',
|
|
102
102
|
message: `Translate: "${candidate.content}" (${candidate.line}:${candidate.column})?`,
|
|
103
103
|
choices: [
|
package/dist/esm/cli.js
CHANGED
|
@@ -31,7 +31,7 @@ const program = new Command();
|
|
|
31
31
|
program
|
|
32
32
|
.name('i18next-cli')
|
|
33
33
|
.description('A unified, high-performance i18next CLI.')
|
|
34
|
-
.version('1.72.
|
|
34
|
+
.version('1.72.1'); // This string is replaced with the actual version at build time by rollup
|
|
35
35
|
// new: global config override option
|
|
36
36
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
37
37
|
program
|
|
@@ -91,7 +91,7 @@ async function runInstrumenter(config, options, logger = new ConsoleLogger()) {
|
|
|
91
91
|
for (const candidate of candidates) {
|
|
92
92
|
const { action } = await inquirer.prompt([
|
|
93
93
|
{
|
|
94
|
-
type: '
|
|
94
|
+
type: 'select',
|
|
95
95
|
name: 'action',
|
|
96
96
|
message: `Translate: "${candidate.content}" (${candidate.line}:${candidate.column})?`,
|
|
97
97
|
choices: [
|