Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-10694

Move some auth_XXX strings from the central auth.php lang file to each one auth_XXX.php lang files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3, 1.9
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Since Moodle 1.8 is possible to have one lang dir for each auth plugin. That makes easy to distribute self-contained auth plugins.

      But some strings in the admin->auth page are being retrieved from the central auth.php lang file. Those strings are:

      [[auth_XXXXXXXtitle]] and [[auth_XXXXdescription]]

      This causes that 3rd part auth plugins doesn't show the name nor the global description in Moodle (so they aren't 100% auto contained).

      IMO we should move those strings from the central auth.php file to a collection of auth_XXXX.php files and look for them there.

      It can be easily done in 1/2 hour of work. If so, please assign it to me and I'll do that for 1.9 (backporting to 1.8 if you consider it necessary).

      Ciao

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Done. Both under 18_STABLE and HEAD. Now the title and the description of the plugin
            can be present in each auth_XXX lang file, for better integration.

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Done. Both under 18_STABLE and HEAD. Now the title and the description of the plugin can be present in each auth_XXX lang file, for better integration.

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Oct/07