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

    XMLWordPrintable

    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.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              Assignee:
              koen Koen Roggemans
              Reporter:
              skodak Petr Skoda
              Tester:
              Koen Roggemans
              Participants:
              Component watchers:
              cameron1729, David Mudrák (@mudrd8mz), Helen Foster
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

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