nuxt-i18n
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="4.0.1"></a> | ||
## [4.0.1](https://github.com/nuxt-community/nuxt-i18n/compare/v4.0.0...v4.0.1) (2018-06-22) | ||
### Bug Fixes | ||
* No name on parent routes ([#101](https://github.com/nuxt-community/nuxt-i18n/issues/101)) ([fd51e3e](https://github.com/nuxt-community/nuxt-i18n/commit/fd51e3e)), closes [#98](https://github.com/nuxt-community/nuxt-i18n/issues/98) | ||
<a name="4.0.0"></a> | ||
@@ -7,0 +17,0 @@ # [4.0.0](https://github.com/nuxt-community/nuxt-i18n/compare/v3.3.1...v4.0.0) (2018-06-07) |
{ | ||
"name": "nuxt-i18n", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "i18n for Nuxt", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -99,3 +99,3 @@ <h1 align="center" >nuxt-i18n</h1> | ||
Please use [CMTY](https://nuxtjs.cmty.io/) for any question you might have. | ||
Please use [CMTY](https://cmty.app/nuxt/nuxt-i18n/issues) for any question you might have. | ||
@@ -102,0 +102,0 @@ |
@@ -65,4 +65,8 @@ import { | ||
// Make localized route name | ||
localizedRoute.name = name + routesNameSeparator + locale | ||
// Generate localized children routes if any | ||
if (route.children) { | ||
delete localizedRoute.name | ||
localizedRoute.children = [] | ||
@@ -79,5 +83,2 @@ for (let i = 0, length1 = route.children.length; i < length1; i++) { | ||
// Make localized route name | ||
localizedRoute.name = name + routesNameSeparator + locale | ||
// Add route prefix if needed | ||
@@ -84,0 +85,0 @@ const shouldAddPrefix = ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34018
732