Actually, a simpler (but less elegant) way that would work with autoimport is to define an entirely new dict:
define BOBCGALLERY_DESCRIPTIONS = {
"eileen asleep" : _("Eileen falls asleep after a nice date"),
}And then just add that in the tooltips:
imagebutton idle thm at bobcgallery_thumb action Show("bobcgallery_showcg", imgname=name, idx=0, transition=BOBCGALLERY_TRANSITION):
if name in BOBCGALLERY_DESCRIPTIONS:
tooltip BOBCGALLERY_DESCRIPTIONS[name]
(And then use NearRect and GetTooltip() to add the actual hover tooltip.)