Please correct me if I'm wrong (if I am, this bug may be resolved invalid). If not then these strings need a correction.
In /lib/prefs/feature.php I find these escaped strings, line 2082:
'feature_jquery_zoom' => [ 'name' => tra('jQuery zoom'), 'description' => tra('Enables zoom in images on mouseover or click. Used in Plugin Img with the parameter \"thumb=zoombox\"'), 'type' => 'flag', 'help' => 'PluginImg#Zoombox', 'default' => 'n', ],
And this is just one example, /lib/prefs/feature.php contains more.
tra() is called with a string that is enclosed in single quote and that contains double quote characters. But why is there a backslash in front of them?
That should - to my understanding of PHP - be unnecessary. On the contrary, only single quotes inside single quote marked strings need a backslash escape. Escaping a double quote character inside single quote strings would lead to backslashes being shelled out to the user in plain visibility (and irritate fellow translators trying to catch this string
Or did I miss something?
Thanks for bringing me up to speed
hman
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |