Implemented 0 votes, 1 vote, 2 votes

Vincent

Well-known member
I just hate the "vote(s)" system.

If you could please just use a restriction for that one occasion of "1 vote", that would make me a happy man ^^
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
I'm guessing this was a shortcut taken as they don't do this in other areas.

In other areas they show this as "Replies: amount" or "Showing threads amount of total.amount".
And well, that's why I'm suggesting it, to know what their opinion is :D
 
Oh, so they do heh. Well I have seen code where it isn't done, more on things that are seen often though.
 
They should simply add a helper for it to be used everywhere. XenForo_Helper::someMethod($amount, $singlePhrase, $multiplePhrase). Or even add a function the the xenforo syntax to do it in templates.
 
They should simply add a helper for it to be used everywhere. XenForo_Helper::someMethod($amount, $singlePhrase, $multiplePhrase). Or even add a function the the xenforo syntax to do it in templates.

Didn't think of it that way yet :)
Good idea IMO.
 
In russian there is three versions:
1, 21, 31, ... голос
2-4, 22-24, ... голоса
5-20, 25-30, ... голосов

In my localization I solve this problem as follows (when possible):
Votes: %
 
This actually came from a history of polls doing this, so we only had the "vote(s)" phrase, but 1.1.3 has a separation of singular and plural phrases and the RM uses this.
 
Top Bottom