Browse Source

Enforce file extensions in imports to comply with ESM standards (#486)

pull/487/head
Himanshu Bhatt 2 months ago committed by GitHub
parent
commit
b893df376b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      .eslintrc.cjs
  2. 1835
      package-lock.json
  3. 5
      package.json
  4. 4
      src/nginxconfig/build/webpack-dynamic-import.js
  5. 4
      src/nginxconfig/generators/conf/general.conf.js
  6. 8
      src/nginxconfig/generators/conf/nginx.conf.js
  7. 4
      src/nginxconfig/generators/conf/security.conf.js
  8. 34
      src/nginxconfig/generators/conf/website.conf.js
  9. 6
      src/nginxconfig/generators/conf/wordpress.conf.js
  10. 36
      src/nginxconfig/generators/index.js
  11. 4
      src/nginxconfig/generators/to_conf.js
  12. 8
      src/nginxconfig/i18n/de/index.js
  13. 4
      src/nginxconfig/i18n/de/templates/app.js
  14. 6
      src/nginxconfig/i18n/de/templates/callouts/index.js
  15. 4
      src/nginxconfig/i18n/de/templates/domain_sections/https.js
  16. 22
      src/nginxconfig/i18n/de/templates/domain_sections/index.js
  17. 4
      src/nginxconfig/i18n/de/templates/domain_sections/php.js
  18. 4
      src/nginxconfig/i18n/de/templates/domain_sections/python.js
  19. 4
      src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js
  20. 4
      src/nginxconfig/i18n/de/templates/domain_sections/routing.js
  21. 4
      src/nginxconfig/i18n/de/templates/global_sections/docker.js
  22. 4
      src/nginxconfig/i18n/de/templates/global_sections/https.js
  23. 20
      src/nginxconfig/i18n/de/templates/global_sections/index.js
  24. 4
      src/nginxconfig/i18n/de/templates/global_sections/logging.js
  25. 4
      src/nginxconfig/i18n/de/templates/global_sections/nginx.js
  26. 4
      src/nginxconfig/i18n/de/templates/global_sections/performance.js
  27. 4
      src/nginxconfig/i18n/de/templates/global_sections/python.js
  28. 4
      src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js
  29. 4
      src/nginxconfig/i18n/de/templates/global_sections/security.js
  30. 4
      src/nginxconfig/i18n/de/templates/global_sections/tools.js
  31. 16
      src/nginxconfig/i18n/de/templates/index.js
  32. 4
      src/nginxconfig/i18n/de/templates/setup_sections/certbot.js
  33. 4
      src/nginxconfig/i18n/de/templates/setup_sections/download.js
  34. 4
      src/nginxconfig/i18n/de/templates/setup_sections/go_live.js
  35. 10
      src/nginxconfig/i18n/de/templates/setup_sections/index.js
  36. 4
      src/nginxconfig/i18n/de/templates/setup_sections/ssl.js
  37. 8
      src/nginxconfig/i18n/en/index.js
  38. 4
      src/nginxconfig/i18n/en/templates/app.js
  39. 6
      src/nginxconfig/i18n/en/templates/callouts/index.js
  40. 4
      src/nginxconfig/i18n/en/templates/domain_sections/https.js
  41. 22
      src/nginxconfig/i18n/en/templates/domain_sections/index.js
  42. 4
      src/nginxconfig/i18n/en/templates/domain_sections/logging.js
  43. 4
      src/nginxconfig/i18n/en/templates/domain_sections/php.js
  44. 4
      src/nginxconfig/i18n/en/templates/domain_sections/python.js
  45. 4
      src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js
  46. 4
      src/nginxconfig/i18n/en/templates/domain_sections/routing.js
  47. 4
      src/nginxconfig/i18n/en/templates/global_sections/docker.js
  48. 4
      src/nginxconfig/i18n/en/templates/global_sections/https.js
  49. 20
      src/nginxconfig/i18n/en/templates/global_sections/index.js
  50. 4
      src/nginxconfig/i18n/en/templates/global_sections/logging.js
  51. 4
      src/nginxconfig/i18n/en/templates/global_sections/nginx.js
  52. 4
      src/nginxconfig/i18n/en/templates/global_sections/performance.js
  53. 4
      src/nginxconfig/i18n/en/templates/global_sections/python.js
  54. 4
      src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js
  55. 4
      src/nginxconfig/i18n/en/templates/global_sections/security.js
  56. 4
      src/nginxconfig/i18n/en/templates/global_sections/tools.js
  57. 16
      src/nginxconfig/i18n/en/templates/index.js
  58. 4
      src/nginxconfig/i18n/en/templates/setup_sections/certbot.js
  59. 4
      src/nginxconfig/i18n/en/templates/setup_sections/download.js
  60. 4
      src/nginxconfig/i18n/en/templates/setup_sections/go_live.js
  61. 10
      src/nginxconfig/i18n/en/templates/setup_sections/index.js
  62. 4
      src/nginxconfig/i18n/en/templates/setup_sections/ssl.js
  63. 8
      src/nginxconfig/i18n/es/index.js
  64. 4
      src/nginxconfig/i18n/es/templates/app.js
  65. 6
      src/nginxconfig/i18n/es/templates/callouts/index.js
  66. 4
      src/nginxconfig/i18n/es/templates/domain_sections/https.js
  67. 22
      src/nginxconfig/i18n/es/templates/domain_sections/index.js
  68. 4
      src/nginxconfig/i18n/es/templates/domain_sections/logging.js
  69. 4
      src/nginxconfig/i18n/es/templates/domain_sections/php.js
  70. 4
      src/nginxconfig/i18n/es/templates/domain_sections/python.js
  71. 4
      src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js
  72. 4
      src/nginxconfig/i18n/es/templates/domain_sections/routing.js
  73. 4
      src/nginxconfig/i18n/es/templates/global_sections/docker.js
  74. 4
      src/nginxconfig/i18n/es/templates/global_sections/https.js
  75. 20
      src/nginxconfig/i18n/es/templates/global_sections/index.js
  76. 4
      src/nginxconfig/i18n/es/templates/global_sections/logging.js
  77. 4
      src/nginxconfig/i18n/es/templates/global_sections/nginx.js
  78. 4
      src/nginxconfig/i18n/es/templates/global_sections/performance.js
  79. 4
      src/nginxconfig/i18n/es/templates/global_sections/python.js
  80. 4
      src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js
  81. 4
      src/nginxconfig/i18n/es/templates/global_sections/security.js
  82. 4
      src/nginxconfig/i18n/es/templates/global_sections/tools.js
  83. 16
      src/nginxconfig/i18n/es/templates/index.js
  84. 4
      src/nginxconfig/i18n/es/templates/setup_sections/certbot.js
  85. 4
      src/nginxconfig/i18n/es/templates/setup_sections/download.js
  86. 4
      src/nginxconfig/i18n/es/templates/setup_sections/go_live.js
  87. 10
      src/nginxconfig/i18n/es/templates/setup_sections/index.js
  88. 4
      src/nginxconfig/i18n/es/templates/setup_sections/ssl.js
  89. 6
      src/nginxconfig/i18n/fa/index.js
  90. 2
      src/nginxconfig/i18n/fa/templates/app.js
  91. 4
      src/nginxconfig/i18n/fa/templates/callouts/index.js
  92. 2
      src/nginxconfig/i18n/fa/templates/domain_sections/https.js
  93. 20
      src/nginxconfig/i18n/fa/templates/domain_sections/index.js
  94. 2
      src/nginxconfig/i18n/fa/templates/domain_sections/logging.js
  95. 2
      src/nginxconfig/i18n/fa/templates/domain_sections/php.js
  96. 2
      src/nginxconfig/i18n/fa/templates/domain_sections/python.js
  97. 2
      src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js
  98. 2
      src/nginxconfig/i18n/fa/templates/domain_sections/routing.js
  99. 2
      src/nginxconfig/i18n/fa/templates/global_sections/docker.js
  100. 2
      src/nginxconfig/i18n/fa/templates/global_sections/https.js
  101. Some files were not shown because too many files have changed in this diff Show More

10
.eslintrc.cjs

@ -33,6 +33,14 @@ module.exports = {
'vue/no-reserved-component-names': 0,
'eol-last': ['error', 'always'],
'prettier/prettier': 'error',
'import/extensions': [
'error',
'always',
{
js: 'always',
vue: 'always',
},
],
},
globals: {
describe: true,
@ -40,5 +48,5 @@ module.exports = {
it: true,
test: true,
},
plugins: ['prettier'],
plugins: ['prettier', 'import'],
};

1835
package-lock.json generated

File diff suppressed because it is too large Load Diff

5
package.json

@ -25,7 +25,7 @@
"test:eslint": "eslint 'src/**/*.{js,vue}' --cache",
"test:eslint:fix": "npm run test:eslint -- --fix",
"test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json",
"test:i18n-packs": "node --import=extensionless/register src/nginxconfig/i18n/verify.js",
"test:i18n-packs": "node src/nginxconfig/i18n/verify.js",
"test:prettier": "prettier 'src/**/*.{js,vue}' --check",
"test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'",
"prepare": "husky install"
@ -77,10 +77,9 @@
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.20.1",
"esm": "^3.2.25",
"extensionless": "^1.9.6",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",

4
src/nginxconfig/build/webpack-dynamic-import.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import { info } from '../util/log';
import { info } from '../util/log.js';
const originalSrcDir = document.currentScript.src.split('/').slice(0, -2).join('/') + '/';
window.__webpackDynamicImportURL = () => {

4
src/nginxconfig/generators/conf/general.conf.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import { gzipTypes, extensions } from '../../util/types_extensions';
import { gzipTypes, extensions } from '../../util/types_extensions.js';
export default (domains, global) => {
const config = {};

8
src/nginxconfig/generators/conf/nginx.conf.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import { errorLogPathDisabled } from '../../util/logging';
import sslProfiles from '../../util/ssl_profiles';
import websiteConf from './website.conf';
import { errorLogPathDisabled } from '../../util/logging.js';
import sslProfiles from '../../util/ssl_profiles.js';
import websiteConf from './website.conf.js';
export default (domains, global) => {
const config = {};

4
src/nginxconfig/generators/conf/security.conf.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import commonHsts from '../../util/common_hsts';
import commonHsts from '../../util/common_hsts.js';
export default (domains, global) => {
const config = [];

34
src/nginxconfig/generators/conf/website.conf.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,22 +24,22 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate';
import { extensions, gzipTypes } from '../../util/types_extensions';
import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging';
import commonHsts from '../../util/common_hsts';
import securityConf from './security.conf';
import pythonConf from './python_uwsgi.conf';
import proxyConf from './proxy.conf';
import phpConf from './php_fastcgi.conf';
import generalConf from './general.conf';
import wordPressConf from './wordpress.conf';
import drupalConf from './drupal.conf';
import magentoConf from './magento.conf';
import joomlaConf from './joomla.conf';
import letsEncryptConf from './letsencrypt.conf';
import phpPath from '../../util/php_path';
import phpUpstream from '../../util/php_upstream';
import { getSslCertificate, getSslCertificateKey } from '../../util/get_ssl_certificate.js';
import { extensions, gzipTypes } from '../../util/types_extensions.js';
import { getDomainAccessLog, getDomainErrorLog } from '../../util/logging.js';
import commonHsts from '../../util/common_hsts.js';
import securityConf from './security.conf.js';
import pythonConf from './python_uwsgi.conf.js';
import proxyConf from './proxy.conf.js';
import phpConf from './php_fastcgi.conf.js';
import generalConf from './general.conf.js';
import wordPressConf from './wordpress.conf.js';
import drupalConf from './drupal.conf.js';
import magentoConf from './magento.conf.js';
import joomlaConf from './joomla.conf.js';
import letsEncryptConf from './letsencrypt.conf.js';
import phpPath from '../../util/php_path.js';
import phpUpstream from '../../util/php_upstream.js';
const sslConfig = (domain, global) => {
const config = [];

6
src/nginxconfig/generators/conf/wordpress.conf.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import phpPath from '../../util/php_path';
import phpUpstream from '../../util/php_upstream';
import phpPath from '../../util/php_path.js';
import phpUpstream from '../../util/php_upstream.js';
export default (global, domain) => {
const config = {};

36
src/nginxconfig/generators/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,23 +24,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import toConf from './to_conf';
import toYaml from './to_yaml';
import nginxConf from './conf/nginx.conf';
import websiteConf from './conf/website.conf';
import letsEncryptConf from './conf/letsencrypt.conf';
import securityConf from './conf/security.conf';
import generalConf from './conf/general.conf';
import phpConf from './conf/php_fastcgi.conf';
import pythonConf from './conf/python_uwsgi.conf';
import proxyConf from './conf/proxy.conf';
import wordPressConf from './conf/wordpress.conf';
import drupalConf from './conf/drupal.conf';
import magentoConf from './conf/magento.conf';
import joomlaConf from './conf/joomla.conf';
import dockerComposeYaml from './yaml/dockerCompose.yaml';
import dockerConf from './ext/docker';
import shareQuery from '../util/share_query';
import toConf from './to_conf.js';
import toYaml from './to_yaml.js';
import nginxConf from './conf/nginx.conf.js';
import websiteConf from './conf/website.conf.js';
import letsEncryptConf from './conf/letsencrypt.conf.js';
import securityConf from './conf/security.conf.js';
import generalConf from './conf/general.conf.js';
import phpConf from './conf/php_fastcgi.conf.js';
import pythonConf from './conf/python_uwsgi.conf.js';
import proxyConf from './conf/proxy.conf.js';
import wordPressConf from './conf/wordpress.conf.js';
import drupalConf from './conf/drupal.conf.js';
import magentoConf from './conf/magento.conf.js';
import joomlaConf from './conf/joomla.conf.js';
import dockerComposeYaml from './yaml/dockerCompose.yaml.js';
import dockerConf from './ext/docker.js';
import shareQuery from '../util/share_query.js';
export default (domains, global) => {
const files = {};

4
src/nginxconfig/generators/to_conf.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import isObject from '../util/is_object';
import isObject from '../util/is_object.js';
const isBlock = (item) => {
// If an object, or kv entries, this is considered a block

8
src/nginxconfig/i18n/de/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from './common';
import languages from './languages';
import templates from './templates';
import common from './common.js';
import languages from './languages.js';
import templates from './templates/index.js';
export default { common, languages, templates };

4
src/nginxconfig/i18n/de/templates/app.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../common';
import common from '../common.js';
export default {
title: `${common.nginx}Config`,

6
src/nginxconfig/i18n/de/templates/callouts/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import droplet from './droplet';
import contribute from './contribute';
import droplet from './droplet.js';
import contribute from './contribute.js';
export default { droplet, contribute };

4
src/nginxconfig/i18n/de/templates/domain_sections/https.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableEncryptedSslConnection: `${common.enable} verschlüsselte ${common.ssl} Verbindungen`,

22
src/nginxconfig/i18n/de/templates/domain_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import onion from './onion';
import php from './php';
import presets from './presets';
import python from './python';
import restrict from './restrict';
import reverseProxy from './reverse_proxy';
import routing from './routing';
import server from './server';
import https from './https.js';
import logging from './logging.js';
import onion from './onion.js';
import php from './php.js';
import presets from './presets.js';
import python from './python.js';
import restrict from './restrict.js';
import reverseProxy from './reverse_proxy.js';
import routing from './routing.js';
import server from './server.js';
export default {
https,

4
src/nginxconfig/i18n/de/templates/domain_sections/php.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
phpIsDisabled: `${common.php} ist deaktiviert.`,

4
src/nginxconfig/i18n/de/templates/domain_sections/python.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonIsDisabled: `${common.python} ist deaktiviert.`,

4
src/nginxconfig/i18n/de/templates/domain_sections/reverse_proxy.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
reverseProxyIsDisabled: `${common.reverseProxy} ist deaktiviert.`,

4
src/nginxconfig/i18n/de/templates/domain_sections/routing.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
fallbackRouting: 'Fallback Routing',

4
src/nginxconfig/i18n/de/templates/global_sections/docker.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const docker = 'Docker';
const dockerfile = 'Dockerfile';

4
src/nginxconfig/i18n/de/templates/global_sections/https.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const mozilla = 'Mozilla';
const ipv4 = 'IPv4';

20
src/nginxconfig/i18n/de/templates/global_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import nginx from './nginx';
import performance from './performance';
import python from './python';
import reverseProxy from './reverse_proxy';
import security from './security';
import tools from './tools';
import docker from './docker';
import https from './https.js';
import logging from './logging.js';
import nginx from './nginx.js';
import performance from './performance.js';
import python from './python.js';
import reverseProxy from './reverse_proxy.js';
import security from './security.js';
import tools from './tools.js';
import docker from './docker.js';
export default {
https,

4
src/nginxconfig/i18n/de/templates/global_sections/logging.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableFileNotFoundErrorLogging: `${common.enable} "Seite nicht gefunden" Error Logging in`,

4
src/nginxconfig/i18n/de/templates/global_sections/nginx.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
nginxConfigDirectory: `${common.nginx} Konfigurationsverzeichnis`,

4
src/nginxconfig/i18n/de/templates/global_sections/performance.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
disableHtmlCaching: 'Disable HTML caching', // TODO: translate

4
src/nginxconfig/i18n/de/templates/global_sections/python.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonServer: `${common.python} Server`,

4
src/nginxconfig/i18n/de/templates/global_sections/reverse_proxy.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const legacyXForwarded = 'Legacy X-Forwarded-* Header';

4
src/nginxconfig/i18n/de/templates/global_sections/security.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Bei der Verwendung von ${common.wordPress} ist es oft nötig, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> in die Content Security Policy aufzunehmen, damit der Admin-Bereich korrekt funktioniert.`,

4
src/nginxconfig/i18n/de/templates/global_sections/tools.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
modularizedStructure: 'Modularisierte Struktur',

16
src/nginxconfig/i18n/de/templates/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import app from './app';
import setup from './setup';
import footer from './footer';
import domainSections from './domain_sections';
import globalSections from './global_sections';
import setupSections from './setup_sections';
import callouts from './callouts';
import app from './app.js';
import setup from './setup.js';
import footer from './footer.js';
import domainSections from './domain_sections/index.js';
import globalSections from './global_sections/index.js';
import setupSections from './setup_sections/index.js';
import callouts from './callouts/index.js';
export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };

4
src/nginxconfig/i18n/de/templates/setup_sections/certbot.js

@ -1,5 +1,5 @@
/*
Copyright 2023 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const certbot = 'Certbot';

4
src/nginxconfig/i18n/de/templates/setup_sections/download.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
downloadTheGeneratedConfig: 'Generierte Konfigurationsdateien <b>herunterladen</b>:',

4
src/nginxconfig/i18n/de/templates/setup_sections/go_live.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
letsGoLive: 'Jetzt gehts los!',

10
src/nginxconfig/i18n/de/templates/setup_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import certbot from './certbot';
import download from './download';
import goLive from './go_live';
import ssl from './ssl';
import certbot from './certbot.js';
import download from './download.js';
import goLive from './go_live.js';
import ssl from './ssl.js';
export default { certbot, download, goLive, ssl };

4
src/nginxconfig/i18n/de/templates/setup_sections/ssl.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer:

8
src/nginxconfig/i18n/en/index.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from './common';
import languages from './languages';
import templates from './templates';
import common from './common.js';
import languages from './languages.js';
import templates from './templates/index.js';
export default { common, languages, templates };

4
src/nginxconfig/i18n/en/templates/app.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../common';
import common from '../common.js';
export default {
title: `${common.nginx}Config`,

6
src/nginxconfig/i18n/en/templates/callouts/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import droplet from './droplet';
import contribute from './contribute';
import droplet from './droplet.js';
import contribute from './contribute.js';
export default { droplet, contribute };

4
src/nginxconfig/i18n/en/templates/domain_sections/https.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableEncryptedSslConnection: `${common.enable} encrypted ${common.ssl} connections`,

22
src/nginxconfig/i18n/en/templates/domain_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import php from './php';
import presets from './presets';
import python from './python';
import reverseProxy from './reverse_proxy';
import routing from './routing';
import server from './server';
import restrict from './restrict';
import onion from './onion';
import https from './https.js';
import logging from './logging.js';
import php from './php.js';
import presets from './presets.js';
import python from './python.js';
import reverseProxy from './reverse_proxy.js';
import routing from './routing.js';
import server from './server.js';
import restrict from './restrict.js';
import onion from './onion.js';
export default {
https,

4
src/nginxconfig/i18n/en/templates/domain_sections/logging.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
byDomain: 'by domain',

4
src/nginxconfig/i18n/en/templates/domain_sections/php.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
phpIsDisabled: `${common.php} is disabled.`,

4
src/nginxconfig/i18n/en/templates/domain_sections/python.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonIsDisabled: `${common.python} is disabled.`,

4
src/nginxconfig/i18n/en/templates/domain_sections/reverse_proxy.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
reverseProxyIsDisabled: `${common.reverseProxy} is disabled.`,

4
src/nginxconfig/i18n/en/templates/domain_sections/routing.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
fallbackRouting: 'Fallback routing',

4
src/nginxconfig/i18n/en/templates/global_sections/docker.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const docker = 'Docker';
const dockerfile = 'Dockerfile';

4
src/nginxconfig/i18n/en/templates/global_sections/https.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const mozilla = 'Mozilla';
const ipv4 = 'IPv4';

20
src/nginxconfig/i18n/en/templates/global_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import nginx from './nginx';
import performance from './performance';
import python from './python';
import reverseProxy from './reverse_proxy';
import security from './security';
import tools from './tools';
import docker from './docker';
import https from './https.js';
import logging from './logging.js';
import nginx from './nginx.js';
import performance from './performance.js';
import python from './python.js';
import reverseProxy from './reverse_proxy.js';
import security from './security.js';
import tools from './tools.js';
import docker from './docker.js';
export default {
https,

4
src/nginxconfig/i18n/en/templates/global_sections/logging.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableFileNotFoundErrorLogging: `${common.enable} file not found error logging in`,

4
src/nginxconfig/i18n/en/templates/global_sections/nginx.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
nginxConfigDirectory: `${common.nginx} config directory`,

4
src/nginxconfig/i18n/en/templates/global_sections/performance.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
disableHtmlCaching: 'Disable HTML caching',

4
src/nginxconfig/i18n/en/templates/global_sections/python.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonServer: `${common.python} server`,

4
src/nginxconfig/i18n/en/templates/global_sections/reverse_proxy.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const legacyXForwarded = 'Legacy X-Forwarded-* headers';

4
src/nginxconfig/i18n/en/templates/global_sections/security.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `When using ${common.wordPress}, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> is often required in the Content Security Policy to allow the admin panel to function correctly.`,

4
src/nginxconfig/i18n/en/templates/global_sections/tools.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
modularizedStructure: 'Modularized structure',

16
src/nginxconfig/i18n/en/templates/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import app from './app';
import setup from './setup';
import footer from './footer';
import domainSections from './domain_sections';
import globalSections from './global_sections';
import setupSections from './setup_sections';
import callouts from './callouts';
import app from './app.js';
import setup from './setup.js';
import footer from './footer.js';
import domainSections from './domain_sections/index.js';
import globalSections from './global_sections/index.js';
import setupSections from './setup_sections/index.js';
import callouts from './callouts/index.js';
export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };

4
src/nginxconfig/i18n/en/templates/setup_sections/certbot.js

@ -1,5 +1,5 @@
/*
Copyright 2023 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const certbot = 'Certbot';

4
src/nginxconfig/i18n/en/templates/setup_sections/download.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
downloadTheGeneratedConfig: '<b>Download</b> the generated config:',

4
src/nginxconfig/i18n/en/templates/setup_sections/go_live.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
letsGoLive: "Let's go live!",

10
src/nginxconfig/i18n/en/templates/setup_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import certbot from './certbot';
import download from './download';
import goLive from './go_live';
import ssl from './ssl';
import certbot from './certbot.js';
import download from './download.js';
import goLive from './go_live.js';
import ssl from './ssl.js';
export default { certbot, download, goLive, ssl };

4
src/nginxconfig/i18n/en/templates/setup_sections/ssl.js

@ -1,5 +1,5 @@
/*
Copyright 2020 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer:

8
src/nginxconfig/i18n/es/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from './common';
import languages from './languages';
import templates from './templates';
import common from './common.js';
import languages from './languages.js';
import templates from './templates/index.js';
export default { common, languages, templates };

4
src/nginxconfig/i18n/es/templates/app.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../common';
import common from '../common.js';
export default {
title: `${common.nginx}Config`,

6
src/nginxconfig/i18n/es/templates/callouts/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import droplet from './droplet';
import contribute from './contribute';
import droplet from './droplet.js';
import contribute from './contribute.js';
export default { droplet, contribute };

4
src/nginxconfig/i18n/es/templates/domain_sections/https.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableEncryptedSslConnection: `${common.enable} conexiones ${common.ssl} encriptadas`,

22
src/nginxconfig/i18n/es/templates/domain_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import php from './php';
import presets from './presets';
import python from './python';
import reverseProxy from './reverse_proxy';
import routing from './routing';
import server from './server';
import restrict from './restrict';
import onion from './onion';
import https from './https.js';
import logging from './logging.js';
import php from './php.js';
import presets from './presets.js';
import python from './python.js';
import reverseProxy from './reverse_proxy.js';
import routing from './routing.js';
import server from './server.js';
import restrict from './restrict.js';
import onion from './onion.js';
export default {
https,

4
src/nginxconfig/i18n/es/templates/domain_sections/logging.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
byDomain: 'por dominio',

4
src/nginxconfig/i18n/es/templates/domain_sections/php.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
phpIsDisabled: `${common.php} esta desactivado.`,

4
src/nginxconfig/i18n/es/templates/domain_sections/python.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonIsDisabled: `${common.python} esta desactivado.`,

4
src/nginxconfig/i18n/es/templates/domain_sections/reverse_proxy.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
reverseProxyIsDisabled: `${common.reverseProxy} esta desactivado.`,

4
src/nginxconfig/i18n/es/templates/domain_sections/routing.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
fallbackRouting: 'Enrutamiento alternativo',

4
src/nginxconfig/i18n/es/templates/global_sections/docker.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const docker = 'Docker';
const dockerfile = 'Dockerfile';

4
src/nginxconfig/i18n/es/templates/global_sections/https.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const mozilla = 'Mozilla';
const ipv4 = 'IPv4';

20
src/nginxconfig/i18n/es/templates/global_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,15 +24,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import nginx from './nginx';
import performance from './performance';
import python from './python';
import reverseProxy from './reverse_proxy';
import security from './security';
import tools from './tools';
import docker from './docker';
import https from './https.js';
import logging from './logging.js';
import nginx from './nginx.js';
import performance from './performance.js';
import python from './python.js';
import reverseProxy from './reverse_proxy.js';
import security from './security.js';
import tools from './tools.js';
import docker from './docker.js';
export default {
https,

4
src/nginxconfig/i18n/es/templates/global_sections/logging.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableFileNotFoundErrorLogging: `${common.enable} el registro de error de archivo no encontrado`,

4
src/nginxconfig/i18n/es/templates/global_sections/nginx.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
nginxConfigDirectory: `Directorio de configuración de ${common.nginx}`,

4
src/nginxconfig/i18n/es/templates/global_sections/performance.js

@ -1,5 +1,5 @@
/*
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
disableHtmlCaching: 'Disable HTML caching', // TODO: translate

4
src/nginxconfig/i18n/es/templates/global_sections/python.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonServer: `Servidor ${common.python}`,

4
src/nginxconfig/i18n/es/templates/global_sections/reverse_proxy.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const legacyXForwarded = 'Cabeceras X-Forwarded-* Legacy';

4
src/nginxconfig/i18n/es/templates/global_sections/security.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Cuando usan ${common.wordPress}, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code> es usualmente requerido en el Content Security Policy para permitir que el panel de administrador funcione correctamente.`,

4
src/nginxconfig/i18n/es/templates/global_sections/tools.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
modularizedStructure: 'Estructura modularizada',

16
src/nginxconfig/i18n/es/templates/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,12 +24,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import app from './app';
import setup from './setup';
import footer from './footer';
import domainSections from './domain_sections';
import globalSections from './global_sections';
import setupSections from './setup_sections';
import callouts from './callouts';
import app from './app.js';
import setup from './setup.js';
import footer from './footer.js';
import domainSections from './domain_sections/index.js';
import globalSections from './global_sections/index.js';
import setupSections from './setup_sections/index.js';
import callouts from './callouts/index.js';
export default { app, setup, footer, domainSections, globalSections, setupSections, callouts };

4
src/nginxconfig/i18n/es/templates/setup_sections/certbot.js

@ -1,5 +1,5 @@
/*
Copyright 2023 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const certbot = 'Certbot';

4
src/nginxconfig/i18n/es/templates/setup_sections/download.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
// Here is a HACK, because the real traslation is: "y subirla en la carpeta '/etc/nginx' de tu servidor. "
// but the HTML order of the templates are wrong: "y subirla en el servidor '/etc/nginx' carpeta."

4
src/nginxconfig/i18n/es/templates/setup_sections/go_live.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
letsGoLive: '¡Vamos a desplegar!',

10
src/nginxconfig/i18n/es/templates/setup_sections/index.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,9 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import certbot from './certbot';
import download from './download';
import goLive from './go_live';
import ssl from './ssl';
import certbot from './certbot.js';
import download from './download.js';
import goLive from './go_live.js';
import ssl from './ssl.js';
export default { certbot, download, goLive, ssl };

4
src/nginxconfig/i18n/es/templates/setup_sections/ssl.js

@ -1,5 +1,5 @@
/*
Copyright 2021 DigitalOcean
Copyright 2024 DigitalOcean
This code is licensed under the MIT License.
You may obtain a copy of the License at
@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer:

6
src/nginxconfig/i18n/fa/index.js

@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from './common';
import languages from './languages';
import templates from './templates';
import common from './common.js';
import languages from './languages.js';
import templates from './templates/index.js';
export default { common, languages, templates };

2
src/nginxconfig/i18n/fa/templates/app.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../common';
import common from '../common.js';
export default {
title: `${common.nginx}پیکربندی`,

4
src/nginxconfig/i18n/fa/templates/callouts/index.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import droplet from './droplet';
import contribute from './contribute';
import droplet from './droplet.js';
import contribute from './contribute.js';
export default { droplet, contribute };

2
src/nginxconfig/i18n/fa/templates/domain_sections/https.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
enableEncryptedSslConnection: `${common.enable} ${common.ssl} اتصالهای رمزگذاری شده`,

20
src/nginxconfig/i18n/fa/templates/domain_sections/index.js

@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import https from './https';
import logging from './logging';
import php from './php';
import presets from './presets';
import python from './python';
import reverseProxy from './reverse_proxy';
import routing from './routing';
import server from './server';
import restrict from './restrict';
import onion from './onion';
import https from './https.js';
import logging from './logging.js';
import php from './php.js';
import presets from './presets.js';
import python from './python.js';
import reverseProxy from './reverse_proxy.js';
import routing from './routing.js';
import server from './server.js';
import restrict from './restrict.js';
import onion from './onion.js';
export default {
https,

2
src/nginxconfig/i18n/fa/templates/domain_sections/logging.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
byDomain: 'به وسیلهٔ دامنه',

2
src/nginxconfig/i18n/fa/templates/domain_sections/php.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
phpIsDisabled: `${common.php} غیرفعال است.`,

2
src/nginxconfig/i18n/fa/templates/domain_sections/python.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
pythonIsDisabled: `${common.python} غیرفعال است.`,

2
src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
reverseProxyIsDisabled: `${common.reverseProxy} غیرفعال است.`,

2
src/nginxconfig/i18n/fa/templates/domain_sections/routing.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
export default {
fallbackRouting: 'مسیریابی پشتیبانی شده',

2
src/nginxconfig/i18n/fa/templates/global_sections/docker.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const docker = 'Docker';
const dockerfile = 'Dockerfile';

2
src/nginxconfig/i18n/fa/templates/global_sections/https.js

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
import common from '../../common';
import common from '../../common.js';
const mozilla = 'Mozilla';
const ipv4 = 'IPv4';

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save