Skip to content

Commit

Permalink
Arjun | add additional tx in french
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-Go committed Oct 11, 2024
1 parent 2611292 commit 8e7d6ff
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 83 deletions.
11 changes: 6 additions & 5 deletions src/__mocks__/translations.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const translations = {
loading: 'Loading',
LOGO_ALT_TEXT: 'Bahmni logo',
MAX_FILE_SIZE_MESSAGE: 'Maximum File size allowed: 5MB',
NO_MATCHING_TEXT_FOUND: 'No matching tests found',
NO_REPORTS_FOUND_TEXT: 'No previous reports found for this patient',
NO_TEST_SELECTED: 'You have not selected any tests',
PANEL_LABEL: 'Panel',
Expand All @@ -32,6 +33,7 @@ export const translations = {
PENDING_LAB_ORDERS_TEXT: 'Pending Lab Orders',
RECORD_CLINICAL_CONCLUSION_KEY: 'Click to record clinical conclusion',
REPORT_CONCLUSION_KEY: 'Report Conclusion',
REPORT_DATE_LABEL: 'Report date',
REPORTS_ANDLAB_TESTS_FETCH_ERROR:
'Something went wrong in fetching Report tables or Lab Tests...',
REPORTS_TABLE_TEXT: 'Reports table',
Expand All @@ -44,12 +46,11 @@ export const translations = {
SELECT_TESTS_LABEL: 'Select Tests',
SELECTED_TESTS_LABEL: 'Selected Tests',
UPLOAD_REPORT_TEXT: 'Upload Report',
REPORT_DATE_LABEL: 'Report date',
DATE_LABEL: 'Date',
TEST_LABEL: 'Test',
ORDERED_BY_LABEL: 'Ordered By',
ORDER_NOTES_LABEL: 'Order Notes',
TESTS_LABEL: 'Tests',
TEST_LABEL: 'Test',
FILE_LABEL: 'File',
REQUESTER_LABEL: 'Requester',
ORDERED_BY_LABEL: 'Ordered By',
ORDER_NOTES_LABEL: 'Order Notes',
DATE_LABEL: 'Date',
}
2 changes: 1 addition & 1 deletion src/patient-lab-dashboard/select-test/select-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const SelectTest = ({isDiscardButtonClicked}) => {
</>
)
}
return 'No matching tests found'
return t('NO_MATCHING_TEXT_FOUND', 'No matching tests found')
}

const renderSearchResults = () => {
Expand Down
12 changes: 3 additions & 9 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
"loading": "Loading",
"LOGO_ALT_TEXT": "Bahmni logo",
"MAX_FILE_SIZE_MESSAGE": "Maximum File size allowed: 5MB",
"NO_MATCHING_TEXT_FOUND": "No matching tests found",
"NO_REPORTS_FOUND_TEXT": "No previous reports found for this patient",
"NO_TEST_SELECTED": "You have not selected any tests",
"PANEL_LABEL": "Panel",
"PENDING_LAB_ORDERS_ERROR": "Something went wrong in fetching pending lab orders...",
"PENDING_LAB_ORDERS_TEXT": "Pending Lab Orders",
"RECORD_CLINICAL_CONCLUSION_KEY": "Click to record clinical conclusion",
"REPORT_CONCLUSION_KEY": "Report Conclusion",
"REPORT_DATE_LABEL": "Report Date",
"REPORTS_ANDLAB_TESTS_FETCH_ERROR": "Something went wrong in fetching Report tables or Lab Tests...",
"REPORTS_TABLE_TEXT": "Reports table",
"REQUESTED_BY": "Requested by",
Expand All @@ -40,13 +42,5 @@
"SELECT_DOCTOR": "Select a Doctor",
"SELECT_TESTS_LABEL": "Select Tests",
"SELECTED_TESTS_LABEL": "Selected Tests",
"UPLOAD_REPORT_TEXT": "Upload Report",
"REPORT_DATE_LABEL": "Report Date",
"DATE_LABEL": "Date",
"TEST_LABEL": "Test",
"ORDERED_BY_LABEL": "Ordered By",
"ORDER_NOTES_LABEL": "Order Notes",
"TESTS_LABEL": "Tests",
"FILE_LABEL": "File",
"REQUESTER_LABEL": "Requester"
"UPLOAD_REPORT_TEXT": "Upload Report"
}
12 changes: 3 additions & 9 deletions translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
"loading": "Cargando",
"LOGO_ALT_TEXT": "Logotipo de Bahmni",
"MAX_FILE_SIZE_MESSAGE": "Tamaño máximo de archivo permitido: 5MB",
"NO_MATCHING_TEXT_FOUND": "No se encontraron pruebas coincidentes",
"NO_REPORTS_FOUND_TEXT": "No se encontraron informes previos para este paciente",
"NO_TEST_SELECTED": "No ha seleccionado ninguna prueba",
"PANEL_LABEL": "Panel",
"PENDING_LAB_ORDERS_ERROR": "Algo salió mal al obtener las órdenes de laboratorio pendientes...",
"PENDING_LAB_ORDERS_TEXT": "Órdenes de laboratorio pendientes",
"RECORD_CLINICAL_CONCLUSION_KEY": "Haga clic para registrar la conclusión clínica",
"REPORT_CONCLUSION_KEY": "Conclusión del informe",
"REPORT_DATE_LABEL": "Fecha del informe",
"REPORTS_ANDLAB_TESTS_FETCH_ERROR": "Algo salió mal al obtener las tablas de informes o las pruebas de laboratorio...",
"REPORTS_TABLE_TEXT": "Tabla de informes",
"REQUESTED_BY": "Solicitado por",
Expand All @@ -40,13 +42,5 @@
"SELECT_DOCTOR": "Seleccionar un médico",
"SELECT_TESTS_LABEL": "Seleccionar pruebas",
"SELECTED_TESTS_LABEL": "Pruebas seleccionadas",
"UPLOAD_REPORT_TEXT": "Cargar informe",
"REPORT_DATE_LABEL": "Fecha del informe",
"DATE_LABEL": "Fecha",
"TEST_LABEL": "Prueba",
"ORDERED_BY_LABEL": "Ordenado por",
"ORDER_NOTES_LABEL": "Notas del pedido",
"TESTS_LABEL": "Pruebas",
"FILE_LABEL": "Archivo",
"REQUESTER_LABEL": "Solicitante"
"UPLOAD_REPORT_TEXT": "Cargar informe"
}
81 changes: 40 additions & 41 deletions translations/fr.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,53 @@
{
"ABNORMAL_TEXT": "Anormal",
"ADD_FILES_MESSAGE":
"Faites glisser et déposez les fichiers ici ou cliquez pour télécharger",
"ALLOWED_FILE_TYPES": "Extensions de fichiers autorisées : pdf, jpeg, jpg",
"AVAILABLE_TESTS_LABEL": "Tests disponibles",
"CLEAR_FILTER_TEXT": "Effacer le filtre",
"DISCARD_LABEL": "Rejeter",
"DOCTOR_LIST": "liste des médecins",
"DOCTOR_NAME_ERROR": "Une erreur s'est produite lors de la récupération des noms des médecins.. . ",
"DUPLICATE_ORDER_SUBTITLE": "Vous avez sélectionné des commandes en double. Veuillez sélectionner des commandes uniques.",
"DUPLICATE_ORDER_TITLE": "Commande en double",
{
"ABNORMAL_TEXT": "Anormal",
"ADD_FILES_MESSAGE": "Faites glisser et déposez les fichiers ici ou cliquez pour télécharger",
"ALLOWED_FILE_TYPES": "Extensions de fichiers autorisées\u00a0: pdf, jpeg, jpg",
"AVAILABLE_TESTS_LABEL": "Tests disponibles",
"CLEAR_FILTER_TEXT": "Effacer le filtre",
"DISCARD_LABEL": "Rejeter",
"DOCTOR_LIST": "liste des médecins",
"DOCTOR_NAME_ERROR": "Une erreur s'est produite lors de la récupération des noms des médecins.. . ",
"DUPLICATE_ORDER_SUBTITLE": "Vous avez sélectionné des commandes en double. Veuillez sélectionner des commandes uniques.",
"DUPLICATE_ORDER_TITLE": "Commande en double",
"ENTER_TEST_RESULTS_TEXT": "Entrez les résultats des tests",
"ENTER_VALUE_KEY": "Entrer une valeur",
"ERROR_MESSAGE_PRETEXT": "Une erreur s'est produite\u00a0:",
"FILE_FORMAT_ERROR": "Seuls les fichiers avec l'extension suivante autorisés : pdf, jpg",
"FILE_SIZE_ERROR": "La taille du fichier dépasse max limit (5mb)",
"HOME_BUTTON_LABEL": "Accueil",
"HOME_PAGE_SUBTITLE": "Veuillez cliquer sur l'icône de recherche ci-dessus pour commencer",
"HOME_PAGE_TITLE": "Bienvenue à l'entrée du laboratoire",
"INVALID_DATA_ENTERED": "Veuillez saisir des données valides",
"ITEMS_MATCHING_TEXT": "éléments correspondants",
"LAB_TEST_FETCH_ERROR": "Une erreur s'est produite lors de la récupération des tests de laboratoire",
"ENTER_VALUE_KEY": "Entrer une valeur",
"ERROR_MESSAGE_PRETEXT": "Une erreur s'est produite\u00a0:",
"FILE_FORMAT_ERROR": "Seuls les fichiers avec l'extension suivante autorisés\u00a0: pdf, jpg",
"FILE_SIZE_ERROR": "La taille du fichier dépasse max limit (5mb)",
"HOME_BUTTON_LABEL": "Accueil",
"HOME_PAGE_SUBTITLE": "Veuillez cliquer sur l'icône de recherche ci-dessus pour commencer",
"HOME_PAGE_TITLE": "Bienvenue à l'entrée du laboratoire",
"INVALID_DATA_ENTERED": "Veuillez saisir des données valides",
"ITEMS_MATCHING_TEXT": "éléments correspondants",
"LAB_TEST_FETCH_ERROR": "Une erreur s'est produite lors de la récupération des tests de laboratoire",
"loading": "Chargement",
"LOGO_ALT_TEXT": " Logo Bahmni",
"MAX_FILE_SIZE_MESSAGE": "Taille maximale du fichier autorisée : 5 Mo",
"MAX_FILE_SIZE_MESSAGE": "Taille maximale du fichier autorisée\u00a0: 5\u00a0Mo",
"NO_MATCHING_TEXT_FOUND": "Aucun test correspondant trouvé",
"NO_REPORTS_FOUND_TEXT": "Aucun rapport précédent n'a été trouvé pour ce patient",
"NO_TEST_SELECTED": "Vous n'avez sélectionné aucun test",
"NO_TEST_SELECTED": "Vous n'avez sélectionné aucun test",
"PANEL_LABEL": "Panneau",
"PENDING_LAB_ORDERS_ERROR": "Une erreur s'est produite lors de la récupération des commandes de laboratoire en attente...",
"PENDING_LAB_ORDERS_TEXT": "Commandes de laboratoire en attente",
"RECORD_CLINICAL_CONCLUSION_KEY": "Cliquez pour enregistrer la conclusion clinique",
"REPORT_CONCLUSION_KEY ": "Conclusion du rapport",
"REPORT_CONCLUSION_KEY": "Conclusión del informe",
"REPORT_DATE_LABEL": "Date du rapport",
"REPORTS_ANDLAB_TESTS_FETCH_ERROR": "Une erreur s'est produite lors de la récupération des tables de rapport ou des tests de laboratoire...",
"REPORTS_TABLE_TEXT": "Tableau des rapports",
"REQUESTED_BY": "Demandé par",
"SAVE_AND_UPLOAD_LABEL": "Enregistrer et télécharger",
"SEARCH_LABEL": "Rechercher",
"SEARCH_TEST_PLACEHOLDER": "Rechercher par nom de test de laboratoire",
"SELECT_ANSWER": "Sélectionner une réponse" ,
"SELECT_DOCTOR": " Sélectionnez un médecin",
"SELECT_TESTS_LABEL": "Sélectionner les tests",
"SELECTED_TESTS_LABEL": "Tests sélectionnés",
"REPORTS_TABLE_TEXT": "Tableau des rapports",
"REQUESTED_BY": "Demandé par",
"SAVE_AND_UPLOAD_LABEL": "Enregistrer et télécharger",
"SEARCH_LABEL": "Rechercher",
"SEARCH_TEST_PLACEHOLDER": "Rechercher par nom de test de laboratoire",
"SELECT_ANSWER": "Sélectionner une réponse",
"SELECT_DOCTOR": " Sélectionnez un médecin",
"SELECT_TESTS_LABEL": "Sélectionner les tests",
"SELECTED_TESTS_LABEL": "Tests sélectionnés",
"UPLOAD_REPORT_TEXT": "Télécharger le rapport",
"REPORT_DATE_LABEL": "Date du rapport",
"REPORT_CONCLUSION_KEY": "Conclusión del informe",
"DATE_LABEL": "Date",
"TEST_LABEL": "Test",
"ORDERED_BY_LABEL": "Commandé par",
"ORDER_NOTES_LABEL": "Notes de commande",
"TESTS_LABEL": "Tests",
"TEST_LABEL": "Test",
"FILE_LABEL": "Fichier",
"REQUESTER_LABEL": "Demandeur"
"REQUESTER_LABEL": "Demandeur",
"ORDERED_BY_LABEL": "Ordonné par",
"ORDER_NOTES_LABEL": "Notes de commande",
"DATE_LABEL": "Date"
}
12 changes: 3 additions & 9 deletions translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
"loading": "Caricamento",
"LOGO_ALT_TEXT": "Logo Bahmni",
"MAX_FILE_SIZE_MESSAGE": "Dimensione massima consentita per il file: 5 MB",
"NO_MATCHING_TEXT_FOUND": "Nessun test corrispondente trovato",
"NO_REPORTS_FOUND_TEXT": "Nessun report precedente trovato per questo paziente",
"NO_TEST_SELECTED": "Non hai selezionato alcun test",
"PANEL_LABEL": "Pannello",
"PENDING_LAB_ORDERS_ERROR": "Si è verificato un problema durante il recupero degli ordini di laboratorio in sospeso...",
"PENDING_LAB_ORDERS_TEXT": "Ordini di laboratorio in sospeso",
"RECORD_CLINICAL_CONCLUSION_KEY": "Fai clic per registrare la conclusione clinica",
"REPORT_CONCLUSION_KEY": "Conclusione del report",
"REPORT_DATE_LABEL": "Data del report",
"REPORTS_ANDLAB_TESTS_FETCH_ERROR": "Si è verificato un problema durante il recupero delle tabelle dei report o dei test di laboratorio...",
"REPORTS_TABLE_TEXT": "Tabella dei report",
"REQUESTED_BY": "Richiesto da",
Expand All @@ -40,13 +42,5 @@
"SELECT_DOCTOR": "Seleziona un medico",
"SELECT_TESTS_LABEL": "Seleziona test",
"SELECTED_TESTS_LABEL": "Test selezionati",
"UPLOAD_REPORT_TEXT": "Carica report",
"REPORT_DATE_LABEL": "Data del report",
"DATE_LABEL": "Data",
"TEST_LABEL": "Test",
"ORDERED_BY_LABEL": "Ordinato da",
"ORDER_NOTES_LABEL": "Note sull'ordine",
"TESTS_LABEL": "Test",
"FILE_LABEL": "File",
"REQUESTER_LABEL": "Richiedente"
"UPLOAD_REPORT_TEXT": "Carica report"
}
12 changes: 3 additions & 9 deletions translations/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
"loading": "Carregando",
"LOGO_ALT_TEXT": "Logotipo Bahmni",
"MAX_FILE_SIZE_MESSAGE": "Tamanho máximo de ficheiro permitido: 5MB",
"NO_MATCHING_TEXT_FOUND": "Nenhum teste correspondente encontrado",
"NO_REPORTS_FOUND_TEXT": "Não foi encontrado nenhum relatório anterior para este doente",
"NO_TEST_SELECTED": "Não selecionou nenhum teste",
"PANEL_LABEL": "Painel",
"PENDING_LAB_ORDERS_ERROR": "Algo correu mal ao procurar pedidos de laboratório pendentes...",
"PENDING_LAB_ORDERS_TEXT": "Pedidos de laboratório pendentes",
"RECORD_CLINICAL_CONCLUSION_KEY": "Clique para registar a conclusão clínica",
"REPORT_CONCLUSION_KEY": "Conclusão do Relatório",
"REPORT_DATE_LABEL": "Data do relatório",
"REPORTS_ANDLAB_TESTS_FETCH_ERROR": "Algo correu mal ao procurar tabelas de relatórios ou testes laboratoriais...",
"REPORTS_TABLE_TEXT": "Tabela de relatórios",
"REQUESTED_BY": "Solicitado por",
Expand All @@ -40,13 +42,5 @@
"SELECT_DOCTOR": "Selecione um médico",
"SELECT_TESTS_LABEL": "Selecionar testes",
"SELECTED_TESTS_LABEL": "Testes selecionados",
"UPLOAD_REPORT_TEXT": "Carregar relatório",
"REPORT_DATE_LABEL": "Data do relatório",
"DATE_LABEL": "Data",
"TEST_LABEL": "Teste",
"ORDERED_BY_LABEL": "Ordenado por",
"ORDER_NOTES_LABEL": "Notas de encomenda",
"TESTS_LABEL": "Testes",
"FILE_LABEL": "Ficheiro",
"REQUESTER_LABEL": "Solicitante"
"UPLOAD_REPORT_TEXT": "Carregar relatório"
}

0 comments on commit 8e7d6ff

Please sign in to comment.