From f2aa59297d95409e90b8ed212f3c9fc189c89a85 Mon Sep 17 00:00:00 2001
From: mphschmitt <36666080+mphschmitt@users.noreply.github.com>
Date: Tue, 19 Jan 2021 22:08:11 +0100
Subject: [PATCH] Add French translations (#214)
* Add French translations
* French: add zh-cn and zh-tw translations.
* Update case
* Translate 'reverse proxy'
---
src/nginxconfig/i18n/en/languages.js | 1 +
src/nginxconfig/i18n/fr/common.js | 48 +++++++++++++++++
src/nginxconfig/i18n/fr/index.js | 31 +++++++++++
src/nginxconfig/i18n/fr/languages.js | 33 ++++++++++++
src/nginxconfig/i18n/fr/templates/app.js | 39 ++++++++++++++
.../fr/templates/domain_sections/https.js | 41 ++++++++++++++
.../fr/templates/domain_sections/index.js | 38 +++++++++++++
.../fr/templates/domain_sections/logging.js | 32 +++++++++++
.../fr/templates/domain_sections/onion.js | 36 +++++++++++++
.../i18n/fr/templates/domain_sections/php.js | 42 +++++++++++++++
.../fr/templates/domain_sections/presets.js | 33 ++++++++++++
.../fr/templates/domain_sections/python.js | 36 +++++++++++++
.../fr/templates/domain_sections/restrict.js | 30 +++++++++++
.../domain_sections/reverse_proxy.js | 34 ++++++++++++
.../fr/templates/domain_sections/routing.js | 35 ++++++++++++
.../fr/templates/domain_sections/server.js | 37 +++++++++++++
src/nginxconfig/i18n/fr/templates/footer.js | 39 ++++++++++++++
.../fr/templates/global_sections/docker.js | 41 ++++++++++++++
.../fr/templates/global_sections/https.js | 50 +++++++++++++++++
.../fr/templates/global_sections/index.js | 38 +++++++++++++
.../fr/templates/global_sections/logging.js | 41 ++++++++++++++
.../fr/templates/global_sections/nginx.js | 32 +++++++++++
.../templates/global_sections/performance.js | 39 ++++++++++++++
.../i18n/fr/templates/global_sections/php.js | 44 +++++++++++++++
.../fr/templates/global_sections/python.js | 32 +++++++++++
.../global_sections/reverse_proxy.js | 32 +++++++++++
.../fr/templates/global_sections/security.js | 32 +++++++++++
.../fr/templates/global_sections/tools.js | 53 +++++++++++++++++++
src/nginxconfig/i18n/fr/templates/index.js | 34 ++++++++++++
src/nginxconfig/i18n/fr/templates/setup.js | 30 +++++++++++
.../fr/templates/setup_sections/certbot.js | 39 ++++++++++++++
.../fr/templates/setup_sections/download.js | 40 ++++++++++++++
.../fr/templates/setup_sections/go_live.js | 33 ++++++++++++
.../i18n/fr/templates/setup_sections/index.js | 32 +++++++++++
.../i18n/fr/templates/setup_sections/ssl.js | 34 ++++++++++++
src/nginxconfig/i18n/pt-br/languages.js | 1 +
src/nginxconfig/i18n/zh-cn/languages.js | 1 +
src/nginxconfig/i18n/zh-tw/languages.js | 1 +
38 files changed, 1264 insertions(+)
create mode 100644 src/nginxconfig/i18n/fr/common.js
create mode 100644 src/nginxconfig/i18n/fr/index.js
create mode 100644 src/nginxconfig/i18n/fr/languages.js
create mode 100644 src/nginxconfig/i18n/fr/templates/app.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/https.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/index.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/logging.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/onion.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/php.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/presets.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/python.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/restrict.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/routing.js
create mode 100644 src/nginxconfig/i18n/fr/templates/domain_sections/server.js
create mode 100644 src/nginxconfig/i18n/fr/templates/footer.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/docker.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/https.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/index.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/logging.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/nginx.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/performance.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/php.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/python.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/security.js
create mode 100644 src/nginxconfig/i18n/fr/templates/global_sections/tools.js
create mode 100644 src/nginxconfig/i18n/fr/templates/index.js
create mode 100644 src/nginxconfig/i18n/fr/templates/setup.js
create mode 100644 src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js
create mode 100644 src/nginxconfig/i18n/fr/templates/setup_sections/download.js
create mode 100644 src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js
create mode 100644 src/nginxconfig/i18n/fr/templates/setup_sections/index.js
create mode 100644 src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js
diff --git a/src/nginxconfig/i18n/en/languages.js b/src/nginxconfig/i18n/en/languages.js
index d98f1ac..941c188 100644
--- a/src/nginxconfig/i18n/en/languages.js
+++ b/src/nginxconfig/i18n/en/languages.js
@@ -29,4 +29,5 @@ export default {
zhCN: 'Chinese (simplified)',
zhTW: 'Chinese (traditional)',
ptBR: 'Portuguese (brazilian)',
+ fr: 'French',
};
diff --git a/src/nginxconfig/i18n/fr/common.js b/src/nginxconfig/i18n/fr/common.js
new file mode 100644
index 0000000..77b8856
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/common.js
@@ -0,0 +1,48 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ back: 'Précédent',
+ next: 'Suivant',
+ enable: 'activer',
+ php: 'PHP',
+ ssl: 'SSL',
+ nginx: 'NGINX',
+ http: 'HTTP',
+ https: 'HTTPS',
+ letsEncrypt: 'Let\'s Encrypt',
+ python: 'Python',
+ wordPress: 'WordPress',
+ drupal: 'Drupal',
+ magento: 'Magento',
+ joomla: 'Joomla',
+ django: 'Django',
+ logging: 'Logs',
+ reverseProxy: 'Proxy Inverse',
+ reverseProxyLower: 'proxy inverse',
+ restrict: 'Restreindre',
+ path: 'Chemin',
+};
diff --git a/src/nginxconfig/i18n/fr/index.js b/src/nginxconfig/i18n/fr/index.js
new file mode 100644
index 0000000..15420a1
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/index.js
@@ -0,0 +1,31 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+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';
+
+export default { common, languages, templates };
diff --git a/src/nginxconfig/i18n/fr/languages.js b/src/nginxconfig/i18n/fr/languages.js
new file mode 100644
index 0000000..ac519f3
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/languages.js
@@ -0,0 +1,33 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ en: 'Anglais',
+ zhCN: 'Chinois (simplifié)',
+ zhTW: 'Chinois (traditionnel)',
+ ptBR: 'Portugais (brésilien)',
+ fr: 'Français',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/app.js b/src/nginxconfig/i18n/fr/templates/app.js
new file mode 100644
index 0000000..05fefb0
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/app.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../common';
+
+export default {
+ title: `${common.nginx}Config`,
+ description: `La manière la plus simple de configurer un serveur ${common.nginx} performant, sécurisé et stable.`,
+ singleColumnMode: 'Mode simple colonne',
+ splitColumnMode: 'Mode double colonne',
+ perWebsiteConfig: 'Configuration par site',
+ addSite: 'Ajouter un site',
+ globalConfig: 'Configuration globale',
+ setup: 'Configurer',
+ configFiles: 'Fichiers de configuration',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/https.js b/src/nginxconfig/i18n/fr/templates/domain_sections/https.js
new file mode 100644
index 0000000..4bedb2f
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/https.js
@@ -0,0 +1,41 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ enableEncryptedSslConnection: `${common.enable} les connexions ${common.ssl}`,
+ http2: `${common.http}/2`,
+ enableHttp2Connections: `${common.enable} les connexions ${common.http}/2`,
+ forceHttps: `Forcer ${common.https}`,
+ hsts: 'HSTS',
+ enableStrictTransportSecurity: `${common.enable} Strict Transport Security, exigeant HTTPS`,
+ enableIncludeSubDomains: `${common.enable} la directive includeSubDomains, exigeant une connexion HTTPS pour tous les sous-domaines.`,
+ enablePreload: `${common.enable} la directive de préchargement, indiquant aux navigateurs de toujours utiliser une connexion HTTPS`,
+ certificationType: 'Type de certification',
+ customCertificate: 'Certificat personnalisé',
+ letsEncryptEmail: `E-mail ${common.letsEncrypt}`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/index.js b/src/nginxconfig/i18n/fr/templates/domain_sections/index.js
new file mode 100644
index 0000000..a6da9ab
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/index.js
@@ -0,0 +1,38 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+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';
+
+export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion };
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js b/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js
new file mode 100644
index 0000000..51d9cfb
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/logging.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ byDomain: 'par domaine',
+ enableForThisDomain: `${common.enable} pour ce domaine`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/onion.js b/src/nginxconfig/i18n/fr/templates/domain_sections/onion.js
new file mode 100644
index 0000000..6290bf9
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/onion.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+const onion = 'Onion';
+
+export default {
+ onion,
+ onionLocation: `Adresse ${onion}`,
+ provideAnOnionLocationToSetOnionLocationHeader: 'Fournir une adresse Onion pour définir le header Onion-Location pour votre site.',
+ letsVisitorsKnownOnionServicesIsAvailable: 'Indique aux visiteurs qu\'une version onion du site est disponible pour les navigateurs Tor.',
+ learnMoreAboutOnionServices: 'En apprendre plus sur les services Onion',
+ onionLocationExpectedToEndWithOnion: 'Une adresse onion se termine normalement avec `.onion`.',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/php.js b/src/nginxconfig/i18n/fr/templates/domain_sections/php.js
new file mode 100644
index 0000000..8611528
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/php.js
@@ -0,0 +1,42 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ phpIsDisabled: `${common.php} est désactivé.`,
+ phpCannotBeEnabledWithReverseProxy: `${common.php} ne peut pas être activé en même temps que le ${common.reverseProxyLower}.`,
+ phpCannotBeEnabledWithPython: `${common.php} ne peut pas être activé en même temps que ${common.python}.`,
+ enablePhp: `${common.enable} ${common.php}`,
+ wordPressRules: `Règles ${common.wordPress}`,
+ enableWordPressRules: `${common.enable} les règles spécifiques à ${common.wordPress}`,
+ drupalRules: `Règles ${common.drupal}`,
+ enableDrupalRules: `${common.enable} les règles spécifiques à ${common.drupal}`,
+ magentoRules: `Règles ${common.magento}`,
+ enableMagentoRules: `${common.enable} les règles spécifiques à ${common.magento}`,
+ joomlaRules: `Règles ${common.joomla}`,
+ enableJoomlaRules: `${common.enable} les règles spécifiques à ${common.joomla}`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/presets.js b/src/nginxconfig/i18n/fr/templates/domain_sections/presets.js
new file mode 100644
index 0000000..c448d60
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/presets.js
@@ -0,0 +1,33 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ presets: 'Préconfigurations',
+ itLooksLikeYouCustomisedTheConfig: 'Il semblerait que vous ayez customisé la configuration de ce domaine. Utiliser une nouvelle préconfiguration peut réinitialiser ou changer certains paramètres que vous avez définis.',
+ frontend: 'Frontend',
+ nodeJs: 'Node.js',
+ singlePageApplication: 'Application monopage',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/python.js b/src/nginxconfig/i18n/fr/templates/domain_sections/python.js
new file mode 100644
index 0000000..2d7debc
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/python.js
@@ -0,0 +1,36 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ pythonIsDisabled: `${common.python} est désactivé.`,
+ pythonCannotBeEnabledWithReverseProxy: `${common.python} ne peut pas être activé en même temps que le ${common.reverseProxyLower}.`,
+ pythonCannotBeEnabledWithPhp: `${common.python} ne peut pas être activé en même temps que ${common.php}.`,
+ enablePython: `${common.enable} ${common.python}`,
+ djangoRules: `Règles de ${common.django}`,
+ enableDjangoRules: `${common.enable} les règles spécifiques à ${common.django}`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/fr/templates/domain_sections/restrict.js
new file mode 100644
index 0000000..e0c8250
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/restrict.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ disableForThisDomain: 'désactiver pour ce domaine',
+ responseCode: 'Code de réponse',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js
new file mode 100644
index 0000000..29f05d1
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/reverse_proxy.js
@@ -0,0 +1,34 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ reverseProxyIsDisabled: `Le ${common.reverseProxyLower} est désactivé.`,
+ reverseProxyCannotBeEnabledWithPhp: `Le ${common.reverseProxyLower} ne peut pas être activé en même temps que ${common.php}.`,
+ reverseProxyCannotBeEnabledWithPython: `Le ${common.reverseProxyLower} ne peut pas être activé en même temps que ${common.python}.`,
+ enableReverseProxy: `${common.enable} le ${common.reverseProxyLower}`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js b/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js
new file mode 100644
index 0000000..cd95dd5
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/routing.js
@@ -0,0 +1,35 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ fallbackRouting: 'Routes par défaut',
+ fallbackRoutingPhpPath: `Chemin par défaut ${common.php}`,
+ legacyPhpRouting: `Routage ${common.php} legacy`,
+ enableLegacyRouting: `${common.enable} le routage legacy`,
+ routing: 'Routage',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/domain_sections/server.js b/src/nginxconfig/i18n/fr/templates/domain_sections/server.js
new file mode 100644
index 0000000..afa5e61
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/domain_sections/server.js
@@ -0,0 +1,37 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ domain: 'Domaine',
+ documentRoot: 'Dossier racine',
+ oneOrMoreOtherDomainsAreAlsoNamed: 'Un ou plusieurs autres domaines sont aussi nommés',
+ thisWillCauseIssuesWithConfigGeneration: 'Cela causera des problèmes lors de la génération de la configuration.',
+ wwwSubdomain: 'Sous-domaine www',
+ cdnSubdomain: 'Sous-domaine CDN',
+ redirectSubdomains: 'Rediriger les sous-domaines',
+ server: 'Serveur',
+ listen: 'écouter',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/footer.js b/src/nginxconfig/i18n/fr/templates/footer.js
new file mode 100644
index 0000000..ad12ffa
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/footer.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ backToTop: 'Retour en haut',
+ thisToolIs: 'Cet outil est',
+ openSourceOnGitHub: 'open-source sur GitHub',
+ underThe: 'sous',
+ mit: 'licence MIT',
+ license: '!',
+ weWelcomeFeedbackAndContributions: 'Nous apprécions les retours et les contributions.',
+ originallyCreatedBy: 'Initialement créé par',
+ balintSzekeres: 'Bálint Szekeres',
+ maintainedBy: 'maintenu par',
+ digitalOcean: 'DigitalOcean',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/docker.js b/src/nginxconfig/i18n/fr/templates/global_sections/docker.js
new file mode 100644
index 0000000..5786229
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/docker.js
@@ -0,0 +1,41 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const docker = 'Docker';
+const dockerfile = 'Dockerfile';
+
+export default {
+ docker,
+ dockerfile,
+ dockerCompose: `${docker} Compose`,
+ applyDockerTweaks: `Configurer pour ${docker}`,
+ applyDockerTweaksForNginx: `Applique des ajustements pour exécuter ${common.nginx} avec ${docker}`,
+ applyDockerTweaksExplainer: `Définit l'utilisateur ${common.nginx} comme nginx
et le pid comme /var/run/nginx.pid
`,
+ includeDockerfile: `Inclure un ${dockerfile} pour exécuter ${common.nginx} avec ${docker}`,
+ includeDockerCompose: `Inclure un docker-compose pour exécuter ${common.nginx} avec docker-compose`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/https.js b/src/nginxconfig/i18n/fr/templates/global_sections/https.js
new file mode 100644
index 0000000..1a457a6
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/https.js
@@ -0,0 +1,50 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const mozilla = 'Mozilla';
+const ipv4 = 'IPv4';
+const ipv6 = 'IPv6';
+
+export default {
+ sslProfile: `Profil ${common.ssl}`,
+ httpsMustBeEnabledOnOneSite: `${common.https} doit être activé sur au moins un site pour configurer les paramètres ${common.https} globaux.`,
+ ocspDnsResolvers: 'Résolveur DNS OCSP',
+ cloudflareResolver: 'Résolveur Cloudflare',
+ googlePublicDns: 'Google Public DNS',
+ openDns: 'OpenDNS',
+ quad9: 'Quad9',
+ verisign: 'Verisign',
+ letsEncryptWebroot: `${common.letsEncrypt} dossier racine`,
+ letsEncryptCertRoot: `Dossier du certificat ${common.letsEncrypt}`,
+ mozillaModern: `${mozilla} Moderne`,
+ mozillaIntermediate: `${mozilla} Intermédiaire`,
+ mozillaOld: `${mozilla} Ancien`,
+ ipv4Only: `${ipv4} seulement`,
+ ipv6Only: `${ipv6} seulement`,
+ ipv4AndIpv6: `${ipv4} & ${ipv6}`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/index.js b/src/nginxconfig/i18n/fr/templates/global_sections/index.js
new file mode 100644
index 0000000..d111b52
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/index.js
@@ -0,0 +1,38 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+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 php from './php';
+import python from './python';
+import reverseProxy from './reverse_proxy';
+import security from './security';
+import tools from './tools';
+import docker from './docker';
+
+export default { https, logging, nginx, performance, php, python, reverseProxy, security, tools, docker };
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/logging.js b/src/nginxconfig/i18n/fr/templates/global_sections/logging.js
new file mode 100644
index 0000000..ccce5bf
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/logging.js
@@ -0,0 +1,41 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ enableFileNotFoundErrorLogging: `${common.enable} les erreurs de fichiers introuvables lors de la journalisation`,
+ logformat: 'log_format',
+ enableCloudflare: 'ajouter les en-têtes de requête CloudFlare au format de journal par défaut',
+ cfRay: 'CF-Ray',
+ cfConnectingIp: 'CF-Connecting-IP',
+ xForwardedFor: 'X-Forwarded-For',
+ xForwardedProto: 'X-Forwarded-Proto',
+ trueClientIp: 'True-Client-IP',
+ cfIpCountry: 'CF-IPCountry',
+ cfVisitor: 'CF-Visitor',
+ cdnLoop: 'CDN-Loop',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js b/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js
new file mode 100644
index 0000000..f71543a
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/nginx.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ nginxConfigDirectory: `Dossier de configuration ${common.nginx}`,
+ mb: 'MB',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/performance.js b/src/nginxconfig/i18n/fr/templates/global_sections/performance.js
new file mode 100644
index 0000000..98f344a
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/performance.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ gzipCompression: 'Compression Gzip',
+ enableGzipCompression: `${common.enable} la compression gzip`,
+ brotliCompression: 'Compression Brotli',
+ enableBrotliCompression: `${common.enable} la compression brotli`,
+ expirationForAssets: 'Expiration des assets',
+ expirationForMedia: 'Expiration des medias',
+ expirationForSvgs: 'Expiration des SVGs',
+ expirationForFonts: 'Expiration des fonts',
+ performance: 'Performances',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/php.js b/src/nginxconfig/i18n/fr/templates/global_sections/php.js
new file mode 100644
index 0000000..b04ebb8
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/php.js
@@ -0,0 +1,44 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ phpServer: `Serveur ${common.php}`,
+ phpMustBeEnabledOnOneSite: `${common.php} doit être activé sur au moins un site pour configurer les paramètres globaux de ${common.php}.`,
+ phpBackupServer: `Serveur de sauvegarde ${common.php}`,
+ tcp: 'TCP',
+ hhvmSocket: 'Socket HHVM',
+ php5Socket: 'Socket 5.x',
+ php70Socket: 'Socket 7.0',
+ php71Socket: 'Socket 7.1',
+ php72Socket: 'Socket 7.2',
+ php73Socket: 'Socket 7.3',
+ php74Socket: 'Socket 7.4',
+ php80Socket: 'Socket 8.0',
+ phpSocket: 'Socket PHP',
+ disabled: 'Désactivé',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/python.js b/src/nginxconfig/i18n/fr/templates/global_sections/python.js
new file mode 100644
index 0000000..c983420
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/python.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ pythonServer: `Serveur ${common.python}`,
+ pythonMustBeEnabledOnOneSite: `${common.python} doit être activé sur au moins un site pour configurer les paramètres globaux de ${common.python}.`,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js
new file mode 100644
index 0000000..da73c32
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/reverse_proxy.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ reverseProxyMustBeEnabledOnOneSite: `Le ${common.reverseProxyLower} doit être activé sur au moins un site pour configurer les paramètres globaux du ${common.reverseProxyLower}.`,
+ seconds: 'secondes',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/security.js b/src/nginxconfig/i18n/fr/templates/global_sections/security.js
new file mode 100644
index 0000000..9af5084
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/security.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `Lors de l'utilisation de ${common.wordPress}, 'unsafe-eval'
est fréquemment exigé par la Politique de Sécurité du Contenu pour assurer le bon fonctionnement du panneau d'administration.`,
+ security: 'Sécurité',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/global_sections/tools.js b/src/nginxconfig/i18n/fr/templates/global_sections/tools.js
new file mode 100644
index 0000000..52318b1
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/global_sections/tools.js
@@ -0,0 +1,53 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ modularizedStructure: 'Structure modulaire',
+ enableModularizedConfigFiles: `${common.enable} les fichiers de configuration modulaires`,
+ symlinkVhost: 'Lien symbolique pour vhost',
+ enableSymLinksFrom: `${common.enable} les liens symboliques depuis`,
+ to: 'vers',
+ shareConfiguration: 'Partager la configuration',
+ resetConfiguration: 'Réinitialiser la configuration',
+ resetGlobalConfig: 'Réinitialiser la configuration globale',
+ resetAllDomains: 'Réinitialiser tous les domaines',
+ removeAllDomains: 'Supprimer tous les domaines',
+ resetAllDomainsConfig: 'Réinitialiser la configuration de tous les domaines',
+ resetDomainConfig: 'Réinitialiser la configuration du domaine',
+ removeDomain: 'Supprimer le domaine',
+ yesImSure: 'Oui, je suis sûr(e)',
+ noCancel: 'Non, annuler',
+ tools: 'Outils',
+ resetGlobalConfigBody: 'Voulez-vous vraiment réinitialiser toutes les options de configuration globales?',
+ resetAllDomainsConfigBody: 'Voulez-vous vraiment réinitialiser les configurations de TOUS les domaines?',
+ removeAllDomainsBody: 'Voulez-vous vraiment supprimer les configurations de TOUS les domaines?',
+ areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Voulez-vous vraiment réinitialiser toutes les options de configuration pour',
+ domain: '?',
+ areYouSureYouWantToRemoveThe: 'Voulez-vous vraiment supprimer',
+ domainConfiguration: '?',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/index.js b/src/nginxconfig/i18n/fr/templates/index.js
new file mode 100644
index 0000000..03e8a4f
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/index.js
@@ -0,0 +1,34 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+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';
+
+export default { app, setup, footer, domainSections, globalSections, setupSections };
diff --git a/src/nginxconfig/i18n/fr/templates/setup.js b/src/nginxconfig/i18n/fr/templates/setup.js
new file mode 100644
index 0000000..1c7c5c7
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/setup.js
@@ -0,0 +1,30 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+export default {
+ downloadConfig: 'Télécharger la configuration',
+ copyBase64: 'Copier en Base64',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js
new file mode 100644
index 0000000..dad4e8c
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/setup_sections/certbot.js
@@ -0,0 +1,39 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+const certbot = 'Certbot';
+
+export default {
+ commentOutSslDirectivesInConfiguration: `Commentez les directives relatives à ${common.ssl}:`,
+ reloadYourNginxServer: `Relancez le serveur ${common.nginx}:`,
+ obtainSslCertificatesFromLetsEncrypt: `Obtenez les certificats ${common.ssl} de ${common.letsEncrypt} à l'aide de ${certbot}:`,
+ uncommentSslDirectivesInConfiguration: `Décommentez les directives relatives à ${common.ssl}:`,
+ configureCertbotToReloadNginxOnCertificateRenewal: `Configurez ${certbot} pour relancer ${common.nginx} lors du renouvellement des certificats:`,
+ certbotDoesNotNeedToBeSetupForYourConfiguration: `Il est inutile de configurer ${certbot} pour votre configuration ${common.nginx}.`,
+ certbot,
+};
diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/download.js b/src/nginxconfig/i18n/fr/templates/setup_sections/download.js
new file mode 100644
index 0000000..e117660
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/setup_sections/download.js
@@ -0,0 +1,40 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ downloadTheGeneratedConfig: 'Téléchargez la configuration générée:',
+ andUploadItToYourServers: 'et uploadez-la vers le répertoire',
+ directory: 'de votre serveur.',
+ or: 'ou, ',
+ copyBase64StringOfCompressedConfig: 'copiez la configuration compressée et encodée en base64',
+ pasteItInYourServersCommandLineAndExecute: ', puis collez-la et exécutez-la en ligne de commande sur votre serveur.',
+ navigateToYourNginxConfigurationDirectoryOnYourServer: `Sur votre serveur, naviguez vers le dossier de configuration de ${common.nginx}:`,
+ createABackupOfYourCurrentNginxConfiguration: `Créez un backup de votre configuration ${common.nginx} actuelle:`,
+ extractTheNewCompressedConfigurationArchiveUsingTar: 'Décompressez la nouvelle configuration en utilisant Tar:',
+ download: 'Téléchargement',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js
new file mode 100644
index 0000000..9b39dd3
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/setup_sections/go_live.js
@@ -0,0 +1,33 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ letsGoLive: 'C\'est en ligne!',
+ reloadNginxToLoadInYourNewConfiguration: `Relancez ${common.nginx} pour charger la nouvelle configuration:`,
+ goLive: 'C\'est en ligne!',
+};
diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/index.js b/src/nginxconfig/i18n/fr/templates/setup_sections/index.js
new file mode 100644
index 0000000..f64fc18
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/setup_sections/index.js
@@ -0,0 +1,32 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+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';
+
+export default { certbot, download, goLive, ssl };
diff --git a/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js
new file mode 100644
index 0000000..7fe82f5
--- /dev/null
+++ b/src/nginxconfig/i18n/fr/templates/setup_sections/ssl.js
@@ -0,0 +1,34 @@
+/*
+Copyright 2021 DigitalOcean
+
+This code is licensed under the MIT License.
+You may obtain a copy of the License at
+https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions :
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+
+import common from '../../common';
+
+export default {
+ generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Générez des clefs de Diffie-Hellman en exécutant cette commande sur votre serveur:',
+ createACommonAcmeChallengeDirectoryForLetsEncrypt: `Créez un répertoire commun ACME-challenge (pour ${common.letsEncrypt}):`,
+ noAdditionalStepsAreNeededToSetUpSslForNginx: `Aucune étape additionnelle n'est nécessaire pour configurer ${common.ssl} pour ${common.nginx}.`,
+ sslInit: `${common.ssl} init`,
+};
diff --git a/src/nginxconfig/i18n/pt-br/languages.js b/src/nginxconfig/i18n/pt-br/languages.js
index a3ce695..ba00996 100644
--- a/src/nginxconfig/i18n/pt-br/languages.js
+++ b/src/nginxconfig/i18n/pt-br/languages.js
@@ -29,4 +29,5 @@ export default {
zhCN: 'Chinês (simplificado)',
zhTW: 'Chinês (tradicional)',
ptBR: 'Português (brasileiro)',
+ fr: 'Francês',
};
diff --git a/src/nginxconfig/i18n/zh-cn/languages.js b/src/nginxconfig/i18n/zh-cn/languages.js
index f12ad00..f103b6d 100644
--- a/src/nginxconfig/i18n/zh-cn/languages.js
+++ b/src/nginxconfig/i18n/zh-cn/languages.js
@@ -29,4 +29,5 @@ export default {
zhCN: '简体中文',
zhTW: '繁体中文',
ptBR: '葡萄牙语 (巴西)',
+ fr: '法语',
};
diff --git a/src/nginxconfig/i18n/zh-tw/languages.js b/src/nginxconfig/i18n/zh-tw/languages.js
index bff5b47..c817aec 100644
--- a/src/nginxconfig/i18n/zh-tw/languages.js
+++ b/src/nginxconfig/i18n/zh-tw/languages.js
@@ -29,4 +29,5 @@ export default {
zhCN: '簡體中文',
zhTW: '繁體中文',
ptBR: '葡萄牙語(巴西)',
+ fr: '法語',
};