From 6926f7085bb2d1e3df02a6eb0547e40c5d47ef3f Mon Sep 17 00:00:00 2001 From: Manuel Menezes de Sequeira Date: Tue, 20 May 2014 13:23:24 +0100 Subject: Add localization to connection error message. --- cloud.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cloud.js b/cloud.js index 17fc76b..0dd7780 100644 --- a/cloud.js +++ b/cloud.js @@ -107,7 +107,7 @@ Cloud.prototype.signup = function ( errorCall.call( null, myself.url + 'SignUp', - 'could not connect to:' + localize('could not connect to:') ); } } @@ -164,7 +164,7 @@ Cloud.prototype.getPublicProject = function ( errorCall.call( null, myself.url + 'Public', - 'could not connect to:' + localize('could not connect to:') ); } } @@ -217,7 +217,7 @@ Cloud.prototype.resetPassword = function ( errorCall.call( null, myself.url + 'ResetPW', - 'could not connect to:' + localize('could not connect to:') ); } } @@ -264,7 +264,7 @@ Cloud.prototype.connect = function ( errorCall.call( null, myself.url, - 'could not connect to:' + localize('could not connect to:') ); } } @@ -533,7 +533,7 @@ Cloud.prototype.callService = function ( errorCall.call( this, request.responseText, - 'Service: ' + serviceName + localize('Service:') + ' ' + localize(serviceName) ); return; } -- cgit v1.3.1