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

Add translation string token to "Error output, so disabling automatic redirect"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.4, 2.8.2
    • Fix Version/s: 2.9
    • Component/s: Language
    • Labels:
    • Testing Instructions:
      Hide
      1. Add some minor php mis coding error that can generate a warning before a redirect function call. For example: Add "$deleteme = get_string('nooooooo');" just after the line starting with: "$CFG->additionalhtmlhead" on the login/index.php page.
      2. Turn Debugging on (developer mode) and turn Display debugging on too.
      3. Login into Moodle
      4. If you are viewing Moodle using an English UI, You should be seeing the same error message, but after this issue is accepted and local language translators start translating this string token, You should be seeing the error message translation in your own language.
      Show
      Add some minor php mis coding error that can generate a warning before a redirect function call. For example: Add "$deleteme = get_string('nooooooo');" just after the line starting with: "$CFG->additionalhtmlhead" on the login/index.php page. Turn Debugging on (developer mode) and turn Display debugging on too. Login into Moodle If you are viewing Moodle using an English UI, You should be seeing the same error message, but after this issue is accepted and local language translators start translating this string token, You should be seeing the error message translation in your own language.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49024_master

      Description

      Although it only happens when in debug mode, and developers should know this level of English, it could be nice if we had a translation token to:
      https://github.com/moodle/moodle/blob/master/lib/outputrenderers.php#L822

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15