diff --git a/src/index.ts b/src/index.ts index a3ed7d1..34a3d36 100644 --- a/src/index.ts +++ b/src/index.ts @@ -413,7 +413,7 @@ export class I18n { value = this.findTranslation(key.replace(/\//g, '.')) } - this.activeMessages[key] = this.isValid(value) ? value : key + this.activeMessages[key] = this.isValid(value) ? value : (this.isLoaded() ? key : '') }) return computed(() => this.makeReplacements(this.activeMessages[key], replacements))