mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #27195
[Bug 1461040] Re: Page layout thumbnails are missing in languages that have changed the layout lang strings
I also encountered this after beginning with translation of Mahara 15.04
into Estonian. As the locale setting have also been changed the values
returned by PHP (please correct me if I am wrong) will be comma
separated and not separated with decimal point (due to Estonian
representation of float numbers). So Peter probably sees only the SVG
images which are not returned with float values. Small output of false
return values which are not rendered by browser: <rect x="52,2"
y="18"..></rect>. (should be x="52.2")
This also affects gallery where the images should be centered but due to
false float values are not.
The fix provided at the moment helps, but does not solve the float
number representation. I have chosen to replace "," in returned values
with "." in layoutpreviewimage.php and it has "solved" the problem. I am
open for better solutions.
I hope this helps a bit.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1461040
Title:
Page layout thumbnails are missing in languages that have changed the
layout lang strings
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 15.04 series:
Fix Committed
Bug description:
In 15.04 there are noch pictures of the layouts visible anymore. The
layouts are still there, but you can't see what layout it is because
of the missing picture. Windows. Firefox 38.0.1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1461040/+subscriptions
References