Skip to content

Commit

Permalink
pass param during setup new locale
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-raj-jain committed Oct 16, 2024
1 parent d08cca0 commit 2bcc8fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/setup_new_locale.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ copyDirectory(path.join(process.cwd(), 'src', 'content', 'blog'), path.join(proc
console.log(`Done.\n`)

console.log('Generating locale translations...')
execSync(`npm run generate:locale:translations --locale=${newLocale}`, { stdio: 'inherit' })
execSync(`npm run generate:locale:translations -- --locale=${newLocale}`, { stdio: 'inherit' })
console.log('Generating translation.ts...')
execSync(`npm run generate:translation.ts --locale=${newLocale}`, { stdio: 'inherit' })
execSync(`npm run generate:translation.ts -- --locale=${newLocale}`, { stdio: 'inherit' })
console.log('Generating blog translations...')
execSync(`npm run generate:blog:translations --locale=${newLocale}`, { stdio: 'inherit' })
execSync(`npm run generate:blog:translations -- --locale=${newLocale}`, { stdio: 'inherit' })
console.log('Generating plugin translations...')
execSync(`npm run generate:plugin:translations --locale=${newLocale}`, { stdio: 'inherit' })
execSync(`npm run generate:plugin:translations -- --locale=${newLocale}`, { stdio: 'inherit' })

0 comments on commit 2bcc8fc

Please sign in to comment.