Hi,
I finded one bug in code of PG.
The translade of view of user at file:com_phocagallery\views\user\view.html.php line 359 360 is static:
$state_image[] = JHTML::_('select.option', 'P', JText::_( 'Published' ) );
$state_image[] = JHTML::_('select.option', 'U', JText::_( 'Unpublished') );
and i change to
$state_image[] = JHTML::_('select.option', 'P', JText::_( 'COM_PHOCAGALLERY_FIELD_PUBLISHED_LABEL' ) );
$state_image[] = JHTML::_('select.option', 'U', JText::_( 'COM_PHOCAGALLERY_FIELD_UNPUBLISHED_LABEL') );
And add COM_PHOCAGALLERY_FIELD_UNPUBLISHED_LABEL on translate.
Sorry for my Enghish.
Thanks for the job mans.
Bye.
Translate of view of user
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Translate of view of user
Hi, thank you for this info, I will fix it.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Translate of view of user
Fixed in 3 stable
If you find Phoca extensions useful, please support the project
