No backend/translation-constant for slideshow description

Phoca Gallery - image gallery extension
rob-van-baal
Phoca Member
Phoca Member
Posts: 27
Joined: 14 Jan 2011, 21:15
Location: Netherlands
Contact:

No backend/translation-constant for slideshow description

Post by rob-van-baal »

Hello Phoca team,

(using Joomla 3.2.0 with Galery 4.0.4)

When configuring the Slideshow settings, I found out that there is something missing!

There is no unique constant in the config.xml in order to show the correct text in the backend gui. Please note the following code in the config.xml:

Code: Select all

<field name="slideshow_random" type="list" default="0" label="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_LABEL" description="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_DESC">
	<option value="1">COM_PHOCAGALLERY_YES</option>
	<option value="0">COM_PHOCAGALLERY_NO</option>
</field>

<field name="slideshow_description" type="list" default="peekaboo" label="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_LABEL" description="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_DESC">
	<option value="ondemand">COM_PHOCAGALLERY_ONDEMAND</option>
	<option value="always">COM_PHOCAGALLERY_ALLWAYS</option>
	<option value="peekaboo">COM_PHOCAGALLERY_PEEKABOO</option>
	<option value="none">COM_PHOCAGALLERY_NONE</option>
</field> 
Both the slideshow random setting as the slideshow description setting use:
label="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_LABEL" description="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_DESC"


Fot the slideshow description there should be a new constant, something like:
label="COM_PHOCAGALLERY_FIELD_SLIDESHOW_DESCRIPTION_LABEL" description="COM_PHOCAGALLERY_FIELD_SLIDESHOW_DESCRIPTION_DESC"

which you then can use in the backend language file en-GB.com_phocagallery.ini to fill them with correct info like:
COM_PHOCAGALLERY_FIELD_SLIDESHOW_DESCRIPTION_LABEL="Show description"
COM_PHOCAGALLERY_FIELD_SLIDESHOW_DESCRIPTION_DESC="Choose how to handle the description. 'On demand': At mouse over the slide show; 'Always': description in persistant panel at foot of slideshow; 'Peekaboo': sliding description in and out; 'None': hide description."

Would be nice to have this solved in next release!

Good luck.

Rob.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No backend/translation-constant for slideshow descriptio

Post by Jan »

Hi, thank you for the info, yes, this is a typo error, I will fix it in the next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply