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

detect and fix all syntax $a-> and other problems in all language packs and make sure it never happens again

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      some translators insert spaces after $a-> something
      some translators translate $a->
      some translators make syntax errors

      1/ make script that detects these problems
      2/ fix everything in cvs
      3/ fix lang edit UI to prevent these problems

      These problems often lead to famous blank screens if php 5.2 used because it throws fatal exception because object can not be cast to string anymore.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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