Open platform to collect and prioritize feedback
Put the code in the email subject
Matt Robertsbb6e5729566a
diff --git a/locale/ar/server.json b/locale/ar/server.jsonindex fb0e977bc..a43e4bd97 100644--- a/locale/ar/server.json+++ b/locale/ar/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> تم <strong>حذفه</strong>.","email.new_comment.text": "<strong>{userName}</strong> ترك تعليقًا على <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> أنشأ منشورًا جديدًا <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "سجل الدخول إلى {siteName}",+ "email.signin_email.subject": "رمز تسجيل الدخول إلى {siteName} هو {code}","email.signin_email.text": "لقد طلبت منا أن نرسل لك رابط تسجيل الدخول وهنا هو كذلك.","email.signin_email.confirmation": "انقر على الرابط أدناه لتسجيل الدخول إلى <strong>{siteName}</strong>.","email.signup_email.subject": "موقع فايـدر الجديد الخاص بك",diff --git a/locale/cs/server.json b/locale/cs/server.jsonindex b6f22f20a..2dfb812a2 100644--- a/locale/cs/server.json+++ b/locale/cs/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "Soubor <strong>{title}</strong> byl <strong>smazán</strong>.","email.new_comment.text": "<strong>{userName}</strong> zanechal(a) komentář k příspěvku <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> vytvořil(a) nový příspěvek <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Přihlaste se do {siteName}",+ "email.signin_email.subject": "Váš přihlašovací kód pro {siteName} je {code}","email.signin_email.text": "Požádali jste nás o zaslání přihlašovacího odkazu a tady je.","email.signin_email.confirmation": "Klikněte na odkaz níže a přihlaste se do <strong>{siteName}</strong>.","email.signup_email.subject": "Vaše nové stránky Fideru",diff --git a/locale/de/server.json b/locale/de/server.jsonindex b9c73d8d5..bbf520042 100644--- a/locale/de/server.json+++ b/locale/de/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> wurde <strong>gelöscht</strong>.","email.new_comment.text": "<strong>{userName}</strong> hinterliess einen Kommentar auf <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> hat einen neuen Beitrag <strong>{title} ({postLink})</strong> erstellt.",- "email.signin_email.subject": "Auf {siteName} registrieren",+ "email.signin_email.subject": "Ihr Anmeldecode für {siteName} ist {code}","email.signin_email.text": "Du hast uns gebeten, dir einen Login-Link zu schicken, und das hier ist er.","email.signin_email.confirmation": "Klick auf den Link unten, um dich bei <strong>{siteName}</strong> anzumelden.","email.signup_email.subject": "Deine neue Fider-Seite",diff --git a/locale/el/server.json b/locale/el/server.jsonindex 4fd94a43e..21d3693aa 100644--- a/locale/el/server.json+++ b/locale/el/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> έχει <strong>διαγραφεί</strong>.","email.new_comment.text": "<strong>{userName}</strong> άφησε ένα σχόλιο σχετικά με <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> δημιούργησε μια νέα ανάρτηση <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Συνδεθείτε στο {siteName}",+ "email.signin_email.subject": "Ο κωδικός σύνδεσής σας για το {siteName} είναι {code}","email.signin_email.text": "Μας ζητήσατε να σας στείλουμε έναν σύνδεσμο σύνδεσης και εδώ είναι.","email.signin_email.confirmation": "Κάντε κλικ στον παρακάτω σύνδεσμο για να συνδεθείτε στο <strong>{siteName}</strong>.","email.signup_email.subject": "Το νέο σας Fider site",diff --git a/locale/en/server.json b/locale/en/server.jsonindex 7bdb0afd7..e2bd144eb 100644--- a/locale/en/server.json+++ b/locale/en/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> has been <strong>deleted</strong>.","email.new_comment.text": "<strong>{userName}</strong> left a comment on <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> created a new post <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Sign in to {siteName}",+ "email.signin_email.subject": "Your sign in code for {siteName} is {code}","email.signin_email.text": "Here is your sign-in code.","email.signin_email.confirmation": "Use the one-time code below to sign in to <strong>{siteName}</strong>.","email.signup_email.subject": "Your new Fider site",diff --git a/locale/es-ES/server.json b/locale/es-ES/server.jsonindex 41ca3cc77..4b318486d 100644--- a/locale/es-ES/server.json+++ b/locale/es-ES/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> ha sido <strong>eliminado</strong>.","email.new_comment.text": "<strong>{userName}</strong> dejó un comentario en <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> dejó un comentario en <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Iniciar sesión en {siteName}",+ "email.signin_email.subject": "Su código de inicio de sesión para {siteName} es {code}","email.signin_email.text": "Nos ha pedido que le enviemos un enlace de inicio de sesión y aquí está.","email.signin_email.confirmation": "Haz clic en el siguiente enlace para iniciar sesión en <strong>{siteName}</strong>.","email.signup_email.subject": "Tu nuevo sitio de Fider",diff --git a/locale/fa/server.json b/locale/fa/server.jsonindex 5880dc086..3defc857d 100644--- a/locale/fa/server.json+++ b/locale/fa/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> <strong>حذف</strong> شد.","email.new_comment.text": "<strong>{userName}</strong> در <strong>{title} ({postLink})</strong> نظری گذاشت.","email.new_post.text": "<strong>{userName}</strong> پست جدیدی ایجاد کرد <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "ورود به {siteName}",+ "email.signin_email.subject": "کد ورود شما برای {siteName} این است: {code}","email.signin_email.text": "شما درخواست کردید لینکی برای ورود ارسال کنیم و اینک در اختیارتان است.","email.signin_email.confirmation": "برای ورود به <strong>{siteName}</strong> روی لینک زیر کلیک کنید.","email.signup_email.subject": "سایت Fider جدید شما",diff --git a/locale/fr/server.json b/locale/fr/server.jsonindex 9770ee255..6794bf316 100644--- a/locale/fr/server.json+++ b/locale/fr/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> a été <strong>supprimé</strong>.","email.new_comment.text": "<strong>{userName}</strong> a laissé un commentaire sur <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> a créé un nouveau message <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Se connecter à {siteName}",+ "email.signin_email.subject": "Votre code de connexion pour {siteName} est {code}","email.signin_email.text": "Vous nous avez demandé de vous envoyer un lien de connexion et le voici.","email.signin_email.confirmation": "Cliquez sur le lien ci-dessous pour vous connecter à <strong>{siteName}</strong>.","email.signup_email.subject": "Votre nouveau site Fider",diff --git a/locale/it/server.json b/locale/it/server.jsonindex 3d745ab62..8df7b5d38 100644--- a/locale/it/server.json+++ b/locale/it/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> è stato <strong>cancellato</strong>.","email.new_comment.text": "<strong>{userName}</strong> ha lasciato un commento su <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> ha creato un nuovo post <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Accedi a {siteName}",+ "email.signin_email.subject": "Il tuo codice di accesso per {siteName} è {code}","email.signin_email.text": "Ci hai chiesto d'inviarti un link di accesso ed è qui.","email.signin_email.confirmation": "Clicca sul link qui sotto per accedere a <strong>{siteName}</strong>.","email.signup_email.subject": "Il tuo nuovo sito Fider",diff --git a/locale/ja/server.json b/locale/ja/server.jsonindex 855ad5709..5dc35d560 100644--- a/locale/ja/server.json+++ b/locale/ja/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> は <strong>削除されました</strong>。","email.new_comment.text": "<strong>{userName}</strong> さんが <strong>{title} ({postLink})</strong> にコメントを残しました。","email.new_post.text": "<strong>{userName}</strong> が新しい投稿 <strong>{title} ({postLink})</strong> を作成しました。",- "email.signin_email.subject": "{siteName} にログイン",+ "email.signin_email.subject": "{siteName} のサインインコードは {code} です","email.signin_email.text": "ご要望のサインインリンクはこれです。","email.signin_email.confirmation": "<strong>{siteName}</strong> にサインインするには、下のリンクをクリックしてください。","email.signup_email.subject": "あなたの新しい Fider サイト",diff --git a/locale/ko/server.json b/locale/ko/server.jsonindex d60f2a2f3..5e2403118 100644--- a/locale/ko/server.json+++ b/locale/ko/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong>이 <strong>삭제되었습니다</strong>.","email.new_comment.text": "<strong>{userName}</strong>님이 <strong>{title} ({postLink})</strong>에 댓글을 남겼습니다.","email.new_post.text": "<strong>{userName}</strong>님이 새 게시물 <strong>{title} ({postLink})</strong>을 만들었습니다.",- "email.signin_email.subject": "{siteName}에 로그인하세요",+ "email.signin_email.subject": "{siteName}의 로그인 코드는 {code}입니다","email.signin_email.text": "귀하께서 로그인 링크를 보내달라고 요청하셨고, 여기에 링크가 있습니다.","email.signin_email.confirmation": "아래 링크를 클릭하여 <strong>{siteName}</strong>에 로그인하세요.","email.signup_email.subject": "새로운 Fider 사이트",diff --git a/locale/nl/server.json b/locale/nl/server.jsonindex 1593a9695..5fa4678de 100644--- a/locale/nl/server.json+++ b/locale/nl/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> is <strong>verwijderd</strong>.","email.new_comment.text": "<strong>{userName}</strong> heeft een reactie achtergelaten op <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> heeft een nieuw bericht gemaakt <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Log in bij {siteName}",+ "email.signin_email.subject": "Uw inlogcode voor {siteName} is {code}","email.signin_email.text": "Je hebt ons gevraagd om een link om in te loggen en hier is-ie dan.","email.signin_email.confirmation": "Klik op de link hieronder om in te loggen op <strong>{siteName}</strong>.","email.signup_email.subject": "Jouw nieuwe Fider-site",diff --git a/locale/pl/server.json b/locale/pl/server.jsonindex f5cbea568..f6d81bbd3 100644--- a/locale/pl/server.json+++ b/locale/pl/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> został <strong>usunięty</strong>.","email.new_comment.text": "<strong>{userName}</strong> skomentował <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> opublikował post <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Zaloguj się do {siteName}",+ "email.signin_email.subject": "Twój kod logowania do {siteName} to {code}","email.signin_email.text": "Poprosiłeś o wysłanie linku do logowania i oto on.","email.signin_email.confirmation": "Kliknij poniższy link, aby zalogować się do <strong>{siteName}</strong>.","email.signup_email.subject": "Twój nowy Fider",diff --git a/locale/pt-BR/server.json b/locale/pt-BR/server.jsonindex d51a7e341..226f459f7 100644--- a/locale/pt-BR/server.json+++ b/locale/pt-BR/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> foi <strong>removido</strong>.","email.new_comment.text": "<strong>{userName}</strong> deixou um comentário em <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> criou uma nova postagem <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Seu link de acesso a {siteName}",+ "email.signin_email.subject": "Seu código de acesso para {siteName} é {code}","email.signin_email.text": "Você solicitou um link para login e aqui está.","email.signin_email.confirmation": "Clique no link abaixo para fazer login em <strong>{siteName}</strong>.","email.signup_email.subject": "Seu novo site no Fider",diff --git a/locale/ru/server.json b/locale/ru/server.jsonindex bb34f86b3..082424a53 100644--- a/locale/ru/server.json+++ b/locale/ru/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "Пост <strong>{title}</strong> был <strong>удалён</strong>.","email.new_comment.text": "<strong>{userName}</strong> оставил комментарий на <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> создал новый пост: <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Вход на {siteName}",+ "email.signin_email.subject": "Ваш код входа для {siteName}: {code}","email.signin_email.text": "Вы попросили отправить ссылку для входа, и вот она.","email.signin_email.confirmation": "Перейдите по ссылке ниже, чтобы войти на <strong>{siteName}</strong>.","email.signup_email.subject": "Ваш новый сайт с Fider",diff --git a/locale/si-LK/server.json b/locale/si-LK/server.jsonindex a2244335a..09169d9fa 100644--- a/locale/si-LK/server.json+++ b/locale/si-LK/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> මකා දමා ඇත</strong>.","email.new_comment.text": "<strong>{userName}</strong> <strong>{title} ({postLink})</strong> හි අදහසක් දැක්වීය.","email.new_post.text": "<strong>{userName}</strong> නව සටහනක් නිර්මාණය කළා <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "{siteName} වෙත පුරනය වන්න",+ "email.signin_email.subject": "{siteName} සඳහා ඔබගේ පිවිසුම් කේතය {code} වේ","email.signin_email.text": "ඔබ අපෙන් ඔබට පුරනය වීමේ සබැඳියක් එවන ලෙස ඉල්ලා සිටියා, මෙන්න එය.","email.signin_email.confirmation": "<strong>{siteName}</strong> වෙත පුරනය වීමට පහත සබැඳිය ක්ලික් කරන්න.","email.signup_email.subject": "ඔබේ නව ෆයිඩර් අඩවිය",diff --git a/locale/sk/server.json b/locale/sk/server.jsonindex 0fe43caa2..83f22f4fc 100644--- a/locale/sk/server.json+++ b/locale/sk/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "Príspevok <strong>{title}</strong> bol <strong>vymazaný</strong>.","email.new_comment.text": "<strong>{userName}</strong> zanechal komentár na príspevku <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> vytvoril nový príspevok <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Prihláste sa do {siteName}",+ "email.signin_email.subject": "Váš prihlasovací kód pre {siteName} je {code}","email.signin_email.text": "Požiadali ste nás, aby sme vám poslali odkaz na prihlásenie, a tu je.","email.signin_email.confirmation": "Prihláste sa kliknutím na odkaz nižšie <strong>{siteName}</strong>.","email.signup_email.subject": "Vaša nová stránka Fider",diff --git a/locale/sv-SE/server.json b/locale/sv-SE/server.jsonindex 0eb7253f4..8febef244 100644--- a/locale/sv-SE/server.json+++ b/locale/sv-SE/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> har <strong>raderats</strong>.","email.new_comment.text": "<strong>{userName}</strong> skrev en kommentar på <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> skapade ett nytt inlägg <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "Logga in på {siteName}",+ "email.signin_email.subject": "Din inloggningskod för {siteName} är {code}","email.signin_email.text": "Du bad oss att skicka dig en inloggningslänk och här är den.","email.signin_email.confirmation": "Klicka på länken nedan för att logga in på <strong>{siteName}</strong>.","email.signup_email.subject": "Din nya Fider-webbplats",diff --git a/locale/tr/server.json b/locale/tr/server.jsonindex 38e04e350..ba034029d 100644--- a/locale/tr/server.json+++ b/locale/tr/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> <strong>silinmiştir</strong>.","email.new_comment.text": "<strong>{userName}</strong>, <strong>{title} ({postLink})</strong> kaydına yorum eklemiştir.","email.new_post.text": "<strong>{userName}</strong>, <strong>{title} ({postLink})</strong> yeni bir kayıt oluşturmuştur.",- "email.signin_email.subject": "{siteName} sayfasına giriş yapın",+ "email.signin_email.subject": "{siteName} için giriş kodunuz {code}","email.signin_email.text": "Bizden bir giriş bağlantısı talep etmiştiniz, işte burada bulabilirsiniz.","email.signin_email.confirmation": "<strong>{siteName}</strong> alanına giriş yapabilmek için aşağıdaki bağlantıya tıklayın.","email.signup_email.subject": "Yeni Fider sayfanız",diff --git a/locale/zh-CN/server.json b/locale/zh-CN/server.jsonindex a0f876c80..e4e14fe16 100644--- a/locale/zh-CN/server.json+++ b/locale/zh-CN/server.json@@ -52,7 +52,7 @@"email.delete_post.text": "<strong>{title}</strong> 已经 <strong>删除了</strong>.","email.new_comment.text": "<strong>{userName}</strong> 发表评论 <strong>{title} ({postLink})</strong>.","email.new_post.text": "<strong>{userName}</strong> 创建了一个新帖子 <strong>{title} ({postLink})</strong>.",- "email.signin_email.subject": "登录到 {siteName}",+ "email.signin_email.subject": "您的 {siteName} 登录代码是 {code}","email.signin_email.text": "您要求我们向您发送登录链接,现在是.","email.signin_email.confirmation": "单击下面的链接登录 <strong>{siteName}</strong>.","email.signup_email.subject": "您的新 Fider 网站",diff --git a/views/email/signin_email.html b/views/email/signin_email.htmlindex 20eb26bd3..45af3795d 100644--- a/views/email/signin_email.html+++ b/views/email/signin_email.html@@ -1,4 +1,4 @@-{{define "subject"}}{{ translate "email.signin_email.subject" (dict "siteName" .siteName) }}{{end}}+{{define "subject"}}{{ translate "email.signin_email.subject" (dict "siteName" .siteName "code" .code) }}{{end}}{{define "body"}}<tr>