Variable tooltip text for toolbar buttons

Is there a way that anyone could enable me to make the tooltip text for my player hand buttons dependent upon the player’s name?

For instance, in my Apples to Apples game, if I hover the mouse over the “Player 3 hand” button, I would like the tooltip text to say, “Player 3 ($playerName$) hand.”