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

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.9
    • 2.7.4, 2.8.2
    • Language
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • MDL-49024_master
    • 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.

    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

              nadavkav Nadav Kavalerchik
              nadavkav Nadav Kavalerchik
              Mark Nelson Mark Nelson
              David Monllaó David Monllaó
              Dave Cooper Dave Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15