mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-20 18:59:17 +08:00
Move domain https section strings to i18n
This commit is contained in:
29
src/nginxconfig/i18n/en/templates/domain_sections/https.js
Normal file
29
src/nginxconfig/i18n/en/templates/domain_sections/https.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
export default {
|
||||
https: 'HTTPS',
|
||||
enableEncryptedSslConnection: 'enable encrypted SSL connections',
|
||||
http2: 'HTTP/2',
|
||||
enableHttp2Connections: 'enable HTTP/2 connections',
|
||||
forceHttps: 'Force HTTPS',
|
||||
hsts: 'HSTS',
|
||||
enableStrictTransportSecurity: 'enable Strict Transport Security',
|
||||
certificationType: 'Certification type',
|
||||
letsEncrypt: 'Let\'s Encrypt',
|
||||
customCertificate: 'Custom certificate',
|
||||
letsEncryptEmail: 'Let\'s Encrypt email',
|
||||
};
|
19
src/nginxconfig/i18n/en/templates/domain_sections/index.js
Normal file
19
src/nginxconfig/i18n/en/templates/domain_sections/index.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import https from './https';
|
||||
|
||||
export default { https };
|
@@ -15,5 +15,6 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import app from './app';
|
||||
import domainSections from './domain_sections';
|
||||
|
||||
export default { app };
|
||||
export default { app, domainSections };
|
||||
|
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import en from './en';
|
||||
import * as en from './en';
|
||||
|
||||
const lang = 'en';
|
||||
const packs = { en };
|
||||
|
Reference in New Issue
Block a user