Skip to content

Commit

Permalink
fix: add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Oct 25, 2023
1 parent 5422ca2 commit bf2c17c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions apps/api/src/templates/all-records.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,14 @@
<thead>
<tr>
<th colspan="4"><%= translator("notes") %></th>
<th colspan="4"><%= translator("description") %></th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="4">
<%= slateDataToString(record.descriptionData) || record.notes || translator("none")
%>
<%= slateDataToString(record.descriptionData) || record.notes || "-" %>
</td>
</tr>
</tbody>
Expand All @@ -251,8 +250,7 @@
<tbody>
<tr>
<td colspan="4">
<%= record.violations.map((violation) =>
translator(violation.penalCode.title)).join(", ") %>
<%= record.violations.map((violation) => violation.penalCode.title).join(", ") %>
</td>
</tr>
</tbody>
Expand Down
3 changes: 2 additions & 1 deletion apps/client/locales/en/webhooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"citizenRecord": "Citizen Records",
"exportInformation": "Export Information",
"dateOfExport": "Date of export",
"records": "Records"
"records": "Records",
"type": "Type"
},
"WhitelistStatusChange": {
"accepted": "accepted",
Expand Down

0 comments on commit bf2c17c

Please sign in to comment.