diff --git a/apps/client/locales/en/leo.json b/apps/client/locales/en/leo.json index c5746d5df..a9f5cb8fb 100644 --- a/apps/client/locales/en/leo.json +++ b/apps/client/locales/en/leo.json @@ -382,7 +382,10 @@ "motorway_sign_130": "Speed 130", "motorway_sign_140": "Speed 140", "motorway_sign_150": "Speed 150", - "arrestReportLogs": "Arrest report logs" + "arrestReportLogs": "Arrest report logs", + "all": "All", + "ungrouped": "Ungrouped", + "counts": "Counts" }, "Bolos": { "activeBolos": "Active Bolos", @@ -415,4 +418,3 @@ "noWeaponsPendingBof": "There are no weapons pending approval." } } - \ No newline at end of file diff --git a/apps/client/locales/en/values.json b/apps/client/locales/en/values.json index e3beaace1..a28cc2056 100644 --- a/apps/client/locales/en/values.json +++ b/apps/client/locales/en/values.json @@ -66,7 +66,15 @@ "importWeapons": "Import Weapons", "customCallsignTemplate": "Custom Callsign Template", "customCallsignTemplateDescription": "When set, it will use this template over the global callsign template. You can use the following variables: {variables}", - "category": "Category" + "category": "Category", + "addGroup": "Add Group", + "manageGroup": "Manage Group", + "INFRACTION": "INfraction", + "MISDEMEANOR": "Misdemeanor", + "FELONY": "Felony", + "warningApplicable": "Warning Applicable", + "warningNotApplicable": "Warning Not Applicable", + "isPrimary": "Is Primary" }, "PENAL_CODE_GROUP": { "MANAGE": "Manage Penal Code Groups", diff --git a/apps/client/src/components/admin/values/penal-codes/manage-penal-code-group-modal.tsx b/apps/client/src/components/admin/values/penal-codes/manage-penal-code-group-modal.tsx index c75b57b9e..39bd4b5dc 100644 --- a/apps/client/src/components/admin/values/penal-codes/manage-penal-code-group-modal.tsx +++ b/apps/client/src/components/admin/values/penal-codes/manage-penal-code-group-modal.tsx @@ -19,9 +19,10 @@ export function ManagePenalCodeGroup({ onCreate, onUpdate, onClose, group }: Pro const modalState = useModal(); const { state, execute } = useFetch(); const common = useTranslations("Common"); + const t = useTranslations("Values"); const footerTitle = group ? common("save") : common("create"); - const title = group ? "Manage Group" : "Add Group"; + const title = group ? t("manageGroup") : t("addGroup"); function handleClose() { modalState.closeModal(ModalIds.ManagePenalCodeGroup); @@ -72,14 +73,14 @@ export function ManagePenalCodeGroup({ onCreate, onUpdate, onClose, group }: Pro errorMessage={errors.name} autoFocus isRequired - label="Name" + label={common("name")} value={values.name} onChange={(value) => setFieldValue("name", value)} />