mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 05:08:03 +00:00
Add "signed in as" header to some pages (#4523)
This commit is contained in:
parent
029786442a
commit
df605f0f8b
|
@ -43,6 +43,10 @@ class ApplicationController < ActionController::Base
|
||||||
forbidden if current_user.account.suspended?
|
forbidden if current_user.account.suspended?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def after_sign_out_path_for(_resource_or_scope)
|
||||||
|
new_user_session_path
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def forbidden
|
def forbidden
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class AuthorizeFollowsController < ApplicationController
|
class AuthorizeFollowsController < ApplicationController
|
||||||
layout 'public'
|
layout 'modal'
|
||||||
|
|
||||||
before_action :authenticate_user!
|
before_action :authenticate_user!
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class RemoteFollowController < ApplicationController
|
class RemoteFollowController < ApplicationController
|
||||||
layout 'public'
|
layout 'modal'
|
||||||
|
|
||||||
before_action :set_account
|
before_action :set_account
|
||||||
before_action :gone, if: :suspended_account?
|
before_action :gone, if: :suspended_account?
|
||||||
|
|
|
@ -47,7 +47,7 @@ body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 360px) {
|
@media screen and (max-width: 400px) {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,8 +13,9 @@
|
||||||
margin: 100px auto;
|
margin: 100px auto;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
|
|
||||||
@media screen and (max-width: 360px) {
|
@media screen and (max-width: 400px) {
|
||||||
margin: 30px auto;
|
margin: 30px auto;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -42,3 +43,54 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.account-header {
|
||||||
|
width: 400px;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: flex;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 18px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 20px 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
margin-bottom: -30px;
|
||||||
|
margin-top: 40px;
|
||||||
|
|
||||||
|
@media screen and (max-width: 400px) {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 20px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 8px;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.name {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
color: $ui-secondary-color;
|
||||||
|
|
||||||
|
.username {
|
||||||
|
display: block;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.logout-link {
|
||||||
|
display: block;
|
||||||
|
font-size: 32px;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -317,7 +317,7 @@ code {
|
||||||
}
|
}
|
||||||
|
|
||||||
.flash-message {
|
.flash-message {
|
||||||
background: $ui-base-color;
|
background: lighten($ui-base-color, 8%);
|
||||||
color: $ui-primary-color;
|
color: $ui-primary-color;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 15px 10px;
|
padding: 15px 10px;
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
|
|
||||||
.form-container
|
.form-container
|
||||||
.follow-prompt
|
.follow-prompt
|
||||||
%h2= t('authorize_follow.prompt_html', self: current_account.username)
|
|
||||||
|
|
||||||
= render 'card', account: @account
|
= render 'card', account: @account
|
||||||
|
|
||||||
= form_tag authorize_follow_path, method: :post, class: 'simple_form' do
|
- unless current_account.following?(@account)
|
||||||
= hidden_field_tag :acct, @account.acct
|
= form_tag authorize_follow_path, method: :post, class: 'simple_form' do
|
||||||
= button_tag t('authorize_follow.follow'), type: :submit
|
= hidden_field_tag :acct, @account.acct
|
||||||
|
= button_tag t('authorize_follow.follow'), type: :submit
|
||||||
|
|
16
app/views/layouts/modal.html.haml
Normal file
16
app/views/layouts/modal.html.haml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
- content_for :header_tags do
|
||||||
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
||||||
|
|
||||||
|
- content_for :content do
|
||||||
|
- if user_signed_in?
|
||||||
|
.account-header
|
||||||
|
.avatar= image_tag current_account.avatar.url(:original)
|
||||||
|
.name
|
||||||
|
= t 'users.signed_in_as'
|
||||||
|
%span.username @#{current_account.local_username_and_domain}
|
||||||
|
= link_to destroy_user_session_path, method: :delete, class: 'logout-link icon-button' do
|
||||||
|
= fa_icon 'sign-out'
|
||||||
|
|
||||||
|
.container= yield
|
||||||
|
|
||||||
|
= render template: 'layouts/application'
|
|
@ -81,7 +81,7 @@ module Mastodon
|
||||||
config.middleware.use Rack::Deflater
|
config.middleware.use Rack::Deflater
|
||||||
|
|
||||||
config.to_prepare do
|
config.to_prepare do
|
||||||
Doorkeeper::AuthorizationsController.layout 'public'
|
Doorkeeper::AuthorizationsController.layout 'modal'
|
||||||
Doorkeeper::AuthorizedApplicationsController.layout 'admin'
|
Doorkeeper::AuthorizedApplicationsController.layout 'admin'
|
||||||
Doorkeeper::Application.send :include, ApplicationExtension
|
Doorkeeper::Application.send :include, ApplicationExtension
|
||||||
end
|
end
|
||||||
|
|
|
@ -34,6 +34,11 @@ Doorkeeper.configure do
|
||||||
# https://github.com/doorkeeper-gem/doorkeeper#custom-access-token-generator
|
# https://github.com/doorkeeper-gem/doorkeeper#custom-access-token-generator
|
||||||
# access_token_generator "::Doorkeeper::JWT"
|
# access_token_generator "::Doorkeeper::JWT"
|
||||||
|
|
||||||
|
# The controller Doorkeeper::ApplicationController inherits from.
|
||||||
|
# Defaults to ActionController::Base.
|
||||||
|
# https://github.com/doorkeeper-gem/doorkeeper#custom-base-controller
|
||||||
|
base_controller 'ApplicationController'
|
||||||
|
|
||||||
# Reuse access token for the same resource owner within an application (disabled by default)
|
# Reuse access token for the same resource owner within an application (disabled by default)
|
||||||
# Rationale: https://github.com/doorkeeper-gem/doorkeeper/issues/383
|
# Rationale: https://github.com/doorkeeper-gem/doorkeeper/issues/383
|
||||||
reuse_access_token
|
reuse_access_token
|
||||||
|
|
|
@ -43,7 +43,6 @@ ar:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Unfortunately, there was an error looking up the remote account
|
error: Unfortunately, there was an error looking up the remote account
|
||||||
follow: إتبع
|
follow: إتبع
|
||||||
prompt_html: 'You (<strong>%{self}</strong>) have requested to follow:'
|
|
||||||
title: إتباع %{acct}
|
title: إتباع %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -43,7 +43,6 @@ bg:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Възникна грешка в откриването на потребителя
|
error: Възникна грешка в откриването на потребителя
|
||||||
follow: Последвай
|
follow: Последвай
|
||||||
prompt_html: "(<strong>%{self}</strong>), молбата ти беше изпратена до:"
|
|
||||||
title: Последвай %{acct}
|
title: Последвай %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -185,7 +185,6 @@ ca:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Malauradament, ha ocorregut un error buscant el compte remot
|
error: Malauradament, ha ocorregut un error buscant el compte remot
|
||||||
follow: Seguir
|
follow: Seguir
|
||||||
prompt_html: 'Tú (<strong>%{self}</strong>) has solicitat seguir:'
|
|
||||||
title: Seguir %{acct}
|
title: Seguir %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -166,7 +166,6 @@ de:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Das Profil konnte nicht geladen werden
|
error: Das Profil konnte nicht geladen werden
|
||||||
follow: Folgen
|
follow: Folgen
|
||||||
prompt_html: 'Du (<strong>%{self}</strong>) möchtest dieser Person folgen:'
|
|
||||||
title: "%{acct} folgen"
|
title: "%{acct} folgen"
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -215,7 +215,7 @@ en:
|
||||||
body: "%{reporter} has reported %{target}"
|
body: "%{reporter} has reported %{target}"
|
||||||
subject: New report for %{instance} (#%{id})
|
subject: New report for %{instance} (#%{id})
|
||||||
application_mailer:
|
application_mailer:
|
||||||
salutation: '%{name},'
|
salutation: "%{name},"
|
||||||
settings: 'Change e-mail preferences: %{link}'
|
settings: 'Change e-mail preferences: %{link}'
|
||||||
signature: Mastodon notifications from %{instance}
|
signature: Mastodon notifications from %{instance}
|
||||||
view: 'View:'
|
view: 'View:'
|
||||||
|
@ -228,13 +228,13 @@ en:
|
||||||
delete_account_html: If you wish to delete your account, you can <a href="%{path}">proceed here</a>. You will be asked for confirmation.
|
delete_account_html: If you wish to delete your account, you can <a href="%{path}">proceed here</a>. You will be asked for confirmation.
|
||||||
didnt_get_confirmation: Didn't receive confirmation instructions?
|
didnt_get_confirmation: Didn't receive confirmation instructions?
|
||||||
forgot_password: Forgot your password?
|
forgot_password: Forgot your password?
|
||||||
|
invalid_reset_password_token: Password reset link is invalid or expired. Please try again.
|
||||||
login: Log in
|
login: Log in
|
||||||
logout: Logout
|
logout: Logout
|
||||||
register: Sign up
|
register: Sign up
|
||||||
resend_confirmation: Resend confirmation instructions
|
resend_confirmation: Resend confirmation instructions
|
||||||
reset_password: Reset password
|
reset_password: Reset password
|
||||||
set_new_password: Set new password
|
set_new_password: Set new password
|
||||||
invalid_reset_password_token: Password reset link is invalid or expired. Please try again.
|
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Unfortunately, there was an error looking up the remote account
|
error: Unfortunately, there was an error looking up the remote account
|
||||||
follow: Follow
|
follow: Follow
|
||||||
|
@ -244,7 +244,6 @@ en:
|
||||||
close: Or, you can just close this window.
|
close: Or, you can just close this window.
|
||||||
return: Return to the user's profile
|
return: Return to the user's profile
|
||||||
web: Go to web
|
web: Go to web
|
||||||
prompt_html: 'You (<strong>%{self}</strong>) have requested to follow:'
|
|
||||||
title: Follow %{acct}
|
title: Follow %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
@ -524,3 +523,4 @@ en:
|
||||||
users:
|
users:
|
||||||
invalid_email: The e-mail address is invalid
|
invalid_email: The e-mail address is invalid
|
||||||
invalid_otp_token: Invalid two-factor code
|
invalid_otp_token: Invalid two-factor code
|
||||||
|
signed_in_as: 'Signed in as:'
|
||||||
|
|
|
@ -42,7 +42,6 @@ eo:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Bedaŭrinde, okazis eraro provante konsulti la foran konton
|
error: Bedaŭrinde, okazis eraro provante konsulti la foran konton
|
||||||
follow: Sekvi
|
follow: Sekvi
|
||||||
prompt_html: 'Vi (<strong>%{self}</strong>) petis sekvi:'
|
|
||||||
title: Sekvi %{acct}
|
title: Sekvi %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -43,7 +43,6 @@ es:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Desafortunadamente, ha ocurrido un error buscando la cuenta remota
|
error: Desafortunadamente, ha ocurrido un error buscando la cuenta remota
|
||||||
follow: Seguir
|
follow: Seguir
|
||||||
prompt_html: 'Tú (<strong>%{self}</strong>) has solicitado seguir:'
|
|
||||||
title: Seguir %{acct}
|
title: Seguir %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -212,10 +212,10 @@ fa:
|
||||||
title: مدیریت
|
title: مدیریت
|
||||||
admin_mailer:
|
admin_mailer:
|
||||||
new_report:
|
new_report:
|
||||||
body: "کاربر %{reporter} کاربر %{target} را گزارش داد"
|
body: کاربر %{reporter} کاربر %{target} را گزارش داد
|
||||||
subject: گزارش تازهای برای %{instance} (#%{id})
|
subject: گزارش تازهای برای %{instance} (#%{id})
|
||||||
application_mailer:
|
application_mailer:
|
||||||
salutation: '%{name},'
|
salutation: "%{name},"
|
||||||
settings: 'تغییر تنظیمات ایمیل: %{link}'
|
settings: 'تغییر تنظیمات ایمیل: %{link}'
|
||||||
signature: اعلانهای ماستدون از %{instance}
|
signature: اعلانهای ماستدون از %{instance}
|
||||||
view: 'نمایش:'
|
view: 'نمایش:'
|
||||||
|
@ -243,7 +243,6 @@ fa:
|
||||||
close: یا این پنجره را ببندید.
|
close: یا این پنجره را ببندید.
|
||||||
return: به نمایهٔ این کاربر بازگردید
|
return: به نمایهٔ این کاربر بازگردید
|
||||||
web: رفتن به وب
|
web: رفتن به وب
|
||||||
prompt_html: 'شما (<strong>%{self}</strong>) میخواهید این حساب را پی بگیرید:'
|
|
||||||
title: پیگیری %{acct}
|
title: پیگیری %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
@ -500,7 +499,7 @@ fa:
|
||||||
<p>این نوشته تحت اجازهنامهٔ CC-BY-SA قرار دارد. تاریخ آخرین بهروزرسانی آن ۱۰ خرداد ۱۳۹۲ است.</p>
|
<p>این نوشته تحت اجازهنامهٔ CC-BY-SA قرار دارد. تاریخ آخرین بهروزرسانی آن ۱۰ خرداد ۱۳۹۲ است.</p>
|
||||||
|
|
||||||
<p>این نوشته اقتباسی است از <a href="https://github.com/discourse/discourse">سیاست رازداری Discourse</a>.</p>
|
<p>این نوشته اقتباسی است از <a href="https://github.com/discourse/discourse">سیاست رازداری Discourse</a>.</p>
|
||||||
title: "شرایط استفاده و سیاست رازداری %{instance}"
|
title: شرایط استفاده و سیاست رازداری %{instance}
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
default: "%d %b %Y, %H:%M"
|
default: "%d %b %Y, %H:%M"
|
||||||
|
|
|
@ -42,7 +42,6 @@ fi:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Valitettavasti tapahtui virhe etätilin haussa.
|
error: Valitettavasti tapahtui virhe etätilin haussa.
|
||||||
follow: Seuraa
|
follow: Seuraa
|
||||||
prompt_html: 'Sinä (<strong>%{self}</strong>) olet pyytänyt lupaa seurata:'
|
|
||||||
title: Seuraa %{acct}
|
title: Seuraa %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -235,7 +235,6 @@ fr:
|
||||||
close: Ou bien, vous pouvez fermer cette fenêtre.
|
close: Ou bien, vous pouvez fermer cette fenêtre.
|
||||||
return: Retour au profil de l'utilisateur⋅trice
|
return: Retour au profil de l'utilisateur⋅trice
|
||||||
web: Retour à l'interface web
|
web: Retour à l'interface web
|
||||||
prompt_html: 'Vous (<strong>%{self}</strong>) avez demandé à suivre :'
|
|
||||||
title: Suivre %{acct}
|
title: Suivre %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -177,7 +177,6 @@ he:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: למרבה הצער, היתה שגיאה בחיפוש החשבון המרוחק
|
error: למרבה הצער, היתה שגיאה בחיפוש החשבון המרוחק
|
||||||
follow: לעקוב
|
follow: לעקוב
|
||||||
prompt_html: 'בקשת מעקב ממך (<strong>%{self}</strong>) אחרי:'
|
|
||||||
title: לעקוב אחרי %{acct}
|
title: לעקוב אחרי %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -43,7 +43,6 @@ hr:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Nažalost, došlo je do greške looking up the remote račun
|
error: Nažalost, došlo je do greške looking up the remote račun
|
||||||
follow: Slijedi
|
follow: Slijedi
|
||||||
prompt_html: 'Ti si (<strong>%{self}</strong>) poslao zahtjev za sljeđenje:'
|
|
||||||
title: Slijedi %{acct}
|
title: Slijedi %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -168,7 +168,6 @@ id:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Sayangnya, ada error saat melihat akun remote
|
error: Sayangnya, ada error saat melihat akun remote
|
||||||
follow: Ikuti
|
follow: Ikuti
|
||||||
prompt_html: 'Anda (<strong>%{self}</strong>) telah diminta untuk mengikuti:'
|
|
||||||
title: Mengikuti %{acct}
|
title: Mengikuti %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -166,7 +166,6 @@ io:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Regretinde, eventis eraro probante konsultar la fora konto
|
error: Regretinde, eventis eraro probante konsultar la fora konto
|
||||||
follow: Sequar
|
follow: Sequar
|
||||||
prompt_html: 'Tu (<strong>%{self}</strong>) demandis sequar:'
|
|
||||||
title: Sequar %{acct}
|
title: Sequar %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -43,7 +43,6 @@ it:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Sfortunatamente c'è stato un errore nel consultare l'account remoto
|
error: Sfortunatamente c'è stato un errore nel consultare l'account remoto
|
||||||
follow: Segui
|
follow: Segui
|
||||||
prompt_html: 'Tu, (<strong>%{self}</strong>), hai richiesto di seguire:'
|
|
||||||
title: Segui %{acct}
|
title: Segui %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -242,7 +242,6 @@ ja:
|
||||||
close: またはこのウィンドウを閉じます
|
close: またはこのウィンドウを閉じます
|
||||||
return: ユーザーのプロフィールに戻る
|
return: ユーザーのプロフィールに戻る
|
||||||
web: Web を開く
|
web: Web を開く
|
||||||
prompt_html: 'あなた(<strong>%{self}</strong>)は以下のアカウントのフォローをリクエストしました:'
|
|
||||||
title: "%{acct} をフォロー"
|
title: "%{acct} をフォロー"
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -189,7 +189,6 @@ ko:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: 리모트 팔로우 도중 오류가 발생했습니다.
|
error: 리모트 팔로우 도중 오류가 발생했습니다.
|
||||||
follow: 팔로우
|
follow: 팔로우
|
||||||
prompt_html: '나(<strong>%{self}</strong>) 는 아래 계정의 팔로우를 요청했습니다:'
|
|
||||||
title: "%{acct} 를 팔로우"
|
title: "%{acct} 를 팔로우"
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -106,7 +106,7 @@ nl:
|
||||||
domain: Domein
|
domain: Domein
|
||||||
new:
|
new:
|
||||||
create: Blokkade aanmaken
|
create: Blokkade aanmaken
|
||||||
hint: Een domeinblokkade voorkomt niet dat accountgegevens van dit domein aan de database worden toegevoegd, maar dat er met terugwerkende kracht en automatisch bepaalde moderatiemethoden op deze accounts worden toegepast.
|
hint: Een domeinblokkade voorkomt niet dat accountgegevens van dit domein aan de database worden toegevoegd, maar dat er met terugwerkende kracht en automatisch bepaalde moderatiemethoden op deze accounts worden toegepast.
|
||||||
severity:
|
severity:
|
||||||
desc_html: "<strong>Negeren</strong> zorgt ervoor dat berichten van accounts van dit domein voor iedereen onzichtbaar zijn, behalve als een account wordt gevolgd. <strong>Opschorten</strong> zorgt ervoor dat alle berichten, media en profielgegevens van accounts van dit domein worden verwijderd. Gebruik <strong>Geen</strong> wanneer je alleen mediabestanden wilt weigeren."
|
desc_html: "<strong>Negeren</strong> zorgt ervoor dat berichten van accounts van dit domein voor iedereen onzichtbaar zijn, behalve als een account wordt gevolgd. <strong>Opschorten</strong> zorgt ervoor dat alle berichten, media en profielgegevens van accounts van dit domein worden verwijderd. Gebruik <strong>Geen</strong> wanneer je alleen mediabestanden wilt weigeren."
|
||||||
noop: Geen
|
noop: Geen
|
||||||
|
@ -129,7 +129,7 @@ nl:
|
||||||
suspend: Alle opgeschorste accounts van dit domein niet meer opschorten
|
suspend: Alle opgeschorste accounts van dit domein niet meer opschorten
|
||||||
title: Domeinblokkade voor %{domain} ongedaan maken
|
title: Domeinblokkade voor %{domain} ongedaan maken
|
||||||
undo: Ongedaan maken
|
undo: Ongedaan maken
|
||||||
title: Domeinblokkades
|
title: Domeinblokkades
|
||||||
undo: Ongedaan maken
|
undo: Ongedaan maken
|
||||||
instances:
|
instances:
|
||||||
account_count: Bekende accounts
|
account_count: Bekende accounts
|
||||||
|
@ -169,7 +169,7 @@ nl:
|
||||||
title: Bericht wanneer registratie is uitgeschakeld
|
title: Bericht wanneer registratie is uitgeschakeld
|
||||||
deletion:
|
deletion:
|
||||||
desc_html: Toestaan dat iedereen hun eigen account kan verwijderen
|
desc_html: Toestaan dat iedereen hun eigen account kan verwijderen
|
||||||
title: Verwijderen account toestaan
|
title: Verwijderen account toestaan
|
||||||
open:
|
open:
|
||||||
desc_html: Toestaan dat iedereen een account kan registereren
|
desc_html: Toestaan dat iedereen een account kan registereren
|
||||||
title: Open registratie
|
title: Open registratie
|
||||||
|
@ -241,7 +241,6 @@ nl:
|
||||||
close: Of je kan dit venster gewoon sluiten.
|
close: Of je kan dit venster gewoon sluiten.
|
||||||
return: Ga terug naar het profiel van de gebruiker
|
return: Ga terug naar het profiel van de gebruiker
|
||||||
web: Ga naar de webapp
|
web: Ga naar de webapp
|
||||||
prompt_html: 'Je (<strong>%{self}</strong>) hebt toestemming gevraagd om iemand te mogen volgen:'
|
|
||||||
title: Volg %{acct}
|
title: Volg %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
@ -307,7 +306,7 @@ nl:
|
||||||
following: Volglijst
|
following: Volglijst
|
||||||
muting: Negeerlijst
|
muting: Negeerlijst
|
||||||
upload: Uploaden
|
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.
|
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."
|
||||||
landing_strip_signup_html: Als je dat niet hebt, kun je je <a href="%{sign_up_path}">hier registreren</a>.
|
landing_strip_signup_html: Als je dat niet hebt, kun je je <a href="%{sign_up_path}">hier registreren</a>.
|
||||||
media_attachments:
|
media_attachments:
|
||||||
validations:
|
validations:
|
||||||
|
@ -510,7 +509,7 @@ nl:
|
||||||
generate_recovery_codes: Herstelcodes genereren
|
generate_recovery_codes: Herstelcodes genereren
|
||||||
instructions_html: "<strong>Scan deze QR-code in Google Authenticator of een soortgelijke app op jouw mobiele telefoon</strong>. Van nu af aan genereert deze app aanmeldcodes die je bij het aanmelden moet invoeren."
|
instructions_html: "<strong>Scan deze QR-code in Google Authenticator of een soortgelijke app op jouw mobiele telefoon</strong>. Van nu af aan genereert deze app aanmeldcodes die je bij het aanmelden moet invoeren."
|
||||||
lost_recovery_codes: Met herstelcodes kun je toegang tot jouw account krijgen wanneer je jouw telefoon bent kwijtgeraakt. Wanneer je jouw herstelcodes bent kwijtgeraakt, kan je ze hier opnieuw genereren. Jouw oude herstelcodes zijn daarna ongeldig.
|
lost_recovery_codes: Met herstelcodes kun je toegang tot jouw account krijgen wanneer je jouw telefoon bent kwijtgeraakt. Wanneer je jouw herstelcodes bent kwijtgeraakt, kan je ze hier opnieuw genereren. Jouw oude herstelcodes zijn daarna ongeldig.
|
||||||
manual_instructions: 'Hieronder vind je de geheime code in platte tekst. Voor het geval je de QR-code niet kunt scannen en het handmatig moet invoeren.'
|
manual_instructions: Hieronder vind je de geheime code in platte tekst. Voor het geval je de QR-code niet kunt scannen en het handmatig moet invoeren.
|
||||||
recovery_codes: Herstelcodes back-uppen
|
recovery_codes: Herstelcodes back-uppen
|
||||||
recovery_codes_regenerated: Opnieuw genereren herstelcodes geslaagd
|
recovery_codes_regenerated: Opnieuw genereren herstelcodes geslaagd
|
||||||
recovery_instructions_html: Wanneer je ooit de toegang verliest tot jouw telefoon, kan je met behulp van een van de herstelcodes hieronder opnieuw toegang krijgen tot jouw account. Zorg ervoor dat je de herstelcodes op een veilige plek bewaard. (Je kunt ze bijvoorbeeld printen en ze samen met andere belangrijke documenten bewaren.)
|
recovery_instructions_html: Wanneer je ooit de toegang verliest tot jouw telefoon, kan je met behulp van een van de herstelcodes hieronder opnieuw toegang krijgen tot jouw account. Zorg ervoor dat je de herstelcodes op een veilige plek bewaard. (Je kunt ze bijvoorbeeld printen en ze samen met andere belangrijke documenten bewaren.)
|
||||||
|
|
|
@ -170,7 +170,6 @@
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Uheldigvis så skjedde det en feil da vi prøvde å få tak i en bruker fra en annen instans.
|
error: Uheldigvis så skjedde det en feil da vi prøvde å få tak i en bruker fra en annen instans.
|
||||||
follow: Følg
|
follow: Følg
|
||||||
prompt_html: 'Du (<strong>%{self}</strong>) har spurt om å følge:'
|
|
||||||
title: Følg %{acct}
|
title: Følg %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -31,7 +31,7 @@ oc:
|
||||||
status_count_after: estatuts
|
status_count_after: estatuts
|
||||||
status_count_before: qu’an escrich
|
status_count_before: qu’an escrich
|
||||||
user_count_after: personas
|
user_count_after: personas
|
||||||
user_count_before: Ostal de
|
user_count_before: Ostal de
|
||||||
what_is_mastodon: Qu’es Mastodon ?
|
what_is_mastodon: Qu’es Mastodon ?
|
||||||
accounts:
|
accounts:
|
||||||
follow: Sègre
|
follow: Sègre
|
||||||
|
@ -243,7 +243,6 @@ oc:
|
||||||
close: O podètz tampar aquesta fenèstra.
|
close: O podètz tampar aquesta fenèstra.
|
||||||
return: Tornar al perfil
|
return: Tornar al perfil
|
||||||
web: Tornar a l’interfàcia Web
|
web: Tornar a l’interfàcia Web
|
||||||
prompt_html: 'Avètz (<strong>%{self}</strong>) demandat de sègre :'
|
|
||||||
title: Sègre %{acct}
|
title: Sègre %{acct}
|
||||||
date:
|
date:
|
||||||
abbr_day_names:
|
abbr_day_names:
|
||||||
|
|
|
@ -215,7 +215,7 @@ pl:
|
||||||
body: Użytkownik %{reporter} zgłosił %{target}
|
body: Użytkownik %{reporter} zgłosił %{target}
|
||||||
subject: Nowe zgłoszenie na %{instance} (#%{id})
|
subject: Nowe zgłoszenie na %{instance} (#%{id})
|
||||||
application_mailer:
|
application_mailer:
|
||||||
salutation: '%{name},'
|
salutation: "%{name},"
|
||||||
settings: 'Zmień ustawienia powiadamiania: %{link}'
|
settings: 'Zmień ustawienia powiadamiania: %{link}'
|
||||||
signature: Powiadomienie Mastodona z instancji %{instance}
|
signature: Powiadomienie Mastodona z instancji %{instance}
|
||||||
view: 'Zobacz:'
|
view: 'Zobacz:'
|
||||||
|
@ -243,7 +243,6 @@ pl:
|
||||||
close: Ewentualnie, możesz po prostu zamknąć tę stronę.
|
close: Ewentualnie, możesz po prostu zamknąć tę stronę.
|
||||||
return: Powróć do strony użytkownika
|
return: Powróć do strony użytkownika
|
||||||
web: Przejdź do sieci
|
web: Przejdź do sieci
|
||||||
prompt_html: 'Ty (<strong>%{self}</strong>) chcesz śledzić:'
|
|
||||||
title: Śledź %{acct}
|
title: Śledź %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -169,7 +169,6 @@ pt-BR:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Infelizmente houve um erro olhando uma conta remota
|
error: Infelizmente houve um erro olhando uma conta remota
|
||||||
follow: Seguir
|
follow: Seguir
|
||||||
prompt_html: 'Você (<strong>%{self}</strong>) pediu pra seguir:'
|
|
||||||
title: Seguir %{acct}
|
title: Seguir %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -162,7 +162,6 @@ ru:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: К сожалению, при поиске удаленного аккаунта возникла ошибка
|
error: К сожалению, при поиске удаленного аккаунта возникла ошибка
|
||||||
follow: Подписаться
|
follow: Подписаться
|
||||||
prompt_html: 'Вы (<strong>%{self}</strong>) запросили подписку:'
|
|
||||||
title: Подписаться на %{acct}
|
title: Подписаться на %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
@ -269,14 +268,14 @@ ru:
|
||||||
truncate: "…"
|
truncate: "…"
|
||||||
push_notifications:
|
push_notifications:
|
||||||
favourite:
|
favourite:
|
||||||
title: "Ваш статус понравился %{name}"
|
title: Ваш статус понравился %{name}
|
||||||
follow:
|
follow:
|
||||||
title: "%{name} теперь подписан(а) на Вас"
|
title: "%{name} теперь подписан(а) на Вас"
|
||||||
mention:
|
mention:
|
||||||
action_boost: Продвинуть
|
action_boost: Продвинуть
|
||||||
action_expand: Развернуть
|
action_expand: Развернуть
|
||||||
action_favourite: Нравится
|
action_favourite: Нравится
|
||||||
title: "Вас упомянул(а) %{name}"
|
title: Вас упомянул(а) %{name}
|
||||||
reblog:
|
reblog:
|
||||||
title: "%{name} продвинул(а) Ваш статус"
|
title: "%{name} продвинул(а) Ваш статус"
|
||||||
subscribed:
|
subscribed:
|
||||||
|
@ -351,7 +350,7 @@ ru:
|
||||||
reblogged: продвинул(а)
|
reblogged: продвинул(а)
|
||||||
sensitive_content: Чувствительный контент
|
sensitive_content: Чувствительный контент
|
||||||
terms:
|
terms:
|
||||||
title: "Условия обслуживания и политика конфиденциальности %{instance}"
|
title: Условия обслуживания и политика конфиденциальности %{instance}
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
default: "%b %d, %Y, %H:%M"
|
default: "%b %d, %Y, %H:%M"
|
||||||
|
|
|
@ -170,7 +170,6 @@ th:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Unfortunately, there was an error looking up the remote account
|
error: Unfortunately, there was an error looking up the remote account
|
||||||
follow: ติดตาม
|
follow: ติดตาม
|
||||||
prompt_html: 'คุณ (<strong>%{self}</strong>) ขอติดตาม:'
|
|
||||||
title: ติดตาม %{acct}
|
title: ติดตาม %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -169,7 +169,6 @@ tr:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: Uzak hesap aranırken bir hata oluştu.
|
error: Uzak hesap aranırken bir hata oluştu.
|
||||||
follow: Takip et
|
follow: Takip et
|
||||||
prompt_html: 'Siz (<strong>%{self}</strong>) bu kullanıcıyı takip etmek istiyor musunuz?:'
|
|
||||||
title: "%{acct}'i takip et"
|
title: "%{acct}'i takip et"
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -160,7 +160,6 @@ uk:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: На жаль, при пошуку віддаленого аккаунту виникла помилка
|
error: На жаль, при пошуку віддаленого аккаунту виникла помилка
|
||||||
follow: Підписатися
|
follow: Підписатися
|
||||||
prompt_html: 'Ви (<strong>%{self}</strong>) запитали про підписку:'
|
|
||||||
title: Підписатися на %{acct}
|
title: Підписатися на %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -176,7 +176,6 @@ zh-CN:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: 对不起,寻找这个跨站用户时出错
|
error: 对不起,寻找这个跨站用户时出错
|
||||||
follow: 关注
|
follow: 关注
|
||||||
prompt_html: 你 (<strong>%{self}</strong>) 正准备关注︰
|
|
||||||
title: 关注 %{acct}
|
title: 关注 %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -169,7 +169,6 @@ zh-HK:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: 對不起,尋找這個跨站用戶的過程發生錯誤
|
error: 對不起,尋找這個跨站用戶的過程發生錯誤
|
||||||
follow: 關注
|
follow: 關注
|
||||||
prompt_html: 你 (<strong>%{self}</strong>) 正準備關注︰
|
|
||||||
title: 關注 %{acct}
|
title: 關注 %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -140,7 +140,6 @@ zh-TW:
|
||||||
authorize_follow:
|
authorize_follow:
|
||||||
error: 對不起,尋找這個跨站使用者的過程發生錯誤
|
error: 對不起,尋找這個跨站使用者的過程發生錯誤
|
||||||
follow: 關注
|
follow: 關注
|
||||||
prompt_html: 您 (<strong>%{self}</strong>) 正準備關注︰
|
|
||||||
title: 關注 %{acct}
|
title: 關注 %{acct}
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
|
|
|
@ -28,7 +28,7 @@ RSpec.describe Auth::SessionsController, type: :controller do
|
||||||
sign_in(user, scope: :user)
|
sign_in(user, scope: :user)
|
||||||
delete :destroy
|
delete :destroy
|
||||||
|
|
||||||
expect(response).to redirect_to(root_path)
|
expect(response).to redirect_to(new_user_session_path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ RSpec.describe Auth::SessionsController, type: :controller do
|
||||||
sign_in(user, scope: :user)
|
sign_in(user, scope: :user)
|
||||||
delete :destroy
|
delete :destroy
|
||||||
|
|
||||||
expect(response).to redirect_to(root_path)
|
expect(response).to redirect_to(new_user_session_path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue