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

pull/5271/head
kurokobo 2 years ago committed by GitHub
parent 4b54843ed7
commit 37c87164dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save