availability<<" to #{(deactivation.deactivation_date-1.day).to_formatted_s(:govuk_date)}\nDeactivated on #{deactivation.deactivation_date.to_formatted_s(:govuk_date)}"
availability<<"\nActive from #{deactivation.reactivation_date.to_formatted_s(:govuk_date)}"ifdeactivation.reactivation_date.present?
availability=""
active_periods(scheme).eachdo|period|
ifperiod.from.present?
availability<<"\nActive from #{period.from.to_formatted_s(:govuk_date)}"
availability<<" to #{(period.to-1.day).to_formatted_s(:govuk_date)}\nDeactivated on #{period.to.to_formatted_s(:govuk_date)}"ifperiod.to.present?
missing:"You must show the DLUHC privacy notice to the tenant before you can submit this log."
scheme:
deactivation_date:
toggle_date:
not_selected:"Select one of the options"
invalid:"Enter a valid day, month and year"
out_of_range:"The date must be on or after the %{date}"
reactivation:
before_deactivation:"This scheme was deactivated on %{date}\nThe reactivation date must be on or after deactivation date"
deactivation:
during_deactivated_period:"The scheme is already deactivated during this date, please enter a different date"
location:
toggle_date:
@ -325,7 +331,7 @@ en:
out_of_range:"The date must be on or after the %{date}"
reactivation:
before_deactivation:"This location was deactivated on %{date}\nThe reactivation date must be on or after deactivation date"
deactivation:
deactivation:
during_deactivated_period:"The location is already deactivated during this date, please enter a different date"
soft_validations:
@ -381,7 +387,7 @@ en:
toggle_active:
apply_from:"When should this change apply?"
scheme:
deactivation:
toggle_active:
apply_from:"When should this change apply?"
descriptions:
location:
@ -397,19 +403,21 @@ en:
units:"A unit can be a bedroom in a shared house or flat, or a house with 4 bedrooms. Do not include bedrooms used for wardens, managers, volunteers or sleep-in staff."
toggle_active:"If the date is before %{date}, select ‘From the start of the current collection period’ because the previous period has now closed."
scheme:
deactivation:"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."
warnings:
location:
deactivate:
existing_logs:"It will not be possible to add logs with this location if their tenancy start date is on or after the date you enter. Any existing logs may be affected."
review_logs:"Your data providers will need to review these logs and answer a few questions again. We’ll email each log creator with a list of logs that need updating."
reactivate:
reactivate:
existing_logs:"You’ll be able to add logs with this location if their tenancy start date is on or after the date you enter."
scheme:
deactivation:
deactivate:
existing_logs:"It will not be possible to add logs with this scheme if their tenancy start date is on or after the date you enter. Any existing logs may be affected."
review_logs:"Your data providers will need to review these logs and answer a few questions again. We’ll email each log creator with a list of logs that need updating."
reactivate:
existing_logs:"You’ll be able to add logs with this scheme if their tenancy start date is on or after the date you enter."
test:
one_argument:"This is based on the tenant’s work situation: %{ecstat1}"