Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Okta Login for newer versions of Doccano #2079

Merged
merged 9 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add i18n
  • Loading branch information
Clovin committed Dec 6, 2022
commit d6f304b886690f99382f67283af17a771d7248ff
5 changes: 3 additions & 2 deletions frontend/components/auth/SocialLogin.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<template>
<div class="mt-10">
<div>
<v-btn
v-for="item in social"
:key="item.provider"
block
elevation="2"
color="secondary"
:href="item.href"
class="mt-5"
>
Login With {{ item.provider }}
{{ $t('user.socialLogin', { provider: item.provider }) }}
</v-btn>
</div>
</template>
Expand Down
3 changes: 2 additions & 1 deletion frontend/i18n/de/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export default {
login: 'Einloggen',
signOut: 'Ausloggen',
username: 'Benutzername',
password: 'Passwort'
password: 'Passwort',
socialLogin: 'Anmeldung über {provider}'
}
3 changes: 2 additions & 1 deletion frontend/i18n/en/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export default {
login: 'Login',
signOut: 'Sign Out',
username: 'Username',
password: 'Password'
password: 'Password',
socialLogin: 'Login With {provider}'
}
3 changes: 2 additions & 1 deletion frontend/i18n/fr/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export default {
login: 'Connexion',
signOut: 'Déconnexion',
username: "Nom d'utilisateur",
password: 'Mot de passe'
password: 'Mot de passe',
socialLogin: 'Connexion via {provider}'
}
3 changes: 2 additions & 1 deletion frontend/i18n/zh/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export default {
login: '登录',
signOut: '注销',
username: '用户名',
password: '密码'
password: '密码',
socialLogin: '通过 {provider} 登录'
}