1. Create a file htdocs/local/lang/en.utf8/view.php
2. In that file, put these contents:
<?php
$string['33,33,33'] = '33,33,33';
3. Log in to Mahara and go to a page's "Layout" tab.
Expected result: You should see the thumbnails of all the layouts
Actual result: Some layouts will be missing or incomplete (the ones where they have a 33,33,33 row in them)
And conversely, a workaround to fix this, if you're using an affected langpack, is to put in place a local/lang file that replaces all the layout strings with the (hyphenated) layout strings from the default htdocs/lang/en.utf8/view.php file.
This bug only affects Mahara 15.04 and 15.10dev, because it's caused by the code that generates the layout thumbnails as SVGs.
The easiest way to replicate this:
1. Create a file htdocs/ local/lang/ en.utf8/ view.php
2. In that file, put these contents:
<?php
$string['33,33,33'] = '33,33,33';
3. Log in to Mahara and go to a page's "Layout" tab.
Expected result: You should see the thumbnails of all the layouts
Actual result: Some layouts will be missing or incomplete (the ones where they have a 33,33,33 row in them)
And conversely, a workaround to fix this, if you're using an affected langpack, is to put in place a local/lang file that replaces all the layout strings with the (hyphenated) layout strings from the default htdocs/ lang/en. utf8/view. php file.
This bug only affects Mahara 15.04 and 15.10dev, because it's caused by the code that generates the layout thumbnails as SVGs.
Cheers,
Aaron