summaryrefslogtreecommitdiff
path: root/cloud.js
diff options
context:
space:
mode:
authorManuel Menezes de Sequeira <MMSequeira@gmail.com>2014-05-20 13:23:24 +0100
committerManuel Menezes de Sequeira <MMSequeira@gmail.com>2014-05-20 13:23:24 +0100
commit6926f7085bb2d1e3df02a6eb0547e40c5d47ef3f (patch)
tree2b256a060dcf1bf015493c3e6b60bb9d64522235 /cloud.js
parent089d1500b41f00611603de936a65093d0dbb15ec (diff)
downloadsnap-byow-6926f7085bb2d1e3df02a6eb0547e40c5d47ef3f.tar.gz
snap-byow-6926f7085bb2d1e3df02a6eb0547e40c5d47ef3f.zip
Add localization to connection error message.
Diffstat (limited to 'cloud.js')
-rw-r--r--cloud.js10
1 files 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;
}