瀏覽代碼

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

kurokobo 10 月之前
父節點
當前提交
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 {