# Files in the config/locales directory are used for internationalization
# and are automatically loaded by Rails. If you want to use locales other
# than English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
#     I18n.t 'hello'
#
# In views, this is aliased to just `t`:
#
#     <%= t('hello') %>
#
# To use a different locale, set it with `I18n.locale`:
#
#     I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# The following keys must be escaped otherwise they will not be retrieved by
# the default I18n backend:
#
# true, false, on, off, yes, no
#
# Instead, surround them with single quotes.
#
# en:
#   'true': 'foo'
#
# To learn more, please read the Rails Internationalization guide
# available at https://guides.rubyonrails.org/i18n.html.

en:
  service_name: "Submit social housing lettings and sales data (CORE)"
  organisation:
    updated: "Organisation details updated"

  validations:
    other_field_missing: "If %{main_field_label} is other then %{other_field_label} must be provided"
    other_field_not_required: "%{other_field_label} must not be provided if %{main_field_label} was not other"
    numeric:
      valid: "%{field} must be a number between %{min} and %{max}"
    date:
      invalid_date: "Please enter a valid date"
      outside_collection_window: "Date must be within the current collection windows"
    postcode: "Enter a postcode in the correct format, for example AA1 1AA"
    email:
      taken: "Email already exists"
      invalid: "Enter an email address in the correct format, like name@example.com"
      blank: "Enter an email address"

    setup:
      intermediate_rent_product_name:
        blank: "Enter name of other intermediate rent product"

    property:
      mrcdate:
        before_tenancy_start: "Major repairs date must be before the tenancy start date"
        not_first_let: "Major repairs date must not be completed if the tenancy is first let"
        730_days_before_tenancy_start: "The major repairs completion date should be no more than 730 days before the tenancy start date"
      void_date:
        ten_years_before_tenancy_start: "The void date must be no more than 10 years before the tenancy start date"
        before_tenancy_start: "Void date must be before the tenancy start date"
        after_mrcdate: "Void date must be after the major repair date if a major repair date has been provided"
      offered:
        relet_number: "Property number of times relet must be between 0 and 20"
      la:
        london_rent: "Local authority has to be in London"
        london_rent_postcode: "The postcode must be a London postcode because you told us the rent type is London Affordable Rent or London Living Rent"
        la_known: "Enter a local authority"
      rsnvac:
        first_let_not_social: "Reason for vacancy cannot be first let if unit has been previously let as social housing"
        first_let_social: "Reason for vacancy must be first let if unit has been previously let as social housing"
        previous_let_social: "Property cannot have a previous let type if it is being let as social housing for the first time"
        non_temp_accommodation: "Answer cannot be re-let to tenant who occupied the same property as temporary accommodation as you already told us this accommodation is not temporary"
        referral_invalid: "Answer cannot be re-let to tenant who occupied the same property as temporary accommodation as you already told us a different source of referral for this letting"
      unittype_gn:
        one_bedroom_bedsit: "A bedsit can only have one bedroom"
        one_seven_bedroom_shared: "A shared house must have 1 to 7 bedrooms"
        one_three_bedroom_single_tenant_shared: "A shared house with less than two tenants must have 1 to 3 bedrooms"
      beds:
        negative: "Number of bedrooms has to be greater than 0"
        over_max: "Number of bedrooms cannot be more than 12"

    financial:
      tshortfall:
        outstanding_amount_not_required: "You must not answer the outstanding amount question if you don’t have outstanding rent or charges"
        more_than_rent: "Answer must be less than half of the basic rent amount"
      hbrentshortfall:
        outstanding_no_benefits: "Outstanding amount for basic rent and/or benefit eligible charges cannot be 'Yes' if tenant is not in receipt of housing benefit or universal benefit or if benefit is unknown"
      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:
        over_hard_max: "Net income cannot be greater than %{hard_max} given the tenant’s working situation"
        under_hard_min: "Net income cannot be less than %{hard_min} given the tenant’s working situation"
        freq_missing: "Select how often the household receives income"
        earnings_missing: "Enter how much income the household has in total"
      negative_currency: "Enter an amount above 0"
      rent:
        less_than_double_shortfall: "Answer must be more than double the shortfall in basic rent"
        scharge:
          this_landlord:
            general_needs: "Service charge must be between £0 and £55 per week if the landlord is this landlord and it is a general needs letting"
            supported_housing: "Service charge must be between £0 and £280 per week if the landlord is this landlord and it is a suported housing letting"
          other_landlord:
            general_needs: "Service charge must be between £0 and £45 per week if the landlord is another RP and it is a general needs letting"
            supported_housing: "Service charge must be between £0 and £165 per week if the landlord is another RP and it is a suported housing letting"
        pscharge:
          this_landlord:
            general_needs: "Personal service charge must be between £0 and £30 per week if the landlord is this landlord and it is a general needs letting"
            supported_housing: "Personal service charge must be between £0 and £200 per week if the landlord is this landlord and it is a suported housing letting"
          other_landlord:
            general_needs: "Personal service charge must be between £0 and £35 per week if the landlord is another RP and it is a general needs letting"
            supported_housing: "Personal service charge must be between £0 and £75 per week if the landlord is another RP and it is a suported housing letting"
        supcharg:
          this_landlord:
            general_needs: "Support charge must be between £0 and £40 per week if the landlord is this landlord and it is a general needs letting"
            supported_housing: "Support charge must be between £0 and £465 per week if the landlord is this landlord and it is a suported housing letting"
          other_landlord:
            general_needs: "Support charge must be between £0 and £60 per week if the landlord is another RP and it is a general needs letting"
            supported_housing: "Support charge must be between £0 and £120 per week if the landlord is another RP and it is a suported housing letting"
      brent:
        not_in_range: "Basic rent is outside of the expected range based on the lettings type, local authority and number of bedrooms"
        la:
          not_in_range: "Basic rent is outside of the expected range based on this local authority"
        beds:
          not_in_range: "Basic rent is outside of the expected range based on this number of bedrooms"
        needstype:
          not_in_range: "Basic rent is outside of the expected range based on this lettings type"
        rent_type:
          not_in_range: "Basic rent is outside of the expected range based on this lettings type"
      charges:
        complete_1_of_3: 'Only one question out of "Total charge", "Charges for carehomes" and "Does the household pay rent or charges?" needs to be selected and completed'
      tcharge:
        under_10: "Total charge must be at least £10 per week"

    household:
      reasonpref:
        not_homeless: "Answer cannot be ‘homeless or about to lose their home’ as you already told us the tenant was not homeless immediately prior to this letting"
      reasonable_preference_reason:
        reason_required: 'If reasonable preference is "Yes", a reason must be given'
        reason_not_required: 'If reasonable preference is "No", no reasons should be given'
      underoccupation_benefitcap:
        dont_know_required: "must be don’t know if tenant’s main reason for leaving is don’t know"
      reservist:
        injury_required: "You must answer the armed forces injury question if the tenant has served in the armed forces"
        injury_not_required: "You must not answer the armed forces injury question if the tenant has not served in the armed forces or prefer not to say was chosen"
      leftreg:
        question_required: "You must answer the armed forces active question if the tenant has served as a regular in the armed forces"
        question_not_required: "You must not answer the armed forces active question if the tenant has not served as a regular in the armed forces"
      preg_occ:
        no_female: "You must answer no as there are no female tenants aged 16-50 in the property"
      age:
        retired_male: "Male tenant who is retired must be 65 or over"
        retired_female: "Female tenant who is retired must be 60 or over"
        retired_over_70: 'Answer cannot be over 70 as as tenant %{person_num} has economic status that is not "Retired"'
        child_under_16_relat: 'Answer cannot be under 16 as tenant %{person_num} is not a child of the lead tenant'
        child_under_16: 'Answer cannot be under 16 as tenant %{person_num} has economic status that is not "Child under 16"'
        child_over_16: 'Answer cannot be over 16 as tenant %{person_num} has economic status "Child under 16"'
        student_16_19: 'Answer cannot be between 16 and 19 as tenant %{person_num} is a child of the lead tenant but is not a full time student'
        lead:
          over_20: "Lead tenant must be under 20 as you told us that their housing situation immediately before this letting was a children's home or foster care"
      ecstat:
        retired_over_70: "Tenant %{person_num} must be retired if over 70"
        child_under_16: "Tenant %{person_num} economic status must be Child under 16 if their age is under 16"
        child_over_16: 'Answer cannot be "Child under 16" as tenant %{person_num} is older than 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."
        retired_male: "Male tenant who is under 65 cannot be retired"
        retired_female: "Female tenant who is under 60 cannot be retired"
      relat:
        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"
        student_16_19: 'Answer cannot be "Child" as tenant %{person_num} is between 16 and 19 but is not a full time student'
      housingneeds_a:
        one_or_two_choices: "Only one box must be ticked or 'other disabilities' plus one of mobility disabilities"
      prevten:
        non_temp_accommodation: "Answer cannot be non-temporary accommodation as you already told us this is a re-let to tenant who occupied the same property as temporary accommodation"
        over_20_foster_care: "Answer cannot be children's home or foster care as the lead tenant is 20 or older"
        male_refuge: "Answer cannot be refuge as the lead tenant identifies as male"
        internal_transfer: "Answer cannot be %{prevten} as you already told us this tenancy is an internal transfer"
      referral:
        secure_tenancy: "Answer must be internal transfer as you already told us this is a secure tenancy"
        rsnvac_non_temp: "Answer cannot be this source of referral as you already told us this is a re-let to tenant who occupied the same property as temporary accommodation"
        cannot_be_secure_tenancy: "Answer cannot be secure tenancy as you already told us this is not an internal transfer"
        assessed_homeless: "Answer cannot be internal transfer as you already told us the tenant was assessed as homeless"
        other_homeless: "Answer cannot be internal transfer as you already told us the tenant was considered homeless by their landlord"
        prevten_invalid: "Answer cannot be internal transfer as you already told us the household situation immediately before this letting was %{prevten}"
        reason_permanently_decanted: "Answer must be internal transfer as you already told us the tenant was permanently decanted from another property owned by this landlord"
      homeless:
        assessed:
          internal_transfer: "Answer cannot be assessed as homeless as you already told us this tenancy is an internal transfer"
        other:
          internal_transfer: "Answer cannot be other homelessness as you already told us this tenancy was an internal transfer"
        reasonpref:
          not_homeless: "Answer cannot be ‘no’ as you already told us the tenant was homeless or about to lose their home"
      previous_la_known: "Enter a local authority"
      gender:
        retired_male: 'Answer cannot be "Male" as tenant is under 65 and retired'
        retired_female: 'Answer cannot be "Female" as tenant is under 60 and retired'
        male_refuge: "Answer cannot be male as you told us their housing situation immediately before this letting was a refuge"
      reason:
        not_internal_transfer: "Answer cannot be permanently decanted from another property owned by this landlord as you told us the source of referral for this tenancy was not an internal transfer"
      condition_effects:
        no_choices: "You can not provide details about effects of conditions on any of the household members if you have not answered yes to the any of the household having a physical or mental health condition (or other illness) expected to last 12 months or more"

    tenancy:
      length:
        fixed_term_not_required: "You must only answer the fixed term tenancy length question if the tenancy type is fixed term"
        shorthold: "Fixed term – Assured Shorthold Tenancy (AST) should be between 2 and 99 years"
        secure: "Secure (including flexible) should be between 2 and 99 years or not specified"
      internal_transfer: "Answer must be secure tenancy as you already told us this tenancy is an internal transfer"
      cannot_be_internal_transfer: "Answer cannot be internal transfer as you already told us this is not a secure tenancy"

    declaration:
      missing: "You must show the DLUHC privacy notice to the tenant before you can submit this log."

  soft_validations:
    net_income:
      hint_text: "<p>You told us the main tenant’s working situation is: <strong>%{ecstat1}</strong></p><p>The household income you have entered is <strong>%{earnings}</strong></p>"
      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?"
      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?"
  devise:
    two_factor_authentication:
      success: "Two factor authentication successful."
      attempt_failed: "Attempt failed."
      max_login_attempts_reached: "Too many incorrect login attempts"
      account_locked: "Your account has been locked for security reasons."
      contact_administrator: "Contact another helpdesk administrator for access."
      code_has_been_sent: "Your security code has been sent."
      code_required: "Security code is required"
      code_incorrect: "Security code is incorrect"

  test:
    one_argument: "This is based on the tenant’s work situation: %{ecstat1}"