-
+
{t('label.regenerate-registration-token')}
diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/signup/basic-signup.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/signup/basic-signup.component.tsx
index f956365ba5c..e7a2e911f11 100644
--- a/openmetadata-ui/src/main/resources/ui/src/pages/signup/basic-signup.component.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/pages/signup/basic-signup.component.tsx
@@ -67,11 +67,17 @@ const BasicSignUp = () => {
const handleLogin = () => history.push(ROUTES.SIGNIN);
const validationMessages = {
- required: '${label} is required',
+ required: t('message.field-text-is-required', {
+ fieldText: '${label}',
+ }),
types: {
- email: '${label} is not valid',
+ email: t('message.entity-is-not-valid', {
+ entity: '${label}',
+ }),
},
- whitespace: '${label} should not contain white space',
+ whitespace: t('message.entity-not-contain-whitespace', {
+ entity: '${label}',
+ }),
};
return (
@@ -97,25 +103,37 @@ const BasicSignUp = () => {
validateMessages={validationMessages}
onFinish={handleSubmit}>
-
+
-
+
-
+
{
message: passwordErrorMessage,
},
]}>
-
+
{
if (isEmpty(password)) {
return Promise.reject(
- 'Please type password first'
+ t('label.please-password-type-first')
);
}
if (value !== password) {
return Promise.reject(
- "Password doesn't match"
+ t('label.password-not-match')
);
}
@@ -149,7 +173,9 @@ const BasicSignUp = () => {
},
},
]}>
-
+