diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index b8c21f3ccd..b315b273d5 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -130,14 +130,19 @@ class Auth::RegistrationsController < Devise::RegistrationsController end def require_rules_acceptance! - return if @rules.empty? || (session[:accept_token].present? && params[:accept] == session[:accept_token]) + return if @rules.empty? || validated_accept_token? @accept_token = session[:accept_token] = SecureRandom.hex - @invite_code = invite_code + @invite_code = invite_code + @rule_translations = @rules.map { |rule| rule.translation_for(I18n.locale) } render :rules end + def validated_accept_token? + session[:accept_token].present? && params[:accept] == session[:accept_token] + end + def is_flashing_format? # rubocop:disable Naming/PredicatePrefix if params[:action] == 'create' false # Disable flash messages for sign-up diff --git a/app/javascript/mastodon/locales/be.json b/app/javascript/mastodon/locales/be.json index 85ce20d024..c4892855b9 100644 --- a/app/javascript/mastodon/locales/be.json +++ b/app/javascript/mastodon/locales/be.json @@ -14,6 +14,8 @@ "about.powered_by": "Дэцэнтралізаваная сацыяльная сетка, створаная {mastodon}", "about.rules": "Правілы сервера", "account.account_note_header": "Асабістая нататка", + "account.activity": "Актыўнасць", + "account.add_note": "Дадаць асабістую нататку", "account.add_or_remove_from_list": "Дадаць або выдаліць са спісаў", "account.badges.bot": "Бот", "account.badges.group": "Група", @@ -27,6 +29,7 @@ "account.direct": "Згадаць прыватна @{name}", "account.disable_notifications": "Не паведамляць мне пра публікацыі @{name}", "account.domain_blocking": "Блакіраванне дамена", + "account.edit_note": "Рэдагаваць асабістую нататку", "account.edit_profile": "Рэдагаваць профіль", "account.edit_profile_short": "Рэдагаваць", "account.enable_notifications": "Апавяшчаць мяне пра допісы @{name}", @@ -39,6 +42,12 @@ "account.featured.hashtags": "Хэштэгі", "account.featured_tags.last_status_at": "Апошні допіс ад {date}", "account.featured_tags.last_status_never": "Няма допісаў", + "account.filters.all": "Уся актыўнасць", + "account.filters.boosts_toggle": "Паказваць пашырэнні", + "account.filters.posts_boosts": "Допісы і пашырэнні", + "account.filters.posts_only": "Допісы", + "account.filters.posts_replies": "Допісы і адказы", + "account.filters.replies_toggle": "Паказваць адказы", "account.follow": "Падпісацца", "account.follow_back": "Падпісацца ў адказ", "account.follow_back_short": "Падпісацца ў адказ", @@ -72,6 +81,14 @@ "account.muting": "Ігнараванне", "account.mutual": "Вы падпісаны адно на аднаго", "account.no_bio": "Апісанне адсутнічае.", + "account.node_modal.callout": "Асабістыя нататкі бачныя толькі Вам.", + "account.node_modal.edit_title": "Рэдагаваць асабістую нататку", + "account.node_modal.error_unknown": "Немагчыма захаваць нататку", + "account.node_modal.field_label": "Асабістая нататка", + "account.node_modal.save": "Захаваць", + "account.node_modal.title": "Дадаць асабістую нататку", + "account.note.edit_button": "Змяніць", + "account.note.title": "Асабістая нататка (бачная толькі Вам)", "account.open_original_page": "Адкрыць арыгінальную старонку", "account.posts": "Допісы", "account.posts_with_replies": "Допісы і адказы", @@ -1020,6 +1037,7 @@ "tabs_bar.notifications": "Апавяшчэнні", "tabs_bar.publish": "Новы допіс", "tabs_bar.search": "Пошук", + "tag.remove": "Выдаліць", "terms_of_service.effective_as_of": "Дзейнічае да {date}", "terms_of_service.title": "Умовы выкарыстання", "terms_of_service.upcoming_changes_on": "Змены, якія адбудуцца {date}", diff --git a/app/javascript/mastodon/locales/ca.json b/app/javascript/mastodon/locales/ca.json index b74658a334..10b290037e 100644 --- a/app/javascript/mastodon/locales/ca.json +++ b/app/javascript/mastodon/locales/ca.json @@ -14,6 +14,8 @@ "about.powered_by": "Xarxa social descentralitzada impulsada per {mastodon}", "about.rules": "Normes del servidor", "account.account_note_header": "Nota personal", + "account.activity": "Activitat", + "account.add_note": "Afegeix una nota personal", "account.add_or_remove_from_list": "Afegeix o elimina de les llistes", "account.badges.bot": "Automatitzat", "account.badges.group": "Grup", @@ -27,6 +29,7 @@ "account.direct": "Menciona privadament @{name}", "account.disable_notifications": "Deixa de notificar-me els tuts de @{name}", "account.domain_blocking": "Bloquem el domini", + "account.edit_note": "Edita una nota personal", "account.edit_profile": "Edita el perfil", "account.edit_profile_short": "Edita", "account.enable_notifications": "Notifica'm els tuts de @{name}", @@ -39,6 +42,12 @@ "account.featured.hashtags": "Etiquetes", "account.featured_tags.last_status_at": "Darrer tut el {date}", "account.featured_tags.last_status_never": "No hi ha tuts", + "account.filters.all": "Tota l'activitat", + "account.filters.boosts_toggle": "Mostra els impulsos", + "account.filters.posts_boosts": "Publicacions i impulsos", + "account.filters.posts_only": "Publicacions", + "account.filters.posts_replies": "Publicacions i respostes", + "account.filters.replies_toggle": "Mostra les respostes", "account.follow": "Segueix", "account.follow_back": "Segueix tu també", "account.follow_back_short": "Segueix tu també", @@ -72,6 +81,14 @@ "account.muting": "Silenciem", "account.mutual": "Us seguiu l'un a l'altre", "account.no_bio": "No s'ha proporcionat cap descripció.", + "account.node_modal.callout": "Ningú més pot veure les vostres notes personals.", + "account.node_modal.edit_title": "Edita una nota personal", + "account.node_modal.error_unknown": "No s'ha pogut desar la nota", + "account.node_modal.field_label": "Nota Personal", + "account.node_modal.save": "Desa", + "account.node_modal.title": "Afegeix una nota personal", + "account.note.edit_button": "Edita", + "account.note.title": "Nota personal (visible només per a vós)", "account.open_original_page": "Obre la pàgina original", "account.posts": "Tuts", "account.posts_with_replies": "Tuts i respostes", @@ -772,6 +789,7 @@ "privacy.private.short": "Seguidors", "privacy.public.long": "Tothom dins o fora Mastodon", "privacy.public.short": "Públic", + "privacy.quote.anyone": "{visibility}, cites permeses", "privacy.quote.disabled": "{visibility}, cites desactivades", "privacy.quote.limited": "{visibility}, cites limitades", "privacy.unlisted.additional": "Es comporta igual que públic, excepte que la publicació no apareixerà als canals en directe o etiquetes, l'explora o a la cerca de Mastodon, fins i tot si ho heu activat a nivell de compte.", @@ -992,6 +1010,7 @@ "tabs_bar.notifications": "Notificacions", "tabs_bar.publish": "Nova Publicació", "tabs_bar.search": "Cerca", + "tag.remove": "Elimina", "terms_of_service.effective_as_of": "En vigor a partir de {date}", "terms_of_service.title": "Condicions de servei", "terms_of_service.upcoming_changes_on": "Propers canvis el {date}", diff --git a/app/javascript/mastodon/locales/da.json b/app/javascript/mastodon/locales/da.json index 547c1e57e7..5908949c77 100644 --- a/app/javascript/mastodon/locales/da.json +++ b/app/javascript/mastodon/locales/da.json @@ -14,6 +14,7 @@ "about.powered_by": "Decentraliserede sociale medier drevet af {mastodon}", "about.rules": "Serverregler", "account.account_note_header": "Personligt notat", + "account.activity": "Aktivitet", "account.add_note": "Tilføj en personlig note", "account.add_or_remove_from_list": "Tilføj eller fjern fra lister", "account.badges.bot": "Automatisert", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Hashtags", "account.featured_tags.last_status_at": "Seneste indlæg {date}", "account.featured_tags.last_status_never": "Ingen indlæg", + "account.filters.all": "Al aktivitet", + "account.filters.boosts_toggle": "Vis fremhævelser", + "account.filters.posts_boosts": "Indlæg og fremhævelser", + "account.filters.posts_only": "Indlæg", + "account.filters.posts_replies": "Indlæg og svar", + "account.filters.replies_toggle": "Vis svar", "account.follow": "Følg", "account.follow_back": "Følg tilbage", "account.follow_back_short": "Følg tilbage", @@ -1030,6 +1037,7 @@ "tabs_bar.notifications": "Notifikationer", "tabs_bar.publish": "Nyt indlæg", "tabs_bar.search": "Søg", + "tag.remove": "Fjern", "terms_of_service.effective_as_of": "Gældende pr. {date}", "terms_of_service.title": "Tjenestevilkår", "terms_of_service.upcoming_changes_on": "Kommende ændringer pr. {date}", diff --git a/app/javascript/mastodon/locales/de.json b/app/javascript/mastodon/locales/de.json index 419d39451f..4d5ccc605d 100644 --- a/app/javascript/mastodon/locales/de.json +++ b/app/javascript/mastodon/locales/de.json @@ -14,6 +14,7 @@ "about.powered_by": "Ein dezentralisiertes soziales Netzwerk, ermöglicht durch {mastodon}", "about.rules": "Serverregeln", "account.account_note_header": "Persönliche Notiz", + "account.activity": "Aktivitäten", "account.add_note": "Persönliche Notiz hinzufügen", "account.add_or_remove_from_list": "Listen verwalten", "account.badges.bot": "Bot", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Hashtags", "account.featured_tags.last_status_at": "Neuester Beitrag vom {date}", "account.featured_tags.last_status_never": "Keine Beiträge", + "account.filters.all": "Alle Aktivitäten", + "account.filters.boosts_toggle": "Geteilte Beiträge anzeigen", + "account.filters.posts_boosts": "Beiträge & geteilte Beiträge", + "account.filters.posts_only": "Beiträge", + "account.filters.posts_replies": "Beiträge & Antworten", + "account.filters.replies_toggle": "Antworten anzeigen", "account.follow": "Folgen", "account.follow_back": "Ebenfalls folgen", "account.follow_back_short": "Zurückfolgen", @@ -809,7 +816,7 @@ "privacy.private.short": "Follower", "privacy.public.long": "Alle innerhalb und außerhalb von Mastodon", "privacy.public.short": "Öffentlich", - "privacy.quote.anyone": "{visibility}, zitierte Beiträge erlaubt", + "privacy.quote.anyone": "{visibility} – Zitieren erlaubt", "privacy.quote.disabled": "{visibility} – Zitieren deaktiviert", "privacy.quote.limited": "{visibility} – nur Follower", "privacy.unlisted.additional": "Das Verhalten ist wie bei „Öffentlich“, jedoch gibt es einige Einschränkungen. Der Beitrag wird nicht in „Live-Feeds“, „Erkunden“, Hashtags oder über die Mastodon-Suchfunktion auffindbar sein – selbst wenn die zugehörige Einstellung aktiviert wurde.", @@ -1030,6 +1037,7 @@ "tabs_bar.notifications": "Benachrichtigungen", "tabs_bar.publish": "Neuer Beitrag", "tabs_bar.search": "Suche", + "tag.remove": "Entfernen", "terms_of_service.effective_as_of": "Gültig ab {date}", "terms_of_service.title": "Nutzungsbedingungen", "terms_of_service.upcoming_changes_on": "Anstehende Änderungen am {date}", diff --git a/app/javascript/mastodon/locales/en-GB.json b/app/javascript/mastodon/locales/en-GB.json index 0f00a1bf86..f338d037ac 100644 --- a/app/javascript/mastodon/locales/en-GB.json +++ b/app/javascript/mastodon/locales/en-GB.json @@ -14,6 +14,7 @@ "about.powered_by": "Decentralised social media powered by {mastodon}", "about.rules": "Server rules", "account.account_note_header": "Personal note", + "account.activity": "Activity", "account.add_note": "Add a personal note", "account.add_or_remove_from_list": "Add or Remove from lists", "account.badges.bot": "Automated", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Hashtags", "account.featured_tags.last_status_at": "Last post on {date}", "account.featured_tags.last_status_never": "No posts", + "account.filters.all": "All activity", + "account.filters.boosts_toggle": "Show boosts", + "account.filters.posts_boosts": "Posts and boosts", + "account.filters.posts_only": "Posts", + "account.filters.posts_replies": "Posts and replies", + "account.filters.replies_toggle": "Show replies", "account.follow": "Follow", "account.follow_back": "Follow back", "account.follow_back_short": "Follow back", @@ -1030,6 +1037,7 @@ "tabs_bar.notifications": "Notifications", "tabs_bar.publish": "New Post", "tabs_bar.search": "Search", + "tag.remove": "Remove", "terms_of_service.effective_as_of": "Effective as of {date}", "terms_of_service.title": "Terms of Service", "terms_of_service.upcoming_changes_on": "Upcoming changes on {date}", diff --git a/app/javascript/mastodon/locales/fi.json b/app/javascript/mastodon/locales/fi.json index f0b988c905..14dbf74944 100644 --- a/app/javascript/mastodon/locales/fi.json +++ b/app/javascript/mastodon/locales/fi.json @@ -14,6 +14,7 @@ "about.powered_by": "Hajautetun sosiaalisen median tarjoaa {mastodon}", "about.rules": "Palvelimen säännöt", "account.account_note_header": "Henkilökohtainen muistiinpano", + "account.activity": "Toiminta", "account.add_note": "Lisää henkilökohtainen muistiinpano", "account.add_or_remove_from_list": "Lisää tai poista listoista", "account.badges.bot": "Botti", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Aihetunnisteet", "account.featured_tags.last_status_at": "Viimeisin julkaisu {date}", "account.featured_tags.last_status_never": "Ei julkaisuja", + "account.filters.all": "Kaikki toiminta", + "account.filters.boosts_toggle": "Näytä tehostukset", + "account.filters.posts_boosts": "Julkaisut ja tehostukset", + "account.filters.posts_only": "Julkaisut", + "account.filters.posts_replies": "Julkaisut ja vastaukset", + "account.filters.replies_toggle": "Näytä vastaukset", "account.follow": "Seuraa", "account.follow_back": "Seuraa takaisin", "account.follow_back_short": "Seuraa takaisin", @@ -1030,6 +1037,7 @@ "tabs_bar.notifications": "Ilmoitukset", "tabs_bar.publish": "Uusi julkaisu", "tabs_bar.search": "Haku", + "tag.remove": "Poista", "terms_of_service.effective_as_of": "Tulee voimaan {date}", "terms_of_service.title": "Käyttöehdot", "terms_of_service.upcoming_changes_on": "Tulevia muutoksia {date}", diff --git a/app/javascript/mastodon/locales/fr-CA.json b/app/javascript/mastodon/locales/fr-CA.json index d7dad1a26a..7ae4dd7612 100644 --- a/app/javascript/mastodon/locales/fr-CA.json +++ b/app/javascript/mastodon/locales/fr-CA.json @@ -14,6 +14,8 @@ "about.powered_by": "Réseau social décentralisé propulsé par {mastodon}", "about.rules": "Règles du serveur", "account.account_note_header": "Note personnelle", + "account.activity": "Activités", + "account.add_note": "Ajouter une note personnelle", "account.add_or_remove_from_list": "Ajouter ou enlever de listes", "account.badges.bot": "Bot", "account.badges.group": "Groupe", @@ -27,6 +29,7 @@ "account.direct": "Mention privée @{name}", "account.disable_notifications": "Ne plus me notifier quand @{name} publie", "account.domain_blocking": "Domaine bloqué", + "account.edit_note": "Modifier la note personnelle", "account.edit_profile": "Modifier le profil", "account.edit_profile_short": "Modifier", "account.enable_notifications": "Me notifier quand @{name} publie", @@ -39,6 +42,12 @@ "account.featured.hashtags": "Hashtags", "account.featured_tags.last_status_at": "Dernière publication {date}", "account.featured_tags.last_status_never": "Aucune publication", + "account.filters.all": "Toutes les activités", + "account.filters.boosts_toggle": "Afficher les partages", + "account.filters.posts_boosts": "Messages et partages", + "account.filters.posts_only": "Messages", + "account.filters.posts_replies": "Messages et réponses", + "account.filters.replies_toggle": "Afficher les réponses", "account.follow": "Suivre", "account.follow_back": "Suivre en retour", "account.follow_back_short": "Suivre en retour", @@ -72,6 +81,14 @@ "account.muting": "Sourdine", "account.mutual": "Vous vous suivez mutuellement", "account.no_bio": "Description manquante.", + "account.node_modal.callout": "Les notes personnelles sont ne sont visibles que pour vous.", + "account.node_modal.edit_title": "Modifier la note personnelle", + "account.node_modal.error_unknown": "Impossible d'enregistrer la note", + "account.node_modal.field_label": "Note personnelle", + "account.node_modal.save": "Enregistrer", + "account.node_modal.title": "Ajouter une note personnelle", + "account.note.edit_button": "Modifier", + "account.note.title": "Note personnelle (visible uniquement pour vous)", "account.open_original_page": "Ouvrir la page d'origine", "account.posts": "Publications", "account.posts_with_replies": "Publications et réponses", @@ -1020,6 +1037,7 @@ "tabs_bar.notifications": "Notifications", "tabs_bar.publish": "Nouveau message", "tabs_bar.search": "Chercher", + "tag.remove": "Supprimer", "terms_of_service.effective_as_of": "En vigueur à compter du {date}", "terms_of_service.title": "Conditions d'utilisation", "terms_of_service.upcoming_changes_on": "Modifications à venir le {date}", diff --git a/app/javascript/mastodon/locales/fr.json b/app/javascript/mastodon/locales/fr.json index cc60da91fc..016a9266ba 100644 --- a/app/javascript/mastodon/locales/fr.json +++ b/app/javascript/mastodon/locales/fr.json @@ -14,6 +14,8 @@ "about.powered_by": "Réseau social décentralisé propulsé par {mastodon}", "about.rules": "Règles du serveur", "account.account_note_header": "Note personnelle", + "account.activity": "Activités", + "account.add_note": "Ajouter une note personnelle", "account.add_or_remove_from_list": "Ajouter ou retirer des listes", "account.badges.bot": "Bot", "account.badges.group": "Groupe", @@ -27,6 +29,7 @@ "account.direct": "Mentionner @{name} en privé", "account.disable_notifications": "Ne plus me notifier les publications de @{name}", "account.domain_blocking": "Domaine bloqué", + "account.edit_note": "Modifier la note personnelle", "account.edit_profile": "Modifier le profil", "account.edit_profile_short": "Modifier", "account.enable_notifications": "Me notifier les publications de @{name}", @@ -39,6 +42,12 @@ "account.featured.hashtags": "Hashtags", "account.featured_tags.last_status_at": "Dernier message le {date}", "account.featured_tags.last_status_never": "Aucun message", + "account.filters.all": "Toutes les activités", + "account.filters.boosts_toggle": "Afficher les partages", + "account.filters.posts_boosts": "Messages et partages", + "account.filters.posts_only": "Messages", + "account.filters.posts_replies": "Messages et réponses", + "account.filters.replies_toggle": "Afficher les réponses", "account.follow": "Suivre", "account.follow_back": "Suivre en retour", "account.follow_back_short": "Suivre en retour", @@ -72,6 +81,14 @@ "account.muting": "Sourdine", "account.mutual": "Vous vous suivez mutuellement", "account.no_bio": "Aucune description fournie.", + "account.node_modal.callout": "Les notes personnelles sont ne sont visibles que pour vous.", + "account.node_modal.edit_title": "Modifier la note personnelle", + "account.node_modal.error_unknown": "Impossible d'enregistrer la note", + "account.node_modal.field_label": "Note personnelle", + "account.node_modal.save": "Enregistrer", + "account.node_modal.title": "Ajouter une note personnelle", + "account.note.edit_button": "Modifier", + "account.note.title": "Note personnelle (visible uniquement pour vous)", "account.open_original_page": "Ouvrir la page d'origine", "account.posts": "Messages", "account.posts_with_replies": "Messages et réponses", @@ -1020,6 +1037,7 @@ "tabs_bar.notifications": "Notifications", "tabs_bar.publish": "Nouveau message", "tabs_bar.search": "Chercher", + "tag.remove": "Supprimer", "terms_of_service.effective_as_of": "En vigueur à compter du {date}", "terms_of_service.title": "Conditions d'utilisation", "terms_of_service.upcoming_changes_on": "Modifications à venir le {date}", diff --git a/app/javascript/mastodon/locales/gl.json b/app/javascript/mastodon/locales/gl.json index fa1650eebd..32bd315742 100644 --- a/app/javascript/mastodon/locales/gl.json +++ b/app/javascript/mastodon/locales/gl.json @@ -74,6 +74,14 @@ "account.muting": "Silenciamento", "account.mutual": "Seguimento mútuo", "account.no_bio": "Sen descrición.", + "account.node_modal.callout": "As notas persoais só as podes ver ti.", + "account.node_modal.edit_title": "Editar nota persoal", + "account.node_modal.error_unknown": "Non se puido gardar a nota", + "account.node_modal.field_label": "Nota persoal", + "account.node_modal.save": "Gardar", + "account.node_modal.title": "Engadir nota persoal", + "account.note.edit_button": "Editar", + "account.note.title": "Nota persoal (só ti podes vela)", "account.open_original_page": "Abrir páxina orixinal", "account.posts": "Publicacións", "account.posts_with_replies": "Publicacións e respostas", diff --git a/app/javascript/mastodon/locales/he.json b/app/javascript/mastodon/locales/he.json index 861f7b04e7..bbaea4d51f 100644 --- a/app/javascript/mastodon/locales/he.json +++ b/app/javascript/mastodon/locales/he.json @@ -14,6 +14,8 @@ "about.powered_by": "רשת חברתית מבוזרת המופעלת על ידי {mastodon}", "about.rules": "כללי השרת", "account.account_note_header": "הערה אישית", + "account.activity": "פעילות", + "account.add_note": "הוספת הערה פרטית", "account.add_or_remove_from_list": "הוספה או הסרה מרשימות", "account.badges.bot": "בוט", "account.badges.group": "קבוצה", @@ -27,6 +29,7 @@ "account.direct": "הודעה פרטית אל @{name}", "account.disable_notifications": "הפסק לשלוח לי התראות כש@{name} מפרסמים", "account.domain_blocking": "רשימת השרתים החסומים", + "account.edit_note": "עריכת הערה פרטית", "account.edit_profile": "עריכת פרופיל", "account.edit_profile_short": "עריכה", "account.enable_notifications": "שלח לי התראות כש@{name} מפרסם", @@ -39,6 +42,12 @@ "account.featured.hashtags": "תגיות", "account.featured_tags.last_status_at": "חצרוץ אחרון בתאריך {date}", "account.featured_tags.last_status_never": "אין חצרוצים", + "account.filters.all": "כל הפעילות", + "account.filters.boosts_toggle": "הצגת הדהודים", + "account.filters.posts_boosts": "הודעות והדהודים", + "account.filters.posts_only": "הודעות", + "account.filters.posts_replies": "הודעות ותגובות", + "account.filters.replies_toggle": "הצגת תגובות", "account.follow": "לעקוב", "account.follow_back": "לעקוב בחזרה", "account.follow_back_short": "לעקוב בחזרה", @@ -72,6 +81,14 @@ "account.muting": "רשימת החשבונות המושתקים", "account.mutual": "אתם עוקביםות הדדית", "account.no_bio": "לא סופק תיאור.", + "account.node_modal.callout": "הערות פרטיות גלויות לך בלבד.", + "account.node_modal.edit_title": "עריכת הערה פרטית", + "account.node_modal.error_unknown": "לא ניתן לשמור הערה", + "account.node_modal.field_label": "הערה פרטית", + "account.node_modal.save": "שמירה", + "account.node_modal.title": "הוספת הערה פרטית", + "account.note.edit_button": "עריכה", + "account.note.title": "הערה פרטית (זמין רק לך)", "account.open_original_page": "לפתיחת העמוד המקורי", "account.posts": "פוסטים", "account.posts_with_replies": "הודעות ותגובות", @@ -1020,6 +1037,7 @@ "tabs_bar.notifications": "התראות", "tabs_bar.publish": "הודעה חדשה", "tabs_bar.search": "חיפוש", + "tag.remove": "הסרה", "terms_of_service.effective_as_of": "בתוקף החל מתאריך {date}", "terms_of_service.title": "תנאי השירות", "terms_of_service.upcoming_changes_on": "שינויים עתידיים שיחולו ביום {date}", diff --git a/app/javascript/mastodon/locales/is.json b/app/javascript/mastodon/locales/is.json index f962531339..a14a0ffe1c 100644 --- a/app/javascript/mastodon/locales/is.json +++ b/app/javascript/mastodon/locales/is.json @@ -14,6 +14,7 @@ "about.powered_by": "Dreifhýstur samskiptamiðill keyrður með {mastodon}", "about.rules": "Reglur netþjónsins", "account.account_note_header": "Einkaminnispunktur", + "account.activity": "Virkni", "account.add_note": "Bæta við einkaminnispunkti", "account.add_or_remove_from_list": "Bæta við eða fjarlægja af listum", "account.badges.bot": "Yrki", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Myllumerki", "account.featured_tags.last_status_at": "Síðasta færsla þann {date}", "account.featured_tags.last_status_never": "Engar færslur", + "account.filters.all": "Öll virkni", + "account.filters.boosts_toggle": "Sýna endurbirtingar", + "account.filters.posts_boosts": "Færslur og endurbirtingar", + "account.filters.posts_only": "Færslur", + "account.filters.posts_replies": "Færslur og svör", + "account.filters.replies_toggle": "Birta svör", "account.follow": "Fylgjast með", "account.follow_back": "Fylgjast með til baka", "account.follow_back_short": "Fylgjast með til baka", @@ -1030,6 +1037,7 @@ "tabs_bar.notifications": "Tilkynningar", "tabs_bar.publish": "Ný færsla", "tabs_bar.search": "Leita", + "tag.remove": "Fjarlægja", "terms_of_service.effective_as_of": "Gildir frá og með {date}", "terms_of_service.title": "Þjónustuskilmálar", "terms_of_service.upcoming_changes_on": "Væntanlegar breytingar þann {date}", diff --git a/app/javascript/mastodon/locales/nan.json b/app/javascript/mastodon/locales/nan-TW.json similarity index 100% rename from app/javascript/mastodon/locales/nan.json rename to app/javascript/mastodon/locales/nan-TW.json diff --git a/app/javascript/mastodon/locales/pt-PT.json b/app/javascript/mastodon/locales/pt-PT.json index ad0dcfcc9b..345043cf65 100644 --- a/app/javascript/mastodon/locales/pt-PT.json +++ b/app/javascript/mastodon/locales/pt-PT.json @@ -14,6 +14,7 @@ "about.powered_by": "Rede social descentralizada baseada no {mastodon}", "about.rules": "Regras do servidor", "account.account_note_header": "Nota pessoal", + "account.activity": "Atividade", "account.add_note": "Adicionar uma nota pessoal", "account.add_or_remove_from_list": "Adicionar ou remover das listas", "account.badges.bot": "Robô", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Etiquetas", "account.featured_tags.last_status_at": "Última publicação em {date}", "account.featured_tags.last_status_never": "Sem publicações", + "account.filters.all": "Toda a atividade", + "account.filters.boosts_toggle": "Mostrar partilhas", + "account.filters.posts_boosts": "Publicações e partilhas", + "account.filters.posts_only": "Publicações", + "account.filters.posts_replies": "Publicações e respostas", + "account.filters.replies_toggle": "Mostrar respostas", "account.follow": "Seguir", "account.follow_back": "Seguir também", "account.follow_back_short": "Seguir de volta", @@ -74,6 +81,14 @@ "account.muting": "A silenciar", "account.mutual": "Seguem-se mutuamente", "account.no_bio": "Nenhuma descrição fornecida.", + "account.node_modal.callout": "As notas pessoais só são visíveis por si.", + "account.node_modal.edit_title": "Editar nota pessoal", + "account.node_modal.error_unknown": "Não foi possível guardar a nota", + "account.node_modal.field_label": "Nota Pessoal", + "account.node_modal.save": "Guardar", + "account.node_modal.title": "Adicionar uma nota pessoal", + "account.note.edit_button": "Editar", + "account.note.title": "Nota pessoal (visível apenas por si)", "account.open_original_page": "Abrir a página original", "account.posts": "Publicações", "account.posts_with_replies": "Publicações e respostas", @@ -1022,6 +1037,7 @@ "tabs_bar.notifications": "Notificações", "tabs_bar.publish": "Nova publicação", "tabs_bar.search": "Pesquisar", + "tag.remove": "Remover", "terms_of_service.effective_as_of": "Válido a partir de {date}", "terms_of_service.title": "Termos do serviço", "terms_of_service.upcoming_changes_on": "Próximas aterações em {date}", diff --git a/app/javascript/mastodon/locales/sq.json b/app/javascript/mastodon/locales/sq.json index 27439df214..3bebd22302 100644 --- a/app/javascript/mastodon/locales/sq.json +++ b/app/javascript/mastodon/locales/sq.json @@ -14,6 +14,7 @@ "about.powered_by": "Media shoqërore e decentralizuar, bazuar në {mastodon}", "about.rules": "Rregulla shërbyesi", "account.account_note_header": "Shënim personal", + "account.activity": "Veprimtari", "account.add_note": "Shtoni një shënim personal", "account.add_or_remove_from_list": "Shtoni ose Hiqni prej listash", "account.badges.bot": "Robot", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Hashtag-ë", "account.featured_tags.last_status_at": "Postimi i fundit më {date}", "account.featured_tags.last_status_never": "Pa postime", + "account.filters.all": "Krejt veprimtarinë", + "account.filters.boosts_toggle": "Shfaq përforcime", + "account.filters.posts_boosts": "Postime dhe përforcime", + "account.filters.posts_only": "Postime", + "account.filters.posts_replies": "Postime dhe përgjigje", + "account.filters.replies_toggle": "Shfaq përgjigje", "account.follow": "Ndiqeni", "account.follow_back": "Ndiqe gjithashtu", "account.follow_back_short": "Ndiqe gjithashtu", @@ -1028,6 +1035,7 @@ "tabs_bar.notifications": "Njoftime", "tabs_bar.publish": "Postimi i Ri", "tabs_bar.search": "Kërkim", + "tag.remove": "Hiqe", "terms_of_service.effective_as_of": "Hyn në fuqi që prej {date}", "terms_of_service.title": "Kushte Shërbimi", "terms_of_service.upcoming_changes_on": "Ndryshime të ardhshme më {date}", diff --git a/app/javascript/mastodon/locales/tr.json b/app/javascript/mastodon/locales/tr.json index bb9dd8fcda..ed0108cd20 100644 --- a/app/javascript/mastodon/locales/tr.json +++ b/app/javascript/mastodon/locales/tr.json @@ -14,6 +14,8 @@ "about.powered_by": "{mastodon} destekli merkeziyetsiz sosyal ağ", "about.rules": "Sunucu kuralları", "account.account_note_header": "Kişisel not", + "account.activity": "Aktivite", + "account.add_note": "Kişisel bir not ekle", "account.add_or_remove_from_list": "Listelere ekle veya kaldır", "account.badges.bot": "Bot", "account.badges.group": "Grup", @@ -27,6 +29,7 @@ "account.direct": "@{name} kullanıcısından özel olarak bahset", "account.disable_notifications": "@{name} kişisinin gönderi bildirimlerini kapat", "account.domain_blocking": "Alan adını engelleme", + "account.edit_note": "Kişisel notu düzenle", "account.edit_profile": "Profili düzenle", "account.edit_profile_short": "Düzenle", "account.enable_notifications": "@{name} kişisinin gönderi bildirimlerini aç", @@ -39,6 +42,12 @@ "account.featured.hashtags": "Etiketler", "account.featured_tags.last_status_at": "Son gönderinin tarihi {date}", "account.featured_tags.last_status_never": "Gönderi yok", + "account.filters.all": "Tüm aktiviteler", + "account.filters.boosts_toggle": "Yeniden paylaşımları göster", + "account.filters.posts_boosts": "Gönderiler ve yeniden paylaşımlar", + "account.filters.posts_only": "Gönderiler", + "account.filters.posts_replies": "Gönderiler ve yanıtlar", + "account.filters.replies_toggle": "Yanıtları göster", "account.follow": "Takip et", "account.follow_back": "Geri takip et", "account.follow_back_short": "Geri takip et", @@ -72,6 +81,14 @@ "account.muting": "Sessize alınıyor", "account.mutual": "Birbirinizi takip ediyorsunuz", "account.no_bio": "Herhangi bir açıklama belirtilmedi.", + "account.node_modal.callout": "Kişisel notları sadece siz görüntüleyebilirsiniz.", + "account.node_modal.edit_title": "Kişisel notu düzenle", + "account.node_modal.error_unknown": "Not kaydedilemiyor", + "account.node_modal.field_label": "Kişisel Not", + "account.node_modal.save": "Kaydet", + "account.node_modal.title": "Kişisel bir not ekle", + "account.note.edit_button": "Düzenle", + "account.note.title": "Kişisel not (sadece siz görüntüleyebilirsiniz)", "account.open_original_page": "Asıl sayfayı aç", "account.posts": "Gönderiler", "account.posts_with_replies": "Gönderiler ve yanıtlar", @@ -1020,6 +1037,7 @@ "tabs_bar.notifications": "Bildirimler", "tabs_bar.publish": "Yeni Gönderi", "tabs_bar.search": "Arama", + "tag.remove": "Kaldır", "terms_of_service.effective_as_of": "{date} itibariyle yürürlükte", "terms_of_service.title": "Hizmet Şartları", "terms_of_service.upcoming_changes_on": "{date} tarihinde gerçekleşecek değişiklikler", diff --git a/app/javascript/mastodon/locales/vi.json b/app/javascript/mastodon/locales/vi.json index 208ad0584d..d5339d5921 100644 --- a/app/javascript/mastodon/locales/vi.json +++ b/app/javascript/mastodon/locales/vi.json @@ -14,6 +14,7 @@ "about.powered_by": "Mạng xã hội liên hợp {mastodon}", "about.rules": "Nội quy máy chủ", "account.account_note_header": "Ghi chú cá nhân", + "account.activity": "Hoạt động", "account.add_note": "Thêm ghi chú cá nhân", "account.add_or_remove_from_list": "Sửa danh sách", "account.badges.bot": "Bot", @@ -41,6 +42,12 @@ "account.featured.hashtags": "Hashtag thường dùng", "account.featured_tags.last_status_at": "Tút gần nhất {date}", "account.featured_tags.last_status_never": "Chưa có tút", + "account.filters.all": "Tất cả hoạt động", + "account.filters.boosts_toggle": "Hiện những lượt đăng lại", + "account.filters.posts_boosts": "Tút và lượt đăng lại", + "account.filters.posts_only": "Tút", + "account.filters.posts_replies": "Tút và lượt trả lời", + "account.filters.replies_toggle": "Hiện những lượt trả lời", "account.follow": "Theo dõi", "account.follow_back": "Theo dõi lại", "account.follow_back_short": "Theo dõi lại", @@ -1030,6 +1037,7 @@ "tabs_bar.notifications": "Thông báo", "tabs_bar.publish": "Soạn tút", "tabs_bar.search": "Tìm kiếm", + "tag.remove": "Gỡ bỏ", "terms_of_service.effective_as_of": "Có hiệu lực vào {date}", "terms_of_service.title": "Điều khoản Dịch vụ", "terms_of_service.upcoming_changes_on": "Sắp thay đổi vào {date}", diff --git a/app/views/auth/registrations/rules.html.haml b/app/views/auth/registrations/rules.html.haml index a5a96c5737..1e3d934c37 100644 --- a/app/views/auth/registrations/rules.html.haml +++ b/app/views/auth/registrations/rules.html.haml @@ -17,12 +17,7 @@ %p.lead= t('auth.rules.preamble', domain: site_hostname) %ol.rules-list - - @rules.each do |rule| - - translation = rule.translation_for(I18n.locale.to_s) - %li - %button{ type: 'button', aria: { expanded: 'false' } } - .rules-list__text= translation.text - .rules-list__hint= translation.hint + = render collection: @rule_translations, partial: 'auth/rule_translations/rule_translation' .stacked-actions - accept_path = @invite_code.present? ? public_invite_url(invite_code: @invite_code, accept: @accept_token) : new_user_registration_path(accept: @accept_token) diff --git a/app/views/auth/rule_translations/_rule_translation.html.haml b/app/views/auth/rule_translations/_rule_translation.html.haml new file mode 100644 index 0000000000..32b9cc28af --- /dev/null +++ b/app/views/auth/rule_translations/_rule_translation.html.haml @@ -0,0 +1,4 @@ +%li + %button{ type: 'button', aria: { expanded: 'false' } } + .rules-list__text= rule_translation.text + .rules-list__hint= rule_translation.hint diff --git a/config/locales/activerecord.nan.yml b/config/locales/activerecord.nan-TW.yml similarity index 98% rename from config/locales/activerecord.nan.yml rename to config/locales/activerecord.nan-TW.yml index 60f5d10717..3096d7880b 100644 --- a/config/locales/activerecord.nan.yml +++ b/config/locales/activerecord.nan-TW.yml @@ -1,5 +1,5 @@ --- -nan: +nan-TW: activerecord: attributes: poll: diff --git a/config/locales/devise.nan.yml b/config/locales/devise.nan-TW.yml similarity index 98% rename from config/locales/devise.nan.yml rename to config/locales/devise.nan-TW.yml index 885e509fde..ae81f4bd54 100644 --- a/config/locales/devise.nan.yml +++ b/config/locales/devise.nan-TW.yml @@ -1,5 +1,5 @@ --- -nan: +nan-TW: devise: failure: locked: Lí ê口座hőng鎖定ah。 diff --git a/config/locales/doorkeeper.nan.yml b/config/locales/doorkeeper.nan-TW.yml similarity index 98% rename from config/locales/doorkeeper.nan.yml rename to config/locales/doorkeeper.nan-TW.yml index 554d991641..e0f5429d82 100644 --- a/config/locales/doorkeeper.nan.yml +++ b/config/locales/doorkeeper.nan-TW.yml @@ -1,5 +1,5 @@ --- -nan: +nan-TW: activerecord: attributes: doorkeeper/application: diff --git a/config/locales/nan.yml b/config/locales/nan-TW.yml similarity index 99% rename from config/locales/nan.yml rename to config/locales/nan-TW.yml index c19edeeed1..04c7b48feb 100644 --- a/config/locales/nan.yml +++ b/config/locales/nan-TW.yml @@ -1,5 +1,5 @@ --- -nan: +nan-TW: about: about_mastodon_html: 社交網路ê未來:Bô廣告、bô企業監控、設計有道德,兼非中心化!加入Mastodon,保有lí ê資料! contact_missing: Iáu bē設定 diff --git a/config/locales/simple_form.nan.yml b/config/locales/simple_form.nan-TW.yml similarity index 99% rename from config/locales/simple_form.nan.yml rename to config/locales/simple_form.nan-TW.yml index 08ae2a55df..84b955ddb0 100644 --- a/config/locales/simple_form.nan.yml +++ b/config/locales/simple_form.nan-TW.yml @@ -1,5 +1,5 @@ --- -nan: +nan-TW: simple_form: hints: account: