From 7d4015e043597d87c4a12764c3e3119b44a93082 Mon Sep 17 00:00:00 2001 From: nztqa Date: Mon, 26 Jun 2017 15:45:34 +0900 Subject: Add i18n file route for subfolder --- client/lib/i18n.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/lib/i18n.js b/client/lib/i18n.js index 4c02211a..97a91375 100644 --- a/client/lib/i18n.js +++ b/client/lib/i18n.js @@ -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; -- cgit v1.2.3-1-g7c22 From 06bcb7adaafb16eb57150844f43dd8c0b548f650 Mon Sep 17 00:00:00 2001 From: nztqa Date: Mon, 26 Jun 2017 16:59:21 +0900 Subject: Update: camelcase to never does not check property names at all. http://eslint.org/docs/2.0.0/rules/camelcase --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 5fa05a38..64e2b702 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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, -- cgit v1.2.3-1-g7c22 From 1f80f9673542f2386376f74d1bf74becd46d357a Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 26 Jun 2017 12:40:00 +0300 Subject: Fix i18n route for subfolder. Thanks to nztqa ! Related: #973 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f97e1db8..053b7a2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ This release fixes the following bugs: * [Fix admin panel route for subfolder](https://github.com/wekan/wekan/pull/1084); +* [Fix i18n route for subfolder](https://github.com/wekan/wekan/pull/1085). Thanks to GitHub user nztqa for contributions. -- cgit v1.2.3-1-g7c22