Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.8
  • 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.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

lalala, again lots of problems in lang packs

Show
Petr Škoda (skodak) added a comment - lalala, again lots of problems in lang packs
Hide
Petr Škoda (skodak) added a comment -

I could fix most of the problems myself, but I am not sure if my changes were correct

Koen: could you please contact the Khmer lang pack maintainer please and ask him to verify my changes? thanks

Show
Petr Škoda (skodak) added a comment - I could fix most of the problems myself, but I am not sure if my changes were correct Koen: could you please contact the Khmer lang pack maintainer please and ask him to verify my changes? thanks
Hide
Koen Roggemans added a comment -

ok, I'll do,

I thought that langfix.php checked these things, no?

Show
Koen Roggemans added a comment - ok, I'll do, I thought that langfix.php checked these things, no?
Hide
David Mudrak added a comment -

I am pretty sure I fixed most of these problems in MDL-21048. I have the patch and will commit it once I have good Internet connectivity again (not here at #moodledev09).

Show
David Mudrak added a comment - I am pretty sure I fixed most of these problems in MDL-21048. I have the patch and will commit it once I have good Internet connectivity again (not here at #moodledev09).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: