logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 072c6f1527177edc53f246a3f701d5f06349de4a
parent: 55e32fe579412ea7d80a5ccc350ff6a18cb19576
Author: ymmtmdk <ymmtmdk@gmail.com>
Date:   Mon, 24 Apr 2017 04:45:03 +0900

Add link for domain in land strip (#2306)

* Add link for domain in land strip

* Use root_path

* Avoid repeating code

Diffstat:

Mapp/views/shared/_landing_strip.html.haml1+
Mconfig/locales/bg.yml2+-
Mconfig/locales/en.yml2+-
Mconfig/locales/eo.yml2+-
Mconfig/locales/es.yml2+-
Mconfig/locales/fi.yml2+-
Mconfig/locales/fr.yml2+-
Mconfig/locales/hr.yml2+-
Mconfig/locales/id.yml2+-
Mconfig/locales/io.yml2+-
Mconfig/locales/it.yml2+-
Mconfig/locales/ja.yml2+-
Mconfig/locales/nl.yml2+-
Mconfig/locales/no.yml2+-
Mconfig/locales/oc.yml2+-
Mconfig/locales/pl.yml2+-
Mconfig/locales/ru.yml2+-
Mconfig/locales/zh-CN.yml2+-
Mconfig/locales/zh-HK.yml2+-
Mconfig/locales/zh-TW.yml2+-
20 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/app/views/shared/_landing_strip.html.haml b/app/views/shared/_landing_strip.html.haml @@ -2,4 +2,5 @@ = 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) diff --git a/config/locales/bg.yml b/config/locales/bg.yml @@ -93,7 +93,7 @@ bg: blocking: Списък на блокираните following: Списък на последователите upload: Качване - landing_strip_html: <strong>%{name}</strong> е потребител от <strong>%{domain}</strong>. Можеш да ги следваш, или да контактуваш с тях, ако имаш акаунт където и да е из федерираната вселена на Mastodon. Ако нямаш акаунт, можеш да си <a href="%{sign_up_path}">създадеш ето тук</a>. + landing_strip_html: <strong>%{name}</strong> е потребител от %{link_to_root_path}. Можеш да ги следваш, или да контактуваш с тях, ако имаш акаунт където и да е из федерираната вселена на Mastodon. Ако нямаш акаунт, можеш да си <a href="%{sign_up_path}">създадеш ето тук</a>. media_attachments: validations: images_and_video: Не мога да прикача видеоклип към публикация, която вече съдържа изображения diff --git a/config/locales/en.yml b/config/locales/en.yml @@ -242,7 +242,7 @@ en: following: Following list muting: Muting list upload: 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 %{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>. 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,7 @@ eo: blocking: Listo de blokitoj following: Listo de sekvatoj upload: Alporti - landing_strip_html: <strong>%{name}</strong> estas uzanto en <strong>%{domain}</strong>. 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. 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,7 @@ es: blocking: Lista de bloqueados following: Lista de seguidos upload: Cargar - landing_strip_html: <strong>%{name}</strong> es un usuario en <strong>%{domain}</strong>. 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. 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/fi.yml b/config/locales/fi.yml @@ -92,7 +92,7 @@ fi: blocking: Estetyt lista following: Seuratut lista upload: Lähetä - landing_strip_html: <strong>%{name}</strong> on käyttäjä domainilla <strong>%{domain}</strong>. 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. 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 @@ -227,7 +227,7 @@ 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 <strong>%{domain}</strong>. 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". 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/hr.yml b/config/locales/hr.yml @@ -94,7 +94,7 @@ hr: following: Lista onih koje slijedim muting: Lista utišanih upload: Upload - landing_strip_html: <strong>%{name}</strong> je korisnik na <strong>%{domain}</strong>. 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. 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/id.yml b/config/locales/id.yml @@ -203,7 +203,7 @@ id: following: Daftar diikuti muting: Daftar didiamkan upload: Unggah - landing_strip_html: <strong>%{name}</strong> adalah pengguna di <strong>%{domain}</strong>.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. 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 @@ -229,7 +229,7 @@ io: following: Listo de sequati muting: Muting list upload: Kargar - landing_strip_html: <strong>%{name}</strong> esas uzero en <strong>%{domain}</strong>. 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. 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,7 @@ it: blocking: Lista dei bloccati following: Lista dei seguaci upload: Carica - landing_strip_html: <strong>%{name}</strong> è un utente su <strong>%{domain}</strong>. 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. 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 @@ -230,7 +230,7 @@ ja: following: フォロー中のアカウントリスト muting: ミュートしたアカウントリスト upload: アップロード - landing_strip_html: <strong>%{name}</strong> さんはインスタンス <strong>%{domain}</strong> のユーザーです。アカウントさえ持っていればフォローしたり会話したりできます。もしお持ちでないなら <a href="%{sign_up_path}">こちら</a> からサインアップできます。 + landing_strip_html: <strong>%{name}</strong> さんはインスタンス %{link_to_root_path} のユーザーです。アカウントさえ持っていればフォローしたり会話したりできます。もしお持ちでないなら <a href="%{sign_up_path}">こちら</a> からサインアップできます。 media_attachments: validations: images_and_video: 既に画像が追加されているため、動画を追加することはできません。 diff --git a/config/locales/nl.yml b/config/locales/nl.yml @@ -95,7 +95,7 @@ nl: following: Volglijst muting: Negeerlijst upload: Uploaden - landing_strip_html: <strong>%{name}</strong> is een gebruiker op <strong>%{domain}</strong>. 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_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>. 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 @@ -92,7 +92,7 @@ blocking: Blokkeringsliste following: Følgeliste upload: Opplastning - landing_strip_html: <strong>%{name}</strong> er en bruker på <strong>%{domain}</strong>. 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. Hvis du ikke har en konto så kan du <a href="%{sign_up_path}">registrere deg her</a>. notification_mailer: digest: body: 'Her er en kort oppsummering av hva du har gått glipp av på %{instance} siden du logget deg inn sist den %{since}:' diff --git a/config/locales/oc.yml b/config/locales/oc.yml @@ -242,7 +242,7 @@ oc: following: Lista de mond que seguètz muting: Muting list upload: Importar - landing_strip_html: <strong>%{name}</strong> es un utilizaire de <strong>%{domain}</strong>. + 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>. media_attachments: diff --git a/config/locales/pl.yml b/config/locales/pl.yml @@ -92,7 +92,7 @@ pl: blocking: Lista blokowanych following: Lista śledzonych upload: Załaduj - landing_strip_html: <strong>%{name}</strong> ma konto na <strong>%{domain}</strong>. 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. Jeśli jeszcze go nie masz, możesz <a href="%{sign_up_path}">stworzyć konto</a>. notification_mailer: digest: body: 'Oto krótkie podsumowanie co Cię ominęło na %{instance} od Twojej ostatniej wizyty (%{since}):' diff --git a/config/locales/ru.yml b/config/locales/ru.yml @@ -221,7 +221,7 @@ ru: following: Подписки muting: Список глушения upload: Загрузить - landing_strip_html: <strong>%{name}</strong> - пользователь на <strong>%{domain}</strong>. Вы можете подписаться на него/нее и общаться с ним/ней, если у Вас есть аккаунт на любом узле общей сети. Если у Вас его нет, вы можете <a href="%{sign_up_path}">зарегистрироваться здесь</a>. + landing_strip_html: <strong>%{name}</strong> - пользователь на %{link_to_root_path}. Вы можете подписаться на него/нее и общаться с ним/ней, если у Вас есть аккаунт на любом узле общей сети. Если у Вас его нет, вы можете <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 @@ -226,7 +226,7 @@ zh-CN: following: 关注名单 muting: 静音名单 upload: 上载 - landing_strip_html: <strong>%{name}</strong> 是一个在 <strong>%{domain}</strong> 的用户。只要你是象毛世界里(Mastodon、GNU social)任一服务站的用户,便可以跨站关注此站用户并与其沟通。如果你没有这类账户,欢迎在<a href="%{sign_up_path}">此处登记</a>。 + landing_strip_html: <strong>%{name}</strong> 是一个在 %{link_to_root_path} 的用户。只要你是象毛世界里(Mastodon、GNU social)任一服务站的用户,便可以跨站关注此站用户并与其沟通。如果你没有这类账户,欢迎在<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 @@ -228,7 +228,7 @@ zh-HK: following: 你所關注的用戶名單 muting: 靜音名單 upload: 上載 - landing_strip_html: <strong>%{name}</strong> 是一個在 <strong>%{domain}</strong> 的用戶。只要你有任何 + landing_strip_html: <strong>%{name}</strong> 是一個在 %{link_to_root_path} 的用戶。只要你有任何 Mastodon 服務站、或者聯盟網站的用戶,便可以跨站關注此站用戶,或者與他們互動。如果你沒有這類用戶,歡迎在<a href="%{sign_up_path}">此處登記</a>。 media_attachments: validations: diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml @@ -201,7 +201,7 @@ zh-TW: blocking: 您封鎖的使用者名單 following: 您關注的使用者名單 upload: 上傳 - landing_strip_html: <strong>%{name}</strong> 是一個在 <strong>%{domain}</strong> 的使用者。只要您有任何 Mastodon 服務站、或者聯盟網站的帳號,便可以跨站關注此站使用者,或者與他們互動。如果您沒有這些帳號,歡迎在<a href="%{sign_up_path}">這裡註冊</a>。 + landing_strip_html: <strong>%{name}</strong> 是一個在 %{link_to_root_path} 的使用者。只要您有任何 Mastodon 服務站、或者聯盟網站的帳號,便可以跨站關注此站使用者,或者與他們互動。如果您沒有這些帳號,歡迎在<a href="%{sign_up_path}">這裡註冊</a>。 media_attachments: validations: images_and_video: 無法在已有圖片的文章上加入影片