Przeglądaj źródła

:globe_with_meridians: sign-up

visuddhinanda 1 rok temu
rodzic
commit
b82fd04f7e
1 zmienionych plików z 8 dodań i 4 usunięć
  1. 8 4
      dashboard/src/components/users/SignUp.tsx

+ 8 - 4
dashboard/src/components/users/SignUp.tsx

@@ -58,7 +58,7 @@ const SingUpWidget = () => {
         name: string;
       }>
         name="welcome"
-        title={intl.formatMessage({ id: "labels.sign-in" })}
+        title={intl.formatMessage({ id: "labels.sign-up" })}
         stepProps={{
           description: "注册wikipali基础版",
         }}
@@ -145,9 +145,9 @@ const SingUpWidget = () => {
         checkbox: string;
       }>
         name="checkbox"
-        title="邮箱验证"
+        title={intl.formatMessage({ id: "auth.sign-up.email-certification" })}
         stepProps={{
-          description: "填入您的注册邮箱",
+          description: " ",
         }}
         onFinish={async () => {
           const values = formRef.current?.getFieldsValue();
@@ -155,6 +155,7 @@ const SingUpWidget = () => {
           const data: IInviteRequest = {
             email: values.email,
             lang: getUiLang(),
+            subject: intl.formatMessage({ id: "labels.email.sign-up.subject" }),
             studio: "",
             dashboard: dashboardBasePath(),
           };
@@ -191,7 +192,10 @@ const SingUpWidget = () => {
         </ProForm.Group>
       </StepsForm.StepForm>
 
-      <StepsForm.StepForm name="finish" title="完成注册">
+      <StepsForm.StepForm
+        name="finish"
+        title={intl.formatMessage({ id: "labels.done" })}
+      >
         <Result
           status="success"
           title="注册邮件已经成功发送"