In preparation for translating advpoll I encountered these two lines:

advpoll.module:739
t(ucfirst($mode['name']).' poll')

modes/ranking.inc:49
- t(strval($i).'th')

Comments

ChrisKennedy’s picture

Hmmm... any suggestions on how to implement translatable versions of those strings? The first one would be easy but I'm not sure how the second one could be done.

anders.fajerson’s picture

Not really, that's why I posted it here... You're the t()-expert! :)

anders.fajerson’s picture

Status: Active » Closed (won't fix)

t(ucfirst($mode['name']).' poll') should be fixed.
t(strval($i).'th') we have no better way too deal with at the moment.