Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(Alerts): better error message for second password removal error
Browse files Browse the repository at this point in the history
  • Loading branch information
jtormey committed Dec 17, 2015
1 parent ec8a942 commit 08c7590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/services/wallet.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ function Wallet($http, $window, $timeout, Alerts, MyWallet, MyBlockchainApi, MyB
successCallback();
};
let error = () => {
Alerts.displayError('Second password cannot be unset. Contact support.');
$translate('SECOND_PASSWORD_REMOVE_ERR').then(Alerts.displayError);
errorCallback();
};
let cancel = errorCallback;
Expand Down
1 change: 1 addition & 0 deletions locales/en-human.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
"SECOND_PASSWORD_EXPLAIN" : "For Additional security, you can choose a second password that is required whenever you want to spend bitcoins. This is different from your standard wallet password. If you set your second wallet password, don’t forget it!",
"SECOND_PASSWORD_WARNING" : "This is different from your standard wallet password. If you set your second wallet password, don’t forget it!",
"SECOND_PASSWORD_CANCEL": "Your second password is required to send bitcoin. Please try again",
"SECOND_PASSWORD_REMOVE_ERR": "Second password cannot be removed. Please contact support.",
"REMEMBER_2FA" : "Remember 2-step Verification",
"REMEMBER_2FA_EXPLAIN" : "Your browser will be remembered for a short period of time, allowing you to login again without having to re-authenticate. Disable this to require full authentication every time you login. This will not affect your current browser until you delete all cookies.",
"BLOCK_TOR" : "Wallet access via Tor",
Expand Down

0 comments on commit 08c7590

Please sign in to comment.