Skip to content

Commit 3b989ac

Browse files
danielpayetdevalxhub
authored andcommitted
fix(localize): Adding arb format to the list of valid formats in the localization extractor cli (#58287)
Although the ARB format is supported, it's missing from the command's list of options. Fix #58286 PR Close #58287
1 parent e638b29 commit 3b989ac

File tree

1 file changed

+12
-1
lines changed
  • packages/localize/tools/src/extract

1 file changed

+12
-1
lines changed

packages/localize/tools/src/extract/cli.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,18 @@ const options = yargs(args)
4848
.option('f', {
4949
alias: 'format',
5050
required: true,
51-
choices: ['xmb', 'xlf', 'xlif', 'xliff', 'xlf2', 'xlif2', 'xliff2', 'json', 'legacy-migrate'],
51+
choices: [
52+
'xmb',
53+
'xlf',
54+
'xlif',
55+
'xliff',
56+
'xlf2',
57+
'xlif2',
58+
'xliff2',
59+
'json',
60+
'legacy-migrate',
61+
'arb',
62+
],
5263
describe: 'The format of the translation file.',
5364
type: 'string',
5465
})

0 commit comments

Comments
 (0)