move old i18n version to api-v2 folder and use new i18n where possible

This commit is contained in:
Matteo Pagliazzi
2015-11-12 16:43:02 +01:00
parent 60b51b8862
commit de21b72027
19 changed files with 17 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ import { model as User } from '../../website/src/models/user'
import { model as Group } from '../../website/src/models/group'
import i18n from '../../common/script/src/i18n';
require('coffee-script');
i18n.translations = require('../../website/src/libs/i18n.js').translations;
i18n.translations = require('../../website/src/libs/api-v3/i18n.js').translations;
afterEach(() => {
sandbox.restore();