richie icon indicating copy to clipboard operation
richie copied to clipboard

Share course by email can't change reference to Richie

Open igobranco opened this issue 3 years ago • 2 comments

Bug Report

Expected behavior/code A clear and concise description of what you expected to happen (or code). The mailto subject and message should include the name of the platform (FUN-MOOC, NAU, etc.) instead of reference Richie. The users don't understand what is Richie.

Actual Behavior The mailto link includes Richie.

Steps to Reproduce

  1. Open any course page
  2. Click on mail button
  3. The mailto has reference to Richie instead of the platform

Environment

  • Richie version: any
  • Platform: any

Possible Solution

Add new Django setting PLATFORM_NAME and use it when translating the mailto subject and body.

Additional context/Screenshots image

Our solution on NAU, was to force the translation of those strings and replace Richie to NAU on both en and pt-pt languages.

igobranco avatar Oct 19 '22 20:10 igobranco

If I'm not mistaken the idea was that it should be overriden via template override?

sampaccoud avatar Oct 19 '22 20:10 sampaccoud

Yes, it could be overridden using a template override. I saw that you have overide it on each of fun-richie-site-factory, but you override it on each to do exactly that, change the application name. On NAU I've changed the translation of that string, that is another approach to do exactly the same thing.

I suggest to add new Django setting PLATFORM_NAME, like what Open edX has, and to use it when translating the mailto subject and body. With that we no longer need to override that template (Fun solution) or forcefully change the translations (NAU solution).

igobranco avatar Oct 24 '22 11:10 igobranco