Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix translations #1515

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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,
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
Loading