diff --git a/src/nginxconfig/i18n/en/languages.js b/src/nginxconfig/i18n/en/languages.js index 666e7c6..e559d31 100644 --- a/src/nginxconfig/i18n/en/languages.js +++ b/src/nginxconfig/i18n/en/languages.js @@ -31,4 +31,5 @@ export default { ptBR: 'Portuguese (brazilian)', fr: 'French', ru: 'Russian', + pl: 'Polish', }; diff --git a/src/nginxconfig/i18n/fr/languages.js b/src/nginxconfig/i18n/fr/languages.js index c247d8a..b36ea9b 100644 --- a/src/nginxconfig/i18n/fr/languages.js +++ b/src/nginxconfig/i18n/fr/languages.js @@ -31,4 +31,5 @@ export default { ptBR: 'Portugais (brésilien)', fr: 'Français', ru: 'Russe', + pl: 'Polonais', }; diff --git a/src/nginxconfig/i18n/pl/common.js b/src/nginxconfig/i18n/pl/common.js new file mode 100644 index 0000000..0a4dd27 --- /dev/null +++ b/src/nginxconfig/i18n/pl/common.js @@ -0,0 +1,48 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +export default { + back: 'Wstecz', + next: 'Dalej', + enable: 'włącz', + 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: 'Logi', + reverseProxy: 'Reverse proxy', + reverseProxyLower: 'reverse proxy', + restrict: 'Ogranicz', + path: 'Ścieżka', +}; diff --git a/src/nginxconfig/i18n/pl/index.js b/src/nginxconfig/i18n/pl/index.js new file mode 100644 index 0000000..15420a1 --- /dev/null +++ b/src/nginxconfig/i18n/pl/index.js @@ -0,0 +1,31 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from './common'; +import languages from './languages'; +import templates from './templates'; + +export default { common, languages, templates }; diff --git a/src/nginxconfig/i18n/pl/languages.js b/src/nginxconfig/i18n/pl/languages.js new file mode 100644 index 0000000..33c9f10 --- /dev/null +++ b/src/nginxconfig/i18n/pl/languages.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. +*/ + +export default { + en: 'Angielski', + zhCN: 'Chiński (uproszczony)', + zhTW: 'Chiński (tradycyjny)', + ptBR: 'Portugalski (brazylijski)', + fr: 'Francuski', + ru: 'Rosyjski', + pl: 'Polski', +}; diff --git a/src/nginxconfig/i18n/pl/templates/app.js b/src/nginxconfig/i18n/pl/templates/app.js new file mode 100644 index 0000000..dd19bba --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/app.js @@ -0,0 +1,39 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../common'; + +export default { + title: `${common.nginx}Config`, + description: `Najłatwiejszy sposób aby skonfigurować zoptymalizowany, bezpieczny i stabilny serwer ${common.nginx}.`, + singleColumnMode: 'Tryb jednokolumnowy', + splitColumnMode: 'Tryb wielokolumnowy', + perWebsiteConfig: 'Konfiguracja per strona', + addSite: 'Dodaj stronę', + globalConfig: 'Konfiguracja globalna', + setup: 'Setup', + configFiles: 'Pliki konfiguracyjne', +}; diff --git a/src/nginxconfig/i18n/pl/templates/callouts/contribute.js b/src/nginxconfig/i18n/pl/templates/callouts/contribute.js new file mode 100644 index 0000000..c7d2b98 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/callouts/contribute.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 { + wantToContributeChanges: '👋 Chcesz zapropnować nowe funkcje, wprowadzić zmiany lub przetłumaczyć narzędzie na inny język?', + getInvolvedOnGitHub: 'Zaangażuj się na GitHub', +}; diff --git a/src/nginxconfig/i18n/pl/templates/callouts/droplet.js b/src/nginxconfig/i18n/pl/templates/callouts/droplet.js new file mode 100644 index 0000000..6ca9af4 --- /dev/null +++ b/src/nginxconfig/i18n/pl/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: '👋 Szukasz miejsca do wdrożenia nowej konfiguracji? ', + tryOutDigitalOceansDroplet: 'Wypróbuj LEMP Droplet z NGINX od DigitalOcean', +}; diff --git a/src/nginxconfig/i18n/pl/templates/callouts/index.js b/src/nginxconfig/i18n/pl/templates/callouts/index.js new file mode 100644 index 0000000..dd68947 --- /dev/null +++ b/src/nginxconfig/i18n/pl/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/pl/templates/domain_sections/https.js b/src/nginxconfig/i18n/pl/templates/domain_sections/https.js new file mode 100644 index 0000000..eede331 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/https.js @@ -0,0 +1,50 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + enableEncryptedSslConnection: `${common.enable} szyfrowane połączenie ${common.ssl}`, + http2: `${common.http}/2`, + enableHttp2Connections: `${common.enable} połączenia ${common.http}/2`, + http3: `${common.http}/3`, + enableHttp3Connections: `${common.enable} połączenia ${common.http}/3`, + portReuse: 'Reuseport', + enableReuseOfPort: `${common.enable} reuseport aby generować listening socket per worker`, + forceHttps: `Wymuś ${common.https}`, + hsts: 'HSTS', + enableStrictTransportSecurity: `${common.enable} Strict Transport Security, wymaga połaczenia HTTPS`, + enableIncludeSubDomains: `${common.enable} dyrektywę includeSubDomains, wymaga połaczenia HTTPS dla WSZYSTKICH subdomen`, + enablePreload: `${common.enable} dyrektywę preload, aby przekazać przeglądarce by wykonywała wyłącznie połączenia HTTPS`, + certificationType: 'Typ certyfikacji', + customCertificate: 'Własny certyfikat', + letsEncryptEmail: `email ${common.letsEncrypt}`, + http3IsANonStandardModule: 'HTTP/3 nie jest standardowym modułem NGINX, sprawdź ', + http3NginxQuicReadme: 'NGINX QUIC readme', + http3OrThe: ' lub ', + http3CloudflareQuicheProject: 'Cloudflare quiche project', + http3ForBuildingNginxWithHttp3: ' aby dowiedzieć się o NGINX z HTTP/3!', +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/index.js b/src/nginxconfig/i18n/pl/templates/domain_sections/index.js new file mode 100644 index 0000000..a6da9ab --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/index.js @@ -0,0 +1,38 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import https from './https'; +import logging from './logging'; +import php from './php'; +import presets from './presets'; +import python from './python'; +import reverseProxy from './reverse_proxy'; +import routing from './routing'; +import server from './server'; +import restrict from './restrict'; +import onion from './onion'; + +export default { https, logging, php, presets, python, reverseProxy, routing, server, restrict, onion }; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js b/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js new file mode 100644 index 0000000..5e02483 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/logging.js @@ -0,0 +1,32 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + byDomain: 'wg. domen', + enableForThisDomain: `${common.enable} dla tej domeny`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/onion.js b/src/nginxconfig/i18n/pl/templates/domain_sections/onion.js new file mode 100644 index 0000000..1ad49aa --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/onion.js @@ -0,0 +1,36 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +const onion = 'Onion'; + +export default { + onion, + onionLocation: `lokalizacja ${onion}`, + provideAnOnionLocationToSetOnionLocationHeader: 'Podaj adres lokalizacji onion aby ustawić nagłówek Onion-Location dla Twojej strony.', + letsVisitorsKnownOnionServicesIsAvailable: 'Inforuje Twoich odiwedzających, że dostępna jest wersja onion Twojego serwisu dla przeglądarek Tor.', + learnMoreAboutOnionServices: 'Dowiedz się więcej o serwisach Onion', + onionLocationExpectedToEndWithOnion: 'Adres lokalizacji Onion zwykle kończy się na `.onion`.', +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/php.js b/src/nginxconfig/i18n/pl/templates/domain_sections/php.js new file mode 100644 index 0000000..3e819e9 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/php.js @@ -0,0 +1,56 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + phpIsDisabled: `${common.php} jest wyłączony.`, + phpCannotBeEnabledWithReverseProxy: `${common.php} nie może zostać włączony dopóki włączony jest reverse proxy.`, + phpCannotBeEnabledWithPython: `${common.php} nie może zostać włączony dopóki włączony jest ${common.python}.`, + enablePhp: `${common.enable} ${common.php}`, + wordPressRules: `reguły ${common.wordPress}`, + enableWordPressRules: `${common.enable} reguły specyficzne dla ${common.wordPress}`, + drupalRules: `reguły ${common.drupal}`, + enableDrupalRules: `${common.enable} reguły specyficzne dla ${common.drupal}`, + magentoRules: `reguły ${common.magento}`, + enableMagentoRules: `${common.enable} reguły specyficzne dla ${common.magento}`, + joomlaRules: `reguły ${common.joomla}`, + enableJoomlaRules: `${common.enable} reguły specyficzne dla ${common.joomla}`, + phpServer: `serwer ${common.php}`, + phpBackupServer: `serwer backupowy ${common.php}`, + tcp: 'TCP', + hhvmSocket: 'HHVM socket', + php5Socket: '5.x socket', + php70Socket: '7.0 socket', + php71Socket: '7.1 socket', + php72Socket: '7.2 socket', + php73Socket: '7.3 socket', + php74Socket: '7.4 socket', + php80Socket: '8.0 socket', + phpSocket: 'PHP socket', + custom: 'Własny', + disabled: 'Wyłączony', +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/presets.js b/src/nginxconfig/i18n/pl/templates/domain_sections/presets.js new file mode 100644 index 0000000..ba15ad3 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/presets.js @@ -0,0 +1,33 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +export default { + presets: 'Ustawienia wstępne', + itLooksLikeYouCustomisedTheConfig: 'Wygląda na to, że dostosowałeś konfigurację dla tej domeny. Wybranie nowego ustawienia wstępnego może spowodować zresetowanie lub zmianę niektórych dostosowanych ustawień.', + frontend: 'Frontend', + nodeJs: 'Node.js', + singlePageApplication: 'Aplikacja Single-page (SPA)', +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/python.js b/src/nginxconfig/i18n/pl/templates/domain_sections/python.js new file mode 100644 index 0000000..8a4d6ed --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/python.js @@ -0,0 +1,36 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + pythonIsDisabled: `${common.python} jest wyłączony.`, + pythonCannotBeEnabledWithReverseProxy: `${common.python} nie może zostać włączony dopóki włączony jest reverse proxy.`, + pythonCannotBeEnabledWithPhp: `${common.python} nie może zostać włączony dopóki włączony jest ${common.php}.`, + enablePython: `${common.enable} ${common.python}`, + djangoRules: `reguły ${common.django}`, + enableDjangoRules: `${common.enable} reguły specyficzne dla ${common.django}`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/restrict.js b/src/nginxconfig/i18n/pl/templates/domain_sections/restrict.js new file mode 100644 index 0000000..4b699f6 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/restrict.js @@ -0,0 +1,30 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +export default { + disableForThisDomain: 'wyłącz dla tej domeny', + responseCode: 'Kod odpowiedzi', +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js b/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js new file mode 100644 index 0000000..2a69abe --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/reverse_proxy.js @@ -0,0 +1,34 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + reverseProxyIsDisabled: `${common.reverseProxy} jest wyłączone.`, + reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy} nie może zostać włączony dopóki włączony jest ${common.php}.`, + reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy} nie może zostać włączony dopóki włączony jest ${common.python}.`, + enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js b/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js new file mode 100644 index 0000000..4eeafd1 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/routing.js @@ -0,0 +1,35 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + fallbackRouting: 'Routing rezerwowy', + fallbackRoutingPhpPath: `Ścieżka routingu rezerwowego dla ${common.php}`, + legacyPhpRouting: `Routing stasrego typu dla ${common.php}`, + enableLegacyRouting: `${common.enable} routing starego typu`, + routing: 'Routing', +}; diff --git a/src/nginxconfig/i18n/pl/templates/domain_sections/server.js b/src/nginxconfig/i18n/pl/templates/domain_sections/server.js new file mode 100644 index 0000000..1654da4 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/domain_sections/server.js @@ -0,0 +1,37 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +export default { + domain: 'Domena', + documentRoot: 'Document root', + oneOrMoreOtherDomainsAreAlsoNamed: 'Jedna lub więej domen ma również nazwę', + thisWillCauseIssuesWithConfigGeneration: 'Spowoduje to problem z generowaniem pliku konfiguracyjnego.', + wwwSubdomain: 'subdomena dla www', + cdnSubdomain: 'subdomena dla CDN', + redirectSubdomains: 'Przekieruj subdomeny', + server: 'Serwer', + listen: 'nasłuchuj', +}; diff --git a/src/nginxconfig/i18n/pl/templates/footer.js b/src/nginxconfig/i18n/pl/templates/footer.js new file mode 100644 index 0000000..82c8a14 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/footer.js @@ -0,0 +1,39 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +export default { + backToTop: 'Wróć na górę', + thisToolIs: 'To narzędzie jest', + openSourceOnGitHub: 'open-source\'owane na GitHub', + underThe: 'na', + mit: 'licencji MIT', + license: '!', + weWelcomeFeedbackAndContributions: 'Mile widziane opinie oraz kontrybucje.', + originallyCreatedBy: 'Oryginalnie stworzone przez', + balintSzekeres: 'Bálint Szekeres', + maintainedBy: 'utrzymywane przez', + digitalOcean: 'DigitalOcean', +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/docker.js b/src/nginxconfig/i18n/pl/templates/global_sections/docker.js new file mode 100644 index 0000000..62d2f3f --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/docker.js @@ -0,0 +1,41 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +const docker = 'Docker'; +const dockerfile = 'Dockerfile'; + +export default { + docker, + dockerfile, + dockerCompose: `${docker} Compose`, + applyDockerTweaks: `Zastosuj poprawki pod ${docker}a`, + applyDockerTweaksForNginx: `Zastosuj poprawki konfiguracyjne pod ${common.nginx} z ${docker}em`, + applyDockerTweaksExplainer: `Aktualizuje urzytkownika ${common.nginx} na nginx oraz ustawia pid na /var/run/nginx.pid`, + includeDockerfile: `Dołącz ${dockerfile}, aby uruchomić ${common.nginx} z ${docker}`, + includeDockerCompose: `Dołącz docker-compose, aby uruchomić ${common.nginx} z docker-compose`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/https.js b/src/nginxconfig/i18n/pl/templates/global_sections/https.js new file mode 100644 index 0000000..be41939 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/https.js @@ -0,0 +1,50 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +const mozilla = 'Mozilla'; +const ipv4 = 'IPv4'; +const ipv6 = 'IPv6'; + +export default { + sslProfile: `Profil ${common.ssl}`, + httpsMustBeEnabledOnOneSite: `${common.https} musi być włączony na conajmniej jednej stronie, aby móc zastosować globalną konfigurację ${common.https}.`, + ocspDnsResolvers: 'OCSP DNS Resolvers', + cloudflareResolver: 'Cloudflare Resolver', + googlePublicDns: 'Google Public DNS', + openDns: 'OpenDNS', + quad9: 'Quad9', + verisign: 'Verisign', + letsEncryptWebroot: `${common.letsEncrypt} webroot`, + letsEncryptCertRoot: `ścieżka certyfikatów ${common.letsEncrypt}`, + mozillaModern: `${mozilla} Modern`, + mozillaIntermediate: `${mozilla} Intermediate`, + mozillaOld: `${mozilla} Old`, + ipv4Only: `tylko ${ipv4}`, + ipv6Only: `tylko ${ipv6}`, + ipv4AndIpv6: `${ipv4} oraz ${ipv6}`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/index.js b/src/nginxconfig/i18n/pl/templates/global_sections/index.js new file mode 100644 index 0000000..35eba1d --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/index.js @@ -0,0 +1,37 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +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/pl/templates/global_sections/logging.js b/src/nginxconfig/i18n/pl/templates/global_sections/logging.js new file mode 100644 index 0000000..06937f6 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/logging.js @@ -0,0 +1,41 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + enableFileNotFoundErrorLogging: `${common.enable} logowanie błędów o nieznalezionych plikach`, + logformat: 'log_format', + enableCloudflare: 'dodaj nagłówki żądań Cloudflare do domyślnego formatu dziennika ', + 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/pl/templates/global_sections/nginx.js b/src/nginxconfig/i18n/pl/templates/global_sections/nginx.js new file mode 100644 index 0000000..63d351f --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/nginx.js @@ -0,0 +1,32 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + nginxConfigDirectory: `ścieżka konfiguracji ${common.nginx}`, + mb: 'MB', +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/performance.js b/src/nginxconfig/i18n/pl/templates/global_sections/performance.js new file mode 100644 index 0000000..5210161 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/performance.js @@ -0,0 +1,42 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + gzipCompression: 'Kompresja gzip', + enableGzipCompression: `${common.enable} kompresję gzip`, + brotliCompression: 'Kompresja brotli', + enableBrotliCompression: `${common.enable} kompresję brotli`, + brotliIsANonStandardModule: 'Brotli nie jest standardowym modułem NGINX, sprawdź ', + brotliGoogleNgxBrotliProject: 'projekt Google ngx_brotli', + brotliForBuildingNginxWithBrotli: ' aby dowiedzieć się jak korzystać z NGINX z Brotli!', + expirationForAssets: 'Wygaśnięcie assetów', + expirationForMedia: 'Wygaśnięcie mediów', + expirationForSvgs: 'Wygaśnięcie SVG', + expirationForFonts: 'Wygaśnięcie czcionek', + performance: 'Wydajność', +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/python.js b/src/nginxconfig/i18n/pl/templates/global_sections/python.js new file mode 100644 index 0000000..d2351bf --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/python.js @@ -0,0 +1,32 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + pythonServer: `Serwer ${common.python}`, + pythonMustBeEnabledOnOneSite: `${common.python} musi być włączony na conajmniej jednej stronie, aby móc utworzyć konfigurację globalną dla ${common.python}a.`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js b/src/nginxconfig/i18n/pl/templates/global_sections/reverse_proxy.js new file mode 100644 index 0000000..b098b90 --- /dev/null +++ b/src/nginxconfig/i18n/pl/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 = 'nagłówka X-Forwarded-* starego typu'; + +export default { + reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} musi być włączony na conajmniej jednej stronie, aby móc zastosować globalną konfigurację ${common.reverseProxyLower}.`, + seconds: 'sekund(y)', + passOn: `Przekazywanie ${legacyXForwarded}`, + remove: `Aktywne usuwanie ${legacyXForwarded}`, +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/security.js b/src/nginxconfig/i18n/pl/templates/global_sections/security.js new file mode 100644 index 0000000..d65e247 --- /dev/null +++ b/src/nginxconfig/i18n/pl/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: `Korzystając z ${common.wordPress}, script-src 'self' 'unsafe-inline' 'unsafe-eval'; jest często wymagany w Content Security Policy aby panel administracyjny działał poprawnie.`, + security: 'Bezpieczeństwo', +}; diff --git a/src/nginxconfig/i18n/pl/templates/global_sections/tools.js b/src/nginxconfig/i18n/pl/templates/global_sections/tools.js new file mode 100644 index 0000000..a5484c7 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/global_sections/tools.js @@ -0,0 +1,53 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + modularizedStructure: 'Struktura modułowa', + enableModularizedConfigFiles: `${common.enable} pliki w strukturze modułowej`, + symlinkVhost: 'Symlink vhost', + enableSymLinksFrom: `${common.enable} symlinki z`, + to: 'do', + shareConfiguration: 'Udostępnij konfigurację', + resetConfiguration: 'Zresetuj konfigurację', + resetGlobalConfig: 'Zresetuj globalną konfigurację', + resetAllDomains: 'Zresetuj wszystkie domeny', + removeAllDomains: 'Usuń wszystkie domeny', + resetAllDomainsConfig: 'Zresetuj wszystkie konfiguracje domen', + resetDomainConfig: 'Zresetuj konfigurację domeny', + removeDomain: 'Usuń domenę', + yesImSure: 'Tak, jestem pewien', + noCancel: 'Nie, poniechaj', + tools: 'Narzędzia', + resetGlobalConfigBody: 'Czy na pewno chcesz zresetować wszystkie opcje konfiguracji w sekcji konfiguracji globalnej?', + resetAllDomainsConfigBody: 'Czy na pewno chcesz zresetować konfigurację WSZYSTKICH domen?', + removeAllDomainsBody: 'Czy na pewno chcesz usunąć WSZYSTKIE konfiguracje domeny?', + areYouSureYouWantToResetAllConfigurationOptionsForThe: 'Czy na pewno chcesz zresetować wszystkie opcje konfiguracji domeny', + domain: '?', + areYouSureYouWantToRemoveThe: 'Czy napewno chcesz usunąć konfigurację dla domeny ', + domainConfiguration: '?', +}; diff --git a/src/nginxconfig/i18n/pl/templates/index.js b/src/nginxconfig/i18n/pl/templates/index.js new file mode 100644 index 0000000..d946745 --- /dev/null +++ b/src/nginxconfig/i18n/pl/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/pl/templates/setup.js b/src/nginxconfig/i18n/pl/templates/setup.js new file mode 100644 index 0000000..a51a1c0 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/setup.js @@ -0,0 +1,30 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +export default { + downloadConfig: 'Pobierz konfigurację', + copyBase64: 'Kopiuj Base64', +}; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js b/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js new file mode 100644 index 0000000..c16e2e0 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/certbot.js @@ -0,0 +1,39 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +const certbot = 'Certbot'; + +export default { + commentOutSslDirectivesInConfiguration: `Zakomentuj dyrektywy związane z ${common.ssl} w pliku konfiguracyjnym:`, + reloadYourNginxServer: `Przeładuj usługę ${common.nginx}:`, + obtainSslCertificatesFromLetsEncrypt: `Uzysjak certyfikat ${common.ssl} od ${common.letsEncrypt} za pomocą ${certbot}:`, + uncommentSslDirectivesInConfiguration: `Odkomentuj dyrektywy związane z ${common.ssl} w pliku konfiguracyjnym:`, + configureCertbotToReloadNginxOnCertificateRenewal: `Skonfiguruj ${certbot} aby przeładował ${common.nginx} kiedy poprawnie odnowi certyfikat:`, + certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} nie musi być skonfigurowany dla Twojej konfiguracji ${common.nginx}.`, + certbot, +}; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/download.js b/src/nginxconfig/i18n/pl/templates/setup_sections/download.js new file mode 100644 index 0000000..e16ca41 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/download.js @@ -0,0 +1,40 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + downloadTheGeneratedConfig: 'Pobierz wygenerowany konfig:', + andUploadItToYourServers: 'oraz wyślij go na serwer do katalogu', + directory: '', + or: 'lub ', + copyBase64StringOfCompressedConfig: 'Skopiuj skompresowny do base64, plik konfiguracyjny', + pasteItInYourServersCommandLineAndExecute: ', wklej go w terminalu na serwerze i uruchom go.', + navigateToYourNginxConfigurationDirectoryOnYourServer: `Nawiguj do ścieżki konfiguracyjnej ${common.nginx} na swoim serwerze:`, + createABackupOfYourCurrentNginxConfiguration: `Utrwórz kopię zapasową swojego obecnego pliku konfiguracyjnego ${common.nginx}:`, + extractTheNewCompressedConfigurationArchiveUsingTar: 'Wypakuj skompresowane archiwum z konfiguracją, korzystając z tar:', + download: 'Pobierz', +}; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js b/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js new file mode 100644 index 0000000..6002d1d --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/go_live.js @@ -0,0 +1,33 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + letsGoLive: 'Do dzieła!', + reloadNginxToLoadInYourNewConfiguration: `Przeładuj ${common.nginx} aby załadować nową konfigurację:`, + goLive: 'Do dzieła!', +}; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/index.js b/src/nginxconfig/i18n/pl/templates/setup_sections/index.js new file mode 100644 index 0000000..f64fc18 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/index.js @@ -0,0 +1,32 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import certbot from './certbot'; +import download from './download'; +import goLive from './go_live'; +import ssl from './ssl'; + +export default { certbot, download, goLive, ssl }; diff --git a/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js b/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js new file mode 100644 index 0000000..0693fb8 --- /dev/null +++ b/src/nginxconfig/i18n/pl/templates/setup_sections/ssl.js @@ -0,0 +1,34 @@ +/* +Copyright 2021 DigitalOcean + +This code is licensed under the MIT License. +You may obtain a copy of the License at +https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +*/ + +import common from '../../common'; + +export default { + generateDiffieHellmanKeysByRunningThisCommandOnYourServer: 'Wygeneruj klucze Diffie-Hellman uruchamiając te komendę na swoim serwerze:', + createACommonAcmeChallengeDirectoryForLetsEncrypt: `Utwórz powszechny katalog ACME-challenge (dla ${common.letsEncrypt}):`, + noAdditionalStepsAreNeededToSetUpSslForNginx: `Nie potrzeba żadnych dodatkowych kroków dla ${common.ssl} w Twojej konfiguracji ${common.nginx}.`, + sslInit: `${common.ssl} init`, +}; diff --git a/src/nginxconfig/i18n/pt-br/languages.js b/src/nginxconfig/i18n/pt-br/languages.js index 8668082..4c9dc6a 100644 --- a/src/nginxconfig/i18n/pt-br/languages.js +++ b/src/nginxconfig/i18n/pt-br/languages.js @@ -31,4 +31,5 @@ export default { ptBR: 'Português (brasileiro)', fr: 'Francês', ru: 'Russa', + pl: 'Polonês', }; diff --git a/src/nginxconfig/i18n/ru/languages.js b/src/nginxconfig/i18n/ru/languages.js index e2ea6cb..37b3cbb 100644 --- a/src/nginxconfig/i18n/ru/languages.js +++ b/src/nginxconfig/i18n/ru/languages.js @@ -31,4 +31,5 @@ export default { ptBR: 'Португальский (бразильский)', fr: 'Французский', ru: 'Русский', + pl: 'Польский', }; diff --git a/src/nginxconfig/i18n/zh-cn/languages.js b/src/nginxconfig/i18n/zh-cn/languages.js index 02a3e87..69c79fe 100644 --- a/src/nginxconfig/i18n/zh-cn/languages.js +++ b/src/nginxconfig/i18n/zh-cn/languages.js @@ -31,4 +31,5 @@ export default { ptBR: '葡萄牙语 (巴西)', fr: '法语', ru: '俄语', + pl: '波兰语', }; diff --git a/src/nginxconfig/i18n/zh-tw/languages.js b/src/nginxconfig/i18n/zh-tw/languages.js index a359cd4..f153ad0 100644 --- a/src/nginxconfig/i18n/zh-tw/languages.js +++ b/src/nginxconfig/i18n/zh-tw/languages.js @@ -31,4 +31,5 @@ export default { ptBR: '葡萄牙語(巴西)', fr: '法語', ru: '俄語', + pl: '波蘭語', };