Oauth code in input form and add description message (#4986)
* Oauth code in a input form and add description * New authcode description
This commit is contained in:
parent
dd6f9a1b82
commit
4c14ff659b
@ -349,9 +349,46 @@ code {
|
|||||||
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oauth-code {
|
||||||
|
color: $ui-secondary-color;
|
||||||
|
outline: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
border: none;
|
||||||
|
padding: 10px;
|
||||||
|
font-family: 'mastodon-font-monospace', monospace;
|
||||||
|
background: $ui-base-color;
|
||||||
|
color: $ui-primary-color;
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
&::-moz-focus-inner {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-moz-focus-inner,
|
||||||
|
&:focus,
|
||||||
|
&:active {
|
||||||
|
outline: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
background: lighten($ui-base-color, 4%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 740px) and (min-width: 441px) {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-footer {
|
.form-footer {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
.form-container
|
.form-container
|
||||||
.flash-message
|
.flash-message
|
||||||
%code= params[:code]
|
%p= t('doorkeeper.authorizations.show.title')
|
||||||
|
%input{ type: 'text', class: 'oauth-code', readonly: true, value: params[:code], onClick: 'select()' }
|
||||||
|
@ -57,7 +57,7 @@ ar:
|
|||||||
prompt: طلبَ تطبيق %{client_name} تصريحا لاستعمال حسابك.
|
prompt: طلبَ تطبيق %{client_name} تصريحا لاستعمال حسابك.
|
||||||
title: إذن بالتصريح
|
title: إذن بالتصريح
|
||||||
show:
|
show:
|
||||||
title: رمز الترخيص
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: إبطال التصريح
|
revoke: إبطال التصريح
|
||||||
|
@ -57,7 +57,7 @@ bg:
|
|||||||
prompt: Приложението %{client_name} заявява достъп до твоя акаунт
|
prompt: Приложението %{client_name} заявява достъп до твоя акаунт
|
||||||
title: Изисква се упълномощаване
|
title: Изисква се упълномощаване
|
||||||
show:
|
show:
|
||||||
title: Код за упълномощаване
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Отмяна
|
revoke: Отмяна
|
||||||
|
@ -57,7 +57,7 @@ ca:
|
|||||||
prompt: La aplicació %{client_name} sol⋅licita tenir accés al teu compte
|
prompt: La aplicació %{client_name} sol⋅licita tenir accés al teu compte
|
||||||
title: Es requereix autorizació
|
title: Es requereix autorizació
|
||||||
show:
|
show:
|
||||||
title: Codi de autorització
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revocar
|
revoke: Revocar
|
||||||
|
@ -57,7 +57,7 @@ de:
|
|||||||
prompt: Soll %{client_name} für die Benutzung dieses Accounts autorisiert werden?
|
prompt: Soll %{client_name} für die Benutzung dieses Accounts autorisiert werden?
|
||||||
title: Autorisierung erforderlich
|
title: Autorisierung erforderlich
|
||||||
show:
|
show:
|
||||||
title: Autorisierungscode
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Ungültig machen
|
revoke: Ungültig machen
|
||||||
|
@ -63,7 +63,7 @@ en:
|
|||||||
prompt: Application %{client_name} requests access to your account
|
prompt: Application %{client_name} requests access to your account
|
||||||
title: Authorization required
|
title: Authorization required
|
||||||
show:
|
show:
|
||||||
title: Authorization code
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revoke
|
revoke: Revoke
|
||||||
|
@ -57,7 +57,7 @@ eo:
|
|||||||
prompt: La aplikaĵo %{client_name} petas aliron al via konto
|
prompt: La aplikaĵo %{client_name} petas aliron al via konto
|
||||||
title: Rajtigo bezonata
|
title: Rajtigo bezonata
|
||||||
show:
|
show:
|
||||||
title: Rajtiga kodo
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Malrajtigi
|
revoke: Malrajtigi
|
||||||
|
@ -57,7 +57,7 @@ es:
|
|||||||
prompt: La aplicación %{client_name} solicita tener acceso a su cuenta
|
prompt: La aplicación %{client_name} solicita tener acceso a su cuenta
|
||||||
title: Se requiere autorización
|
title: Se requiere autorización
|
||||||
show:
|
show:
|
||||||
title: Código de autorización
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revocar
|
revoke: Revocar
|
||||||
|
@ -63,7 +63,7 @@ fa:
|
|||||||
prompt: Application %{client_name} requests access to your account
|
prompt: Application %{client_name} requests access to your account
|
||||||
title: Authorization required
|
title: Authorization required
|
||||||
show:
|
show:
|
||||||
title: Authorization code
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revoke
|
revoke: Revoke
|
||||||
|
@ -57,7 +57,7 @@ fi:
|
|||||||
prompt: Applikaatio %{client_name} pyytää lupaa tilillesi
|
prompt: Applikaatio %{client_name} pyytää lupaa tilillesi
|
||||||
title: Valtuutus vaaditaan
|
title: Valtuutus vaaditaan
|
||||||
show:
|
show:
|
||||||
title: Valtuutus koodi
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Evää
|
revoke: Evää
|
||||||
|
@ -59,7 +59,7 @@ fr:
|
|||||||
prompt: Autoriser %{client_name} à utiliser votre compte ?
|
prompt: Autoriser %{client_name} à utiliser votre compte ?
|
||||||
title: Autorisation requise
|
title: Autorisation requise
|
||||||
show:
|
show:
|
||||||
title: Code d’autorisation
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Annuler
|
revoke: Annuler
|
||||||
|
@ -57,7 +57,7 @@ he :
|
|||||||
prompt: ישום %{client_name} מבקש גישה לחשבונך
|
prompt: ישום %{client_name} מבקש גישה לחשבונך
|
||||||
title: נדרשת הרשאה
|
title: נדרשת הרשאה
|
||||||
show:
|
show:
|
||||||
title: קוד הרשאה
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: ביטול
|
revoke: ביטול
|
||||||
|
@ -57,7 +57,7 @@ hr:
|
|||||||
prompt: Aplikacija %{client_name} je zatražila pristup tvom računu
|
prompt: Aplikacija %{client_name} je zatražila pristup tvom računu
|
||||||
title: Traži se autorizacija
|
title: Traži se autorizacija
|
||||||
show:
|
show:
|
||||||
title: Autorizacijski kod
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Odbij
|
revoke: Odbij
|
||||||
|
@ -57,7 +57,7 @@ hu:
|
|||||||
prompt: "%{client_name} nevű alkalmazás engedélyt kér a fiókodhoz való hozzáféréshez."
|
prompt: "%{client_name} nevű alkalmazás engedélyt kér a fiókodhoz való hozzáféréshez."
|
||||||
title: Engedély szükséges
|
title: Engedély szükséges
|
||||||
show:
|
show:
|
||||||
title: Engedély kódja
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Visszavonás
|
revoke: Visszavonás
|
||||||
|
@ -57,7 +57,7 @@ id:
|
|||||||
prompt: Aplikasi %{client_name} meminta akses pada akun anda
|
prompt: Aplikasi %{client_name} meminta akses pada akun anda
|
||||||
title: Izin diperlukan
|
title: Izin diperlukan
|
||||||
show:
|
show:
|
||||||
title: Kode izin
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Cabut izin
|
revoke: Cabut izin
|
||||||
|
@ -57,7 +57,7 @@ io:
|
|||||||
prompt: Application %{client_name} requests access to your account
|
prompt: Application %{client_name} requests access to your account
|
||||||
title: Authorization required
|
title: Authorization required
|
||||||
show:
|
show:
|
||||||
title: Authorization code
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revoke
|
revoke: Revoke
|
||||||
|
@ -57,7 +57,7 @@ it:
|
|||||||
prompt: L'applicazione %{client_name} richiede l'accesso al tuo account
|
prompt: L'applicazione %{client_name} richiede l'accesso al tuo account
|
||||||
title: Autorizzazione richiesta
|
title: Autorizzazione richiesta
|
||||||
show:
|
show:
|
||||||
title: Codice autorizzazione
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Disabilita
|
revoke: Disabilita
|
||||||
|
@ -63,7 +63,7 @@ ja:
|
|||||||
prompt: アプリ %{client_name} があなたのアカウントへのアクセスを要求しています。
|
prompt: アプリ %{client_name} があなたのアカウントへのアクセスを要求しています。
|
||||||
title: 認証が必要です。
|
title: 認証が必要です。
|
||||||
show:
|
show:
|
||||||
title: 認証コード
|
title: 認証コードをコピーしてアプリに貼り付けて下さい。
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: 取消
|
revoke: 取消
|
||||||
|
@ -63,7 +63,7 @@ nl:
|
|||||||
prompt: "%{client_name} autoriseren om uw account te gebruiken?"
|
prompt: "%{client_name} autoriseren om uw account te gebruiken?"
|
||||||
title: Autorisatie vereist
|
title: Autorisatie vereist
|
||||||
show:
|
show:
|
||||||
title: Autorisatie-code
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Intrekken
|
revoke: Intrekken
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
prompt: Applikasjon %{client_name} spør om tilgang til din konto
|
prompt: Applikasjon %{client_name} spør om tilgang til din konto
|
||||||
title: Autorisasjon påkrevd
|
title: Autorisasjon påkrevd
|
||||||
show:
|
show:
|
||||||
title: Autoriserings kode
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Opphev
|
revoke: Opphev
|
||||||
|
@ -63,7 +63,7 @@ oc:
|
|||||||
prompt: L’aplicacion %{client_name} demanda l’accès al vòstre compte.
|
prompt: L’aplicacion %{client_name} demanda l’accès al vòstre compte.
|
||||||
title: Cal l’autorizacion
|
title: Cal l’autorizacion
|
||||||
show:
|
show:
|
||||||
title: Còdi d’autorizacion
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revocar
|
revoke: Revocar
|
||||||
|
@ -63,7 +63,7 @@ pl:
|
|||||||
prompt: Aplikacja %{client_name} prosi o dostęp do Twojego konta
|
prompt: Aplikacja %{client_name} prosi o dostęp do Twojego konta
|
||||||
title: Wymagana jest autoryzacja
|
title: Wymagana jest autoryzacja
|
||||||
show:
|
show:
|
||||||
title: Kod autoryzacji
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Unieważnij
|
revoke: Unieważnij
|
||||||
|
@ -63,7 +63,7 @@ pt-BR:
|
|||||||
prompt: O aplicativo %{client_name} solicita acesso à sua conta
|
prompt: O aplicativo %{client_name} solicita acesso à sua conta
|
||||||
title: Autorização necessária
|
title: Autorização necessária
|
||||||
show:
|
show:
|
||||||
title: Código de autorização
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revogar
|
revoke: Revogar
|
||||||
|
@ -57,7 +57,7 @@ pt:
|
|||||||
prompt: Aplicação %{client_name} pede acesso à tua conta
|
prompt: Aplicação %{client_name} pede acesso à tua conta
|
||||||
title: Autorização é necessária
|
title: Autorização é necessária
|
||||||
show:
|
show:
|
||||||
title: Código de autorização
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Revogar
|
revoke: Revogar
|
||||||
|
@ -57,7 +57,7 @@ ru:
|
|||||||
prompt: Приложение %{client_name} запрашивает доступ к Вашему аккаунту
|
prompt: Приложение %{client_name} запрашивает доступ к Вашему аккаунту
|
||||||
title: Требуется авторизация
|
title: Требуется авторизация
|
||||||
show:
|
show:
|
||||||
title: Код авторизации
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Отозвать авторизацию
|
revoke: Отозвать авторизацию
|
||||||
|
@ -57,7 +57,7 @@ th:
|
|||||||
prompt: Application %{client_name} requests access to your account
|
prompt: Application %{client_name} requests access to your account
|
||||||
title: Authorization required
|
title: Authorization required
|
||||||
show:
|
show:
|
||||||
title: Authorization code
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: ยกเลิกการอนุญาติ
|
revoke: ยกเลิกการอนุญาติ
|
||||||
|
@ -57,7 +57,7 @@ uk:
|
|||||||
prompt: Податок %{client_name} просить доступу до вашого акаунту
|
prompt: Податок %{client_name} просить доступу до вашого акаунту
|
||||||
title: Необхідна авторизація
|
title: Необхідна авторизація
|
||||||
show:
|
show:
|
||||||
title: Код авторизації
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: Відкликати авторизацію
|
revoke: Відкликати авторизацію
|
||||||
|
@ -58,7 +58,7 @@ zh-CN:
|
|||||||
prompt: 授权 %{client_name} 使用你的帐号?
|
prompt: 授权 %{client_name} 使用你的帐号?
|
||||||
title: 需要你授权
|
title: 需要你授权
|
||||||
show:
|
show:
|
||||||
title: 授权码
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: 注销
|
revoke: 注销
|
||||||
|
@ -57,7 +57,7 @@ zh-HK:
|
|||||||
prompt: 應用程式 %{client_name} 要求得到你用戶的部份權限
|
prompt: 應用程式 %{client_name} 要求得到你用戶的部份權限
|
||||||
title: 需要用戶授權
|
title: 需要用戶授權
|
||||||
show:
|
show:
|
||||||
title: 授權代碼
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: 取消授權
|
revoke: 取消授權
|
||||||
|
@ -57,7 +57,7 @@ zh-TW:
|
|||||||
prompt: 應用程式 %{client_name} 要求取得您帳號的部份權限
|
prompt: 應用程式 %{client_name} 要求取得您帳號的部份權限
|
||||||
title: 需要授權
|
title: 需要授權
|
||||||
show:
|
show:
|
||||||
title: 授權代碼
|
title: Copy this authorization code and paste it to the application.
|
||||||
authorized_applications:
|
authorized_applications:
|
||||||
buttons:
|
buttons:
|
||||||
revoke: 取消授權
|
revoke: 取消授權
|
||||||
|
Loading…
Reference in New Issue
Block a user