Change Seed to Recovery Phrase, and more. (#4201)

* Seed -> Recovery Phrase ; Passphrase -> Password ; Password -> Spending Password

* More Spending Password
This commit is contained in:
Kirvx 2016-05-09 20:23:20 +02:00 committed by Gustavo Maximiliano Cortez
commit aee30ec151
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
16 changed files with 68 additions and 68 deletions

View file

@ -51,7 +51,7 @@ angular.module('copayApp.controllers').controller('importController',
try {
str2 = sjcl.decrypt(self.password, str);
} catch (e) {
err = gettext('Could not decrypt file, check your password');
err = gettext('Could not decrypt file, check your spending password');
$log.warn(e);
};
@ -190,14 +190,14 @@ angular.module('copayApp.controllers').controller('importController',
this.error = null;
if (!words) {
this.error = gettext('Please enter the seed words');
this.error = gettext('Please enter the recovery phrase');
} else if (words.indexOf('xprv') == 0 || words.indexOf('tprv') == 0) {
return _importExtendedPrivateKey(words, opts);
} else {
var wordList = words.split(/[\u3000\s]+/);
if ((wordList.length % 3) != 0)
this.error = gettext('Wrong number of seed words:') + wordList.length;
this.error = gettext('Wrong number of recovery words:') + wordList.length;
}
if (this.error) {