improve(i18n): move translations to their own module, use i18n from habitrpg-shared, @djuretic i have remove the tests because the code is now handled in habitrpg-shared, we may add them back there

This commit is contained in:
Matteo Pagliazzi
2014-03-05 16:43:00 +01:00
parent 4990a6d0e1
commit 8ec69b4f83
5 changed files with 110 additions and 124 deletions
+3
View File
@@ -27,6 +27,9 @@ if (cluster.isMaster && (isDev || isProd)) {
var swagger = require("swagger-node-express");
var autoinc = require('mongoose-id-autoinc');
// Setup translations
var i18n = require('./i18n');
var middleware = require('./middleware');
var TWO_WEEKS = 1000 * 60 * 60 * 24 * 14;