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

Add-on validation message shows "foundlangfile" which is hard coded and should be a $string

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.5, 2.7.2, 2.8
    • Fix Version/s: 2.6.6, 2.7.3
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Install a plugin via the admin UI (either from the Plugins directory or from a ZIP file, does not matter)
      2. Make sure you have debugging level set to at least DEBUG_NORMAL
      3. TEST: At the plugin validation screen, make sure the debugging message reads "Found language file"
      Show
      Install a plugin via the admin UI (either from the Plugins directory or from a ZIP file, does not matter) Make sure you have debugging level set to at least DEBUG_NORMAL TEST: At the plugin validation screen, make sure the debugging message reads "Found language file"
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47883-master-foundlangfile

      Description

      Whenever a theme is added and validation of that new install takes place the DEBUG message when lang/en/theme_themename.php is found shows a hardcoded 'foundlangfile' which spoils the look of the list. Surely this should be a $string then the caption would say 'Found lang file'.

      MDL-46253 was raised as it was reported that the DEBUG was wrong and that it should be OK if it was correct.

        Attachments

          Activity

            People

            Assignee:
            mudrd8mz David Mudrák (@mudrd8mz)
            Reporter:
            lazydaisy Mary Evans
            Peer reviewer:
            Mary Evans
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            John Okely
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Nov/14