apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
67 stars 72 forks source link

Strip remote page language suffix only on multilingual courses #1256

Closed ihalaij1 closed 12 months ago

ihalaij1 commented 1 year ago

Description

What?

Strip remote page language suffix only on multilingual courses.

Why?

The language suffix in remote page links should not be removed on single language courses, because it can break the links.

Fixes #1255

Testing

What type of test did you run?

Tested that CS-A1143 links work correctly now

Did you test the changes in

Translation

Programming style

Have you updated the README or other relevant documentation?

Is it Done?