diff --git a/public/locales/actions/ar/translation.json b/public/locales/actions/ar/translation.json deleted file mode 100644 index e5bcee862f..0000000000 --- a/public/locales/actions/ar/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "تصحيح", - "save": "حفظ", - "cancel": "إلغاء", - "new": "الجديد", - "list": "قائمة" -} diff --git a/public/locales/actions/de/translation.json b/public/locales/actions/de/translation.json deleted file mode 100644 index 7a819ff973..0000000000 --- a/public/locales/actions/de/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "Bearbeiten", - "save": "speichern", - "cancel": "Stornieren", - "new": "Neu", - "list": "Liste" -} diff --git a/public/locales/actions/en/translation.json b/public/locales/actions/en/translation.json deleted file mode 100644 index fcc7553ea9..0000000000 --- a/public/locales/actions/en/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "Edit", - "save": "Save", - "cancel": "Cancel", - "new": "New", - "list": "List" -} diff --git a/public/locales/actions/es/translation.json b/public/locales/actions/es/translation.json deleted file mode 100644 index 633664e99e..0000000000 --- a/public/locales/actions/es/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "Editar", - "save": "Guardar", - "cancel": "Cancelar", - "new": "Nuevo", - "list": "Lista" -} diff --git a/public/locales/actions/in/translation.json b/public/locales/actions/in/translation.json deleted file mode 100644 index 586ac04aff..0000000000 --- a/public/locales/actions/in/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "Edit", - "save": "Menyimpan", - "cancel": "Membatalkan", - "new": "Baru", - "list": "Daftar" -} diff --git a/public/locales/actions/ja/translation.json b/public/locales/actions/ja/translation.json deleted file mode 100644 index e41a839268..0000000000 --- a/public/locales/actions/ja/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "編集", - "save": "セーブ", - "cancel": "キャンセル", - "new": "新しい", - "list": "リスト" -} diff --git a/public/locales/actions/pt/translation.json b/public/locales/actions/pt/translation.json deleted file mode 100644 index 56eeb99314..0000000000 --- a/public/locales/actions/pt/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "Editar", - "save": "Salvar", - "cancel": "Cancelar", - "new": "Novo", - "list": "Lista" -} diff --git a/public/locales/actions/ru/translation.json b/public/locales/actions/ru/translation.json deleted file mode 100644 index 94591a0714..0000000000 --- a/public/locales/actions/ru/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "редактировать", - "save": "Сохранить", - "cancel": "Отмена", - "new": "новый", - "list": "Список" -} diff --git a/public/locales/actions/zr/translation.json b/public/locales/actions/zr/translation.json deleted file mode 100644 index 3ada546c5a..0000000000 --- a/public/locales/actions/zr/translation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "edit": "编辑", - "save": "保存", - "cancel": "取消", - "new": "新", - "list": "清单" -} diff --git a/public/locales/dashboard/ar/translation.json b/public/locales/dashboard/ar/translation.json deleted file mode 100644 index af1ee256fa..0000000000 --- a/public/locales/dashboard/ar/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "لوحة القيادة" -} diff --git a/public/locales/dashboard/de/translation.json b/public/locales/dashboard/de/translation.json deleted file mode 100644 index 2a566bebe7..0000000000 --- a/public/locales/dashboard/de/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Dashboard" -} diff --git a/public/locales/dashboard/en/translation.json b/public/locales/dashboard/en/translation.json deleted file mode 100644 index 2a566bebe7..0000000000 --- a/public/locales/dashboard/en/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Dashboard" -} diff --git a/public/locales/dashboard/es/translation.json b/public/locales/dashboard/es/translation.json deleted file mode 100644 index 74b19e9afd..0000000000 --- a/public/locales/dashboard/es/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Panel" -} diff --git a/public/locales/dashboard/in/translation.json b/public/locales/dashboard/in/translation.json deleted file mode 100644 index 87c249706c..0000000000 --- a/public/locales/dashboard/in/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Dasbor" -} diff --git a/public/locales/dashboard/ja/translation.json b/public/locales/dashboard/ja/translation.json deleted file mode 100644 index e26d8ee732..0000000000 --- a/public/locales/dashboard/ja/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "ダッシュボード" -} diff --git a/public/locales/dashboard/pt/translation.json b/public/locales/dashboard/pt/translation.json deleted file mode 100644 index 5edfd74ff1..0000000000 --- a/public/locales/dashboard/pt/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Painel de controle" -} diff --git a/public/locales/dashboard/ru/translation.json b/public/locales/dashboard/ru/translation.json deleted file mode 100644 index 1c32f6ae61..0000000000 --- a/public/locales/dashboard/ru/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Панель приборов" -} diff --git a/public/locales/dashboard/zr/translation.json b/public/locales/dashboard/zr/translation.json deleted file mode 100644 index 1795b4304a..0000000000 --- a/public/locales/dashboard/zr/translation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "仪表板" -} diff --git a/public/locales/patient/ar/translation.json b/public/locales/patient/ar/translation.json deleted file mode 100644 index 33b8f58fd2..0000000000 --- a/public/locales/patient/ar/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "الاسم الاول", - "lastName": "الكنية" -} diff --git a/public/locales/patient/de/translation.json b/public/locales/patient/de/translation.json deleted file mode 100644 index 1858fa6833..0000000000 --- a/public/locales/patient/de/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "Vorname", - "lastName": "Nachname" -} diff --git a/public/locales/patient/en/translation.json b/public/locales/patient/en/translation.json deleted file mode 100644 index 6f283a5744..0000000000 --- a/public/locales/patient/en/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "First Name", - "lastName": "Last Name" -} diff --git a/public/locales/patient/es/translation.json b/public/locales/patient/es/translation.json deleted file mode 100644 index b7bb3e6700..0000000000 --- a/public/locales/patient/es/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "Nombre de pila", - "lastName": "Apellido" -} diff --git a/public/locales/patient/in/translation.json b/public/locales/patient/in/translation.json deleted file mode 100644 index b89af63dc6..0000000000 --- a/public/locales/patient/in/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "Nama depan", - "lastName": "Nama keluarga" -} diff --git a/public/locales/patient/ja/translation.json b/public/locales/patient/ja/translation.json deleted file mode 100644 index d94fc8c0e8..0000000000 --- a/public/locales/patient/ja/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "ファーストネーム", - "lastName": "苗字" -} diff --git a/public/locales/patient/pt/translation.json b/public/locales/patient/pt/translation.json deleted file mode 100644 index dfeb7b7e13..0000000000 --- a/public/locales/patient/pt/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "Primeiro nome", - "lastName": "Último nome" -} diff --git a/public/locales/patient/ru/translation.json b/public/locales/patient/ru/translation.json deleted file mode 100644 index 26c13923dc..0000000000 --- a/public/locales/patient/ru/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "Имя", - "lastName": "Фамилия" -} diff --git a/public/locales/patient/zr/translation.json b/public/locales/patient/zr/translation.json deleted file mode 100644 index 8b66532a55..0000000000 --- a/public/locales/patient/zr/translation.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "firstName": "名字", - "lastName": "姓" -} diff --git a/public/locales/patients/ar/translation.json b/public/locales/patients/ar/translation.json deleted file mode 100644 index 7dd89820c8..0000000000 --- a/public/locales/patients/ar/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "المرضى", - "viewPatients": "عرض المرضى", - "viewPatient": "عرض المريض", - "newPatient": "مريض جديد" -} diff --git a/public/locales/patients/de/translation.json b/public/locales/patients/de/translation.json deleted file mode 100644 index 62c68da4c1..0000000000 --- a/public/locales/patients/de/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "Patienten", - "viewPatients": "Patienten anzeigen", - "viewPatient": "Patient anzeigen", - "newPatient": "Neuer Patient" -} diff --git a/public/locales/patients/en/translation.json b/public/locales/patients/en/translation.json deleted file mode 100644 index c9463a6cdc..0000000000 --- a/public/locales/patients/en/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "Patients", - "viewPatients": "View Patients", - "viewPatient": "View Patient", - "newPatient": "New Patient" -} diff --git a/public/locales/patients/es/translation.json b/public/locales/patients/es/translation.json deleted file mode 100644 index 8cbb4fddce..0000000000 --- a/public/locales/patients/es/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "Pacientes", - "viewPatients": "Ver pacientes", - "viewPatient": "Ver pacientes", - "newPatient": "Nuevo paciente" -} diff --git a/public/locales/patients/in/translation.json b/public/locales/patients/in/translation.json deleted file mode 100644 index 55a9d45ccc..0000000000 --- a/public/locales/patients/in/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "Pasien", - "viewPatients": "Lihat Pasien", - "viewPatient": "Lihat Pasien", - "newPatient": "Pasien Baru" -} diff --git a/public/locales/patients/ja/translation.json b/public/locales/patients/ja/translation.json deleted file mode 100644 index 8e4213e99b..0000000000 --- a/public/locales/patients/ja/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "患者さん", - "viewPatients": "患者を見る", - "viewPatient": "患者を見る", - "newPatient": "新しい患者" -} diff --git a/public/locales/patients/pt/translation.json b/public/locales/patients/pt/translation.json deleted file mode 100644 index a5bfb4eb1e..0000000000 --- a/public/locales/patients/pt/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "Pacientes", - "viewPatients": "Exibir pacientes", - "viewPatient": "Ver paciente", - "newPatient": "Novo Paciente" -} diff --git a/public/locales/patients/ru/translation.json b/public/locales/patients/ru/translation.json deleted file mode 100644 index 05362dd37b..0000000000 --- a/public/locales/patients/ru/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "Пациенты", - "viewPatients": "Просмотр пациентов", - "viewPatient": "Просмотр пациента", - "newPatient": "Новый пациент" -} diff --git a/public/locales/patients/zr/translation.json b/public/locales/patients/zr/translation.json deleted file mode 100644 index d843cbfe4c..0000000000 --- a/public/locales/patients/zr/translation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "耐心", - "viewPatients": "查看患者", - "viewPatient": "查看患者", - "newPatient": "新病人" -} diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index c9c3d65ff3..e2eb081194 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -22,17 +22,17 @@ const Navbar = () => { }} navLinks={[ { - label: t('patients.label'), + label: t('patients.label', 'patients'), onClick: () => {}, children: [ { - label: t('actions.list'), + label: t('actions.list', 'list'), onClick: () => { history.push('/patients') }, }, { - label: t('actions.new'), + label: t('actions.new', 'new'), onClick: () => { history.push('/patients/new') }, diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index e02ae70d38..355b371846 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -12,7 +12,7 @@ const Sidebar = () => {