From b8de3ddb736b0c3b86fb2f6ccbc55add1b0eb5a3 Mon Sep 17 00:00:00 2001 From: Kasra Karami Date: Fri, 16 Feb 2024 19:15:39 +0330 Subject: [PATCH 1/3] add persian language --- src/nginxconfig/i18n/fa/common.js | 48 ++++++++++++++++ src/nginxconfig/i18n/fa/index.js | 31 ++++++++++ src/nginxconfig/i18n/fa/languages.js | 39 +++++++++++++ src/nginxconfig/i18n/fa/templates/app.js | 40 +++++++++++++ .../i18n/fa/templates/callouts/contribute.js | 31 ++++++++++ .../i18n/fa/templates/callouts/droplet.js | 30 ++++++++++ .../i18n/fa/templates/callouts/index.js | 30 ++++++++++ .../fa/templates/domain_sections/https.js | 48 ++++++++++++++++ .../fa/templates/domain_sections/index.js | 49 ++++++++++++++++ .../fa/templates/domain_sections/logging.js | 35 ++++++++++++ .../fa/templates/domain_sections/onion.js | 38 +++++++++++++ .../i18n/fa/templates/domain_sections/php.js | 57 +++++++++++++++++++ .../fa/templates/domain_sections/presets.js | 34 +++++++++++ .../fa/templates/domain_sections/python.js | 36 ++++++++++++ .../fa/templates/domain_sections/restrict.js | 30 ++++++++++ .../domain_sections/reverse_proxy.js | 35 ++++++++++++ .../fa/templates/domain_sections/routing.js | 35 ++++++++++++ .../fa/templates/domain_sections/server.js | 37 ++++++++++++ src/nginxconfig/i18n/fa/templates/footer.js | 39 +++++++++++++ .../fa/templates/global_sections/docker.js | 41 +++++++++++++ .../fa/templates/global_sections/https.js | 52 +++++++++++++++++ .../fa/templates/global_sections/index.js | 47 +++++++++++++++ .../fa/templates/global_sections/logging.js | 42 ++++++++++++++ .../fa/templates/global_sections/nginx.js | 32 +++++++++++ .../templates/global_sections/performance.js | 44 ++++++++++++++ .../fa/templates/global_sections/python.js | 32 +++++++++++ .../global_sections/reverse_proxy.js | 36 ++++++++++++ .../fa/templates/global_sections/security.js | 32 +++++++++++ .../fa/templates/global_sections/tools.js | 56 ++++++++++++++++++ src/nginxconfig/i18n/fa/templates/index.js | 35 ++++++++++++ src/nginxconfig/i18n/fa/templates/setup.js | 30 ++++++++++ .../fa/templates/setup_sections/certbot.js | 40 +++++++++++++ .../fa/templates/setup_sections/download.js | 42 ++++++++++++++ .../fa/templates/setup_sections/go_live.js | 33 +++++++++++ .../i18n/fa/templates/setup_sections/index.js | 32 +++++++++++ .../i18n/fa/templates/setup_sections/ssl.js | 35 ++++++++++++ src/nginxconfig/util/language_packs.js | 1 + 37 files changed, 1384 insertions(+) create mode 100644 src/nginxconfig/i18n/fa/common.js create mode 100644 src/nginxconfig/i18n/fa/index.js create mode 100644 src/nginxconfig/i18n/fa/languages.js create mode 100644 src/nginxconfig/i18n/fa/templates/app.js create mode 100644 src/nginxconfig/i18n/fa/templates/callouts/contribute.js create mode 100644 src/nginxconfig/i18n/fa/templates/callouts/droplet.js create mode 100644 src/nginxconfig/i18n/fa/templates/callouts/index.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/https.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/index.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/logging.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/onion.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/php.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/presets.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/python.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/routing.js create mode 100644 src/nginxconfig/i18n/fa/templates/domain_sections/server.js create mode 100644 src/nginxconfig/i18n/fa/templates/footer.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/docker.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/https.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/index.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/logging.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/nginx.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/performance.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/python.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/security.js create mode 100644 src/nginxconfig/i18n/fa/templates/global_sections/tools.js create mode 100644 src/nginxconfig/i18n/fa/templates/index.js create mode 100644 src/nginxconfig/i18n/fa/templates/setup.js create mode 100644 src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js create mode 100644 src/nginxconfig/i18n/fa/templates/setup_sections/download.js create mode 100644 src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js create mode 100644 src/nginxconfig/i18n/fa/templates/setup_sections/index.js create mode 100644 src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js diff --git a/src/nginxconfig/i18n/fa/common.js b/src/nginxconfig/i18n/fa/common.js new file mode 100644 index 00000000..7f357c3b --- /dev/null +++ b/src/nginxconfig/i18n/fa/common.js @@ -0,0 +1,48 @@ +/* +Copyright 2020 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: 'Back', + next: 'Next', + enable: 'enable', + 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: 'Logging', + reverseProxy: 'Reverse proxy', + reverseProxyLower: 'reverse proxy', + restrict: 'Restrict', + path: 'Path', +}; diff --git a/src/nginxconfig/i18n/fa/index.js b/src/nginxconfig/i18n/fa/index.js new file mode 100644 index 00000000..01c3f3e9 --- /dev/null +++ b/src/nginxconfig/i18n/fa/index.js @@ -0,0 +1,31 @@ +/* +Copyright 2020 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/fa/languages.js b/src/nginxconfig/i18n/fa/languages.js new file mode 100644 index 00000000..1e15d3c4 --- /dev/null +++ b/src/nginxconfig/i18n/fa/languages.js @@ -0,0 +1,39 @@ +/* +Copyright 2022 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: 'انگلیسی', + es: 'اسپانیایی', + zhCN: 'چینی (ساده شده)', + zhTW: 'چینی (سنتی)', + ptBR: 'پرتغالی (برزیلی)', + fr: 'فرانسوی', + ru: 'روسی', + pl: 'لهستانی', + de: 'آلمانی', + ja: 'ژاپنی', + fa: 'فارسی', +}; diff --git a/src/nginxconfig/i18n/fa/templates/app.js b/src/nginxconfig/i18n/fa/templates/app.js new file mode 100644 index 00000000..e14e7a94 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/app.js @@ -0,0 +1,40 @@ +/* +Copyright 2022 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}پیکربندی`, + description: `ساده‌ترین راه برای پیکربندی یک سرور ${common.nginx} کارآمد، امن و پایدار.`, + singleColumnMode: 'حالت ستون تکی', + splitColumnMode: 'حالت کناره به کناره', + perWebsiteConfig: 'پیکربندی برای هر وب‌سایت', + addSite: 'افزودن وب‌سایت', + globalConfig: 'پیکربندی جهانی', + setup: 'راه‌اندازی', + configFiles: 'پرونده‌های پیکربندی', + copied: 'کپی شد', +}; diff --git a/src/nginxconfig/i18n/fa/templates/callouts/contribute.js b/src/nginxconfig/i18n/fa/templates/callouts/contribute.js new file mode 100644 index 00000000..b8d29302 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/callouts/contribute.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. +*/ + +export default { + wantToContributeChanges: + '👋 می‌خواهید ویژگی‌های جدید را درخواست دهید، تغییراتی اعمال کنید، یا ابزار را به یک زبان جدید ترجمه کنید؟', + getInvolvedOnGitHub: 'شرکت کنید در GitHub', +}; diff --git a/src/nginxconfig/i18n/fa/templates/callouts/droplet.js b/src/nginxconfig/i18n/fa/templates/callouts/droplet.js new file mode 100644 index 00000000..48d8775a --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/callouts/droplet.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 { + lookingForAPlaceToDeploy: '👋 به دنبال مکانی برای استقرار پیکربندی جدیدتان هستید؟', + tryOutDigitalOceansDroplet: 'امتحان کنید Droplet LEMP DigitalOcean با NGINX', +}; diff --git a/src/nginxconfig/i18n/fa/templates/callouts/index.js b/src/nginxconfig/i18n/fa/templates/callouts/index.js new file mode 100644 index 00000000..dd68947b --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/callouts/index.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. +*/ + +import droplet from './droplet'; +import contribute from './contribute'; + +export default { droplet, contribute }; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/https.js b/src/nginxconfig/i18n/fa/templates/domain_sections/https.js new file mode 100644 index 00000000..5d7ecdb3 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/https.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. +*/ + +import common from '../../common'; + +export default { + enableEncryptedSslConnection: `${common.enable} ${common.ssl} اتصال‌های رمزگذاری شده`, + http2: `${common.http}/2`, + enableHttp2Connections: `${common.enable} اتصال‌های ${common.http}/2`, + http3: `${common.http}/3`, + enableHttp3Connections: `${common.enable} اتصال‌های ${common.http}/3`, + forceHttps: `اجبار ${common.https}`, + hsts: 'HSTS', + enableStrictTransportSecurity: `${common.enable} امنیت حمل و نقل دقیق، الزامی کردن اتصال‌های HTTPS`, + enableIncludeSubDomains: `${common.enable} دستور includeSubDomains، الزامی کردن اتصال‌های HTTPS برای همه زیردامنه‌ها`, + enablePreload: `${common.enable} دستور preload، به مرورگرها اطلاع دادن برای همیشه برقراری اتصال‌های HTTPS فقط`, + certificationType: 'نوع گواهی', + customCertificate: 'گواهی سفارشی', + letsEncryptEmail: `${common.letsEncrypt} ایمیل`, + http3IsANonStandardModule: 'HTTP/3 ماژول استاندارد NGINX نیست، بررسی کنید ', + http3NginxQuicReadme: 'مستندات NGINX QUIC', + http3OrThe: ' یا ', + http3CloudflareQuicheProject: 'پروژه quiche Cloudflare', + http3ForBuildingNginxWithHttp3: ' برای چگونگی ساخت NGINX با HTTP/3!', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/index.js b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js new file mode 100644 index 00000000..bcec501c --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js @@ -0,0 +1,49 @@ +/* +Copyright 2020 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/fa/templates/domain_sections/logging.js b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js new file mode 100644 index 00000000..9a3c5463 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js @@ -0,0 +1,35 @@ +/* +Copyright 2022 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: 'به وسیلهٔ دامنه', + enableForThisDomain: `${common.enable} برای این دامنه`, + arguments: 'آرگومان‌ها', + level: 'سطح ورود', + forRedirects: 'برای هدایت‌ها', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js b/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js new file mode 100644 index 00000000..a737fc95 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js @@ -0,0 +1,38 @@ +/* +Copyright 2020 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: `${onion} مکان`, + provideAnOnionLocationToSetOnionLocationHeader: + 'آدرس مکان پیاز را ارائه دهید تا هدر مکان پیاز را برای سایت خود تنظیم کنید.', + letsVisitorsKnownOnionServicesIsAvailable: + 'این به بازدیدکنندگان اطلاع می‌دهد که نسخه سرویس‌های پیاز از سایت شما برای مرورگرهای Tor در دسترس است.', + learnMoreAboutOnionServices: 'بیشتر در مورد سرویس‌های پیاز بیاموزید', + onionLocationExpectedToEndWithOnion: 'آدرس‌های مکان پیاز به طور معمول با `.onion` ختم می‌شوند.', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/php.js b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js new file mode 100644 index 00000000..f769b570 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js @@ -0,0 +1,57 @@ +/* +Copyright 2022 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} غیرفعال است.`, + phpCannotBeEnabledWithReverseProxy: `${common.php} نمی‌تواند هنگامی که پروکسی معکوس فعال است، فعال شود.`, + phpCannotBeEnabledWithPython: `${common.php} نمی‌تواند هنگامی که ${common.python} فعال است، فعال شود.`, + enablePhp: `${common.enable} ${common.php}`, + wordPressRules: `قوانین ${common.wordPress}`, + enableWordPressRules: `${common.enable} قوانین خاص ${common.wordPress}`, + drupalRules: `قوانین ${common.drupal}`, + enableDrupalRules: `${common.enable} قوانین خاص ${common.drupal}`, + magentoRules: `قوانین ${common.magento}`, + enableMagentoRules: `${common.enable} قوانین خاص ${common.magento}`, + joomlaRules: `قوانین ${common.joomla}`, + enableJoomlaRules: `${common.enable} قوانین خاص ${common.joomla}`, + phpServer: `سرور ${common.php}`, + phpBackupServer: `سرور پشتیبان ${common.php}`, + tcp: 'TCP', + hhvmSocket: 'سوکت HHVM', + php70Socket: 'سوکت 7.0', + php71Socket: 'سوکت 7.1', + php72Socket: 'سوکت 7.2', + php73Socket: 'سوکت 7.3', + php74Socket: 'سوکت 7.4', + php80Socket: 'سوکت 8.0', + php81Socket: 'سوکت 8.1', + php82Socket: 'سوکت 8.2', + phpSocket: 'سوکت PHP', + custom: 'سفارشی', + disabled: 'غیرفعال', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js b/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js new file mode 100644 index 00000000..2ee69d47 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js @@ -0,0 +1,34 @@ +/* +Copyright 2020 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: 'پیش‌تنظیم‌ها', + itLooksLikeYouCustomisedTheConfig: + 'به نظر می‌رسد که شما پیکربندی برای این دامنه را سفارشی کرده‌اید. انتخاب یک پیش‌تنظیم جدید ممکن است برخی از تنظیماتی که شما سفارشی کرده‌اید را بازنشانی یا تغییر دهد.', + frontend: 'رابط کاربری', + nodeJs: 'Node.js', + singlePageApplication: 'اپلیکیشن تک‌صفحه‌ای', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/python.js b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js new file mode 100644 index 00000000..eeeae923 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js @@ -0,0 +1,36 @@ +/* +Copyright 2020 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} غیرفعال است.`, + pythonCannotBeEnabledWithReverseProxy: `${common.python} نمی‌تواند هنگامی که پروکسی معکوس فعال است، فعال شود.`, + pythonCannotBeEnabledWithPhp: `${common.python} نمی‌تواند هنگامی که ${common.php} فعال است، فعال شود.`, + enablePython: `${common.enable} ${common.python}`, + djangoRules: `قوانین ${common.django}`, + enableDjangoRules: `${common.enable} قوانین خاص ${common.django}`, +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js new file mode 100644 index 00000000..6477c806 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js @@ -0,0 +1,30 @@ +/* +Copyright 2020 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: 'غیرفعال کردن برای این دامنه', + responseCode: 'کد پاسخ', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js new file mode 100644 index 00000000..47ceb32e --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js @@ -0,0 +1,35 @@ +/* +Copyright 2022 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: `${common.reverseProxy} غیرفعال است.`, + reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} نمی‌تواند هنگامی که ${common.php} فعال است، فعال شود.`, + reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} نمی‌تواند هنگامی که ${common.python} فعال است، فعال شود.`, + enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, + proxyHostHeader: 'هدر میزبان پروکسی', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js new file mode 100644 index 00000000..18fd11b1 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js @@ -0,0 +1,35 @@ +/* +Copyright 2020 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: 'مسیریابی پشتیبانی شده', + fallbackRoutingPhpPath: `مسیریابی پشتیبانی شده ${common.php}`, + legacyPhpRouting: `مسیریابی قدیمی ${common.php}`, + enableLegacyRouting: `${common.enable} مسیریابی قدیمی`, + routing: 'مسیریابی', +}; diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/server.js b/src/nginxconfig/i18n/fa/templates/domain_sections/server.js new file mode 100644 index 00000000..f758bb54 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/server.js @@ -0,0 +1,37 @@ +/* +Copyright 2020 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: 'دامنه', + documentRoot: 'ریشه سند', + oneOrMoreOtherDomainsAreAlsoNamed: 'یک یا چند دامنه دیگر همچنین نام‌گذاری شده‌اند', + thisWillCauseIssuesWithConfigGeneration: 'این باعث مشکلات در تولید پیکربندی می‌شود.', + wwwSubdomain: 'زیردامنه www', + cdnSubdomain: 'زیردامنه CDN', + redirectSubdomains: 'هدایت زیردامنه‌ها', + server: 'سرور', + listen: 'گوش کردن', +}; diff --git a/src/nginxconfig/i18n/fa/templates/footer.js b/src/nginxconfig/i18n/fa/templates/footer.js new file mode 100644 index 00000000..fb01f8ec --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/footer.js @@ -0,0 +1,39 @@ +/* +Copyright 2020 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: 'بازگشت به بالا', + thisToolIs: 'این ابزار', + openSourceOnGitHub: 'منبع‌باز در GitHub', + underThe: 'زیر', + mit: 'MIT', + license: 'لایسنس!', + weWelcomeFeedbackAndContributions: 'ما بازخورد و مشارکت‌ها را می‌پذیریم.', + originallyCreatedBy: 'اصلی توسط', + balintSzekeres: 'Bálint Szekeres', + maintainedBy: 'نگه‌داری شده توسط', + digitalOcean: 'DigitalOcean', +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/docker.js b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js new file mode 100644 index 00000000..081d11b1 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js @@ -0,0 +1,41 @@ +/* +Copyright 2020 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} ترکیب کنید`, + applyDockerTweaks: `اعمال تغییرات ${docker}`, + applyDockerTweaksForNginx: `اعمال تنظیمات پیکربندی برای اجرای ${common.nginx} با ${docker}`, + applyDockerTweaksExplainer: `به‌روزرسانی کاربر ${common.nginx} به nginx و pid به /var/run/nginx.pid`, + includeDockerfile: `شامل ${dockerfile} برای اجرای ${common.nginx} با ${docker}`, + includeDockerCompose: `شامل docker-compose برای اجرای ${common.nginx} با docker-compose`, +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/https.js b/src/nginxconfig/i18n/fa/templates/global_sections/https.js new file mode 100644 index 00000000..c8cf515a --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/https.js @@ -0,0 +1,52 @@ +/* +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: `${common.ssl} پروفایل`, + httpsMustBeEnabledOnOneSite: `${common.https} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.https} جهانی را پیکربندی کنید.`, + portReuse: 'استفاده مجدد پورت', + enableReuseOfPort: `${common.enable} استفاده مجدد از پورت برای ایجاد یک گوشه گوش دهنده برای هر کارگر`, + ocspDnsResolvers: 'راه‌حل‌های DNS OCSP', + cloudflareResolver: 'راه‌حل Cloudflare', + googlePublicDns: 'DNS عمومی Google', + openDns: 'OpenDNS', + quad9: 'Quad9', + verisign: 'Verisign', + letsEncryptWebroot: `${common.letsEncrypt} Webroot`, + letsEncryptCertRoot: `${common.letsEncrypt} دایرکتوری گواهی`, + mozillaModern: `${mozilla} Modern`, + mozillaIntermediate: `${mozilla} Intermediate`, + mozillaOld: `${mozilla} Old`, + ipv4Only: `${ipv4} فقط`, + ipv6Only: `${ipv6} فقط`, + ipv4AndIpv6: `${ipv4} و ${ipv6}`, +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/index.js b/src/nginxconfig/i18n/fa/templates/global_sections/index.js new file mode 100644 index 00000000..22ecb855 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/index.js @@ -0,0 +1,47 @@ +/* +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 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, + python, + reverseProxy, + security, + tools, + docker, +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/logging.js b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js new file mode 100644 index 00000000..4732730e --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js @@ -0,0 +1,42 @@ +/* +Copyright 2022 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} ثبت خطاهای فایل پیدا نشد در ورودی`, + logformat: 'فرمت ثبت', + level: 'سطح ورود', + enableCloudflare: 'افزودن هدرهای درخواست Cloudflare به فرمت ثبت پیش‌فرض', + 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/fa/templates/global_sections/nginx.js b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js new file mode 100644 index 00000000..dce53fc4 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js @@ -0,0 +1,32 @@ +/* +Copyright 2020 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: `${common.nginx} دایرکتوری پیکربندی`, + mb: 'MB', +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/performance.js b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js new file mode 100644 index 00000000..d83387b9 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js @@ -0,0 +1,44 @@ +/* +Copyright 2022 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 { + disableHtmlCaching: 'غیرفعال کردن حافظه‌پنهان HTML', + enableDisableHtmlCaching: 'غیرفعال کردن حافظه‌پنهان HTML', + gzipCompression: 'فشرده‌سازی Gzip', + enableGzipCompression: `${common.enable} فشرده‌سازی gzip`, + brotliCompression: 'فشرده‌سازی Brotli', + enableBrotliCompression: `${common.enable} فشرده‌سازی brotli`, + brotliIsANonStandardModule: 'Brotli یک ماژول استاندارد NGINX نیست، بررسی کنید ', + brotliGoogleNgxBrotliProject: 'پروژه Google ngx_brotli', + brotliForBuildingNginxWithBrotli: ' برای چگونگی ساخت NGINX با Brotli!', + expirationForAssets: 'انقضا برای دارایی‌ها', + expirationForMedia: 'انقضا برای رسانه‌ها', + expirationForSvgs: 'انقضا برای SVGها', + expirationForFonts: 'انقضا برای فونت‌ها', + performance: 'عملکرد', +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/python.js b/src/nginxconfig/i18n/fa/templates/global_sections/python.js new file mode 100644 index 00000000..ef053696 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/python.js @@ -0,0 +1,32 @@ +/* +Copyright 2020 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: `${common.python} سرور`, + pythonMustBeEnabledOnOneSite: `${common.python} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.python} جهانی را پیکربندی کنید.`, +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js new file mode 100644 index 00000000..738a27f5 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.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'; + +const legacyXForwarded = 'Legacy X-Forwarded-* headers'; + +export default { + reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} باید حداقل بر روی یک سایت فعال شود تا تنظیمات ${common.reverseProxyLower} جهانی را پیکربندی کنید.`, + seconds: 'ثانیه', + passOn: `${legacyXForwarded} منتقل شده`, + remove: `${legacyXForwarded} به طور فعال حذف شده`, +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/security.js b/src/nginxconfig/i18n/fa/templates/global_sections/security.js new file mode 100644 index 00000000..12dd8c25 --- /dev/null +++ b/src/nginxconfig/i18n/fa/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: `هنگام استفاده از ${common.wordPress}، script-src 'self' 'unsafe-inline' 'unsafe-eval'; اغلب برای اجازه به پنل مدیریت برای عملکرد صحیح، در سیاست امنیتی محتوا مورد نیاز است.`, + security: 'امنیت', +}; diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/tools.js b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js new file mode 100644 index 00000000..0527ff6c --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js @@ -0,0 +1,56 @@ +/* +Copyright 2020 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: 'ساختار ماژولار', + enableModularizedConfigFiles: `${common.enable} پرونده‌های پیکربندی ماژولار`, + symlinkVhost: 'سم‌لینک vhost', + enableSymLinksFrom: `${common.enable} سم‌لینک‌ها از`, + to: 'به', + shareConfiguration: 'اشتراک پیکربندی', + resetConfiguration: 'تنظیم مجدد پیکربندی', + resetGlobalConfig: 'تنظیم مجدد پیکربندی جهانی', + resetAllDomains: 'تنظیم مجدد تمامی دامنه‌ها', + removeAllDomains: 'حذف تمامی دامنه‌ها', + resetAllDomainsConfig: 'تنظیم مجدد پیکربندی تمامی دامنه‌ها', + resetDomainConfig: 'تنظیم مجدد پیکربندی دامنه', + removeDomain: 'حذف دامنه', + yesImSure: 'بله، مطمئنم', + noCancel: 'خیر، لغو', + tools: 'ابزارها', + resetGlobalConfigBody: + 'آیا مطمئنید که می‌خواهید تمام گزینه‌های پیکربندی در بخش پیکربندی جهانی را دوباره تنظیم کنید؟', + resetAllDomainsConfigBody: + 'آیا مطمئنید که می‌خواهید پیکربندی تمامی دامنه‌ها را دوباره تنظیم کنید؟', + removeAllDomainsBody: 'آیا مطمئنید که می‌خواهید تمامی پیکربندی‌های دامنه را حذف کنید؟', + areYouSureYouWantToResetAllConfigurationOptionsForThe: + 'آیا مطمئنید که می‌خواهید تمام گزینه‌های پیکربندی برای', + domain: 'دامنه را دوباره تنظیم کنید؟', + areYouSureYouWantToRemoveThe: 'آیا مطمئنید که می‌خواهید', + domainConfiguration: 'پیکربندی دامنه را حذف کنید؟', +}; diff --git a/src/nginxconfig/i18n/fa/templates/index.js b/src/nginxconfig/i18n/fa/templates/index.js new file mode 100644 index 00000000..d9467454 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/index.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 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'; + +export default { app, setup, footer, domainSections, globalSections, setupSections, callouts }; diff --git a/src/nginxconfig/i18n/fa/templates/setup.js b/src/nginxconfig/i18n/fa/templates/setup.js new file mode 100644 index 00000000..6a2e1696 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/setup.js @@ -0,0 +1,30 @@ +/* +Copyright 2020 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: 'دانلود پیکربندی', + copyBase64: 'کپی Base64', +}; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js new file mode 100644 index 00000000..3251b789 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js @@ -0,0 +1,40 @@ +/* +Copyright 2023 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: `توضیحات ${common.ssl} مرتبط را در پیکربندی زیر نظر بگیرید:`, + sslOffDeprecationWarning: `این دستور یک دستور موقت ssl off اضافه خواهد کرد تا اطمینان حاصل شود که دستورات ${common.ssl} فعال نیستند. این ممکن است باعث ایجاد هشدار در ${common.nginx} شود که ایمن است نادیده گرفته شود. این دستور هنگامی که ${certbot} پیکربندی شود، حذف خواهد شد.`, + reloadYourNginxServer: `سرور ${common.nginx} خود را دوباره بارگذاری کنید:`, + obtainSslCertificatesFromLetsEncrypt: `گواهی‌نامه‌های ${common.ssl} را از ${common.letsEncrypt} با استفاده از ${certbot} بدست آورید:`, + uncommentSslDirectivesInConfiguration: `توضیحات ${common.ssl} مرتبط را در پیکربندی را بدون نظر بگذارید:`, + configureCertbotToReloadNginxOnCertificateRenewal: `پیکربندی ${certbot} برای دوباره بارگذاری ${common.nginx} هنگامی که گواهی‌نامه‌ها با موفقیت تمدید شوند:`, + certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} نیازی به راه‌اندازی برای پیکربندی ${common.nginx} شما ندارد.`, + certbot, +}; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/download.js b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js new file mode 100644 index 00000000..137f4224 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js @@ -0,0 +1,42 @@ +/* +Copyright 2020 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: 'دانلود پیکربندی تولید شده:', + andUploadItToYourServers: 'و آن را به سرورهای خود آپلود کنید', + directory: 'دایرکتوری.', + or: 'یا، ', + copyBase64StringOfCompressedConfig: 'یک رشته base64 از پیکربندی فشرده را کپی کنید', + pasteItInYourServersCommandLineAndExecute: + ', آن را در خط فرمان سرور خود پیست کرده و اجرا کنید.', + navigateToYourNginxConfigurationDirectoryOnYourServer: `به دایرکتوری پیکربندی ${common.nginx} خود در سرورتان بروید:`, + createABackupOfYourCurrentNginxConfiguration: `پشتیبانی از پیکربندی ${common.nginx} فعلی خود بسازید:`, + extractTheNewCompressedConfigurationArchiveUsingTar: + 'فایل فشرده پیکربندی جدید را با استفاده از tar استخراج کنید:', + download: 'دانلود', +}; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js new file mode 100644 index 00000000..4603723d --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js @@ -0,0 +1,33 @@ +/* +Copyright 2020 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: 'بیایید زنده شویم!', + reloadNginxToLoadInYourNewConfiguration: `${common.nginx} را بارگذاری کنید تا پیکربندی جدید شما بارگذاری شود:`, + goLive: 'زنده شوید!', +}; diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/index.js b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js new file mode 100644 index 00000000..378a5cf3 --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js @@ -0,0 +1,32 @@ +/* +Copyright 2020 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/fa/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js new file mode 100644 index 00000000..d723ebdc --- /dev/null +++ b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js @@ -0,0 +1,35 @@ +/* +Copyright 2020 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: + 'کلیدهای Diffie-Hellman را با اجرای این دستور در سرور خود ایجاد کنید:', + createACommonAcmeChallengeDirectoryForLetsEncrypt: `یک دایرکتوری مشترک ACME-challenge (برای ${common.letsEncrypt}) ایجاد کنید:`, + noAdditionalStepsAreNeededToSetUpSslForNginx: `برای پیکربندی ${common.nginx} شما نیازی به مراحل اضافی برای راه‌اندازی ${common.ssl} ندارید.`, + sslInit: `${common.ssl} init`, +}; diff --git a/src/nginxconfig/util/language_packs.js b/src/nginxconfig/util/language_packs.js index 669c45d1..491e9ad3 100644 --- a/src/nginxconfig/util/language_packs.js +++ b/src/nginxconfig/util/language_packs.js @@ -51,4 +51,5 @@ export const availablePacks = Object.freeze([ 'ru', 'zhCN', 'zhTW', + 'fa', ]); From 3900977373a9d0c037371e8d44e0506128114400 Mon Sep 17 00:00:00 2001 From: Kasra Karami Date: Fri, 16 Feb 2024 23:36:55 +0330 Subject: [PATCH 2/3] change added/updated files Copyright to 2024 --- src/nginxconfig/i18n/de/languages.js | 3 ++- src/nginxconfig/i18n/en/languages.js | 3 ++- src/nginxconfig/i18n/es/languages.js | 3 ++- src/nginxconfig/i18n/fa/common.js | 2 +- src/nginxconfig/i18n/fa/index.js | 2 +- src/nginxconfig/i18n/fa/languages.js | 2 +- src/nginxconfig/i18n/fa/templates/app.js | 2 +- src/nginxconfig/i18n/fa/templates/callouts/contribute.js | 2 +- src/nginxconfig/i18n/fa/templates/callouts/droplet.js | 2 +- src/nginxconfig/i18n/fa/templates/callouts/index.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/https.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/index.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/logging.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/onion.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/php.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/presets.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/python.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js | 2 +- .../i18n/fa/templates/domain_sections/reverse_proxy.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/routing.js | 2 +- src/nginxconfig/i18n/fa/templates/domain_sections/server.js | 2 +- src/nginxconfig/i18n/fa/templates/footer.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/docker.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/https.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/index.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/logging.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/nginx.js | 2 +- .../i18n/fa/templates/global_sections/performance.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/python.js | 2 +- .../i18n/fa/templates/global_sections/reverse_proxy.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/security.js | 2 +- src/nginxconfig/i18n/fa/templates/global_sections/tools.js | 2 +- src/nginxconfig/i18n/fa/templates/index.js | 2 +- src/nginxconfig/i18n/fa/templates/setup.js | 2 +- src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js | 2 +- src/nginxconfig/i18n/fa/templates/setup_sections/download.js | 2 +- src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js | 2 +- src/nginxconfig/i18n/fa/templates/setup_sections/index.js | 2 +- src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js | 2 +- src/nginxconfig/i18n/fr/languages.js | 3 ++- src/nginxconfig/i18n/ja/languages.js | 3 ++- src/nginxconfig/i18n/pl/languages.js | 3 ++- src/nginxconfig/i18n/pt-br/languages.js | 3 ++- src/nginxconfig/i18n/ru/languages.js | 3 ++- src/nginxconfig/i18n/zh-cn/languages.js | 3 ++- src/nginxconfig/i18n/zh-tw/languages.js | 3 ++- src/nginxconfig/util/language_packs.js | 2 +- 47 files changed, 57 insertions(+), 47 deletions(-) diff --git a/src/nginxconfig/i18n/de/languages.js b/src/nginxconfig/i18n/de/languages.js index 3723da95..a99417f7 100644 --- a/src/nginxconfig/i18n/de/languages.js +++ b/src/nginxconfig/i18n/de/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Polnisch', de: 'Deutsch', ja: 'Japanisch', + fa: 'Persisch', }; diff --git a/src/nginxconfig/i18n/en/languages.js b/src/nginxconfig/i18n/en/languages.js index 5cb30600..3c299896 100644 --- a/src/nginxconfig/i18n/en/languages.js +++ b/src/nginxconfig/i18n/en/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Polish', de: 'German', ja: 'Japanese', + fa: 'Persian', }; diff --git a/src/nginxconfig/i18n/es/languages.js b/src/nginxconfig/i18n/es/languages.js index 1311a5b3..75e4d6a1 100644 --- a/src/nginxconfig/i18n/es/languages.js +++ b/src/nginxconfig/i18n/es/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Polaco', de: 'Alemán', ja: 'Japonés', + fa: 'Persa', }; diff --git a/src/nginxconfig/i18n/fa/common.js b/src/nginxconfig/i18n/fa/common.js index 7f357c3b..8a97d211 100644 --- a/src/nginxconfig/i18n/fa/common.js +++ b/src/nginxconfig/i18n/fa/common.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 diff --git a/src/nginxconfig/i18n/fa/index.js b/src/nginxconfig/i18n/fa/index.js index 01c3f3e9..7a52b6f1 100644 --- a/src/nginxconfig/i18n/fa/index.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/languages.js b/src/nginxconfig/i18n/fa/languages.js index 1e15d3c4..fad14ed9 100644 --- a/src/nginxconfig/i18n/fa/languages.js +++ b/src/nginxconfig/i18n/fa/languages.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 diff --git a/src/nginxconfig/i18n/fa/templates/app.js b/src/nginxconfig/i18n/fa/templates/app.js index e14e7a94..abf94c44 100644 --- a/src/nginxconfig/i18n/fa/templates/app.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/callouts/contribute.js b/src/nginxconfig/i18n/fa/templates/callouts/contribute.js index b8d29302..11e614f9 100644 --- a/src/nginxconfig/i18n/fa/templates/callouts/contribute.js +++ b/src/nginxconfig/i18n/fa/templates/callouts/contribute.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 diff --git a/src/nginxconfig/i18n/fa/templates/callouts/droplet.js b/src/nginxconfig/i18n/fa/templates/callouts/droplet.js index 48d8775a..84f16f19 100644 --- a/src/nginxconfig/i18n/fa/templates/callouts/droplet.js +++ b/src/nginxconfig/i18n/fa/templates/callouts/droplet.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 diff --git a/src/nginxconfig/i18n/fa/templates/callouts/index.js b/src/nginxconfig/i18n/fa/templates/callouts/index.js index dd68947b..7f806adc 100644 --- a/src/nginxconfig/i18n/fa/templates/callouts/index.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/https.js b/src/nginxconfig/i18n/fa/templates/domain_sections/https.js index 5d7ecdb3..5235ab21 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/https.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/index.js b/src/nginxconfig/i18n/fa/templates/domain_sections/index.js index bcec501c..19288f4b 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/index.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js b/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js index 9a3c5463..7780bfce 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/logging.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js b/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js index a737fc95..a289bd25 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/onion.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/onion.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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/php.js b/src/nginxconfig/i18n/fa/templates/domain_sections/php.js index f769b570..8f06b818 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/php.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js b/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js index 2ee69d47..5625355d 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/presets.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/presets.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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/python.js b/src/nginxconfig/i18n/fa/templates/domain_sections/python.js index eeeae923..fb407658 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/python.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js index 6477c806..12de2370 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/restrict.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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js index 47ceb32e..4705ab77 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js b/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js index 18fd11b1..f904a044 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/routing.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/domain_sections/server.js b/src/nginxconfig/i18n/fa/templates/domain_sections/server.js index f758bb54..5c32ced1 100644 --- a/src/nginxconfig/i18n/fa/templates/domain_sections/server.js +++ b/src/nginxconfig/i18n/fa/templates/domain_sections/server.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 diff --git a/src/nginxconfig/i18n/fa/templates/footer.js b/src/nginxconfig/i18n/fa/templates/footer.js index fb01f8ec..744dcfc7 100644 --- a/src/nginxconfig/i18n/fa/templates/footer.js +++ b/src/nginxconfig/i18n/fa/templates/footer.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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/docker.js b/src/nginxconfig/i18n/fa/templates/global_sections/docker.js index 081d11b1..718862e1 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/docker.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/https.js b/src/nginxconfig/i18n/fa/templates/global_sections/https.js index c8cf515a..18d08321 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/https.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/index.js b/src/nginxconfig/i18n/fa/templates/global_sections/index.js index 22ecb855..19e26f8f 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/index.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/logging.js b/src/nginxconfig/i18n/fa/templates/global_sections/logging.js index 4732730e..91789277 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/logging.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js b/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js index dce53fc4..ddf0162f 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/nginx.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/performance.js b/src/nginxconfig/i18n/fa/templates/global_sections/performance.js index d83387b9..784f3c8d 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/performance.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/python.js b/src/nginxconfig/i18n/fa/templates/global_sections/python.js index ef053696..29802d35 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/python.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js index 738a27f5..0d46ccc1 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/reverse_proxy.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/security.js b/src/nginxconfig/i18n/fa/templates/global_sections/security.js index 12dd8c25..31607794 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/security.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/global_sections/tools.js b/src/nginxconfig/i18n/fa/templates/global_sections/tools.js index 0527ff6c..d9d2f7f1 100644 --- a/src/nginxconfig/i18n/fa/templates/global_sections/tools.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/index.js b/src/nginxconfig/i18n/fa/templates/index.js index d9467454..3a705361 100644 --- a/src/nginxconfig/i18n/fa/templates/index.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/setup.js b/src/nginxconfig/i18n/fa/templates/setup.js index 6a2e1696..21c28a9f 100644 --- a/src/nginxconfig/i18n/fa/templates/setup.js +++ b/src/nginxconfig/i18n/fa/templates/setup.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 diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js index 3251b789..a6e727cd 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/certbot.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/download.js b/src/nginxconfig/i18n/fa/templates/setup_sections/download.js index 137f4224..9c1f08a7 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/download.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js index 4603723d..6dae4eeb 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/go_live.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/index.js b/src/nginxconfig/i18n/fa/templates/setup_sections/index.js index 378a5cf3..9bc34e8c 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/index.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js index d723ebdc..ea911840 100644 --- a/src/nginxconfig/i18n/fa/templates/setup_sections/ssl.js +++ b/src/nginxconfig/i18n/fa/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 diff --git a/src/nginxconfig/i18n/fr/languages.js b/src/nginxconfig/i18n/fr/languages.js index 4316d64d..654df828 100644 --- a/src/nginxconfig/i18n/fr/languages.js +++ b/src/nginxconfig/i18n/fr/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Polonais', de: 'Allemand', ja: 'Japonais', + fa: 'Persan', }; diff --git a/src/nginxconfig/i18n/ja/languages.js b/src/nginxconfig/i18n/ja/languages.js index c1645183..0ac3e523 100644 --- a/src/nginxconfig/i18n/ja/languages.js +++ b/src/nginxconfig/i18n/ja/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'ポーランド語', de: 'ドイツ語', ja: '日本語', + fa: 'ペルシア語', }; diff --git a/src/nginxconfig/i18n/pl/languages.js b/src/nginxconfig/i18n/pl/languages.js index e6beb159..28aae400 100644 --- a/src/nginxconfig/i18n/pl/languages.js +++ b/src/nginxconfig/i18n/pl/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Polski', de: 'Niemiecki', ja: 'Japoński', + fa: 'Perski', }; diff --git a/src/nginxconfig/i18n/pt-br/languages.js b/src/nginxconfig/i18n/pt-br/languages.js index 345efa81..00bb0cd7 100644 --- a/src/nginxconfig/i18n/pt-br/languages.js +++ b/src/nginxconfig/i18n/pt-br/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Polonês', de: 'Alemão', ja: 'Japonês', + fa: 'Persa', }; diff --git a/src/nginxconfig/i18n/ru/languages.js b/src/nginxconfig/i18n/ru/languages.js index b883074b..4ab63c42 100644 --- a/src/nginxconfig/i18n/ru/languages.js +++ b/src/nginxconfig/i18n/ru/languages.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 @@ -35,4 +35,5 @@ export default { pl: 'Польский', de: 'Немецкий', ja: 'Японский', + fa: 'Фарси', }; diff --git a/src/nginxconfig/i18n/zh-cn/languages.js b/src/nginxconfig/i18n/zh-cn/languages.js index 6c9a5fec..9083ee0e 100644 --- a/src/nginxconfig/i18n/zh-cn/languages.js +++ b/src/nginxconfig/i18n/zh-cn/languages.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 @@ -35,4 +35,5 @@ export default { pl: '波兰语', de: '德语', ja: '日语', + fa: '波斯语', }; diff --git a/src/nginxconfig/i18n/zh-tw/languages.js b/src/nginxconfig/i18n/zh-tw/languages.js index 9355d98c..d190002d 100644 --- a/src/nginxconfig/i18n/zh-tw/languages.js +++ b/src/nginxconfig/i18n/zh-tw/languages.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 @@ -35,4 +35,5 @@ export default { pl: '波蘭語', de: '德語', ja: '日語', + fa: '波斯語', }; diff --git a/src/nginxconfig/util/language_packs.js b/src/nginxconfig/util/language_packs.js index 491e9ad3..79b2a2bc 100644 --- a/src/nginxconfig/util/language_packs.js +++ b/src/nginxconfig/util/language_packs.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 From a567a7257d5ad65ccbae0c1e6738930dba75cd93 Mon Sep 17 00:00:00 2001 From: Kasra Karami Date: Sat, 24 Feb 2024 00:29:29 +0330 Subject: [PATCH 3/3] add more translate --- src/nginxconfig/i18n/fa/common.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/nginxconfig/i18n/fa/common.js b/src/nginxconfig/i18n/fa/common.js index 8a97d211..1c281697 100644 --- a/src/nginxconfig/i18n/fa/common.js +++ b/src/nginxconfig/i18n/fa/common.js @@ -25,9 +25,9 @@ THE SOFTWARE. */ export default { - back: 'Back', - next: 'Next', - enable: 'enable', + back: 'بازگشت', + next: 'بعدی', + enable: 'فعال کردن', php: 'PHP', ssl: 'SSL', nginx: 'NGINX', @@ -40,9 +40,9 @@ export default { magento: 'Magento', joomla: 'Joomla', django: 'Django', - logging: 'Logging', - reverseProxy: 'Reverse proxy', - reverseProxyLower: 'reverse proxy', - restrict: 'Restrict', - path: 'Path', + logging: 'لاگ‌گیری', + reverseProxy: 'پروکسی معکوس', + reverseProxyLower: 'پروکسی معکوس', + restrict: 'محدود کردن', + path: 'مسیر', };