alertSuccess can take language strings

v1.18.x
barisusakli 11 years ago
parent da8c2896d7
commit b4af4c72cc

@ -53,9 +53,7 @@ define(function() {
return app.alertError(err.message); return app.alertError(err.message);
} }
translator.get('topic:fork_success', function(translated) { app.alertSuccess('[[topic:fork_success]]');
app.alertSuccess(translated);
});
for(var i=0; i<pids.length; ++i) { for(var i=0; i<pids.length; ++i) {
fadeOutAndRemove(pids[i]); fadeOutAndRemove(pids[i]);

Loading…
Cancel
Save