Moodle

Hunt down and convert all hardcoded English strings in the source to use lang pack

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8
  • Component/s: MNet
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

Hunt down and convert all hardcoded English strings in the source to use lang pack, otherwise people can't translate them.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

This is one is a pretty critical breach of the coding guidelines, I'm running into heaps of them.

Basically the mnet strings need to be in the language pack mnet.php and you use either get_string() for normal usage or errorcode() when it's an error.

Show
Martin Dougiamas added a comment - This is one is a pretty critical breach of the coding guidelines, I'm running into heaps of them. Basically the mnet strings need to be in the language pack mnet.php and you use either get_string() for normal usage or errorcode() when it's an error.
Hide
Donal McMullan added a comment -

I've hunted down and replaced all the hardcoded strings I can find in the MNet and Auth sections. Please reopen this if you encounter any escapees, and note the offending file and section.

Thanks

Donal

Show
Donal McMullan added a comment - I've hunted down and replaced all the hardcoded strings I can find in the MNet and Auth sections. Please reopen this if you encounter any escapees, and note the offending file and section. Thanks Donal

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: