Skip to content

Commit ba53af4

Browse files
Merge pull request #730 from TrustTheVote-Project/staging
Staging
2 parents f378a79 + 91765ca commit ba53af4

8 files changed

Lines changed: 32 additions & 18 deletions

File tree

app/views/catalist_lookups/_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ $(document).ready(function() {
9393
<%= render :partial=> "registrants/phone_opt_ins", :locals=>{:form=>form} %>
9494
</fieldset>
9595

96-
<%= rollover_button(:next_step, I18n.t('txt.button.lookup').html_safe) %>
96+
<%= rollover_button(:next_step, I18n.t(params[:utm_feature] == 'prereg_included' ? 'txt.button.lookup_pre_register' : 'txt.button.lookup').html_safe) %>
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
%h1{role: "heading", "aria-level": 1}= t('txt.lookup.step_1_header')
1+
- header_key = params[:utm_feature] == 'prereg_included' ? 'txt.lookup.step_1_header_pre_register' : 'txt.lookup.step_1_header'
2+
%h1{role: "heading", "aria-level": 1}= t(header_key)
23
4+
- intro_key = params[:utm_feature] == 'prereg_included' ? 'txt.lookup.step_1_instructions_pre_register' : 'txt.lookup.step_1_instructions'
35
.intro-message
4-
= t('txt.lookup.step_1_instructions').html_safe
6+
= t(intro_key).html_safe
57
68
= form_for(@lookup) do |form|
79
= render partial: 'form', :object => form
8-
910
%p= I18n.t('txt.privacy_policy_acceptance').html_safe

app/views/registrants/show.html.haml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
= render :partial => 'layouts/weglot'
22

33
- if !@registrant || @registrant.short_form?
4+
- intro_key = params[:utm_feature] == 'prereg_included' ? 'txt.registration.intro_message_pre_register' : 'txt.registration.intro_message'
45
.intro-message
5-
%p=t('txt.registration.intro_message')
6+
%p= t(intro_key).html_safe
67

78
%h1= t('txt.registration.step_1_header')
89

app/views/step2/show.html.haml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@
2222
= form.hidden_field :locale, :value=>@registrant.locale
2323
= hidden_field_tag 'skip_advance', false
2424

25-
25+
2626
- if @registrant.skip_state_flow?
2727
%h1= t("states.custom.#{@registrant.home_state_abbrev.downcase}.by_paper_header").html_safe
28+
29+
- if @registrant.home_state_abbrev.upcase == 'MI'
30+
%br/
31+
%p= t('states.custom.mi.by_paper_disclaimer').html_safe
32+
2833
%p= I18n.t('txt.registration.instructions.overseas').html_safe
29-
3034

3135

3236

config/locales/states/en.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,11 @@ en:
16811681
mailing_address_1: Enter the number only
16821682
mailing_address_1_length: PO Box is too long (maximum is %{count} characters).
16831683
state_flow_error: ''
1684-
by_paper_header: Complete Registration By Paper
1684+
by_paper_header: Complete Preregistration or Registration By Paper
1685+
by_paper_disclaimer: |-
1686+
If you are under 17.5 years old and are pre-registering to vote, please download and submit the
1687+
<a href="https://www.michigan.gov/sos/-/media/Project/Websites/sos/Elections/Election-Forms/ED-121a-Michigan-Voter-Preregistration-Application-and-Change-of-Address-Form.pdf?rev=2a0413ce83e24577ab6bbe36f2c08df7&hash=E53D1A3FBE546E4AACEE451E4EAD332A" target="_blank">Preregistration Form</a>
1688+
to your local election official instead of continuing below.
16851689
skip_online_registration: <a href="%{url}">Click here</a> to create a paper
16861690
registration form to download, print, sign, and mail.
16871691
skip_online_registration_no_dln: If you do not have a Michigan driver's license
@@ -2806,8 +2810,8 @@ en:
28062810
requirements: |-
28072811
<p>If you don’t have a state ID or an SSN, you will need to create a paper
28082812
request form.</p>
2809-
registration_deadline_text: 05/05/2025 is the last day to register before
2810-
the 05/20/2025 election. If you are not a U.S. citizen and a resident of
2813+
registration_deadline_text: 10/20/2025 is the last day to register before
2814+
the 11/04/2025 election. If you are not a U.S. citizen and a resident of
28112815
Pennsylvania at least 30 days before the next election, you CANNOT register
28122816
to vote. If you have any questions, please call 1.877.VOTESPA (1.877.868.3772).
28132817
state_flow_error: There was a problem submitting your registration to Pennsylvania.
@@ -2891,8 +2895,8 @@ en:
28912895
until processed and accepted.</li> <li>If accepted, you will receive a Voter
28922896
Registration Card by mail.</li> <li>If you do not receive your Voter Registration
28932897
Card within 14 days, contact your county voter registration office.</li>
2894-
</ul> <p> Deadline Alert: 05/05/2025 is the last day to register before
2895-
the 05/20/2025 election.</p>"
2898+
</ul> <p> Deadline Alert: 10/20/2025 is the last day to register before
2899+
the 11/04/2025 election.</p>"
28962900
signature_capture:
28972901
rotation_instructions: You must rotate your screen to correctly capture
28982902
your signature. Make sure your screen rotation is enabled.

config/locales/states/es.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,13 +1334,10 @@ es:
13341334

13351335

13361336
status_check_instructions: ''
1337-
1338-
13391337
state_online_abr:
1340-
13411338
requirements: ''
13421339
registration_deadline_text: 'Atención: La fecha límite para inscribirse y poder votar
1343-
en las próximas elecciones del 20 de mayo de 2025, es el 5 de mayo de 2025.
1340+
en las próximas elecciones del 4 noviembre 2025, es 20 octubre 2025.
13441341
Si usted NO es un ciudadano de los Estados Unidos y un residente de Pennsylvania por
13451342
lo menos 30 días antes de la próxima elección, usted NO puede registrarse para votar.
13461343
Si tiene preguntas, llame al 1.877.VOTESPA (1.877.868.3772).'
@@ -1430,7 +1427,7 @@ es:
14301427
Votante por correo.</li><li>Si en 14 días no ha recibido su Tarjeta de Inscripción
14311428
de Votante, llame a su oficina de inscripción de votantes.</li><p>Atención:
14321429
La fecha límite para inscribirse y poder votar en las próximas elecciones
1433-
05/20/2025, es 05/05/2025.</p>"
1430+
11/04/2025, es 10/20/2025.</p>"
14341431
signature_capture:
14351432
rotation_instructions: Debe girar la pantalla para capturar correctamente
14361433
su firma. Asegúrese de que la rotación de su pantalla esté habilitada.

config/locales/txt/en.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ en:
2525
find_election_official_contact: 'Contact Information:'
2626
lookup:
2727
step_1_header: Check Your Voter Registration Status
28+
step_1_header_pre_register: Check Your Voter Preregistration or Registration Status
2829
step_1_instructions: "<p>Not sure if you're registered to vote? Take one minute
2930
and verify your voter registration status today.</p>"
31+
step_1_instructions_pre_register: "<p>Not sure if you’re preregistered or registered
32+
to vote? Take one minute and verify your preregistration or registration status
33+
today.</p>"
3034
step_2_header_check: We found a likely match.
3135
step_2_header_found: "%{first_name}, we found your voter registration."
3236
step_2_header_not_found: "%{first_name}, we couldn't confirm that you're registered
@@ -266,6 +270,7 @@ en:
266270
next: Next
267271
submit: Next Step
268272
lookup: Look Up Your Registration
273+
lookup_pre_register: Look Up Your Preregistration or Registration
269274
trackballot: Check Ballot Status
270275
edit: Edit
271276
back: "&lt; Previous Step"
@@ -297,6 +302,8 @@ en:
297302
powered_by: 'powered by:'
298303
progress_indicator: 'Step:'
299304
intro_message: Voter registration takes an average of two minutes or less.
305+
intro_message_pre_register: Voter registration or preregistration takes an average
306+
of two minutes or lesss.
300307
step_1_header: New Registrant
301308
step_2_header: Personal Information
302309
step_3_header: Additional Registration Information

config/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ ovr_states:
574574
PA:
575575
require_age_confirmation: true
576576
grommet_min_version: "3.5.0"
577-
registration_deadline: 2025-05-20 # Must be YYYY-MM-DD format and use election date not reg deadline date for this one!
577+
registration_deadline: 2025-11-04 # Must be YYYY-MM-DD format and use election date not reg deadline date for this one!
578578
api_settings:
579579
api_url: "https://paovrwebapi.vote.pa.gov/SureOVRWebAPI/api/ovr?JSONv2&sysparm_AuthKey=<%= ENV['PA_API_KEY'] %>&sysparm_action=SETAPPLICATION&sysparm_Language=0"
580580
api_key: <%= ENV['PA_API_KEY'] %>

0 commit comments

Comments
 (0)