nuxt-i18n
Advanced tools
Comparing version 5.8.1 to 5.8.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="5.8.2"></a> | ||
## [5.8.2](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.1...v5.8.2) (2019-02-15) | ||
### Bug Fixes | ||
* Set new locale into vuex store module when switching languages ([#222](https://github.com/nuxt-community/nuxt-i18n/issues/222)) ([77cc393](https://github.com/nuxt-community/nuxt-i18n/commit/77cc393)), closes [#221](https://github.com/nuxt-community/nuxt-i18n/issues/221) | ||
<a name="5.8.1"></a> | ||
@@ -7,0 +17,0 @@ ## [5.8.1](https://github.com/nuxt-community/nuxt-i18n/compare/v5.8.0...v5.8.1) (2019-02-10) |
{ | ||
"name": "nuxt-i18n", | ||
"version": "5.8.1", | ||
"version": "5.8.2", | ||
"description": "i18n for Nuxt", | ||
@@ -50,19 +50,19 @@ "license": "MIT", | ||
"js-cookie": "^2.2.0", | ||
"vue-i18n": "^8.8.0", | ||
"vue-i18n": "^8.8.1", | ||
"vue-i18n-extensions": "^0.2.0" | ||
}, | ||
"devDependencies": { | ||
"codecov": "3.1.0", | ||
"codecov": "3.2.0", | ||
"eslint": "5.13.0", | ||
"eslint-config-standard": "12.0.0", | ||
"eslint-plugin-import": "2.16.0", | ||
"eslint-plugin-jest": "22.2.2", | ||
"eslint-plugin-jest": "22.3.0", | ||
"eslint-plugin-node": "8.0.1", | ||
"eslint-plugin-promise": "4.0.1", | ||
"eslint-plugin-standard": "4.0.0", | ||
"eslint-plugin-vue": "5.1.0", | ||
"eslint-plugin-vue": "5.2.1", | ||
"jest": "24.1.0", | ||
"jsdom": "13.2.0", | ||
"nuxt": "2.4.3", | ||
"standard-version": "4.4.0", | ||
"standard-version": "5.0.0", | ||
"typescript": "3.3.3", | ||
@@ -69,0 +69,0 @@ "vuepress": "0.14.8" |
@@ -88,3 +88,3 @@ import cookie from 'cookie' | ||
app.i18n.onLanguageSwitched(oldLocale, newLocale) | ||
syncVuex(locale, messages) | ||
syncVuex(newLocale, messages) | ||
} else { | ||
@@ -91,0 +91,0 @@ // Lazy-loading disabled |
50539
Updatedvue-i18n@^8.8.1