From 6278cba4b3a00f8488855705ce9ea84c6e0ca8d2 Mon Sep 17 00:00:00 2001 From: Yash Agrawal Date: Mon, 27 May 2024 13:05:27 +0530 Subject: [PATCH] feat: add localization --- src/components/Voting/Form.vue | 8 ++++---- src/components/i18n/index.ts | 28 ++++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/components/Voting/Form.vue b/src/components/Voting/Form.vue index cbe2ddc1..3fe8bdfb 100644 --- a/src/components/Voting/Form.vue +++ b/src/components/Voting/Form.vue @@ -185,10 +185,10 @@ watch(isPollOpen, (isOpen) => {
-

Poll length

+

{{ i18n('PollLength') }}

- +
{
- +