[
{
"id": "subject",
"other": "User scan report on {{serverName}}"
},
{
"id": "scan_description_section",
"other": "During user scan {{.scan_id}} started on {{unixToUTC .started}} finished on {{unixToUTC .completed}} "
},
{
"id": "total_scanned",
"other": "were scanned {{.total_resources}} files ",
"one": "was scanned {{.total_resources}} file ",
"pluralize_by": "total_resources"
},
{
"id": "malwares_detected",
"one": "{{.total_malicious}} malware was detected:\n{{range $k, $v := .malicious_files}}{{$v}}\n{{end}}",
"other": "{{.total_malicious}} malwares were detected:\n{{range $k, $v := .malicious_files}}{{$v}}\n{{end}}",
"pluralize_by": "total_malicious"
},
{
"id": "errors_section",
"other": "Next errors happened:\n{{.error}}"
}
]