From 20ae5a3e68490b40cfd95bb69cb7b9f7391fef84 Mon Sep 17 00:00:00 2001 From: limepotato Date: Sun, 18 Aug 2024 18:12:47 -0600 Subject: [PATCH] only show warning if less than 1 choice --- locales/en-US.yml | 2 +- packages/client/src/components/MkPollEditor.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index ec341b5df..8c4cda6b2 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1696,7 +1696,7 @@ _cw: chars: "{count} characters" files: "{count} file(s)" _poll: - noOnlyOneChoice: "At least two choices are needed" + noOnlyOneChoice: "At least one choices are needed" choiceN: "Choice {n}" noMore: "You cannot add more choices" canMultipleVote: "Allow selecting multiple choices" diff --git a/packages/client/src/components/MkPollEditor.vue b/packages/client/src/components/MkPollEditor.vue index de691ba88..101529a9c 100644 --- a/packages/client/src/components/MkPollEditor.vue +++ b/packages/client/src/components/MkPollEditor.vue @@ -1,6 +1,6 @@