From 738ebe355f3a404ddb52e429cece324d1f29ed33 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 3 Apr 2025 18:00:03 +0100 Subject: [PATCH] Update BU text copy to use curly apostrophes for consistency --- .../lettings/year2023/row_parser.rb | 94 +++++++++---------- .../lettings/year2024/row_parser.rb | 30 +++--- .../lettings/year2025/row_parser.rb | 58 ++++++------ .../bulk_upload/sales/year2023/row_parser.rb | 18 ++-- .../bulk_upload/sales/year2024/row_parser.rb | 14 +-- 5 files changed, 107 insertions(+), 107 deletions(-) diff --git a/app/services/bulk_upload/lettings/year2023/row_parser.rb b/app/services/bulk_upload/lettings/year2023/row_parser.rb index cd8f18fc3..66624cce6 100644 --- a/app/services/bulk_upload/lettings/year2023/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2023/row_parser.rb @@ -53,36 +53,36 @@ class BulkUpload::Lettings::Year2023::RowParser field_46: "What is the lead tenant’s age?", field_47: "Which of these best describes the lead tenant’s gender identity?", field_48: "Which of these best describes the lead tenant’s ethnic background?", - field_49: "What is the lead tenant's nationality?", - field_50: "Which of these best describes the lead tenant's working situation?", - field_51: "What is person 2's relationship to the lead tenant?", - field_52: "What is person 2's age?", - field_53: "Which of these best describes person 2's gender identity?", - field_54: "Which of these best describes person 2's working situation?", - field_55: "What is person 3's relationship to the lead tenant?", - field_56: "What is person 3's age?", - field_57: "Which of these best describes person 3's gender identity?", - field_58: "Which of these best describes person 3's working situation?", - field_59: "What is person 4's relationship to the lead tenant?", - field_60: "What is person 4's age?", - field_61: "Which of these best describes person 4's gender identity?", - field_62: "Which of these best describes person 4's working situation?", - field_63: "What is person 5's relationship to the lead tenant?", - field_64: "What is person 5's age?", - field_65: "Which of these best describes person 5's gender identity?", - field_66: "Which of these best describes person 5's working situation?", - field_67: "What is person 6's relationship to the lead tenant?", - field_68: "What is person 6's age?", - field_69: "Which of these best describes person 6's gender identity?", - field_70: "Which of these best describes person 6's working situation?", - field_71: "What is person 7's relationship to the lead tenant?", - field_72: "What is person 7's age?", - field_73: "Which of these best describes person 7's gender identity?", - field_74: "Which of these best describes person 7's working situation?", - field_75: "What is person 8's relationship to the lead tenant?", - field_76: "What is person 8's age?", - field_77: "Which of these best describes person 8's gender identity?", - field_78: "Which of these best describes person 8's working situation?", + field_49: "What is the lead tenant’s nationality?", + field_50: "Which of these best describes the lead tenant’s working situation?", + field_51: "What is person 2’s relationship to the lead tenant?", + field_52: "What is person 2’s age?", + field_53: "Which of these best describes person 2’s gender identity?", + field_54: "Which of these best describes person 2’s working situation?", + field_55: "What is person 3’s relationship to the lead tenant?", + field_56: "What is person 3’s age?", + field_57: "Which of these best describes person 3’s gender identity?", + field_58: "Which of these best describes person 3’s working situation?", + field_59: "What is person 4’s relationship to the lead tenant?", + field_60: "What is person 4’s age?", + field_61: "Which of these best describes person 4’s gender identity?", + field_62: "Which of these best describes person 4’s working situation?", + field_63: "What is person 5’s relationship to the lead tenant?", + field_64: "What is person 5’s age?", + field_65: "Which of these best describes person 5’s gender identity?", + field_66: "Which of these best describes person 5’s working situation?", + field_67: "What is person 6’s relationship to the lead tenant?", + field_68: "What is person 6’s age?", + field_69: "Which of these best describes person 6’s gender identity?", + field_70: "Which of these best describes person 6’s working situation?", + field_71: "What is person 7’s relationship to the lead tenant?", + field_72: "What is person 7’s age?", + field_73: "Which of these best describes person 7’s gender identity?", + field_74: "Which of these best describes person 7’s working situation?", + field_75: "What is person 8’s relationship to the lead tenant?", + field_76: "What is person 8’s age?", + field_77: "Which of these best describes person 8’s gender identity?", + field_78: "Which of these best describes person 8’s working situation?", field_79: "Does anybody in the household have links to the UK armed forces?", field_80: "Is this person still serving in the UK armed forces?", field_81: "Was this person seriously injured or ill as a result of serving in the UK armed forces?", @@ -94,41 +94,41 @@ class BulkUpload::Lettings::Year2023::RowParser field_87: "Does anybody in the household have any disabled access needs?", field_88: "Does anybody in the household have any disabled access needs?", field_89: "Does anybody in the household have a physical or mental health condition (or other illness) expected to last 12 months or more?", - field_90: "Does this person's condition affect their dexterity?", - field_91: "Does this person's condition affect their learning or understanding or concentrating?", - field_92: "Does this person's condition affect their hearing?", - field_93: "Does this person's condition affect their memory?", - field_94: "Does this person's condition affect their mental health?", - field_95: "Does this person's condition affect their mobility?", - field_96: "Does this person's condition affect them socially or behaviourally?", - field_97: "Does this person's condition affect their stamina or breathing or fatigue?", - field_98: "Does this person's condition affect their vision?", - field_99: "Does this person's condition affect them in another way?", + field_90: "Does this person’s condition affect their dexterity?", + field_91: "Does this person’s condition affect their learning or understanding or concentrating?", + field_92: "Does this person’s condition affect their hearing?", + field_93: "Does this person’s condition affect their memory?", + field_94: "Does this person’s condition affect their mental health?", + field_95: "Does this person’s condition affect their mobility?", + field_96: "Does this person’s condition affect them socially or behaviourally?", + field_97: "Does this person’s condition affect their stamina or breathing or fatigue?", + field_98: "Does this person’s condition affect their vision?", + field_99: "Does this person’s condition affect them in another way?", field_100: "How long has the household continuously lived in the local authority area of the new letting?", field_101: "How long has the household been on the local authority waiting list for the new letting?", field_102: "What is the tenant’s main reason for the household leaving their last settled home?", field_103: "If 'Other', what was the main reason for leaving their last settled home?", field_104: "Where was the household immediately before this letting?", field_105: "Did the household experience homelessness immediately before this letting?", - field_106: "Do you know the postcode of the household's last settled home?", - field_107: "What is the postcode of the household's last settled home?", - field_108: "What is the postcode of the household's last settled home?", - field_109: "What is the local authority of the household's last settled home?", + field_106: "Do you know the postcode of the household’s last settled home?", + field_107: "What is the postcode of the household’s last settled home?", + field_108: "What is the postcode of the household’s last settled home?", + field_109: "What is the local authority of the household’s last settled home?", field_110: "Was the household given 'reasonable preference' by the local authority?", field_111: "Reasonable preference reason They were homeless or about to lose their home (within 56 days)", field_112: "Reasonable preference reason They were living in insanitary, overcrowded or unsatisfactory housing", field_113: "Reasonable preference reason They needed to move on medical and welfare reasons (including disability)", field_114: "Reasonable preference reason They needed to move to avoid hardship to themselves or others", - field_115: "Reasonable preference reason Don't know", + field_115: "Reasonable preference reason Don’t know", field_116: "Was the letting made under the Choice-Based Lettings (CBL)?", field_117: "Was the letting made under the Common Allocation Policy (CAP)?", field_118: "Was the letting made under the Common Housing Register (CHR)?", field_119: "What was the source of referral for this letting?", - field_120: "Do you know the household's combined total income after tax?", + field_120: "Do you know the household’s combined total income after tax?", field_121: "How often does the household receive income?", field_122: "How much income does the household have in total?", field_123: "Is the tenant likely to be receiving any of these housing-related benefits?", - field_124: "How much of the household's income is from Universal Credit, state pensions or benefits?", + field_124: "How much of the household’s income is from Universal Credit, state pensions or benefits?", field_125: "Does the household pay rent or other charges for the accommodation?", field_126: "How often does the household pay rent and other charges?", field_127: "If this is a care home, how much does the household pay every [time period]?", diff --git a/app/services/bulk_upload/lettings/year2024/row_parser.rb b/app/services/bulk_upload/lettings/year2024/row_parser.rb index 86c0482d8..bfdd39490 100644 --- a/app/services/bulk_upload/lettings/year2024/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2024/row_parser.rb @@ -92,40 +92,40 @@ class BulkUpload::Lettings::Year2024::RowParser field_85: "Does anybody in the household have a physical or mental health condition (or other illness) expected to last 12 months or more?", field_86: "Does this person’s condition affect their dexterity?", field_87: "Does this person’s condition affect their learning or understanding or concentrating?", - field_88: "Does this person's condition affect their hearing?", - field_89: "Does this person's condition affect their memory?", - field_90: "Does this person's condition affect their mental health?", - field_91: "Does this person's condition affect their mobility?", - field_92: "Does this person's condition affect them socially or behaviourally?", - field_93: "Does this person's condition affect their stamina or breathing or fatigue?", - field_94: "Does this person's condition affect their vision?", - field_95: "Does this person's condition affect them in another way?", + field_88: "Does this person’s condition affect their hearing?", + field_89: "Does this person’s condition affect their memory?", + field_90: "Does this person’s condition affect their mental health?", + field_91: "Does this person’s condition affect their mobility?", + field_92: "Does this person’s condition affect them socially or behaviourally?", + field_93: "Does this person’s condition affect their stamina or breathing or fatigue?", + field_94: "Does this person’s condition affect their vision?", + field_95: "Does this person’s condition affect them in another way?", field_96: "How long has the household continuously lived in the local authority area of the new letting?", field_97: "How long has the household been on the local authority waiting list for the new letting?", field_98: "What is the tenant’s main reason for the household leaving their last settled home?", field_99: "If 'Other', what was the main reason for leaving their last settled home?", field_100: "Where was the household immediately before this letting?", field_101: "Did the household experience homelessness immediately before this letting?", - field_102: "Do you know the postcode of the household's last settled home?", - field_103: "What is the postcode of the household's last settled home?", - field_104: "What is the postcode of the household's last settled home?", - field_105: "What is the local authority of the household's last settled home?", + field_102: "Do you know the postcode of the household’s last settled home?", + field_103: "What is the postcode of the household’s last settled home?", + field_104: "What is the postcode of the household’s last settled home?", + field_105: "What is the local authority of the household’s last settled home?", field_106: "Was the household given 'reasonable preference' by the local authority?", field_107: "Reasonable preference reason They were homeless or about to lose their home (within 56 days)", field_108: "Reasonable preference reason They were living in insanitary, overcrowded or unsatisfactory housing", field_109: "Reasonable preference reason They needed to move on medical and welfare reasons (including disability)", field_110: "Reasonable preference reason They needed to move to avoid hardship to themselves or others", - field_111: "Reasonable preference reason Don't know", + field_111: "Reasonable preference reason Don’t know", field_112: "Was the letting made under the Choice-Based Lettings (CBL)?", field_113: "Was the letting made under the Common Allocation Policy (CAP)?", field_114: "Was the letting made under the Common Housing Register (CHR)?", field_115: "Was the letting made under the Accessible Register?", field_116: "What was the source of referral for this letting?", - field_117: "Do you know the household's combined total income after tax?", + field_117: "Do you know the household’s combined total income after tax?", field_118: "How often does the household receive income?", field_119: "How much income does the household have in total?", field_120: "Is the tenant likely to be receiving any of these housing-related benefits?", - field_121: "How much of the household's income is from Universal Credit, state pensions or benefits?", + field_121: "How much of the household’s income is from Universal Credit, state pensions or benefits?", field_122: "Does the household pay rent or other charges for the accommodation?", field_123: "How often does the household pay rent and other charges?", field_124: "If this is a care home, how much does the household pay every [time period]?", diff --git a/app/services/bulk_upload/lettings/year2025/row_parser.rb b/app/services/bulk_upload/lettings/year2025/row_parser.rb index a673b3fbc..dc9b809fb 100644 --- a/app/services/bulk_upload/lettings/year2025/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2025/row_parser.rb @@ -64,21 +64,21 @@ class BulkUpload::Lettings::Year2025::RowParser field_57: "Which of these best describes person 4’s gender identity?", field_58: "Which of these best describes person 4’s working situation?", field_59: "Is person 5 the partner of the lead tenant?", - field_60: "What is person 5's age?", - field_61: "Which of these best describes person 5's gender identity?", - field_62: "Which of these best describes person 5's working situation?", + field_60: "What is person 5’s age?", + field_61: "Which of these best describes person 5’s gender identity?", + field_62: "Which of these best describes person 5’s working situation?", field_63: "Is person 6 the partner of the lead tenant?", - field_64: "What is person 6's age?", - field_65: "Which of these best describes person 6's gender identity?", - field_66: "Which of these best describes person 6's working situation?", + field_64: "What is person 6’s age?", + field_65: "Which of these best describes person 6’s gender identity?", + field_66: "Which of these best describes person 6’s working situation?", field_67: "Is person 7 the partner of the lead tenant?", - field_68: "What is person 7's age?", - field_69: "Which of these best describes person 7's gender identity?", - field_70: "Which of these best describes person 7's working situation?", + field_68: "What is person 7’s age?", + field_69: "Which of these best describes person 7’s gender identity?", + field_70: "Which of these best describes person 7’s working situation?", field_71: "Is person 8 the partner of the lead tenant?", - field_72: "What is person 8's age?", - field_73: "Which of these best describes person 8's gender identity?", - field_74: "Which of these best describes person 8's working situation?", + field_72: "What is person 8’s age?", + field_73: "Which of these best describes person 8’s gender identity?", + field_74: "Which of these best describes person 8’s working situation?", field_75: "Does anybody in the household have links to the UK armed forces?", field_76: "Is this person still serving in the UK armed forces?", field_77: "Was this person seriously injured or ill as a result of serving in the UK armed forces?", @@ -90,42 +90,42 @@ class BulkUpload::Lettings::Year2025::RowParser field_83: "Does anybody in the household have any disabled access needs?", field_84: "Does anybody in the household have any disabled access needs?", field_85: "Does anybody in the household have a physical or mental health condition (or other illness) expected to last 12 months or more?", - field_86: "Does this person's condition affect their dexterity?", - field_87: "Does this person's condition affect their learning or understanding or concentrating?", - field_88: "Does this person's condition affect their hearing?", - field_89: "Does this person's condition affect their memory?", - field_90: "Does this person's condition affect their mental health?", - field_91: "Does this person's condition affect their mobility?", - field_92: "Does this person's condition affect them socially or behaviourally?", - field_93: "Does this person's condition affect their stamina or breathing or fatigue?", - field_94: "Does this person's condition affect their vision?", - field_95: "Does this person's condition affect them in another way?", + field_86: "Does this person’s condition affect their dexterity?", + field_87: "Does this person’s condition affect their learning or understanding or concentrating?", + field_88: "Does this person’s condition affect their hearing?", + field_89: "Does this person’s condition affect their memory?", + field_90: "Does this person’s condition affect their mental health?", + field_91: "Does this person’s condition affect their mobility?", + field_92: "Does this person’s condition affect them socially or behaviourally?", + field_93: "Does this person’s condition affect their stamina or breathing or fatigue?", + field_94: "Does this person’s condition affect their vision?", + field_95: "Does this person’s condition affect them in another way?", field_96: "How long has the household continuously lived in the local authority area of the new letting?", field_97: "How long has the household been on the local authority waiting list for the new letting?", field_98: "What is the tenant’s main reason for the household leaving their last settled home?", field_99: "If 'Other', what was the main reason for leaving their last settled home?", field_100: "Where was the household immediately before this letting?", field_101: "Did the household experience homelessness immediately before this letting?", - field_102: "Do you know the postcode of the household's last settled home?", - field_103: "What is the postcode of the household's last settled home?", - field_104: "What is the postcode of the household's last settled home?", - field_105: "What is the local authority of the household's last settled home?", + field_102: "Do you know the postcode of the household’s last settled home?", + field_103: "What is the postcode of the household’s last settled home?", + field_104: "What is the postcode of the household’s last settled home?", + field_105: "What is the local authority of the household’s last settled home?", field_106: "Was the household given 'reasonable preference' by the local authority?", field_107: "Reasonable preference reason They were homeless or about to lose their home (within 56 days)", field_108: "Reasonable preference reason They were living in insanitary, overcrowded or unsatisfactory housing", field_109: "Reasonable preference reason They needed to move on medical and welfare reasons (including disability)", field_110: "Reasonable preference reason They needed to move to avoid hardship to themselves or others", - field_111: "Reasonable preference reason Don't know", + field_111: "Reasonable preference reason Don’t know", field_112: "Was the letting made under the Choice-Based Lettings (CBL)?", field_113: "Was the letting made under the Common Allocation Policy (CAP)?", field_114: "Was the letting made under the Common Housing Register (CHR)?", field_115: "Was the letting made under the Accessible Register?", field_116: "What was the source of referral for this letting?", - field_117: "Do you know the household's combined total income after tax?", + field_117: "Do you know the household’s combined total income after tax?", field_118: "How often does the household receive income?", field_119: "How much income does the household have in total?", field_120: "Is the tenant likely to be receiving any of these housing-related benefits?", - field_121: "How much of the household's income is from Universal Credit, state pensions or benefits?", + field_121: "How much of the household’s income is from Universal Credit, state pensions or benefits?", field_122: "Does the household pay rent or other charges for the accommodation?", field_123: "How often does the household pay rent and other charges?", field_124: "What is the basic rent?", diff --git a/app/services/bulk_upload/sales/year2023/row_parser.rb b/app/services/bulk_upload/sales/year2023/row_parser.rb index 803022423..3770fc4d9 100644 --- a/app/services/bulk_upload/sales/year2023/row_parser.rb +++ b/app/services/bulk_upload/sales/year2023/row_parser.rb @@ -76,24 +76,24 @@ class BulkUpload::Sales::Year2023::RowParser field_63: "Do you know the postcode of buyer 1’s last settled home?", field_64: "Part 1 of postcode of buyer 1’s last settled home", field_65: "Part 2 of postcode of buyer 1’s last settled home", - field_66: "What is the local authority of buyer 1's last settled home?", + field_66: "What is the local authority of buyer 1’s last settled home?", field_67: "Was the buyer registered with their PRP (HA)?", field_68: "Was the buyer registered with another PRP (HA)?", field_69: "Was the buyer registered with the local authority?", field_70: "Was the buyer registered with a Help to Buy agent?", field_71: "At the time of purchase, was buyer 2 living at the same address as buyer 1?", - field_72: "What was buyer 2's previous tenure?", + field_72: "What was buyer 2’s previous tenure?", field_73: "Has the buyer ever served in the UK Armed Forces and for how long?", field_74: "Is the buyer still serving in the UK armed forces?", field_75: "Are any of the buyers a spouse or civil partner of a UK Armed Forces regular who died in service within the last 2 years?", field_76: "Does anyone in the household consider themselves to have a disability?", field_77: "Does anyone in the household use a wheelchair?", - field_78: "What is buyer 1's gross annual income?", - field_79: "Was buyer 1's income used for a mortgage application?", - field_80: "What is buyer 2's gross annual income?", + field_78: "What is buyer 1’s gross annual income?", + field_79: "Was buyer 1’s income used for a mortgage application?", + field_80: "What is buyer 2’s gross annual income?", - field_81: "Was buyer 2's income used for a mortgage application?", + field_81: "Was buyer 2’s income used for a mortgage application?", field_82: "Were the buyers receiving any of these housing-related benefits immediately before buying this property?", field_83: "What is the total amount the buyers had in savings before they paid any deposit for the property?", field_84: "Have any of the purchasers previously owned a property?", @@ -113,10 +113,10 @@ class BulkUpload::Sales::Year2023::RowParser field_97: "What is the year of the practical completion or handover date?", field_98: "Was the household re-housed under a local authority nominations agreement?", field_99: "Was the buyer a private registered provider, housing association or local authority tenant immediately before this sale?", - field_100: "How many bedrooms did the buyer's previous property have?", + field_100: "How many bedrooms did the buyer’s previous property have?", - field_101: "What was the type of the buyer's previous property?", - field_102: "What was the rent type of the buyer's previous property?", + field_101: "What was the type of the buyer’s previous property?", + field_102: "What was the rent type of the buyer’s previous property?", field_103: "What was the full purchase price?", field_104: "What was the initial percentage equity stake purchased?", field_105: "Was a mortgage used for the purchase of this property? - Shared ownership", diff --git a/app/services/bulk_upload/sales/year2024/row_parser.rb b/app/services/bulk_upload/sales/year2024/row_parser.rb index a88052e3e..c5347dd3c 100644 --- a/app/services/bulk_upload/sales/year2024/row_parser.rb +++ b/app/services/bulk_upload/sales/year2024/row_parser.rb @@ -88,11 +88,11 @@ class BulkUpload::Sales::Year2024::RowParser field_74: "Are any of the buyers a spouse or civil partner of a UK Armed Forces regular who died in service within the last 2 years?", field_75: "Does anyone in the household consider themselves to have a disability?", field_76: "Does anyone in the household use a wheelchair?", - field_77: "What is buyer 1's gross annual income?", - field_78: "Was buyer 1's income used for a mortgage application?", - field_79: "What is buyer 2's gross annual income?", + field_77: "What is buyer 1’s gross annual income?", + field_78: "Was buyer 1’s income used for a mortgage application?", + field_79: "What is buyer 2’s gross annual income?", - field_80: "Was buyer 2's income used for a mortgage application?", + field_80: "Was buyer 2’s income used for a mortgage application?", field_81: "Were the buyers receiving any of these housing-related benefits immediately before buying this property?", field_82: "What is the total amount the buyers had in savings before they paid any deposit for the property?", field_83: "Have any of the purchasers previously owned a property?", @@ -111,10 +111,10 @@ class BulkUpload::Sales::Year2024::RowParser field_95: "What is the month of the practical completion or handover date?", field_96: "What is the year of the practical completion or handover date?", field_97: "Was the household re-housed under a local authority nominations agreement?", - field_98: "How many bedrooms did the buyer's previous property have?", + field_98: "How many bedrooms did the buyer’s previous property have?", - field_99: "What was the type of the buyer's previous property?", - field_100: "What was the rent type of the buyer's previous property?", + field_99: "What was the type of the buyer’s previous property?", + field_100: "What was the rent type of the buyer’s previous property?", field_101: "What was the full purchase price?", field_102: "What was the initial percentage equity stake purchased?", field_103: "Was a mortgage used for the purchase of this property? - Shared ownership",