mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
alertSuccess can take language strings
This commit is contained in:
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user