This contribution turns the Link.svelte component into a web-component that can be 'realized' in an @html tag. This allows us to create browser-opening links inside translations. Or anywhere else a link needs to be put into a string variable.
Instead of <A href="https:"> we now use `. This also works in translation files.
Also added a wrapper component around the locale.js function, so you can create translations with a component.
This contribution turns the
Link.svelte
component into a web-component that can be 'realized' in an@html
tag. This allows us to create browser-opening links inside translations. Or anywhere else a link needs to be put into a string variable.Instead of. This also works in translation files.
<A href="https:">
we now use `Also added a wrapper component around the locale.js function, so you can create translations with a component.