mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
alertSuccess can take language strings
This commit is contained in:
@@ -53,9 +53,7 @@ define(function() {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
translator.get('topic:fork_success', function(translated) {
|
||||
app.alertSuccess(translated);
|
||||
});
|
||||
app.alertSuccess('[[topic:fork_success]]');
|
||||
|
||||
for(var i=0; i<pids.length; ++i) {
|
||||
fadeOutAndRemove(pids[i]);
|
||||
|
||||
Reference in New Issue
Block a user