Moodle

Language packages contain various syntax errors

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.7
  • Fix Version/s: STABLE backlog
  • Component/s: Language
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

Various syntax errors were discovered during the fix of MDL-20981. Some of them were introduced because of the bug in admin/lang.php tool, some are typos made by translators. One day (hopefully soon) we should have strong syntax checker/compiler to avoid them. Particular bugs will be reported as comments to this issues.

Activity

Hide
David Mudrak added a comment -

Fixed missing dollar sign in placeholders, spaces between dollar sign and variable name, missing placeholder variable, placeholder syntax in RTL languagesand some other various placeholder syntax errors.

TODO: find and escape all non-placeholders like $CFG, $SESSION and other that would get eval()'uated in get_string()

Show
David Mudrak added a comment - Fixed missing dollar sign in placeholders, spaces between dollar sign and variable name, missing placeholder variable, placeholder syntax in RTL languagesand some other various placeholder syntax errors. TODO: find and escape all non-placeholders like $CFG, $SESSION and other that would get eval()'uated in get_string()

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: