Skip to content

Commit 1c45041

Browse files
author
Jean-Baptiste Dominguez
authored
Merge pull request #301 from Bitcoin-com/wallet/prod
5.0
2 parents 15b161d + 07ff264 commit 1c45041

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2895
-1288
lines changed

app-template/bitcoincom/appConfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"windowsAppId": "804636ee-b017-4cad-8719-e58ac97ffa5c",
2525
"pushSenderId": "1036948132229",
2626
"description": "A Secure Bitcoin Wallet",
27-
"version": "5.0.0",
28-
"fullVersion": "5.0-rc1",
29-
"androidVersion": "500000",
27+
"version": "5.0.2",
28+
"fullVersion": "5.0-rc3",
29+
"androidVersion": "500200",
3030
"_extraCSS": "",
3131
"_enabledExtensions": {
3232
"coinbase": false,

app-template/package-template.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@
119119
"run:android": "cordova run android --device",
120120
"run:android-release": "cordova run android --device --release",
121121
"log:android": "adb logcat | grep chromium",
122-
"sign:android": "rm -f platforms/android/build/outputs/apk/android-release-signed-aligned.apk; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../bitcoin-com-release-key.jks -signedjar platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-unsigned.apk bitcoin-com && $ANDROID_HOME/build-tools/27.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-signed-aligned.apk",
122+
"sign:android": "rm -f platforms/android/build/outputs/apk/android-release-signed-aligned.apk; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../bitcoin-com-release-key.jks -signedjar platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-unsigned.apk bitcoin-com && zipalign -v 4 platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-signed-aligned.apk",
123123
"apply:copay": "npm i fs-extra && cd app-template && node apply.js copay && npm i && cordova prepare",
124124
"apply:bitpay": "npm i fs-extra && cd app-template && node apply.js bitpay && npm i && cordova prepare",
125-
"apply:bitcoincom": "npm i fs-extra && cd app-template && node apply.js bitcoincom && npm i && cordova prepare",
125+
"apply:bitcoincom": "npm i fs-extra && cd app-template && node apply.js bitcoincom && npm i && cordova prepare && cd ../ && ./fix-asn1.sh",
126126
"test": "karma start test/karma.conf.js --single-run",
127127
"clean": "trash platforms && trash plugins && cordova prepare",
128128
"unstage-package": "git reset package.json",
@@ -141,4 +141,4 @@
141141
"pre-commit": "^1.1.3"
142142
},
143143
"pre-commit": "unstage-package"
144-
}
144+
}

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
},
2525
"resolutions": {
2626
"angular": "1.5.3",
27-
"ionic": "1b7414faba"
27+
"ionic": "eefba1331b"
2828
}
2929
}

fix-asn1.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
firstLine=`awk 'NR < 2 {print}' node_modules/asn1.js-rfc5280/index.js`
4+
5+
if [ "$firstLine" = "try {" ]; then
6+
echo "var asn1 = require('asn1.js');" > node_modules/asn1.js-rfc5280/index.new.js
7+
awk 'NR > 6 {print}' node_modules/asn1.js-rfc5280/index.js >> node_modules/asn1.js-rfc5280/index.new.js
8+
rm node_modules/asn1.js-rfc5280/index.js
9+
mv node_modules/asn1.js-rfc5280/index.new.js node_modules/asn1.js-rfc5280/index.js
10+
echo "node_modules/asn1.js-rfc5280/index.js fixed"
11+
fi

i18n/po/ca/template-ca.po

Lines changed: 119 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Last-Translator: emilold\n"
1212
"Language-Team: Catalan\n"
1313
"Language: ca\n"
14-
"PO-Revision-Date: 2018-07-27 08:43\n"
14+
"PO-Revision-Date: 2018-08-21 03:39\n"
1515

1616
#: www/views/modals/paypro.html:34
1717
msgid "(Trusted)"
@@ -81,6 +81,26 @@ msgstr "Número de compte"
8181
msgid "Instant transactions with low fees"
8282
msgstr "Transaccions instantànies amb comissions baixes"
8383

84+
#: www/views/walletSelector.html:49
85+
msgid "Insufficient funds"
86+
msgstr "Fons insuficients"
87+
88+
#: www/views/amount.html:42
89+
msgid "Change Currency"
90+
msgstr "Canvia de moneda"
91+
92+
#: www/views/amount.html:49
93+
msgid "Available Funds"
94+
msgstr "Fons disponibles"
95+
96+
#: www/views/amount.html:59
97+
msgid "Use All Available Funds"
98+
msgstr "Utilitza tots els fons disponibles"
99+
100+
#: www/views/amount.html:99
101+
msgid "Next"
102+
msgstr "Següent"
103+
84104
#: www/views/preferencesBitpayServices.html:23
85105
msgid "Accounts"
86106
msgstr "Comptes"
@@ -206,6 +226,20 @@ msgstr "Gairebé ja estem! Repassem-ho."
206226
msgid "Alternative Currency"
207227
msgstr "Moneda alternativa"
208228

229+
#: www/views/tab-settings.html:75
230+
msgid "Price Display"
231+
msgstr "Visualització del preu"
232+
233+
#: src/js/controllers/tab-settings.js:19
234+
#: www/views/preferencesPriceDisplay.html:12
235+
msgid "Fiat"
236+
msgstr "Fiat"
237+
238+
#: src/js/controllers/tab-settings.js:19
239+
#: www/views/preferencesPriceDisplay.html:15
240+
msgid "Cryptocurrency"
241+
msgstr "Criptomoneda"
242+
209243
#: src/js/controllers/buyAmazon.js:98
210244
msgid "Amazon.com is not available at this moment. Please try back later."
211245
msgstr "Amazon.com no està disponible en aquest moment. Torneu-ho a provar més tard."
@@ -662,6 +696,7 @@ msgstr "Copayer {{$index}}"
662696

663697
#: src/js/controllers/copayers.js:79
664698
#: src/js/controllers/export.js:193
699+
#: src/js/controllers/confirm.js:41
665700
#: www/views/includes/copyToClipboard.html:4
666701
msgid "Copied to clipboard"
667702
msgstr "Copiat al porta-retalls"
@@ -1281,6 +1316,7 @@ msgstr "Amb finalitats d'auditoria"
12811316
#: www/views/modals/txp-details.html:74
12821317
#: www/views/topup.html:34
12831318
#: www/views/tx-details.html:52
1319+
#: www/views/review.html:22
12841320
msgid "From"
12851321
msgstr "Des de"
12861322

@@ -1341,10 +1377,6 @@ msgid "Get news and updates from BitPay"
13411377
msgstr "Rebeu notícies i actualitzacions de BitPay"
13421378

13431379
#: www/views/onboarding/welcome.html:8
1344-
msgctxt "button"
1345-
msgid "Get started"
1346-
msgstr "Comença"
1347-
13481380
#: www/views/bitpayCard.html:49
13491381
msgid "Get started"
13501382
msgstr "Comença"
@@ -2168,6 +2200,10 @@ msgstr "Pagament rebutjat"
21682200
msgid "Payment Sent"
21692201
msgstr "Pagament enviat"
21702202

2203+
#: www/views/includes/slideToAcceptSuccess.html:12
2204+
msgid "Share this transaction"
2205+
msgstr "Comparteix aquesta transacció"
2206+
21712207
#: www/views/modals/txp-details.html:32
21722208
msgid "Payment accepted, but not yet broadcasted"
21732209
msgstr "Pagament acceptat, però encara no emès"
@@ -2185,7 +2221,7 @@ msgid "Payment details"
21852221
msgstr "Dades de pagament"
21862222

21872223
#: www/views/modals/paypro.html:6
2188-
msgid "Payment request"
2224+
msgid "Payment Request"
21892225
msgstr "Sol·licitud de pagament"
21902226

21912227
#: www/views/mercadoLibreCards.html:22
@@ -2358,7 +2394,7 @@ msgstr "Rep"
23582394

23592395
#: www/views/customAmount.html:44
23602396
msgid "Receive in"
2361-
msgstr "Rep a"
2397+
msgstr "Rebre en"
23622398

23632399
#: www/views/includes/walletHistory.html:24
23642400
#: www/views/tx-details.html:18
@@ -2621,8 +2657,8 @@ msgid "Paste Address"
26212657
msgstr "Enganxa l'adreça"
26222658

26232659
#: www/views/tab-send.html:27
2624-
msgid "Wallet to Wallet Transfer"
2625-
msgstr "Transferència de cartera a cartera"
2660+
msgid "Transfer between wallets"
2661+
msgstr "Transferència entre carteres"
26262662

26272663
#: www/views/tab-send.html:35
26282664
msgid "Scan QR Code"
@@ -2632,10 +2668,6 @@ msgstr "Escaneja el codi QR"
26322668
msgid "Send Bitcoin faster!"
26332669
msgstr "Envia bitcoins més ràpid!"
26342670

2635-
#: www/views/tab-send.html:46
2636-
msgid "Send Bitcoin faster!"
2637-
msgstr "Envia bitcoins més ràpid!"
2638-
26392671
#: www/views/tab-send.html:50
26402672
msgid "Save frequently used addresses and send them Bitcoin in just one tap"
26412673
msgstr "Deseu adreces utilitzades freqüentment i envieu-los bitcoins d'un sol toc"
@@ -2657,6 +2689,8 @@ msgid "You can receive bitcoin from any wallet or service."
26572689
msgstr "Podeu rebre bitcoins des de qualsevol cartera o servei."
26582690

26592691
#: www/views/tab-send.html:72
2692+
#: www/views/shapeshift.html:23
2693+
#: www/views/tab-send.html:33
26602694
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
26612695
msgstr "Per començar, heu de crear una cartera bitcoin i obtenir uns quants bitcoins."
26622696

@@ -3061,6 +3095,14 @@ msgstr "Aquesta aplicació emmagatzema els vostres bitcoins amb una seguretat de
30613095
msgid "This bitcoin payment request has expired."
30623096
msgstr "Aquesta sol·licitud de pagament bitcoin ha caducat."
30633097

3098+
#: www/views/review.html:55
3099+
msgid "Payment expires:"
3100+
msgstr "El pagament venç:"
3101+
3102+
#: www/views/review.html:56
3103+
msgid "Payment request has expired"
3104+
msgstr "La sol·licitud de pagament ha vençut"
3105+
30643106
#: www/views/join.html:133
30653107
#: www/views/tab-create-personal.html:103
30663108
#: www/views/tab-create-shared.html:132
@@ -3102,10 +3144,6 @@ msgstr "Per a"
31023144
msgid "To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service."
31033145
msgstr "Per començar, compreu bitcoins o compartiu la vostra adreça. Podeu rebre bitcoins de qualsevol cartera o servei."
31043146

3105-
#: www/views/tab-send.html:33
3106-
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
3107-
msgstr "Per començar, heu de crear una cartera bitcoin i obtenir uns quants bitcoins."
3108-
31093147
#: src/js/services/bitpayAccountService.js:73
31103148
msgid "To {{reason}} you must first add your BitPay account - {{email}}"
31113149
msgstr "Per {{reason}} ja heu d'haver afegit el vostre compte BitPay - {{email}}"
@@ -3118,6 +3156,26 @@ msgstr "Recàrrega en curs..."
31183156
msgid "Top up {{amountStr}} to debit card ({{cardLastNumber}})"
31193157
msgstr "Recàrrega de {{amountStr}} a la targeta de dèbit ({{cardLastNumber}})"
31203158

3159+
#: www/views/shapeshift.html:30
3160+
msgid "Start ShapeShift"
3161+
msgstr "Inicia ShapeShift"
3162+
3163+
#: www/views/shapeshift.html:30
3164+
msgid "Exchange your BTC to BCH in minutes."
3165+
msgstr "Canvieu de BTC a BCH en minuts."
3166+
3167+
#: www/views/shapeshift.html:30
3168+
msgid "To start the process you need to add funds to your wallet."
3169+
msgstr "Per iniciar el procés heu d'afegir fons a la cartera."
3170+
3171+
#: www/views/shapeshift.html:30
3172+
msgid "The process is fast and you will receive the exchanged amount in your wallet."
3173+
msgstr "El procés és ràpid i rebreu l'import canviat a la vostra cartera."
3174+
3175+
#: www/views/shapeshift.html:34
3176+
msgid "This service is provided by the third-party ShapeShift, who will charge a small fee for the service. The fee will be shown before you start the transaction."
3177+
msgstr "Aquest servei el presta un tercer, ShapeShift, que cobrarà una petita comissió pel servei. Veureu la comissió abans d'iniciar la transacció."
3178+
31213179
#: www/views/buyAmazon.html:61
31223180
#: www/views/buyMercadoLibre.html:60
31233181
#: www/views/modals/wallet-balance.html:23
@@ -3758,3 +3816,47 @@ msgstr "Bitcoin Cash gratis"
37583816
msgid "Your Bitcoin Wallets are ready!"
37593817
msgstr "Les vostres carteres bitcoin ja estan a punt!"
37603818

3819+
#: src/js/controllers/amount.js:49
3820+
msgid "Address does not contain currency information, please make sure you are sending the correct currency."
3821+
msgstr "L'adreça no conté informació sobre la moneda. Comproveu que envieu la moneda correcta."
3822+
3823+
#: www/views/review.html:4
3824+
msgid "Review Transaction"
3825+
msgstr "Reviseu la transacció"
3826+
3827+
#: src/js/controllers/review.controller.js:36
3828+
msgid "You are sending"
3829+
msgstr "Esteu enviant"
3830+
3831+
#: src/js/controllers/review.controller.js:66
3832+
msgid "You are shifting"
3833+
msgstr "Esteu canviant"
3834+
3835+
#: www/views/review.html:36
3836+
msgid "To:"
3837+
msgstr "Per a:"
3838+
3839+
#: www/views/review.html:53
3840+
msgid "Add personal note"
3841+
msgstr "Afegiu nota personal"
3842+
3843+
#: www/views/review.html:87
3844+
msgid "Suggested by merchant:"
3845+
msgstr "Suggerida pel comerciant:"
3846+
3847+
#: src/js/controllers/review.controller.js:37
3848+
msgid "Enter text here"
3849+
msgstr "Introduïu el text aquí"
3850+
3851+
#: www/views/review.html:57
3852+
msgid "Personal note:"
3853+
msgstr "Nota personal:"
3854+
3855+
#: www/views/review.html:69
3856+
msgid "Less than 1 cent"
3857+
msgstr "Menys d'1 cèntim"
3858+
3859+
#: src/js/services/incomingData.js:129
3860+
msgid "This invoice is no longer accepting payments"
3861+
msgstr "Aquesta factura ja no accepta pagaments"
3862+

0 commit comments

Comments
 (0)