Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Merge main and fix a few issues.

Matt Robertsff4742571df0
diff --cc app/services/sqlstore/postgres/tenant.go
index 3fb205104,5473ad2c4..1ad496e45
--- a/app/services/sqlstore/postgres/tenant.go
+++ b/app/services/sqlstore/postgres/tenant.go
@@@ -140,6 -213,21 +140,21 @@@ func getVerificationByKey(ctx context.C
})
}
+ func getVerificationByEmailAndCode(ctx context.Context, q *query.GetVerificationByEmailAndCode) error {
+ return using(ctx, func(trx *dbx.Trx, tenant *entity.Tenant, user *entity.User) error {
- verification := dbEmailVerification{}
++ verification := dbEntities.EmailVerification{}
+
+ query := "SELECT id, email, name, key, created_at, verified_at, expires_at, kind, user_id FROM email_verifications WHERE tenant_id = $1 AND email = $2 AND key = $3 AND kind = $4 LIMIT 1"
+ err := trx.Get(&verification, query, tenant.ID, q.Email, q.Code, q.Kind)
+ if err != nil {
+ return errors.Wrap(err, "failed to get email verification by email and code")
+ }
+
- q.Result = verification.toModel()
++ q.Result = verification.ToModel()
+ return nil
+ })
+ }
+
func saveVerificationKey(ctx context.Context, c *cmd.SaveVerificationKey) error {
return using(ctx, func(trx *dbx.Trx, tenant *entity.Tenant, user *entity.User) error {
var userID any
diff --cc locale/ar/client.json
index 282fc706a,2af94104b..51c0150a4
--- a/locale/ar/client.json
+++ b/locale/ar/client.json
@@@ -6,9 -4,8 +6,10 @@@
"action.close": "إغلاق",
"action.commentsfeed": "تغذية التعليقات",
"action.confirm": "تأكيد",
+ "action.continue": "يكمل",
"action.copylink": "نسخ الرابط",
+ "action.decline": "",
+ "action.decline.block": "",
"action.delete": "حذف",
"action.edit": "تعديل",
"action.markallasread": "تمييز الكل كمقروءة",
@@@ -245,6 -203,12 +247,14 @@@
"showpost.responseform.text.placeholder": "ما الذي يجري مع هذا المنشور؟ أخبر المستخدمين ما هي خططك...",
"showpost.votespanel.more": "+{extraVotesCount} أكثر",
"showpost.votespanel.seedetails": "عرض التفاصيل",
+ "signin.code.edit": "يحرر",
++ "signin.code.expired": "انتهت صلاحية هذا الرمز أو تم استخدامه مسبقًا. يُرجى طلب رمز جديد.",
+ "signin.code.getnew": "احصل على رمز جديد",
+ "signin.code.instruction": "الرجاء كتابة الرمز الذي أرسلناه للتو إلى <0>{email}</0>",
++ "signin.code.invalid": "الرمز الذي أدخلته غير صحيح. يُرجى المحاولة مرة أخرى.",
+ "signin.code.placeholder": "اكتب الكود هنا",
+ "signin.code.sent": "لقد تم إرسال رمز جديد إلى بريدك الإلكتروني.",
+ "signin.code.submit": "يُقدِّم",
"signin.email.placeholder": "البريد الإلكتروني",
"signin.message.email": "متابعة بالبريد الإلكتروني",
"signin.message.emaildisabled": "تم تعطيل مصادقة البريد الإلكتروني من قبل المسؤول. إذا كان لديك حساب مسؤول وتحتاج إلى تجاوز هذا التقييد، الرجاء <0>انقر هنا </0>.",
@@@ -255,7 -219,10 +265,8 @@@
"signin.message.private.text": "إذا كان لديك حساب أو دعوت، فيمكنك استخدام الخيارات التالية لتسجيل الدخول.",
"signin.message.private.title": "<0>{0}</0> مساحة خاصة، يجب عليك تسجيل الدخول للمشاركة والتصويت.",
"signin.message.socialbutton.intro": "تسجيل الدخول بواسطة",
+ "signin.name.placeholder": "اسمك",
"validation.custom.maxattachments": "يُسمح بحد أقصى {number} من المرفقات.",
"validation.custom.maximagesize": "يجب أن يكون حجم الصورة أصغر من {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, zero {}one {# وسم} two {# وسوم} few {# وسوم} many {# وسوم} other {# وسوم}}",
- "signin.code.expired": "انتهت صلاحية هذا الرمز أو تم استخدامه مسبقًا. يُرجى طلب رمز جديد.",
- "signin.code.invalid": "الرمز الذي أدخلته غير صحيح. يُرجى المحاولة مرة أخرى."
-}
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, zero {}one {# وسم} two {# وسوم} few {# وسوم} many {# وسوم} other {# وسوم}}"
- }
++}
diff --cc locale/de/client.json
index 10f415359,d0933ec7d..1164ed1c5
--- a/locale/de/client.json
+++ b/locale/de/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Abbrechen",
"action.change": "ändern",
"action.close": "Schließen",
"action.commentsfeed": "Kommentar-Feed",
"action.confirm": "Bestätigen",
+ "action.continue": "Weitermachen",
"action.copylink": "Link kopieren",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Löschen",
"action.edit": "Bearbeiten",
"action.markallasread": "Alle als gelesen markieren",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Was passiert in diesem Beitrag? Lass deine Benutzer wissen, was deine Pläne sind...",
"showpost.votespanel.more": "+{extraVotesCount} mehr",
"showpost.votespanel.seedetails": "Details anschauen",
+ "signin.code.edit": "Bearbeiten",
++ "signin.code.expired": "Dieser Code ist abgelaufen oder wurde bereits verwendet. Bitte fordern Sie einen neuen an.",
+ "signin.code.getnew": "Neuen Code anfordern",
+ "signin.code.instruction": "Bitte geben Sie den soeben gesendeten Code an <0>{email}</0> ein.",
++ "signin.code.invalid": "Der eingegebene Code ist ungültig. Bitte versuchen Sie es erneut.",
+ "signin.code.placeholder": "Geben Sie hier den Code ein.",
+ "signin.code.sent": "Ein neuer Code wurde an Ihre E-Mail-Adresse gesendet.",
+ "signin.code.submit": "Einreichen",
"signin.email.placeholder": "E-Mail-Adresse",
"signin.message.email": "Mit E-Mail fortfahren",
"signin.message.emaildisabled": "Die E-Mail-Authentifizierung wurde von einem Administrator deaktiviert. Wenn du ein Administrator-Konto hast und diese Einschränkung umgehen musst, klicke bitte <0>hier</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Wenn du ein Konto oder eine Einladung hast, kannst du folgende Optionen nutzen, um dich anzumelden.",
"signin.message.private.title": "<0>{0}</0> ist ein privater Raum, du musst dich anmelden, um teilzunehmen und abstimmen zu können.",
"signin.message.socialbutton.intro": "Einloggen mit",
+ "signin.name.placeholder": "Ihr Name",
"validation.custom.maxattachments": "Es sind maximal {number} Anhänge zulässig.",
"validation.custom.maximagesize": "Die Bildgröße muss kleiner als {kilobytes}KB sein.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# Tag} other {# Tags}}",
- "signin.code.expired": "Dieser Code ist abgelaufen oder wurde bereits verwendet. Bitte fordern Sie einen neuen an.",
- "signin.code.invalid": "Der eingegebene Code ist ungültig. Bitte versuchen Sie es erneut."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# Tag} other {# Tags}}"
}
diff --cc locale/el/client.json
index 4669ae643,ceb1a4836..f21909e7f
--- a/locale/el/client.json
+++ b/locale/el/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Ακύρωση",
"action.change": "αλλαγή",
"action.close": "Κλείσιμο",
"action.commentsfeed": "Ροή σχολίων",
"action.confirm": "Επιβεβαίωση",
+ "action.continue": "Συνεχίζω",
"action.copylink": "Αντιγραφή συνδέσμου",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Διαγραφή",
"action.edit": "Επεξεργασία",
"action.markallasread": "Σήμανση όλων ως αναγνωσμένων",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Τι συμβαίνει με αυτή την ανάρτηση; Αφήστε τους χρήστες σας να γνωρίζουν ποια είναι τα σχέδιά σας...",
"showpost.votespanel.more": "+{extraVotesCount} περισσότερα",
"showpost.votespanel.seedetails": "δείτε λεπτομέρειες",
+ "signin.code.edit": "Εκδίδω",
++ "signin.code.expired": "Αυτός ο κωδικός έχει λήξει ή έχει ήδη χρησιμοποιηθεί. Παρακαλούμε ζητήστε έναν νέο.",
+ "signin.code.getnew": "Λήψη νέου κωδικού",
+ "signin.code.instruction": "Παρακαλώ πληκτρολογήστε τον κωδικό που μόλις στείλαμε στη διεύθυνση <0>{email}</0>",
++ "signin.code.invalid": "Ο κωδικός που εισαγάγατε δεν είναι έγκυρος. Δοκιμάστε ξανά.",
+ "signin.code.placeholder": "Πληκτρολογήστε τον κωδικό εδώ",
+ "signin.code.sent": "Ένας νέος κωδικός έχει σταλεί στο email σας.",
+ "signin.code.submit": "Υποτάσσομαι",
"signin.email.placeholder": "Διεύθυνση ηλεκτρονικού ταχυδρομείου",
"signin.message.email": "Συνέχεια με email",
"signin.message.emaildisabled": "Ο έλεγχος ταυτότητας email έχει απενεργοποιηθεί από τον διαχειριστή. Εάν έχετε λογαριασμό διαχειριστή και πρέπει να παρακάμψετε αυτόν τον περιορισμό, παρακαλώ <0>κάντε κλικ εδώ</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Αν έχετε λογαριασμό ή πρόσκληση, μπορείτε να χρησιμοποιήσετε τις παρακάτω επιλογές για να συνδεθείτε.",
"signin.message.private.title": "<0>{0}</0> είναι ένας ιδιωτικός χώρος, πρέπει να συνδεθείτε για να συμμετάσχετε και να ψηφίσετε.",
"signin.message.socialbutton.intro": "Συνδεθείτε με",
+ "signin.name.placeholder": "Το όνομά σας",
"validation.custom.maxattachments": "Επιτρέπονται έως {number} συνημμένα.",
"validation.custom.maximagesize": "Το μέγεθος της εικόνας πρέπει να είναι μικρότερο από {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# ετικέτα} other {# ετικέτες}}",
- "signin.code.expired": "Αυτός ο κωδικός έχει λήξει ή έχει ήδη χρησιμοποιηθεί. Παρακαλούμε ζητήστε έναν νέο.",
- "signin.code.invalid": "Ο κωδικός που εισαγάγατε δεν είναι έγκυρος. Δοκιμάστε ξανά."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# ετικέτα} other {# ετικέτες}}"
}
diff --cc locale/en/client.json
index 009e32d6a,9fecb8f4b..74d00560f
--- a/locale/en/client.json
+++ b/locale/en/client.json
@@@ -6,9 -4,8 +6,10 @@@
"action.close": "Close",
"action.commentsfeed": "Comment Feed",
"action.confirm": "Confirm",
+ "action.continue": "Continue",
"action.copylink": "Copy link",
+ "action.decline": "Decline",
+ "action.decline.block": "Decline & Block",
"action.delete": "Delete",
"action.edit": "Edit",
"action.markallasread": "Mark All as Read",
diff --cc locale/es-ES/client.json
index ef689b90a,2e3c31f16..a24d7087e
--- a/locale/es-ES/client.json
+++ b/locale/es-ES/client.json
@@@ -6,9 -4,8 +6,10 @@@
"action.close": "Cerrar",
"action.commentsfeed": "Feed de comentarios",
"action.confirm": "Confirmar",
+ "action.continue": "Continuar",
"action.copylink": "Copiar enlace",
+ "action.decline": "",
+ "action.decline.block": "",
"action.delete": "Eliminar",
"action.edit": "Editar",
"action.markallasread": "Marcar Todo como Leído",
@@@ -245,6 -203,12 +247,14 @@@
"showpost.responseform.text.placeholder": "¿Qué está pasando con esta publicación? Dile a tus usuarios cuáles son tus planes...",
"showpost.votespanel.more": "+{extraVotesCount} más",
"showpost.votespanel.seedetails": "ver detalles",
+ "signin.code.edit": "Editar",
++ "signin.code.expired": "Este código ha caducado o ya se ha utilizado. Por favor, solicite uno nuevo.",
+ "signin.code.getnew": "Obtén un nuevo código",
+ "signin.code.instruction": "Por favor, introduzca el código que le acabamos de enviar a <0>{email}</0>",
++ "signin.code.invalid": "El código que has introducido no es válido. Por favor, inténtalo de nuevo.",
+ "signin.code.placeholder": "Escriba el código aquí.",
+ "signin.code.sent": "Se ha enviado un nuevo código a su correo electrónico.",
+ "signin.code.submit": "Entregar",
"signin.email.placeholder": "Dirección de correo electrónico",
"signin.message.email": "Continuar con el correo electrónico",
"signin.message.emaildisabled": "La autenticación de correo electrónico ha sido deshabilitada por un administrador. Si tiene una cuenta de administrador y necesita eludir esta restricción, por favor <0>haga clic aquí</0>.",
@@@ -255,7 -219,10 +265,8 @@@
"signin.message.private.text": "Si tienes una cuenta o una invitación, puedes usar las siguientes opciones para iniciar sesión.",
"signin.message.private.title": "<0>{0}</0> es un espacio privado, debes iniciar sesión para participar y votar.",
"signin.message.socialbutton.intro": "Iniciar sesión con",
+ "signin.name.placeholder": "Su nombre",
"validation.custom.maxattachments": "Se permite un máximo de {number} archivos adjuntos.",
"validation.custom.maximagesize": "El tamaño de la imagen debe ser menor que {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# etiqueta} other {# etiquetas}}",
- "signin.code.expired": "Este código ha caducado o ya se ha utilizado. Por favor, solicite uno nuevo.",
- "signin.code.invalid": "El código que has introducido no es válido. Por favor, inténtalo de nuevo."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# etiqueta} other {# etiquetas}}"
}
diff --cc locale/fa/client.json
index b364a70b5,78f2330a0..bda3b2b06
--- a/locale/fa/client.json
+++ b/locale/fa/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "لغو",
"action.change": "تغییر",
"action.close": "بستن",
"action.commentsfeed": "فید نظرات",
"action.confirm": "تأیید",
+ "action.continue": "ادامه",
"action.copylink": "کپی لینک",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "حذف",
"action.edit": "ویرایش",
"action.markallasread": "علامت‌گذاری همه به‌عنوان خوانده‌شده",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "برنامهٔ خود را دربارهٔ این پست با کاربران در میان بگذارید...",
"showpost.votespanel.more": "+{extraVotesCount} بیشتر",
"showpost.votespanel.seedetails": "مشاهدهٔ جزئیات",
+ "signin.code.edit": "ویرایش",
++ "signin.code.expired": "این کد منقضی شده یا قبلاً استفاده شده است. لطفاً کد جدیدی درخواست کنید.",
+ "signin.code.getnew": "دریافت کد جدید",
+ "signin.code.instruction": "لطفا کدی که به <0>{email}</0> ارسال کردیم را وارد کنید.",
++ "signin.code.invalid": "کدی که وارد کردید نامعتبر است. لطفاً دوباره امتحان کنید.",
+ "signin.code.placeholder": "کد را اینجا تایپ کنید",
+ "signin.code.sent": "کد جدید به ایمیل شما ارسال شد.",
+ "signin.code.submit": "ارسال",
"signin.email.placeholder": "آدرس ایمیل",
"signin.message.email": "ادامه با ایمیل",
"signin.message.emaildisabled": "ورود با ایمیل توسط مدیر غیرفعال شده است. اگر مدیر هستید و نیاز به دسترسی دارید <0>اینجا کلیک کنید</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "اگر حساب یا دعوت‌نامه دارید، از گزینه‌های زیر برای ورود استفاده کنید.",
"signin.message.private.title": "<0>{0}</0> یک فضای خصوصی است؛ برای مشارکت باید وارد شوید.",
"signin.message.socialbutton.intro": "ورود با",
+ "signin.name.placeholder": "نام شما",
"validation.custom.maxattachments": "حداکثر تعداد {number} پیوست مجاز است.",
"validation.custom.maximagesize": "حجم تصویر باید کمتر از {kilobytes}KB باشد.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# برچسب} other {# برچسب}}",
- "signin.code.expired": "این کد منقضی شده یا قبلاً استفاده شده است. لطفاً کد جدیدی درخواست کنید.",
- "signin.code.invalid": "کدی که وارد کردید نامعتبر است. لطفاً دوباره امتحان کنید."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# برچسب} other {# برچسب}}"
}
diff --cc locale/fr/client.json
index aade80418,fcc6fe120..36a485728
--- a/locale/fr/client.json
+++ b/locale/fr/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Annuler",
"action.change": "changer",
"action.close": "Fermer",
"action.commentsfeed": "Flux de commentaires",
"action.confirm": "Confirmer",
+ "action.continue": "Continuer",
"action.copylink": "Copier le lien",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Supprimer",
"action.edit": "Modifier",
"action.markallasread": "Tout marquer comme lu",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Que se passe-t-il avec ce message ? Faites savoir à vos utilisateurs quels sont vos plans...",
"showpost.votespanel.more": "+{extraVotesCount} de plus",
"showpost.votespanel.seedetails": "voir les détails",
+ "signin.code.edit": "Modifier",
++ "signin.code.expired": "Ce code a expiré ou a déjà été utilisé. Veuillez en demander un nouveau.",
+ "signin.code.getnew": "Obtenez un nouveau code",
+ "signin.code.instruction": "Veuillez saisir le code que nous venons d'envoyer à <0>{email}</0>",
++ "signin.code.invalid": "Le code que vous avez saisi est invalide. Veuillez réessayer.",
+ "signin.code.placeholder": "Saisissez le code ici",
+ "signin.code.sent": "Un nouveau code a été envoyé à votre adresse e-mail.",
+ "signin.code.submit": "Soumettre",
"signin.email.placeholder": "Adresse email",
"signin.message.email": "Continuer avec une addresse email",
"signin.message.emaildisabled": "L'authentification par e-mail a été désactivée par un administrateur. Si vous avez un compte administrateur, <0>cliquez ici</0> pour vous connecter.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Si vous avez un compte ou une invitation, vous pouvez utiliser les options suivantes pour vous connecter.",
"signin.message.private.title": "<0>{0}</0> est un espace privé, vous devez vous connecter pour participer et voter.",
"signin.message.socialbutton.intro": "Se connecter avec",
+ "signin.name.placeholder": "Votre nom",
"validation.custom.maxattachments": "Un maximum de {number} pièces jointes est autorisé.",
"validation.custom.maximagesize": "La taille de l'image doit être inférieure à {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "Ce code a expiré ou a déjà été utilisé. Veuillez en demander un nouveau.",
- "signin.code.invalid": "Le code que vous avez saisi est invalide. Veuillez réessayer."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/it/client.json
index 3e57eaddd,008c95cc1..d705038bf
--- a/locale/it/client.json
+++ b/locale/it/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Cancella",
"action.change": "modifica",
"action.close": "Chiudi",
"action.commentsfeed": "Feed dei commenti",
"action.confirm": "Conferma",
+ "action.continue": "Continuare",
"action.copylink": "Copia il collegamento",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Cancella",
"action.edit": "Modifica",
"action.markallasread": "Segna tutto come letto",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Cosa succede con questo post? Fate sapere ai vostri utenti quali sono i vostri piani...",
"showpost.votespanel.more": "+{extraVotesCount} di più",
"showpost.votespanel.seedetails": "vedi dettagli",
+ "signin.code.edit": "Modificare",
++ "signin.code.expired": "Questo codice è scaduto o è già stato utilizzato. Richiedine uno nuovo.",
+ "signin.code.getnew": "Ottieni un nuovo codice",
+ "signin.code.instruction": "Inserisci il codice che abbiamo appena inviato a <0>{email}</0>",
++ "signin.code.invalid": "Il codice inserito non è valido. Riprova.",
+ "signin.code.placeholder": "Inserisci il codice qui",
+ "signin.code.sent": "Un nuovo codice è stato inviato alla tua email.",
+ "signin.code.submit": "Invia",
"signin.email.placeholder": "Indirizzo e-mail",
"signin.message.email": "Continua con l'email",
"signin.message.emaildisabled": "L'autenticazione email è stata disabilitata da un amministratore. Se hai un account amministratore e hai bisogno di bypassare questa restrizione, per favore <0>clicca qui</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Se si dispone di un account o di un invito, è possibile utilizzare le seguenti opzioni per accedere.",
"signin.message.private.title": "<0>{0}</0> è uno spazio privato, è necessario registrarsi per partecipare e votare.",
"signin.message.socialbutton.intro": "Accedi con",
+ "signin.name.placeholder": "Il tuo nome",
"validation.custom.maxattachments": "Sono consentiti al massimo {number} allegati.",
"validation.custom.maximagesize": "La dimensione dell'immagine deve essere inferiore a {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "Questo codice è scaduto o è già stato utilizzato. Richiedine uno nuovo.",
- "signin.code.invalid": "Il codice inserito non è valido. Riprova."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/ja/client.json
index 860c8f1b2,ea0fc08df..8d1875db8
--- a/locale/ja/client.json
+++ b/locale/ja/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "キャンセル",
"action.change": "変更",
"action.close": "閉じる",
"action.commentsfeed": "コメントフィード",
"action.confirm": "確認",
+ "action.continue": "続く",
"action.copylink": "リンクをコピー",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "削除",
"action.edit": "編集",
"action.markallasread": "すべて既読にする",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "この記事はどうなっていますか? あなたのプランをユーザーに知らせてください...",
"showpost.votespanel.more": "+{extraVotesCount} 以上",
"showpost.votespanel.seedetails": "詳細を表示",
+ "signin.code.edit": "編集",
++ "signin.code.expired": "このコードは期限切れか、既に使用されています。新しいコードをリクエストしてください。",
+ "signin.code.getnew": "新しいコードを取得する",
+ "signin.code.instruction": "<0>{email}</0> に送信したコードを入力してください。",
++ "signin.code.invalid": "入力したコードは無効です。もう一度お試しください。",
+ "signin.code.placeholder": "ここにコードを入力してください",
+ "signin.code.sent": "新しいコードがあなたのメールに送信されました。",
+ "signin.code.submit": "提出する",
"signin.email.placeholder": "電子メールアドレス",
"signin.message.email": "メールで続行",
"signin.message.emaildisabled": "メール認証は管理者によって無効にされています。管理者アカウントを持っていて、この制限を回避する必要がある場合は、<0>ここをクリック</0>してください。",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "アカウントや招待状をお持ちの場合は、以下のオプションを使用してサインインできます。",
"signin.message.private.title": "<0>{0}</0> はプライベートなスペースです。サインインして投票してください。",
"signin.message.socialbutton.intro": "ログイン",
+ "signin.name.placeholder": "あなたの名前",
"validation.custom.maxattachments": "最大 {number} 個の添付ファイルが許可されます。",
"validation.custom.maximagesize": "画像サイズは{kilobytes}KB未満である必要があります。",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "このコードは期限切れか、既に使用されています。新しいコードをリクエストしてください。",
- "signin.code.invalid": "入力したコードは無効です。もう一度お試しください。"
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/nl/client.json
index 2663b7fa3,c6837a0b3..5f9790748
--- a/locale/nl/client.json
+++ b/locale/nl/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Annuleren",
"action.change": "aanpassen",
"action.close": "Sluiten",
"action.commentsfeed": "Reactiefeed",
"action.confirm": "Bevestigen",
+ "action.continue": "Doorgaan",
"action.copylink": "Link kopiëren",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Verwijderen",
"action.edit": "Bewerken",
"action.markallasread": "Markeer alles als gelezen",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Wat gebeurt er met dit bericht? Laat je gebruikers weten wat je plannen zijn...",
"showpost.votespanel.more": "+{extraVotesCount} meer",
"showpost.votespanel.seedetails": "details bekijken",
+ "signin.code.edit": "Bewerking",
++ "signin.code.expired": "Deze code is verlopen of al gebruikt. Vraag een nieuwe aan.",
+ "signin.code.getnew": "Ontvang een nieuwe code",
+ "signin.code.instruction": "Typ de code in die we zojuist naar <0>{email}</0> hebben gestuurd",
++ "signin.code.invalid": "De ingevoerde code is ongeldig. Probeer het opnieuw.",
+ "signin.code.placeholder": "Typ hier de code in",
+ "signin.code.sent": "Er is een nieuwe code naar uw e-mailadres verzonden.",
+ "signin.code.submit": "Indienen",
"signin.email.placeholder": "E-mailadres",
"signin.message.email": "Doorgaan met e-mail",
"signin.message.emaildisabled": "Inloggen met e-mail is uitgeschakeld door een beheerder. Als u een beheerder account heeft en deze beperking moet omzeilen, <0>klik dan hier</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Als je een account of een uitnodiging hebt, kun je de volgende methodes gebruiken om in te loggen.",
"signin.message.private.title": "<0>{0}</0> is een privéruimte. U moet ingelogd zijn om deel te nemen en te stemmen.",
"signin.message.socialbutton.intro": "Inloggen met",
+ "signin.name.placeholder": "Jouw naam",
"validation.custom.maxattachments": "Er zijn maximaal {number} bijlagen toegestaan.",
"validation.custom.maximagesize": "De afbeeldingsgrootte moet kleiner zijn dan {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "Deze code is verlopen of al gebruikt. Vraag een nieuwe aan.",
- "signin.code.invalid": "De ingevoerde code is ongeldig. Probeer het opnieuw."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/pl/client.json
index 1cde157e3,285454b70..59dddbfc8
--- a/locale/pl/client.json
+++ b/locale/pl/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Anuluj",
"action.change": "zmień",
"action.close": "Zamknij",
"action.commentsfeed": "Kanał komentarzy",
"action.confirm": "Potwierdź",
+ "action.continue": "Kontynuować",
"action.copylink": "Kopiuj link",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Usuń",
"action.edit": "Edytuj",
"action.markallasread": "Oznacz wszystkie jako przeczytane",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Co się dzieje w temacie tego posta? Daj swoim użytkownikom znać o swoich planach...",
"showpost.votespanel.more": "+{extraVotesCount} więcej",
"showpost.votespanel.seedetails": "pokaż szczegóły",
+ "signin.code.edit": "Redagować",
++ "signin.code.expired": "Ten kod wygasł lub został już wykorzystany. Poproś o nowy.",
+ "signin.code.getnew": "Uzyskaj nowy kod",
+ "signin.code.instruction": "Proszę wpisać kod, który właśnie wysłaliśmy na adres <0>{email}</0>",
++ "signin.code.invalid": "Podany kod jest nieprawidłowy. Spróbuj ponownie.",
+ "signin.code.placeholder": "Wpisz tutaj kod",
+ "signin.code.sent": "Nowy kod został wysłany na Twój adres e-mail.",
+ "signin.code.submit": "Składać",
"signin.email.placeholder": "Adres e-mail",
"signin.message.email": "Kontynuuj z e-mailem",
"signin.message.emaildisabled": "Autoryzacja za pomocą adresu email została wyłączona przez administratora. Jeśli posiadasz konto administratora i chcesz obejść to ograniczenie <0>kliknij tutaj</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Jeśli posiadasz konto lub zaproszenie możesz użyć poniższych opcji aby się zalogować.",
"signin.message.private.title": "<0>{0}</0> to przestrzeń prywatna, musisz się zalogować, aby uczestniczyć i głosować.",
"signin.message.socialbutton.intro": "Zaloguj się za pomocą",
+ "signin.name.placeholder": "Twoje imię",
"validation.custom.maxattachments": "Maksymalna liczba załączników to {number}.",
"validation.custom.maximagesize": "Rozmiar obrazu musi być mniejszy niż {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} few {# tagów} many {# tagów} other {# tagi}}",
- "signin.code.expired": "Ten kod wygasł lub został już wykorzystany. Poproś o nowy.",
- "signin.code.invalid": "Podany kod jest nieprawidłowy. Spróbuj ponownie."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} few {# tagów} many {# tagów} other {# tagi}}"
}
diff --cc locale/pt-BR/client.json
index 74f38af93,232e99447..1e40df05a
--- a/locale/pt-BR/client.json
+++ b/locale/pt-BR/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Cancelar",
"action.change": "alterar",
"action.close": "Fechar",
"action.commentsfeed": "Feed de comentários",
"action.confirm": "Confirmar",
+ "action.continue": "Continuar",
"action.copylink": "Copiar link",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Deletar",
"action.edit": "Editar",
"action.markallasread": "Marcar todas como lidas",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "O que está acontecendo com esta postagem? Informe seus usuários quais são os seus planos...",
"showpost.votespanel.more": "+{extraVotesCount} mais",
"showpost.votespanel.seedetails": "ver detalhes",
+ "signin.code.edit": "Editar",
++ "signin.code.expired": "Este código expirou ou já foi usado. Solicite um novo.",
+ "signin.code.getnew": "Obtenha um novo código",
+ "signin.code.instruction": "Por favor, digite o código que acabamos de enviar para <0>{email}</0>",
++ "signin.code.invalid": "O código que você digitou é inválido. Por favor, tente novamente.",
+ "signin.code.placeholder": "Digite o código aqui",
+ "signin.code.sent": "Um novo código foi enviado para o seu e-mail.",
+ "signin.code.submit": "Enviar",
"signin.email.placeholder": "Endereço de e-mail",
"signin.message.email": "Entrar com email",
"signin.message.emaildisabled": "A autenticação por e-mail foi desativada por um administrador. Se você tem uma conta de administrador e precisa ignorar esta restrição, <0>clique aqui</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Se você tem uma conta ou um convite, você pode usar as seguintes opções para fazer o login.",
"signin.message.private.title": "<0>{0}</0> é um espaço privado, você deve se inscrever para participar e votar.",
"signin.message.socialbutton.intro": "Fazer login com",
+ "signin.name.placeholder": "Seu nome",
"validation.custom.maxattachments": "São permitidos no máximo {number} anexos.",
"validation.custom.maximagesize": "O tamanho da imagem deve ser menor que {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "Este código expirou ou já foi usado. Solicite um novo.",
- "signin.code.invalid": "O código que você digitou é inválido. Por favor, tente novamente."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/ru/client.json
index 6169d0c15,0552416ff..bff9d4841
--- a/locale/ru/client.json
+++ b/locale/ru/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Отмена",
"action.change": "изменить",
"action.close": "Закрыть",
"action.commentsfeed": "Лента комментариев",
"action.confirm": "Подтвердить",
+ "action.continue": "Продолжать",
"action.copylink": "Копировать ссылку",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Удалить",
"action.edit": "Изменить",
"action.markallasread": "Отметить всё как прочитанное",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Что произойдёт с этим предложением? Дайте людям знать о ваших планах...",
"showpost.votespanel.more": "и ещё {extraVotesCount}",
"showpost.votespanel.seedetails": "подробнее",
+ "signin.code.edit": "Редактировать",
++ "signin.code.expired": "Срок действия этого кода истёк или он уже был использован. Запросите новый.",
+ "signin.code.getnew": "Получить новый код",
+ "signin.code.instruction": "Пожалуйста, введите код, который мы только что отправили на номер <0>{email}</0>",
++ "signin.code.invalid": "Введённый вами код недействителен. Попробуйте ещё раз.",
+ "signin.code.placeholder": "Введите код здесь",
+ "signin.code.sent": "Новый код был отправлен на вашу электронную почту.",
+ "signin.code.submit": "Представлять на рассмотрение",
"signin.email.placeholder": "Адрес электронной почты",
"signin.message.email": "Продолжить с электронной почтой",
"signin.message.emaildisabled": "Аутентификация по адресу электронной почты отключена. <0>Я администратор и мне нужно обойти это ограничение</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Если у вас есть аккаунт или приглашение, вы можете использовать их для входа.",
"signin.message.private.title": "<0>{0}</0> является приватным пространством, вы должны войти в систему, чтобы принять участие и проголосовать.",
"signin.message.socialbutton.intro": "Войти с помощью",
+ "signin.name.placeholder": "Ваше имя",
"validation.custom.maxattachments": "Разрешено максимум {number} вложений.",
"validation.custom.maximagesize": "Размер изображения должен быть меньше {kilobytes}КБ.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "Срок действия этого кода истёк или он уже был использован. Запросите новый.",
- "signin.code.invalid": "Введённый вами код недействителен. Попробуйте ещё раз."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/sk/client.json
index b235a862c,315593733..d051eef1a
--- a/locale/sk/client.json
+++ b/locale/sk/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Zrušiť",
"action.change": "zmeniť",
"action.close": "Zavrieť",
"action.commentsfeed": "Kanál komentárov",
"action.confirm": "Potvrdiť",
+ "action.continue": "Pokračovať",
"action.copylink": "Kopírovať odkaz",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Vymazať",
"action.edit": "Upraviť",
"action.markallasread": "Označiť všetko ako prečítané",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Čo sa deje s týmto príspevkom? Dajte svojim používateľom vedieť, aké máte plány...",
"showpost.votespanel.more": "+{extraVotesCount} viac",
"showpost.votespanel.seedetails": "pozri detaily",
+ "signin.code.edit": "Upraviť",
++ "signin.code.expired": "Platnosť tohto kódu vypršala alebo už bol použitý. Požiadajte o nový.",
+ "signin.code.getnew": "Získať nový kód",
+ "signin.code.instruction": "Zadajte kód, ktorý sme práve poslali na adresu <0>{email}</0>",
++ "signin.code.invalid": "Zadaný kód je neplatný. Skúste to znova.",
+ "signin.code.placeholder": "Sem zadajte kód",
+ "signin.code.sent": "Nový kód bol odoslaný na váš e-mail.",
+ "signin.code.submit": "Odoslať",
"signin.email.placeholder": "Emailová adresa",
"signin.message.email": "Pokračovať pomocou e-mailu",
"signin.message.emaildisabled": "Správca zakázal overovanie emailu. Ak máte účet správcu a potrebujete obísť toto obmedzenie, <0>kliknite sem</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Ak máte účet alebo pozvánku, na prihlásenie môžete použiť nasledujúce možnosti.",
"signin.message.private.title": "<0>{0}</0> je súkromný priestor, ak sa chcete zúčastniť diskusie a hlasovať, musíte sa prihlásiť.",
"signin.message.socialbutton.intro": "Prihlásiť sa pomocou",
+ "signin.name.placeholder": "Vaše meno",
"validation.custom.maxattachments": "Maximálny počet príloh je {number}.",
"validation.custom.maximagesize": "Veľkosť obrázka musí byť menšia ako {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "Platnosť tohto kódu vypršala alebo už bol použitý. Požiadajte o nový.",
- "signin.code.invalid": "Zadaný kód je neplatný. Skúste to znova."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc locale/sv-SE/client.json
index dbc7a216e,ee37f3784..1eba266b9
--- a/locale/sv-SE/client.json
+++ b/locale/sv-SE/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "Avbryt",
"action.change": "ändra",
"action.close": "Stäng",
"action.commentsfeed": "Kommentarflöde",
"action.confirm": "Bekräfta",
+ "action.continue": "Fortsätta",
"action.copylink": "Kopiera länk",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Radera",
"action.edit": "Ändra",
"action.markallasread": "Markera alla som lästa",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Vad händer med det här inlägget? Låt dina användare veta vad du planerar...",
"showpost.votespanel.more": "+{extraVotesCount} ytterligare",
"showpost.votespanel.seedetails": "visa detaljer",
+ "signin.code.edit": "Redigera",
++ "signin.code.expired": "Denna kod har gått ut eller har redan använts. Vänligen begär en ny.",
+ "signin.code.getnew": "Skaffa en ny kod",
+ "signin.code.instruction": "Vänligen skriv in koden vi just skickade till <0>{email}</0>",
++ "signin.code.invalid": "Koden du angav är ogiltig. Försök igen.",
+ "signin.code.placeholder": "Skriv in koden här",
+ "signin.code.sent": "En ny kod har skickats till din e-postadress.",
+ "signin.code.submit": "Överlämna",
"signin.email.placeholder": "E-postadress",
"signin.message.email": "Fortsätt med e-post",
"signin.message.emaildisabled": "E-postautentisering har inaktiverats av en administratör. Om du har ett administratörskonto och behöver kringgå denna begränsning, <0>klicka här</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Om du har ett konto eller en inbjudan kan du använda följande alternativ för att logga in.",
"signin.message.private.title": "<0>{0}</0> är ett privat utrymme, du måste logga in för att delta och rösta.",
"signin.message.socialbutton.intro": "Logga in med",
+ "signin.name.placeholder": "Ditt namn",
"validation.custom.maxattachments": "Maximalt {number} bilagor är tillåtna.",
"validation.custom.maximagesize": "Bildstorleken måste vara mindre än {kilobytes}KB.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, =1 {# etikett} other {# etiketter}}",
- "signin.code.expired": "Denna kod har gått ut eller har redan använts. Vänligen begär en ny.",
- "signin.code.invalid": "Koden du angav är ogiltig. Försök igen."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, =1 {# etikett} other {# etiketter}}"
}
diff --cc locale/tr/client.json
index 335b3697f,b76f1ec1c..2ba0c0688
--- a/locale/tr/client.json
+++ b/locale/tr/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "İptal",
"action.change": "değiştir",
"action.close": "Kapat",
"action.commentsfeed": "Yorum Beslemesi",
"action.confirm": "Onayla",
+ "action.continue": "Devam etmek",
"action.copylink": "Bağlantıyı kopyala",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "Sil",
"action.edit": "Düzenle",
"action.markallasread": "Tümünü Okundu olarak işaretle",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "Bu öneriye neler oluyor? Kullanıcılara planlarınız hakkında bilgi verin...",
"showpost.votespanel.more": "+{extraVotesCount} daha",
"showpost.votespanel.seedetails": "ayrıntıları gör",
+ "signin.code.edit": "Düzenlemek",
++ "signin.code.expired": "Bu kodun süresi dolmuş veya daha önce kullanılmış. Lütfen yenisini talep edin.",
+ "signin.code.getnew": "Yeni bir kod al",
+ "signin.code.instruction": "Lütfen az önce <0>{email}</0> adresine gönderdiğimiz kodu yazın",
++ "signin.code.invalid": "Girdiğiniz kod geçersiz. Lütfen tekrar deneyin.",
+ "signin.code.placeholder": "Kodu buraya yazın",
+ "signin.code.sent": "E-postanıza yeni bir kod gönderildi.",
+ "signin.code.submit": "Göndermek",
"signin.email.placeholder": "E-posta adresi",
"signin.message.email": "E-postayla devam et",
"signin.message.emaildisabled": "E-posta doğrulaması bir yönetici tarafından devre dışı bırakıldı. Eğer bir yönetici hesabınız varsa ve bu kısıtı kaldırmak istiyorsanız <0>buraya tıklayın</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "Eğer bir hesabınız ya da davetiyeniz varsa aşağıdaki seçenekleri kullanarak giriş yapabilirsiniz.",
"signin.message.private.title": "<0>{0}</0> özel bir alandır ve katılabilmek için davetiye almanız gerekir.",
"signin.message.socialbutton.intro": "İle giriş yapın",
+ "signin.name.placeholder": "Adınız",
"validation.custom.maxattachments": "En fazla {number} ek dosyaya izin verilir.",
"validation.custom.maximagesize": "Resim boyutu {kilobytes}KB'den küçük olmalıdır.",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# etiket} other {# etiket}}",
- "signin.code.expired": "Bu kodun süresi dolmuş veya daha önce kullanılmış. Lütfen yenisini talep edin.",
- "signin.code.invalid": "Girdiğiniz kod geçersiz. Lütfen tekrar deneyin."
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# etiket} other {# etiket}}"
}
diff --cc locale/zh-CN/client.json
index 6a60a265e,8f4769f6d..9e992ad1b
--- a/locale/zh-CN/client.json
+++ b/locale/zh-CN/client.json
@@@ -1,14 -1,11 +1,13 @@@
{
+ "action.approve": "",
- "action.approve.verify": "",
"action.cancel": "取消",
"action.change": "修改",
"action.close": "关闭",
"action.commentsfeed": "评论提要",
"action.confirm": "确认",
+ "action.continue": "继续",
"action.copylink": "复制链接",
+ "action.decline": "",
- "action.decline.block": "",
"action.delete": "删除",
"action.edit": "编辑",
"action.markallasread": "将全部标记为已读",
@@@ -245,6 -203,12 +225,14 @@@
"showpost.responseform.text.placeholder": "这篇文章怎么了?让你的用户知道你的计划是什么...",
"showpost.votespanel.more": "+{extraVotesCount} 更多",
"showpost.votespanel.seedetails": "查看详细信息",
+ "signin.code.edit": "编辑",
++ "signin.code.expired": "此优惠码已过期或已被使用,请申请新的优惠码。",
+ "signin.code.getnew": "获取新代码",
+ "signin.code.instruction": "请输入我们刚刚发送到 <0>{email}</0> 的验证码",
++ "signin.code.invalid": "您输入的验证码无效,请重试。",
+ "signin.code.placeholder": "在此处输入代码",
+ "signin.code.sent": "新的验证码已发送到您的邮箱。",
+ "signin.code.submit": "提交",
"signin.email.placeholder": "电子邮件",
"signin.message.email": "通过电子邮件继续",
"signin.message.emaildisabled": "管理员已禁用电子邮件身份验证。如果您有管理员帐户并且需要绕过此限制,请 <0>点击这里</0>.",
@@@ -255,7 -219,10 +243,8 @@@
"signin.message.private.text": "如果您有帐户或邀请,您可以使用以下选项登录.",
"signin.message.private.title": "<0>{0}</0> 这是一个私人空间,您必须登录才能参与和投票.",
"signin.message.socialbutton.intro": "使用以下方式登录",
+ "signin.name.placeholder": "你的名字",
"validation.custom.maxattachments": "最多允许 {number} 个附件。",
"validation.custom.maximagesize": "图像大小必须小于{kilobytes}KB。",
- "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}",
- "signin.code.expired": "此优惠码已过期或已被使用,请申请新的优惠码。",
- "signin.code.invalid": "您输入的验证码无效,请重试。"
+ "{count, plural, one {# tag} other {# tags}}": "{count, plural, one {# tag} other {# tags}}"
}
diff --cc public/pages/Home/components/ShareFeedback.tsx
index cf8750aeb,c13ae6314..5a99410df
--- a/public/pages/Home/components/ShareFeedback.tsx
+++ b/public/pages/Home/components/ShareFeedback.tsx
@@@ -191,11 -192,7 +191,11 @@@ export const ShareFeedback: React.FC<Sh
clearError()
clearCache()
clearAttachments()
- if (fider.session.isModerationRequired) {
- setPostCreated()
++ if (fider.session.isModerationRequiredForNewPost) {
+ cache.session.set("POST_CREATED_MODERATION", "true")
+ } else {
+ cache.session.set("POST_CREATED_SUCCESS", "true")
+ }
location.href = `/posts/${result.data.number}/${result.data.slug}`
} else if (result.error) {
setError(result.error)
diff --cc public/pages/ShowPost/ShowPost.page.tsx
index 66b73153b,90cec7f30..cf88c2b0a
--- a/public/pages/ShowPost/ShowPost.page.tsx
+++ b/public/pages/ShowPost/ShowPost.page.tsx
@@@ -250,37 -218,6 +250,37 @@@ export default function ShowPostPage(pr
) : (
<>
<h1 className="text-large text-break">{props.post.title}</h1>
+
+ {/* Moderation status banner for unapproved posts */}
- {fider.session.isModerationRequired && !props.post.isApproved && (
++ {fider.session.showModerationControls && !props.post.isApproved && (
+ <div className="mt-4">
+ {fider.session.isAuthenticated && fider.session.user.id === props.post.user.id && (
+ <div className="text-muted text-sm p-3 bg-yellow-50 rounded border-l-4 border-yellow-500">
+ <Trans id="showpost.moderation.awaiting">Awaiting moderation.</Trans>
+ </div>
+ )}
+
+ {/* Admin moderation buttons */}
+ {fider.session.isAuthenticated && fider.session.user.isCollaborator && (
+ <div className="p-3 bg-blue-50 rounded border-l-4 border-blue-500">
+ <div className="mb-2 text-sm font-medium text-blue-800">
+ <Trans id="showpost.moderation.admin.title">Post Moderation</Trans>
+ </div>
+ <div className="text-sm text-blue-700 mb-3">
+ <Trans id="showpost.moderation.admin.description">This post is awaiting your approval to be visible to all users.</Trans>
+ </div>
+ <HStack spacing={2}>
+ <Button variant="primary" size="small" onClick={handleApprovePost}>
+ <Trans id="action.approve">Approve</Trans>
+ </Button>
+ <Button variant="danger" size="small" onClick={handleDeclinePost}>
+ <Trans id="action.decline">Decline</Trans>
+ </Button>
+ </HStack>
+ </div>
+ )}
+ </div>
+ )}
</>
)}
</div>
diff --cc public/pages/ShowPost/components/ShowComment.tsx
index 1a557b8db,fb090f084..f77902e05
--- a/public/pages/ShowPost/components/ShowComment.tsx
+++ b/public/pages/ShowPost/components/ShowComment.tsx
@@@ -245,38 -225,6 +245,38 @@@ export const ShowComment = (props: Show
) : (
<>
<Markdown text={comment.content} style="full" />
+
+ {/* Moderation status banner for unapproved comments */}
- {fider.session.isModerationRequired && !comment.isApproved && (
++ {fider.session.tenant.isModerationEnabled && !comment.isApproved && (
+ <div className="mt-3">
+ {fider.session.isAuthenticated && fider.session.user.id === comment.user.id && (
+ <div className="text-muted text-xs p-2 bg-yellow-50 rounded border-l-4 border-yellow-500">
+ <Trans id="showpost.moderation.comment.awaiting">Awaiting moderation.</Trans>
+ </div>
+ )}
+
+ {/* Admin moderation buttons */}
+ {fider.session.isAuthenticated && fider.session.user.isCollaborator && (
+ <div className="p-2 bg-blue-50 rounded border-l-4 border-blue-500">
+ <div className="mb-1 text-xs font-medium text-blue-800">
+ <Trans id="showpost.moderation.comment.admin.title">Comment Moderation</Trans>
+ </div>
+ <div className="text-xs text-blue-700 mb-2">
+ <Trans id="showpost.moderation.comment.admin.description">This comment is awaiting your approval to be visible to all users.</Trans>
+ </div>
+ <HStack spacing={1}>
+ <Button variant="primary" size="small" onClick={handleApproveComment}>
+ <Trans id="action.approve">Approve</Trans>
+ </Button>
+ <Button variant="danger" size="small" onClick={handleDeclineComment}>
+ <Trans id="action.decline">Decline</Trans>
+ </Button>
+ </HStack>
+ </div>
+ )}
+ </div>
+ )}
+
<Reactions reactions={localReactionCounts} emojiSelectorRef={emojiSelectorRef} toggleReaction={toggleReaction} />
</>
)}
diff --cc public/services/fider.ts
index 2793fa41c,5db8cd1b6..a98a711cc
--- a/public/services/fider.ts
+++ b/public/services/fider.ts
@@@ -42,14 -40,6 +42,18 @@@ export class FiderSession
public get isAuthenticated(): boolean {
return !!this.pUser
}
+
- public get isModerationRequired(): boolean {
++ public get isModerationRequiredForNewPost(): boolean {
+ return this.isCommercialEnabled && this.pTenant.isModerationEnabled && this.isAuthenticated && this.pUser!.role === "visitor" && !this.pUser!.isTrusted
+ }
+
++ public get showModerationControls(): boolean {
++ return this.isCommercialEnabled && this.pTenant.isModerationEnabled && this.isAuthenticated && (this.pUser?.isCollaborator ?? false)
++ }
++
+ public get isCommercialEnabled(): boolean {
+ return this.pSettings.isCommercialEnabled
+ }
}
export class FiderImpl {