Skip to content

best way to save what you love

web/meowbalt: hide meowbalt from screen readers

wukkoa7f40d708ec7
diff --git a/web/i18n/en/a11y/meowbalt.json b/web/i18n/en/a11y/meowbalt.json
deleted file mode 100644
index fa9ee6d6..00000000
--- a/web/i18n/en/a11y/meowbalt.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "smile": "meowbalt, cobalt's black and white cat mascot, smiling and loafing."
-}
diff --git a/web/i18n/en/general.json b/web/i18n/en/general.json
index 6ea5e8a0..5850e718 100644
--- a/web/i18n/en/general.json
+++ b/web/i18n/en/general.json
@@ -1,3 +1,4 @@
{
- "cobalt": "cobalt"
+ "cobalt": "cobalt",
+ "meowbalt": "meowbalt"
}
diff --git a/web/i18n/ru/a11y/meowbalt.json b/web/i18n/ru/a11y/meowbalt.json
deleted file mode 100644
index 59289062..00000000
--- a/web/i18n/ru/a11y/meowbalt.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "smile": "мяубальт, чёрно-белый маскот кобальта. батонится, сложа лапы под себя, и улыбается."
-}
diff --git a/web/i18n/ru/general.json b/web/i18n/ru/general.json
index 75ab3b18..5f762842 100644
--- a/web/i18n/ru/general.json
+++ b/web/i18n/ru/general.json
@@ -1,3 +1,4 @@
{
- "cobalt": "кобальт"
+ "cobalt": "кобальт",
+ "meowbalt": "мяубальт"
}
diff --git a/web/src/components/misc/Meowbalt.svelte b/web/src/components/misc/Meowbalt.svelte
index e367758e..13c52556 100644
--- a/web/src/components/misc/Meowbalt.svelte
+++ b/web/src/components/misc/Meowbalt.svelte
@@ -10,7 +10,8 @@
class="meowbalt {emotion}"
src="/meowbalt/{emotion}.png"
height="152"
- alt={$t(`a11y.meowbalt.${emotion}`)}
+ alt={$t('general.meowbalt')}
+ aria-hidden="true"
/>
<style>