mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-06 11:56:15 +08:00
Show warning icons in tabs (#260)
* Add unstyled warning to onion tab * Style the warning icon * Add warning for http3 * Add warning icon to global security tab * Surface warnings for domains * Show warning icon for duplicate domains * Improve http3 warning string names * Show warning message/icon for Brotli
This commit is contained in:
committed by
GitHub
parent
fe5f2b234d
commit
27d090daeb
@@ -42,9 +42,9 @@ export default {
|
||||
certificationType: '證書類型',
|
||||
customCertificate: '本地證書',
|
||||
letsEncryptEmail: `${common.letsEncrypt} 郵箱`,
|
||||
http3Warning1: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
|
||||
http3Warning2: 'NGINX QUIC readme ', // TODO: translate
|
||||
http3Warning3: ' or the ', // TODO: translate
|
||||
http3Warning4: 'Cloudflare quiche project ', // TODO: translate
|
||||
http3Warning5: ' for how to build NGINX with HTTP/3!', // TODO: translate
|
||||
http3IsANonStandardModule: 'HTTP/3 isn\'t a standard NGINX module, check the ', // TODO: translate
|
||||
http3NginxQuicReadme: 'NGINX QUIC readme', // TODO: translate
|
||||
http3OrThe: ' or the ', // TODO: translate
|
||||
http3CloudflareQuicheProject: 'Cloudflare quiche project', // TODO: translate
|
||||
http3ForBuildingNginxWithHttp3: ' for how to build NGINX with HTTP/3!', // TODO: translate
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
Copyright 2021 DigitalOcean
|
||||
|
||||
This code is licensed under the MIT License.
|
||||
You may obtain a copy of the License at
|
||||
@@ -31,6 +31,9 @@ export default {
|
||||
enableGzipCompression: `${common.enable}Gzip壓縮`,
|
||||
brotliCompression: 'Brotli 壓縮',
|
||||
enableBrotliCompression: `${common.enable}brotli壓縮`,
|
||||
brotliIsANonStandardModule: 'Brotli isn\'t a standard NGINX module, check the ', // TODO: translate
|
||||
brotliGoogleNgxBrotliProject: 'Google ngx_brotli project', // TODO: translate
|
||||
brotliForBuildingNginxWithBrotli: ' for how to build NGINX with Brotli!', // TODO: translate
|
||||
expirationForAssets: '資源有效期',
|
||||
expirationForMedia: '媒體資源有效期',
|
||||
expirationForSvgs: 'SVGs有效期',
|
||||
|
||||
Reference in New Issue
Block a user