Skip to content

Commit

Permalink
Fix wrong formatting i18n text inside Trans component
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Dec 19, 2024
1 parent 9b96c77 commit 4e4b9b8
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export const GroupGridFilerRow = (props: GroupGridFilerRowProps) => {
}
}}
>
<Radio.Button value={true}>{t('Yes')}</Radio.Button>
<Radio.Button value={false}>{t('No')}</Radio.Button>
<Radio.Button value={undefined}>{t('Show all')}</Radio.Button>
<Radio.Button value={true}>Yes</Radio.Button>
<Radio.Button value={false}>No</Radio.Button>
<Radio.Button value={undefined}>Show all</Radio.Button>
</Radio.Group>
</Space>
</Trans>
Expand All @@ -71,9 +71,9 @@ export const GroupGridFilerRow = (props: GroupGridFilerRowProps) => {
}
}}
>
<Radio.Button value={true}>{t('Active')}</Radio.Button>
<Radio.Button value={false}>{t('Inactive')}</Radio.Button>
<Radio.Button value={undefined}>{t('Show all')}</Radio.Button>
<Radio.Button value={true}>Active</Radio.Button>
<Radio.Button value={false}>Inactive</Radio.Button>
<Radio.Button value={undefined}>Show all</Radio.Button>
</Radio.Group>
</Space>
</Trans>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ export const UserList = (props: OrganizationListProps) => {
}
}}
>
<Radio.Button value={true}>{t('Enabled')}</Radio.Button>
<Radio.Button value={false}>{t('Disabled')}</Radio.Button>
<Radio.Button value={undefined}>{t('Show all')}</Radio.Button>
<Radio.Button value={true}>Enabled</Radio.Button>
<Radio.Button value={false}>Disabled</Radio.Button>
<Radio.Button value={undefined}>Show all</Radio.Button>
</Radio.Group>
</Space>
</Trans>
Expand Down
5 changes: 2 additions & 3 deletions packages/i18n/locales/eusm/fhir-group-management/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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')}</0><1>{t('No')}</1><2>{t('Show all')}</2></1></0>",
"attractiveFilter": "<0>Asset:<1><0>Yes</0><1>No</1><2>Show all</2></1></0>",
"Cancel": "Cancel",
"Commodity Id": "Product Id",
"Commodity List": "Product Catalogue",
Expand All @@ -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')}</0><1>{t('Inactive')}</1><2>{t('Show all')}</2></1></0>",
"groupStatusFilter": "<0>Status:<1><0>Active</0><1>Inactive</1><2>Show all</2></1></0>",
"Id": "Id",
"Identifier": "Identifier",
"Inactive": "Inactive",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/locales/eusm/fhir-group-management/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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')}</0><1>{t('Non')}</1><2>{t('Afficher tout')}</2></1></0>",
"attractiveFilter": "<0>Actif:<1><0>Oui</0><1>Non</1><2>Afficher tout</2></1></0>",
"Cancel": "Annuler",
"Commodity Id": "Produit Id",
"Commodity List": "Catalogue des Produits",
Expand All @@ -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')}</0><1>{t('Inactif')}</1><2>{t('Afficher tout')}</2></1></0>",
"groupStatusFilter": "<0>Statut:<1><0>Actif</0><1>Inactif</1><2>Afficher tout</2></1></0>",
"Id": "ID",
"Identifier": "Identifiant",
"Inactive": "Inactif",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"Group resource updated successfully": "Group resource updated successfully",
"Id": "Id",
"ID": "",
"keycloakUserStatusFilter": "<0>Status:<1><0>{t('Enabled')}</0><1>{t('Disabled')}</1><2>{t('Show all')}</2></1></0>",
"keycloakUserStatusFilter": "<0>Status:<1><0>Enabled</0><1>Disabled</1><2>Show all</2></1></0>",
"Last name": "Last name",
"Last Name": "Last Name",
"Leave": "Leave",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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é')}</0><1>{t('Désactivé')}</1><2>{t('Afficher tout')}</2></1></0>",
"keycloakUserStatusFilter": "<0>Statut:<1><0>Activé</0><1>Désactivé</1><2>Afficher tout</2></1></0>",
"Last name": "Nom",
"Last Name": "Nom",
"Leave": "Quitter",
Expand Down

0 comments on commit 4e4b9b8

Please sign in to comment.