@empathyco/x-archetype-utils
Advanced tools
Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3
@@ -43,2 +43,3 @@ 'use strict'; | ||
this.vueI18n = vueI18n.createI18n({ | ||
legacy: false, | ||
locale: this.locale, | ||
@@ -86,3 +87,3 @@ silentFallbackWarn: true, | ||
await this.changeMessages(); | ||
this.vueI18n.global.locale = this.locale; | ||
this.vueI18n.global.locale.value = this.locale; | ||
} | ||
@@ -89,0 +90,0 @@ } |
@@ -41,2 +41,3 @@ import { isObject } from '@empathyco/x-utils'; | ||
this.vueI18n = createI18n({ | ||
legacy: false, | ||
locale: this.locale, | ||
@@ -84,3 +85,3 @@ silentFallbackWarn: true, | ||
await this.changeMessages(); | ||
this.vueI18n.global.locale = this.locale; | ||
this.vueI18n.global.locale.value = this.locale; | ||
} | ||
@@ -87,0 +88,0 @@ } |
@@ -10,3 +10,3 @@ import { App } from 'vue'; | ||
export declare class I18n<SomeMessages> { | ||
vueI18n: VueI18n; | ||
vueI18n: VueI18n<Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Locale, false>; | ||
protected locale: Locale; | ||
@@ -13,0 +13,0 @@ protected device: Device; |
{ | ||
"name": "@empathyco/x-archetype-utils", | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.0-alpha.3", | ||
"description": "Utilities for x-archetype", | ||
@@ -65,3 +65,3 @@ "author": "Empathy Systems Corporation S.L.", | ||
}, | ||
"gitHead": "d08f39adb09013b148fc99452757436547fba363" | ||
"gitHead": "9a0889059626e7e9a253cd0e2326868672c4cd88" | ||
} |
243139
748