Skip to content

Commit

Permalink
Merge pull request #1285 from upalatucci/fix-i18n-script
Browse files Browse the repository at this point in the history
Fix i18n script
  • Loading branch information
openshift-merge-robot committed May 2, 2023
2 parents 47c28af + 29d47fa commit 792f130
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions i18n-scripts/build-i18n.sh

This file was deleted.

2 changes: 1 addition & 1 deletion i18next-parser.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const { CustomJSONLexer } = require('./i18n-scripts/lexers');

module.exports = {
input: ['src/**/*.{js,jsx,ts,tsx}'],
input: ['src/**/*.{js,jsx,ts,tsx,json}', './console-extensions.json'],
sort: true,
createOldCatalogs: false,
keySeparator: false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"start-console": "./start-console.sh",
"i18n-to-po": "node ./i18n-scripts/i18n-to-po.js",
"po-to-i18n": "node ./i18n-scripts/po-to-i18n.js",
"i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
"i18n": "i18next && node ./i18n-scripts/set-english-defaults.js",
"export-pos": "./i18n-scripts/export-pos.sh",
"memsource-upload": "./i18n-scripts/memsource-upload.sh",
"memsource-download": "./i18n-scripts/memsource-download.sh"
Expand Down

0 comments on commit 792f130

Please sign in to comment.