Skip to content

Commit

Permalink
THEMES-1666/THEMES-1898: Accessible nav menu button and Greek languag…
Browse files Browse the repository at this point in the history
…e support (#2135)

* THEMES-1066: added icon and phrase to close menu.

* THEMES-1066: moved close button phrase to global phrases block. Added Greek translations.

* THEMES-1666: styled close button.

* THEMES-1666: corrected spacing at top of nav menu.

* THEMES-1666: added unit test for button.

* THEMES-1666: properly added missing subs translation phrases.

* THEMES-1666: fixed key order, added missing keys.

* THEMES-1666: updated storybook scss

* THEMES-1666: cleaned up section menu stories.

* THEMES-1666: updated button spacing.

---------

Co-authored-by: malavikakoppula <[email protected]>
  • Loading branch information
vgalatro and malavikakoppula authored May 22, 2024
1 parent d140cea commit 7506a0f
Show file tree
Hide file tree
Showing 53 changed files with 2,125 additions and 169 deletions.
865 changes: 802 additions & 63 deletions .storybook/themes/news.scss

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions blocks/ads-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "বিজ্ঞাপন",
"bo": "བརྡ་ཁྱབ།",
"de": "WERBUNG",
"el": "ΔΙΑΦΗΜΙΣΗ",
"en": "ADVERTISEMENT",
"es": "ANUNCIO",
"fr": "PUBLICITÉ",
Expand Down
2 changes: 2 additions & 0 deletions blocks/alert-bar-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "ব্রেকিং নিউজের সতর্কতা খারিজ করুন",
"bo": "གསར་འགྱུར་ཐོལ་བྱུང་གི་ཉེན་བརྡ་འདོར་བ།",
"de": "Eilmeldungsalarm verwerfen",
"el": "Απόρριψη ειδοποίησης για έκτακτη είδηση",
"en": "Dismiss breaking news alert",
"es": "Rechazar alerta noticias de última hora",
"fr": "Ignorer l'alerte de dernière minute",
Expand All @@ -29,6 +30,7 @@
"bn": "ব্রেকিং নিউজের সতর্কতা",
"bo": "གསར་འགྱུར་ཐོལ་བྱུང་གི་ཉེན་བརྡ།",
"de": "Eilmeldungsalarm",
"el": "Ειδοποίηση για έκτακτη είδηση",
"en": "Breaking News Alert",
"es": "Alerta noticias de última hora",
"fr": "Alerte de dernière minute",
Expand Down
3 changes: 3 additions & 0 deletions blocks/article-body-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "স্পষ্টিকরণ",
"bo": "གསལ་བཤད།",
"de": "Klarstellung",
"el": "Διευκρίνιση",
"en": "Clarification",
"es": "Aclaración",
"fr": "Précision",
Expand All @@ -29,6 +30,7 @@
"bn": "সংশোধন",
"bo": "བཟོ་བཅོས།",
"de": "Korrektur",
"el": "Διόρθωση",
"en": "Correction",
"es": "Corrección",
"fr": "Correction",
Expand All @@ -54,6 +56,7 @@
"bn": "প্রাসঙ্গিক গল্পসমূহ খুলুন",
"bo": "འབྲེལ་ཡོད་སྒྲུང་གཏམ་ཁ་འབྱེད།",
"de": "Ähnlichen Artikel öffnen",
"el": "Άνοιγμα της σχετικής ιστορίας",
"en": "Open related story",
"es": "Abrir historia relacionada",
"fr": "Ouvrir un article associé",
Expand Down
14 changes: 14 additions & 0 deletions blocks/author-bio-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "%{authorName} এ একটি ইমেইল পাঠান",
"bo": "%{authorName}ལ་དྲ་ཡིག་སྐུར།",
"de": "E-Mail an %{authorName} senden",
"el": "Στείλτε email στον χρήστη %{authorName}",
"en": "Send an email to %{authorName}",
"es": "Enviar un correo electrónico a %{authorName}",
"fr": "Envoyer un e-mail à %{authorName}",
Expand All @@ -29,6 +30,7 @@
"bn": "Facebook-এ সংযুক্ত হন",
"bo": "Facebook ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Facebook verbinden",
"el": "Συνδεθείτε στο Facebook",
"en": "Connect on Facebook",
"es": "Conectar en Facebook",
"fr": "Se connecter sur Facebook",
Expand All @@ -54,6 +56,7 @@
"bn": "Instagram-এ অনুসরণ করুন",
"bo": "Instagram ལ་དོ་ཁུར་བྱེད།",
"de": "Auf Instagram folgen",
"el": "Ακολουθήστε στο Instagram",
"en": "Follow on Instagram",
"es": "Seguir en Instagram",
"fr": "Suivre sur Instagram",
Expand All @@ -79,6 +82,7 @@
"bn": "LinkedIn-এ সংযুক্ত হন",
"bo": "LinkedIn ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf LinkedIn verbinden",
"el": "Συνδεθείτε στο LinkedIn",
"en": "Connect on LinkedIn",
"es": "Conectar en LinkedIn",
"fr": "Se connecter sur LinkedIn",
Expand All @@ -104,6 +108,7 @@
"bn": "Medium- সংযুক্ত হন",
"bo": "Medium ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Medium verbinden",
"el": "Συνδεθείτε στο Medium",
"en": "Connect on Medium",
"es": "Conectar en Medium",
"fr": "Se connecter sur Medium",
Expand All @@ -129,6 +134,7 @@
"bn": "Pinterest-এ সংযুক্ত হন",
"bo": "Pinterest ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Pinterest verbinden",
"el": "Συνδεθείτε στο Pinterest",
"en": "Connect on Pinterest",
"es": "Conectar en Pinterest",
"fr": "Se connecter sur Pinterest",
Expand All @@ -154,6 +160,7 @@
"bn": "Reddit-এ সংযুক্ত হন",
"bo": "Reddit ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Reddit verbinden",
"el": "Συνδεθείτε στο Reddit",
"en": "Connect on Reddit",
"es": "Conectar en Reddit",
"fr": "Se connecter sur Reddit",
Expand All @@ -179,6 +186,7 @@
"bn": "%{authorName} RSS ফিডে সাবস্ক্রাইব করুন",
"bo": "%{authorName}སྔོན་མངག་བྱེད། RSS སྔོན་མངག་འབྱུང་ཁུངས།",
"de": "RSS Feed von %{authorName} abonnieren",
"el": "Εγγραφείτε στη ροή RSS του χρήστη %{authorName}",
"en": "Subscribe to %{authorName} RSS feed",
"es": "Suscribirse a la fuente RSS de %{authorName}",
"fr": "S'abonner au flux RSS de %{authorName}",
Expand All @@ -204,6 +212,7 @@
"bn": "Snapchat-এ সংযুক্ত হন",
"bo": "Snapchat ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Snapchat verbinden",
"el": "Συνδεθείτε στο Snapchat",
"en": "Connect on Snapchat",
"es": "Conectar en Snapchat",
"fr": "Se connecter sur Snapchat",
Expand All @@ -229,6 +238,7 @@
"bn": "SoundCloud-এ %{authorName} কে শুনুন",
"bo": "SoundCloud ཐོག་ནས་%{authorName}ཉན།",
"de": "%{authorName} auf SoundCloud anhören",
"el": "Ακούστε τον χρήστη %{authorName} στο SoundCloud",
"en": "Listen to %{authorName} on SoundCloud",
"es": "Escuchar a %{authorName} en SoundCloud",
"fr": "Écouter %{authorName} sur SoundCloud",
Expand All @@ -254,6 +264,7 @@
"bn": "Tumblr-এ সংযুক্ত হন",
"bo": "Tumblr ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Tumblr verbinden",
"el": "Συνδεθείτε στο Tumblr",
"en": "Connect on Tumblr",
"es": "Conectar en Tumblr",
"fr": "Se connecter sur Tumblr",
Expand All @@ -279,6 +290,7 @@
"bn": "Twitter-এ সংযুক্ত হন",
"bo": "Twitter ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Twitter verbinden",
"el": "Συνδεθείτε στο Twitter",
"en": "Connect on Twitter",
"es": "Conectar en Twitter",
"fr": "Se connecter sur Twitter",
Expand All @@ -304,6 +316,7 @@
"bn": "WhatsApp-এ সংযুক্ত হন",
"bo": "WhatsApp ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf WhatsApp verbinden",
"el": "Συνδεθείτε στο WhatsApp",
"en": "Connect on WhatsApp",
"es": "Conectar en WhatsApp",
"fr": "Se connecter sur WhatsApp",
Expand All @@ -329,6 +342,7 @@
"bn": "YouTube-এ সংযুক্ত হন",
"bo": "YouTube ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf YouTube verbinden",
"el": "Συνδεθείτε στο YouTube",
"en": "Connect on YouTube",
"es": "Conectar en YouTube",
"fr": "Se connecter sur YouTube",
Expand Down
4 changes: 4 additions & 0 deletions blocks/category-carousel-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "শ্রেণী",
"bo": "རིགས།",
"de": "Kategorien",
"el": "Κατηγορίες",
"en": "Categories",
"es": "Categorías",
"fr": "Catégories",
Expand All @@ -29,6 +30,7 @@
"bn": "পূর্ববর্তী",
"bo": "གོང་མ།",
"de": "Vorheriges",
"el": "Προηγούμενο",
"en": "Previous",
"es": "Anterior",
"fr": "Précédent",
Expand All @@ -54,6 +56,7 @@
"bn": "পরবর্তী",
"bo": "རྗེས་མ།",
"de": "Nächstes",
"el": "Επόμενο",
"en": "Next",
"es": "Siguiente",
"fr": "Suivant",
Expand All @@ -79,6 +82,7 @@
"bn": "%{maximum} এর %{current} স্লাইড",
"bo": "སྒྲོན་བརྙན་དྲ་ཤོག་%{current}/%{maximum}",
"de": "Bild %{current} von %{maximum}",
"el": "Διαφάνεια %{current} από %{maximum}",
"en": "Slide %{current} of %{maximum}",
"es": "Diapositiva %{current} de %{maximum}",
"fr": "Diapositive %{current} sur %{maximum}",
Expand Down
1 change: 1 addition & 0 deletions blocks/default-output-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "বাদ দিয়ে প্রধান বিষয়বস্তুতে চলে যান",
"bo": "ནང་དོན་གཙོ་བོར་མཆོང་།",
"de": "Zum Hauptinhalt springen",
"el": "Μετάβαση στο κύριο περιεχόμενο",
"en": "Skip to main content",
"es": "Omitir para ir al contenido principal",
"fr": "Passer au contenu principal",
Expand Down
3 changes: 3 additions & 0 deletions blocks/footer-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "Facebook পেজ",
"bo": "Facebook དྲ་ངོས།",
"de": "Facebookseite",
"el": "Σελίδα Facebook",
"en": "Facebook page",
"es": "Página de Facebook",
"fr": "Page Facebook",
Expand All @@ -29,6 +30,7 @@
"bn": "RSS ফিড",
"bo": "RSS སྔོན་མངག་འབྱུང་ཁུངས།",
"de": "RSS Feed",
"el": "Ροή RSS",
"en": "RSS feed",
"es": "Fuente RSS",
"fr": "Flux RSS",
Expand All @@ -54,6 +56,7 @@
"bn": "Twitter ফিড",
"bo": "Twitter སྔོན་མངག་འབྱུང་ཁུངས།",
"de": "Twitter Feed",
"el": "Ροή Twitter",
"en": "Twitter feed",
"es": "Fuente Twitter",
"fr": "Flux Twitter",
Expand Down
15 changes: 15 additions & 0 deletions blocks/full-author-bio-block/intl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"bn": "সংযুক্ত করুন",
"bo": "འབྲེལ་མཐུད།",
"de": "Verbinden",
"el": "Σύνδεση",
"en": "Connect",
"es": "Conectar",
"fr": "Connecter",
Expand All @@ -29,6 +30,7 @@
"bn": "ইমেইল",
"bo": "དྲ་ཡིག",
"de": "E-Mail",
"el": "Email",
"en": "Email",
"es": "Email",
"fr": "E-mail",
Expand All @@ -54,6 +56,7 @@
"bn": "Facebook-এ সংযুক্ত হন",
"bo": "Facebook ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Facebook verbinden",
"el": "Συνδεθείτε στο Facebook",
"en": "Connect on Facebook",
"es": "Conectar en Facebook",
"fr": "Se connecter sur Facebook",
Expand All @@ -79,6 +82,7 @@
"bn": "Instagram-এ অনুসরণ করুন",
"bo": "Instagram ལ་དོ་ཁུར་བྱེད།",
"de": "Auf Instagram folgen",
"el": "Ακολουθήστε στο Instagram",
"en": "Follow on Instagram",
"es": "Seguir en Instagram",
"fr": "Suivre sur Instagram",
Expand All @@ -104,6 +108,7 @@
"bn": "LinkedIn-এ সংযুক্ত হন",
"bo": "LinkedIn ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf LinkedIn verbinden",
"el": "Συνδεθείτε στο Linkedin",
"en": "Connect on LinkedIn",
"es": "Conectar en LinkedIn",
"fr": "Se connecter sur LinkedIn",
Expand All @@ -129,6 +134,7 @@
"bn": "Medium-এ সংযুক্ত হন",
"bo": "Medium ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Medium verbinden",
"el": "Συνδεθείτε στο Medium",
"en": "Connect on Medium",
"es": "Conectar en Medium",
"fr": "Se connecter sur Medium",
Expand All @@ -154,6 +160,7 @@
"bn": "Pinterest-এ সংযুক্ত হন",
"bo": "Pinterest ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Pinterest verbinden",
"el": "Συνδεθείτε στο Pinterest",
"en": "Connect on Pinterest",
"es": "Conectar en Pinterest",
"fr": "Se connecter sur Pinterest",
Expand All @@ -179,6 +186,7 @@
"bn": "Reddit-এ সংযুক্ত হন",
"bo": "Reddit ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Reddit verbinden",
"el": "Συνδεθείτε στο Reddit",
"en": "Connect on Reddit",
"es": "Conectar en Reddit",
"fr": "Se connecter sur Reddit",
Expand All @@ -204,6 +212,7 @@
"bn": "RSS ফিড",
"bo": "RSS སྔོན་མངག་འབྱུང་ཁུངས།",
"de": "RSS Feed",
"el": "Ροή RSS",
"en": "RSS Feed",
"es": "Fuente RSS",
"fr": "Flux RSS",
Expand All @@ -229,6 +238,7 @@
"bn": "Snapchat-এ সংযুক্ত হন",
"bo": "Snapchat ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Snapchat verbinden",
"el": "Συνδεθείτε στο Snapchat",
"en": "Connect on Snapchat",
"es": "Conectar en Snapchat",
"fr": "Se connecter sur Snapchat",
Expand All @@ -254,6 +264,7 @@
"bn": "SoundCloud-এ শুনুন",
"bo": "SoundCloud ཐོག་ནས་ཉན།",
"de": "Auf SoundCloud anhören",
"el": "Ακούστε στο SoundCloud",
"en": "Listen on SoundCloud",
"es": "Escuchar en SoundCloud",
"fr": "Écouter sur SoundCloud",
Expand All @@ -279,6 +290,7 @@
"bn": "Tumblr-এ সংযুক্ত হন",
"bo": "Tumblr ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Tumblr verbinden",
"el": "Συνδεθείτε στο Tumblr",
"en": "Connect on Tumblr",
"es": "Conectar en Tumblr",
"fr": "Se connecter sur Tumblr",
Expand All @@ -304,6 +316,7 @@
"bn": "Twitter-এ সংযুক্ত হন",
"bo": "Twitter ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf Twitter verbinden",
"el": "Συνδεθείτε στο Twitter",
"en": "Connect on Twitter",
"es": "Conectar en Twitter",
"fr": "Se connecter sur Twitter",
Expand All @@ -329,6 +342,7 @@
"bn": "WhatsApp-এ সংযুক্ত হন",
"bo": "WhatsApp ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf WhatsApp verbinden",
"el": "Συνδεθείτε στο WhatsApp",
"en": "Connect on WhatsApp",
"es": "Conectar en WhatsApp",
"fr": "Se connecter sur WhatsApp",
Expand All @@ -354,6 +368,7 @@
"bn": "YouTube-এ সংযুক্ত হন",
"bo": "YouTube ཐོག་ནས་འབྲེལ་གཏུག་བྱེད།",
"de": "Auf YouTube verbinden",
"el": "Συνδεθείτε στο YouTube",
"en": "Connect on YouTube",
"es": "Conectar en YouTube",
"fr": "Se connecter sur YouTube",
Expand Down
Loading

0 comments on commit 7506a0f

Please sign in to comment.