@@ -142,7 +191,7 @@ export default function Register() {
/>
diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts
index f6195c9e..3d025e4e 100644
--- a/web/src/i18n/locales/en-US.ts
+++ b/web/src/i18n/locales/en-US.ts
@@ -203,6 +203,15 @@ const enUS = {
'Are you sure you want to delete this pipeline? Bots bound to this pipeline will not work.',
defaultPipelineCannotDelete: 'Default pipeline cannot be deleted',
},
+ register: {
+ title: 'Initialize LangBot 👋',
+ description: 'This is your first time starting LangBot',
+ adminAccountNote:
+ 'The email and password you fill in will be used as the initial administrator account',
+ register: 'Register',
+ initSuccess: 'Initialization successful, please login',
+ initFailed: 'Initialization failed: ',
+ },
};
export default enUS;
diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts
index d0271c38..b8fb06ce 100644
--- a/web/src/i18n/locales/zh-Hans.ts
+++ b/web/src/i18n/locales/zh-Hans.ts
@@ -198,6 +198,14 @@ const zhHans = {
'你确定要删除这个流水线吗?已绑定此流水线的机器人将无法使用。',
defaultPipelineCannotDelete: '默认流水线不可删除',
},
+ register: {
+ title: '初始化 LangBot 👋',
+ description: '这是您首次启动 LangBot',
+ adminAccountNote: '您填写的邮箱和密码将作为初始管理员账号',
+ register: '注册',
+ initSuccess: '初始化成功 请登录',
+ initFailed: '初始化失败:',
+ },
};
export default zhHans;