Browse Source

Add missing question to translations

pull/2709/head
Kat 2 years ago
parent
commit
5759bbbafc
  1. 3
      app/models/form/sales/questions/prevshared.rb
  2. 8
      config/locales/forms/2023/sales/income_benefits_and_savings.en.yml

3
app/models/form/sales/questions/prevshared.rb

@ -2,11 +2,8 @@ class Form::Sales::Questions::Prevshared < ::Form::Question
def initialize(id, hsh, page)
super
@id = "prevshared"
@check_answer_label = "Previous property shared ownership?"
@header = "Was the previous property under shared ownership?"
@type = "radio"
@answer_options = ANSWER_OPTIONS
@hint_text = "For any buyer"
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]
end

8
config/locales/forms/2023/sales/income_benefits_and_savings.en.yml

@ -81,4 +81,10 @@ en:
page_header: ""
check_answer_label: "Buyer previously owned a property."
hint_text: ""
question_text: "Has the buyer previously owned a property?"
question_text: "Has the buyer previously owned a property?"
prevshared:
page_header: ""
check_answer_label: "Previous property shared ownership?"
hint_text: "For any buyer"
question_text: "Was the previous property under shared ownership?"
Loading…
Cancel
Save