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

Improve Invalid get_string() indentifier message to help lazy developers.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      1. make a test script that refers to a missing string. Check that the developer debug message contains the code you would need to copy and paste into a lang file, in order to add the missing string.

      Show
      1. make a test script that refers to a missing string. Check that the developer debug message contains the code you would need to copy and paste into a lang file, in order to add the missing string.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      It could give you the

      $string['whatever'] = '';

      code that you need to copy into your lang file.

        Attachments

        1. getstring.png
          getstring.png
          66 kB
        2. test.php
          0.4 kB

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Integrator:
            Aparup Banerjee
            Tester:
            Rossiani Wijaya
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/11