From 2ebf421140d0da141d19f191234155d0744f1adc Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 29 Aug 2023 20:41:48 +0800 Subject: [PATCH] Remove "votes" text from poll items translation Making it language-agnostic. --- src/components/status.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 21c3877d..fe230525 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1170,9 +1170,7 @@ function Status({ (option) => `- ${option.title}${ option.votesCount >= 0 - ? ` (${option.votesCount} vote${ - option.votesCount !== 1 ? 's' : '' - })` + ? ` (${option.votesCount})` : '' }`, )