fix: i18n xhr for 5 lang codes
This commit is contained in:
@@ -53,6 +53,8 @@ export default {
|
|||||||
},
|
},
|
||||||
defaultNS: 'common',
|
defaultNS: 'common',
|
||||||
lng: siteConfig.lang,
|
lng: siteConfig.lang,
|
||||||
|
load: 'currentOnly',
|
||||||
|
lowerCaseLng: true,
|
||||||
fallbackLng: siteConfig.lang,
|
fallbackLng: siteConfig.lang,
|
||||||
ns: ['common', 'auth']
|
ns: ['common', 'auth']
|
||||||
})
|
})
|
||||||
|
|||||||
52
package.json
52
package.json
@@ -35,14 +35,14 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aoberoi/passport-slack": "1.0.5",
|
"@aoberoi/passport-slack": "1.0.5",
|
||||||
"@bugsnag/js": "6.4.0",
|
"@bugsnag/js": "6.4.1",
|
||||||
"@exlinc/keycloak-passport": "1.0.2",
|
"@exlinc/keycloak-passport": "1.0.2",
|
||||||
"algoliasearch": "3.34.0",
|
"algoliasearch": "3.35.0",
|
||||||
"apollo-fetch": "0.7.0",
|
"apollo-fetch": "0.7.0",
|
||||||
"apollo-server": "2.9.3",
|
"apollo-server": "2.9.4",
|
||||||
"apollo-server-express": "2.9.3",
|
"apollo-server-express": "2.9.4",
|
||||||
"auto-load": "3.0.4",
|
"auto-load": "3.0.4",
|
||||||
"aws-sdk": "2.528.0",
|
"aws-sdk": "2.538.0",
|
||||||
"azure-search-client": "3.1.5",
|
"azure-search-client": "3.1.5",
|
||||||
"bcryptjs-then": "1.0.1",
|
"bcryptjs-then": "1.0.1",
|
||||||
"bluebird": "3.5.5",
|
"bluebird": "3.5.5",
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
"brute-knex": "4.0.0",
|
"brute-knex": "4.0.0",
|
||||||
"chalk": "2.4.2",
|
"chalk": "2.4.2",
|
||||||
"cheerio": "1.0.0-rc.3",
|
"cheerio": "1.0.0-rc.3",
|
||||||
"chokidar": "3.0.2",
|
"chokidar": "3.1.1",
|
||||||
"clean-css": "4.2.1",
|
"clean-css": "4.2.1",
|
||||||
"compression": "1.7.4",
|
"compression": "1.7.4",
|
||||||
"connect-session-knex": "1.4.0",
|
"connect-session-knex": "1.4.0",
|
||||||
@@ -68,20 +68,20 @@
|
|||||||
"express-brute": "1.0.1",
|
"express-brute": "1.0.1",
|
||||||
"express-session": "1.16.2",
|
"express-session": "1.16.2",
|
||||||
"file-type": "12.3.0",
|
"file-type": "12.3.0",
|
||||||
"filesize": "4.2.0",
|
"filesize": "4.2.1",
|
||||||
"fs-extra": "8.1.0",
|
"fs-extra": "8.1.0",
|
||||||
"getos": "3.1.1",
|
"getos": "3.1.1",
|
||||||
"graphql": "14.5.6",
|
"graphql": "14.5.8",
|
||||||
"graphql-list-fields": "2.0.2",
|
"graphql-list-fields": "2.0.2",
|
||||||
"graphql-rate-limit-directive": "1.1.0",
|
"graphql-rate-limit-directive": "1.1.0",
|
||||||
"graphql-subscriptions": "1.1.0",
|
"graphql-subscriptions": "1.1.0",
|
||||||
"graphql-tools": "4.0.5",
|
"graphql-tools": "4.0.5",
|
||||||
"he": "1.2.0",
|
"he": "1.2.0",
|
||||||
"highlight.js": "9.15.10",
|
"highlight.js": "9.15.10",
|
||||||
"i18next": "17.0.15",
|
"i18next": "17.0.16",
|
||||||
"i18next-express-middleware": "1.8.2",
|
"i18next-express-middleware": "1.8.2",
|
||||||
"i18next-node-fs-backend": "2.1.3",
|
"i18next-node-fs-backend": "2.1.3",
|
||||||
"image-size": "0.7.5",
|
"image-size": "0.8.2",
|
||||||
"js-base64": "2.5.1",
|
"js-base64": "2.5.1",
|
||||||
"js-binary": "1.2.0",
|
"js-binary": "1.2.0",
|
||||||
"js-yaml": "3.13.1",
|
"js-yaml": "3.13.1",
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
"node-2fa": "1.1.2",
|
"node-2fa": "1.1.2",
|
||||||
"node-cache": "4.2.1",
|
"node-cache": "4.2.1",
|
||||||
"nodemailer": "6.3.0",
|
"nodemailer": "6.3.0",
|
||||||
"objection": "1.6.9",
|
"objection": "1.6.11",
|
||||||
"passport": "0.4.0",
|
"passport": "0.4.0",
|
||||||
"passport-auth0": "1.2.1",
|
"passport-auth0": "1.2.1",
|
||||||
"passport-azure-ad": "4.1.0",
|
"passport-azure-ad": "4.1.0",
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
"striptags": "3.1.1",
|
"striptags": "3.1.1",
|
||||||
"subscriptions-transport-ws": "0.9.16",
|
"subscriptions-transport-ws": "0.9.16",
|
||||||
"tar-fs": "2.0.0",
|
"tar-fs": "2.0.0",
|
||||||
"twemoji": "12.1.2",
|
"twemoji": "12.1.3",
|
||||||
"uslug": "1.0.4",
|
"uslug": "1.0.4",
|
||||||
"uuid": "3.3.3",
|
"uuid": "3.3.3",
|
||||||
"validate.js": "0.13.1",
|
"validate.js": "0.13.1",
|
||||||
@@ -165,8 +165,8 @@
|
|||||||
"yargs": "14.0.0"
|
"yargs": "14.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.6.0",
|
"@babel/cli": "^7.6.2",
|
||||||
"@babel/core": "^7.6.0",
|
"@babel/core": "^7.6.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.5.0",
|
"@babel/plugin-proposal-class-properties": "^7.5.0",
|
||||||
"@babel/plugin-proposal-decorators": "^7.6.0",
|
"@babel/plugin-proposal-decorators": "^7.6.0",
|
||||||
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
|
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
|
||||||
@@ -177,7 +177,7 @@
|
|||||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||||
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
||||||
"@babel/polyfill": "^7.6.0",
|
"@babel/polyfill": "^7.6.0",
|
||||||
"@babel/preset-env": "^7.6.0",
|
"@babel/preset-env": "^7.6.2",
|
||||||
"@mdi/font": "4.4.95",
|
"@mdi/font": "4.4.95",
|
||||||
"@panter/vue-i18next": "0.15.1",
|
"@panter/vue-i18next": "0.15.1",
|
||||||
"@requarks/ckeditor5": "12.4.0-wiki.14",
|
"@requarks/ckeditor5": "12.4.0-wiki.14",
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
"cache-loader": "4.1.0",
|
"cache-loader": "4.1.0",
|
||||||
"chart.js": "2.8.0",
|
"chart.js": "2.8.0",
|
||||||
"clean-webpack-plugin": "3.0.0",
|
"clean-webpack-plugin": "3.0.0",
|
||||||
"codemirror": "5.48.4",
|
"codemirror": "5.49.0",
|
||||||
"copy-webpack-plugin": "5.0.4",
|
"copy-webpack-plugin": "5.0.4",
|
||||||
"core-js": "3.2.1",
|
"core-js": "3.2.1",
|
||||||
"css-loader": "3.2.0",
|
"css-loader": "3.2.0",
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
"eslint-plugin-vue": "5.2.3",
|
"eslint-plugin-vue": "5.2.3",
|
||||||
"fibers": "4.0.1",
|
"fibers": "4.0.1",
|
||||||
"file-loader": "4.2.0",
|
"file-loader": "4.2.0",
|
||||||
"filepond": "4.7.1",
|
"filepond": "4.7.2",
|
||||||
"filepond-plugin-file-validate-type": "1.2.4",
|
"filepond-plugin-file-validate-type": "1.2.4",
|
||||||
"filesize.js": "1.0.2",
|
"filesize.js": "1.0.2",
|
||||||
"graphiql": "0.14.2",
|
"graphiql": "0.14.2",
|
||||||
@@ -232,7 +232,7 @@
|
|||||||
"html-webpack-pug-plugin": "2.0.0",
|
"html-webpack-pug-plugin": "2.0.0",
|
||||||
"i18next-chained-backend": "2.0.0",
|
"i18next-chained-backend": "2.0.0",
|
||||||
"i18next-localstorage-backend": "3.0.0",
|
"i18next-localstorage-backend": "3.0.0",
|
||||||
"i18next-xhr-backend": "3.1.2",
|
"i18next-xhr-backend": "3.2.0",
|
||||||
"ignore-loader": "0.1.2",
|
"ignore-loader": "0.1.2",
|
||||||
"jest": "24.9.0",
|
"jest": "24.9.0",
|
||||||
"js-cookie": "2.2.1",
|
"js-cookie": "2.2.1",
|
||||||
@@ -259,13 +259,13 @@
|
|||||||
"script-ext-html-webpack-plugin": "2.1.4",
|
"script-ext-html-webpack-plugin": "2.1.4",
|
||||||
"simple-progress-webpack-plugin": "1.1.2",
|
"simple-progress-webpack-plugin": "1.1.2",
|
||||||
"style-loader": "1.0.0",
|
"style-loader": "1.0.0",
|
||||||
"terser": "4.3.1",
|
"terser": "4.3.3",
|
||||||
"twemoji-awesome": "1.0.6",
|
"twemoji-awesome": "1.0.6",
|
||||||
"url-loader": "2.1.0",
|
"url-loader": "2.1.0",
|
||||||
"velocity-animate": "1.5.2",
|
"velocity-animate": "1.5.2",
|
||||||
"viz.js": "2.1.2",
|
"viz.js": "2.1.2",
|
||||||
"vue": "2.6.10",
|
"vue": "2.6.10",
|
||||||
"vue-apollo": "3.0.0-rc.4",
|
"vue-apollo": "3.0.0-rc.6",
|
||||||
"vue-chartjs": "3.4.2",
|
"vue-chartjs": "3.4.2",
|
||||||
"vue-clipboards": "1.3.0",
|
"vue-clipboards": "1.3.0",
|
||||||
"vue-filepond": "5.1.3",
|
"vue-filepond": "5.1.3",
|
||||||
@@ -276,16 +276,16 @@
|
|||||||
"vue-status-indicator": "1.2.1",
|
"vue-status-indicator": "1.2.1",
|
||||||
"vue-template-compiler": "2.6.10",
|
"vue-template-compiler": "2.6.10",
|
||||||
"vue2-animate": "2.1.2",
|
"vue2-animate": "2.1.2",
|
||||||
"vuedraggable": "2.23.0",
|
"vuedraggable": "2.23.1",
|
||||||
"vuescroll": "4.14.4",
|
"vuescroll": "4.14.4",
|
||||||
"vuetify": "2.0.17",
|
"vuetify": "2.0.19",
|
||||||
"vuetify-loader": "1.3.0",
|
"vuetify-loader": "1.3.0",
|
||||||
"vuex": "3.1.1",
|
"vuex": "3.1.1",
|
||||||
"vuex-pathify": "1.4.0",
|
"vuex-pathify": "1.4.0",
|
||||||
"vuex-persistedstate": "2.5.4",
|
"vuex-persistedstate": "2.5.4",
|
||||||
"webpack": "4.40.2",
|
"webpack": "4.41.0",
|
||||||
"webpack-bundle-analyzer": "3.5.0",
|
"webpack-bundle-analyzer": "3.5.2",
|
||||||
"webpack-cli": "3.3.8",
|
"webpack-cli": "3.3.9",
|
||||||
"webpack-dev-middleware": "3.7.1",
|
"webpack-dev-middleware": "3.7.1",
|
||||||
"webpack-hot-middleware": "2.25.0",
|
"webpack-hot-middleware": "2.25.0",
|
||||||
"webpack-merge": "4.2.2",
|
"webpack-merge": "4.2.2",
|
||||||
@@ -293,7 +293,7 @@
|
|||||||
"webpackbar": "4.0.0",
|
"webpackbar": "4.0.0",
|
||||||
"whatwg-fetch": "3.0.0",
|
"whatwg-fetch": "3.0.0",
|
||||||
"write-file-webpack-plugin": "4.5.1",
|
"write-file-webpack-plugin": "4.5.1",
|
||||||
"xterm": "4.0.1",
|
"xterm": "4.0.2",
|
||||||
"zxcvbn": "4.4.2"
|
"zxcvbn": "4.4.2"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|||||||
Reference in New Issue
Block a user