You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Snowpack hot reload receives updated json translations and tries to pass them to addMessages() again.
However, _() still returns old texts after that.
To Reproduce
Just call addMessages() twice with different texts and see that second call has no effect.
Expected behavior
I expect the addMessages() to override the texts, so that _() would return new ones.
Information about your project:
Your browser and the version: any
svelte-i18n version 3.2.5
Whether your project uses Webpack or Rollup: Snowpack
The text was updated successfully, but these errors were encountered:
Describe the bug
Snowpack hot reload receives updated json translations and tries to pass them to addMessages() again.
However, _() still returns old texts after that.
To Reproduce
Just call addMessages() twice with different texts and see that second call has no effect.
Expected behavior
I expect the addMessages() to override the texts, so that _() would return new ones.
Information about your project:
Your browser and the version: any
svelte-i18n
version 3.2.5Whether your project uses Webpack or Rollup: Snowpack
The text was updated successfully, but these errors were encountered: