Browse Source

style: CloudFlare DNS 账号增加提示 (#3648)

pull/3652/head
zhengkunwang 10 months ago committed by GitHub
parent
commit
1e5cd23bbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      frontend/src/lang/modules/en.ts
  2. 1
      frontend/src/lang/modules/tw.ts
  3. 1
      frontend/src/lang/modules/zh.ts
  4. 14
      frontend/src/views/website/ssl/dns-account/create/index.vue

1
frontend/src/lang/modules/en.ts

@ -1930,6 +1930,7 @@ const message = {
httpHelper2: 'Unable to apply for a generic domain name certificate in HTTP mode', httpHelper2: 'Unable to apply for a generic domain name certificate in HTTP mode',
skipDNSCheck: 'Skip DNS check', skipDNSCheck: 'Skip DNS check',
skipDNSCheckHelper: 'If there is an application timeout problem, please check here, otherwise do not check it', skipDNSCheckHelper: 'If there is an application timeout problem, please check here, otherwise do not check it',
cfHelper: 'Do not use Global API Key',
}, },
firewall: { firewall: {
create: 'Create rule', create: 'Create rule',

1
frontend/src/lang/modules/tw.ts

@ -1811,6 +1811,7 @@ const message = {
httpHelper2: 'HTTP 模式無法申請泛網域憑證', httpHelper2: 'HTTP 模式無法申請泛網域憑證',
skipDNSCheck: '跳過 DNS 校驗', skipDNSCheck: '跳過 DNS 校驗',
skipDNSCheckHelper: '如果出現申請超時問題請勾選此處其他情況請勿勾選', skipDNSCheckHelper: '如果出現申請超時問題請勾選此處其他情況請勿勾選',
cfHelper: '請勿使用 Global API Key',
}, },
firewall: { firewall: {
create: '創建規則', create: '創建規則',

1
frontend/src/lang/modules/zh.ts

@ -1811,6 +1811,7 @@ const message = {
httpHelper2: 'HTTP 模式无法申请泛域名证书', httpHelper2: 'HTTP 模式无法申请泛域名证书',
skipDNSCheck: '跳过 DNS 校验', skipDNSCheck: '跳过 DNS 校验',
skipDNSCheckHelper: '如果出现申请超时问题请勾选此处其他情况请勿勾选', skipDNSCheckHelper: '如果出现申请超时问题请勾选此处其他情况请勿勾选',
cfHelper: '请勿使用 Global API Key',
}, },
firewall: { firewall: {
create: '创建规则', create: '创建规则',

14
frontend/src/views/website/ssl/dns-account/create/index.vue

@ -44,19 +44,21 @@
<el-form-item label="EMAIL" prop="authorization.email"> <el-form-item label="EMAIL" prop="authorization.email">
<el-input v-model.trim="account.authorization['email']"></el-input> <el-input v-model.trim="account.authorization['email']"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="API Token" prop="authorization.apiKey">
<el-input v-model.trim="account.authorization['apiKey']"></el-input>
<span class="input-help">
{{ $t('ssl.cfHelper') }}
</span>
</el-form-item>
</div> </div>
<el-form-item <el-form-item
label="API Key" label="API Key"
prop="authorization.apiKey" prop="authorization.apiKey"
v-if=" v-if="account.type === 'NameCheap' || account.type === 'NameSilo' || account.type === 'Godaddy'"
account.type === 'CloudFlare' ||
account.type === 'NameCheap' ||
account.type === 'NameSilo' ||
account.type === 'Godaddy'
"
> >
<el-input v-model.trim="account.authorization['apiKey']"></el-input> <el-input v-model.trim="account.authorization['apiKey']"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="API User" prop="authorization.apiUser" v-if="account.type === 'NameCheap'"> <el-form-item label="API User" prop="authorization.apiUser" v-if="account.type === 'NameCheap'">
<el-input v-model.trim="account.authorization['apiUser']"></el-input> <el-input v-model.trim="account.authorization['apiUser']"></el-input>
</el-form-item> </el-form-item>

Loading…
Cancel
Save