diff --git a/jsx/I18nSetup.js b/jsx/I18nSetup.js index 35bc3f18668..944dbaa9575 100644 --- a/jsx/I18nSetup.js +++ b/jsx/I18nSetup.js @@ -4,6 +4,7 @@ import {initReactI18next} from 'react-i18next'; import jaResources from '../locale/ja/LC_MESSAGES/loris.json'; import hiResources from '../locale/hi/LC_MESSAGES/loris.json'; import esResources from '../locale/es/LC_MESSAGES/loris.json'; +import frResources from '../locale/fr/LC_MESSAGES/loris.json'; import enResources from '../locale/en/LC_MESSAGES/loris.json'; const resources = { @@ -16,6 +17,9 @@ const resources = { es: { loris: esResources, }, + fr: { + loris: frResources, + }, en: { loris: enResources, }, diff --git a/locale/fr/LC_MESSAGES/loris.po b/locale/fr/LC_MESSAGES/loris.po new file mode 100644 index 00000000000..f4fd86d6afb --- /dev/null +++ b/locale/fr/LC_MESSAGES/loris.po @@ -0,0 +1,261 @@ +# Default LORIS strings to be translated (English). +# Copy this to a language specific file and add translations to the +# new file. +# Copyright (C) 2025 +# This file is distributed under the same license as the LORIS package. +# Dave MacFarlane , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: LORIS 27\n" +"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n" +"POT-Creation-Date: 2025-04-08 14:37-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +# Smarty template main.tpl strings +msgid "LORIS" +msgstr "LORIS" + +#msgid "DEV" +#msgstr "" + +#msgid "Affiliations" +#msgstr "" + +#msgid "Site Affiliation" +#msgstr "" + +#msgid "Site Affiliations" +#msgstr "" + +#msgid "Project Affiliation" +#msgstr "" + +#msgid "Project Affiliations" +#msgstr "" + +#msgid "Log Out" +#msgstr "" + +#msgid "My Preferences" +#msgstr "" + +# Auto extracted strings from PHP +# Menu categories +#: modules/configuration/php/module.class.inc:50 +#: modules/help_editor/php/module.class.inc:47 +#: modules/instrument_manager/php/module.class.inc:53 +#: modules/module_manager/php/module.class.inc:50 +#: modules/server_processes_manager/php/module.class.inc:104 +#: modules/survey_accounts/php/module.class.inc:48 +#: modules/user_accounts/php/module.class.inc:53 +#msgid "Admin" +#msgstr "" +#: modules/acknowledgements/php/module.class.inc:54 +#: modules/api_docs/php/module.class.inc:66 +#: modules/battery_manager/php/module.class.inc:55 +#: modules/datadict/php/module.class.inc:49 +#: modules/data_release/php/module.class.inc:56 +#: modules/dictionary/php/module.class.inc:49 +#msgid "Data Dictionary" +#msgstr "" + +#: modules/document_repository/php/module.class.inc:56 +#: modules/instrument_builder/php/module.class.inc:48 +#: modules/issue_tracker/php/module.class.inc:54 +#: modules/schedule_module/php/module.class.inc:49 +#msgid "Tools" +#msgstr "" + +#: modules/behavioural_qc/php/module.class.inc:51 +#: modules/conflict_resolver/php/module.class.inc:83 +#: modules/examiner/php/module.class.inc:50 +#: modules/media/php/module.class.inc:33 +#msgid "Clinical" +#msgstr "" + +#: modules/dicom_archive/php/module.class.inc:115 +#: modules/imaging_browser/php/module.class.inc:40 +#: modules/imaging_qc/php/module.class.inc:50 +#: modules/imaging_uploader/php/module.class.inc:54 +#: modules/mri_violations/php/module.class.inc:53 +#msgid "Imaging" +#msgstr "" + +#: modules/candidate_list/php/module.class.inc:76 +#: modules/new_profile/php/module.class.inc:50 +#msgid "Candidate" +#msgstr "" + +#: modules/genomic_browser/php/module.class.inc:53 +#msgid "Genomics" +#msgstr "" + +#: modules/electrophysiology_browser/php/module.class.inc:54 +#msgid "Electrophysiology" +#msgstr "" + +#: modules/dataquery/php/module.class.inc:33 +#: modules/dqt/php/module.class.inc:49 +#: modules/publication/php/module.class.inc:55 +#: modules/statistics/php/module.class.inc:49 +#msgid "Reports" +#msgstr "" + +# Common loris terms. Consider moving these to their own textdomain? +#msgid "TimePoint" +#msgstr "" + +# Common select option labels +#msgid "Yes" +#msgstr "" + +#msgid "No" +#msgstr "" + +# Common swal labels +#msgid "Cancel" +#msgstr "" + +#msgid "Success!" +#msgstr "" + +# Common candidate terms +#msgid "PSCID" +#msgstr "" + +#msgid "DCCID" +#msgstr "" + +#msgid "Visit Label" +#msgstr "" + +#msgid "Site" +#msgstr "" + +#msgid "Module" +#msgstr "" + +#msgid "Project" +#msgstr "" + +#msgid "Cohort" +#msgstr "" + +#msgid "Cohorts" +#msgstr "" + +#msgid "Session" +#msgstr "" + +#msgid "Date of registration" +#msgstr "" + +#msgid "Participant Status" +#msgstr "" + +#msgid "DoB" +#msgstr "" + +#msgid "Sex" +#msgstr "" + +#msgid "Feedback" +#msgstr "" + +#msgid "Scans" +#msgstr "" + +#msgid "Stage" +#msgstr "" + +#msgid "Sent To DCC" +#msgstr "" + +#msgid "Date of Birth" +#msgstr "" + +#msgid "Visits" +#msgstr "" + +#msgid "An error occured while loading the page." +#msgstr "" + +#msgid "Entity Type" +#msgstr "" + +#msgid "Scan Done" +#msgstr "" + +#msgid "Show Advanced Filters" +#msgstr "" + +#msgid "Hide Advanced Filters" +#msgstr "" + +#msgid "Language" +#msgstr "" + +# Data table strings +msgid "{{pageCount}} rows displayed of {{totalCount}}." +msgstr "{{pageCount}} lignes affichées sur {{totalCount}}" + +msgid "Maximum rows per page:" +msgstr "Lignes maximum par page:" + +msgid "Download Table as CSV" +msgstr "Télecharger le tableau en format CSV" + +# Dashboard panel strings +#msgid "Views" +#msgstr "" + +# Common strings on widgets +#msgid "NEW" +#msgstr "" + +#msgid "Updated" +#msgstr "" + +#msgid "Uploaded" +#msgstr "" + +#msgid "Total" +#msgstr "" + +# Common timepoint and vist terms +#msgid "Not Started" +#msgstr "" + +#msgid "Screening" +#msgstr "" + +#msgid "Visit" +#msgstr "" + +#msgid "Approval" +#msgstr "" + +#msgid "Subject" +#msgstr "" + +#msgid "Recycling Bin" +#msgstr "" + +#msgid "Pass" +#msgstr "" + +#msgid "Failure" +#msgstr "" + +#msgid "Withdrawal" +#msgstr "" + +#msgid "In Progress" +#msgstr ""