From dfadcd253dfdaac90a42f8670276d79e82a678af Mon Sep 17 00:00:00 2001 From: Christian Medders - Bixal <88721460+clmedders@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:56:40 -0500 Subject: [PATCH 1/2] VOTE-584 add aria label to state selector (#959) --- data/translations/ar/homepage.json | 1 + data/translations/bn/homepage.json | 1 + data/translations/en/homepage.json | 1 + data/translations/es/homepage.json | 1 + data/translations/fr/homepage.json | 1 + data/translations/hi/homepage.json | 1 + data/translations/ht/homepage.json | 1 + data/translations/km/homepage.json | 1 + data/translations/ko/homepage.json | 1 + data/translations/pt/homepage.json | 1 + data/translations/ru/homepage.json | 1 + data/translations/tl/homepage.json | 1 + data/translations/vi/homepage.json | 1 + data/translations/zh-hans/homepage.json | 1 + data/translations/zh/homepage.json | 1 + layouts/index.html | 2 +- 16 files changed, 16 insertions(+), 1 deletion(-) diff --git a/data/translations/ar/homepage.json b/data/translations/ar/homepage.json index 078504ecd..50cf4c393 100644 --- a/data/translations/ar/homepage.json +++ b/data/translations/ar/homepage.json @@ -10,6 +10,7 @@ "header": "سجل للتصويت", "state_selection__heading": "حدد ولايتك أو إقليمك للحصول على معلومات حول كيفية البدء", "state_selection__placeholder": "أدخل اسم ولايتك أو إقليمك", + "state_selection__aria_label": "ستفتح صفحة الولاية عند الاختيار", "state_selection__submit": "تعرف على كيفية التسجيل", "registered__header": "هل أنت مسجل بالفعل؟", "registered__resources_intro": "استكشف %link% على %USA.gov%", diff --git a/data/translations/bn/homepage.json b/data/translations/bn/homepage.json index a560b89ea..ba41c359a 100644 --- a/data/translations/bn/homepage.json +++ b/data/translations/bn/homepage.json @@ -10,6 +10,7 @@ "header": "ভোট দিতে নিবন্ধন করুন", "state_selection__heading": "কিভাবে শুরু করবেন তার তথ্যের জন্য আপনার রাজ্য বা অঞ্চল নির্বাচন করুন।", "state_selection__placeholder": "আপনার রাজ্য বা অঞ্চলের নাম লিখুন", + "state_selection__aria_label": "নির্বাচন করার পরে রাজ্য পৃষ্ঠা খুলবে।", "state_selection__submit": "কীভাবে নিবন্ধন করবেন তা খুঁজে বের করুন", "registered__header": "ইতিমধ্যে নিবন্ধন করেছেন ?", "registered__resources_intro": "%USA.gov%-এ আমাদের %link% অনুসন্ধান করুন", diff --git a/data/translations/en/homepage.json b/data/translations/en/homepage.json index e01e3cf1c..83dda173c 100644 --- a/data/translations/en/homepage.json +++ b/data/translations/en/homepage.json @@ -2,6 +2,7 @@ "header": "Register to vote", "state_selection__heading": "Select your state or territory for information on how to get started.", "state_selection__placeholder": "Enter your state or territory name", + "state_selection__aria_label": "State page will open upon selection.", "state_selection__submit": "Find out how to register", "registered__header": "Already registered?", "registered__resources_intro": "Explore our %link% on %USA.gov%", diff --git a/data/translations/es/homepage.json b/data/translations/es/homepage.json index 7de5d5c8a..d434491fe 100644 --- a/data/translations/es/homepage.json +++ b/data/translations/es/homepage.json @@ -2,6 +2,7 @@ "header": "Inscríbase para votar", "state_selection__heading": "Seleccione su estado o territorio para obtener información acerca de cómo empezar.", "state_selection__placeholder": "Ingrese el nombre de su estado o territorio.", + "state_selection__aria_label": "Una vez hecha la selección, la página del estado se abrirá", "state_selection__submit": "Averigüe cómo registrarse", "registered__header": "¿Ya se inscribió para votar?", "registered__resources_intro": "Vea nuestra %link% en USAGov en Español", diff --git a/data/translations/fr/homepage.json b/data/translations/fr/homepage.json index bc0ec7760..27c452a6b 100644 --- a/data/translations/fr/homepage.json +++ b/data/translations/fr/homepage.json @@ -10,6 +10,7 @@ "header": "Inscrivez-vous pour voter", "state_selection__heading": "Sélectionnez votre État ou territoire pour savoir comment commencer.", "state_selection__placeholder": "Entrez le nom de votre État ou territoire", + "state_selection__aria_label": "Une fois l'État sélectionné, la page de l'État s'ouvrira.", "state_selection__submit": "Découvrez comment vous inscrire", "registered__header": "Déjà inscrit(e) ?", "registered__resources_intro": "Découvrez nos %link% au %USA.gov%", diff --git a/data/translations/hi/homepage.json b/data/translations/hi/homepage.json index c5f20e154..851ca9f57 100644 --- a/data/translations/hi/homepage.json +++ b/data/translations/hi/homepage.json @@ -10,6 +10,7 @@ "header": "मतदान करने के लिए पंजीकरण करें", "state_selection__heading": "आरंभ करने के तरीके के बारे में जानकारी के लिए अपना राज्य या क्षेत्र चुनें।", "state_selection__placeholder": "अपने राज्य या क्षेत्र का नाम दर्ज करें", + "state_selection__aria_label": "चयन करने पर स्टेट पेज खुलेगा।", "state_selection__submit": "जानें पंजीकरण कैसे करना है ", "registered__header": "पहले से पंजीकृत हैं?", "registered__resources_intro": "%USA.gov% पर हमारे %link% की विस्तृत जानकारी प्राप्त करें।", diff --git a/data/translations/ht/homepage.json b/data/translations/ht/homepage.json index c2035683d..970b8529f 100644 --- a/data/translations/ht/homepage.json +++ b/data/translations/ht/homepage.json @@ -10,6 +10,7 @@ "header": "Enskri pou vote", "state_selection__heading": "Chwazi Eta oswa teritwa w la pou jwenn enfòmasyon sou kouman pou demare.", "state_selection__placeholder": "Ekri non Eta a oswa teritwa w lan.", + "state_selection__aria_label": "Paj pou Eta a ap ouvri kou w fè seleksyon an.", "state_selection__submit": "Jwenn fason pou enskri", "registered__header": "Ou gentan enskri?", "registered__resources_intro": "Eksplore %link% nou yo sou %USA.gov%", diff --git a/data/translations/km/homepage.json b/data/translations/km/homepage.json index 0d6ee510c..7f617e5ae 100644 --- a/data/translations/km/homepage.json +++ b/data/translations/km/homepage.json @@ -10,6 +10,7 @@ "header": "ចុះឈ្មោះដើម្បីបោះឆ្នោត", "state_selection__heading": "ជ្រើសរើសរដ្ឋ ឬដែនដីរបស់អ្នកសម្រាប់ព័ត៌មានអំពីរបៀបចាប់ផ្តើម។", "state_selection__placeholder": "វាយបញ្ចូលឈ្មោះរដ្ឋ ឬដែនដីរបស់អ្នក", + "state_selection__aria_label": "ទំព័ររបស់រដ្ឋនឹងបើកក្រោយពីមានការជ្រើសរើស។", "state_selection__submit": "ស្វែងយល់ពីរបៀបចុះឈ្មោះ", "registered__header": "បានចុះឈ្មោះរួចហើយមែនទេ?", "registered__resources_intro": "ស្រាវជ្រាវ %link% របស់យើងនៅ %USA.gov%", diff --git a/data/translations/ko/homepage.json b/data/translations/ko/homepage.json index 4cbe0b5ae..6197f4e75 100644 --- a/data/translations/ko/homepage.json +++ b/data/translations/ko/homepage.json @@ -10,6 +10,7 @@ "header": "유권자 등록하기", "state_selection__heading": "해당 주 또는 영토를 선택하여 시작하는 방법을 확인하십시오.", "state_selection__placeholder": "해당 주 또는 영토 이름을 입력하십시오.", + "state_selection__aria_label": "주 정부 페이지를 선택하시면 페이지가 열립니다.", "state_selection__submit": "유권자 등록 방법 안내 ", "registered__header": "이미 등록하셨습니까?", "registered__resources_intro": "%USA.gov% 사이트에서 %link% 정보를 검색하십시오", diff --git a/data/translations/pt/homepage.json b/data/translations/pt/homepage.json index c886c0877..8b133fb93 100644 --- a/data/translations/pt/homepage.json +++ b/data/translations/pt/homepage.json @@ -2,6 +2,7 @@ "header": "Registre-se para votar", "state_selection__heading": "Selecione seu estado ou território para obter informações sobre como começar.", "state_selection__placeholder": "Digite o nome do seu estado ou território.", + "state_selection__aria_label": "A página do Estado vai abrir após seleccionar.", "state_selection__submit": "Informe-se como registar-se", "registered__header": "Já se registrou?", "registered__resources_intro": "Explore os nossos %link% em %USA.gov%", diff --git a/data/translations/ru/homepage.json b/data/translations/ru/homepage.json index 38b219ec9..db136e090 100644 --- a/data/translations/ru/homepage.json +++ b/data/translations/ru/homepage.json @@ -2,6 +2,7 @@ "header": "Зарегистрируйтесь для голосования", "state_selection__heading": "Выберите свой штат или территорию, чтобы получить информацию о том, как начать.", "state_selection__placeholder": "Введите название вашего штата или территории", + "state_selection__aria_label": "Страница вашего штата откроется после выбора штата.", "state_selection__submit": "Узнайте, как зарегистрироваться", "registered__header": "Уже зарегистрировались?", "registered__resources_intro": "Ознакомьтесь с нашими %link% на %USA.gov%", diff --git a/data/translations/tl/homepage.json b/data/translations/tl/homepage.json index 189f0e5c5..44b88c43e 100644 --- a/data/translations/tl/homepage.json +++ b/data/translations/tl/homepage.json @@ -10,6 +10,7 @@ "header": "Magrehistro para bumoto", "state_selection__heading": "Piliin ang inyong estado o teritoryo para sa impormasyon kung paano magsimula.", "state_selection__placeholder": "Ipasok ang pangalan ng inyong estado o teritoryo", + "state_selection__aria_label": "Ang pahina ng estado ay magbubukas pagkapili", "state_selection__submit": "Alamin kung paano magparehistro", "registered__header": "Nakarehistro na para bumoto?", "registered__resources_intro": "Saliksikin ang aming %link% sa %USA.gov%", diff --git a/data/translations/vi/homepage.json b/data/translations/vi/homepage.json index 69fd717dd..d3b230c39 100644 --- a/data/translations/vi/homepage.json +++ b/data/translations/vi/homepage.json @@ -10,6 +10,7 @@ "header": "Đăng ký bỏ phiếu bầu", "state_selection__heading": "Chọn tiểu bang hoặc lãnh thổ bạn ở để có thông tin làm thế nào để bắt đầu.", "state_selection__placeholder": "Nhập tên tiểu bang hoặc lãnh thổ bạn ở.", + "state_selection__aria_label": "Trang tiểu bang sẽ mở ra khi lựa chọn.", "state_selection__submit": "Tìm hiểu cách đăng ký", "registered__header": "Bạn đã đăng ký?", "registered__resources_intro": "Tìm hiều %link% trên %USA.gov%", diff --git a/data/translations/zh-hans/homepage.json b/data/translations/zh-hans/homepage.json index 3cc8c260a..967924df3 100644 --- a/data/translations/zh-hans/homepage.json +++ b/data/translations/zh-hans/homepage.json @@ -10,6 +10,7 @@ "header": "登记投票", "state_selection__heading": "选择您所在的州或领地以获取有关如何开始的信息。", "state_selection__placeholder": "输入您的州或领地名称", + "state_selection__aria_label": "状态页面将在选择后打开", "state_selection__submit": "了解如何注册", "registered__header": "已经登记了?", "registered__resources_intro": "在 %USA.gov% 上探索我们的 %link%", diff --git a/data/translations/zh/homepage.json b/data/translations/zh/homepage.json index c9601884f..f2caf37b1 100644 --- a/data/translations/zh/homepage.json +++ b/data/translations/zh/homepage.json @@ -10,6 +10,7 @@ "header": "登記投票", "state_selection__heading": "選擇您所在的州或領地以獲取有關如何開始的資訊。", "state_selection__placeholder": "輸入您的州或領地名稱", + "state_selection__aria_label": "選擇後將開啟狀態頁面", "state_selection__submit": "了解如何登記", "registered__header": "已經登記了?", "registered__resources_intro": "在 %USA.gov% 上探索我們的%link%", diff --git a/layouts/index.html b/layouts/index.html index f61f47d7e..5ec04e8d8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -30,7 +30,7 @@

{{ $translation.homepage.header
-
+
From b93421f2fa8ece2d3284b3c7ed68c28de1b06c38 Mon Sep 17 00:00:00 2001 From: SamiraMSadat <108487505+SamiraMSadat@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:30:35 -0600 Subject: [PATCH 2/2] VOTE-631 Enable sitewide alert for primary elections (#963) --- config/_default/config.json | 2 +- data/translations/ar/register.json | 2 ++ data/translations/bn/register.json | 2 ++ data/translations/en/register.json | 2 ++ data/translations/es/register.json | 2 ++ data/translations/fr/register.json | 2 ++ data/translations/hi/register.json | 2 ++ data/translations/ht/register.json | 2 ++ data/translations/km/register.json | 2 ++ data/translations/ko/register.json | 2 ++ data/translations/nv/register.json | 2 ++ data/translations/pt/register.json | 2 ++ data/translations/ru/register.json | 2 ++ data/translations/tl/register.json | 2 ++ data/translations/vi/register.json | 2 ++ data/translations/ypk/register.json | 2 ++ data/translations/zh-hans/register.json | 2 ++ data/translations/zh/register.json | 2 ++ layouts/partials/header.html | 2 +- layouts/partials/links/state-primary-alert-link.html | 2 ++ 20 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/links/state-primary-alert-link.html diff --git a/config/_default/config.json b/config/_default/config.json index 1bc819309..3c277d8b0 100644 --- a/config/_default/config.json +++ b/config/_default/config.json @@ -29,6 +29,6 @@ "sitemap_link": "/sitemap/", "accessibility_link": "/accessibility/" }, - "sitewide_alert": false + "sitewide_alert": true } } diff --git a/data/translations/ar/register.json b/data/translations/ar/register.json index 852354597..312d94f32 100644 --- a/data/translations/ar/register.json +++ b/data/translations/ar/register.json @@ -23,6 +23,8 @@ "alert_state__alert_msg": "بسبب كوفيد -19 ، قد تكون هناك تغييرات في وقت ومكان وكيفية التصويت في الانتخابات القادمة. لمزيد من المعلومات ، راجع %link%.", "alert_state__alert_msg1": "موقع انتخابات الولاية الخاص بك", "alert_state__alert_after_election": "للاطلاع على النتائج الرسمية للانتخابات، انتقل إلى %link%", + "alert_state__alert_primary_election": "تجري الانتخابات التمهيدية الرئاسية لعام ۲۰۲۴ في جميع الولايات والأقاليم ال %link%.", + "alert_state__alert_primary_election_link": "۵۰ بين يناير ويونيو. تحقق من التواريخ والمواعيد النهائية القادمة لولايتك وحزبك ", "dates__bymail_deadline": "التسجيل عن طريق البريد الموعد النهائي:", "dates__byonline_deadline": "الموعد النهائي للتسجيل عبر الإنترنت:", "dates__electionday": "يوم الانتخابات العامة: الثلاثاء 3 نوفمبر 2020.", diff --git a/data/translations/bn/register.json b/data/translations/bn/register.json index f41bf223c..709ff842f 100644 --- a/data/translations/bn/register.json +++ b/data/translations/bn/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "COVID-19-এর কারণে, আপনার আসন্ন নির্বাচনে আপনি কখন, কোথায় এবং কীভাবে ভোট দিতে পারেন তার পরিবর্তন হতে পারে। আরও তথ্যের জন্য %link% চেক করুন।", "alert_state__alert_msg1": "আপনার রাজ্য নির্বাচনের ওয়েবসাইট", "alert_state__alert_after_election": "অফিসিয়াল নির্বাচনের ফলাফলের জন্য, যান %link%", + "alert_state__alert_primary_election": "২০২৪ সালের রাষ্ট্রপতি প্রাথমিক নির্বাচন জানুয়ারি থেকে জুনের মধ্যে সমস্ত ৫0 টি রাজ্য এবং অঞ্চলে অনুষ্ঠিত হয়। %link%.", + "alert_state__alert_primary_election_link": "আপনার রাজ্য এবং রাজনৈতিক দলের জন্য আসন্ন তারিখ এবং সময়সীমা দেখুন", "dates__bymail_deadline": "ডাকযোগে নিবন্ধনের সময়সীমা:", "dates__byonline_deadline": "অনলাইন নিবন্ধনের সময়সীমা:", "dates__electionday": "সাধারণ নির্বাচনের দিন: মঙ্গলবার, ৮ নভেম্বর, ২০২২", diff --git a/data/translations/en/register.json b/data/translations/en/register.json index 1c6845195..3bc66fa0b 100644 --- a/data/translations/en/register.json +++ b/data/translations/en/register.json @@ -23,6 +23,8 @@ "alert_state__alert_msg": "Due to COVID-19, there may be changes to when, where and how you vote in your upcoming elections. For more information check with %link%", "alert_state__alert_msg1": "your state election website", "alert_state__alert_after_election": "For official election results, go to %link%.", + "alert_state__alert_primary_election": "The 2024 presidential primary elections take place in all 50 states and territories between January and June. %link%.", + "alert_state__alert_primary_election_link": "Check upcoming dates and deadlines for your state and political party", "dates__bymail_deadline": "Register by mail deadline:", "dates__byonline_deadline": "Online registration deadline:", "dates__electionday": "General Election Day: Tuesday, November 8, 2022.", diff --git a/data/translations/es/register.json b/data/translations/es/register.json index 52393dd0b..81af9625e 100644 --- a/data/translations/es/register.json +++ b/data/translations/es/register.json @@ -23,6 +23,8 @@ "alert_state__alert_msg": "Debido al COVID-19, su estado podría haber modificado cuándo, dónde y cómo usted podrá votar en las próximas elecciones. Verifique esta información en el %link%.", "alert_state__alert_msg1": "sitio web electoral de su estado", "alert_state__alert_after_election":"Para ver los resultados oficiales de las elecciones visite el %link%.", + "alert_state__alert_primary_election": "Las elecciones primarias presidenciales del 2024 se celebrarán en todos los 50 estados y territorios entre enero y junio. %link%.", + "alert_state__alert_primary_election_link": "Revise las próximas fechas y plazos de su estado y de su partido político", "dates__bymail_deadline": "Registrarse por correo postal:", "dates__byonline_deadline": "Inscripción por internet:", "dates__electionday": "Día de la elección general: martes, 8 de noviembre de 2022", diff --git a/data/translations/fr/register.json b/data/translations/fr/register.json index fe978c2f3..529b1732b 100644 --- a/data/translations/fr/register.json +++ b/data/translations/fr/register.json @@ -21,6 +21,8 @@ "alert_state__alert_msg": "En raison du COVID-19, il peut y avoir des changements concernant quand, où et comment vous votez à vos prochaines élections. Pour en savoir plus, consultez %link%.", "alert_state__alert_msg1": "le site Web électoral de votre État", "alert_state__alert_after_election": "Pour les résultats officiels des élections, visitez %link%", + "alert_state__alert_primary_election": "Les élections primaires présidentielles de 2024 auront lieu entre janvier et juin, dans tous les 50 États et territoires. %link%.", + "alert_state__alert_primary_election_link": "Vérifiez les prochaines dates et dates limites pour votre État et votre parti politique", "dates__bymail_deadline": "La date limite d'inscription par courrier : ", "dates__byonline_deadline": "La date limite d'inscription en ligne : ", "dates__electionday": "Le Jour des élections générales : le mardi 3 novembre 2020.", diff --git a/data/translations/hi/register.json b/data/translations/hi/register.json index 051a6fd8f..b17bce47d 100644 --- a/data/translations/hi/register.json +++ b/data/translations/hi/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "कोविड-19 के कारण आपके आने वाले चुनावों में आप कब, कहाँ और कैसे मतदान करते हैं, उसमें परिवर्तन हो सकते हैं। अधिक जानकारी के लिए %link% देखें।", "alert_state__alert_msg1" : "अपने राज्य की चुनाव वेबसाइट", "alert_state__alert_after_election": "आधिकारिक चुनाव परिणामों के लिए %link% पर जाएं।", + "alert_state__alert_primary_election": "2024 के राष्ट्रपति पद के प्राथमिक चुनाव जनवरी और जून के बीच सभी 50 राज्यों और क्षेत्रों में होंगे। %link%.", + "alert_state__alert_primary_election_link": "अपने राज्य और राजनीतिक दल के लिए आगामी तारीखें और समय सीमा देखें ", "dates__bymail_deadline": "डाक द्वारा पंजीकरण की अंतिम तिथि:", "dates__byonline_deadline": "ऑनलाइन पंजीकरण की अंतिम तिथि:", "dates__electionday": "आम चुनाव दिवस: मंगलवार, 8 नवंबर 2022", diff --git a/data/translations/ht/register.json b/data/translations/ht/register.json index 927dde466..9cf6f76bb 100644 --- a/data/translations/ht/register.json +++ b/data/translations/ht/register.json @@ -23,6 +23,8 @@ "alert_state__alert_msg": "COVID-19 kapab lakòz chanjman nan dat, anplasman ak fason w ap vote nan pwochen eleksyon yo. Pou jwenn plis enfòmasyon, verifye sou %link%.", "alert_state__alert_msg1": "sit eleksyon Eta w la", "alert_state__alert_after_election": "Pou jwenn rezilta ofisyèl eleksyon an, ale nan %link%", +"alert_state__alert_primary_election": "Eleksyon primè prezidansyèl 2024 yo dewoule nan tout 50 Eta ak teritwa yo ant Janvye ak Jen. %link%.", +"alert_state__alert_primary_election_link": "Tcheke dat ak dat limit ki anonse yo pou Eta w ak pou pati politik ou an", "dates__bymail_deadline": "Dat limit enskripsyon pa korespondans:", "dates__byonline_deadline": "Dat limit enskripsyon anliy:", "dates__electionday": "Dat Eleksyon Jeneral: madi 3 novanm 2020", diff --git a/data/translations/km/register.json b/data/translations/km/register.json index fbb721cae..12886a4f4 100644 --- a/data/translations/km/register.json +++ b/data/translations/km/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "ជាមួយ %link% សម្រាប់ព័ត៌មានបន្ថែម។", "alert_state__alert_msg1": "គេហទំព័របោះឆ្នោតរដ្ឋរបស់អ្នក", "alert_state__alert_after_election": "សម្រាប់លទ្ធផលបោះឆ្នោតផ្លូវការ ចូលទៅកាន់ %link%", + "alert_state__alert_primary_election": "ការបោះឆ្នោតបឋមប្រធានាធិបតីឆ្នាំ 2024 ធ្វើឡើងនៅក្នុងរដ្ឋទាំង 50 និងដែនដីឣាមេរិចទាំងឣស់ នៅចន្លោះខែមករា និងខែមិថុនា។ %link%.", + "alert_state__alert_primary_election_link": "ពិនិត្យមើលកាលបរិច្ឆេទនិងថ្ងៃកំណត់ដែលនឹងមកដល់សម្រាប់រដ្ឋ និងគណបក្សនយោបាយរបស់អ្នក", "dates__bymail_deadline": "ថ្ងៃផុតកំណត់ចុះឈ្មោះតាមសំបុត្រ៖", "dates__byonline_deadline": "ថ្ងៃផុតកំណត់ការចុះឈ្មោះអនឡាញ៖", "dates__electionday": "ថ្ងៃអង្គារ 8 ខែវិច្ឆិកា 2022", diff --git a/data/translations/ko/register.json b/data/translations/ko/register.json index d651e1875..527e02148 100644 --- a/data/translations/ko/register.json +++ b/data/translations/ko/register.json @@ -33,6 +33,8 @@ "alert_state__alert_msg1": "귀하의 주 선거 사무국 웹사이트", "alert_state__alert_msg2": "를 참조하시기 바랍니다.", "alert_state__alert_after_election": "공식 선거 사무국 웹사이트 바로 가기 %link%.", + "alert_state__alert_primary_election": "2024년 대통령 예비선거는 50개 주와 영토 전체에서 1월부터 6월 사이에 실시됩니다. %link%.", + "alert_state__alert_primary_election_link": "귀하의 선거 주와 정당의 일정 및 마감일은 다음 링크에서 확인하실 수 있습니다.", "dates__bymail_deadline": "우편 투표자 등록 마감일:", "dates__byonline_deadline": "온라인 등록 마감일:", "dates__electionday": "총 선거일: 2022년 11월 8일 화요일", diff --git a/data/translations/nv/register.json b/data/translations/nv/register.json index a362e8778..819912b8d 100644 --- a/data/translations/nv/register.json +++ b/data/translations/nv/register.json @@ -21,6 +21,8 @@ "alert_state__alert_msg": "Dikos nitsa1g77 COVID 19 woly4h7g77 biniinaa, hahgo, h11di d00 hait'1o i'd77'1[7g77 an11da'ii'n77[go [ahgo da 1dooln77[. [ %link% baa hane' b7na'7d7[kid doolee[.", "alert_state__alert_msg1": "Hahoodzoh biyi' k44hon7t'9n7gi i'ii'n77", "alert_state__alert_after_election": "Ada'iis'nilgo b44h0zin7g77 b44h0zin doogo, hahoodzoh biyi' k44hon7t'8n7gi website yaa 1dahaly3n7g77 biyi' h1d7d77'88[. %link%.", + "alert_state__alert_primary_election": "The 2024 presidential primary elections take place in all 50 states and territories between January and June. %link%.", + "alert_state__alert_primary_election_link": "Check upcoming dates and deadlines for your state and political party", "dates__bymail_deadline": "Naaltsoos nin1h1jeehd00 ha'd7l44hgo koj8' b1 ah00t'i':", "dates__byonline_deadline": "B44sh [ich7'ii bee ha'd7l44hgo koj8' b1 ah00t'i':", "dates__electionday": "Ak44'di Ada'ii'n77[ Bij9: Dam0o Naakij9, N7[ch'ihts'0s7 t11', naadiin d00 ba'aan naadiin naaki yihah g0ne'.", diff --git a/data/translations/pt/register.json b/data/translations/pt/register.json index 952c96391..db19b26a7 100644 --- a/data/translations/pt/register.json +++ b/data/translations/pt/register.json @@ -23,6 +23,8 @@ "alert_state__alert_msg": "Devido ao COVID-19, pode haver mudanças em quando, onde e como você vota nas próximas eleições. Para mais informações, consulte %link%.", "alert_state__alert_msg1": "o site eleitoral do seu estado", "alert_state__alert_after_election": "Para resultados das eleições oficias, ir à %link%. ", + "alert_state__alert_primary_election": "As eleições presidenciais de 2024 acontecem em todos os 50 estados e territôrios entre janeiro e junho. %link%.", + "alert_state__alert_primary_election_link": "Verifique as próximas datas e prazos para seu estado e partido político", "dates__bymail_deadline": "Prazo final para registrar-se por correspondência:", "dates__byonline_deadline": "Prazo final para registrar-se on-line:", "dates__electionday": "Dia da Eleição Geral: Terça-feira, 3 de Novembro de 2020", diff --git a/data/translations/ru/register.json b/data/translations/ru/register.json index d7ed80692..16276b233 100644 --- a/data/translations/ru/register.json +++ b/data/translations/ru/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "Из-за COVID-19 могут произойти изменения в том, когда, где и как вы голосуете на предстоящих выборах. Для получения дополнительной информации свяжитесь с %link%. ", "alert_state__alert_msg1": "веб-сайтом выборов вашего штата", "alert_state__alert_after_election": "Для получения официальных результатов выборов перейдите по ссылке %link%", + "alert_state__alert_primary_election": "Президентские выборы праймериз 2024 года пройдут во всех 50 штатах и территориях в период с января по июнь. %link%.", + "alert_state__alert_primary_election_link": "Проверьте предстоящие даты и крайние сроки для вашего штата и политической партии", "dates__bymail_deadline": "Крайний срок регистрации по почте:", "dates__byonline_deadline": "Крайний срок регистрации он-лайн:", "dates__electionday": "День Всеобщих Выборов: 3 ноября, 2020.", diff --git a/data/translations/tl/register.json b/data/translations/tl/register.json index 114391509..8afae3e15 100644 --- a/data/translations/tl/register.json +++ b/data/translations/tl/register.json @@ -23,6 +23,8 @@ "alert_state__alert_msg1": "website ng eleksyon ng iyong estado", "alert_state__alert_msg2": "para sa higit pang impormasyon.", "alert_state__alert_after_election": "Para sa opisyal na mga resulta ng eleksyon, pumunta sa %link%.", + "alert_state__alert_primary_election": "Ang 2024 na pangunahing eleksyon sa pagkapresidente ay nagaganap sa lahat ng 50 estado at mga teritoryo sa pagitan ng Enero at Hunyo. %link%.", + "alert_state__alert_primary_election_link": "Tingnan ang mga paparating na petsa at mga deadline para sa inyong estado at partidong pampulitika", "dates__bymail_deadline": "Deadline ng pagpaparehistro sa pamamagitan ng koreo", "dates__byonline_deadline": "Deadline ng pagpaparehistro sa online", "dates__electionday": "Araw ng Pangkalahatang Eleksyon: Martes, ika-8 ng Nobyembre 2022", diff --git a/data/translations/vi/register.json b/data/translations/vi/register.json index b31180fda..eea42ce5a 100644 --- a/data/translations/vi/register.json +++ b/data/translations/vi/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "Do COVID-19, có thể có những thay đổi về thời gian, địa điểm và cách bạn đi bầu trong những cuộc bầu cử sắp tới. Vui lòng kiểm tra %link% để biết thêm thông tin", "alert_state__alert_msg1": "trên trang mạng bầu cử ở tiều bang của bạn", "alert_state__alert_after_election": "Để biết kết quả bầu cử chính thức, xin vui lòng vào %link%", + "alert_state__alert_primary_election": "Cuộc bầu cử tổng thống sơ bộ năm 2024 diễn ra trên tất cả 50 tiểu bang và các vùng lãnh thổ từ tháng Giêng đến tháng Sáu. %link%.", + "alert_state__alert_primary_election_link": "Hãy kiểm tra ngày tháng sắp tới và các thời hạn cuối cùng cho tiểu bang và đảng chính trị của bạn", "dates__bymail_deadline": "Thời hạn đăng ký qua đường bưu điện: ", "dates__byonline_deadline": "Thời hạn đăng ký trực tuyến: ", "dates__electionday": "Ngày bầu cử chung toàn quốc: Thứ Ba, 8 tháng 11, 2022", diff --git a/data/translations/ypk/register.json b/data/translations/ypk/register.json index 055dbb266..5507d0b85 100644 --- a/data/translations/ypk/register.json +++ b/data/translations/ypk/register.json @@ -21,6 +21,8 @@ "alert_state__alert_msg": "COVID-19-em pislegha, allangangughsaghngaaghmi ayuquq qakun, nani ama naten nakmikilleghqan nakmikivigpeni. Wata ungipaghqameng esghaghhu %link%-a", "alert_state__alert_msg1": "state-agpek kestillghan website-anganun pi ", "alert_state__alert_after_election": "Nakmikillghem apeeghiillghi esghaghyukufki %link%.", + "alert_state__alert_primary_election": "2024-em umiilegpigaam nakmikiyuwhaallghi iinguniitnitullequt 50-ni states-enillu, nalighneghitnillu Qaluvigmeng taakwavek Pinaghvigmun. %link%.", + "alert_state__alert_primary_election_link": "Kelengaknaketen qakunllu tuunyaghqatlu state-egpeklu politial-egpeklu party-ngan pingi", "dates__bymail_deadline": "Ilatelleq tuyuqayugkun tuuniviga:", "dates__byonline_deadline": "Online-ekun ilatellghem tuuniviga:", "dates__electionday": "Tuwesti, Aqumuq 8, 2022", diff --git a/data/translations/zh-hans/register.json b/data/translations/zh-hans/register.json index 5f5f5e1f1..a685887bf 100644 --- a/data/translations/zh-hans/register.json +++ b/data/translations/zh-hans/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "由于 COVID-19,您在即将举行的选举中投票的时间、地点和方式可能会发生变化。请与 %link% 联系以获取更多信息。", "alert_state__alert_msg1": "您的州选举网站", "alert_state__alert_after_election": "有关官方选举结果,请访问 %link%", + "alert_state__alert_primary_election": "2024 年总统初选将于 1 月至 6 月在所有 50 个州和地区举行。 %link%.", + "alert_state__alert_primary_election_link": "查看您所在州和政党即将到来的初选日期和截止日期", "dates__bymail_deadline": "邮寄报名截止日期:", "dates__byonline_deadline": "网上报名截止日期:", "dates__electionday": "大选日:2022年11月8日星期二 ", diff --git a/data/translations/zh/register.json b/data/translations/zh/register.json index e929174ae..021d8ce76 100644 --- a/data/translations/zh/register.json +++ b/data/translations/zh/register.json @@ -22,6 +22,8 @@ "alert_state__alert_msg": "由於COVID19,您在即將舉行的選舉中投票的時間、地點和方式可能會發生變化。請與%link%聯繫以獲取更多信息。", "alert_state__alert_msg1": "您的州選舉網站", "alert_state__alert_after_election": "有關官方選舉結果,請訪問 %link%", + "alert_state__alert_primary_election": "2024 年總統初選將於 1 月至 6 月在所有 50 個州和地區舉行。 %link%.", + "alert_state__alert_primary_election_link": "查看您所在州和政黨即將到來的初選日期和截止日期", "dates__bymail_deadline": "郵寄報名截止日期:", "dates__byonline_deadline": "網路報名截止日期:", "dates__electionday": "大選日:2022年11月8日星期二 ", diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f80ccc0c0..e357e7f8a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -66,7 +66,7 @@

- {{ replace $translation.register.alert_state__alert_after_election "%link%" (partial "links/state-alert-link.html" .)|safeHTML }} + {{ replace $translation.register.alert_state__alert_primary_election "%link%" (partial "links/state-primary-alert-link.html" .)|safeHTML }}

diff --git a/layouts/partials/links/state-primary-alert-link.html b/layouts/partials/links/state-primary-alert-link.html new file mode 100644 index 000000000..b8ced32ac --- /dev/null +++ b/layouts/partials/links/state-primary-alert-link.html @@ -0,0 +1,2 @@ +{{ $translation := ( index $.Site.Data.translations .Site.Language.Lang ) }} +{{ $translation.register.alert_state__alert_primary_election_link -}}{{- .Site.Params.english_only -}} \ No newline at end of file