瀏覽代碼

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

tags/0.6.12
kurokobo 1 年之前
父節點
當前提交
37c87164dc
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/activate/activateForm.tsx

+ 1
- 1
web/app/activate/activateForm.tsx 查看文件

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

Loading…
取消
儲存