diff --git a/app/models/constants/case_log.rb b/app/models/constants/case_log.rb index c4eab5674..d55c85355 100644 --- a/app/models/constants/case_log.rb +++ b/app/models/constants/case_log.rb @@ -248,9 +248,9 @@ module Constants::CaseLog "Other problems with neighbours" => 11, "Property unsuitable because of overcrowding" => 12, "End of assured shorthold tenancy - no fault" => 40, - "End of assured shorthold tenancy - tenant's fault" => 41, + "End of assured shorthold tenancy - tenant’s fault" => 41, "End of fixed term tenancy - no fault" => 42, - "End of fixed term tenancy - tenant's fault" => 43, + "End of fixed term tenancy - tenant’s fault" => 43, "Repossession" => 34, "Under occupation - offered incentive to downsize" => 29, "Under occupation - no incentive" => 30, @@ -417,7 +417,7 @@ module Constants::CaseLog "Islington" => "E09000019", "Kensington and Chelsea" => "E09000020", "Kettering" => "E07000153", - "King's Lynn and West Norfolk" => "E07000146", + "King’s Lynn and West Norfolk" => "E07000146", "Kingston upon Hull, City of" => "E06000010", "Kingston upon Thames" => "E09000021", "Kirklees" => "E08000034", @@ -769,7 +769,7 @@ module Constants::CaseLog "Islington" => "E09000019", "Kensington and Chelsea" => "E09000020", "Kettering" => "E07000153", - "King's Lynn and West Norfolk" => "E07000146", + "King’s Lynn and West Norfolk" => "E07000146", "Kingston upon Hull, City of" => "E06000010", "Kingston upon Thames" => "E09000021", "Kirklees" => "E08000034", diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 38d771a9d..7ceed21a5 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -1188,7 +1188,7 @@ }, "property_postcode": { "check_answer_label": "Postcode", - "header": "What is the property's postcode?", + "header": "What is the property’s postcode?", "hint_text": "", "type": "text", "width": 5, @@ -1370,7 +1370,7 @@ "E09000019": "Islington", "E09000020": "Kensington and Chelsea", "E07000153": "Kettering", - "E07000146": "King's Lynn and West Norfolk", + "E07000146": "King’s Lynn and West Norfolk", "E06000010": "Kingston upon Hull, City of", "E09000021": "Kingston upon Thames", "E08000034": "Kirklees", @@ -1967,7 +1967,7 @@ "questions": { "benefits": { "check_answer_label": "Household income from Universal credit, state pension or benefits", - "header": "How much of the household's income is from Universal Credit, state pensions or benefits?", + "header": "How much of the household’s income is from Universal Credit, state pensions or benefits?", "hint_text": "This excludes child and housing benefit, council tax support and tax credits.", "type": "radio", "answer_options": { @@ -2948,7 +2948,7 @@ "E09000019": "Islington", "E09000020": "Kensington and Chelsea", "E07000153": "Kettering", - "E07000146": "King's Lynn and West Norfolk", + "E07000146": "King’s Lynn and West Norfolk", "E06000010": "Kingston upon Hull, City of", "E09000021": "Kingston upon Thames", "E08000034": "Kirklees", diff --git a/config/locales/en.yml b/config/locales/en.yml index 3b7f95796..fd5690a4a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -64,8 +64,8 @@ en: benefits: part_or_full_time: "income is from Universal Credit, state pensions or benefits cannot be All if the tenant or the partner works part or full time" earnings: - under_hard_max: "Net income cannot be greater than %{hard_max} given the tenant's working situation" - over_hard_min: "Net income cannot be less than %{hard_min} given the tenant's working situation" + under_hard_max: "Net income cannot be greater than %{hard_max} given the tenant’s working situation" + over_hard_min: "Net income cannot be less than %{hard_min} given the tenant’s working situation" household: reasonpref: @@ -92,7 +92,7 @@ en: child_under_16: "Tenant %{person_num} economic status must be Child under 16 if their age is under 16" student_16_19: "If age is between 16 and 19 - tenant %{person_num} must be a full time student or prefer not to say." relat: - child_under_16: "Tenant %{person_num}'s relationship to tenant 1 must be Child if their age is under 16" + child_under_16: "Tenant %{person_num}’s relationship to tenant 1 must be Child if their age is under 16" one_partner: "Number of partners cannot be greater than 1" housingneeds_a: one_or_two_choices: "Only one box must be ticked or 'other disabilities' plus one of mobility disabilities" @@ -109,8 +109,8 @@ en: soft_validations: net_income: - hint_text: "This is based on the tenant's work situation: %{ecstat1}" + hint_text: "This is based on the tenant’s work situation: %{ecstat1}" in_soft_min_range: - message: "Net income is lower than expected based on the main tenant's working situation. Are you sure this is correct?" + message: "Net income is lower than expected based on the main tenant’s working situation. Are you sure this is correct?" in_soft_max_range: - message: "Net income is higher than expected based on the main tenant's working situation. Are you sure this is correct?" + message: "Net income is higher than expected based on the main tenant’s working situation. Are you sure this is correct?" diff --git a/spec/features/form/check_answers_page_spec.rb b/spec/features/form/check_answers_page_spec.rb index 12c63feb7..577c1cdb8 100644 --- a/spec/features/form/check_answers_page_spec.rb +++ b/spec/features/form/check_answers_page_spec.rb @@ -44,7 +44,7 @@ RSpec.describe "Form Check Answers Page" do it "has question headings based on the subsection" do visit("/logs/#{id}/#{subsection}/check-answers") - question_labels = ["Tenant code", "Tenant's age", "Tenant's gender", "Number of Other Household Members"] + question_labels = ["Tenant code", "Tenant’s age", "Tenant’s gender", "Number of Other Household Members"] question_labels.each do |label| expect(page).to have_content(label) end diff --git a/spec/fixtures/forms/2021_2022.json b/spec/fixtures/forms/2021_2022.json index 356258eff..62fc65fbe 100644 --- a/spec/fixtures/forms/2021_2022.json +++ b/spec/fixtures/forms/2021_2022.json @@ -20,8 +20,8 @@ "person_1_age": { "questions": { "age1": { - "check_answer_label": "Tenant's age", - "header": "What is the tenant's age?", + "check_answer_label": "Tenant’s age", + "header": "What is the tenant’s age?", "type": "numeric", "min": 0, "max": 150, @@ -33,8 +33,8 @@ "person_1_gender": { "questions": { "sex1": { - "check_answer_label": "Tenant's gender", - "header": "Which of these best describes the tenant's gender identity?", + "check_answer_label": "Tenant’s gender", + "header": "Which of these best describes the tenant’s gender identity?", "type": "radio", "answer_options": { "0": "Female", @@ -64,8 +64,8 @@ } }, "relat2": { - "check_answer_label": "Person 2's relationship to lead tenant", - "header": "What's person 2's relationship to lead tenant", + "check_answer_label": "Person 2’s relationship to lead tenant", + "header": "What’s person 2’s relationship to lead tenant", "type": "radio", "answer_options": { "0": "Other", @@ -73,8 +73,8 @@ } }, "age2": { - "check_answer_label": "Person 2's age", - "header": "What's person 2's age", + "check_answer_label": "Person 2’s age", + "header": "What’s person 2’s age", "type": "numeric", "min": 0, "max": 150, @@ -82,8 +82,8 @@ "width": 2 }, "sex2": { - "check_answer_label": "Person 2's gender", - "header": "Which of these best describes person 2's gender identity?", + "check_answer_label": "Person 2’s gender", + "header": "Which of these best describes person 2’s gender identity?", "type": "radio", "answer_options": { "0": "Female", @@ -93,8 +93,8 @@ } }, "ecstat2": { - "check_answer_label": "Person 2's Work", - "header": "Which of these best describes person 2's working situation?", + "check_answer_label": "Person 2’s Work", + "header": "Which of these best describes person 2’s working situation?", "type": "radio", "answer_options": { "0": "Other", diff --git a/spec/fixtures/forms/test_validator.json b/spec/fixtures/forms/test_validator.json index 2af164aee..cbb64f2f3 100644 --- a/spec/fixtures/forms/test_validator.json +++ b/spec/fixtures/forms/test_validator.json @@ -29,8 +29,8 @@ "description": "", "questions": { "person_1_age": { - "check_answer_label": "Tenant's age", - "header": "What is the tenant's age?", + "check_answer_label": "Tenant’s age", + "header": "What is the tenant’s age?", "hint_text": "", "type": "numeric", "min": 0,