CLDC-1838 update copy for both offered questions (#1401)
* ensure copy is changed for both questions relating to how many times a property has been offered
extract to en.yml so that both questions keep identical copy in the future
* minor typo caught in code review
@header="How many times was the property offered between becoming vacant and this letting?"
@header=I18n.t("questions.offered")
@type="numeric"
@type="numeric"
@width=2
@width=2
@check_answers_card_number=0
@check_answers_card_number=0
@max=150
@max=150
@min=0
@min=0
@hint_text="Do not include the offer that led to this letting.This is after the last tenancy ended. If the property is being offered for let for the first time, enter 0."
one:"What percentage of the property does the buyer now own in total?"
one:"What percentage of the property does the buyer now own in total?"
other:"What percentage of the property do the buyers now own in total?"
other:"What percentage of the property do the buyers now own in total?"
offered:"How many times was the property offered between becoming vacant and this letting?"
hints:
hints:
location:
location:
@ -559,6 +560,7 @@ en:
toggle_active:"If the date is before %{date}, select ‘From the start of the current collection period’ because the previous period has now closed."
toggle_active:"If the date is before %{date}, select ‘From the start of the current collection period’ because the previous period has now closed."
bulk_upload:
bulk_upload:
needstype:"General needs housing includes both self-contained and shared housing without support or specific adaptations. Supported housing can include direct access hostels, group homes, residential care and nursing homes."
needstype:"General needs housing includes both self-contained and shared housing without support or specific adaptations. Supported housing can include direct access hostels, group homes, residential care and nursing homes."
offered:"Do not include the offer that led to this letting. This is after the last tenancy ended. If the property is being offered for let for the first time, enter 0."
check_answer_labels:
check_answer_labels:
soctenant:
soctenant:
@ -570,6 +572,7 @@ en:
stairowned:
stairowned:
one:"Percentage the buyer now owns in total"
one:"Percentage the buyer now owns in total"
other:"Percentage the buyers now own in total"
other:"Percentage the buyers now own in total"
offered:"Times previously offered since becoming available"
@ -39,6 +39,6 @@ RSpec.describe Form::Lettings::Questions::OfferedSocialLet, type: :model do
end
end
it"has the correct hint_text"do
it"has the correct hint_text"do
expect(question.hint_text).toeq"Do not include the offer that led to this letting.This is after the last tenancy ended. If the property is being offered for let for the first time, enter 0."
expect(question.hint_text).toeq"Do not include the offer that led to this letting.This is after the last tenancy ended. If the property is being offered for let for the first time, enter 0."