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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 2.2
    • Libraries
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • 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.

      It could give you the

      $string['whatever'] = '';

      code that you need to copy into your lang file.

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

            timhunt Tim Hunt
            timhunt Tim Hunt
            Aparup Banerjee Aparup Banerjee
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.