diff --git a/CHANGELOG.md b/CHANGELOG.md index 53b3416..f95c45e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [2.2.5] - 2019-06-04 + +### Added +- Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form. Props [Jeremy Herve](https://github.com). + +### Changed +- Fix stray "and" in readme. Props [Viktor Szépe](https://github.com/szepeviktor). +- Update Portuguese translation. Props [Jonathan Hult](https://github.com/jhult). +- Update Russian translation. Props [Alexey Chumakov](https://github.com/achumakov). + ## [2.2.4] - 2019-02-22 ### Fixed @@ -217,7 +227,8 @@ Check that `$_SERVER['REMOTE_ADDR']` is set. ### Added - First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/password-protected/issues). -[Unreleased]: https://github.com/benhuson/password-protected/compare/2.2.4...HEAD +[Unreleased]: https://github.com/benhuson/password-protected/compare/2.2.5...HEAD +[2.2.5]: https://github.com/benhuson/password-protected/compare/2.2.4...2.2.5 [2.2.4]: https://github.com/benhuson/password-protected/compare/2.2.3...2.2.4 [2.2.3]: https://github.com/benhuson/password-protected/compare/2.2.2...2.2.3 [2.2.2]: https://github.com/benhuson/password-protected/compare/2.2.1...2.2.2 diff --git a/README.md b/README.md index ac089b0..9bb316d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Password Protected A very simple way to quickly password protect your WordPress site with a single password. -This plugin only protects your WordPress content. It **does not protect and images or uploaded files** so if you enter and exact URL to in image file it will still be accessible. +This plugin only protects your WordPress generated content. It **does not protect images or uploaded files** so if you enter and exact URL to in image file it will still be accessible. Features include: @@ -71,6 +71,9 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o Upgrade Notice -------------- +### 2.2.5 +Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form. + ### 2.2.4 Check that `$_SERVER['REMOTE_ADDR']` is set. diff --git a/admin/admin-bar.php b/admin/admin-bar.php index d4e2fe1..0375bc1 100644 --- a/admin/admin-bar.php +++ b/admin/admin-bar.php @@ -41,7 +41,7 @@ public static function toolbar_item() { $wp_admin_bar->add_menu( array( 'id' => 'password_protected', - 'title' => __( '', 'password-protected' ), + 'title' => '', 'href' => self::get_toolbar_item_url(), 'meta' => array( 'title' => self::get_toolbar_item_title() diff --git a/languages/password-protected-pt_PT.mo b/languages/password-protected-pt_PT.mo index 9e16038..56f2585 100644 Binary files a/languages/password-protected-pt_PT.mo and b/languages/password-protected-pt_PT.mo differ diff --git a/languages/password-protected-pt_PT.po b/languages/password-protected-pt_PT.po index 84c3723..8ca1c90 100644 --- a/languages/password-protected-pt_PT.po +++ b/languages/password-protected-pt_PT.po @@ -1,174 +1,367 @@ # Copyright (C) 2013 Password Protected # This file is distributed under the same license as the Password Protected package. -# Translators: -# alfalb.as, 2015 -# Júlio Reis , 2014 -# Lídia Martins , 2015 -# rtbfreitas, 2014 -# Júlio Reis , 2014 msgid "" msgstr "" "Project-Id-Version: Password Protected\n" "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n" -"POT-Creation-Date: 2015-05-14 23:14-0000\n" -"PO-Revision-Date: 2015-09-17 12:59+0100\n" -"Last-Translator: Ben Huson \n" -"Language-Team: Portuguese (Portugal) (http://www.transifex.com/wp-translations/password-protected/language/pt_PT/)\n" +"POT-Creation-Date: 2017-10-18 16:06+0100\n" +"PO-Revision-Date: 2017-10-18 16:06+0100\n" +"Last-Translator: Pedro Mendonça \n" +"Language-Team: Pedro Mendonça \n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.4\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-KeywordsList: __;_e;_ex;_x\n" -"X-Poedit-SearchPath-0: ..\n" +"X-Generator: Poedit 2.0.4\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" +"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;" +"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" +"X-Textdomain-Support: yes\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-WPHeader: password-protected.php\n" +"X-Poedit-SearchPath-0: .\n" + +#: admin/admin-caching.php:49 +msgid "Caching" +msgstr "Cache" + +#: admin/admin-caching.php:57 +msgid "Cookies" +msgstr "Cookies" + +#: admin/admin-caching.php:68 +msgid "WP Engine Hosting" +msgstr "Alojamento WP Engine" + +#: admin/admin-caching.php:81 +msgid "W3 Total Cache" +msgstr "W3 Total Cache" + +#: admin/admin-caching.php:98 +msgid "" +"Password Protected does not always work well with sites that use caching." +msgstr "" +"O Password Protected poderá não funcionar correctamente em sites que usem " +"cache." + +#: admin/admin-caching.php:99 +msgid "" +"If your site uses a caching plugin or your web hosting uses server-side " +"caching, you may need to configure your setup to disable caching for the " +"Password Protected cookie:" +msgstr "" +"Se o seu site usar um plugin de cache ou o seu alojamento usar cache no " +"servidor, poderá ter de alterar a sua configuração de modo a desactivar a " +"cache para o cookie do Password Protected:" + +#: admin/admin-caching.php:121 +msgid "We have detected your site may be running on WP Engine hosting." +msgstr "" +"Foi detectado que o seu site poderá estar a funcionar num alojado WP Engine." + +#: admin/admin-caching.php:122 +msgid "" +"In order for Password Protected to work with WP Engine's caching " +"configuration you must ask them to disable caching for the Password " +"Protected cookie." +msgstr "" +"Para que o Password Protected funcione correctamente com a configuração de " +"cache do WP Engine, deverá solicitar a desactivação da cache para o cookie " +"do Password Protected." + +#: admin/admin-caching.php:133 +msgid "It looks like you may be using the W3 Total Cache plugin?" +msgstr "Está a usar o plugin W3 Total Cache?" + +#: admin/admin-caching.php:134 +msgid "" +"In order for Password Protected to work with W3 Total Cache you must disable " +"caching when the Password Protected cookie is set." +msgstr "" +"Para que o Password Protected funcione correctamente com o W3 Total Cache, " +"deverá desactivar a cache para o cookie do Password Protected." + +#: admin/admin-caching.php:135 +#, php-format +msgid "" +"You can adjust the cookie settings for W3 Total Cache under Performance > Page Cache > Advanced > Rejected Cookies." +msgstr "" +"Pode ajustar as definições de cookies para o W3 Total Cache em Performance > Cache de páginas > Avançada > Cookies rejeitados." -#: ../admin/admin.php:30 ../admin/admin.php:80 +#. Plugin Name of the plugin/theme +#: admin/admin.php:30 admin/admin.php:81 msgid "Password Protected" -msgstr "Proteção por palavra-passe" +msgstr "Password Protected" -#: ../admin/admin.php:43 +#: admin/admin.php:43 msgid "Password Protected Settings" -msgstr "Definições da proteção por palavra-passe" +msgstr "Definições do Password Protected" -#: ../admin/admin.php:49 +#: admin/admin.php:49 msgid "Save Changes" msgstr "Guardar alterações" -#: ../admin/admin.php:81 -msgid "

Password Protected Status
Turn on/off password protection.

" -msgstr "

Estado da proteção por palavra-passe
Ative ou desative a proteção por palavra-passe.

" +#: admin/admin.php:82 +msgid "" +"

Password Protected Status
Turn on/off password " +"protection.

" +msgstr "" +"

Estado do Password Protected
Active ou desactive a " +"proteção por senha.

" -#: ../admin/admin.php:82 -msgid "

Protected Permissions
Allow access for logged in users and administrators without needing to enter a password. You will need to enable this option if you want administrators to be able to preview the site in the Theme Customizer. Also allow RSS Feeds to be accessed when the site is password protected.

" -msgstr "

Permissões Protegidas
Permite o acesso aos utilizadores e aos administradores com sessão iniciada sem ser necessário inserir uma senha. Terá que ativar esta opção se desejar que os administradores pré-visualizem o sítio em Theme Customizer. Permitir também o acesso aos Feeds RSS quando o sítio estiver protegido por senha.

" +#: admin/admin.php:83 +msgid "" +"

Protected Permissions
Allow access for logged in " +"users and administrators without needing to enter a password. You will need " +"to enable this option if you want administrators to be able to preview the " +"site in the Theme Customizer. Also allow RSS Feeds to be accessed when the " +"site is password protected.

" +msgstr "" +"

Permissões protegidas
Permite o acesso aos " +"utilizadores e administradores com sessão iniciada sem ser necessário " +"inserir uma senha. Terá que activar esta opção para permitir aos " +"administradores pré-visualizar o site no personalizador do tema. Permite " +"também o acesso aos feeds RSS quando o site estiver protegido por senha.

" -#: ../admin/admin.php:83 -msgid "

Password Fields
To set a new password, enter it into both fields. You cannot set an `empty` password. To disable password protection uncheck the Enabled checkbox.

" -msgstr "

Campos de senha
Para definir uma nova senha, resgiste-a em ambos os campos. Não pode definir uma senha `vazia`. Para desligar a proteção por senha, desmarque a caixa Ligado.

" +#: admin/admin.php:84 +msgid "" +"

Password Fields
To set a new password, enter it " +"into both fields. You cannot set an `empty` password. To disable password " +"protection uncheck the Enabled checkbox.

" +msgstr "" +"

Campos de senha
Para definir uma nova senha, insira-" +"a nos dois campos. Não pode definir uma senha `vazia`. Para desactivar a " +"proteção por senha, desselecione a caixa Activado.

" -#: ../admin/admin.php:102 +#: admin/admin.php:103 msgid "Password Protected Status" msgstr "Estado do Password Protected" -#: ../admin/admin.php:110 +#: admin/admin.php:111 msgid "Protected Permissions" msgstr "Permissões protegidas" -#: ../admin/admin.php:118 +#: admin/admin.php:119 msgid "New Password" -msgstr "Nova palavra-passe" +msgstr "Nova senha" -#: ../admin/admin.php:126 +#: admin/admin.php:127 msgid "Allow IP Addresses" -msgstr "" +msgstr "Permitir endereços de IP" -#: ../admin/admin.php:155 -msgid "New password not saved. When setting a new password please enter it in both fields." -msgstr "A nova senha não foi guardada. Quando definir uma nova senha, por favor, insira-a em ambos os campos." +#: admin/admin.php:156 +msgid "" +"New password not saved. When setting a new password please enter it in both " +"fields." +msgstr "" +"A nova senha não foi guardada. Ao definir uma nova senha, por favor, insira-" +"a nos dois campos." -#: ../admin/admin.php:158 +#: admin/admin.php:159 msgid "New password not saved. Password fields did not match." -msgstr "A nova senha não foi guardada: os campos da Senha não coincidem." +msgstr "A nova senha não foi guardada. As senhas não são iguais." -#: ../admin/admin.php:161 +#: admin/admin.php:162 msgid "New password saved." -msgstr "A nova palavra-passe foi guardada." +msgstr "Nova senha guardada." -#: ../admin/admin.php:195 -msgid "Password protect your web site. Users will be asked to enter a password to view the site." -msgstr "Proteja o seu sítio da Web com uma senha. Será pedido aos utilizadores para inserirem uma senha para ver o sítio." +#: admin/admin.php:209 +msgid "" +"Password protect your web site. Users will be asked to enter a password to " +"view the site." +msgstr "" +"Proteja o seu site com uma senha. Será pedido aos utilizadores para inserir " +"uma senha para ver o site." -#: ../admin/admin.php:196 -msgid "For more information about Password Protected settings, view the \"Help\" tab at the top of this page." -msgstr "Para mais informação sobre as configurações do Password Protected, veja o separador \"Ajuda\" no topo desta página." +#: admin/admin.php:210 +msgid "" +"For more information about Password Protected settings, view the \"Help\" " +"tab at the top of this page." +msgstr "" +"Para mais informações sobre as definições do Password Protected, veja o " +"separador \"Ajuda\" no topo desta página." -#: ../admin/admin.php:205 +#: admin/admin.php:219 msgid "Enabled" -msgstr "Ativado" +msgstr "Activado" -#: ../admin/admin.php:214 +#: admin/admin.php:228 msgid "Allow Administrators" -msgstr "Permitir para os Administradores" +msgstr "Permitir administradores" -#: ../admin/admin.php:215 +#: admin/admin.php:229 msgid "Allow Logged In Users" -msgstr "Permitir para os utilizadores com sessão iniciada" +msgstr "Permitir utilizadores com sessão iniciada" -#: ../admin/admin.php:216 +#: admin/admin.php:230 msgid "Allow RSS Feeds" -msgstr "Permitir Feeds RSS" +msgstr "Permitir feeds RSS" -#: ../admin/admin.php:225 -msgid "If you would like to change the password type a new one. Otherwise leave this blank." -msgstr "Se pretender alterar a sua palavra-passe, digite uma nova. Se não, não digite nada neste campo." +#: admin/admin.php:239 +msgid "" +"If you would like to change the password type a new one. Otherwise leave " +"this blank." +msgstr "" +"Se desejar alterar a sua senha, digite uma nova. Se não, deixe isto em " +"branco." -#: ../admin/admin.php:226 +#: admin/admin.php:240 msgid "Type your new password again." -msgstr "Volte a digitar a nova palavra-passe." +msgstr "Digite a nova senha outra vez." -#: ../admin/admin.php:236 -msgid "Enter one IP address per line" -msgstr "" +#: admin/admin.php:250 +msgid "Enter one IP address per line." +msgstr "Insira um endereço de IP por linha." + +#: admin/admin.php:250 +#, php-format +msgid "Your IP is address %s." +msgstr "O seu endereço de IP é %s." -#: ../admin/admin.php:277 +#: admin/admin.php:291 msgid "http://github.com/benhuson/password-protected" msgstr "http://github.com/benhuson/password-protected" -#: ../admin/admin.php:277 +#: admin/admin.php:291 msgid "GitHub" msgstr "GitHub" -#: ../admin/admin.php:278 -msgid "https://www.transifex.com/projects/p/password-protected/resource/password-protected/" -msgstr "https://www.transifex.com/projects/p/password-protected/resource/password-protected/" +#: admin/admin.php:292 +msgid "" +"https://www.transifex.com/projects/p/password-protected/resource/password-" +"protected/" +msgstr "" +"https://www.transifex.com/projects/p/password-protected/resource/password-" +"protected/" -#: ../admin/admin.php:278 +#: admin/admin.php:292 msgid "Translate" msgstr "Traduzir" -#: ../admin/admin.php:295 +#: admin/admin.php:309 msgid "Settings" msgstr "Definições" -#: ../admin/admin.php:323 -msgid "You have enabled password protection but not yet set a password. Please set one below." -msgstr "Ativou a opção de proteção por palavra-passe, mas ainda não definiu a palavra-passe. Por favor, digite a palavra-passe abaixo." +#: admin/admin.php:337 +msgid "" +"You have enabled password protection but not yet set a password. Please set " +"one below." +msgstr "" +"Activou a protecção por senha, mas ainda não definiui a respectiva senha. " +"Por favor defina-a abaixo." -#: ../admin/admin.php:328 -msgid "You have enabled password protection and allowed administrators and logged in users - other users will still need to enter a password to view the site." -msgstr "Ativou a proteção por palavra-passe e permitiu que os administradores e os utilizadores que iniciarem sessão a aceder ao site." +#: admin/admin.php:342 +msgid "" +"You have enabled password protection and allowed administrators and logged " +"in users - other users will still need to enter a password to view the site." +msgstr "" +"Activou a protecção por senha com acesso a administradores e utilizadores " +"com sessão iniciada - os restantes utilizadores terão que inserir a senha " +"para aceder ao site." -#: ../admin/admin.php:330 -msgid "You have enabled password protection and allowed administrators - other users will still need to enter a password to view the site." -msgstr "Ligou a proteção por senha com acesso a administradores – os outros utilizadores terão que se autenticar para aceder ao sítio." +#: admin/admin.php:344 +msgid "" +"You have enabled password protection and allowed administrators - other " +"users will still need to enter a password to view the site." +msgstr "" +"Activou a protecção por senha com acesso a administradores - os restantes " +"utilizadores terão que inserir a senha para aceder ao site." -#: ../admin/admin.php:332 -msgid "You have enabled password protection and allowed logged in users - other users will still need to enter a password to view the site." -msgstr "Ligou a proteção por senha com acesso a utilizadores autenticados – os outros utilizadores terão que se autenticar para aceder ao sítio." +#: admin/admin.php:346 +msgid "" +"You have enabled password protection and allowed logged in users - other " +"users will still need to enter a password to view the site." +msgstr "" +"Activou a protecção por senha com acesso a utilizadores com sessão iniciada " +"- os restantes utilizadores terão que inserir a senha para aceder ao site." -#: ../password-protected.php:157 +#: password-protected.php:162 #, php-format -msgid "Feeds are not available for this site. Please visit the website." -msgstr "Este sítio não tem feeds disponíveis. Por favor, visite o sítio da Web." +msgid "" +"Feeds are not available for this site. Please visit the website." +msgstr "" +"Este sítio não tem feeds disponíveis. Por favor, visite o site." -#: ../password-protected.php:299 +#: password-protected.php:304 msgid "Incorrect Password" -msgstr "Senha Errada" +msgstr "Senha incorrecta" -#: ../password-protected.php:435 ../password-protected.php:439 +#: password-protected.php:440 password-protected.php:444 msgid "Logout" msgstr "Terminar sessão" -#: ../password-protected.php:755 -msgid "The Password Protected plugin does not work with WP Engine hosting. Please disable it." -msgstr "O plug-in Password Protected não é compatível com o alojamento WP Engine. Por favor, desative-o." - -#: ../theme/password-protected-login.php:42 -msgid "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." -msgstr "ERRO: Os cookies estão bloqueados ou não são suportados pelo seu browser. Deve permitir cookies para usar o WordPress." +#: theme/password-protected-login.php:42 +msgid "" +"ERROR: Cookies are blocked or not supported by your " +"browser. You must enable " +"cookies to use WordPress." +msgstr "" +"ERRO: Os cookies estão bloqueados ou não são suportados " +"pelo seu navegador. Tem de permitir cookies para usar o WordPress." -#: ../theme/password-protected-login.php:107 +#: theme/password-protected-login.php:107 msgid "Password" -msgstr "Palavra-passe" +msgstr "Senha" + +#: theme/password-protected-login.php:111 +msgid "Remember Me" +msgstr "Lembrar-me" + +#: theme/password-protected-login.php:114 +msgid "Log In" +msgstr "Iniciar sessão" + +#. Plugin URI of the plugin/theme +msgid "https://wordpress.org/plugins/password-protected/" +msgstr "https://wordpress.org/plugins/password-protected/" + +#. Description of the plugin/theme +msgid "" +"A very simple way to quickly password protect your WordPress site with a " +"single password. Please note: This plugin does not restrict access to " +"uploaded files and images and does not work with some caching setups." +msgstr "" +"Um modo simples e rápido de proteger o seu site WordPress apenas com uma " +"senha. Atenção: Este plugin não restringe o acesso a imagens e ficheiros " +"carregados, não funciona com alguns plugins de cache." + +#. Author of the plugin/theme +msgid "Ben Huson" +msgstr "Ben Huson" + +#. Author URI of the plugin/theme +msgid "http://github.com/benhuson/password-protected/" +msgstr "http://github.com/benhuson/password-protected/" + +#~ msgid "" +#~ "If your site uses a caching plugin or yur web hosting uses server-side " +#~ "caching, you may need to configure your setup to disable caching for the " +#~ "Password Protected cookie:" +#~ msgstr "" +#~ "Se o seu site usar um plugin de cache ou o seu alojamento usar cache no " +#~ "servidor, poderá ter de alterar a sua configuração de modo a desactivar a " +#~ "cache para o cookie do Password Protected:" + +#~ msgid "" +#~ "The Password Protected plugin does not work with WP Engine hosting. " +#~ "Please disable it." +#~ msgstr "" +#~ "O plugin Password Protected não é compatível com o alojamento WP Engine. " +#~ "Por favor, desactive-o." + +#~ msgid "" +#~ "A very simple way to quickly password protect your WordPress site with a " +#~ "single password. Please note: This plugin does not restrict access to " +#~ "uploaded files and images and does not work on WP Engine or with some " +#~ "caching setups." +#~ msgstr "" +#~ "Um modo simples e rápido de proteger o seu site WordPress apenas com uma " +#~ "senha. Atenção: Este plugin não restringe o acesso a imagens e ficheiros " +#~ "carregados, não funciona com o WP Engine e com alguns plugins de cache." diff --git a/languages/password-protected-ru_RU.mo b/languages/password-protected-ru_RU.mo index 34dfe06..2e5597e 100644 Binary files a/languages/password-protected-ru_RU.mo and b/languages/password-protected-ru_RU.mo differ diff --git a/languages/password-protected-ru_RU.po b/languages/password-protected-ru_RU.po index 87eddd4..c2fa95b 100644 --- a/languages/password-protected-ru_RU.po +++ b/languages/password-protected-ru_RU.po @@ -6,167 +6,344 @@ msgid "" msgstr "" "Project-Id-Version: Password Protected\n" "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n" -"POT-Creation-Date: 2015-05-14 23:14-0000\n" -"PO-Revision-Date: 2015-09-17 12:59+0100\n" -"Last-Translator: Ben Huson \n" -"Language-Team: Russian (Russia) (http://www.transifex.com/wp-translations/password-protected/language/ru_RU/)\n" +"POT-Creation-Date: 2019-06-04 12:19+0100\n" +"PO-Revision-Date: 2019-06-04 12:22+0100\n" +"Last-Translator: Alexey Chumakov \n" +"Language-Team: Russian (Russia) (http://www.transifex.com/projects/p/" +"password-protected/language/ru_RU/)\n" +"Language: ru_RU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ru_RU\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" -"X-Generator: Poedit 1.8.4\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" +"X-Generator: Poedit 2.2.3\n" "X-Poedit-Basepath: .\n" "X-Poedit-KeywordsList: __;_e;_ex;_x\n" "X-Poedit-SearchPath-0: ..\n" -#: ../admin/admin.php:30 ../admin/admin.php:80 +#: ../admin/admin-bar.php:78 +msgid "Password Protection is enabled." +msgstr "Защита паролем." + +#: ../admin/admin-bar.php:81 +msgid "Password Protection is disabled." +msgstr "Защита паролем." + +#: ../admin/admin-caching.php:49 +msgid "Caching" +msgstr "" + +#: ../admin/admin-caching.php:57 +msgid "Cookie Name" +msgstr "" + +#: ../admin/admin-caching.php:68 +msgid "WP Engine Hosting" +msgstr "" + +#: ../admin/admin-caching.php:81 +msgid "W3 Total Cache" +msgstr "" + +#: ../admin/admin-caching.php:98 +#, fuzzy +#| msgid "" +#| "The Password Protected plugin does not work with WP Engine hosting. " +#| "Please disable it." +msgid "" +"Password Protected does not always work well with sites that use caching." +msgstr "" +"Плагин Защита паролем не работает с хостингом WP Engine. Пожалуйста, " +"отключите плагин." + +#: ../admin/admin-caching.php:99 +msgid "" +"If your site uses a caching plugin or your web hosting uses server-side " +"caching, you may need to configure your caching setup to disable caching for " +"the Password Protected cookie:" +msgstr "" + +#: ../admin/admin-caching.php:121 +msgid "We have detected your site may be running on WP Engine hosting." +msgstr "" + +#: ../admin/admin-caching.php:122 +msgid "" +"In order for Password Protected to work with WP Engine's caching " +"configuration you must ask them to disable caching for the Password " +"Protected cookie." +msgstr "" + +#: ../admin/admin-caching.php:133 +msgid "It looks like you may be using the W3 Total Cache plugin?" +msgstr "" + +#: ../admin/admin-caching.php:134 +msgid "" +"In order for Password Protected to work with W3 Total Cache you must disable " +"caching when the Password Protected cookie is set." +msgstr "" + +#: ../admin/admin-caching.php:135 +#, php-format +msgid "" +"You can adjust the cookie settings for W3 Total Cache under Performance > Page Cache > Advanced > Rejected Cookies." +msgstr "" + +#: ../admin/admin.php:35 +msgid "" +"The Password Protected plugin stores a cookie on successful password login " +"containing a hashed version of the entered password. It does not store any " +"information about the user. The cookie stored is named " +"bid_n_password_protected_auth where n is the blog " +"ID in a multisite network" +msgstr "" + +#: ../admin/admin.php:37 +#, fuzzy +#| msgid "Password Protected" +msgid "Password Protected Plugin" +msgstr "Защита паролем" + +#: ../admin/admin.php:46 ../admin/admin.php:97 msgid "Password Protected" msgstr "Защита паролем" -#: ../admin/admin.php:43 +#: ../admin/admin.php:59 msgid "Password Protected Settings" msgstr "Настройки Защиты паролем" -#: ../admin/admin.php:49 +#: ../admin/admin.php:65 msgid "Save Changes" msgstr "Сохранить изменения" -#: ../admin/admin.php:81 -msgid "

Password Protected Status
Turn on/off password protection.

" -msgstr "

Состояние защиты паролем
Включение/выключение защиты паролем.

" +#: ../admin/admin.php:98 +msgid "" +"

Password Protected Status
Turn on/off password " +"protection.

" +msgstr "" +"

Состояние защиты паролем
Включение/выключение " +"защиты паролем.

" -#: ../admin/admin.php:82 +#: ../admin/admin.php:99 msgid "" -"

Protected Permissions
Allow access for logged in users and administrators without needing to enter a password. You will need to enable this option if you want administrators to be able to preview the site in the Theme Customizer. Also allow RSS Feeds to be accessed when the site is password " -"protected.

" -msgstr "

Исключения защиты
Разрешать доступ без пароля зарегистрированным пользователям и администраторам. Если администратором нужен предварительный просмотр сайта в Настройке внешнего вида, соответствующий пункт нужно включить. Также можно разрешать доступ к RSS-каналам запароленного сайта.

" +"

Protected Permissions
Allow access for logged in " +"users and administrators without needing to enter a password. You will need " +"to enable this option if you want administrators to be able to preview the " +"site in the Theme Customizer. Also allow RSS Feeds to be accessed when the " +"site is password protected.

" +msgstr "" +"

Исключения защиты
Разрешать доступ без пароля " +"зарегистрированным пользователям и администраторам. Если администратором " +"нужен предварительный просмотр сайта в Настройке внешнего вида, " +"соответствующий пункт нужно включить. Также можно разрешать доступ к RSS-" +"каналам запароленного сайта.

" -#: ../admin/admin.php:83 -msgid "

Password Fields
To set a new password, enter it into both fields. You cannot set an `empty` password. To disable password protection uncheck the Enabled checkbox.

" -msgstr "

Новый пароль
Чтобы установить новый пароль, введите его в оба поля. Устанавливать \"пустой\" пароль нельзя. Чтобы выключить защиту паролем, снимите галочку в пункте Включить защиту.

" +#: ../admin/admin.php:100 +msgid "" +"

Password Fields
To set a new password, enter it " +"into both fields. You cannot set an `empty` password. To disable password " +"protection uncheck the Enabled checkbox.

" +msgstr "" +"

Новый пароль
Чтобы установить новый пароль, введите " +"его в оба поля. Устанавливать \"пустой\" пароль нельзя. Чтобы выключить " +"защиту паролем, снимите галочку в пункте Включить защиту.

" -#: ../admin/admin.php:102 +#: ../admin/admin.php:119 msgid "Password Protected Status" msgstr "Состояние защиты паролем" -#: ../admin/admin.php:110 +#: ../admin/admin.php:127 msgid "Protected Permissions" msgstr "Исключения защиты" -#: ../admin/admin.php:118 +#: ../admin/admin.php:135 msgid "New Password" msgstr "Новый пароль" -#: ../admin/admin.php:126 +#: ../admin/admin.php:143 msgid "Allow IP Addresses" msgstr "Пускать IP-адреса" -#: ../admin/admin.php:155 -msgid "New password not saved. When setting a new password please enter it in both fields." -msgstr "Новый пароль не сохранён. Чтобы задать новый пароль, пожалуйста, введите его в оба поля." +#: ../admin/admin.php:151 +msgid "Allow Remember me" +msgstr "" + +#: ../admin/admin.php:159 +msgid "Remember for this many days" +msgstr "" + +#: ../admin/admin.php:191 +msgid "" +"New password not saved. When setting a new password please enter it in both " +"fields." +msgstr "" +"Новый пароль не сохранён. Чтобы задать новый пароль, пожалуйста, введите его " +"в оба поля." -#: ../admin/admin.php:158 +#: ../admin/admin.php:194 msgid "New password not saved. Password fields did not match." msgstr "Новый пароль не сохранён. Введенные пароли не совпадают." -#: ../admin/admin.php:161 +#: ../admin/admin.php:197 msgid "New password saved." msgstr "Новый пароль сохранён." -#: ../admin/admin.php:195 -msgid "Password protect your web site. Users will be asked to enter a password to view the site." -msgstr "Защитите свой сайт паролем. Пароль будет запрашиваться у пользователей для просмотра сайта." +#: ../admin/admin.php:244 +msgid "" +"Password protect your web site. Users will be asked to enter a password to " +"view the site." +msgstr "" +"Защитите свой сайт паролем. Пароль будет запрашиваться у пользователей для " +"просмотра сайта." -#: ../admin/admin.php:196 -msgid "For more information about Password Protected settings, view the \"Help\" tab at the top of this page." -msgstr "Дополнительные сведения о настройках Защиты паролем находятся на вкладке \"Помощь\" вверху этой страницы." +#: ../admin/admin.php:245 +msgid "" +"For more information about Password Protected settings, view the \"Help\" " +"tab at the top of this page." +msgstr "" +"Дополнительные сведения о настройках Защиты паролем находятся на вкладке " +"\"Помощь\" вверху этой страницы." -#: ../admin/admin.php:205 +#: ../admin/admin.php:254 msgid "Enabled" msgstr "Включить защиту" -#: ../admin/admin.php:214 +#: ../admin/admin.php:263 msgid "Allow Administrators" msgstr "Пускать администраторов" -#: ../admin/admin.php:215 +#: ../admin/admin.php:264 msgid "Allow Logged In Users" msgstr "Пускать зарегистрированных пользователей" -#: ../admin/admin.php:216 +#: ../admin/admin.php:265 msgid "Allow RSS Feeds" msgstr "Разрешить RSS Каналы" -#: ../admin/admin.php:225 -msgid "If you would like to change the password type a new one. Otherwise leave this blank." -msgstr "Если вы хотите поменять пароль, введите новый. Иначе оставьте поле пустым." +#: ../admin/admin.php:266 +#, fuzzy +#| msgid "Allow IP Addresses" +msgid "Allow REST API Access" +msgstr "Пускать IP-адреса" -#: ../admin/admin.php:226 +#: ../admin/admin.php:275 +msgid "" +"If you would like to change the password type a new one. Otherwise leave " +"this blank." +msgstr "" +"Если вы хотите поменять пароль, введите новый. Иначе оставьте поле пустым." + +#: ../admin/admin.php:276 msgid "Type your new password again." msgstr "Еще раз введите новый пароль." -#: ../admin/admin.php:236 -msgid "Enter one IP address per line" -msgstr "Введите IP-адреса по одному в строке" +#: ../admin/admin.php:289 +#, php-format +msgid "Your IP is address %s." +msgstr "Пускать IP-адреса %s." -#: ../admin/admin.php:277 +#: ../admin/admin.php:350 msgid "http://github.com/benhuson/password-protected" msgstr "http://github.com/benhuson/password-protected" -#: ../admin/admin.php:277 +#: ../admin/admin.php:350 msgid "GitHub" msgstr "GitHub" -#: ../admin/admin.php:278 -msgid "https://www.transifex.com/projects/p/password-protected/resource/password-protected/" -msgstr "https://www.transifex.com/projects/p/password-protected/resource/password-protected/" +#: ../admin/admin.php:351 +msgid "https://translate.wordpress.org/projects/wp-plugins/password-protected" +msgstr "https://translate.wordpress.org/projects/wp-plugins/password-protected" -#: ../admin/admin.php:278 +#: ../admin/admin.php:351 msgid "Translate" msgstr "Перевести" -#: ../admin/admin.php:295 +#: ../admin/admin.php:368 msgid "Settings" msgstr "Настройки" -#: ../admin/admin.php:323 -msgid "You have enabled password protection but not yet set a password. Please set one below." -msgstr "Вы включили защиту паролем, но пока не установили пароль. Пожалуйста, укажите его ниже." +#: ../admin/admin.php:396 +msgid "" +"You have enabled password protection but not yet set a password. Please set " +"one below." +msgstr "" +"Вы включили защиту паролем, но пока не установили пароль. Пожалуйста, " +"укажите его ниже." -#: ../admin/admin.php:328 -msgid "You have enabled password protection and allowed administrators and logged in users - other users will still need to enter a password to view the site." -msgstr "Вы включили защиту паролем и разрешили вход администраторам и зарегистрированным пользователям — другим пользователям потребуется вводить пароль для просмотра сайта." +#: ../admin/admin.php:401 +msgid "" +"You have enabled password protection and allowed administrators and logged " +"in users - other users will still need to enter a password to view the site." +msgstr "" +"Вы включили защиту паролем и разрешили вход администраторам и " +"зарегистрированным пользователям — другим пользователям потребуется вводить " +"пароль для просмотра сайта." -#: ../admin/admin.php:330 -msgid "You have enabled password protection and allowed administrators - other users will still need to enter a password to view the site." -msgstr "Вы включили защиту паролем и разрешили вход администраторам — другим пользователям потребуется вводить пароль для просмотра сайта." +#: ../admin/admin.php:403 +msgid "" +"You have enabled password protection and allowed administrators - other " +"users will still need to enter a password to view the site." +msgstr "" +"Вы включили защиту паролем и разрешили вход администраторам — другим " +"пользователям потребуется вводить пароль для просмотра сайта." -#: ../admin/admin.php:332 -msgid "You have enabled password protection and allowed logged in users - other users will still need to enter a password to view the site." -msgstr "Вы включили защиту паролем и разрешили вход зарегистрированным пользователям — другим пользователям потребуется вводить пароль для просмотра сайта." +#: ../admin/admin.php:405 +msgid "" +"You have enabled password protection and allowed logged in users - other " +"users will still need to enter a password to view the site." +msgstr "" +"Вы включили защиту паролем и разрешили вход зарегистрированным пользователям " +"— другим пользователям потребуется вводить пароль для просмотра сайта." -#: ../password-protected.php:157 +#: ../password-protected.php:165 #, php-format -msgid "Feeds are not available for this site. Please visit the website." -msgstr "Каналы для этого сайта недоступны. Пожалуйста, посетите вебсайт." +msgid "" +"Feeds are not available for this site. Please visit the website." +msgstr "" +"Каналы для этого сайта недоступны. Пожалуйста, посетите вебсайт." -#: ../password-protected.php:299 +#: ../password-protected.php:324 msgid "Incorrect Password" msgstr "Неверный пароль" -#: ../password-protected.php:435 ../password-protected.php:439 +#: ../password-protected.php:462 ../password-protected.php:466 msgid "Logout" msgstr "Выйти" -#: ../password-protected.php:755 -msgid "The Password Protected plugin does not work with WP Engine hosting. Please disable it." -msgstr "Плагин Защита паролем не работает с хостингом WP Engine. Пожалуйста, отключите плагин." +#: ../password-protected.php:808 +msgid "Only authenticated users can access the REST API." +msgstr "" -#: ../theme/password-protected-login.php:42 -msgid "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." -msgstr "ОШИБКА: Cookies либо заблокированы, либо не поддерживаются вашим браузером. Чтобы использовать WordPress, нужно разрешить cookies." +#: ../theme/password-protected-login.php:53 +msgid "" +"ERROR: Cookies are blocked or not supported by your " +"browser. You must enable " +"cookies to use WordPress." +msgstr "" +"ОШИБКА: Cookies либо заблокированы, либо не поддерживаются " +"вашим браузером. Чтобы использовать WordPress, нужно разрешить cookies." -#: ../theme/password-protected-login.php:107 +#: ../theme/password-protected-login.php:120 msgid "Password" msgstr "Пароль" + +#~ msgid "Enter one IP address per line" +#~ msgstr "Введите IP-адреса по одному в строке" + +#~ msgid "" +#~ "A very simple way to quickly password protect your WordPress site with a " +#~ "single password. Please note: This plugin does not restrict access to " +#~ "uploaded files and images and does not work on WP Engine or with some " +#~ "caching setups." +#~ msgstr "" +#~ "Очень простой способ быстро защитить свой сайт WordPress единым паролем. " +#~ "Обратите внимание: этот плагин не ограничивает доступ к закачанным файлам " +#~ "и изображениям, и не работает с WP Engine, а также с некоторыми " +#~ "настройками кэширования." diff --git a/languages/password-protected.pot b/languages/password-protected.pot index 8e6d7de..725b9f1 100644 --- a/languages/password-protected.pot +++ b/languages/password-protected.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Password Protected\n" "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n" -"POT-Creation-Date: 2016-03-23 00:25+0000\n" +"POT-Creation-Date: 2019-06-04 12:50+0100\n" "PO-Revision-Date: 2015-05-14 23:15-0000\n" "Last-Translator: Ben Huson \n" "Language-Team: LANGUAGE\n" @@ -13,193 +13,248 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.7\n" -"X-Poedit-KeywordsList: __;_e;_ex;_x\n" +"X-Generator: Poedit 2.2.3\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c\n" "X-Poedit-Basepath: .\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SearchPath-0: ..\n" -#: ../admin/admin.php:30 ../admin/admin.php:80 +#: ../admin/admin-bar.php:78 +msgid "Password Protection is enabled." +msgstr "" + +#: ../admin/admin-bar.php:81 +msgid "Password Protection is disabled." +msgstr "" + +#: ../admin/admin-caching.php:49 +msgid "Caching" +msgstr "" + +#: ../admin/admin-caching.php:57 +msgid "Cookie Name" +msgstr "" + +#: ../admin/admin-caching.php:68 +msgid "WP Engine Hosting" +msgstr "" + +#: ../admin/admin-caching.php:81 +msgid "W3 Total Cache" +msgstr "" + +#: ../admin/admin-caching.php:98 +msgid "Password Protected does not always work well with sites that use caching." +msgstr "" + +#: ../admin/admin-caching.php:99 +msgid "If your site uses a caching plugin or your web hosting uses server-side caching, you may need to configure your caching setup to disable caching for the Password Protected cookie:" +msgstr "" + +#: ../admin/admin-caching.php:121 +msgid "We have detected your site may be running on WP Engine hosting." +msgstr "" + +#: ../admin/admin-caching.php:122 +msgid "In order for Password Protected to work with WP Engine's caching configuration you must ask them to disable caching for the Password Protected cookie." +msgstr "" + +#: ../admin/admin-caching.php:133 +msgid "It looks like you may be using the W3 Total Cache plugin?" +msgstr "" + +#: ../admin/admin-caching.php:134 +msgid "In order for Password Protected to work with W3 Total Cache you must disable caching when the Password Protected cookie is set." +msgstr "" + +#: ../admin/admin-caching.php:135 +#, php-format +msgid "You can adjust the cookie settings for W3 Total Cache under Performance > Page Cache > Advanced > Rejected Cookies." +msgstr "" + +#: ../admin/admin.php:35 +msgctxt "privacy policy content" +msgid "" +"The Password Protected plugin stores a cookie on successful password login containing a hashed version of the entered password. It does not store any information about the user. The cookie stored is named " +"bid_n_password_protected_auth where n is the blog ID in a multisite network" +msgstr "" + +#: ../admin/admin.php:37 +msgid "Password Protected Plugin" +msgstr "" + +#: ../admin/admin.php:46 ../admin/admin.php:97 msgid "Password Protected" msgstr "" -#: ../admin/admin.php:43 +#: ../admin/admin.php:59 msgid "Password Protected Settings" msgstr "" -#: ../admin/admin.php:49 +#: ../admin/admin.php:65 msgid "Save Changes" msgstr "" -#: ../admin/admin.php:81 -msgid "" -"

Password Protected Status
Turn on/off password " -"protection.

" +#: ../admin/admin.php:98 +msgid "

Password Protected Status
Turn on/off password protection.

" msgstr "" -#: ../admin/admin.php:82 +#: ../admin/admin.php:99 msgid "" -"

Protected Permissions
Allow access for logged in users " -"and administrators without needing to enter a password. You will need to enable " -"this option if you want administrators to be able to preview the site in the " -"Theme Customizer. Also allow RSS Feeds to be accessed when the site is password " -"protected.

" +"

Protected Permissions
Allow access for logged in users and administrators without needing to enter a password. You will need to enable this option if you want administrators to be able to preview the site in " +"the Theme Customizer. Also allow RSS Feeds to be accessed when the site is password protected.

" msgstr "" -#: ../admin/admin.php:83 -msgid "" -"

Password Fields
To set a new password, enter it into " -"both fields. You cannot set an `empty` password. To disable password protection " -"uncheck the Enabled checkbox.

" +#: ../admin/admin.php:100 +msgid "

Password Fields
To set a new password, enter it into both fields. You cannot set an `empty` password. To disable password protection uncheck the Enabled checkbox.

" msgstr "" -#: ../admin/admin.php:102 +#: ../admin/admin.php:119 msgid "Password Protected Status" msgstr "" -#: ../admin/admin.php:110 +#: ../admin/admin.php:127 msgid "Protected Permissions" msgstr "" -#: ../admin/admin.php:118 +#: ../admin/admin.php:135 msgid "New Password" msgstr "" -#: ../admin/admin.php:126 +#: ../admin/admin.php:143 msgid "Allow IP Addresses" msgstr "" -#: ../admin/admin.php:155 -msgid "" -"New password not saved. When setting a new password please enter it in both " -"fields." +#: ../admin/admin.php:151 +msgid "Allow Remember me" +msgstr "" + +#: ../admin/admin.php:159 +msgid "Remember for this many days" msgstr "" -#: ../admin/admin.php:158 +#: ../admin/admin.php:191 +msgid "New password not saved. When setting a new password please enter it in both fields." +msgstr "" + +#: ../admin/admin.php:194 msgid "New password not saved. Password fields did not match." msgstr "" -#: ../admin/admin.php:161 +#: ../admin/admin.php:197 msgid "New password saved." msgstr "" -#: ../admin/admin.php:208 -msgid "" -"Password protect your web site. Users will be asked to enter a password to view " -"the site." +#: ../admin/admin.php:244 +msgid "Password protect your web site. Users will be asked to enter a password to view the site." msgstr "" -#: ../admin/admin.php:209 -msgid "" -"For more information about Password Protected settings, view the \"Help\" tab at " -"the top of this page." +#: ../admin/admin.php:245 +msgid "For more information about Password Protected settings, view the \"Help\" tab at the top of this page." msgstr "" -#: ../admin/admin.php:218 +#: ../admin/admin.php:254 msgid "Enabled" msgstr "" -#: ../admin/admin.php:227 +#: ../admin/admin.php:263 msgid "Allow Administrators" msgstr "" -#: ../admin/admin.php:228 +#: ../admin/admin.php:264 msgid "Allow Logged In Users" msgstr "" -#: ../admin/admin.php:229 +#: ../admin/admin.php:265 msgid "Allow RSS Feeds" msgstr "" -#: ../admin/admin.php:238 -msgid "" -"If you would like to change the password type a new one. Otherwise leave this " -"blank." +#: ../admin/admin.php:266 +msgid "Allow REST API Access" +msgstr "" + +#: ../admin/admin.php:275 +msgid "If you would like to change the password type a new one. Otherwise leave this blank." msgstr "" -#: ../admin/admin.php:239 +#: ../admin/admin.php:276 msgid "Type your new password again." msgstr "" -#: ../admin/admin.php:249 +#: ../admin/admin.php:287 +msgid "Enter one IP address per line." +msgstr "" + +#: ../admin/admin.php:289 #, php-format msgid "Your IP is address %s." msgstr "" -#: ../admin/admin.php:290 +#: ../admin/admin.php:350 msgid "http://github.com/benhuson/password-protected" msgstr "" -#: ../admin/admin.php:290 +#: ../admin/admin.php:350 msgid "GitHub" msgstr "" -#: ../admin/admin.php:291 -msgid "" -"https://www.transifex.com/projects/p/password-protected/resource/password-" -"protected/" +#: ../admin/admin.php:351 +msgid "https://translate.wordpress.org/projects/wp-plugins/password-protected" msgstr "" -#: ../admin/admin.php:291 +#: ../admin/admin.php:351 msgid "Translate" msgstr "" -#: ../admin/admin.php:308 +#: ../admin/admin.php:368 msgid "Settings" msgstr "" -#: ../admin/admin.php:336 -msgid "" -"You have enabled password protection but not yet set a password. Please set one " -"below." +#: ../admin/admin.php:396 +msgid "You have enabled password protection but not yet set a password. Please set one below." msgstr "" -#: ../admin/admin.php:341 -msgid "" -"You have enabled password protection and allowed administrators and logged in " -"users - other users will still need to enter a password to view the site." +#: ../admin/admin.php:401 +msgid "You have enabled password protection and allowed administrators and logged in users - other users will still need to enter a password to view the site." msgstr "" -#: ../admin/admin.php:343 -msgid "" -"You have enabled password protection and allowed administrators - other users " -"will still need to enter a password to view the site." +#: ../admin/admin.php:403 +msgid "You have enabled password protection and allowed administrators - other users will still need to enter a password to view the site." msgstr "" -#: ../admin/admin.php:345 -msgid "" -"You have enabled password protection and allowed logged in users - other users " -"will still need to enter a password to view the site." +#: ../admin/admin.php:405 +msgid "You have enabled password protection and allowed logged in users - other users will still need to enter a password to view the site." msgstr "" -#: ../password-protected.php:157 +#: ../password-protected.php:165 #, php-format -msgid "" -"Feeds are not available for this site. Please visit the website." +msgid "Feeds are not available for this site. Please visit the website." msgstr "" -#: ../password-protected.php:299 +#: ../password-protected.php:324 msgid "Incorrect Password" msgstr "" -#: ../password-protected.php:435 ../password-protected.php:439 +#: ../password-protected.php:462 ../password-protected.php:466 msgid "Logout" msgstr "" -#: ../password-protected.php:760 -msgid "" -"The Password Protected plugin does not work with WP Engine hosting. Please " -"disable it." +#: ../password-protected.php:808 +msgid "Only authenticated users can access the REST API." msgstr "" -#: ../theme/password-protected-login.php:42 -msgid "" -"ERROR: Cookies are blocked or not supported by your browser. You " -"must enable cookies to use " -"WordPress." +#: ../theme/password-protected-login.php:53 +msgid "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." msgstr "" -#: ../theme/password-protected-login.php:107 +#: ../theme/password-protected-login.php:120 msgid "Password" msgstr "" + +#: ../theme/password-protected-login.php:126 +msgid "Remember Me" +msgstr "" + +#: ../theme/password-protected-login.php:131 +msgid "Log In" +msgstr "" diff --git a/password-protected.php b/password-protected.php index 01afa34..df702d8 100644 --- a/password-protected.php +++ b/password-protected.php @@ -4,7 +4,7 @@ Plugin Name: Password Protected Plugin URI: https://wordpress.org/plugins/password-protected/ Description: A very simple way to quickly password protect your WordPress site with a single password. Please note: This plugin does not restrict access to uploaded files and images and does not work with some caching setups. -Version: 2.2.4 +Version: 2.2.5 Author: Ben Huson Text Domain: password-protected Author URI: http://github.com/benhuson/password-protected/ @@ -42,7 +42,7 @@ class Password_Protected { - var $version = '2.2.4'; + var $version = '2.2.5'; var $admin = null; var $errors = null; diff --git a/readme.txt b/readme.txt index 3c42b3c..0a667b9 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: husobj Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DXRJDNCMK9U3N Tags: password, protect, password protect, login Requires at least: 3.9 -Tested up to: 5.1 +Tested up to: 5.2.1 Requires PHP: 5.6 -Stable tag: 2.2.4 +Stable tag: 2.2.5 License: GPLv2 or later A very simple way to quickly password protect your WordPress site with a single password. @@ -14,7 +14,7 @@ A very simple way to quickly password protect your WordPress site with a single A very simple way to quickly password protect your WordPress site with a single password. -This plugin only protects your WordPress content. It **does not protect and images or uploaded files** so if you enter and exact URL to in image file it will still be accessible. +This plugin only protects your WordPress generated content. It **does not protect images or uploaded files** so if you enter and exact URL to in image file it will still be accessible. Features include: @@ -81,6 +81,14 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o 2. Password Protected settings page. == Changelog == + += Unreleased = + += 2.2.5 = +- Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form. Props [Jeremy Herve](https://github.com). +- Fix stray "and" in readme. Props [Viktor Szépe](https://github.com/szepeviktor). +- Update Portuguese translation. Props [Jonathan Hult](https://github.com/jhult). +- Update Russian translation. Props [Alexey Chumakov](https://github.com/achumakov). = 2.2.4 = - Check that `$_SERVER['REMOTE_ADDR']` is set. @@ -209,6 +217,12 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o == Upgrade Notice == +### 2.2.5 +Added `password_protected_login_password_title` filter to allow customizing the "Password" label on the login form. + +### 2.2.4 +Check that `$_SERVER['REMOTE_ADDR']` is set. + = 2.2.3 = Restrict REST-API-access only if password protection is active. Added viewport meta tag to login page. diff --git a/theme/password-protected-login.php b/theme/password-protected-login.php index d2d2fd4..d46dc09 100644 --- a/theme/password-protected-login.php +++ b/theme/password-protected-login.php @@ -117,7 +117,7 @@ function wp_login_viewport_meta() {

-

@@ -149,4 +149,4 @@ function wp_login_viewport_meta() {
- \ No newline at end of file +