Issue Details (XML | Word | Printable)

Key: MDL-14152
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Koen Roggemans
Reporter: Petr Skoda
Votes: 0
Watchers: 10
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 03/Apr/08 02:32 AM   Updated: 14/Oct/09 03:30 AM
Return to search
Component/s: Languages
Affects Version/s: 1.9
Fix Version/s: 1.9.1

File Attachments: 1. File lang_fix.php (5 kB)

Issue Links:
Cloners
 

Participants: Eloy Lafuente (stronk7), Koen Roggemans, Martin Dougiamas and Petr Skoda
Security Level: None
QA Assignee: Koen Roggemans
Resolved date: 06/May/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE

Sub-Tasks  All   Open   
 Sub-Task Progress: 
No sub-tasks match this view.

 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda made changes - 03/Apr/08 06:50 AM
Field Original Value New Value
Attachment langx.patch [ 13518 ]
Petr Skoda made changes - 03/Apr/08 06:50 AM
Attachment lang_fix.php [ 13519 ]
Petr Skoda made changes - 03/Apr/08 06:56 AM
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
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.
Petr Skoda made changes - 03/Apr/08 08:00 AM
Attachment lang_fix.php [ 13519 ]
Petr Skoda made changes - 03/Apr/08 08:02 AM
Attachment lang_fix.php [ 13521 ]
Eloy Lafuente (stronk7) made changes - 03/Apr/08 10:08 AM
Attachment lang_fix_utf8.patch [ 13522 ]
Petr Skoda made changes - 03/Apr/08 02:56 PM
Attachment langx2.patch [ 13523 ]
Petr Skoda made changes - 03/Apr/08 02:56 PM
Attachment langx.patch [ 13518 ]
Petr Skoda made changes - 03/Apr/08 03:20 PM
Attachment lang_fix_utf8.patch [ 13522 ]
Petr Skoda made changes - 03/Apr/08 03:21 PM
Attachment lang_fix.php [ 13521 ]
Petr Skoda made changes - 03/Apr/08 03:21 PM
Attachment langx2.patch [ 13523 ]
Petr Skoda made changes - 03/Apr/08 03:21 PM
Attachment lang_fix.php [ 13524 ]
Petr Skoda made changes - 03/Apr/08 04:33 PM
Assignee Petr Skoda [ skodak ] Koen Roggemans [ koen ]
Martin Dougiamas made changes - 05/May/08 03:22 PM
Priority Blocker [ 1 ] Critical [ 2 ]
Petr Skoda made changes - 06/May/08 09:53 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Koen Roggemans made changes - 07/May/08 03:31 PM
QA Assignee koen
Status Resolved [ 5 ] Closed [ 6 ]
Petr Skoda made changes - 14/Oct/09 03:30 AM
Link This issue is a clone of MDL-20554 [ MDL-20554 ]