fix: respect the interface language specified by the user on the activation success screen (#5258)

This commit is contained in:
kurokobo 2024-06-16 10:37:19 +09:00 committed by GitHub
parent 4b54843ed7
commit 37c87164dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ const ActivateForm = () => {
timezone,
},
})
setLocaleOnClient(language.startsWith('en') ? 'en-US' : 'zh-Hans', false)
setLocaleOnClient(language, false)
setShowSuccess(true)
}
catch {