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(
|
errorCall.call(
|
||||||
null,
|
null,
|
||||||
myself.url + 'SignUp',
|
myself.url + 'SignUp',
|
||||||
'could not connect to:'
|
localize('could not connect to:')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -164,7 +164,7 @@ Cloud.prototype.getPublicProject = function (
|
||||||
errorCall.call(
|
errorCall.call(
|
||||||
null,
|
null,
|
||||||
myself.url + 'Public',
|
myself.url + 'Public',
|
||||||
'could not connect to:'
|
localize('could not connect to:')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -217,7 +217,7 @@ Cloud.prototype.resetPassword = function (
|
||||||
errorCall.call(
|
errorCall.call(
|
||||||
null,
|
null,
|
||||||
myself.url + 'ResetPW',
|
myself.url + 'ResetPW',
|
||||||
'could not connect to:'
|
localize('could not connect to:')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,7 @@ Cloud.prototype.connect = function (
|
||||||
errorCall.call(
|
errorCall.call(
|
||||||
null,
|
null,
|
||||||
myself.url,
|
myself.url,
|
||||||
'could not connect to:'
|
localize('could not connect to:')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -533,7 +533,7 @@ Cloud.prototype.callService = function (
|
||||||
errorCall.call(
|
errorCall.call(
|
||||||
this,
|
this,
|
||||||
request.responseText,
|
request.responseText,
|
||||||
'Service: ' + serviceName
|
localize('Service:') + ' ' + localize(serviceName)
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue