@onsvisual/svelte-components 0.1.97 → 0.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
"change your cookie preferences": "newid eich dewisiadau o ran cwcis",
|
|
185
185
|
"at any time.": "ar unrhyw adeg.",
|
|
186
186
|
Hide: "Cuddio",
|
|
187
|
+
"Hide this message": "Cuddio'r neges hon",
|
|
187
188
|
};
|
|
188
189
|
const i18n = (text) => (lang == "cy" && texts[text] ? texts[text] : text);
|
|
189
190
|
</script>
|
|
@@ -280,6 +281,7 @@
|
|
|
280
281
|
<button
|
|
281
282
|
type="button"
|
|
282
283
|
class="ons-btn ons-btn--secondary ons-btn--small ons-js-hide-button"
|
|
284
|
+
aria-label="{i18n('Hide this message')}"
|
|
283
285
|
on:click="{() => (showBanner = false)}"
|
|
284
286
|
>
|
|
285
287
|
<span class="ons-btn__inner"><span class="ons-btn__text">{i18n("Hide")}</span> </span>
|