Browse Source

Add link for domain in land strip (#2306)

* Add link for domain in land strip

* Use root_path

* Avoid repeating code
closed-social-glitch-2
ymmtmdk 7 years ago
committed by Eugen
parent
commit
072c6f1527
20 changed files with 20 additions and 19 deletions
  1. +1
    -0
      app/views/shared/_landing_strip.html.haml
  2. +1
    -1
      config/locales/bg.yml
  3. +1
    -1
      config/locales/en.yml
  4. +1
    -1
      config/locales/eo.yml
  5. +1
    -1
      config/locales/es.yml
  6. +1
    -1
      config/locales/fi.yml
  7. +1
    -1
      config/locales/fr.yml
  8. +1
    -1
      config/locales/hr.yml
  9. +1
    -1
      config/locales/id.yml
  10. +1
    -1
      config/locales/io.yml
  11. +1
    -1
      config/locales/it.yml
  12. +1
    -1
      config/locales/ja.yml
  13. +1
    -1
      config/locales/nl.yml
  14. +1
    -1
      config/locales/no.yml
  15. +1
    -1
      config/locales/oc.yml
  16. +1
    -1
      config/locales/pl.yml
  17. +1
    -1
      config/locales/ru.yml
  18. +1
    -1
      config/locales/zh-CN.yml
  19. +1
    -1
      config/locales/zh-HK.yml
  20. +1
    -1
      config/locales/zh-TW.yml

+ 1
- 0
app/views/shared/_landing_strip.html.haml View File

@ -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)

+ 1
- 1
config/locales/bg.yml View File

@ -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: Не мога да прикача видеоклип към публикация, която вече съдържа изображения

+ 1
- 1
config/locales/en.yml View File

@ -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

+ 1
- 1
config/locales/eo.yml View File

@ -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}:'

+ 1
- 1
config/locales/es.yml View File

@ -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

+ 1
- 1
config/locales/fi.yml View File

@ -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}:'

+ 1
- 1
config/locales/fr.yml View File

@ -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

+ 1
- 1
config/locales/hr.yml View File

@ -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}:'

+ 1
- 1
config/locales/id.yml View File

@ -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

+ 1
- 1
config/locales/io.yml View File

@ -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

+ 1
- 1
config/locales/it.yml View File

@ -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

+ 1
- 1
config/locales/ja.yml View File

@ -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: 既に画像が追加されているため、動画を追加することはできません。

+ 1
- 1
config/locales/nl.yml View File

@ -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}:'

+ 1
- 1
config/locales/no.yml View File

@ -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}:'

+ 1
- 1
config/locales/oc.yml View File

@ -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:

+ 1
- 1
config/locales/pl.yml View File

@ -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}):'

+ 1
- 1
config/locales/ru.yml View File

@ -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: Нельзя добавить видео к статусу с изображениями

+ 1
- 1
config/locales/zh-CN.yml View File

@ -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}以后,错过了这些嘟嘟滴滴:

+ 1
- 1
config/locales/zh-HK.yml View File

@ -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:

+ 1
- 1
config/locales/zh-TW.yml View File

@ -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: 無法在已有圖片的文章上加入影片

Loading…
Cancel
Save