ref
This commit is contained in:
1 parent
60ef869623
commit
3f0a64bd47
1 file changed
+1
-1
@@ -105,7 +105,7 @@ export default {
|
|||||||
const lastDigit = count % 10;
|
const lastDigit = count % 10;
|
||||||
if (lastDigit === 1) currentVote = 'голос'
|
if (lastDigit === 1) currentVote = 'голос'
|
||||||
if (lastDigit > 1) currentVote = 'голоса'
|
if (lastDigit > 1) currentVote = 'голоса'
|
||||||
if (lastDigit > 5 || count === 0) currentVote = 'голосов'
|
if (lastDigit > 4 || count === 0) currentVote = 'голосов'
|
||||||
return currentVote
|
return currentVote
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user