diff --git a/package.json b/package.json index bd90641f1..2af44957b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "@radix-ui/react-popover": "^1.0.3", "@sentry/nextjs": "^7.33.0", "@svgr/webpack": "^6.2.1", - "@tailwindcss/forms": "^0.5.3", "@tailwindcss/typography": "^0.5.9", "@tanstack/react-query": "^4.16.1", "@trpc/client": "^10.0.0-rc.8", diff --git a/public/locales/ca/app.json b/public/locales/ca/app.json index f373fb74d..19031448d 100644 --- a/public/locales/ca/app.json +++ b/public/locales/ca/app.json @@ -97,7 +97,7 @@ "profileUser": "Perfil - {{username}}", "requiredNameError": "El nom és obligatori", "save": "Desa", - "saveInstruction": "Selecciona la teva disponibilitat i prem {{save}}", + "saveInstruction": "Selecciona la teva disponibilitat i prem {{action}}", "share": "Compartir", "shareDescription": "Envia aquest enllaç als participants perquè puguin votar a l'enquesta.", "shareLink": "Comparteix via enllaç", diff --git a/public/locales/cs/app.json b/public/locales/cs/app.json index c37dbdc9a..a7c800e8b 100644 --- a/public/locales/cs/app.json +++ b/public/locales/cs/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Jméno je vyžadováno", "resendVerificationCode": "Znovu odeslat ověřovací kód", "save": "Uložit", - "saveInstruction": "Vyberte svou dostupnost a klikněte na {{save}}", + "saveInstruction": "Vyberte svou dostupnost a klikněte na {{action}}", "share": "Sdílet", "shareDescription": "Tento odkaz zašlete vašim účastníkům, aby mohli v anketě hlasovat.", "shareLink": "Odkaz ke sdílení", diff --git a/public/locales/da/app.json b/public/locales/da/app.json index c7c869fc9..b1db95289 100644 --- a/public/locales/da/app.json +++ b/public/locales/da/app.json @@ -90,7 +90,7 @@ "profileUser": "Profil - {{username}}", "requiredNameError": "Navn er påkrævet", "save": "Gem", - "saveInstruction": "Vælg din tilgængelighed og klik {{save}}", + "saveInstruction": "Vælg din tilgængelighed og klik {{action}}", "share": "Del", "shareDescription": "Giv dette link til dine deltagere for at give dem mulighed for at stemme på din afstemning.", "shareLink": "Del via link", diff --git a/public/locales/de/app.json b/public/locales/de/app.json index 5bd1527d7..78e8b8427 100644 --- a/public/locales/de/app.json +++ b/public/locales/de/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Bitte gib einen Namen an", "resendVerificationCode": "Bestätigungscode erneut senden", "save": "Speichern", - "saveInstruction": "Wähle deine Verfügbarkeit und klicke auf {{save}}", + "saveInstruction": "Wähle deine Verfügbarkeit und klicke auf {{action}}", "share": "Teilen", "shareDescription": "Gib diesen Link deinen Teilnehmern damit sie an deiner Umfrage teilnehmen können.", "shareLink": "Über Link teilen", diff --git a/public/locales/en/app.json b/public/locales/en/app.json index d26fe0921..b59570b8c 100644 --- a/public/locales/en/app.json +++ b/public/locales/en/app.json @@ -51,9 +51,13 @@ "linkHasExpired": "Your link has expired or is no longer valid", "loading": "Loading…", "loadingParticipants": "Loading participants…", + "validEmail": "Please enter a valid email", + "newParticipantFormDescription": "Fill in the form below to submit your votes.", + "optional": "optional", "location": "Location", "locationPlaceholder": "Joe's Coffee Shop", "lockPoll": "Lock poll", + "response": "Response", "login": "Login", "logout": "Logout", "manage": "Manage", @@ -87,9 +91,17 @@ "participantCount_few": "{{count}} participants", "participantCount_many": "{{count}} participants", "participantCount_one": "{{count}} participant", + "requiredString": "“{{name}}” is required", "participantCount_other": "{{count}} participants", "participantCount_two": "{{count}} participants", "participantCount_zero": "{{count}} participants", + "optionCount_few": "{{count}} options", + "optionCount_many": "{{count}} options", + "optionCount_one": "{{count}} option", + "optionCount_other": "{{count}} options", + "optionCount_two": "{{count}} options", + "optionCount_zero": "{{count}} options", + "newParticipant": "New participant", "pollHasBeenLocked": "This poll has been locked", "pollHasBeenVerified": "Your poll has been verified", "pollOwnerNotice": "Hey {{name}}, looks like you are the owner of this poll.", @@ -102,7 +114,7 @@ "requiredNameError": "Name is required", "resendVerificationCode": "Resend verification code", "save": "Save", - "saveInstruction": "Select your availability and click {{save}}", + "saveInstruction": "Select your availability and click {{action}}", "share": "Share", "shareDescription": "Give this link to your participants to allow them to vote on your poll.", "shareLink": "Share via link", diff --git a/public/locales/es/app.json b/public/locales/es/app.json index 57c0dce80..7e47a3671 100644 --- a/public/locales/es/app.json +++ b/public/locales/es/app.json @@ -102,7 +102,7 @@ "requiredNameError": "El nombre es obligatorio", "resendVerificationCode": "Reenviar el código de verificación", "save": "Guardar", - "saveInstruction": "Selecciona tu disponibilidad y haz clic en {{save}}", + "saveInstruction": "Selecciona tu disponibilidad y haz clic en {{action}}", "share": "Compartir", "shareDescription": "Da este enlace a tus participantes para permitirles votar en tu encuesta.", "shareLink": "Compartir con un enlace", diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index d1aa9d6a0..c5a455374 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -90,7 +90,7 @@ "profileUser": "نمایه - {{username}}", "requiredNameError": "نام الزامی است", "save": "ذخیره", - "saveInstruction": "مشخص کنید چه زمانهایی برایتان مقدور است و روی {{save}} کلیک کنید", + "saveInstruction": "مشخص کنید چه زمانهایی برایتان مقدور است و روی {{action}} کلیک کنید", "share": "همرسانی", "shareDescription": "این لینک را به شرکتکنندگان بدهید تا بتوانند در نظرسنجی شما شرکت کنند.", "shareLink": "همرسانی با پیوند", diff --git a/public/locales/fi/app.json b/public/locales/fi/app.json index 88e40bf76..b39eac799 100644 --- a/public/locales/fi/app.json +++ b/public/locales/fi/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Nimi vaaditaan", "resendVerificationCode": "Lähetä vahvistuskoodi uudelleen", "save": "Tallenna", - "saveInstruction": "Valitse sinulle sopivat vaihtoehdot ja napsauta {{save}}", + "saveInstruction": "Valitse sinulle sopivat vaihtoehdot ja napsauta {{action}}", "share": "Jaa", "shareDescription": "Anna tämä linkki osallistujille, jotta he voivat äänestää kyselyssäsi.", "shareLink": "Jaa linkin välityksellä", diff --git a/public/locales/fr/app.json b/public/locales/fr/app.json index 090eafc5c..e10620115 100644 --- a/public/locales/fr/app.json +++ b/public/locales/fr/app.json @@ -99,7 +99,7 @@ "requiredNameError": "Le nom est obligatoire", "resendVerificationCode": "Renvoyer le code de vérification", "save": "Sauvegarder", - "saveInstruction": "Sélectionnez votre disponibilité et cliquez sur {{save}}", + "saveInstruction": "Sélectionnez votre disponibilité et cliquez sur {{action}}", "share": "Partager", "shareDescription": "Donnez ce lien à vos participants pour leur permettre de voter sur votre sondage.", "shareLink": "Partager via un lien", diff --git a/public/locales/hr/app.json b/public/locales/hr/app.json index 9fc5af85c..d3a0814e9 100644 --- a/public/locales/hr/app.json +++ b/public/locales/hr/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Ime je obavezno", "resendVerificationCode": "Ponovno pošalji poruku za potvrdu", "save": "Pohrani", - "saveInstruction": "Odaberite termine koji vam odgovaraju i kliknite na {{save}}", + "saveInstruction": "Odaberite termine koji vam odgovaraju i kliknite na {{action}}", "share": "Podijeli", "shareDescription": "Pošaljite ovu poveznicu sudionicima kako biste im omogućili glasanje u vašoj anketi.", "shareLink": "Podijeli putem poveznice", diff --git a/public/locales/hu/app.json b/public/locales/hu/app.json index 6d78fc670..6a676aaf8 100644 --- a/public/locales/hu/app.json +++ b/public/locales/hu/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Név megadása kötelező", "resendVerificationCode": "Hitelesítő kód újraküldése", "save": "Mentés", - "saveInstruction": "Válaszd ki mikor érsz rá és kattints a {{save}} gombra", + "saveInstruction": "Válaszd ki mikor érsz rá és kattints a {{action}} gombra", "share": "Megosztás", "shareDescription": "Küldd el ezt a linket a résztvevőidnek, hogy tudjanak szavazatokat leadni.", "shareLink": "Megosztás linkkel", diff --git a/public/locales/it/app.json b/public/locales/it/app.json index a371c6c38..d8ffb6441 100644 --- a/public/locales/it/app.json +++ b/public/locales/it/app.json @@ -90,7 +90,7 @@ "profileUser": "Profilo - {{username}}", "requiredNameError": "Il nome è obbligatorio", "save": "Salva", - "saveInstruction": "Seleziona la tua disponibilità e clicca su {{save}}", + "saveInstruction": "Seleziona la tua disponibilità e clicca su {{action}}", "share": "Condividi", "shareDescription": "Dai questo link ai partecipanti per permette loro di votare al tuo sondaggio.", "shareLink": "Condividi via link", diff --git a/public/locales/ko/app.json b/public/locales/ko/app.json index 0589a569f..a07d71ee8 100644 --- a/public/locales/ko/app.json +++ b/public/locales/ko/app.json @@ -90,7 +90,7 @@ "profileUser": "프로필 - {{username}}", "requiredNameError": "이름을 입력해주세요.", "save": "저장하기", - "saveInstruction": "가능여부를 선택한 후 {{save}} 를 클릭하세요", + "saveInstruction": "가능여부를 선택한 후 {{action}} 를 클릭하세요", "share": "공유하기", "shareDescription": "이 링크를 참여자들에게 전달하여 투표하도록 하세요", "shareLink": "링크 공유하기", diff --git a/public/locales/nl/app.json b/public/locales/nl/app.json index e2805a06a..fb2de4a01 100644 --- a/public/locales/nl/app.json +++ b/public/locales/nl/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Naam is verplicht", "resendVerificationCode": "Verificatiecode opnieuw versturen", "save": "Opslaan", - "saveInstruction": "Selecteer je beschikbaarheid en klik op {{save}}", + "saveInstruction": "Selecteer je beschikbaarheid en klik op {{action}}", "share": "Delen", "shareDescription": "Geef deze link aan je deelnemers zodat ze op je poll kunnen stemmen.", "shareLink": "Deel via link", diff --git a/public/locales/pl/app.json b/public/locales/pl/app.json index e36eea324..c0e26db25 100644 --- a/public/locales/pl/app.json +++ b/public/locales/pl/app.json @@ -94,7 +94,7 @@ "profileUser": "Profil - {{username}}", "requiredNameError": "Imię jest wymagane", "save": "Zapisz", - "saveInstruction": "Wybierz swoją dostępność i kliknij {{save}}", + "saveInstruction": "Wybierz swoją dostępność i kliknij {{action}}", "share": "Udostępnij", "shareDescription": "Przekaż ten link uczestnikom, aby mogli zagłosować na ankietę.", "shareLink": "Udostępnij link", diff --git a/public/locales/pt-BR/app.json b/public/locales/pt-BR/app.json index 029bc4e53..46ef2abcc 100644 --- a/public/locales/pt-BR/app.json +++ b/public/locales/pt-BR/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Nome é obrigatório", "resendVerificationCode": "Reenviar código de verificação", "save": "Salvar", - "saveInstruction": "Selecione sua disponibilidade e clique {{save}}", + "saveInstruction": "Selecione sua disponibilidade e clique {{action}}", "share": "Compartilhar", "shareDescription": "Dê este link para os seus participantes para permitir que eles votem na sua enquete.", "shareLink": "Compartilhar via link", diff --git a/public/locales/pt/app.json b/public/locales/pt/app.json index 658632c2c..d592ed99e 100644 --- a/public/locales/pt/app.json +++ b/public/locales/pt/app.json @@ -90,7 +90,7 @@ "profileUser": "Perfil - {{username}}", "requiredNameError": "O nome é obrigatório", "save": "Guardar", - "saveInstruction": "Selecione a sua disponibilidade e clique em {{save}}", + "saveInstruction": "Selecione a sua disponibilidade e clique em {{action}}", "share": "Partilhar", "shareDescription": "Dê este link aos seus participantes para permitir que eles votem na sua sondagem.", "shareLink": "Partilhar via link", diff --git a/public/locales/ru/app.json b/public/locales/ru/app.json index 412f2354a..f48f5bc3c 100644 --- a/public/locales/ru/app.json +++ b/public/locales/ru/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Необходимо указать имя", "resendVerificationCode": "Отправить код ещё раз", "save": "Сохранить", - "saveInstruction": "Укажите когда вы доступны и нажмите {{save}}", + "saveInstruction": "Укажите когда вы доступны и нажмите {{action}}", "share": "Поделиться", "shareDescription": "Поделитесь этой ссылкой с вашими участниками, чтобы они смогли ответить на ваш опрос.", "shareLink": "Поделиться с помощью ссылки", diff --git a/public/locales/sk/app.json b/public/locales/sk/app.json index 93a9eed95..3f73dd0e2 100644 --- a/public/locales/sk/app.json +++ b/public/locales/sk/app.json @@ -99,7 +99,7 @@ "requiredNameError": "Požadované je meno", "resendVerificationCode": "Znovu odoslať verifikačný kód", "save": "Uložiť", - "saveInstruction": "Vyberte svoju dostupnosť a kliknite na {{save}}", + "saveInstruction": "Vyberte svoju dostupnosť a kliknite na {{action}}", "share": "Zdielať", "shareDescription": "Tento odkaz zašlite vašim účastníkom, aby mohli v ankete hlasovať.", "shareLink": "Zdieľať cez odkaz", diff --git a/public/locales/sv/app.json b/public/locales/sv/app.json index 8df4b55ce..b66c3615b 100644 --- a/public/locales/sv/app.json +++ b/public/locales/sv/app.json @@ -102,7 +102,7 @@ "requiredNameError": "Namn är obligatoriskt", "resendVerificationCode": "Skicka verifieringskoden igen", "save": "Spara", - "saveInstruction": "Välj din tillgänglighet och klicka på {{save}}", + "saveInstruction": "Välj din tillgänglighet och klicka på {{action}}", "share": "Dela", "shareDescription": "Ge den här länken till dina deltagare så att de kan delta i din förfrågan.", "shareLink": "Dela via länk", diff --git a/public/locales/tr/app.json b/public/locales/tr/app.json index e918a761f..75e108088 100644 --- a/public/locales/tr/app.json +++ b/public/locales/tr/app.json @@ -69,7 +69,7 @@ "participantCount_other": "{{count}} katılımcı", "pollOwnerNotice": "Selam {{name}}, görünüşe göre bu anketin sahibi sensin.", "profileUser": "Profil - {{username}}", - "saveInstruction": "Uygunluk durumunuzu seçin ve {{save}} düğmesine tıklayın", + "saveInstruction": "Uygunluk durumunuzu seçin ve {{action}} düğmesine tıklayın", "shareDescription": "Anketinizde oy kullanmalarına izin vermek için bu bağlantıyı katılımcılarınıza verin.", "stepSummary": "Aşama: {{current}} / {{total}}", "sunday": "Pazar", diff --git a/public/locales/zh/app.json b/public/locales/zh/app.json index c086e2ee2..9d6d76e7a 100644 --- a/public/locales/zh/app.json +++ b/public/locales/zh/app.json @@ -101,7 +101,7 @@ "requiredNameError": "姓名为必填项", "resendVerificationCode": "重新发送验证码", "save": "保存", - "saveInstruction": "选择你有空的时间并点击 {{save}}", + "saveInstruction": "选择你有空的时间并点击 {{action}}", "share": "分享", "shareDescription": "其他人可以通过此链接成为参与者進行投票", "shareLink": "分享链接", diff --git a/src/components/auth/login-modal.tsx b/src/components/auth/login-modal.tsx index 7f2994092..f20ff076a 100644 --- a/src/components/auth/login-modal.tsx +++ b/src/components/auth/login-modal.tsx @@ -13,7 +13,7 @@ export const LoginModal: React.VoidFunctionComponent<{ const [defaultEmail, setDefaultEmail] = React.useState(""); return ( -