Skip to content

Commit

Permalink
fix(localize): Adding arb format to the list of valid formats in the …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
danielpayetdev authored and alxhub committed Oct 24, 2024
1 parent e638b29 commit 3b989ac
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/localize/tools/src/extract/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,18 @@ const options = yargs(args)
.option('f', {
alias: 'format',
required: true,
choices: ['xmb', 'xlf', 'xlif', 'xliff', 'xlf2', 'xlif2', 'xliff2', 'json', 'legacy-migrate'],
choices: [
'xmb',
'xlf',
'xlif',
'xliff',
'xlf2',
'xlif2',
'xliff2',
'json',
'legacy-migrate',
'arb',
],
describe: 'The format of the translation file.',
type: 'string',
})
Expand Down

0 comments on commit 3b989ac

Please sign in to comment.