Merge pull request #3070 from jlopp/spellingFix

fix connection error messages to be grammatically correct
This commit is contained in:
Matias Alejo Garcia 2015-08-10 10:10:28 -03:00
commit 9b0ab9f7d0
2 changed files with 13 additions and 13 deletions

View File

@ -192,7 +192,7 @@ msgid "Changing wallet alias only affects the local wallet name."
msgstr ""
#: src/js/controllers/walletHome.js
msgid "Check you connection and try again"
msgid "Check your Internet connection and try again"
msgstr ""
#: public/views/import.html
@ -254,11 +254,11 @@ msgid "Copy to clipboard"
msgstr ""
#: src/js/controllers/walletHome.js
msgid "Could not accept payment. Check you connection and try again"
msgid "Could not accept payment. Check your Internet connection and try again"
msgstr ""
#: src/js/controllers/walletHome.js
msgid "Could not broadcast payment. Check you connection and try again"
msgid "Could not broadcast payment. Check your Internet connection and try again"
msgstr ""
#: src/js/controllers/walletHome.js
@ -266,7 +266,7 @@ msgid "Could not connect wallet service. Check your Internet connection and your
msgstr ""
#: src/js/controllers/walletHome.js
msgid "Could not create address. Check you connection and try again"
msgid "Could not create address. Check your Internet connection and try again"
msgstr ""
#: src/js/controllers/walletHome.js
@ -282,7 +282,7 @@ msgid "Could not decrypt file, check your password"
msgstr ""
#: src/js/controllers/walletHome.js
msgid "Could not delete payment proposal. Check you connection and try again"
msgid "Could not delete payment proposal. Check your Internet connection and try again"
msgstr ""
#: src/js/controllers/walletHome.js
@ -310,7 +310,7 @@ msgid "Could not recognize a valid Bitcoin QR Code"
msgstr ""
#: src/js/controllers/walletHome.js
msgid "Could not reject payment. Check you connection and try again"
msgid "Could not reject payment. Check your Internet connection and try again"
msgstr ""
#: src/js/controllers/walletHome.js

View File

@ -265,7 +265,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
if (err) {
$scope.loading = false;
parseError(err);
$scope.error = err.message || gettext('Could not accept payment. Check you connection and try again');
$scope.error = err.message || gettext('Could not accept payment. Check your Internet connection and try again');
$scope.$digest();
} else {
//if txp has required signatures then broadcast it
@ -278,7 +278,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$scope.loading = false;
if (err) {
parseError(err);
$scope.error = gettext('Could not broadcast payment. Check you connection and try again');
$scope.error = gettext('Could not broadcast payment. Check your Internet connection and try again');
$scope.$digest();
} else {
$log.debug('Transaction signed and broadcasted')
@ -308,7 +308,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$scope.loading = false;
if (err) {
parseError(err);
$scope.error = err.message || gettext('Could not reject payment. Check you connection and try again');
$scope.error = err.message || gettext('Could not reject payment. Check your Internet connection and try again');
$scope.$digest();
} else {
$modalInstance.close(txpr);
@ -330,7 +330,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
// Hacky: request tries to parse an empty response
if (err && !(err.message && err.message.match(/Unexpected/))) {
parseError(err);
$scope.error = err.message || gettext('Could not delete payment proposal. Check you connection and try again');
$scope.error = err.message || gettext('Could not delete payment proposal. Check your Internet connection and try again');
$scope.$digest();
return;
}
@ -349,7 +349,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$scope.loading = false;
if (err) {
parseError(err);
$scope.error = err.message || gettext('Could not broadcast payment. Check you connection and try again');
$scope.error = err.message || gettext('Could not broadcast payment. Check your Internet connection and try again');
$scope.$digest();
} else {
@ -421,7 +421,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
if (err) {
parseError(err);
self.addrError = err.message || gettext('Could not create address. Check you connection and try again');
self.addrError = err.message || gettext('Could not create address. Check your Internet connection and try again');
}
if (addr)
@ -675,7 +675,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
//This are abnormal situations, but still err message will not be translated
//(the should) we should switch using err.code and use proper gettext messages
errMessage = errMessage + '. ' + (err.message ? err.message : gettext('Check you connection and try again'));
errMessage = errMessage + '. ' + (err.message ? err.message : gettext('Check your Internet connection and try again'));
this.error = errMessage;