Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vote 888/general election date 2024 #599

Merged
merged 3 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion web/modules/custom/vote_utility/translations/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ msgstr "الموعد النهائي للتسجيل عبر الإنترنت:"
msgid "In person registration deadline:"
msgstr "الموعد النهائي للتسجيل الشخصي:"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "المواعيد النهائية لتسجيل الناخبين لانتخابات @election_date"

# data.translations.register.dates__heading (state phrase updates)
msgid "Voter registration deadlines"
msgstr "المواعيد النهائية لتسجيل الناخبين"
Expand Down Expand Up @@ -288,4 +291,4 @@ msgstr "الجمعة"

# data.translations.days.saturday
msgid "Saturday"
msgstr "السبت"
msgstr "السبت"
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/bn.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "ভোট দেওয়ার জন্য কীভাবে নি
msgid "Other ways to register to vote"
msgstr "ভোট নিবন্ধন করার অন্যান্য উপায়"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "@election_date নির্বাচনের জন্য ভোটার নিবন্ধনের সময়সীমা"

msgid "Register by mail deadline:"
msgstr "ডাকযোগে নিবন্ধনের সময়সীমা:"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "Cómo registrarse para votar"
msgid "Other ways to register to vote"
msgstr "Otras formas de registrarse para votar"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Plazo de inscripción de votantes para las elecciones del @election_date"

msgid "Register by mail deadline:"
msgstr "Registrarse por correo postal:"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ msgstr "Comment vous inscrire pour voter"
msgid "Other ways to register to vote"
msgstr "Autres façons de vous inscrire au vote"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Dates limites d'inscription au vote pour l'élection du @election_date."

# data.translations.register.dates__bymail_deadline
msgid "Register by mail deadline:"
msgstr "La date limite d'inscription par courrier:"
Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/hi.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "मतदान करने के लिए पंजीकरण क
msgid "Other ways to register to vote"
msgstr "मतदान के लिए पंजीकरण करने के अन्य तरीके"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "@election_date चुनाव के लिए मतदाता पंजीकरण की समय सीमा"

msgid "Register by mail deadline:"
msgstr "डाक द्वारा पंजीकरण की अंतिम तिथि:"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/ht.po
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ msgstr "Kijan pou enskri pou vote"
msgid "Other ways to register to vote"
msgstr "Lòt fason pou enskri pou vote"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Dat limit enskripsyon votè pou eleksyon @election_date la"

# data.translations.register.dates__bymail_deadline
msgid "Register by mail deadline:"
msgstr "Dat limit enskripsyon pa korespondans:"
Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/km.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "របៀបចុះឈ្មោះដើម្បីបោះឆ្ន
msgid "Other ways to register to vote"
msgstr "វិធីផ្សេងៗទៀតដើម្បីចុះឈ្មោះបោះឆ្នោត"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "ថ្ងៃផុតកំណត់នៃការចុះឈ្មោះឣ្នកបោះឆ្នោតសម្រាប់ការបោះឆ្នោត @election_date"

msgid "Register by mail deadline:"
msgstr "ថ្ងៃផុតកំណត់ចុះឈ្មោះតាមសំបុត្រ៖"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/ko.po
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ msgstr "유권자 등록 방법"
msgid "Other ways to register to vote"
msgstr "기타 유권자 등록 방법"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "@election_date 선거 유권자 등록 마감일"

msgid "Register by mail deadline:"
msgstr "우편 투표자 등록 마감일:"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ msgstr "Como registrar-se para votar"
msgid "Other ways to register to vote"
msgstr "Outras maneiras de registrar-se para votar"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Prazos para registro de eleitores para a eleição de @election_date"

# data.translations.register.dates__bymail_deadline
msgid "Register by mail deadline:"
msgstr "Prazo final para registrar-se por correspondência:"
Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ msgstr "Как зарегистрироваться для голосовани
msgid "Other ways to register to vote"
msgstr "Другие способы зарегистрироваться для голосования"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Крайние сроки регистрации избирателей на выборы @election_date"

# data.translations.register.dates__bymail_deadline
msgid "Register by mail deadline:"
msgstr "Крайний срок регистрации по почте:"
Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/tl.po
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ msgstr "Paano magparehistro para bumoto"
msgid "Other ways to register to vote"
msgstr "Iba pang mga paraan para magrehistro para bumoto"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Mga deadline ng rehistrasyon ng botante para sa @election_date, na halalan"

msgid "Register by mail deadline:"
msgstr "Deadline ng pagpaparehistro sa pamamagitan ng koreo"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/vi.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "Làm thế nào để đăng ký bỏ phiếu"
msgid "Other ways to register to vote"
msgstr "Các cách khác để đăng ký bỏ phiếu"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "Thời hạn cuối cùng đăng ký cử tri cho cuộc bầu cử @election_date"

msgid "Register by mail deadline:"
msgstr "Thời hạn đăng ký qua đường bưu điện: "

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/zh-hans.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "如何登记投票"
msgid "Other ways to register to vote"
msgstr "登记投票的其他方式"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "@election_date选举的选民登记截止日期"

msgid "Register by mail deadline:"
msgstr "邮寄报名截止日期:"

Expand Down
3 changes: 3 additions & 0 deletions web/modules/custom/vote_utility/translations/zh.po
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ msgstr "如何登記投票"
msgid "Other ways to register to vote"
msgstr "登記投票的其他方式"

msgid "Voter registration deadlines for the @election_date, election"
msgstr "@election_date選舉的選民登記截止日期"

msgid "Register by mail deadline:"
msgstr "郵寄報名截止日期:"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{% set of_state_name = node.field_of_state_name.value | default("@state_name") | t({ "@state_name": state_name}) %}
{% set state_abrev = content.field_state_abbreviation | field_value | render %}
{% set in_english = "(in English)" | t %}
{% set election_date = "11/05/2024" | date('U') | format_date('revision_date') | replace(t_numbers[language].numbers | default([])) %}

{# Korean 'state' character logic #}
{% if language == 'ko' and node.field_is_state.value %}
Expand All @@ -35,6 +36,7 @@
{% block deadlines %}
{# Registration deadlines #}
<h2>{{ 'Voter registration deadlines' | t({ '@state_name': state_name }) }}</h2>
<p>{{ 'Voter registration deadlines for the @election_date, election' | t({'@election_date': {'#markup': election_date} | render }) }}</p>
<ul data-test="registration-info">
{% include '@votegov/component/registration-date/registration-date--online.html.twig' %}
{% include '@votegov/component/registration-date/registration-date--by-mail.html.twig' %}
Expand Down