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 12, 2022
1 parent ff108c0 commit 220d45e
Show file tree
Hide file tree
Showing 6 changed files with 2,502 additions and 10 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.
14 changes: 9 additions & 5 deletions src/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -795,19 +795,23 @@ msgstr "Terminé"

#: src/components/modals/HistoryExportModal.vue:24
msgid "Download .csv file"
msgstr ""
msgstr "Télécharger le fichier .csv"

#: src/components/modals/HistoryExportModal.vue:9
msgid ""
"Download all transactions of this account as a file, for tax reasons or "
"other."
msgstr ""
"Téléchargez toutes les transactions de cette adresse dans un fichier pour "
"des raisons fiscales ou autres."

#: src/components/modals/HistoryExportModal.vue:6
msgid ""
"Download all transactions of this address as a file, for tax reasons or "
"other."
msgstr ""
"Téléchargez toutes les transactions de cette adresse dans un fichier pour "
"des raisons fiscales ou autres."

#: src/components/modals/BtcSendModal.vue:98
msgid "Duration and fees are estimates."
Expand Down Expand Up @@ -906,11 +910,11 @@ msgstr "Expiré"
#: src/components/layouts/AddressOverview.vue:72
#: src/components/modals/AccountMenuModal.vue:30
msgid "Export History"
msgstr ""
msgstr "Exporter l'historique"

#: src/components/modals/HistoryExportModal.vue:4
msgid "Export your history"
msgstr ""
msgstr "Exporter votre historique"

#: src/components/modals/SendModal.vue:454
msgid "express"
Expand Down Expand Up @@ -1006,7 +1010,7 @@ msgstr "Général"

#: src/components/modals/HistoryExportModal.vue:50
msgid "Generic"
msgstr ""
msgstr "Générique"

#: src/components/modals/TradeModal.vue:26
#: src/components/modals/TradeModal.vue:46
Expand Down Expand Up @@ -2173,7 +2177,7 @@ msgstr "Cela met en général un à deux jours ouvrés."

#: src/components/modals/HistoryExportModal.vue:15
msgid "Timeframe"
msgstr ""
msgstr "Période"

#: src/components/modals/TradeModal.vue:36
#: src/components/modals/TradeModal.vue:56
Expand Down
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 220d45e

Please sign in to comment.