Improve http3 warning string names

This commit is contained in:
MattIPv4 2021-05-07 16:35:36 +01:00
parent f6fa039986
commit 3b14d96f59
7 changed files with 35 additions and 35 deletions
src/nginxconfig
i18n
en/templates/domain_sections
fr/templates/domain_sections
pt-br/templates/domain_sections
ru/templates/domain_sections
zh-cn/templates/domain_sections
zh-tw/templates/domain_sections
templates/domain_sections

View File

@ -42,9 +42,9 @@ export default {
certificationType: 'Certification type', certificationType: 'Certification type',
customCertificate: 'Custom certificate', customCertificate: 'Custom certificate',
letsEncryptEmail: `${common.letsEncrypt} email`, letsEncryptEmail: `${common.letsEncrypt} email`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ',
http3Warning2: 'NGINX QUIC readme ', http3NginxQuicReadme: 'NGINX QUIC readme',
http3Warning3: ' or the ', http3OrThe: ' or the ',
http3Warning4: 'Cloudflare quiche project ', http3CloudflareQuicheProject: 'Cloudflare quiche project',
http3Warning5: ' for how to build NGINX with HTTP/3!', http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!',
}; };

View File

@ -42,9 +42,9 @@ export default {
certificationType: 'Type de certification', certificationType: 'Type de certification',
customCertificate: 'Certificat personnalisé', customCertificate: 'Certificat personnalisé',
letsEncryptEmail: `E-mail ${common.letsEncrypt}`, letsEncryptEmail: `E-mail ${common.letsEncrypt}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate
http3Warning3: ' or the ', // TODO: translate http3OrThe: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate
}; };

View File

@ -42,9 +42,9 @@ export default {
certificationType: 'Tipo de certificação', certificationType: 'Tipo de certificação',
customCertificate: 'Certificado personalizado', customCertificate: 'Certificado personalizado',
letsEncryptEmail: `E-mail do ${common.letsEncrypt}`, letsEncryptEmail: `E-mail do ${common.letsEncrypt}`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate
http3Warning3: ' or the ', // TODO: translate http3OrThe: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate
}; };

View File

@ -42,9 +42,9 @@ export default {
certificationType: 'Тип сертификации', certificationType: 'Тип сертификации',
customCertificate: 'Другой сертификат', customCertificate: 'Другой сертификат',
letsEncryptEmail: `${common.letsEncrypt} email`, letsEncryptEmail: `${common.letsEncrypt} email`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate
http3Warning3: ' or the ', // TODO: translate http3OrThe: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate
}; };

View File

@ -42,9 +42,9 @@ export default {
certificationType: '证书类型', certificationType: '证书类型',
customCertificate: '本地证书', customCertificate: '本地证书',
letsEncryptEmail: `${common.letsEncrypt} 邮箱`, letsEncryptEmail: `${common.letsEncrypt} 邮箱`,
http3Warning1: 'HTTP/3 并不是一个标准的 NGINX 模块, 请查看 ', http3IsANonStandardModule: 'HTTP/3 并不是一个标准的 NGINX 模块, 请查看 ',
http3Warning2: 'NGINX QUIC 使用文档', http3NginxQuicReadme: 'NGINX QUIC 使用文档',
http3Warning3: ' 或者 ', http3OrThe: ' 或者 ',
http3Warning4: 'Cloudflare quiche 项目', http3CloudflareQuicheProject: 'Cloudflare quiche 项目',
http3Warning5: ' 以构建支持 HTTP/3 的 NGINX!', http3ForBuildingNginxWithHttp3: ' 以构建支持 HTTP/3 的 NGINX!',
}; };

View File

@ -42,9 +42,9 @@ export default {
certificationType: '證書類型', certificationType: '證書類型',
customCertificate: '本地證書', customCertificate: '本地證書',
letsEncryptEmail: `${common.letsEncrypt} 郵箱`, letsEncryptEmail: `${common.letsEncrypt} 郵箱`,
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
http3Warning2: 'NGINX QUIC readme ', // TODO: translate http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate
http3Warning3: ' or the ', // TODO: translate http3OrThe: ' or the ', // TODO: translate
http3Warning4: 'Cloudflare quiche project ', // TODO: translate http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate
}; };

View File

@ -80,15 +80,15 @@ THE SOFTWARE.
<div v-if="showHttp3Warning" class="control"> <div v-if="showHttp3Warning" class="control">
<label class="text message is-warning"> <label class="text message is-warning">
<span class="message-body"> <span class="message-body">
{{ $t('templates.domainSections.https.http3Warning1') }} {{ $t('templates.domainSections.https.http3IsANonStandardModule') }}
<ExternalLink :text="$t('templates.domainSections.https.http3Warning2')" <ExternalLink :text="$t('templates.domainSections.https.http3NginxQuicReadme')"
link="https://quic.nginx.org/README" link="https://quic.nginx.org/README"
></ExternalLink> ></ExternalLink>
{{ $t('templates.domainSections.https.http3Warning3') }} {{ $t('templates.domainSections.https.http3OrThe') }}
<ExternalLink :text="$t('templates.domainSections.https.http3Warning4')" <ExternalLink :text="$t('templates.domainSections.https.http3CloudflareQuicheProject')"
link="https://github.com/cloudflare/quiche/tree/master/extras/nginx" link="https://github.com/cloudflare/quiche/tree/master/extras/nginx"
></ExternalLink> ></ExternalLink>
{{ $t('templates.domainSections.https.http3Warning5') }} {{ $t('templates.domainSections.https.http3ForBuildingNginxWithHttp3') }}
</span> </span>
</label> </label>
</div> </div>