We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ce8799 + c670a03 commit b1493bdCopy full SHA for b1493bd
app/models/exporters/incident_recorder_exporter.rb
@@ -381,7 +381,8 @@ def number_primary_perpetrators_props
381
if from_ir.present?
382
calculated.present? && calculated > 1 ? calculated : from_ir
383
else
384
- calculated
+ default_text = I18n.t('exports.incident_recorder_xls.number_primary_perpetrators.more_than_three')
385
+ calculated > 3 ? default_text : calculated
386
end
387
388
config/locales/incident_recorder/en.yml
@@ -76,3 +76,6 @@ en:
76
protection_referral: "CHILD PROTECTION SERVICES / EDUCATION SERVICES"
77
consent: "CONSENT GIVEN"
78
agency_code: "REPORTING AGENCY CODE"
79
+ number_primary_perpetrators:
80
+ more_than_three: "More than 3"
81
+
0 commit comments