diff --git a/web/src/components/SystemSetting.js b/web/src/components/SystemSetting.js index 0977a804..5ad877c1 100644 --- a/web/src/components/SystemSetting.js +++ b/web/src/components/SystemSetting.js @@ -126,7 +126,7 @@ const SystemSetting = () => { } if (originInputs['ModelRatio'] !== inputs.ModelRatio) { if (!verifyJSON(inputs.ModelRatio)) { - showError('模型倍率不是合法的 JSON 字符串'); + showError('Model ratio is not a valid JSON string'); return; } await updateOption('ModelRatio', inputs.ModelRatio); @@ -212,49 +212,49 @@ const SystemSetting = () => {
-
通用设置
+
General Settings
- 更新服务器地址 + Update Server Address -
配置登录注册
+
Configure Login & Registration
@@ -262,163 +262,163 @@ const SystemSetting = () => {
- 运营设置 + Operational settings
- 保存运营设置 + Save operation settings
- 监控设置 + Monitoring Settings
- 配置 SMTP - 用以支持系统的邮件发送 + Configuration SMTP + Used to support system email sending.
- 保存 SMTP 设置 + Save SMTP Settings
- 配置 GitHub OAuth App + Configure GitHub OAuth App - 用以支持通过 GitHub 进行登录注册, + Used to support login and registration via GitHub, - 点击此处 + Click Here - 管理你的 GitHub OAuth App + Manage your GitHub OAuth App
- Homepage URL 填 {inputs.ServerAddress} - ,Authorization callback URL 填{' '} + Homepage URL Fill in {inputs.ServerAddress} + ,Authorization callback URL Fill in the required information {' '} {`${inputs.ServerAddress}/oauth/github`} @@ -428,7 +428,7 @@ const SystemSetting = () => { onChange={handleInputChange} autoComplete='new-password' value={inputs.GitHubClientId} - placeholder='输入你注册的 GitHub OAuth APP 的 ID' + placeholder='Enter the ID of the GitHub OAuth App you registered' /> { type='password' autoComplete='new-password' value={inputs.GitHubClientSecret} - placeholder='敏感信息不会发送到前端显示' + placeholder='Sensitive information will not be sent to be displayed on the front end' /> - 保存 GitHub OAuth 设置 + Save GitHub OAuth Settings
- 配置 WeChat Server + Configure WeChat Server - 用以支持通过微信进行登录注册, + Used to support login and registration via WeChat, - 点击此处 + Click here - 了解 WeChat Server + Learn more WeChat Server
- 保存 WeChat Server 设置 + Save WeChat Server Settings
- 配置 Turnstile + Turnstile - 用以支持用户校验, + Used to support user verification, - 点击此处 + Click here - 管理你的 Turnstile Sites,推荐选择 Invisible Widget Type + Manage your Turnstile Sites, it is recommended to choose the Invisible Widget Type.
@@ -505,7 +505,7 @@ const SystemSetting = () => { onChange={handleInputChange} autoComplete='new-password' value={inputs.TurnstileSiteKey} - placeholder='输入你注册的 Turnstile Site Key' + placeholder='Enter your registered Turnstile Site Key' /> { type='password' autoComplete='new-password' value={inputs.TurnstileSecretKey} - placeholder='敏感信息不会发送到前端显示' + placeholder='Sensitive information will not be sent to be displayed on the front end' /> - 保存 Turnstile 设置 + Save Turnstile Settings