feat: i18n for sign page in mastodon

This commit is contained in:
三咲智子 Kevin Deng 2023-01-14 02:10:51 +08:00
parent 88ac29ea14
commit 04480eef44
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
2 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,7 @@ let autocompleteIndex = $ref(0)
let autocompleteShow = $ref(false)
const users = useUsers()
const userSettings = useUserSettings()
async function oauth() {
if (busy)
@ -32,6 +33,7 @@ async function oauth() {
body: {
force_login: users.value.some(u => u.server === server),
origin: location.origin,
lang: userSettings.value.language,
},
})
}