Merge branch 'master' of github.com:NodeBB/NodeBB

v1.18.x
Julian Lam 9 years ago
commit 45e412ed7c

@ -5,4 +5,4 @@ languages:
PHP: true PHP: true
exclude_paths: exclude_paths:
- "public/vendor/*" - "public/vendor/*"
- "tests/*" - "test/*"

@ -154,6 +154,14 @@ describe('new Translator(language)', function (){
done(); 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();
});
});
}); });
}); });

Loading…
Cancel
Save