Member
Member
vincent3569   2010-11-29, 21:54
#1

hello

there is something I don't understand with PrintAlbumMenu.

in my theme, I wrote :
``

with that, PrintAlbumMenu displays "Gallery Index" but there is no translation.

so, I wrote
``

with that, there is no display of the translated value of "Gallery Index".

I have done some debug the translated value of "Gallery Index" disapears in the call of printAlbumMenuJump().
So, the following test in printAlbumMenuJump() is always false
if(!empty($indexname)) { [...] }

Is there a bug with this plugin ?
Thank for you help

Administrator
Administrator
acrylian   2010-11-30, 10:14
#2

Seems to me that you set the parameter wrong:
printAlbumMenu('jump', NULL, '', '', '', '', '', gettext('Gallery Index'));
should be
printAlbumMenu('jump', NULL, '', '', '', '', gettext('Gallery Index'));
It's the 7th parameter not the 8th.

Besides that I found indeed a bug in the jump variant but that has nothing to do with this actually.

Member
Member
vincent3569   2010-12-02, 01:30
#3

oups, i did a mistake !!
thanks for you help :-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.