MsgID "Vote" appear in two places. One in gallery_core
Quote:
#: ../view_album.php:568
#: ../view_album.php:584
#: ../view_album.php:922
msgid "Vote"
the other in gallery_common
Quote:
#: ../lib/voting.php:215
msgid "Vote"
I observed that when there is no visit to an item, the one from voting.php is invoked in the vote pull-down menu (for "Critique" type polls at least). When an item has at least one visit, what appears to be the same pull-down menu would invoke the one from view_album.php. I suppose that this is due to functional design.
My question is: why one is kept in core and the other in common?
Posts: 6818
Hello,
The current code puts phrases according to appearance into a translation file.
So ALL phrases from lib/voting.php go into common and ALL phrases from view_album.php go into core.
Thats why some phrases are in different files.
I dont have the time to modidy the parser, but if someone (YOU ? ;) ) can do it, i'll be glad to integrate it.
Jens
--
Last Gallery v1 Developer and v1 translation manager.