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 Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      28780

      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

        Activity

        Eloy Lafuente (stronk7) created issue -
        Eloy Lafuente (stronk7) made changes -
        Field Original Value New Value
        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_webserverdbdescription]]

        This causes that 3rd part auth plugins doesn't show the name nor the global description in Moodle.

        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 :-)
        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 :-)
        Eloy Lafuente (stronk7) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Assignee Petr Skoda [ skodak ] Eloy Lafuente (stronk7) [ stronk7 ]
        Eloy Lafuente (stronk7) made changes -
        Fix Version/s 1.8.3 [ 10230 ]
        Martin Dougiamas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        QA Assignee nobody
        Martin Dougiamas made changes -
        Workflow jira [ 21792 ] MDL Workflow [ 56690 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 56690 ] MDL Full Workflow [ 85825 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: