diff --git a/module/admin/control.php b/module/admin/control.php index 69690b4f8a..4af83e8c47 100755 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -523,8 +523,8 @@ class admin extends control { if(!empty($_POST)) { - if(!$this->post->mobile) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedMobile)); - if(!$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedCode)); + if(!$this->post->mobile) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->community->loginFailedMobile)); + if(!$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->community->loginFailedCode)); $apiRoot = $this->config->admin->register->apiRoot; $sessionVar = $this->config->sessionVar; @@ -554,11 +554,11 @@ class admin extends control return $this->send(array('result' => 'success', 'load' => inlink('register'))); } - return $this->send(array('result' => 'fail', 'message' => isset($response['message']) ? $response['message'] : $this->lang->admin->register->loginFailed)); + return $this->send(array('result' => 'fail', 'message' => isset($response['message']) ? $response['message'] : $this->lang->admin->community->loginFailed)); } } - $this->view->title = $this->lang->admin->register->registerTitle; + $this->view->title = $this->lang->admin->community->registerTitle; $this->display(); } @@ -577,7 +577,7 @@ class admin extends control $this->config->admin->register->bindCommunity = 'false'; $this->config->admin->register->bindCommunityMobile = ''; $this->config->admin->register->agreeUX = 'false'; - return $this->send(array('result' => 'success', 'message' => $this->lang->admin->register->unBind->success, 'load' => inlink('register'))); + return $this->send(array('result' => 'success', 'message' => $this->lang->admin->community->unBind->success, 'load' => inlink('register'))); } /** @@ -592,7 +592,7 @@ class admin extends control $agreeUX = $this->post->agreeUX; $this->loadModel('setting')->setItem('system.admin.register.agreeUX', $agreeUX); $this->config->admin->register->agreeUX = $agreeUX; - $message = $agreeUX == 'true' ? $this->lang->admin->register->uxPlan->agree : $this->lang->admin->register->uxPlan->cancel; + $message = $agreeUX == 'true' ? $this->lang->admin->community->uxPlan->agree : $this->lang->admin->community->uxPlan->cancel; return $this->send(array('result' => 'success', 'message' => $message)); } diff --git a/module/admin/css/register.ui.css b/module/admin/css/register.ui.css index 2df24b750a..e2e41f3c91 100644 --- a/module/admin/css/register.ui.css +++ b/module/admin/css/register.ui.css @@ -12,7 +12,7 @@ .no-label-code {width: 32rem; margin-left: 0.9rem;} .no-label-input {height: 40px;} #captchaImageLabel {margin-top: -1.5rem;} -#captchaImage {width: 8rem; margin-left: 0.8rem; display: inline;} +#captchaImage {width: 7rem; margin-left: 0.8rem; display: inline;} #checkMobileSenderID {display: inline; cursor: pointer;} #captcha-btn {width: 7rem; line-height: 40px; padding-left: 2rem; font-size: 15px; color: #0084FF;} .form-agree-ux {color: #5A6D88;} @@ -32,7 +32,7 @@ button[type="submit"] {height: 40px; width: 120px;} .z-bind-info-website {font-size: 18px; color: #666; margin-bottom: 4px; width: 10rem; display: flex;} .z-bind-info-website span {width: 10rem; display: flex;} .z-bind-info-mobile {font-size: 15px;} -.z-unbind-btn {border: 1px solid #E6ECF8; color: #0084FF; border-radius: 16px; padding: 6px 16px; margin-left: 12rem; font-size: 15px; line-height: 15px; width: 6rem;} +.z-unbind-btn {border: 1px solid #E6ECF8; color: #0084FF; border-radius: 16px; padding: 6px 16px; margin-left: 11rem; font-size: 15px; line-height: 15px; width: 7rem;} .z-plan-info {margin-top: 20px; padding-top: 20px;} .z-plan-info-box {margin-top: -2px; margin-left: 12px;} .z-plan-info-box a {color: #0084FF; text-decoration: none;} @@ -42,7 +42,7 @@ button[type="submit"] {height: 40px; width: 120px;} .switch {min-height: 16px;} .z-switch-toggle {height: 24px; background: #0084FF; border-radius: 12px; position: relative;} .z-footer-btn {margin-top: 24px; display: flex; justify-content: center; align-items: center; height: 40px;} -.z-footer-btn button {height: 40px; width: 120px; font-size: 16px;} +.z-footer-btn button {height: 40px; width: 146px; font-size: 16px;} .z-bind-info {border: 1px solid #f0f0f0; border-radius: 5px;height: 4.4rem;} .z-plan-info {border: 1px solid #f0f0f0; border-radius: 5px;height: 3.6rem;} .install-logo {position: relative; top: 3rem; left: 3rem; float: left; margin-right: -12rem;} diff --git a/module/admin/lang/de.php b/module/admin/lang/de.php index 77a61a1807..718de6cc2b 100755 --- a/module/admin/lang/de.php +++ b/module/admin/lang/de.php @@ -188,7 +188,7 @@ $lang->admin->menuSetting['convert']['desc'] = 'Data import from third-par $lang->admin->menuSetting['ai']['name'] = 'AI Configurations'; $lang->admin->menuSetting['ai']['desc'] = 'Support configuration and management of AI auto-suggestions, AI mini-programs, and large language models.'; $lang->admin->menuSetting['adminregister']['name'] = 'ZenTao community'; -$lang->admin->menuSetting['adminregister']['desc'] = 'Get the project management package, technical support services, and experience a version demo.'; +$lang->admin->menuSetting['adminregister']['desc'] = 'Get the project management resources, tech support, and try out demo versions.'; $lang->admin->updateDynamics = 'Dynamics'; $lang->admin->updatePatch = 'Patch'; @@ -224,44 +224,45 @@ $lang->admin->ai->miniPrograms = 'AI Mini Programs'; $lang->admin->ai->prompt = 'AI Prompts'; $lang->admin->ai->assistant = 'AI Assistant'; -$lang->admin->register = new stdclass(); -$lang->admin->register->registerTitle = 'Join ZenTao'; -$lang->admin->register->skip = 'Skip'; -$lang->admin->register->uxPlanTitle = 'ZenTao User Experience Improvement Program'; -$lang->admin->register->loginFailed = 'Login failed'; -$lang->admin->register->loginFailedMobile = 'Please provide your phone number'; -$lang->admin->register->loginFailedCode = 'Please fill in the verification code'; -$lang->admin->register->officialWebsite = 'ZenTao Official website '; -$lang->admin->register->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" '; -$lang->admin->register->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.'; -$lang->admin->register->mobile = 'phone number'; -$lang->admin->register->smsCode = 'Verification code'; -$lang->admin->register->sendCode = 'send code'; -$lang->admin->register->join = 'join the'; -$lang->admin->register->joinDesc = 'and help us understand the usage of the product'; -$lang->admin->register->captchaTip = 'verification code'; -$lang->admin->register->sure = 'send'; -$lang->admin->register->unBindText = 'unbind'; -$lang->admin->register->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:'; -$lang->admin->register->advantage1 = 'PM Gift Pack'; -$lang->admin->register->advantage2 = 'Support Services'; -$lang->admin->register->advantage3 = 'Experience Demo'; -$lang->admin->register->advantage4 = 'ZenTao Manual'; -$lang->admin->register->goCommunity = 'Jump To'; -$lang->admin->register->enterMobile = 'Please enter your phone number'; -$lang->admin->register->enterCode = 'Please enter the verification code'; -$lang->admin->register->goBack = 'back'; -$lang->admin->register->reSend = 'resend'; -$lang->admin->register->unbindTitle = 'Are you sure you want to unbind from the ZenTao'; -$lang->admin->register->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software'; -$lang->admin->register->cancelButton = 'cancel'; -$lang->admin->register->unbindButton = 'yes'; +$lang->admin->community = new stdclass(); +$lang->admin->community->registerTitle = 'Join Us'; +$lang->admin->community->skip = 'Skip'; +$lang->admin->community->uxPlanTitle = 'ZenTao User Experience Improvement Program'; +$lang->admin->community->loginFailed = 'Login failed'; +$lang->admin->community->loginFailedMobile = 'Please provide your phone number'; +$lang->admin->community->loginFailedCode = 'Please fill in the verification code'; +$lang->admin->community->officialWebsite = 'ZenTao Official website '; +$lang->admin->community->uxPlanWithBookTitle = ' ZenTao User Experience Improvement Program '; +$lang->admin->community->uxPlanStatusTitle = 'to help us improve. You can disable this in settings.'; +$lang->admin->community->mobile = 'phone number'; +$lang->admin->community->smsCode = 'Verification code'; +$lang->admin->community->sendCode = 'Get code'; +$lang->admin->community->join = 'join the'; +$lang->admin->community->joinDesc = 'and help us understand the usage of the product'; +$lang->admin->community->captchaTip = 'verification code'; +$lang->admin->community->sure = 'Confirm'; +$lang->admin->community->unBindText = 'Disconnect'; +$lang->admin->community->welcome = 'Welcome to the ZenTao community! Here you can explore:'; +$lang->admin->community->welcomeForBound = "You're joined the ZenTao community. Here you can access:"; +$lang->admin->community->advantage1 = 'PM resources'; +$lang->admin->community->advantage2 = 'Technical support'; +$lang->admin->community->advantage3 = 'Demos'; +$lang->admin->community->advantage4 = 'User manual'; +$lang->admin->community->goCommunity = 'Visit Community'; +$lang->admin->community->enterMobile = 'Please enter your phone number'; +$lang->admin->community->enterCode = 'Please enter the verification code'; +$lang->admin->community->goBack = 'back'; +$lang->admin->community->reSend = 'resend'; +$lang->admin->community->unbindTitle = 'Are you sure you want to disconnect from the ZenTao website?'; +$lang->admin->community->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software'; +$lang->admin->community->cancelButton = 'Cancel'; +$lang->admin->community->unbindButton = 'Disconnect'; -$lang->admin->register->uxPlan = new stdclass(); -$lang->admin->register->uxPlan->agree = 'Agreed'; -$lang->admin->register->uxPlan->cancel = 'Canceled'; +$lang->admin->community->uxPlan = new stdclass(); +$lang->admin->community->uxPlan->agree = 'Agreed'; +$lang->admin->community->uxPlan->cancel = 'Canceled'; -$lang->admin->register->unBind = new stdclass(); -$lang->admin->register->unBind->success = 'Unbound'; +$lang->admin->community->unBind = new stdclass(); +$lang->admin->community->unBind->success = 'Disconnect'; include dirname(__FILE__) . '/menu.php'; diff --git a/module/admin/lang/en.php b/module/admin/lang/en.php index a60f61c0d3..5b3760db87 100755 --- a/module/admin/lang/en.php +++ b/module/admin/lang/en.php @@ -187,8 +187,8 @@ $lang->admin->menuSetting['convert']['name'] = 'Data Import'; $lang->admin->menuSetting['convert']['desc'] = 'Data import from third-party systems.'; $lang->admin->menuSetting['ai']['name'] = 'AI Configurations'; $lang->admin->menuSetting['ai']['desc'] = 'Support configuration and management of AI auto-suggestions, AI mini-programs, and large language models.'; -$lang->admin->menuSetting['adminregister']['name'] = 'ZenTao community'; -$lang->admin->menuSetting['adminregister']['desc'] = 'Get the project management package, technical support services, and experience a version demo.'; +$lang->admin->menuSetting['adminregister']['name'] = 'ZenTao Community'; +$lang->admin->menuSetting['adminregister']['desc'] = 'Get the project management resources, tech support, and try out demo versions.'; $lang->admin->updateDynamics = 'Dynamics'; $lang->admin->updatePatch = 'Patch'; @@ -224,44 +224,45 @@ $lang->admin->ai->miniPrograms = 'AI Mini Programs'; $lang->admin->ai->prompt = 'AI Prompts'; $lang->admin->ai->assistant = 'AI Assistant'; -$lang->admin->register = new stdclass(); -$lang->admin->register->registerTitle = 'Join ZenTao'; -$lang->admin->register->skip = 'Skip'; -$lang->admin->register->uxPlanTitle = 'ZenTao User Experience Improvement Program'; -$lang->admin->register->loginFailed = 'Login failed'; -$lang->admin->register->loginFailedMobile = 'Please provide your phone number'; -$lang->admin->register->loginFailedCode = 'Please fill in the verification code'; -$lang->admin->register->officialWebsite = 'ZenTao Official website '; -$lang->admin->register->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" '; -$lang->admin->register->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.'; -$lang->admin->register->mobile = 'phone number'; -$lang->admin->register->smsCode = 'Verification code'; -$lang->admin->register->sendCode = 'send code'; -$lang->admin->register->join = 'join the'; -$lang->admin->register->joinDesc = 'and help us understand the usage of the product'; -$lang->admin->register->captchaTip = 'verification code'; -$lang->admin->register->sure = 'send'; -$lang->admin->register->unBindText = 'unbind'; -$lang->admin->register->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:'; -$lang->admin->register->advantage1 = 'PM Gift Pack'; -$lang->admin->register->advantage2 = 'Support Services'; -$lang->admin->register->advantage3 = 'Experience Demo'; -$lang->admin->register->advantage4 = 'ZenTao Manual'; -$lang->admin->register->goCommunity = 'Jump To'; -$lang->admin->register->enterMobile = 'Please enter your phone number'; -$lang->admin->register->enterCode = 'Please enter the verification code'; -$lang->admin->register->goBack = 'back'; -$lang->admin->register->reSend = 'resend'; -$lang->admin->register->unbindTitle = 'Are you sure you want to unbind from the ZenTao'; -$lang->admin->register->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software'; -$lang->admin->register->cancelButton = 'cancel'; -$lang->admin->register->unbindButton = 'yes'; +$lang->admin->community = new stdclass(); +$lang->admin->community->registerTitle = 'Join Us'; +$lang->admin->community->skip = 'Skip'; +$lang->admin->community->uxPlanTitle = 'ZenTao User Experience Improvement Program'; +$lang->admin->community->loginFailed = 'Login failed'; +$lang->admin->community->loginFailedMobile = 'Please provide your phone number'; +$lang->admin->community->loginFailedCode = 'Please fill in the verification code'; +$lang->admin->community->officialWebsite = 'ZenTao Official website '; +$lang->admin->community->uxPlanWithBookTitle = ' ZenTao User Experience Improvement Program '; +$lang->admin->community->uxPlanStatusTitle = 'to help us improve. You can disable this in settings.'; +$lang->admin->community->mobile = 'phone number'; +$lang->admin->community->smsCode = 'Verification code'; +$lang->admin->community->sendCode = 'Get code'; +$lang->admin->community->join = 'join the'; +$lang->admin->community->joinDesc = 'and help us understand the usage of the product'; +$lang->admin->community->captchaTip = 'verification code'; +$lang->admin->community->sure = 'Confirm'; +$lang->admin->community->unBindText = 'Disconnect'; +$lang->admin->community->welcome = 'Welcome to the ZenTao community! Here you can explore:'; +$lang->admin->community->welcomeForBound = "You're joined the ZenTao community. Here you can access:"; +$lang->admin->community->advantage1 = 'PM resources'; +$lang->admin->community->advantage2 = 'Technical support'; +$lang->admin->community->advantage3 = 'Demos'; +$lang->admin->community->advantage4 = 'User manual'; +$lang->admin->community->goCommunity = 'Visit Community'; +$lang->admin->community->enterMobile = 'Please enter your phone number'; +$lang->admin->community->enterCode = 'Please enter the verification code'; +$lang->admin->community->goBack = 'back'; +$lang->admin->community->reSend = 'resend'; +$lang->admin->community->unbindTitle = 'Are you sure you want to disconnect from the ZenTao website?'; +$lang->admin->community->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software'; +$lang->admin->community->cancelButton = 'Cancel'; +$lang->admin->community->unbindButton = 'Disconnect'; -$lang->admin->register->uxPlan = new stdclass(); -$lang->admin->register->uxPlan->agree = 'Agreed'; -$lang->admin->register->uxPlan->cancel = 'Canceled'; +$lang->admin->community->uxPlan = new stdclass(); +$lang->admin->community->uxPlan->agree = 'Agreed'; +$lang->admin->community->uxPlan->cancel = 'Canceled'; -$lang->admin->register->unBind = new stdclass(); -$lang->admin->register->unBind->success = 'Unbound'; +$lang->admin->community->unBind = new stdclass(); +$lang->admin->community->unBind->success = 'Disconnect'; include dirname(__FILE__) . '/menu.php'; diff --git a/module/admin/lang/fr.php b/module/admin/lang/fr.php index a54be57dd4..1196c2e4af 100755 --- a/module/admin/lang/fr.php +++ b/module/admin/lang/fr.php @@ -188,7 +188,7 @@ $lang->admin->menuSetting['convert']['desc'] = 'Data import from third-par $lang->admin->menuSetting['ai']['name'] = 'AI Configurations'; $lang->admin->menuSetting['ai']['desc'] = 'Support configuration and management of AI auto-suggestions, AI mini-programs, and large language models.'; $lang->admin->menuSetting['adminregister']['name'] = 'ZenTao community'; -$lang->admin->menuSetting['adminregister']['desc'] = 'Get the project management package, technical support services, and experience a version demo.'; +$lang->admin->menuSetting['adminregister']['desc'] = 'Get the project management resources, tech support, and try out demo versions.'; $lang->admin->updateDynamics = 'Dynamics'; $lang->admin->updatePatch = 'Patch'; @@ -224,44 +224,45 @@ $lang->admin->ai->miniPrograms = 'AI Mini Programs'; $lang->admin->ai->prompt = 'AI Prompts'; $lang->admin->ai->assistant = 'AI Assistant'; -$lang->admin->register = new stdclass(); -$lang->admin->register->registerTitle = 'Join ZenTao'; -$lang->admin->register->skip = 'Skip'; -$lang->admin->register->uxPlanTitle = 'ZenTao User Experience Improvement Program'; -$lang->admin->register->loginFailed = 'Login failed'; -$lang->admin->register->loginFailedMobile = 'Please provide your phone number'; -$lang->admin->register->loginFailedCode = 'Please fill in the verification code'; -$lang->admin->register->officialWebsite = 'ZenTao Official website '; -$lang->admin->register->uxPlanWithBookTitle = ' "ZenTao User Experience Improvement Program" '; -$lang->admin->register->uxPlanStatusTitle = 'Help us understand the usage of the product, you can turn off this feature in the background.'; -$lang->admin->register->mobile = 'phone number'; -$lang->admin->register->smsCode = 'Verification code'; -$lang->admin->register->sendCode = 'send code'; -$lang->admin->register->join = 'join the'; -$lang->admin->register->joinDesc = 'and help us understand the usage of the product'; -$lang->admin->register->captchaTip = 'verification code'; -$lang->admin->register->sure = 'send'; -$lang->admin->register->unBindText = 'unbind'; -$lang->admin->register->welcome = 'Welcome to join the ZenTao community. Here, you can obtain:'; -$lang->admin->register->advantage1 = 'PM Gift Pack'; -$lang->admin->register->advantage2 = 'Support Services'; -$lang->admin->register->advantage3 = 'Experience Demo'; -$lang->admin->register->advantage4 = 'ZenTao Manual'; -$lang->admin->register->goCommunity = 'Jump To'; -$lang->admin->register->enterMobile = 'Please enter your phone number'; -$lang->admin->register->enterCode = 'Please enter the verification code'; -$lang->admin->register->goBack = 'back'; -$lang->admin->register->reSend = 'resend'; -$lang->admin->register->unbindTitle = 'Are you sure you want to unbind from the ZenTao'; -$lang->admin->register->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software'; -$lang->admin->register->cancelButton = 'cancel'; -$lang->admin->register->unbindButton = 'yes'; +$lang->admin->community = new stdclass(); +$lang->admin->community->registerTitle = 'Join Us'; +$lang->admin->community->skip = 'Skip'; +$lang->admin->community->uxPlanTitle = 'ZenTao User Experience Improvement Program'; +$lang->admin->community->loginFailed = 'Login failed'; +$lang->admin->community->loginFailedMobile = 'Please provide your phone number'; +$lang->admin->community->loginFailedCode = 'Please fill in the verification code'; +$lang->admin->community->officialWebsite = 'ZenTao Official website '; +$lang->admin->community->uxPlanWithBookTitle = ' ZenTao User Experience Improvement Program '; +$lang->admin->community->uxPlanStatusTitle = 'to help us improve. You can disable this in settings.'; +$lang->admin->community->mobile = 'phone number'; +$lang->admin->community->smsCode = 'Verification code'; +$lang->admin->community->sendCode = 'Get code'; +$lang->admin->community->join = 'join the'; +$lang->admin->community->joinDesc = 'and help us understand the usage of the product'; +$lang->admin->community->captchaTip = 'verification code'; +$lang->admin->community->sure = 'Confirm'; +$lang->admin->community->unBindText = 'Disconnect'; +$lang->admin->community->welcome = 'Welcome to the ZenTao community! Here you can explore:'; +$lang->admin->community->welcomeForBound = "You're joined the ZenTao community. Here you can access:"; +$lang->admin->community->advantage1 = 'PM resources'; +$lang->admin->community->advantage2 = 'Technical support'; +$lang->admin->community->advantage3 = 'Demos'; +$lang->admin->community->advantage4 = 'User manual'; +$lang->admin->community->goCommunity = 'Visit Community'; +$lang->admin->community->enterMobile = 'Please enter your phone number'; +$lang->admin->community->enterCode = 'Please enter the verification code'; +$lang->admin->community->goBack = 'back'; +$lang->admin->community->reSend = 'resend'; +$lang->admin->community->unbindTitle = 'Are you sure you want to disconnect from the ZenTao website?'; +$lang->admin->community->unbindContent = 'After unbinding, it will not be possible to directly redirect to the official website of Zen Buddhism through ZenTao Buddhism software'; +$lang->admin->community->cancelButton = 'Cancel'; +$lang->admin->community->unbindButton = 'Disconnect'; -$lang->admin->register->uxPlan = new stdclass(); -$lang->admin->register->uxPlan->agree = 'Agreed'; -$lang->admin->register->uxPlan->cancel = 'Canceled'; +$lang->admin->community->uxPlan = new stdclass(); +$lang->admin->community->uxPlan->agree = 'Agreed'; +$lang->admin->community->uxPlan->cancel = 'Canceled'; -$lang->admin->register->unBind = new stdclass(); -$lang->admin->register->unBind->success = 'Unbound'; +$lang->admin->community->unBind = new stdclass(); +$lang->admin->community->unBind->success = 'Disconnect'; include dirname(__FILE__) . '/menu.php'; diff --git a/module/admin/lang/zh-cn.php b/module/admin/lang/zh-cn.php index 909b289410..c71443b177 100755 --- a/module/admin/lang/zh-cn.php +++ b/module/admin/lang/zh-cn.php @@ -224,44 +224,45 @@ $lang->admin->ai->miniPrograms = 'AI 小程序'; $lang->admin->ai->prompt = 'AI 提词'; $lang->admin->ai->assistant = 'AI 助手'; -$lang->admin->register = new stdclass(); -$lang->admin->register->registerTitle = '加入禅道社区'; -$lang->admin->register->skip = '跳过'; -$lang->admin->register->uxPlanTitle = '禅道用户体验改进计划'; -$lang->admin->register->loginFailed = '登录失败'; -$lang->admin->register->loginFailedMobile = '请填写手机号'; -$lang->admin->register->loginFailedCode = '请填写验证码'; -$lang->admin->register->officialWebsite = '禅道官网 '; -$lang->admin->register->uxPlanWithBookTitle = '《禅道用户体验改进计划》'; -$lang->admin->register->uxPlanStatusTitle = '帮助我们了解产品使用情况,您可在后台关闭此功能。'; -$lang->admin->register->mobile = '手机号'; -$lang->admin->register->smsCode = '验证码'; -$lang->admin->register->sendCode = '获取验证码'; -$lang->admin->register->join = '加入'; -$lang->admin->register->joinDesc = '帮助我们了解产品使用情况。'; -$lang->admin->register->captchaTip = '请输入图形验证码'; -$lang->admin->register->sure = '确定'; -$lang->admin->register->unBindText = '解绑'; -$lang->admin->register->welcome = '欢迎您加入禅道社区。在这里,您可以获得:'; -$lang->admin->register->advantage1 = '项目管理大礼包'; -$lang->admin->register->advantage2 = '技术支持服务'; -$lang->admin->register->advantage3 = '体验各版本Demo'; -$lang->admin->register->advantage4 = '禅道软件手册'; -$lang->admin->register->goCommunity = '前往社区'; -$lang->admin->register->enterMobile = '请输入手机号'; -$lang->admin->register->enterCode = '请输入验证码'; -$lang->admin->register->goBack = '返回'; -$lang->admin->register->reSend = '重新发送'; -$lang->admin->register->unbindTitle = '确认与禅道解绑吗'; -$lang->admin->register->unbindContent = '解绑后将无法通过禅道软件直接跳转禅道官网'; -$lang->admin->register->cancelButton = '取消'; -$lang->admin->register->unbindButton = '解绑'; +$lang->admin->community = new stdclass(); +$lang->admin->community->registerTitle = '加入禅道社区'; +$lang->admin->community->skip = '跳过'; +$lang->admin->community->uxPlanTitle = '禅道用户体验改进计划'; +$lang->admin->community->loginFailed = '登录失败'; +$lang->admin->community->loginFailedMobile = '请填写手机号'; +$lang->admin->community->loginFailedCode = '请填写验证码'; +$lang->admin->community->officialWebsite = '禅道官网 '; +$lang->admin->community->uxPlanWithBookTitle = '《禅道用户体验改进计划》'; +$lang->admin->community->uxPlanStatusTitle = '帮助我们了解产品使用情况,您可在后台关闭此功能。'; +$lang->admin->community->mobile = '手机号'; +$lang->admin->community->smsCode = '验证码'; +$lang->admin->community->sendCode = '获取验证码'; +$lang->admin->community->join = '加入'; +$lang->admin->community->joinDesc = '帮助我们了解产品使用情况。'; +$lang->admin->community->captchaTip = '请输入图形验证码'; +$lang->admin->community->sure = ' 确定'; +$lang->admin->community->unBindText = '解绑'; +$lang->admin->community->welcome = '欢迎您加入禅道社区。在这里,您可以获得:'; +$lang->admin->community->welcomeForBound = '您已加入禅道社区。在这里,您可以获得:'; +$lang->admin->community->advantage1 = '项目管理大礼包'; +$lang->admin->community->advantage2 = '技术支持服务'; +$lang->admin->community->advantage3 = '体验各版本Demo'; +$lang->admin->community->advantage4 = '禅道软件手册'; +$lang->admin->community->goCommunity = '前往社区'; +$lang->admin->community->enterMobile = '请输入手机号'; +$lang->admin->community->enterCode = '请输入验证码'; +$lang->admin->community->goBack = '返回'; +$lang->admin->community->reSend = '重新发送'; +$lang->admin->community->unbindTitle = '确认与禅道解绑吗'; +$lang->admin->community->unbindContent = '解绑后将无法通过禅道软件直接跳转禅道官网'; +$lang->admin->community->cancelButton = '取消'; +$lang->admin->community->unbindButton = '解绑'; -$lang->admin->register->uxPlan = new stdclass(); -$lang->admin->register->uxPlan->agree = '已同意'; -$lang->admin->register->uxPlan->cancel = '已取消'; +$lang->admin->community->uxPlan = new stdclass(); +$lang->admin->community->uxPlan->agree = '已同意'; +$lang->admin->community->uxPlan->cancel = '已取消'; -$lang->admin->register->unBind = new stdclass(); -$lang->admin->register->unBind->success = '已解绑'; +$lang->admin->community->unBind = new stdclass(); +$lang->admin->community->unBind->success = '已解绑'; include dirname(__FILE__) . '/menu.php'; diff --git a/module/admin/ui/planmodal.html.php b/module/admin/ui/planmodal.html.php index 2db55721d6..ffe002313b 100644 --- a/module/admin/ui/planmodal.html.php +++ b/module/admin/ui/planmodal.html.php @@ -12,7 +12,7 @@ declare(strict_types=1); namespace zin; -modalHeader(set::title($this->lang->admin->register->uxPlanTitle)); +modalHeader(set::title($this->lang->admin->community->uxPlanTitle)); $uxPlan = ''; $uxPlanFile = $this->app->getAppRoot() . 'www/uxplan.html'; diff --git a/module/admin/ui/register.html.php b/module/admin/ui/register.html.php index ad6f5f1ab3..56fbc14de9 100644 --- a/module/admin/ui/register.html.php +++ b/module/admin/ui/register.html.php @@ -10,7 +10,7 @@ declare(strict_types=1); */ namespace zin; -jsVar('reSendText', $lang->admin->register->reSend); +jsVar('reSendText', $lang->admin->community->reSend); $checked = $agreeUX == 'true' ? 'checked' : ''; if(strpos($_SERVER['REQUEST_URI'], '_single=1') !== false) @@ -22,13 +22,14 @@ else $backBtn = div ( setClass('page-title'), - a( + a + ( icon(setClass('icon icon-back')), setClass('btn capitalize primary'), set::href(helper::createLink('admin')), - $lang->admin->register->goBack + $lang->admin->community->goBack ), - span($lang->admin->register->registerTitle), + span($lang->admin->community->registerTitle), ); } @@ -39,7 +40,7 @@ if(strpos($_SERVER['REQUEST_URI'], '_single=1') !== false) a ( setClass('btn capitalize skip-btn'), - $lang->admin->register->skip, + $lang->admin->community->skip, set::href(createLink('user', 'login')), ) ); @@ -49,14 +50,16 @@ else $skip = ''; } +$welcomeText = $bindCommunity ? $lang->admin->community->welcomeForBound : $lang->admin->community->welcome; + $header[] = div ( setClass('max-w-7xl h-32 form-title'), - div(setClass('main-title text-xl'), $lang->admin->register->welcome), - div(setClass('sub-title'), icon(setClass('icon icon-diamond')), $lang->admin->register->advantage1), - div(setClass('sub-title'), icon(setClass('icon icon-team')), $lang->admin->register->advantage2), - div(setClass('sub-title'), icon(setClass('icon icon-statistic')), $lang->admin->register->advantage3), - div(setClass('sub-title'), icon(setClass('icon icon-manual')), $lang->admin->register->advantage4), + div(setClass('main-title text-xl'), $welcomeText), + div(setClass('sub-title'), icon(setClass('icon icon-diamond')), $lang->admin->community->advantage1), + div(setClass('sub-title'), icon(setClass('icon icon-team')), $lang->admin->community->advantage2), + div(setClass('sub-title'), icon(setClass('icon icon-statistic')), $lang->admin->community->advantage3), + div(setClass('sub-title'), icon(setClass('icon icon-manual')), $lang->admin->community->advantage4), ); if($bindCommunity) @@ -84,20 +87,21 @@ if($bindCommunity) ( setClass('z-bind-info-image'), img(set::src('static/images/register-logo.png')), - div( - div(setClass('z-bind-info-website'), html(nl2br($lang->admin->register->officialWebsite))), + div + ( + div(setClass('z-bind-info-website'), html(nl2br($lang->admin->community->officialWebsite))), div(setClass('z-bind-info-mobile'), $bindCommunityMobile) ), button ( icon ( - setClass('icon icon-rocket') + setClass('icon icon-unlink') ), setData(array('position' => 'center', 'toggle' => 'modal', 'target' => '#positionModal')), setClass('btn btn-primary z-unbind-btn'), setID('unBind'), - $lang->admin->register->unBindText, + $lang->admin->community->unBindText, ), div ( @@ -112,8 +116,8 @@ if($bindCommunity) div ( setClass('modal-body'), - p(setClass('unbind-modal-title'), $lang->admin->register->unbindTitle), - p(setClass('unbind-modal-content'), $lang->admin->register->unbindContent) + p(setClass('unbind-modal-title'), $lang->admin->community->unbindTitle), + p(setClass('unbind-modal-content'), $lang->admin->community->unbindContent) ), div ( @@ -123,13 +127,13 @@ if($bindCommunity) setClass('btn'), set::type('button'), setData(array('dismiss' => 'modal')), - $lang->admin->register->cancelButton + $lang->admin->community->cancelButton ), button ( setClass('btn primary'), set::type('button'), - $lang->admin->register->unbindButton, + $lang->admin->community->unbindButton, on::click()->call('unBind') ) ) @@ -147,16 +151,16 @@ if($bindCommunity) div ( setClass('z-plan-info-box-text'), - span($lang->admin->register->join), + span($lang->admin->community->join), a ( setID('experience-plan-show'), set('data-size', 'lg'), - $lang->admin->register->uxPlanWithBookTitle, + $lang->admin->community->uxPlanWithBookTitle, set::href(createLink('admin', 'planModal')), set('data-toggle', 'modal') ), - span($lang->admin->register->joinDesc) + span($lang->admin->community->joinDesc) ), div ( @@ -177,7 +181,7 @@ if($bindCommunity) button ( setClass('btn capitalize primary'), - $lang->admin->register->goCommunity, + $lang->admin->community->goCommunity, on::click()->call('goCommunity', $config->admin->register->community), ) ) @@ -206,9 +210,9 @@ else set::formID('joinForm'), setClass('bg-canvas m-auto mw-auto'), set::headingClass('w-96 m-auto'), - set::submitBtnText($lang->admin->register->registerTitle), + set::submitBtnText($lang->admin->community->registerTitle), set::cancelBtnText(), - div(setClass('label-text'), $lang->admin->register->mobile), + div(setClass('label-text'), $lang->admin->community->mobile), formRow ( setClass('m-auto no-label-mobile'), @@ -220,7 +224,7 @@ else setClass('no-label-input'), set::name('mobile'), setID('mobile-captcha'), - set::placeholder($lang->admin->register->enterMobile) + set::placeholder($lang->admin->community->enterMobile) ) ) ), @@ -230,7 +234,7 @@ else ( setID('captchaImageLabel'), setClass('label-text'), - $lang->admin->register->smsCode, + $lang->admin->community->smsCode, ), formRow ( @@ -242,7 +246,7 @@ else ( setClass('no-label-input'), set::name('code'), - set::placeholder($lang->admin->register->enterCode) + set::placeholder($lang->admin->community->enterCode) ) ), a @@ -250,7 +254,7 @@ else setID('captcha-btn'), setClass('captcha-btn-class'), set('href', 'javascript:;'), - $lang->admin->register->sendCode, + $lang->admin->community->sendCode, on::click()->call('showCaptcha'), ) ), @@ -267,16 +271,16 @@ else span ( setClass('form-agree-ux-text'), - $lang->admin->register->join, + $lang->admin->community->join, a ( setID('experience-plan-show'), set('data-size', 'lg'), - $lang->admin->register->uxPlanWithBookTitle, + $lang->admin->community->uxPlanWithBookTitle, set::href(createLink('admin', 'planModal')), set('data-toggle', 'modal') ), - $lang->admin->register->uxPlanStatusTitle + $lang->admin->community->uxPlanStatusTitle ) ) ) @@ -308,17 +312,16 @@ else input ( set::name('captchaImage'), - set::placeholder($lang->admin->register->captchaTip) + set::placeholder($lang->admin->community->captchaTip) ), div ( setID('checkMobileSenderID'), setClass('px-4'), set::type('primary'), - $lang->admin->register->sure, + html(nl2br($lang->admin->community->sure)), on::click()->call('checkMobileSender', '#checkMobileSenderID'), ) - ) ) ) diff --git a/module/install/lang/de.php b/module/install/lang/de.php index 0b380f0f0f..e61d2957c1 100644 --- a/module/install/lang/de.php +++ b/module/install/lang/de.php @@ -312,6 +312,7 @@ $lang->install->register = 'Bei ZenTao registieren'; $lang->install->successLabel = "
Sie haben ZenTao %s installiert.
"; $lang->install->successNoticeLabel = "Sie haben ZenTao %s installiert. Bitte löschen Sie die install.php schnellstmöglich.
"; +$lang->install->congratulations = "Congratulations! ZenTao has been installed."; $lang->install->joinZentao = <<You have installed ZenTao %s.
"; $lang->install->successNoticeLabel = "You have installed ZenTao %s. Please delete install.php.
"; -$lang->install->congratulations = "Congratulations, the installation of ZenTao has been successful!"; +$lang->install->congratulations = "Congratulations! ZenTao has been installed."; $lang->install->joinZentao = <<Vous avez installé ZenTao %s.
"; $lang->install->successNoticeLabel = "Vous avez installé ZenTao %s. Supprimez install.php asap.
"; +$lang->install->congratulations = "Congratulations! ZenTao has been installed."; $lang->install->joinZentao = <<您已經成功安裝禪道管理系統%s。
"; $lang->install->successNoticeLabel = "您已經成功安裝禪道管理系統%s,請及時刪除install.php。
"; +$lang->install->congratulations = "恭喜您,禪道安裝成功!"; $lang->install->joinZentao = <<