Skip to content

[imaging_qc] Translate imaging_qc module (non-db translations only) - #10966

Merged
driusan merged 8 commits into
aces:29.0-releasefrom
HachemJ:TranslateImagingQcModule
Jul 23, 2026
Merged

[imaging_qc] Translate imaging_qc module (non-db translations only)#10966
driusan merged 8 commits into
aces:29.0-releasefrom
HachemJ:TranslateImagingQcModule

Conversation

@HachemJ

@HachemJ HachemJ commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Brief summary of changes

This PR translates the imaging_qc module in French. It only includes non-db translations (hardcoded in js and php files).

I figured it would be better to separate non-db from db for readability.

Note: I used AI for translations but double-checked them as a French speaker.

Link(s) to related issue(s)

@github-actions github-actions Bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code Module: imaging_qc PR or issue related to imaging_qc module Multilingual Any tasks related to making LORIS multilingual labels Jul 21, 2026
@HachemJ HachemJ added the 29.0.0 - Bugs Issues found during the release testing for 29.0.0 label Jul 21, 2026
@lapadulamichael lapadulamichael self-assigned this Jul 22, 2026
@lapadulamichael
lapadulamichael self-requested a review July 22, 2026 15:12
Comment thread modules/imaging_qc/locale/fr/LC_MESSAGES/imaging_qc.po Outdated
msgstr "Formulaire des paramètres d'IRM"

msgid "Scan Done in MRI PF"
msgstr "Scan effectuée dans le formulaire des paramètres d'IRM"

@lapadulamichael lapadulamichael Jul 22, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgstr "Scan effectuée dans le formulaire des paramètres d'IRM"
msgstr "Scan effectué dans le FP d'IRM"

There is a spelling error here. Also, I was wondering if we would maybe want to abbreviate it a lot like it's done in english? It would make it less readable (like the english version) but it would help with the visual aspect of it since its currently much larger then the others.
Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know honestly. @driusan any thoughts? I don't like the abbreviation in French but it is true that it's way too long on the frontend.

I would probably fix the spelling error only.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have any thoughts. Willing to go with whatever french speakers think is best. It is true that "PF" isn't very readable in English either and it would be consistent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest idk what PF stands for in the first place. The French translation might be wrong.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this context it's an abbreviation for "MRI Parameter Form" which was probably abbreviated for the same reason as being discussed of changing it in French.

It is not standard acronym in English either or afaik used anywhere other than here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I will go with the suggestion to be consistent.

@driusan driusan Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expanding it in English makes sense to me

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok it will need code adaptation. @lapadulamichael are you okay with that?

Comment thread modules/imaging_qc/locale/fr/LC_MESSAGES/imaging_qc.po Outdated

@lapadulamichael lapadulamichael left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translations look mostly good. A few corrections and maybe a change to abbreviate

@lapadulamichael lapadulamichael added the State: Needs work PR awaiting additional work by the author to proceed label Jul 22, 2026
@HachemJ
HachemJ force-pushed the TranslateImagingQcModule branch from fc5eda4 to 7f2641f Compare July 22, 2026 19:37
@HachemJ HachemJ removed the State: Needs work PR awaiting additional work by the author to proceed label Jul 22, 2026
@HachemJ HachemJ removed their assignment Jul 22, 2026
@HachemJ
HachemJ requested a review from lapadulamichael July 22, 2026 19:38

@lapadulamichael lapadulamichael left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lapadulamichael lapadulamichael added the Passed manual tests PR has been successfully tested by at least one peer label Jul 22, 2026
Comment thread modules/imaging_qc/locale/fr/LC_MESSAGES/imaging_qc.po Outdated
Comment thread modules/imaging_qc/locale/fr/LC_MESSAGES/imaging_qc.po Outdated
Comment thread modules/imaging_qc/locale/fr/LC_MESSAGES/imaging_qc.po Outdated
Comment thread modules/imaging_qc/locale/imaging_qc.pot Outdated
msgid "Scan Type"
msgstr ""

msgid "MRI Parameter Form"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little torn on this one. "MRI Parameter Form" refers to a specific instrument that's always used by convention.

Not sure if this belongs here or if it should try and get it from the instruments namespace, or maybe try to instantiate the instrument and call getFullName().

I think for now I'm fine with this being here since changing the code would be pretty significant.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will skip for now. I have a PR related to these instrument names currently under review https://github.com/aces/Loris/pull/10846/changes#diff-b9e7be736e00021feef06ca5965c6117e127ed6e0ea9f673d4967c7b253d83d8

Let me know what do you think.

Comment thread modules/imaging_qc/locale/imaging_qc.pot Outdated
@github-actions github-actions Bot added Module: statistics PR or issue related to statistics module Module: mri_violations PR or issue related to mri_violations module labels Jul 22, 2026
@HachemJ
HachemJ force-pushed the TranslateImagingQcModule branch from d29778a to 778981e Compare July 22, 2026 21:26
@github-actions github-actions Bot added Module: issue_tracker PR or issue related to issue tracker module Module: electrophysiology_browser PR or issue related to electrophysiology_browser module labels Jul 22, 2026
@github-actions github-actions Bot added Module: imaging_browser PR or issue related to imaging_browser module Module: media PR or issue related to media module Module: dicom_archive PR or issue related to dicom_archive module Module: document_repository PR or issue related to documen_repository module Module: electrophysiology_uploader PR or issue related to electrophysiology_uploader Module: imaging_uploader PR or issue related to imaging_uploader module labels Jul 22, 2026
@HachemJ
HachemJ force-pushed the TranslateImagingQcModule branch from b8fd2f8 to a7a9fd0 Compare July 22, 2026 21:37
@HachemJ
HachemJ force-pushed the TranslateImagingQcModule branch from 83f107e to 93ea2a8 Compare July 22, 2026 21:55
@HachemJ
HachemJ requested a review from driusan July 23, 2026 13:43
@driusan
driusan merged commit 0db58db into aces:29.0-release Jul 23, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

29.0.0 - Bugs Issues found during the release testing for 29.0.0 Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code Module: dicom_archive PR or issue related to dicom_archive module Module: document_repository PR or issue related to documen_repository module Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: electrophysiology_uploader PR or issue related to electrophysiology_uploader Module: imaging_browser PR or issue related to imaging_browser module Module: imaging_qc PR or issue related to imaging_qc module Module: imaging_uploader PR or issue related to imaging_uploader module Module: issue_tracker PR or issue related to issue tracker module Module: media PR or issue related to media module Module: mri_violations PR or issue related to mri_violations module Module: statistics PR or issue related to statistics module Multilingual Any tasks related to making LORIS multilingual Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants