Use gettext for error message

This commit is contained in:
Eric Larchevêque 2015-07-17 16:49:56 +02:00 committed by Matias Alejo Garcia
parent d3cbb03004
commit d173ef2e50
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ angular.module('copayApp.controllers').controller('createController',
self.loading = false;
if (err) {
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);
self.error = err;