Merge branch 'fix-i18n-subfolder' of https://github.com/nztqa/wekan into nztqa-fix-i18n-subfolder

This commit is contained in:
Lauri Ojansivu 2017-06-26 12:34:36 +03:00
commit 974825bbcf
2 changed files with 2 additions and 1 deletions

View file

@ -28,7 +28,7 @@
"no-unneeded-ternary": 2,
"radix": 2,
"semi": [2, "always"],
"camelcase": 2,
"camelcase": [2, {"properties": "never"}],
"comma-spacing": 2,
"comma-style": 2,
"eol-last": 2,

View file

@ -3,6 +3,7 @@
// information provided by the browser, and default to english.
Meteor.startup(() => {
TAPi18n.conf.i18n_files_route = Meteor._relativeToSiteRootUrl('/tap-i18n');
Tracker.autorun(() => {
const currentUser = Meteor.user();
let language;