Submission page with french language pack

Bug #1951103 reported by Jonathan JUPIN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 22.04
21.04
High
Unassigned
21.10
High
Unassigned
22.04
High
Unassigned

Bug Description

Mahara 21.04
we tried in Linux and MacOs

When we install the french language pack, the submission page is blank and there is no error or log...

Submission page : mahara.xx/module/submissions/index.php?group=21

We saw it's because of "module.submissions.php", but we dont understand the problem.

Thank you

Jonathan

Changed in mahara:
status: New → In Progress
importance: Undecided → High
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "main" branch: https://reviews.mahara.org/12249

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Jonathan. Robert figured it out: The JavaScript in the template file theme/raw/plugintype/module/submissions/templates/index.tpl on line 741 used a single quote which would have to result in the escaping of the escaped backslash in the language string with the ID 'releasesubmission'. So we are fixing that up (patch for 'main' for review is at https://reviews.mahara.org/#/c/12249 and once approved will be backported to 21.04.

We think this to be a better fix than to require translators to use the following for the string:

$string['releasesubmission'] = 'Terminer l\\\'évaluation et déverrouiller le portfolio envoyé ?';

So if you want to apply the fix to your 21.04 instance and not wait until the next minor point release is out, please give it a go.

Thank you
Kristina

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

To test:

1. Make sure the 'Submissions' plugin is not hidden.
2. Create a group and allow submissions.
3. As group member, submit a portfolio to the group. This step is technically not required, but it's good to check that everything is displayed on the page.
4. Install the French language pack and switch your language to French.
5. As group admin, go to the 'Submissions' tab in the group.

Results:
- Expected: The 'Quick filter' part is available and the submitted portfolio is displayed.
- Actual result without the patch: The 'Quick filter' part is missing and the submitted portfolio is not displayed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers