mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #3164 from cmgustavo/translate/removes-glidera
Translate/removes glidera
This commit is contained in:
commit
e3831fe9c6
|
@ -8,6 +8,23 @@ msgstr ""
|
|||
msgid "(possible double spend)"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/walletHome.js
|
||||
msgid "{{fee}} will be discounted for bitcoin networking fees"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
#: public/views/walletHome.html
|
||||
msgid "{{index.m}}-of-{{index.n}}"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/sidebar.html
|
||||
msgid "{{item.m}}-of-{{item.n}}"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/importLegacy.js
|
||||
msgid "{{len}} wallets imported. Funds scanning in progress. Hold on to see updated balance"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created."
|
||||
msgstr ""
|
||||
|
@ -45,6 +62,10 @@ msgstr ""
|
|||
msgid "Address"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Address Type"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferences.html
|
||||
msgid "Advanced"
|
||||
msgstr ""
|
||||
|
@ -77,6 +98,7 @@ msgstr ""
|
|||
#: public/views/walletHome.html
|
||||
#: public/views/includes/output.html
|
||||
#: public/views/modals/customized-amount.html
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Amount"
|
||||
msgstr ""
|
||||
|
||||
|
@ -98,7 +120,7 @@ msgstr ""
|
|||
msgid "Are you sure you want to delete this wallet?"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
#: public/views/includes/available-balance.html
|
||||
msgid "Available Balance"
|
||||
msgstr ""
|
||||
|
||||
|
@ -107,11 +129,6 @@ msgstr ""
|
|||
msgid "Average confirmation time: {{fee.nbBlocks * 10}} minutes"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/create.html
|
||||
#: public/views/join.html
|
||||
msgid "BIP32 master extended private key"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/topbar.html
|
||||
#: public/views/modals/tx-details.html
|
||||
#: public/views/modals/txp-details.html
|
||||
|
@ -138,26 +155,35 @@ msgstr ""
|
|||
msgid "Bad wallet invitation"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Balance By Address"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Before receiving funds, it is highly recommended you backup your wallet keys."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferences.html
|
||||
msgid "Bitcoin Network Fee Policy"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/paymentUri.html
|
||||
msgid "Bitcoin URI is NOT valid!"
|
||||
#: public/views/create.html
|
||||
#: public/views/join.html
|
||||
msgid "BIP32 master extended private key"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Bitcoin address"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferences.html
|
||||
msgid "Bitcoin Network Fee Policy"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesFee.html
|
||||
msgid "Bitcoin transactions may include a fee collected by miners on the network. The higher the fee, the greater the incentive a miner has to include that transaction in a block. Actual fees are determined based on network load and the selected policy."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/paymentUri.html
|
||||
msgid "Bitcoin URI is NOT valid!"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Broadcast Payment"
|
||||
msgstr ""
|
||||
|
@ -174,14 +200,6 @@ msgstr ""
|
|||
msgid "Browser unsupported"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "But not broadcasted. Try to send manually"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/password.html
|
||||
msgid "CANCEL"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
#: public/views/walletHome.html
|
||||
#: public/views/modals/confirmation.html
|
||||
|
@ -191,6 +209,10 @@ msgstr ""
|
|||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/password.html
|
||||
msgid "CANCEL"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/profileService.js
|
||||
msgid "Cannot join the same wallet more that once"
|
||||
msgstr ""
|
||||
|
@ -349,15 +371,15 @@ msgstr ""
|
|||
msgid "Create"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/create.html
|
||||
msgid "Create {{requiredCopayers}}-of-{{totalCopayers}} wallet"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/add.html
|
||||
#: public/views/create.html
|
||||
msgid "Create new wallet"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/create.html
|
||||
msgid "Create {{requiredCopayers}}-of-{{totalCopayers}} wallet"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/sidebar.html
|
||||
msgid "Create, join or import"
|
||||
msgstr ""
|
||||
|
@ -370,14 +392,14 @@ msgstr ""
|
|||
msgid "Creating Profile..."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/create.html
|
||||
msgid "Creating Wallet..."
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/walletHome.js
|
||||
msgid "Creating transaction"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/create.html
|
||||
msgid "Creating Wallet..."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesFee.html
|
||||
#: public/views/modals/advancedSend.html
|
||||
msgid "Current fee rate for this policy: {{fee.feePerKBUnit}}/kiB"
|
||||
|
@ -387,26 +409,30 @@ msgstr ""
|
|||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Delete Payment Proposal"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesAdvanced.html
|
||||
msgid "Delete Wallet"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
msgid "Delete it and create a new one"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Delete Payment Proposal"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesDeleteWallet.html
|
||||
msgid "Delete wallet"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesAdvanced.html
|
||||
msgid "Delete Wallet"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/walletHome.js
|
||||
msgid "Deleting payment"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Derivation Strategy"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/customized-amount.html
|
||||
#: public/views/modals/paypro.html
|
||||
#: public/views/modals/tx-details.html
|
||||
|
@ -426,18 +452,22 @@ msgstr ""
|
|||
msgid "Don't see your language on Crowdin? Contact the Owner on Crowdin! We'd love to support your language."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Download CSV file"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/backup.html
|
||||
msgid "Download backup"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Download CSV file"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/feeService.js
|
||||
msgid "Economy"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesEmail.html
|
||||
msgid "Email for wallet notifications"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferences.html
|
||||
msgid "Email Notifications"
|
||||
msgstr ""
|
||||
|
@ -471,6 +501,10 @@ msgstr ""
|
|||
msgid "Expires"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Extended Public Keys"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/backup.html
|
||||
msgid "Failed to create backup"
|
||||
msgstr ""
|
||||
|
@ -513,18 +547,14 @@ msgstr ""
|
|||
msgid "Funds received"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/splash.html
|
||||
msgid "GET STARTED"
|
||||
#: public/views/walletHome.html
|
||||
msgid "Generate new address"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/customized-amount.html
|
||||
msgid "Generate QR Code"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Generate new address"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Generating .csv file..."
|
||||
msgstr ""
|
||||
|
@ -533,6 +563,10 @@ msgstr ""
|
|||
msgid "German"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/splash.html
|
||||
msgid "GET STARTED"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/wallets.html
|
||||
msgid "Getting address for wallet {{selectedWalletName}} ..."
|
||||
msgstr ""
|
||||
|
@ -663,10 +697,22 @@ msgstr ""
|
|||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Last Wallet Addresses"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/importLegacy.html
|
||||
msgid "Learn more about Wallet Migration"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/routes.js
|
||||
msgid "Loading..."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/available-balance.html
|
||||
msgid "locked by pending payments"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/bwsError.js
|
||||
msgid "Locktime in effect. Please wait to create a new spend proposal"
|
||||
msgstr ""
|
||||
|
@ -755,16 +801,16 @@ msgstr ""
|
|||
#: public/views/walletHome.html
|
||||
#: public/views/includes/output.html
|
||||
#: public/views/modals/tx-details.html
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Note"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/alert.html
|
||||
#: public/views/includes/password.html
|
||||
msgid "OK"
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Only Main (not change) addresses are shown. The addresses on this list were not verified locally at this time."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/tx-status.html
|
||||
msgid "OKAY"
|
||||
#: public/views/walletHome.html
|
||||
msgid "optional"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/tx-details.html
|
||||
|
@ -805,6 +851,18 @@ msgstr ""
|
|||
msgid "Payment Accepted"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment accepted, but not yet broadcasted"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after it was created."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment details"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment Proposal"
|
||||
msgstr ""
|
||||
|
@ -833,25 +891,12 @@ msgstr ""
|
|||
msgid "Payment Protocol not supported on Chrome App"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/tx-status.html
|
||||
msgid "Payment Rejected"
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment rejected"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/tx-status.html
|
||||
#: src/js/services/notificationsService.js
|
||||
msgid "Payment Sent"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment accepted..."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment details"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment finally rejected"
|
||||
msgid "Payment Rejected"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/paypro.html
|
||||
|
@ -859,7 +904,12 @@ msgid "Payment request"
|
|||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Payment sent!"
|
||||
msgid "Payment sent"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/tx-status.html
|
||||
#: src/js/services/notificationsService.js
|
||||
msgid "Payment Sent"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
|
@ -923,8 +973,9 @@ msgstr ""
|
|||
msgid "Received"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/output.html
|
||||
#: public/views/includes/transaction.html
|
||||
#: public/views/modals/tx-details.html
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Recipients"
|
||||
msgstr ""
|
||||
|
||||
|
@ -975,14 +1026,6 @@ msgstr ""
|
|||
msgid "Russian"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/password.html
|
||||
msgid "SET"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "SKIP BACKUP"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesAlias.html
|
||||
#: public/views/preferencesBwsUrl.html
|
||||
#: public/views/preferencesEmail.html
|
||||
|
@ -993,14 +1036,14 @@ msgstr ""
|
|||
msgid "Saving preferences..."
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/notificationsService.js
|
||||
msgid "Scan Finished"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesAdvanced.html
|
||||
msgid "Scan addresses for funds"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/notificationsService.js
|
||||
msgid "Scan Finished"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "Scan status finished with error"
|
||||
msgstr ""
|
||||
|
@ -1039,6 +1082,10 @@ msgstr ""
|
|||
msgid "Send All"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Send all by email"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/backup.html
|
||||
#: public/views/preferencesLogs.html
|
||||
msgid "Send by email"
|
||||
|
@ -1056,19 +1103,28 @@ msgstr ""
|
|||
msgid "Session log"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/backup.html
|
||||
msgid "Set up a Password for your backup"
|
||||
#: public/views/includes/password.html
|
||||
msgid "SET"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/password.html
|
||||
msgid "Set up a password"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/backup.html
|
||||
msgid "Set up a Password for your backup"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesEmail.html
|
||||
msgid "Setting up email notifications could weaken your privacy, if the wallet service provider is compromised. Information available to an attacker would include your wallet addresses and its balance, but no more."
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferences.html
|
||||
msgid "settings"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
#: public/views/modals/customized-amount.html
|
||||
msgid "Share address"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1107,6 +1163,10 @@ msgstr ""
|
|||
msgid "Signing transaction"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "SKIP BACKUP"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/translators.html
|
||||
msgid "Spanish"
|
||||
msgstr ""
|
||||
|
@ -1199,7 +1259,11 @@ msgstr ""
|
|||
msgid "To"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/includes/output.html
|
||||
#: public/views/walletHome.html
|
||||
msgid "too long!"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Total"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1261,18 +1325,6 @@ msgstr ""
|
|||
msgid "View backup"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "WARNING: Backup needed"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "WARNING: Wallet not registered"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/splash.html
|
||||
msgid "WELCOME TO COPAY"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
msgid "Waiting for copayers"
|
||||
msgstr ""
|
||||
|
@ -1285,10 +1337,32 @@ msgstr ""
|
|||
msgid "Wallet Alias"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/bwsError.js
|
||||
#: src/js/services/profileService.js
|
||||
msgid "Wallet already exists"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/profileService.js
|
||||
msgid "Wallet Already Imported:"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Wallet Configuration (m-n)"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Wallet Id"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
msgid "Wallet incomplete and broken"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesAdvanced.html
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Wallet Information"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/join.html
|
||||
msgid "Wallet Invitation"
|
||||
msgstr ""
|
||||
|
@ -1297,15 +1371,6 @@ msgstr ""
|
|||
msgid "Wallet Invitation is not valid!"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/bwsError.js
|
||||
#: src/js/services/profileService.js
|
||||
msgid "Wallet already exists"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
msgid "Wallet incomplete and broken"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/bwsError.js
|
||||
msgid "Wallet is full"
|
||||
msgstr ""
|
||||
|
@ -1318,6 +1383,14 @@ msgstr ""
|
|||
msgid "Wallet name"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Wallet Name (at creation)"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesInformation.html
|
||||
msgid "Wallet Network"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/bwsError.js
|
||||
msgid "Wallet not found"
|
||||
msgstr ""
|
||||
|
@ -1326,14 +1399,26 @@ msgstr ""
|
|||
msgid "Wallet service not found"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesDeleteWallet.html
|
||||
msgid "Warning!"
|
||||
#: public/views/walletHome.html
|
||||
msgid "WARNING: Backup needed"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/modals/txp-details.html
|
||||
msgid "Warning: this transaction has unconfirmed inputs"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "WARNING: Wallet not registered"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesDeleteWallet.html
|
||||
msgid "Warning!"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/splash.html
|
||||
msgid "WELCOME TO COPAY"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/services/profileService.js
|
||||
msgid "Wrong password"
|
||||
msgstr ""
|
||||
|
@ -1367,37 +1452,3 @@ msgstr ""
|
|||
#: src/js/controllers/import.js
|
||||
msgid "Your wallet has been imported correctly"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferencesEmail.html
|
||||
msgid "email for wallet notifications"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "locked by pending payments"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/copayers.html
|
||||
#: public/views/walletHome.html
|
||||
#: public/views/includes/sidebar.html
|
||||
msgid "of"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "optional"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/preferences.html
|
||||
msgid "settings"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/walletHome.html
|
||||
msgid "too long!"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/walletHome.js
|
||||
msgid "{{fee}} will be discounted for bitcoin networking fees"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/importLegacy.js
|
||||
msgid "{{len}} wallets imported. Funds scanning in progress. Hold on to see updated balance"
|
||||
msgstr ""
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div class="rect4"></div>
|
||||
<div class="rect5"></div>
|
||||
</div>
|
||||
<span>{{buy.loading|translate}}</span>
|
||||
<span>{{buy.loading}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -26,11 +26,11 @@
|
|||
<i class="fi-info size-24 m10r"></i>
|
||||
</div>
|
||||
<div class="size-10">
|
||||
<span class="text-light" translate>Daily buy limit</span>:
|
||||
<span class="text-light">Daily buy limit</span>:
|
||||
{{index.glideraLimits.dailyBuy|currency:'':2}} {{index.glideraLimits.currency}}
|
||||
(remaining {{index.glideraLimits.dailyBuyRemaining|currency:'':2}} {{index.glideraLimits.currency}})
|
||||
<br>
|
||||
<span class="text-light" translate>Monthly buy limit</span>:
|
||||
<span class="text-light">Monthly buy limit</span>:
|
||||
{{index.glideraLimits.monthlyBuy|currency:'':2}} {{index.glideraLimits.currency}}
|
||||
(remaining {{index.glideraLimits.monthlyBuyRemaining|currency:'':2}} {{index.glideraLimits.currency}})
|
||||
</div>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<div class="columns">
|
||||
|
||||
<div class="box-notification" ng-show="index.glideraLimits.transactDisabledPendingFirstTransaction">
|
||||
<span class="text-warning size-14" translate>
|
||||
<span class="text-warning size-14">
|
||||
This operation was disabled because you have a pending first transaction
|
||||
</span>
|
||||
</div>
|
||||
|
@ -54,10 +54,10 @@
|
|||
<div ng-if="index.glideraToken"
|
||||
ng-init="otherWallets = buy.otherWallets(index.glideraTestnet)"
|
||||
ng-click="openWalletsModal(otherWallets)">
|
||||
<label translate>Wallet</label>
|
||||
<label>Wallet</label>
|
||||
<div class="input">
|
||||
<input type="text" id="address" name="address" ng-disabled="buy.selectedWalletId"
|
||||
ng-attr-placeholder="{{'Choose your destination wallet'|translate}}"
|
||||
ng-attr-placeholder="{{'Choose your destination wallet'}}"
|
||||
ng-model="buy.selectedWalletName" required>
|
||||
<a class="postfix size-12 m0 text-gray">
|
||||
<i class="icon-wallet size-18"></i>
|
||||
|
@ -65,15 +65,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<label><span translate>Amount in</span> {{showAlternative ? 'USD' : 'BTC'}}</label>
|
||||
<label>Amount in {{showAlternative ? 'USD' : 'BTC'}}</label>
|
||||
<div class="input">
|
||||
<input ng-show="!showAlternative" type="number" id="qty"
|
||||
name="qty" ng-attr-placeholder="{{'Amount'|translate}}"
|
||||
name="qty" ng-attr-placeholder="{{'Amount'}}"
|
||||
ng-minlength="0.00000001" ng-maxlength="10000000000"
|
||||
ng-model="qty" autocomplete="off" ng-change="buy.getBuyPrice(index.glideraToken, {'qty': qty})">
|
||||
|
||||
<input ng-show="showAlternative" type="number" id="fiat"
|
||||
name="fiat" ng-attr-placeholder="{{'Amount'|translate}}"
|
||||
name="fiat" ng-attr-placeholder="{{'Amount'}}"
|
||||
ng-model="fiat" autocomplete="off" ng-change="buy.getBuyPrice(index.glideraToken, {'fiat': fiat})">
|
||||
|
||||
<a ng-show="!showAlternative" class="postfix"
|
||||
|
@ -87,7 +87,7 @@
|
|||
<span ng-show="fiat">{{buy.buyPrice.qty}} BTC</span>
|
||||
at {{buy.buyPrice.price}} {{buy.buyPrice.currency}}/BTC
|
||||
</div>
|
||||
<div class="text-center text-gray size-12 m20b" ng-show="!buy.gettingBuyPrice && !buy.buyPrice.qty" translate>
|
||||
<div class="text-center text-gray size-12 m20b" ng-show="!buy.gettingBuyPrice && !buy.buyPrice.qty">
|
||||
(Enter the amount to get the exchange rate)
|
||||
</div>
|
||||
|
||||
|
@ -97,16 +97,16 @@
|
|||
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="{{'Continue'|translate}}"
|
||||
type="submit" value="{{'Continue'}}"
|
||||
ng-disabled="index.glideraLimits.transactDisabledPendingFirstTransaction || !buy.buyPrice.qty ||
|
||||
!buy.selectedWalletAddr || buy.loading">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div ng-show="buy.show2faCodeInput && !buy.success">
|
||||
<div class="m10t text-center" translate>
|
||||
<div class="m10t text-center">
|
||||
{{buy.buyPrice.subtotal|currency:'':2}} {{buy.buyPrice.currency}} → {{buy.buyPrice.qty}} BTC
|
||||
<p class="m20t" translate>
|
||||
<p class="m20t">
|
||||
A SMS containing a confirmation code was sent to your phone. <br>
|
||||
Please, enter the code below
|
||||
</p>
|
||||
|
@ -115,21 +115,21 @@
|
|||
<input type="number" ng-model="twoFaCode" required>
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="{{'Buy'|translate}}" ng-disabled="buyForm.$invalid || buy.loading">
|
||||
type="submit" value="{{'Buy'}}" ng-disabled="buyForm.$invalid || buy.loading">
|
||||
</form>
|
||||
<p class="m10t size-12 text-gray" translate>
|
||||
<p class="m10t size-12 text-gray">
|
||||
Fiat will be immediately withdrawn from your bank account. The bitcoins will be purchased and deposited to your wallet ({{index.walletName}}) in 2-4 business days.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-notification" ng-show="buy.error && !buy.success">
|
||||
<span class="text-warning size-14">
|
||||
{{buy.error|translate}}
|
||||
{{buy.error}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-center" ng-show="buy.success">
|
||||
<h1 translate>Purchase initiated</h1>
|
||||
<p class="text-gray" translate>
|
||||
<h1>Purchase initiated</h1>
|
||||
<p class="text-gray">
|
||||
A transfer has been initiated from your bank account. Your bitcoins should arrive to your wallet in 2-4 business days.
|
||||
</p>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<h4 class="title oh m0">
|
||||
<span translate>Waiting for copayers</span>
|
||||
<span class="text-gray right">
|
||||
[ {{index.m}} <span translate>of</span> {{index.n}} ]
|
||||
[ <span translate>{{index.m}}-of-{{index.n}}</span> ]
|
||||
</span>
|
||||
</h4>
|
||||
<div class="p10 line-b" ng-include="'views/includes/copayers.html'"></div>
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<div class="rect4"></div>
|
||||
<div class="rect5"></div>
|
||||
</div>
|
||||
<span ng-show="glidera.loading" translate>Connecting to Glidera...</span>
|
||||
<span ng-show="index.glideraLoading">{{index.glideraLoading|translate}}</span>
|
||||
<span ng-show="glidera.loading">Connecting to Glidera...</span>
|
||||
<span ng-show="index.glideraLoading">{{index.glideraLoading}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
Retry
|
||||
</button>
|
||||
<div class="m20t size-12">
|
||||
<a class="text-gray" ng-click="$root.go('preferencesGlidera')" translate>Preferences</a>
|
||||
<a class="text-gray" ng-click="$root.go('preferencesGlidera')">Preferences</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -59,11 +59,11 @@
|
|||
<img src="img/glidera-logo.png" ng-click="index.updateGlidera(index.glideraToken, index.glideraPermissions)" width="200">
|
||||
</div>
|
||||
<div class="text-center small-10 small-centered columns" ng-show="!showOauthForm">
|
||||
<p class="m10b" translate>You can buy and sell Bitcoin with a US bank account directly in Copay.</p>
|
||||
<p class="text-gray size-12" translate>Connect your Glidera account to get started</p>
|
||||
<p class="m10b">You can buy and sell Bitcoin with a US bank account directly in Copay.</p>
|
||||
<p class="text-gray size-12">Connect your Glidera account to get started</p>
|
||||
|
||||
<a class="button m20t light-gray outline round small"
|
||||
ng-click="$root.openExternalLink(glidera.getAuthenticateUrl(), '_system'); showOauthForm = true" translate>
|
||||
ng-click="$root.openExternalLink(glidera.getAuthenticateUrl(), '_system'); showOauthForm = true">
|
||||
Connect to Glidera
|
||||
</a>
|
||||
<div>
|
||||
|
@ -79,16 +79,16 @@
|
|||
<form name="oauthCodeForm" ng-submit="glidera.submitOauthCode(code)" novalidate>
|
||||
<label>OAuth Code</label>
|
||||
<input type="text" ng-model="code" ng-disabled="glidera.loading"
|
||||
ng-attr-placeholder="{{'Paste the authorization code here'|translate}}" required>
|
||||
ng-attr-placeholder="{{'Paste the authorization code here'}}" required>
|
||||
<input
|
||||
class="button expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="Get started" ng-disabled="oauthCodeForm.$invalid || glidera.loading">
|
||||
</form>
|
||||
<div>
|
||||
<a href class="size-12 text-gray"
|
||||
ng-click="showOauthForm = false; index.glideraError = null; glidera.error = null" translate>Go back</a>
|
||||
</div>
|
||||
<button class="button light-gray expand outline round"
|
||||
ng-click="showOauthForm = false; index.glideraError = null; glidera.error = null">
|
||||
<i class="fi-arrow-left"></i> <span class="tu">Back</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -100,7 +100,7 @@
|
|||
<div class="sub-header" ng-click="$root.go('preferencesGlidera')">
|
||||
<div class="left">
|
||||
<div ng-show="!index.glideraPersonalInfo && !index.glideraEmail">
|
||||
<h4 class="title p0i m10t m0" translate>Preferences</h4>
|
||||
<h4 class="title p0i m10t m0">Preferences</h4>
|
||||
</div>
|
||||
<div ng-show="index.glideraPersonalInfo" class="size-12">
|
||||
<b>
|
||||
|
@ -124,13 +124,12 @@
|
|||
<div class="text-center columns small-8 small-centered m30v size-12"
|
||||
ng-show="index.glideraStatus && (!index.glideraStatus.userEmailIsSetup || !index.glideraStatus.userPhoneIsSetup
|
||||
|| (!index.glideraStatus.userBankAccountIsSetup && index.glideraStatus.bankAccountState != 'VERIFIED'))">
|
||||
<h4 class="text-bold" translate> Complete Setup</h4>
|
||||
<span translate>Your Glidera account is not ready to transact. Please, verify it at <b>Glidera.io</b> </span>
|
||||
<h4 class="text-bold"> Complete Setup</h4>
|
||||
Your Glidera account is not ready to transact. Please, verify it at <b>Glidera.io</b>
|
||||
<a class="button m20t light-gray outline round tiny"
|
||||
ng-init="glideraUrl = index.glideraTestnet ? 'https://sandbox.glidera.io/login' :
|
||||
'https://glidera.io/login'"
|
||||
ng-click="$root.openExternalLink(glideraUrl)"
|
||||
translate>
|
||||
ng-click="$root.openExternalLink(glideraUrl)">
|
||||
Go to Glidera
|
||||
</a>
|
||||
</div>
|
||||
|
@ -142,7 +141,7 @@
|
|||
(index.glideraStatus.userCanBuy || index.glideraStatus.userCanTransact)" class="line-b line-t p20 pointer"
|
||||
ng-click="$root.go('buyGlidera')">
|
||||
<i class="icon-buy-btc size-24 m5r"></i>
|
||||
<span translate>Buy Bitcoin</span>
|
||||
<span>Buy Bitcoin</span>
|
||||
<span class="right text-gray">
|
||||
<i class="icon-arrow-right3 size-24 right"></i>
|
||||
</span>
|
||||
|
@ -152,7 +151,7 @@
|
|||
(index.glideraStatus.userCanSell || index.glideraStatus.userCanTransact)"
|
||||
ng-click="$root.go('sellGlidera')">
|
||||
<i class="icon-sell-btc size-24 m5r"></i>
|
||||
<span translate>Sell Bitcoin</span>
|
||||
<span>Sell Bitcoin</span>
|
||||
<span class="right text-gray">
|
||||
<i class="icon-arrow-right3 size-24 right"></i>
|
||||
</span>
|
||||
|
@ -160,9 +159,9 @@
|
|||
</ul>
|
||||
|
||||
<div ng-show="index.glideraPermissions.transaction_history">
|
||||
<h4 class="title m0" translate>Activity</h4>
|
||||
<h4 class="title m0">Activity</h4>
|
||||
<div ng-show="index.glideraTxs.length == 0 && !index.glideraLoadingHistory"
|
||||
class="size-12 p10 text-center text-gray" translate>
|
||||
class="size-12 p10 text-center text-gray">
|
||||
No activity in your account
|
||||
</div>
|
||||
<div ng-repeat="tx in index.glideraTxs"
|
||||
|
@ -170,8 +169,8 @@
|
|||
class="row collapse last-transactions-content">
|
||||
<div class="large-3 medium-3 small-3 columns">
|
||||
<span class="label tu radius" ng-show="tx.type == 'BUY'"
|
||||
ng-style="{'background-color':index.backgroundColor}" translate>Bought</span>
|
||||
<span class="label tu gray radius" ng-show="tx.type == 'SELL'" translate>Sold</span>
|
||||
ng-style="{'background-color':index.backgroundColor}">Bought</span>
|
||||
<span class="label tu gray radius" ng-show="tx.type == 'SELL'">Sold</span>
|
||||
</div>
|
||||
|
||||
<div class="large-4 medium-4 small-4 columns">
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<div class="rect4"></div>
|
||||
<div class="rect5"></div>
|
||||
</div>
|
||||
<span ng-show="glidera.loading" translate>Connecting to Glidera...</span>
|
||||
<span ng-show="glidera.loading">Connecting to Glidera...</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{index.showAlert.msg|translate}}
|
||||
</div>
|
||||
<div class="text-center m20t" ng-click="index.showAlert.close()">
|
||||
<a class="button outline light-gray round tiny small-4" translate>OK</a>
|
||||
<a class="button outline light-gray round tiny small-4">OK</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -29,15 +29,15 @@
|
|||
<div class="small-6 columns">
|
||||
<button class="round expand" ng-click="pass.set(index.askPassword.isSetup, index.askPassword.callback)" ng-disabled="!pass.password"
|
||||
ng-style="{'background-color':index.backgroundColor}">
|
||||
<span translate ng-if="index.askPassword.isSetup" translate>SET</span>
|
||||
<span translate ng-if="!index.askPassword.isSetup" translate>OK</span>
|
||||
<span ng-if="index.askPassword.isSetup" translate>SET</span>
|
||||
<span ng-if="!index.askPassword.isSetup">OK</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="text-warning size-12 columns m20t text-center" ng-show="index.askPassword.isSetup">
|
||||
<i class="fi-alert"></i>
|
||||
<span translate ng-show="!pass.error"> Password cannot be recovered. Be sure to write it down</span>
|
||||
<span translate ng-show="!pass.error">Password cannot be recovered. Be sure to write it down</span>
|
||||
|
||||
<span ng-show="pass.error">{{pass.error|translate}}</span>
|
||||
</p>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div class="avatar-wallet"
|
||||
ng-style="{'background-color':item.color}">{{(item.name || item.id) | limitTo: 1}}</div>
|
||||
<div class="name-wallet" ng-class="{'m8t':item.n == 1}">{{item.name || item.id}}</div>
|
||||
<div class="size-12" ng-show="item.n > 1">{{item.m}} <span translate>of</span> {{item.n}}</div>
|
||||
<div class="size-12" ng-show="item.n > 1" translate>{{item.m}}-of-{{item.n}}</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -30,9 +30,9 @@
|
|||
<i class="icon-arrow-right3 size-18 right m10t"></i>
|
||||
<i class="icon-bank size-24 db left m20r m5t"></i>
|
||||
<div class="tu text-bold">
|
||||
<span class="size-12" translate>Buy & Sell Bitcoin</span>
|
||||
<span class="size-12">Buy & Sell Bitcoin</span>
|
||||
</div>
|
||||
<div translate>Glidera</div>
|
||||
<div>Glidera</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<div class="m20tp text-center">
|
||||
<div class="row">
|
||||
<h1 class="text-center m20b p20h" translate>Are you sure you would like to log out of your Glidera account?</h1>
|
||||
<p class="text-gray p20h" translate>You will need to log back in to buy or sell bitcoin in Copay.</p>
|
||||
<h1 class="text-center m20b p20h">Are you sure you would like to log out of your Glidera account?</h1>
|
||||
<p class="text-gray p20h">You will need to log back in to buy or sell bitcoin in Copay.</p>
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="button light-gray expand outline round" ng-click="cancel()">
|
||||
<i class="fi-arrow-left"></i> <span class="tu" translate>Back</span>
|
||||
<i class="fi-arrow-left"></i> <span class="tu">Back</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="button warning expand round" ng-click="ok()">
|
||||
<span translate>Log out</span>
|
||||
<span>Log out</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<section class="left-small">
|
||||
<a ng-click="cancel()">
|
||||
<i class="icon-arrow-left3 icon-back"></i>
|
||||
<span class="text-back" translate>Back</span>
|
||||
<span class="text-back">Back</span>
|
||||
</a>
|
||||
</section>
|
||||
<section class="middle tab-bar-section">
|
||||
<h1 class="title ellipsis" ng-style="{'color':color}" translate>
|
||||
<h1 class="title ellipsis" ng-style="{'color':color}">
|
||||
Transaction
|
||||
</h1>
|
||||
</section>
|
||||
|
@ -15,8 +15,8 @@
|
|||
<div class="modal-content fix-modals-touch">
|
||||
<div class="header-modal text-center">
|
||||
<span class="label tu radius" ng-show="tx.type == 'BUY'"
|
||||
ng-style="{'background-color':color}" translate>Bought</span>
|
||||
<span class="label tu gray radius" ng-show="tx.type == 'SELL'" translate>Sold</span>
|
||||
ng-style="{'background-color':color}">Bought</span>
|
||||
<span class="label tu gray radius" ng-show="tx.type == 'SELL'">Sold</span>
|
||||
<div class="size-42">
|
||||
{{tx.subtotal|currency:'':2}} {{tx.currency}}
|
||||
</div>
|
||||
|
@ -27,34 +27,34 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h4 class="title m0" translate>Details</h4>
|
||||
<h4 class="title m0">Details</h4>
|
||||
|
||||
<ul class="no-bullet size-14 m0">
|
||||
|
||||
<li ng-show="tx.transactionDate" class="line-b p10 oh">
|
||||
<span class="text-gray" translate>Date</span>
|
||||
<span class="text-gray">Date</span>
|
||||
<span class="right">{{tx.transactionDate | amCalendar}}</span>
|
||||
</li>
|
||||
|
||||
<li ng-show="tx.price" class="line-b p10 oh">
|
||||
<span class="text-gray" translate>Exchange rate</span>
|
||||
<span class="text-gray">Exchange rate</span>
|
||||
<span class="right">{{tx.price|currency:'':2}} {{tx.currency}}/BTC</span>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="title m0"> </h4>
|
||||
<ul class="no-bullet size-14 m0">
|
||||
<li ng-show="tx.subtotal" class="line-b p10 oh">
|
||||
<span class="text-gray" translate>Subtotal</span>
|
||||
<span class="text-gray">Subtotal</span>
|
||||
<span class="right">{{tx.subtotal|currency:'':2}} {{tx.currency}}</span>
|
||||
</li>
|
||||
|
||||
<li ng-show="tx.fees" class="line-b p10 oh">
|
||||
<span class="text-gray" translate>Fees</span>
|
||||
<span class="text-gray">Fees</span>
|
||||
<span class="right">{{tx.fees|currency:'':2}} {{tx.currency}}</span>
|
||||
</li>
|
||||
|
||||
<li ng-show="tx.total" class="line-b p10 oh text-bold">
|
||||
<span class="text-gray" translate>Total</span>
|
||||
<span class="text-gray">Total</span>
|
||||
<span class="right">{{tx.total|currency:'':2}} {{tx.currency}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<span translate>Payment Sent</span>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<a class="button outline round white tiny small-4" ng-click="cancel()" translate>OKAY</a>
|
||||
<a class="button outline round white tiny small-4" ng-click="cancel()">OKAY</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
<span translate>Payment Proposal Created</span>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<a class="button outline round light-gray tiny small-4" ng-click="cancel()" translate>OKAY</a>
|
||||
<a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
<span translate>Payment Accepted</span>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<a class="button outline round light-gray tiny small-4" ng-click="cancel()" translate>OKAY</a>
|
||||
<a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -38,6 +38,6 @@
|
|||
<span translate>Payment Rejected</span>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<a class="button outline light-gray round tiny small-4" ng-click="cancel()" translate>OKAY</a>
|
||||
<a class="button outline light-gray round tiny small-4" ng-click="cancel()">OKAY</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -96,11 +96,11 @@
|
|||
</span>
|
||||
</li>
|
||||
<li class="line-b p20" ng-show="!index.noFocusedWallet">
|
||||
<span translate>Enable Glidera Service</span>
|
||||
<span>Enable Glidera Service</span>
|
||||
<switch id="glidera-enabled" name="glideraEnabled" ng-model="glideraEnabled" class="green right"></switch>
|
||||
</li>
|
||||
<li class="line-b p20" ng-show="!index.noFocusedWallet && glideraEnabled">
|
||||
<span translate>Glidera Sandbox</span>
|
||||
<span>Glidera Sandbox</span>
|
||||
<switch id="glidera-testnet" name="glideraTestnet" ng-model="glideraTestnet" class="green right"></switch>
|
||||
</li>
|
||||
<li class="line-b p20" ng-click="$root.go('about')">
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<label translate>email for wallet notifications</label>
|
||||
<label translate>Email for wallet notifications</label>
|
||||
<input type="email" id="email" name="email" ng-model="prefEmail.email" required>
|
||||
<input type="submit" class="button expand black round" value="{{'Save'|translate}}"
|
||||
ng-style="{'background-color':index.backgroundColor}" ng-disabled="emailForm.$invalid && !index.preferences.email">
|
||||
|
|
|
@ -7,27 +7,27 @@
|
|||
<div class="content preferences" ng-controller="preferencesGlideraController as glidera">
|
||||
|
||||
<ul ng-if="index.glideraToken" class="no-bullet m0 size-14">
|
||||
<h4 class="title m0" translate>Permissions</h4>
|
||||
<h4 class="title m0">Permissions</h4>
|
||||
<li class="line-b p20">
|
||||
<span translate>Email</span>
|
||||
<span>Email</span>
|
||||
<span class="right text-gray">
|
||||
{{index.glideraPermissions.view_email_address}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Personal Information</span>
|
||||
<span>Personal Information</span>
|
||||
<span class="right text-gray">
|
||||
{{index.glideraPermissions.personal_info}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Buy/Sell</span>
|
||||
<span>Buy/Sell</span>
|
||||
<span class="right text-gray">
|
||||
{{index.glideraPermissions.transact}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Transaction History</span>
|
||||
<span>Transaction History</span>
|
||||
<span class="right text-gray">
|
||||
{{index.glideraPermissions.transaction_history}}
|
||||
</span>
|
||||
|
@ -37,15 +37,15 @@
|
|||
<ul ng-if="index.glideraPermissions.view_email_address"
|
||||
ng-init="glidera.getEmail(index.glideraToken)"
|
||||
class="no-bullet m0 size-14">
|
||||
<h4 class="title m0" translate>Email</h4>
|
||||
<h4 class="title m0">Email</h4>
|
||||
<li class="line-b p20">
|
||||
<span translate>Email</span>
|
||||
<span>Email</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.email.email}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Active</span>
|
||||
<span>Active</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.email.userEmailIsSetup}}
|
||||
</span>
|
||||
|
@ -55,76 +55,76 @@
|
|||
<ul ng-if="index.glideraPermissions.personal_info"
|
||||
ng-init="glidera.getPersonalInfo(index.glideraToken)"
|
||||
class="no-bullet m0 size-14">
|
||||
<h4 class="title m0" translate>Personal Information</h4>
|
||||
<h4 class="title m0">Personal Information</h4>
|
||||
|
||||
<li class="line-b p20">
|
||||
<span translate>First Name</span>
|
||||
<span>First Name</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.firstName}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Middle Name</span>
|
||||
<span>Middle Name</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.middleName}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Last Name</span>
|
||||
<span>Last Name</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.lastName}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Birth Date</span>
|
||||
<span>Birth Date</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.birthDate}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Address 1</span>
|
||||
<span>Address 1</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.address1}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Address 2</span>
|
||||
<span>Address 2</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.address2}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>City</span>
|
||||
<span>City</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.city}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>State</span>
|
||||
<span>State</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.state}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>ZIP Code</span>
|
||||
<span>ZIP Code</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.zipCode}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Country</span>
|
||||
<span>Country</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.countryCode}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Occupation</span>
|
||||
<span>Occupation</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.occupation}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Basic Information State</span>
|
||||
<span>Basic Information State</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.personalInfo.basicInfoState}}
|
||||
</span>
|
||||
|
@ -133,59 +133,59 @@
|
|||
|
||||
<ul ng-if="index.glideraToken" ng-init="glidera.getStatus(index.glideraToken)"
|
||||
class="no-bullet m0 size-14">
|
||||
<h4 class="title m0" translate>Status</h4>
|
||||
<h4 class="title m0">Status</h4>
|
||||
|
||||
<li class="line-b p20">
|
||||
<span translate>Buy/Sell</span>
|
||||
<span>Buy/Sell</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.userCanTransact}}
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<li class="line-b p20">
|
||||
<span translate>Buy</span>
|
||||
<span>Buy</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.userCanBuy}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Sell</span>
|
||||
<span>Sell</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.userCanSell}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Email Is Setup</span>
|
||||
<span>Email Is Setup</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.userEmailIsSetup}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Phone Is Setup</span>
|
||||
<span>Phone Is Setup</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.userPhoneIsSetup}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Bank Account Is Setup</span>
|
||||
<span>Bank Account Is Setup</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.userBankAccountIsSetup}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Personal Information State</span>
|
||||
<span>Personal Information State</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.personalInfoState}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Bank Account State</span>
|
||||
<span>Bank Account State</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.bankAccountState}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Country</span>
|
||||
<span>Country</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.status.country}}
|
||||
</span>
|
||||
|
@ -194,58 +194,58 @@
|
|||
|
||||
<ul ng-if="index.glideraToken" ng-init="glidera.getLimits(index.glideraToken)"
|
||||
class="no-bullet m0 size-14">
|
||||
<h4 class="title m0" translate>Limits</h4>
|
||||
<h4 class="title m0">Limits</h4>
|
||||
|
||||
<li class="line-b p20">
|
||||
<span translate>Daily Buy</span>
|
||||
<span>Daily Buy</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.dailyBuy|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Daily Sell</span>
|
||||
<span>Daily Sell</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.dailySell|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Monthly Buy</span>
|
||||
<span>Monthly Buy</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.monthlyBuy|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Monthly Sell</span>
|
||||
<span>Monthly Sell</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.monthlySell|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Daily Buy Remaining</span>
|
||||
<span>Daily Buy Remaining</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.dailyBuyRemaining|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Daily Sell Remaining</span>
|
||||
<span>Daily Sell Remaining</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.dailySellRemaining|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Monthly Buy Remaining</span>
|
||||
<span>Monthly Buy Remaining</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.monthlyBuyRemaining|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Monthly Sell Remaining</span>
|
||||
<span>Monthly Sell Remaining</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.monthlySellRemaining|currency:'':2}} {{glidera.limits.currency}}
|
||||
</span>
|
||||
</li>
|
||||
<li class="line-b p20">
|
||||
<span translate>Buy/Sell Disabled (pending first transaction)</span>
|
||||
<span>Buy/Sell Disabled (pending first transaction)</span>
|
||||
<span class="right text-gray">
|
||||
{{glidera.limits.transactDisabledPendingFirstTransaction}}
|
||||
</span>
|
||||
|
@ -253,11 +253,11 @@
|
|||
</ul>
|
||||
|
||||
<ul class="no-bullet m0 size-14">
|
||||
<h4 class="title m0" translate>Account</h4>
|
||||
<h4 class="title m0">Account</h4>
|
||||
|
||||
<li class="line-b p20" ng-click="glidera.revokeToken(index.glideraTestnet)">
|
||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<span class="text-warning" translate>Log out</span>
|
||||
<span class="text-warning">Log out</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<h4 class="title m0" translate>Extended Public Keys</h4>
|
||||
<li class="line-b p10" ng-repeat="pk in pubKeys">
|
||||
<div class="row">
|
||||
<div class="small-3 columns" translate>Copayer</span> {{$index}}
|
||||
<div class="small-3 columns">Copayer {{$index}}
|
||||
</div>
|
||||
|
||||
<div class="small-9 columns oh enable_text_select text-gray" style="text-overflow:ellipsis">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div class="rect4"></div>
|
||||
<div class="rect5"></div>
|
||||
</div>
|
||||
<span>{{sell.loading|translate}}</span>
|
||||
<span>{{sell.loading}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -26,11 +26,11 @@
|
|||
<i class="fi-info size-24 m10r"></i>
|
||||
</div>
|
||||
<div class="size-10">
|
||||
<span class="text-light" translate>Daily sell limit</span>:
|
||||
<span class="text-light">Daily sell limit</span>:
|
||||
{{index.glideraLimits.dailySell|currency:'':2}} {{index.glideraLimits.currency}}
|
||||
(remaining {{index.glideraLimits.dailySellRemaining|currency:'':2}} {{index.glideraLimits.currency}})
|
||||
<br>
|
||||
<span class="text-light" translate>Monthly sell limit</span>:
|
||||
<span class="text-light">Monthly sell limit</span>:
|
||||
{{index.glideraLimits.monthlySell|currency:'':2}} {{index.glideraLimits.currency}}
|
||||
(remaining {{index.glideraLimits.monthlySellRemaining|currency:'':2}} {{index.glideraLimits.currency}})
|
||||
</div>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<div class="columns">
|
||||
|
||||
<div class="box-notification" ng-show="index.glideraLimits.transactDisabledPendingFirstTransaction">
|
||||
<span class="text-warning size-14" translate>
|
||||
<span class="text-warning size-14">
|
||||
This operation was disabled because you have a pending first transaction
|
||||
</span>
|
||||
</div>
|
||||
|
@ -53,10 +53,10 @@
|
|||
<div ng-if="index.glideraToken"
|
||||
ng-init="otherWallets = sell.otherWallets(index.glideraTestnet)"
|
||||
ng-click="openWalletsModal(otherWallets)">
|
||||
<label translate>Wallet</label>
|
||||
<label>Wallet</label>
|
||||
<div class="input">
|
||||
<input type="text" id="address" name="address" ng-disabled="sell.selectedWalletId"
|
||||
ng-attr-placeholder="{{'Choose your destination wallet'|translate}}"
|
||||
ng-attr-placeholder="{{'Choose your destination wallet'}}"
|
||||
ng-model="sell.selectedWalletName" required>
|
||||
<a class="postfix size-12 m0 text-gray">
|
||||
<i class="icon-wallet size-18"></i>
|
||||
|
@ -64,15 +64,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<label><span translate>Amount in</span> {{showAlternative ? 'USD' : 'BTC'}}</label>
|
||||
<label><span>Amount in</span> {{showAlternative ? 'USD' : 'BTC'}}</label>
|
||||
<div class="input">
|
||||
<input ng-show="!showAlternative" type="number" id="qty"
|
||||
name="qty" ng-attr-placeholder="{{'Amount'|translate}}"
|
||||
name="qty" ng-attr-placeholder="{{'Amount'}}"
|
||||
ng-minlength="0.00000001" ng-maxlength="10000000000"
|
||||
ng-model="qty" autocomplete="off" ng-change="sell.getSellPrice(index.glideraToken, {'qty': qty})">
|
||||
|
||||
<input ng-show="showAlternative" type="number" id="fiat"
|
||||
name="fiat" ng-attr-placeholder="{{'Amount'|translate}}"
|
||||
name="fiat" ng-attr-placeholder="{{'Amount'}}"
|
||||
ng-model="fiat" autocomplete="off" ng-change="sell.getSellPrice(index.glideraToken, {'fiat': fiat})">
|
||||
|
||||
<a ng-show="!showAlternative" class="postfix"
|
||||
|
@ -87,7 +87,7 @@
|
|||
at {{sell.sellPrice.price|currency:'':2}} {{sell.sellPrice.currency}}/BTC
|
||||
|
||||
</div>
|
||||
<div class="text-center text-gray size-12 m20b" ng-show="!sell.gettingSellPrice && !sell.sellPrice.qty" translate>
|
||||
<div class="text-center text-gray size-12 m20b" ng-show="!sell.gettingSellPrice && !sell.sellPrice.qty">
|
||||
(Enter the amount to get the exchange rate)
|
||||
</div>
|
||||
|
||||
|
@ -97,16 +97,16 @@
|
|||
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="{{'Continue'|translate}}"
|
||||
type="submit" value="{{'Continue'}}"
|
||||
ng-disabled="index.glideraLimits.transactDisabledPendingFirstTransaction || !sell.sellPrice.qty ||
|
||||
!sell.selectedWalletId || sell.loading">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div ng-show="sell.show2faCodeInput && !sell.success">
|
||||
<div class="m10t text-center" translate>
|
||||
<div class="m10t text-center">
|
||||
{{sell.sellPrice.qty}} BTC → {{sell.sellPrice.subtotal|currency:'':2}} {{sell.sellPrice.currency}}
|
||||
<p class="m20t" translate>
|
||||
<p class="m20t">
|
||||
A SMS containing a confirmation code was sent to your phone. <br>
|
||||
Please, enter the code below
|
||||
</p>
|
||||
|
@ -115,21 +115,21 @@
|
|||
<input type="number" ng-model="twoFaCode" required>
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="{{'Sell'|translate}}" ng-disabled="sellForm.$invalid || sell.loading">
|
||||
type="submit" value="{{'Sell'}}" ng-disabled="sellForm.$invalid || sell.loading">
|
||||
</form>
|
||||
<p class="m10t size-12 text-gray" translate>
|
||||
<p class="m10t size-12 text-gray">
|
||||
Bitcoins will be immediately sent from your wallet to Glidera. Fiat will be deposited in your bank account in 4-6 business days.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-notification" ng-show="sell.error && !sell.success">
|
||||
<span class="text-warning size-14">
|
||||
{{sell.error|translate}}
|
||||
{{sell.error}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-center" ng-show="sell.success">
|
||||
<h1 translate>Sale initiated</h1>
|
||||
<p class="text-gray" translate>
|
||||
<h1>Sale initiated</h1>
|
||||
<p class="text-gray">
|
||||
A transfer has been initiated to your bank account and should arrive in 4-6 business days.
|
||||
</p>
|
||||
|
||||
|
|
|
@ -123,7 +123,8 @@
|
|||
{{(index.alias || index.walletName)}}
|
||||
</p>
|
||||
<div class="size-12 text-gray">
|
||||
<span translate>Multisignature wallet</span> ({{index.m}} <span translate>of</span> {{index.n}})
|
||||
<span translate>Multisignature wallet</span>
|
||||
(<span translate>{{index.m}}-of-{{index.n}}</span>)
|
||||
<span ng-if="index.network != 'livenet'">- Testnet</span>
|
||||
<span ng-if="!index.canSign"> - <span translate>No Private key</span></span>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('buyGlideraController',
|
||||
function($scope, $timeout, $modal, profileService, addressService, glideraService, gettext, gettextCatalog, bwsError, lodash, isChromeApp) {
|
||||
function($scope, $timeout, $modal, profileService, addressService, glideraService, bwsError, lodash, isChromeApp) {
|
||||
|
||||
var self = this;
|
||||
this.show2faCodeInput = null;
|
||||
|
@ -36,13 +36,13 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
|
|||
|
||||
$scope.selectWallet = function(walletId, walletName) {
|
||||
if (!profileService.getClient(walletId).isComplete()) {
|
||||
self.error = bwsError.msg({'code': 'WALLET_NOT_COMPLETE'}, gettextCatalog.getString('Could not choose the wallet'));
|
||||
self.error = bwsError.msg({'code': 'WALLET_NOT_COMPLETE'}, 'Could not choose the wallet');
|
||||
$modalInstance.dismiss('cancel');
|
||||
return;
|
||||
}
|
||||
addressService.getAddress(walletId, false, function(err, walletAddr) {
|
||||
if (err) {
|
||||
self.error = bwsError.cb(err, gettext('Could not create address'));
|
||||
self.error = bwsError.cb(err, 'Could not create address');
|
||||
$modalInstance.dismiss('cancel');
|
||||
return;
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
|
|||
glideraService.buyPrice(token, price, function(err, buyPrice) {
|
||||
self.gettingBuyPrice = false;
|
||||
if (err) {
|
||||
self.error = gettext('Could not get exchange information. Please, try again.');
|
||||
self.error = 'Could not get exchange information. Please, try again.';
|
||||
}
|
||||
else {
|
||||
self.buyPrice = buyPrice;
|
||||
|
@ -97,12 +97,12 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
|
|||
|
||||
this.get2faCode = function(token) {
|
||||
var self = this;
|
||||
this.loading = gettext('Sending 2FA code...');
|
||||
this.loading = 'Sending 2FA code...';
|
||||
$timeout(function() {
|
||||
glideraService.get2faCode(token, function(err, sent) {
|
||||
self.loading = null;
|
||||
if (err) {
|
||||
self.error = gettext('Could not send confirmation code to your phone');
|
||||
self.error = 'Could not send confirmation code to your phone';
|
||||
}
|
||||
else {
|
||||
self.error = null;
|
||||
|
@ -115,7 +115,7 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
|
|||
this.sendRequest = function(token, permissions, twoFaCode) {
|
||||
var self = this;
|
||||
self.error = null;
|
||||
self.loading = gettext('Buying bitcoin...');
|
||||
self.loading = 'Buying bitcoin...';
|
||||
var data = {
|
||||
destinationAddress: self.selectedWalletAddr,
|
||||
qty: self.buyPrice.qty,
|
||||
|
|
|
@ -880,7 +880,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
getToken(function(err, accessToken) {
|
||||
if (err || !accessToken) return;
|
||||
else {
|
||||
self.glideraLoading = gettext('Connecting to Glidera...');
|
||||
self.glideraLoading = 'Connecting to Glidera...';
|
||||
glideraService.getAccessTokenPermissions(accessToken, function(err, p) {
|
||||
self.glideraLoading = null;
|
||||
if (err) {
|
||||
|
@ -912,7 +912,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
});
|
||||
|
||||
if (permissions.transaction_history) {
|
||||
self.glideraLoadingHistory = gettext('Getting Glidera transactions...');
|
||||
self.glideraLoadingHistory = 'Getting Glidera transactions...';
|
||||
glideraService.getTransactions(accessToken, function(err, data) {
|
||||
self.glideraLoadingHistory = null;
|
||||
self.glideraTxs = data;
|
||||
|
@ -920,14 +920,14 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
}
|
||||
|
||||
if (permissions.view_email_address && opts.fullUpdate) {
|
||||
self.glideraLoadingEmail = gettext('Getting Glidera Email...');
|
||||
self.glideraLoadingEmail = 'Getting Glidera Email...';
|
||||
glideraService.getEmail(accessToken, function(err, data) {
|
||||
self.glideraLoadingEmail = null;
|
||||
self.glideraEmail = data.email;
|
||||
});
|
||||
}
|
||||
if (permissions.personal_info && opts.fullUpdate) {
|
||||
self.glideraLoadingPersonalInfo = gettext('Getting Glidera Personal Information...');
|
||||
self.glideraLoadingPersonalInfo = 'Getting Glidera Personal Information...';
|
||||
glideraService.getPersonalInfo(accessToken, function(err, data) {
|
||||
self.glideraLoadingPersonalInfo = null;
|
||||
self.glideraPersonalInfo = data;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('sellGlideraController',
|
||||
function($scope, $timeout, $log, $modal, gettext, gettextCatalog, configService, profileService, addressService, feeService, glideraService, bwsError, lodash, isChromeApp) {
|
||||
function($scope, $timeout, $log, $modal, configService, profileService, addressService, feeService, glideraService, bwsError, lodash, isChromeApp) {
|
||||
|
||||
var self = this;
|
||||
var config = configService.getSync();
|
||||
|
@ -40,7 +40,7 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
|
||||
$scope.selectWallet = function(walletId, walletName) {
|
||||
if (!profileService.getClient(walletId).isComplete()) {
|
||||
self.error = bwsError.msg({'code': 'WALLET_NOT_COMPLETE'}, gettextCatalog.getString('Could not choose the wallet'));
|
||||
self.error = bwsError.msg({'code': 'WALLET_NOT_COMPLETE'}, 'Could not choose the wallet');
|
||||
$modalInstance.dismiss('cancel');
|
||||
return;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
glideraService.sellPrice(token, price, function(err, sellPrice) {
|
||||
self.gettingSellPrice = false;
|
||||
if (err) {
|
||||
self.error = gettext('Could not get exchange information. Please, try again.');
|
||||
self.error = 'Could not get exchange information. Please, try again.';
|
||||
}
|
||||
else {
|
||||
self.error = null;
|
||||
|
@ -94,12 +94,12 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
|
||||
this.get2faCode = function(token) {
|
||||
var self = this;
|
||||
this.loading = gettext('Sending 2FA code...');
|
||||
this.loading = 'Sending 2FA code...';
|
||||
$timeout(function() {
|
||||
glideraService.get2faCode(token, function(err, sent) {
|
||||
self.loading = null;
|
||||
if (err) {
|
||||
self.error = gettext('Could not send confirmation code to your phone');
|
||||
self.error = 'Could not send confirmation code to your phone';
|
||||
}
|
||||
else {
|
||||
self.show2faCodeInput = sent;
|
||||
|
@ -112,18 +112,18 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
var self = this;
|
||||
self.error = null;
|
||||
|
||||
this.loading = gettext('Selling Bitcoin...');
|
||||
this.loading = 'Selling Bitcoin...';
|
||||
$timeout(function() {
|
||||
addressService.getAddress(fc.credentials.walletId, null, function(err, refundAddress) {
|
||||
if (!refundAddress) {
|
||||
self.loading = null;
|
||||
self.error = bwsError.msg(err, gettext('Could not create address'));
|
||||
self.error = bwsError.msg(err, 'Could not create address');
|
||||
return;
|
||||
}
|
||||
glideraService.getSellAddress(token, function(error, sellAddress) {
|
||||
if (!sellAddress) {
|
||||
self.loading = null;
|
||||
self.error = gettext('Could not get the destination bitcoin address');
|
||||
self.error = 'Could not get the destination bitcoin address';
|
||||
return;
|
||||
}
|
||||
var amount = parseInt((self.sellPrice.qty * 100000000).toFixed(0));
|
||||
|
@ -144,7 +144,7 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
$log.error(err);
|
||||
$timeout(function() {
|
||||
self.loading = null;
|
||||
self.error = bwsError.msg(err, gettextCatalog.getString('Error'));
|
||||
self.error = bwsError.msg(err, 'Error');
|
||||
}, 1);
|
||||
return;
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
fc.signTxProposal(txp, function(err, signedTx) {
|
||||
profileService.lockFC();
|
||||
if (err) {
|
||||
err = bwsError.msg(err, gettextCatalog.getString('Could not accept payment'));
|
||||
err = bwsError.msg(err, 'Could not accept payment');
|
||||
return cb(err);
|
||||
}
|
||||
else {
|
||||
|
@ -209,7 +209,7 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
return cb(null, txp, signedTx.raw);
|
||||
|
||||
} else {
|
||||
return cb(gettext('The transaction could not be signed'));
|
||||
return cb('The transaction could not be signed');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue