diff --git a/packages/fhir-group-management/src/components/CommodityList/Eusm/GroupGridFilterRow.tsx b/packages/fhir-group-management/src/components/CommodityList/Eusm/GroupGridFilterRow.tsx index c3f1a3f12..698e5fc44 100644 --- a/packages/fhir-group-management/src/components/CommodityList/Eusm/GroupGridFilterRow.tsx +++ b/packages/fhir-group-management/src/components/CommodityList/Eusm/GroupGridFilterRow.tsx @@ -43,9 +43,9 @@ export const GroupGridFilerRow = (props: GroupGridFilerRowProps) => { } }} > - {t('Yes')} - {t('No')} - {t('Show all')} + Yes + No + Show all @@ -71,9 +71,9 @@ export const GroupGridFilerRow = (props: GroupGridFilerRowProps) => { } }} > - {t('Active')} - {t('Inactive')} - {t('Show all')} + Active + Inactive + Show all diff --git a/packages/fhir-import/src/containers/StartImportView/index.tsx b/packages/fhir-import/src/containers/StartImportView/index.tsx index 620c79de9..12a9c58a2 100644 --- a/packages/fhir-import/src/containers/StartImportView/index.tsx +++ b/packages/fhir-import/src/containers/StartImportView/index.tsx @@ -4,9 +4,11 @@ import { ImporterFormInstructions } from './formInstructions'; import { BodyLayout } from '@opensrp/react-utils'; import { Row, Col } from 'antd'; import { DataImportForm } from './form'; +import { useTranslation } from '../../mls'; export const StartDataImport = () => { - const pageTitle = 'Data imports'; + const { t } = useTranslation(); + const pageTitle = t('Data imports'); const headerProps = { pageHeaderProps: { title: pageTitle, diff --git a/packages/fhir-keycloak-user-management/src/components/UserList/ListView/index.tsx b/packages/fhir-keycloak-user-management/src/components/UserList/ListView/index.tsx index 764692b15..5e0b46b4d 100644 --- a/packages/fhir-keycloak-user-management/src/components/UserList/ListView/index.tsx +++ b/packages/fhir-keycloak-user-management/src/components/UserList/ListView/index.tsx @@ -148,9 +148,9 @@ export const UserList = (props: OrganizationListProps) => { } }} > - {t('Enabled')} - {t('Disabled')} - {t('Show all')} + Enabled + Disabled + Show all diff --git a/packages/i18n/locales/eusm/fhir-group-management/en.json b/packages/i18n/locales/eusm/fhir-group-management/en.json index 44d54e88b..c39f8a056 100644 --- a/packages/i18n/locales/eusm/fhir-group-management/en.json +++ b/packages/i18n/locales/eusm/fhir-group-management/en.json @@ -11,7 +11,7 @@ "Add Group": "Add Group", "Add Service Point Inventory": "", "Are you sure you want to delete this commodity?": "Are you sure you want to delete this product?", - "attractiveFilter": "<0>Asset:<1><0>{t('Yes')}<1>{t('No')}<2>{t('Show all')}", + "attractiveFilter": "<0>Asset:<1><0>Yes<1>No<2>Show all", "Cancel": "Cancel", "Commodity Id": "Product Id", "Commodity List": "Product Catalogue", @@ -36,7 +36,7 @@ "Failed to refresh data, please refresh the page": "Failed to refresh data, please refresh the page", "File must be smaller than 5MB!": "", "Groups List": "Groups List", - "groupStatusFilter": "<0>Status:<1><0>{t('Active')}<1>{t('Inactive')}<2>{t('Show all')}", + "groupStatusFilter": "<0>Status:<1><0>Active<1>Inactive<2>Show all", "Id": "Id", "Identifier": "Identifier", "Inactive": "Inactive", @@ -77,7 +77,6 @@ "Select UNICEF section": "Select UNICEF section", "Serial number": "Serial number", "Serial number is required": "Serial number is required", - "Show all": "", "Successfully deleted commodity": "Successfully deleted product", "type": "type", "Type": "Type", diff --git a/packages/i18n/locales/eusm/fhir-group-management/fr.json b/packages/i18n/locales/eusm/fhir-group-management/fr.json index 633a69ffb..ac1d70452 100644 --- a/packages/i18n/locales/eusm/fhir-group-management/fr.json +++ b/packages/i18n/locales/eusm/fhir-group-management/fr.json @@ -11,7 +11,7 @@ "Add Group": "Ajout d'un groupe", "Add Service Point Inventory": "Ajouter un inventaire des points de service", "Are you sure you want to delete this commodity?": "Êtes-vous sûr de vouloir supprimer ce produit ?", - "attractiveFilter": "<0>Actif:<1><0>{t('Oui')}<1>{t('Non')}<2>{t('Afficher tout')}", + "attractiveFilter": "<0>Actif:<1><0>Oui<1>Non<2>Afficher tout", "Cancel": "Annuler", "Commodity Id": "Produit Id", "Commodity List": "Catalogue des Produits", @@ -36,7 +36,7 @@ "Failed to refresh data, please refresh the page": "Échec de l'actualisation des données, veuillez actualiser la page.", "File must be smaller than 5MB!": "File must be smaller than 5MB!", "Groups List": "Liste des groupes", - "groupStatusFilter": "<0>Statut:<1><0>{t('Actif')}<1>{t('Inactif')}<2>{t('Afficher tout')}", + "groupStatusFilter": "<0>Statut:<1><0>Actif<1>Inactif<2>Afficher tout", "Id": "ID", "Identifier": "Identifiant", "Inactive": "Inactif", diff --git a/packages/i18n/locales/eusm/fhir-keycloak-user-management/en.json b/packages/i18n/locales/eusm/fhir-keycloak-user-management/en.json index 5c7449e2f..546af0033 100644 --- a/packages/i18n/locales/eusm/fhir-keycloak-user-management/en.json +++ b/packages/i18n/locales/eusm/fhir-keycloak-user-management/en.json @@ -38,7 +38,7 @@ "Group resource updated successfully": "Group resource updated successfully", "Id": "Id", "ID": "", - "keycloakUserStatusFilter": "<0>Status:<1><0>{t('Enabled')}<1>{t('Disabled')}<2>{t('Show all')}", + "keycloakUserStatusFilter": "<0>Status:<1><0>Enabled<1>Disabled<2>Show all", "Last name": "Last name", "Last Name": "Last Name", "Leave": "Leave", diff --git a/packages/i18n/locales/eusm/fhir-keycloak-user-management/fr.json b/packages/i18n/locales/eusm/fhir-keycloak-user-management/fr.json index d27918ff5..bb5917071 100644 --- a/packages/i18n/locales/eusm/fhir-keycloak-user-management/fr.json +++ b/packages/i18n/locales/eusm/fhir-keycloak-user-management/fr.json @@ -38,7 +38,7 @@ "Group resource updated successfully": "La ressource du groupe a été mise à jour avec succès", "Id": "ID", "ID": "ID", - "keycloakUserStatusFilter": "<0>Statut:<1><0>{t('Activé')}<1>{t('Désactivé')}<2>{t('Afficher tout')}", + "keycloakUserStatusFilter": "<0>Statut:<1><0>Activé<1>Désactivé<2>Afficher tout", "Last name": "Nom", "Last Name": "Nom", "Leave": "Quitter",