Remove "votes" text from poll items translation

Making it language-agnostic.
pull/223/head
Lim Chee Aun 2023-08-29 20:41:48 +08:00
rodzic 8bfc9892ed
commit 2ebf421140
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -1170,9 +1170,7 @@ function Status({
(option) => (option) =>
`- ${option.title}${ `- ${option.title}${
option.votesCount >= 0 option.votesCount >= 0
? ` (${option.votesCount} vote${ ? ` (${option.votesCount})`
option.votesCount !== 1 ? 's' : ''
})`
: '' : ''
}`, }`,
) )