mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-06 23:00:08 +01:00
add failing test case for #5112
This commit is contained in:
@@ -154,6 +154,14 @@ describe('new Translator(language)', function(){
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('should translate [[pages:users/latest]] properly', function(done) {
|
||||
var translator = new Translator('en_GB');
|
||||
translator.translate('[[pages:users/latest]]').then(function(translated) {
|
||||
assert.strictEqual('[[pages:users/latest]]', 'Latest Users');
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user