mirror of https://github.com/BTCPrivate/copay.git
Use gettext for error message
This commit is contained in:
parent
d3cbb03004
commit
d173ef2e50
|
@ -91,7 +91,7 @@ angular.module('copayApp.controllers').controller('createController',
|
||||||
self.loading = false;
|
self.loading = false;
|
||||||
if (err) {
|
if (err) {
|
||||||
if (err == "Error creating wallet" && opts.extendedPublicKey) {
|
if (err == "Error creating wallet" && opts.extendedPublicKey) {
|
||||||
err = "This xpub index is already used by another wallet. Please select another index."
|
err = gettext("This xpub index is already used by another wallet. Please select another index.");
|
||||||
}
|
}
|
||||||
$log.debug(err);
|
$log.debug(err);
|
||||||
self.error = err;
|
self.error = err;
|
||||||
|
|
Loading…
Reference in New Issue