New Client: english translations and misc fixes (#8410)

* misc fixes and add english translations

* add tests
This commit is contained in:
Matteo Pagliazzi
2017-01-14 21:12:11 +01:00
committed by GitHub
parent f888e80b01
commit d8128cc3db
7 changed files with 66 additions and 29 deletions

View File

@@ -8,10 +8,14 @@ import AppComponent from './app';
import router from './router';
import store from './store';
import './filters/registerGlobals';
import i18n from './plugins/i18n';
Vue.prototype.$t = () => 'tt';
Vue.use(VueResource);
Vue.use(i18n);
// TODO just for the beginning
Vue.use(VueResource);
let authSettings = localStorage.getItem('habit-mobile-settings');
if (authSettings) {