Closed (won't fix)
Project:
Advanced Poll
Version:
5.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2008 at 16:37 UTC
Updated:
3 Feb 2013 at 20:10 UTC
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
Comment #1
ChrisKennedy commentedHmm 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?
Comment #2
daxgrapol commentedREMOVED
Comment #3
steeph commentedI 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.
Comment #4
steeph commentedOh 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.
Comment #5
pomliane commentedThis 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.