If a Poll has no votes for one of the choices, the total votes for this choice shows the corresponding translated string for "1 vote" when the language interface is other than the default English. The percentage is displayed correctly ("0%"), though.

Even after deleting the translation string for "1 vote", it still shows the "1 vote" string from the original English.

But if user sets english as the interface language, then it shows correctly ("0 votes").

If the choice has 1 vote, all strings show correctly.

Comments

ChrisKennedy’s picture

Status: Active » Postponed (maintainer needs more info)

Hmm from the code I see nothing wrong - the data is passed from advpoll_view_results() to theme_advpoll_results() and the t() functions all look okay. What language(s) does this happen in, and can anyone else confirm?

daxgrapol’s picture

REMOVED

steeph’s picture

I have this problem in D6. And I'm quite sure that it showed the correct "0 votes" string some days ago. I don't know what this could be that i have done.

steeph’s picture

Oh BTW this was another module in alpha version that coursed the problem. I removed it and everything was back to normal.

The same issue came up for Vote up/down on another site.. this time it was me not running update.php after updating the module. Maybe this helps someone.

pomliane’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

This version of Advanced Poll is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.