kopia lustrzana https://github.com/backface/turtlestitch
Add localization to connection error message.
rodzic
089d1500b4
commit
6926f7085b
10
cloud.js
10
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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue