Skip to content

Commit 8d7d91e

Browse files
authored
[Fr] Add translation strings for new_profile, candidate_profile, instrument_list, and timepoint_list (#10117)
Add more translation strings from @charliehenrib
1 parent 51b9f36 commit 8d7d91e

File tree

6 files changed

+234
-0
lines changed

6 files changed

+234
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ locales:
7474
msgfmt -o locale/es/LC_MESSAGES/loris.mo locale/es/LC_MESSAGES/loris.po
7575
npx i18next-conv -l es -s locale/es/LC_MESSAGES/loris.po -t locale/es/LC_MESSAGES/loris.json --compatibilityJSON v4
7676
msgfmt -o modules/new_profile/locale/ja/LC_MESSAGES/new_profile.mo modules/new_profile/locale/ja/LC_MESSAGES/new_profile.po
77+
msgfmt -o modules/new_profile/locale/fr/LC_MESSAGES/new_profile.mo modules/new_profile/locale/fr/LC_MESSAGES/new_profile.po
7778
npx i18next-conv -l ja -s modules/new_profile/locale/ja/LC_MESSAGES/new_profile.po -t modules/new_profile/locale/ja/LC_MESSAGES/new_profile.json
79+
npx i18next-conv -l fr -s modules/new_profile/locale/fr/LC_MESSAGES/new_profile.po -t modules/new_profile/locale/fr/LC_MESSAGES/new_profile.json
7880
msgfmt -o modules/new_profile/locale/hi/LC_MESSAGES/new_profile.mo modules/new_profile/locale/hi/LC_MESSAGES/new_profile.po
7981
npx i18next-conv -l hi -s modules/new_profile/locale/hi/LC_MESSAGES/new_profile.po -t modules/new_profile/locale/hi/LC_MESSAGES/new_profile.json
8082
msgfmt -o modules/new_profile/locale/es/LC_MESSAGES/new_profile.mo modules/new_profile/locale/es/LC_MESSAGES/new_profile.po
@@ -93,6 +95,7 @@ locales:
9395
msgfmt -o modules/candidate_parameters/locale/ja/LC_MESSAGES/candidate_parameters.mo modules/candidate_parameters/locale/ja/LC_MESSAGES/candidate_parameters.po
9496
npx i18next-conv -l ja -s modules/candidate_parameters/locale/ja/LC_MESSAGES/candidate_parameters.po -t modules/candidate_parameters/locale/ja/LC_MESSAGES/candidate_parameters.json
9597
msgfmt -o modules/candidate_profile/locale/ja/LC_MESSAGES/candidate_profile.mo modules/candidate_profile/locale/ja/LC_MESSAGES/candidate_profile.po
98+
msgfmt -o modules/candidate_profile/locale/fr/LC_MESSAGES/candidate_profile.mo modules/candidate_profile/locale/fr/LC_MESSAGES/candidate_profile.po
9699
msgfmt -o modules/configuration/locale/ja/LC_MESSAGES/configuration.mo modules/configuration/locale/ja/LC_MESSAGES/configuration.po
97100
msgfmt -o modules/configuration/locale/ja/LC_MESSAGES/configuration.mo modules/configuration/locale/ja/LC_MESSAGES/configuration.po
98101
msgfmt -o modules/conflict_resolver/locale/ja/LC_MESSAGES/conflict_resolver.mo modules/conflict_resolver/locale/ja/LC_MESSAGES/conflict_resolver.po
@@ -130,6 +133,7 @@ locales:
130133
msgfmt -o modules/instrument_builder/locale/ja/LC_MESSAGES/instrument_builder.mo modules/instrument_builder/locale/ja/LC_MESSAGES/instrument_builder.po
131134
msgfmt -o modules/instrument_list/locale/ja/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/ja/LC_MESSAGES/instrument_list.po
132135
msgfmt -o modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.po
136+
msgfmt -o modules/instrument_list/locale/fr/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/fr/LC_MESSAGES/instrument_list.po
133137
msgfmt -o modules/instrument_manager/locale/ja/LC_MESSAGES/instrument_manager.mo modules/instrument_manager/locale/ja/LC_MESSAGES/instrument_manager.po
134138
msgfmt -o modules/instruments/locale/ja/LC_MESSAGES/instruments.mo modules/instruments/locale/ja/LC_MESSAGES/instruments.po
135139
npx i18next-conv -l ja -s modules/instruments/locale/ja/LC_MESSAGES/instruments.po -t modules/instruments/locale/ja/LC_MESSAGES/instruments.json --compatibilityJSON v4
@@ -155,6 +159,7 @@ locales:
155159
msgfmt -o modules/survey_accounts/locale/ja/LC_MESSAGES/survey_accounts.mo modules/survey_accounts/locale/ja/LC_MESSAGES/survey_accounts.po
156160
msgfmt -o modules/timepoint_list/locale/ja/LC_MESSAGES/timepoint_list.mo modules/timepoint_list/locale/ja/LC_MESSAGES/timepoint_list.po
157161
msgfmt -o modules/timepoint_list/locale/es/LC_MESSAGES/timepoint_list.mo modules/timepoint_list/locale/es/LC_MESSAGES/timepoint_list.po
162+
msgfmt -o modules/timepoint_list/locale/fr/LC_MESSAGES/timepoint_list.mo modules/timepoint_list/locale/fr/LC_MESSAGES/timepoint_list.po
158163
msgfmt -o modules/user_accounts/locale/ja/LC_MESSAGES/user_accounts.mo modules/user_accounts/locale/ja/LC_MESSAGES/user_accounts.po
159164
msgfmt -o modules/user_accounts/locale/hi/LC_MESSAGES/user_accounts.mo modules/user_accounts/locale/hi/LC_MESSAGES/user_accounts.po
160165
npx i18next-conv -l hi -s modules/user_accounts/locale/hi/LC_MESSAGES/user_accounts.po -t modules/user_accounts/locale/hi/LC_MESSAGES/user_accounts.json --compatibilityJSON v4
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Default LORIS strings to be translated (English).
2+
# Copy this to a language specific file and add translations to the
3+
# new file.
4+
# Copyright (C) 2025
5+
# This file is distributed under the same license as the LORIS package.
6+
# Dave MacFarlane <[email protected]>, 2025.
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: LORIS 27\n"
11+
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
12+
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
13+
"PO-Revision-Date: 2025-11-04 19:56-0500\n"
14+
"Last-Translator: \n"
15+
"Language-Team: \n"
16+
"Language: fr\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"X-Generator: Poedit 3.8\n"
21+
22+
msgid "Candidate Profile"
23+
msgstr "Profil du candidat"
24+
25+
# could use “infos” to be shorter like we do with the english version
26+
#, fuzzy
27+
msgid "Candidate Info"
28+
msgstr "Informations sur le candidat"
29+
30+
msgid "Candidate Dashboard"
31+
msgstr "Tableau de bord du candidat"
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Default LORIS strings to be translated (English).
2+
# Copy this to a language specific file and add translations to the
3+
# new file.
4+
# Copyright (C) 2025
5+
# This file is distributed under the same license as the LORIS package.
6+
# Dave MacFarlane <[email protected]>, 2025.
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: LORIS 27\n"
11+
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
12+
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
13+
"PO-Revision-Date: 2025-11-04 20:02-0500\n"
14+
"Last-Translator: \n"
15+
"Language-Team: \n"
16+
"Language: fr\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"X-Generator: Poedit 3.8\n"
21+
22+
msgid "Instrument List"
23+
msgstr "Liste des instruments"
24+
25+
msgid "Visit to Site"
26+
msgstr "Visite du site"
27+
28+
#, fuzzy
29+
msgid "Within Optimal"
30+
msgstr "Dans Optimal"
31+
32+
msgid "Within Permitted"
33+
msgstr "Dans les limites autorisées"
34+
35+
msgid "Behavioural Battery of Instruments"
36+
msgstr "Batterie d'instruments comportementaux"
37+
38+
msgid "The battery has no registered instruments"
39+
msgstr "Aucun instrument n'est enregistré pour la batterie."
40+
41+
msgid "View Imaging data"
42+
msgstr "Afficher les données d'imagerie"
43+
44+
msgid "Send TimePoint"
45+
msgstr "Envoyer le temps d'acquisition"
46+
47+
msgid "No actions"
48+
msgstr "Aucune action"
49+
50+
msgid "Stage: %s"
51+
msgstr "Stade: %s"
52+
53+
msgid "Start %s Stage"
54+
msgstr "Démarrer %s Stade"

modules/new_profile/jsx/NewProfileIndex.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {withTranslation} from 'react-i18next';
1919
import hiStrings from '../locale/hi/LC_MESSAGES/new_profile.json';
2020
import jaStrings from '../locale/ja/LC_MESSAGES/new_profile.json';
2121
import esStrings from '../locale/es/LC_MESSAGES/new_profile.json';
22+
import frStrings from '../locale/fr/LC_MESSAGES/new_profile.json';
2223

2324
/**
2425
* New Profile Form
@@ -396,6 +397,7 @@ window.addEventListener('load', () => {
396397
i18n.addResourceBundle('hi', 'new_profile', hiStrings);
397398
i18n.addResourceBundle('ja', 'new_profile', jaStrings);
398399
i18n.addResourceBundle('es', 'new_profile', esStrings);
400+
i18n.addResourceBundle('fr', 'new_profile', frStrings);
399401

400402
const NPIndex = withTranslation(['new_profile'])(NewProfileIndex);
401403
createRoot(
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Default LORIS strings to be translated (English).
2+
# Copy this to a language specific file and add translations to the
3+
# new file.
4+
# Copyright (C) 2025
5+
# This file is distributed under the same license as the LORIS package.
6+
# Dave MacFarlane <[email protected]>, 2025.
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: LORIS 27\n"
11+
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
12+
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
13+
"PO-Revision-Date: 2025-11-04 19:54-0500\n"
14+
"Last-Translator: \n"
15+
"Language-Team: \n"
16+
"Language: fr\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"X-Generator: Poedit 3.8\n"
21+
22+
#: modules/new_profile/php/module.class.inc:60
23+
msgid "New Profile"
24+
msgstr "Nouveau profil"
25+
26+
msgid "Create a New Profile"
27+
msgstr "Créer un nouveau profil"
28+
29+
msgid "Date of Birth Confirm"
30+
msgstr "Confirmation de la date de naissance"
31+
32+
msgid "Date of Birth fields must match"
33+
msgstr "Les champs « Date de naissance » doivent être identiques."
34+
35+
msgid "EDC fields must match"
36+
msgstr "Les champs DPA doivent correspondre"
37+
38+
msgid "New Candidate Created"
39+
msgstr "Nouveau candidat créé"
40+
41+
msgid "Expected Date of Confinement"
42+
msgstr "Date prévue de l'accouchement"
43+
44+
msgid "Confirm EDC"
45+
msgstr "Confirmer DPA"
46+
47+
msgid "Recruit another candidate"
48+
msgstr "Recruter un autre candidat"
49+
50+
msgid "Access Profile"
51+
msgstr "Accéder au profil"
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Default LORIS strings to be translated (English).
2+
# Copy this to a language specific file and add translations to the
3+
# new file.
4+
# Copyright (C) 2025
5+
# This file is distributed under the same license as the LORIS package.
6+
# Dave MacFarlane <[email protected]>, 2025.
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: LORIS 27\n"
11+
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
12+
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
13+
"PO-Revision-Date: 2025-11-04 20:09-0500\n"
14+
"Last-Translator: \n"
15+
"Language-Team: \n"
16+
"Language: fr\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"X-Generator: Poedit 3.8\n"
21+
22+
msgid "Timepoint List"
23+
msgstr "Liste des temps d'acquisition"
24+
25+
msgid "Click to Open"
26+
msgstr "Cliquez pour ouvrir"
27+
28+
#, fuzzy
29+
msgid "Stage Status"
30+
msgstr "Statue du stade"
31+
32+
#, fuzzy
33+
msgid "Date of Stage"
34+
msgstr "Date du stade"
35+
36+
msgid "Imaging Scan Done"
37+
msgstr "Scan d'imagerie complété"
38+
39+
msgid "BVL QC"
40+
msgstr "CQ comportemental"
41+
42+
msgid "BVL Exclusion"
43+
msgstr "Exclusion comportementale"
44+
45+
msgid "Registered By"
46+
msgstr "Enregistré par"
47+
48+
msgid "List of Visits (Time Points)"
49+
msgstr "Liste des visites (temps d'acquisition)"
50+
51+
msgid "Create time point"
52+
msgstr "Créer un temps d'acquisition"
53+
54+
msgid "Candidate Info"
55+
msgstr "Informations sur le candidat"
56+
57+
msgid "View Imaging datasets"
58+
msgstr "Afficher les ensembles de données d'imagerie"
59+
60+
msgid "Actions:"
61+
msgstr "Actions:"
62+
63+
msgid "Derived Age"
64+
msgstr "Âge dérivé"
65+
66+
msgid "EDC Age"
67+
msgstr "Âge DPA"
68+
69+
msgid "Biological Sex"
70+
msgstr "Sexe biologique"
71+
72+
msgid "You do not have access to any timepoints registered for this candidate."
73+
msgstr "Vous n'avez pas accès aux temps d'acquisitions enregistrés pour ce candidat."
74+
75+
msgid " y / "
76+
msgstr " y / "
77+
78+
msgid " m"
79+
msgstr " m"
80+
81+
msgid "Not Done"
82+
msgstr "Non réalisé"
83+
84+
msgid "Visual"
85+
msgstr "Visuel"
86+
87+
msgid "Hardcopy"
88+
msgstr "copie papier"
89+
90+
msgid "Complete"
91+
msgstr "Compléter"

0 commit comments

Comments
 (0)