feat: add env var VITE_DISABLE_SIGNUPS to allow admins to disable all signups, closes #1592

This commit is contained in:
Amruth Pillai
2023-11-26 15:48:17 +01:00
parent f090573147
commit e26ca2adf1
53 changed files with 958 additions and 754 deletions

View File

@ -125,7 +125,7 @@ msgstr "नया पेज जोड़ें"
msgid "AI"
msgstr "AI"
#: apps/client/src/pages/auth/register/page.tsx:71
#: apps/client/src/pages/auth/register/page.tsx:74
msgid "Already have an account?"
msgstr "क्या आपके पास पहले से एक खाता मौजूद है?"
@ -323,8 +323,8 @@ msgstr "क्लिपबोर्ड पर कॉपी करें"
msgid "Create"
msgstr "बनाएँ"
#: apps/client/src/pages/auth/register/page.tsx:64
#: apps/client/src/pages/auth/register/page.tsx:69
#: apps/client/src/pages/auth/register/page.tsx:67
#: apps/client/src/pages/auth/register/page.tsx:72
msgid "Create a new account"
msgstr "एक नया खाता बनाएँ"
@ -485,7 +485,7 @@ msgstr "प्रभाव"
#: apps/client/src/pages/auth/forgot-password/page.tsx:82
#: apps/client/src/pages/auth/login/page.tsx:84
#: apps/client/src/pages/auth/register/page.tsx:134
#: apps/client/src/pages/auth/register/page.tsx:148
#: apps/client/src/pages/builder/sidebars/left/sections/basics.tsx:50
#: apps/client/src/pages/dashboard/settings/_sections/account.tsx:180
msgid "Email"
@ -666,7 +666,7 @@ msgid "Hide Icons"
msgstr "ऑइकन छुपायें"
#: apps/client/src/pages/auth/login/page.tsx:104
#: apps/client/src/pages/auth/register/page.tsx:160
#: apps/client/src/pages/auth/register/page.tsx:174
#: apps/client/src/pages/auth/reset-password/page.tsx:88
msgid "Hold <0>Ctrl</0> to display your password temporarily."
msgstr "<0>Ctrl दबाए रखें</0> अपना पासवर्ड अस्थायी रूप से प्रदर्शित करने के लिए।"
@ -766,17 +766,17 @@ msgstr "ऐसा लगता है कि आपके द्वारा प
msgid "It looks like your email address has already been verified."
msgstr "ऐसा लगता है कि आपका ईमेल पता पहले ही सत्यापित हो चुका है।"
#: apps/client/src/pages/auth/register/page.tsx:95
#: apps/client/src/pages/auth/register/page.tsx:109
msgctxt "Localized version of a placeholder name. For example, Max Mustermann in German or Jan Kowalski in Polish."
msgid "John Doe"
msgstr "जॉन डो"
#: apps/client/src/pages/auth/register/page.tsx:116
#: apps/client/src/pages/auth/register/page.tsx:130
msgctxt "Localized version of a placeholder username. For example, max.mustermann in German or jan.kowalski in Polish."
msgid "john.doe"
msgstr "जॉन डो"
#: apps/client/src/pages/auth/register/page.tsx:137
#: apps/client/src/pages/auth/register/page.tsx:151
msgctxt "Localized version of a placeholder email. For example, max.mustermann@example.de in German or jan.kowalski@example.pl in Polish."
msgid "john.doe@example.com"
msgstr "john.doe@example.com"
@ -910,7 +910,7 @@ msgstr "अंतर"
msgid "MIT License"
msgstr "मआईटी लाईसन्स"
#: apps/client/src/pages/auth/register/page.tsx:92
#: apps/client/src/pages/auth/register/page.tsx:106
#: apps/client/src/pages/builder/sidebars/left/dialogs/custom-section.tsx:53
#: apps/client/src/pages/builder/sidebars/left/dialogs/interests.tsx:40
#: apps/client/src/pages/builder/sidebars/left/dialogs/languages.tsx:36
@ -936,7 +936,7 @@ msgstr "नेटवर्क"
msgid "New Password"
msgstr "नया पासवर्ड"
#: apps/client/src/components/locale-combobox.tsx:39
#: apps/client/src/components/locale-combobox.tsx:43
msgid "No results found"
msgstr "कोई परिणाम नहीं मिला"
@ -1009,7 +1009,7 @@ msgid "Page {0}"
msgstr "पृष्ठ {0}"
#: apps/client/src/pages/auth/login/page.tsx:99
#: apps/client/src/pages/auth/register/page.tsx:155
#: apps/client/src/pages/auth/register/page.tsx:169
#: apps/client/src/pages/auth/reset-password/page.tsx:83
#: apps/client/src/pages/dashboard/settings/_sections/security.tsx:76
msgid "Password"
@ -1102,7 +1102,7 @@ msgstr "एक मुद्दा उठाओ"
#: apps/client/src/pages/auth/backup-otp/page.tsx:52
#: apps/client/src/pages/auth/forgot-password/page.tsx:49
#: apps/client/src/pages/auth/login/page.tsx:55
#: apps/client/src/pages/auth/register/page.tsx:64
#: apps/client/src/pages/auth/register/page.tsx:67
#: apps/client/src/pages/auth/reset-password/page.tsx:60
#: apps/client/src/pages/auth/verify-email/page.tsx:43
#: apps/client/src/pages/auth/verify-otp/page.tsx:52
@ -1219,7 +1219,7 @@ msgstr "फ़ॉन्ट उपसमुच्चय खोजें"
msgid "Search for a font variant"
msgstr "फ़ॉन्ट प्रकार खोजें"
#: apps/client/src/components/locale-combobox.tsx:37
#: apps/client/src/components/locale-combobox.tsx:41
msgid "Search for a language"
msgstr "एक भाषा के लिए खोज करे"
@ -1281,7 +1281,7 @@ msgstr "साइडबार"
msgid "Sign in"
msgstr "साइन इन"
#: apps/client/src/pages/auth/register/page.tsx:74
#: apps/client/src/pages/auth/register/page.tsx:77
msgid "Sign in now"
msgstr "साइन इन करें"
@ -1302,10 +1302,14 @@ msgstr "GitHub के साथ साइन इन करें!"
msgid "Sign in with Google"
msgstr "गूगल से साइन इन करें"
#: apps/client/src/pages/auth/register/page.tsx:171
#: apps/client/src/pages/auth/register/page.tsx:185
msgid "Sign up"
msgstr "रजिस्ट्रेशन"
#: apps/client/src/pages/auth/register/page.tsx:85
msgid "Signups are currently disabled by the administrator."
msgstr ""
#: apps/client/src/pages/builder/sidebars/left/sections/picture/options.tsx:72
msgid "Size (in px)"
msgstr "आकार (पीएक्स में)"
@ -1553,7 +1557,7 @@ msgstr "एक बैकअप कोड उपयोग करें"
msgid "User does not have an associated 'secrets' record. Please report this issue on GitHub."
msgstr "उपयोगकर्ता के पास कोई संबद्ध 'रहस्य' रिकॉर्ड नहीं है. कृपया इस समस्या की रिपोर्ट GitHub पर करें।"
#: apps/client/src/pages/auth/register/page.tsx:113
#: apps/client/src/pages/auth/register/page.tsx:127
#: apps/client/src/pages/builder/sidebars/left/dialogs/profiles.tsx:54
#: apps/client/src/pages/dashboard/settings/_sections/account.tsx:166
msgid "Username"