From bf2c17cf1fba656021c75290f6e3e0a5f6af6d7c Mon Sep 17 00:00:00 2001 From: casperiv0 <53900565+casperiv0@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:30:27 +0200 Subject: [PATCH] fix: add missing translations --- apps/api/src/templates/all-records.ejs | 8 +++----- apps/client/locales/en/webhooks.json | 3 ++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/api/src/templates/all-records.ejs b/apps/api/src/templates/all-records.ejs index b13ce0265..7396a0dd7 100644 --- a/apps/api/src/templates/all-records.ejs +++ b/apps/api/src/templates/all-records.ejs @@ -229,15 +229,14 @@ - <%= translator("notes") %> + <%= translator("description") %> - <%= slateDataToString(record.descriptionData) || record.notes || translator("none") - %> + <%= slateDataToString(record.descriptionData) || record.notes || "-" %> @@ -251,8 +250,7 @@ - <%= record.violations.map((violation) => - translator(violation.penalCode.title)).join(", ") %> + <%= record.violations.map((violation) => violation.penalCode.title).join(", ") %> diff --git a/apps/client/locales/en/webhooks.json b/apps/client/locales/en/webhooks.json index 5d6994a8a..c23779c7a 100644 --- a/apps/client/locales/en/webhooks.json +++ b/apps/client/locales/en/webhooks.json @@ -83,7 +83,8 @@ "citizenRecord": "Citizen Records", "exportInformation": "Export Information", "dateOfExport": "Date of export", - "records": "Records" + "records": "Records", + "type": "Type" }, "WhitelistStatusChange": { "accepted": "accepted",