Skip to content

Commit

Permalink
feat: pull translations
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed Aug 16, 2024
1 parent 68e23b1 commit 2ce2991
Show file tree
Hide file tree
Showing 28 changed files with 8,529 additions and 6,070 deletions.
3 changes: 0 additions & 3 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ files: [
#
"type": "i18next_json",
"source": "packages/react-ui/public/locales/en/translation.json",
"export_only_approved": true,
"skip_untranslated_strings": true,
"skip_untranslated_strings": true,
#
# Where translations will be placed
# e.g. "/resources/packages/ui/core/src/locale%two_letters_code%/%original_file_name%"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"create-trigger": "npx ts-node packages/cli/src/index.ts triggers create",
"sync-pieces": "npx ts-node packages/cli/src/index.ts pieces sync",
"publish-piece": "npx ts-node tools/scripts/pieces/publish-piece.ts",
"push-i18n": "crowdin upload sources && crowdin upload translations",
"push-i18n": "crowdin upload sources",
"i18n:extract": "i18next --config packages/react-ui/i18next-parser.config.js && jq 'to_entries | map({(.key): .key}) | add' packages/react-ui/public/locales/en/translation.json > packages/react-ui/public/locales/en/translation.tmp.json && mv packages/react-ui/public/locales/en/translation.tmp.json packages/react-ui/public/locales/en/translation.json"
},
"private": true,
Expand Down
Loading

0 comments on commit 2ce2991

Please sign in to comment.