Skip to content

Commit

Permalink
Internationalization: release Portuguese and update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
danimoh committed Dec 1, 2022
1 parent 5ffcc52 commit 7a25d0b
Show file tree
Hide file tree
Showing 5 changed files with 2,490 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:bitcoinjs": "yarn --silent browserify bitcoinjs-parts.js -p common-shakeify -s BitcoinJS | yarn terser --compress --mangle --source-map --output public/bitcoin/BitcoinJS.min.js",
"build:ci": "yarn pre && build=testnet yarn vue-cli-service build",
"i18n:extract": "node ./node_modules/webpack-i18n-tools/index.js ./src/i18n/en.po",
"i18n:pull": "tx pull -l es,zh,de,fr,nl,ru,uk --force --minimum-perc 50",
"i18n:pull": "tx pull -l es,zh,de,fr,nl,pt,ru,uk --force --minimum-perc 50",
"i18n:push": "tx push --source",
"i18n:sync": "yarn i18n:extract && yarn i18n:push; yarn i18n:pull",
"pre": "yarn i18n:extract && test -e public/bitcoin/BitcoinJS.min.js || yarn build:bitcoinjs",
Expand Down
1 change: 1 addition & 0 deletions src/assets/languages/pt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/i18n/i18n-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export const Languages = [{
}, {
code: 'fr',
name: 'Français',
}, {
code: 'pt',
name: 'Português',
}, {
code: 'ru',
name: 'Русский',
Expand Down
Loading

0 comments on commit 7a25d0b

Please sign in to comment.