hello
there is something I don't understand with PrintAlbumMenu.
in my theme, I wrote :
`<?php if (function_exists('printAlbumMenu')) { printAlbumMenu('jump'); } ?>`
with that, PrintAlbumMenu displays "Gallery Index" but there is no translation.
so, I wrote
`<?php if (function_exists('printAlbumMenu')) { printAlbumMenu('jump', NULL, '', '', '', '', '', gettext('Gallery Index')); } ?>`
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
Comments
`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.
thanks for you help :-)