logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: cb50ecdb073fdf88b9c535edd764f5de722b44e2
parent: 137912468216c1e7467212b7573b613f479eabb8
Author: Hiroaki Ninomiya <me@treby.info>
Date:   Tue, 16 May 2017 07:41:09 +0900

chore(landing_strip): hide signup path unless the instance allows registration. (#3055)


Diffstat:

Mapp/helpers/application_helper.rb4++++
Mapp/views/shared/_landing_strip.html.haml6+++---
Mconfig/locales/ar.yml3++-
Mconfig/locales/bg.yml3++-
Mconfig/locales/de.yml3++-
Mconfig/locales/en.yml3++-
Mconfig/locales/eo.yml3++-
Mconfig/locales/es.yml3++-
Mconfig/locales/fa.yml1+
Mconfig/locales/fi.yml3++-
Mconfig/locales/fr.yml3++-
Mconfig/locales/he.yml1+
Mconfig/locales/hr.yml3++-
Mconfig/locales/hu.yml2++
Mconfig/locales/id.yml3++-
Mconfig/locales/io.yml3++-
Mconfig/locales/it.yml3++-
Mconfig/locales/ja.yml3++-
Mconfig/locales/nl.yml1+
Mconfig/locales/no.yml3++-
Mconfig/locales/oc.yml2+-
Mconfig/locales/pl.yml3++-
Mconfig/locales/pt-BR.yml3++-
Mconfig/locales/pt.yml2++
Mconfig/locales/ru.yml3++-
Mconfig/locales/th.yml3++-
Mconfig/locales/tr.yml3++-
Mconfig/locales/uk.yml3++-
Mconfig/locales/zh-CN.yml3++-
Mconfig/locales/zh-HK.yml3++-
Mconfig/locales/zh-TW.yml3++-
31 files changed, 61 insertions(+), 27 deletions(-)

diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb @@ -9,6 +9,10 @@ module ApplicationHelper !user_signed_in? && !single_user_mode? end + def open_registrations? + Setting.open_registrations + end + def add_rtl_body_class(other_classes) other_classes = "#{other_classes} rtl" if [:ar, :fa, :he].include?(I18n.locale) other_classes diff --git a/app/views/shared/_landing_strip.html.haml b/app/views/shared/_landing_strip.html.haml @@ -1,6 +1,6 @@ .landing-strip = t('landing_strip_html', name: content_tag(:span, display_name(account), class: :emojify), - domain: site_hostname, - link_to_root_path: link_to(content_tag(:strong, site_hostname), root_path), - sign_up_path: new_user_registration_path) + link_to_root_path: link_to(content_tag(:strong, site_hostname), root_path)) + - if open_registrations? + = t('landing_strip_signup_html', sign_up_path: new_user_registration_path) diff --git a/config/locales/ar.yml b/config/locales/ar.yml @@ -93,7 +93,8 @@ ar: blocking: قائمة المحظورين following: قائمة المستخدمين المتبوعين upload: تحميل - landing_strip_html: <strong>%{name}</strong> is a user on <strong>%{domain}</strong>. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can <a href="%{sign_up_path}">sign up here</a>. + landing_strip_html: <strong>%{name}</strong> is a user on <strong>%{domain}</strong>. You can follow them or interact with them if you have an account anywhere in the fediverse.. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: validations: images_and_video: ليس بالإمكان إرفاق فيديو في منشور يحتوي مسبقا على صور diff --git a/config/locales/bg.yml b/config/locales/bg.yml @@ -93,7 +93,8 @@ bg: blocking: Списък на блокираните following: Списък на последователите upload: Качване - landing_strip_html: <strong>%{name}</strong> е потребител от %{link_to_root_path}. Можеш да ги следваш, или да контактуваш с тях, ако имаш акаунт където и да е из федерираната вселена на Mastodon. Ако нямаш акаунт, можеш да си <a href="%{sign_up_path}">създадеш ето тук</a>. + landing_strip_html: <strong>%{name}</strong> е потребител от %{link_to_root_path}. Можеш да ги следваш, или да контактуваш с тях, ако имаш акаунт където и да е из федерираната вселена на Mastodon. + landing_strip_signup_html: Ако нямаш акаунт, можеш да си <a href="%{sign_up_path}">създадеш ето тук</a>. media_attachments: validations: images_and_video: Не мога да прикача видеоклип към публикация, която вече съдържа изображения diff --git a/config/locales/de.yml b/config/locales/de.yml @@ -229,7 +229,8 @@ de: following: Folgeliste muting: Stummschaltungsliste upload: Hochladen - landing_strip_html: <strong>%{name}</strong> ist ein Benutzer auf <strong>%{domain}</strong>. Du kannst ihm folgen oder mit ihm interagieren, sofern du ein Konto irgendwo im Fediverse hast. Wenn nicht, kannst du dich <a href="%{sign_up_path}">hier anmelden</a>. + landing_strip_html: <strong>%{name}</strong> ist ein Benutzer auf <strong>%{domain}</strong>. Du kannst ihm folgen oder mit ihm interagieren, sofern du ein Konto irgendwo im Fediverse hast. + landing_strip_signup_html: Wenn nicht, kannst du dich <a href="%{sign_up_path}">hier anmelden</a>. media_attachments: validations: images_and_video: Es kann kein Video an einen Beitrag, der bereits Bilder enthält, angehängt werden diff --git a/config/locales/en.yml b/config/locales/en.yml @@ -256,7 +256,8 @@ en: following: Following list muting: Muting list upload: Upload - landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can <a href="%{sign_up_path}">sign up here</a>. + landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: validations: images_and_video: Cannot attach a video to a status that already contains images diff --git a/config/locales/eo.yml b/config/locales/eo.yml @@ -92,7 +92,8 @@ eo: blocking: Listo de blokitoj following: Listo de sekvatoj upload: Alporti - landing_strip_html: <strong>%{name}</strong> estas uzanto en %{link_to_root_path}. Vi povas sekvi tiun aŭ interagi kun tiu, se vi havas konton ie ajn en la Fediverse. Se vi ne havas, vi povas <a href="%{sign_up_path}">membriĝi ĉi tie.</a>. + landing_strip_html: <strong>%{name}</strong> estas uzanto en %{link_to_root_path}. Vi povas sekvi tiun aŭ interagi kun tiu, se vi havas konton ie ajn en la Fediverse. + landing_strip_signup_html: Se vi ne havas, vi povas <a href="%{sign_up_path}">membriĝi ĉi tie.</a>. notification_mailer: digest: body: 'Jen eta resumo de tio, kio okazis en %{instance}, ekde kiam vi laste vizitis en %{since}:' diff --git a/config/locales/es.yml b/config/locales/es.yml @@ -93,7 +93,8 @@ es: blocking: Lista de bloqueados following: Lista de seguidos upload: Cargar - landing_strip_html: <strong>%{name}</strong> es un usuario en %{link_to_root_path}. Puedes seguirlo(a) o interactuar con el o ella si tienes una cuenta en cualquier parte del fediverse. Si no tienes una, puedes <a href="%{sign_up_path}">registrar aquí</a>. + landing_strip_html: <strong>%{name}</strong> es un usuario en %{link_to_root_path}. Puedes seguirlo(a) o interactuar con el o ella si tienes una cuenta en cualquier parte del fediverse. + landing_strip_signup_html: Si no tienes una, puedes <a href="%{sign_up_path}">registrar aquí</a>. media_attachments: validations: images_and_video: No se puede adjuntar un video a un estado que ya contenga imágenes diff --git a/config/locales/fa.yml b/config/locales/fa.yml @@ -256,6 +256,7 @@ fa: muting: فهرست بی‌صداشده‌ها upload: بارگذاری landing_strip_html: <strong>%{name}</strong> کاربری روی <strong>%{domain}</strong> است. شما با داشتن حساب روی هر سروری می‌توانید نوشته‌های او را پیگیری کرده یا با او ارتباط داشته باشید. اگر هنوز حسابی ندارید <a href="%{sign_up_path}">این‌جا حساب باز کنید</a>. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: validations: images_and_video: نمی‌توان برای نوشته‌ای که تصویر دارد ویدیو بارگذاری کرد diff --git a/config/locales/fi.yml b/config/locales/fi.yml @@ -92,7 +92,8 @@ fi: blocking: Estetyt lista following: Seuratut lista upload: Lähetä - landing_strip_html: <strong>%{name}</strong> on käyttäjä domainilla %{link_to_root_path}. Voit seurata tai vuorovaikuttaa heidän kanssaan jos sinulla on tili yleisessä verkossa. Jos sinulla ei ole tiliä, voit <a href="%{sign_up_path}">rekisteröityä täällä</a>. + landing_strip_html: <strong>%{name}</strong> on käyttäjä domainilla %{link_to_root_path}. Voit seurata tai vuorovaikuttaa heidän kanssaan jos sinulla on tili yleisessä verkossa. + landing_strip_signup_html: Jos sinulla ei ole tiliä, voit <a href="%{sign_up_path}">rekisteröityä täällä</a>. notification_mailer: digest: body: 'Tässä on pieni yhteenveto palvelimelta %{instance} viimeksi kun olit paikalla %{since}:' diff --git a/config/locales/fr.yml b/config/locales/fr.yml @@ -226,7 +226,8 @@ fr: following: Liste d'utilisateurs⋅trices suivi⋅es muting: Liste d'utilisateurs⋅trices que vous faites taire upload: Importer - landing_strip_html: <strong>%{name}</strong> utilise %{link_to_root_path}. Vous pouvez le/la suivre et interagir si vous possédez un compte quelque part dans le "fediverse". Si ce n'est pas le cas, vous pouvez <a href="%{sign_up_path}">en créer un ici</a>. + landing_strip_html: <strong>%{name}</strong> utilise %{link_to_root_path}. Vous pouvez le/la suivre et interagir si vous possédez un compte quelque part dans le "fediverse". + landing_strip_signup_html: Si ce n'est pas le cas, vous pouvez <a href="%{sign_up_path}">en créer un ici</a>. media_attachments: validations: images_and_video: Impossible de joindre une vidéo à un statut contenant déjà des images diff --git a/config/locales/he.yml b/config/locales/he.yml @@ -257,6 +257,7 @@ he: muting: רשימת השתקות upload: יבוא landing_strip_html: <strong>%{name}</strong> על השרת <strong>%{domain}</strong>. ניתן לעקוב אחריהם או לדבר איתם בעזרת חשבון על כל שרת קהילה ברחבי הפדרציה. ליצירת חשבון, ניתן<a href="%{sign_up_path}">להרשם כאן</a>. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: validations: images_and_video: לא ניתן להוסיף וידאו לחצרוץ שכבר מכיל תמונות diff --git a/config/locales/hr.yml b/config/locales/hr.yml @@ -94,7 +94,8 @@ hr: following: Lista onih koje slijedim muting: Lista utišanih upload: Upload - landing_strip_html: <strong>%{name}</strong> je korisnik na %{link_to_root_path}. Možeš ih slijediti ili komunicirati s njima ako imaš račun igdje u fediversu. Ako nemaš, možeš se <a href="%{sign_up_path}">registrirati ovdje</a>. + landing_strip_html: <strong>%{name}</strong> je korisnik na %{link_to_root_path}. Možeš ih slijediti ili komunicirati s njima ako imaš račun igdje u fediversu. + landing_strip_signup_html: Ako nemaš, možeš se <a href="%{sign_up_path}">registrirati ovdje</a>. notification_mailer: digest: body: 'Ovo je kratak sažetak propuštenog %{instance} od tvog prošlog posjeta %{since}:' diff --git a/config/locales/hu.yml b/config/locales/hu.yml @@ -32,6 +32,8 @@ hu: validation_errors: one: Valami nincs rendjén! Kérlek tekintsd meg a hibát alant other: Valami nincs rendjén! Kérlek tekintsd meg a %{count} darab hibát alant. + landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. notification_mailer: favourite: body: 'Az állapotodat kedvencnek jelölte %{name}:' diff --git a/config/locales/id.yml b/config/locales/id.yml @@ -253,7 +253,8 @@ id: following: Daftar diikuti muting: Daftar didiamkan upload: Unggah - landing_strip_html: <strong>%{name}</strong> adalah pengguna di %{link_to_root_path}.Anda dapat mengikuti mereka atau berinteraksi dengan mereka jika anda memiliki akun di fediverse. Jika anda tidak punya, anda bisa <a href="%{sign_up_path}">daftar disini</a>. + landing_strip_html: <strong>%{name}</strong> adalah pengguna di %{link_to_root_path}.Anda dapat mengikuti mereka atau berinteraksi dengan mereka jika anda memiliki akun di fediverse. + landing_strip_signup_html: Jika anda tidak punya, anda bisa <a href="%{sign_up_path}">daftar disini</a>. media_attachments: validations: images_and_video: Tidak bisa melampirkan video pada status yang telah memiliki gambar diff --git a/config/locales/io.yml b/config/locales/io.yml @@ -228,7 +228,8 @@ io: following: Listo de sequati muting: Muting list upload: Kargar - landing_strip_html: <strong>%{name}</strong> esas uzero en %{link_to_root_path}. Tu povas sequar lu o komunikar kun lu, se tu havas konto irgaloke en la Fediverse. Se tu ne havas, tu povas <a href="%{sign_up_path}">membreskar hike</a>. + landing_strip_html: <strong>%{name}</strong> esas uzero en %{link_to_root_path}. Tu povas sequar lu o komunikar kun lu, se tu havas konto irgaloke en la Fediverse. + landing_strip_signup_html: Se tu ne havas, tu povas <a href="%{sign_up_path}">membreskar hike</a>. media_attachments: validations: images_and_video: Cannot attach a video to a status that already contains images diff --git a/config/locales/it.yml b/config/locales/it.yml @@ -93,7 +93,8 @@ it: blocking: Lista dei bloccati following: Lista dei seguaci upload: Carica - landing_strip_html: <strong>%{name}</strong> è un utente su %{link_to_root_path}. Puoi seguirlo o interagire con lui se possiedi un account ovunque nel fediverse. Se non possiedi un account, puoi <a href="%{sign_up_path}">iscriverti qui</a>. + landing_strip_html: <strong>%{name}</strong> è un utente su %{link_to_root_path}. Puoi seguirlo o interagire con lui se possiedi un account ovunque nel fediverse. + landing_strip_signup_html: Se non possiedi un account, puoi <a href="%{sign_up_path}">iscriverti qui</a>. media_attachments: validations: images_and_video: Impossibile allegare video a un post che contiene già immagini diff --git a/config/locales/ja.yml b/config/locales/ja.yml @@ -255,7 +255,8 @@ ja: following: フォロー中のアカウントリスト muting: ミュートしたアカウントリスト upload: アップロード - landing_strip_html: <strong>%{name}</strong> さんはインスタンス %{link_to_root_path} のユーザーです。アカウントさえ持っていればフォローしたり会話したりできます。もしお持ちでないなら <a href="%{sign_up_path}">こちら</a> からサインアップできます。 + landing_strip_html: <strong>%{name}</strong> さんはインスタンス %{link_to_root_path} のユーザーです。アカウントさえ持っていればフォローしたり会話したりできます。 + landing_strip_signup_html: もしお持ちでないなら <a href="%{sign_up_path}">こちら</a> からサインアップできます。 media_attachments: validations: images_and_video: 既に画像が追加されているため、動画を追加することはできません。 diff --git a/config/locales/nl.yml b/config/locales/nl.yml @@ -155,6 +155,7 @@ nl: muting: Negeerlijst upload: Uploaden landing_strip_html: <strong>%{name}</strong> is een gebruiker op %{link_to_root_path}. Je kunt deze volgen en ermee communiceren als je ergens in deze fediverse een account hebt. Als je dat niet hebt, kun je je <a href="%{sign_up_path}">hier aanmelden</a>. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. notification_mailer: digest: body: 'Hier is een korte samenvatting van wat je hebt gemist op %{instance} sinds jouw laatste bezoek op %{since}:' diff --git a/config/locales/no.yml b/config/locales/no.yml @@ -256,7 +256,8 @@ following: Følgeliste muting: Dempeliste upload: Opplastning - landing_strip_html: <strong>%{name}</strong> er en bruker på %{link_to_root_path}. Du kan følge dem eller kommunisere med dem hvis du har en konto hvor som helst i fediverset. Hvis du ikke har en konto så kan du <a href="%{sign_up_path}">registrere deg her</a>. + landing_strip_html: <strong>%{name}</strong> er en bruker på %{link_to_root_path}. Du kan følge dem eller kommunisere med dem hvis du har en konto hvor som helst i fediverset. + landing_strip_signup_html: Hvis du ikke har en konto så kan du <a href="%{sign_up_path}">registrere deg her</a>. media_attachments: validations: images_and_video: Kan ikke legge ved video på en status som allerede inneholder bilder diff --git a/config/locales/oc.yml b/config/locales/oc.yml @@ -243,7 +243,7 @@ oc: upload: Importar landing_strip_html: <strong>%{name}</strong> es un utilizaire de %{link_to_root_path}. Podètz lo sègre o interagir amb eles s’avètz un compte ont que siasgue sul fediverse. - Autrament podètz <a href="%{sign_up_path}">vos marcar aquí</a>. + landing_strip_signup_html: Autrament podètz <a href="%{sign_up_path}">vos marcar aquí</a>. media_attachments: validations: images_and_video: Cannot attach a video to a status that already contains images diff --git a/config/locales/pl.yml b/config/locales/pl.yml @@ -255,7 +255,8 @@ pl: following: Lista śledzonych muting: Lista wyciszonych upload: Załaduj - landing_strip_html: <strong>%{name}</strong> ma konto na %{link_to_root_path}. Możesz je śledzić i wejść z nim w interakcję jeśli masz konto gdziekolwiek w Fediwersie. Jeśli jeszcze go nie masz, możesz <a href="%{sign_up_path}">stworzyć konto</a>. + landing_strip_html: <strong>%{name}</strong> ma konto na %{link_to_root_path}. Możesz je śledzić i wejść z nim w interakcję jeśli masz konto gdziekolwiek w Fediwersie. + landing_strip_signup_html: Jeśli jeszcze go nie masz, możesz <a href="%{sign_up_path}">stworzyć konto</a>. media_attachments: validations: images_and_video: Nie możesz załączyć pliku wideo do statusu, który zawiera już zdjęcia diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml @@ -254,7 +254,8 @@ pt-BR: following: Lista de seguidos muting: Lista de silenciados upload: Carregar - landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can <a href="%{sign_up_path}">sign up here</a>. + landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: validations: images_and_video: Cannot attach a video to a status that already contains images diff --git a/config/locales/pt.yml b/config/locales/pt.yml @@ -196,6 +196,8 @@ pt: validation_errors: one: Algo não está correcto. Por favor vê o erro abaixo other: Algo não está correto. Por favor vê os %{count} erros abaixo + landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. notification_mailer: favourite: body: 'O teu post foi adicionado aos favoritos por %{name}:' diff --git a/config/locales/ru.yml b/config/locales/ru.yml @@ -236,7 +236,8 @@ ru: following: Подписки muting: Список глушения upload: Загрузить - landing_strip_html: <strong>%{name}</strong> - пользователь на %{link_to_root_path}. Вы можете подписаться на него/нее и общаться с ним/ней, если у Вас есть аккаунт на любом узле общей сети. Если у Вас его нет, вы можете <a href="%{sign_up_path}">зарегистрироваться здесь</a>. + landing_strip_html: <strong>%{name}</strong> - пользователь на %{link_to_root_path}. Вы можете подписаться на него/нее и общаться с ним/ней, если у Вас есть аккаунт на любом узле общей сети. + landing_strip_signup_html: Если у Вас его нет, вы можете <a href="%{sign_up_path}">зарегистрироваться здесь</a>. media_attachments: validations: images_and_video: Нельзя добавить видео к статусу с изображениями diff --git a/config/locales/th.yml b/config/locales/th.yml @@ -256,7 +256,8 @@ th: following: Following list muting: Muting list upload: Upload - landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can <a href="%{sign_up_path}">sign up here</a>. + landing_strip_html: <strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse. + landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: validations: images_and_video: Cannot attach a video to a status that already contains images diff --git a/config/locales/tr.yml b/config/locales/tr.yml @@ -254,7 +254,8 @@ tr: following: Takip edilenler listesi muting: Susturulanlar listesi upload: Yükle - landing_strip_html: <strong>%{name}</strong>, %{link_to_root_path} sunucusundaki bir kullanıcıdır. Onu takip edebilir, veya Mastodon ağındaki bir hesabınızı kullanarak etkileşime geçebilirsiniz. Eğer hesabınız yoksa <a href="%{sign_up_path}">buradan kaydolabilirsiniz</a>. + landing_strip_html: <strong>%{name}</strong>, %{link_to_root_path} sunucusundaki bir kullanıcıdır. Onu takip edebilir, veya Mastodon ağındaki bir hesabınızı kullanarak etkileşime geçebilirsiniz. + landing_strip_signup_html: Eğer hesabınız yoksa <a href="%{sign_up_path}">buradan kaydolabilirsiniz</a>. media_attachments: validations: images_and_video: Halihazırda görsel içeren bir gönderiye video ekleyemezsiniz. diff --git a/config/locales/uk.yml b/config/locales/uk.yml @@ -236,7 +236,8 @@ uk: following: Підписки muting: Список глушення upload: Завантажити - landing_strip_html: <strong>%{name}</strong> - користувач на %{link_to_root_path}. Ви можете підписатися на нього/неї та спілкуватися з ним/нею, якщо у Вас є акаунт на будь-якій інстанції загальної мережі. Якщо його у Вас немає, Ви можете <a href="%{sign_up_path}">зареєструватися тут</a>. + landing_strip_html: <strong>%{name}</strong> - користувач на %{link_to_root_path}. Ви можете підписатися на нього/неї та спілкуватися з ним/нею, якщо у Вас є акаунт на будь-якій інстанції загальної мережі. + landing_strip_signup_html: Якщо його у Вас немає, Ви можете <a href="%{sign_up_path}">зареєструватися тут</a>. media_attachments: validations: images_and_video: Не можна додати відео до статусу з зображеннями diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml @@ -248,7 +248,8 @@ zh-CN: following: 关注名单 muting: 静音名单 upload: 上载 - landing_strip_html: <strong>%{name}</strong> 是一个在 %{link_to_root_path} 的用户。只要你是象毛世界里(Mastodon、GNU social)任一服务站的用户,便可以跨站关注此站用户并与其沟通。如果你没有这类账户,欢迎在<a href="%{sign_up_path}">此处登记</a>。 + landing_strip_html: <strong>%{name}</strong> 是一个在 %{link_to_root_path} 的用户。只要你是象毛世界里(Mastodon、GNU social)任一服务站的用户,便可以跨站关注此站用户并与其沟通。 + landing_strip_signup_html: 如果你没有这类账户,欢迎在<a href="%{sign_up_path}">此处登记</a>。 notification_mailer: digest: body: 自从你在%{since}使用%{instance}以后,错过了这些嘟嘟滴滴: diff --git a/config/locales/zh-HK.yml b/config/locales/zh-HK.yml @@ -255,7 +255,8 @@ zh-HK: following: 你所關注的用戶名單 muting: 靜音名單 upload: 上載 - landing_strip_html: <strong>%{name}</strong> 是一個在 %{link_to_root_path} 的用戶。只要你有任何 Mastodon 服務站、或者聯盟網站的用戶,便可以跨站關注此站用戶,或者與他們互動。如果你沒有這類用戶,歡迎在<a href="%{sign_up_path}">此處登記</a>。 + landing_strip_html: <strong>%{name}</strong> 是一個在 %{link_to_root_path} 的用戶。只要你有任何 Mastodon 服務站、或者聯盟網站的用戶,便可以跨站關注此站用戶,或者與他們互動。 + landing_strip_signup_html: 如果你沒有這類用戶,歡迎在<a href="%{sign_up_path}">此處登記</a>。 media_attachments: validations: images_and_video: 不能在已有圖片的文章上加入影片 diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml @@ -200,7 +200,8 @@ zh-TW: blocking: 您封鎖的使用者名單 following: 您關注的使用者名單 upload: 上傳 - landing_strip_html: <strong>%{name}</strong> 是一個在 %{link_to_root_path} 的使用者。只要您有任何 Mastodon 服務站、或者聯盟網站的帳號,便可以跨站關注此站使用者,或者與他們互動。如果您沒有這些帳號,歡迎在<a href="%{sign_up_path}">這裡註冊</a>。 + landing_strip_html: <strong>%{name}</strong> 是一個在 %{link_to_root_path} 的使用者。只要您有任何 Mastodon 服務站、或者聯盟網站的帳號,便可以跨站關注此站使用者,或者與他們互動。 + landing_strip_signup_html: 如果您沒有這些帳號,歡迎在<a href="%{sign_up_path}">這裡註冊</a>。 media_attachments: validations: images_and_video: 無法在已有圖片的文章上加入影片