Changeset 428626
- Timestamp:
- 08/25/2011 11:17:44 AM (15 years ago)
- Location:
- limit-login-attempts
- Files:
-
- 8 edited
- 1 copied
-
tags/1.6.2 (copied) (copied from limit-login-attempts/tags/1.6.1)
-
tags/1.6.2/limit-login-attempts-es_ES.mo (modified) (previous)
-
tags/1.6.2/limit-login-attempts-es_ES.po (modified) (9 diffs)
-
tags/1.6.2/limit-login-attempts.php (modified) (4 diffs)
-
tags/1.6.2/readme.txt (modified) (2 diffs)
-
trunk/languages-old/limit-login-attempts-nl_NL.po (modified) (11 diffs)
-
trunk/limit-login-attempts-admin.php (modified) (2 diffs)
-
trunk/limit-login-attempts.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
limit-login-attempts/tags/1.6.2/limit-login-attempts-es_ES.po
r160010 r428626 8 8 "Project-Id-Version: limit-login-attempts 1.3\n" 9 9 "Report-Msgid-Bugs-To: http://wordpress.org/tag/limit-login-attempts\n" 10 "POT-Creation-Date: 20 09-01-28 17:17+0000\n"11 "PO-Revision-Date: 20 09-07-25 08:07-0300\n"12 "Last-Translator: Marcelo Pedra <marcelo@ ampm-soluciones.com.ar>\n"10 "POT-Creation-Date: 2011-02-17 15:08:09+00:00\n" 11 "PO-Revision-Date: 2011-02-20 09:24-0300\n" 12 "Last-Translator: Marcelo Pedra <marcelo@marcelopedra.com.ar>\n" 13 13 "Language-Team: Español <marcelo@ampm-soluciones.com.ar>\n" 14 14 "MIME-Version: 1.0\n" … … 19 19 "X-Poedit-Country: ARGENTINA\n" 20 20 21 #: limit-login-attempts.php:372 22 #, php-format 21 #: limit-login-attempts.php:474 23 22 msgid "%d hour" 24 23 msgid_plural "%d hours" … … 26 25 msgstr[1] "%d horas" 27 26 28 #: limit-login-attempts.php:378 29 #, php-format 27 #: limit-login-attempts.php:480 30 28 msgid "%d minute" 31 29 msgid_plural "%d minutes" … … 33 31 msgstr[1] "%d minutos" 34 32 35 #: limit-login-attempts.php:381 36 #, php-format 33 #: limit-login-attempts.php:485 37 34 msgid "[%s] Too many failed login attempts" 38 35 msgstr "[%s] Demasiados intentos de acceso fallidos" 39 36 40 #: limit-login-attempts.php:383 41 #, php-format 37 #: limit-login-attempts.php:487 42 38 msgid "%d failed login attempts (%d lockout(s)) from IP: %s" 43 39 msgstr "%d intentos de acceso fallidos (%d bloqueo(s)) desde la IP: %s" 44 40 45 #: limit-login-attempts.php:387 46 #, php-format 41 #: limit-login-attempts.php:491 47 42 msgid "Last user attempted: %s" 48 43 msgstr "Ultimo usuario probado: %s" 49 44 50 #: limit-login-attempts.php:390 51 #, php-format 45 #: limit-login-attempts.php:494 52 46 msgid "IP was blocked for %s" 53 47 msgstr "La IP se ha bloqueado para %s" 54 48 55 #: limit-login-attempts.php: 44549 #: limit-login-attempts.php:551 56 50 msgid "<strong>ERROR</strong>: Too many failed login attempts." 57 51 msgstr "<strong>ERROR</strong>: Demasiados intentos de acceso fallidos." 58 52 59 #: limit-login-attempts.php: 44953 #: limit-login-attempts.php:555 60 54 msgid "Please try again later." 61 55 msgstr "Por favor inténtelo más tarde." 62 56 63 #: limit-login-attempts.php:456 64 #, php-format 57 #: limit-login-attempts.php:562 65 58 msgid "Please try again in %d hour." 66 59 msgid_plural "Please try again in %d hours." … … 68 61 msgstr[1] "Por favor inténtelo dentro de %d horas." 69 62 70 #: limit-login-attempts.php:458 71 #, php-format 63 #: limit-login-attempts.php:564 72 64 msgid "Please try again in %d minute." 73 65 msgid_plural "Please try again in %d minutes." … … 75 67 msgstr[1] "Por favor inténtelo dentro de %d minutos." 76 68 77 #: limit-login-attempts.php:487 78 #, php-format 69 #: limit-login-attempts.php:593 79 70 msgid "<strong>%d</strong> attempt remaining." 80 71 msgid_plural "<strong>%d</strong> attempts remaining." … … 82 73 msgstr[1] "Le quedan <strong>%d</strong> intentos más." 83 74 84 #: limit-login-attempts.php: 55175 #: limit-login-attempts.php:658 85 76 msgid "<strong>ERROR</strong>: Incorrect username or password." 86 77 msgstr "<strong>ERROR</strong>: Nombre de usuario o contraseña incorrectos." 87 78 88 #: limit-login-attempts.php:714 89 msgid "IP|Internet address" 90 msgstr "IP|Dirección de Internet" 91 92 #: limit-login-attempts.php:714 79 #: limit-login-attempts.php:826 80 msgctxt "Internet address" 81 msgid "IP" 82 msgstr "IP" 83 84 #: limit-login-attempts.php:826 93 85 msgid "Tried to log in as" 94 86 msgstr "Intentó ingresar como" 95 87 96 #: limit-login-attempts.php:719 97 #, php-format 88 #: limit-login-attempts.php:831 98 89 msgid "%d lockout" 99 90 msgid_plural "%d lockouts" … … 101 92 msgstr[1] "%d bloqueos" 102 93 103 #: limit-login-attempts.php: 74394 #: limit-login-attempts.php:860 104 95 msgid "Cleared IP log" 105 96 msgstr "Direcciones liberadas" 106 97 107 #: limit-login-attempts.php: 75198 #: limit-login-attempts.php:868 108 99 msgid "Reset lockout count" 109 100 msgstr "Reiniciar contador de bloqueos" 110 101 111 #: limit-login-attempts.php: 759102 #: limit-login-attempts.php:876 112 103 msgid "Cleared current lockouts" 113 104 msgstr "Bloqueos actuales liberados" 114 105 115 #: limit-login-attempts.php: 788106 #: limit-login-attempts.php:905 116 107 msgid "Options changed" 117 108 msgstr "Opciones actualizadas" 118 109 119 #: limit-login-attempts.php:799 120 msgid "<strong>NOTE:</strong> Only works in Wordpress 2.7 or later" 121 msgstr "<strong>NOTA:</strong> Este plugin sólo funciona en Wordpress 2.7 o superior" 122 123 #: limit-login-attempts.php:815 124 #, php-format 110 #: limit-login-attempts.php:923 125 111 msgid "It appears the site is reached directly (from your IP: %s)" 126 112 msgstr "Al parecer, el sitio está siendo accedido directamente (desde tu IP: %s)" 127 113 128 #: limit-login-attempts.php:817 129 #, php-format 114 #: limit-login-attempts.php:925 130 115 msgid "It appears the site is reached through a proxy server (proxy IP: %s, your IP: %s)" 131 116 msgstr "Al parecer, el sitio está siendo accedido desde un servidor proxy (IP del proxy: %s, tu IP: %s)" 132 117 133 #: limit-login-attempts.php:825 134 #, php-format 118 #: limit-login-attempts.php:933 135 119 msgid "<strong>Current setting appears to be invalid</strong>. Please make sure it is correct. Further information can be found <a href=\"%s\" title=\"FAQ\">here</a>" 136 120 msgstr "<strong>La configuración actual parece ser incorrecta</strong>. Asegúrate de verificarla. Para mayor información, <a href=\"%s\" title=\"FAQ\">click aquí</a>" 137 121 138 #: limit-login-attempts.php: 833122 #: limit-login-attempts.php:941 139 123 msgid "Limit Login Attempts Settings" 140 124 msgstr "Preferencias del Limitador de Acceso" 141 125 142 #: limit-login-attempts.php: 834126 #: limit-login-attempts.php:942 143 127 msgid "Statistics" 144 128 msgstr "Estadísticas" 145 129 146 #: limit-login-attempts.php: 838130 #: limit-login-attempts.php:947 147 131 msgid "Total lockouts" 148 132 msgstr "Bloqueos totales" 149 133 150 #: limit-login-attempts.php: 841134 #: limit-login-attempts.php:950 151 135 msgid "Reset Counter" 152 136 msgstr "Reiniciar contador" 153 137 154 #: limit-login-attempts.php:842 155 #, php-format 138 #: limit-login-attempts.php:951 156 139 msgid "%d lockout since last reset" 157 140 msgid_plural "%d lockouts since last reset" … … 159 142 msgstr[1] "%d bloqueos desde el último reinicio." 160 143 161 #: limit-login-attempts.php: 843144 #: limit-login-attempts.php:952 162 145 msgid "No lockouts yet" 163 146 msgstr "Ningún bloqueo hasta ahora" 164 147 165 #: limit-login-attempts.php: 848148 #: limit-login-attempts.php:957 166 149 msgid "Active lockouts" 167 150 msgstr "Bloqueos activos" 168 151 169 #: limit-login-attempts.php: 850152 #: limit-login-attempts.php:959 170 153 msgid "Restore Lockouts" 171 154 msgstr "Restablecer bloqueos" 172 155 173 #: limit-login-attempts.php:851 174 #, php-format 156 #: limit-login-attempts.php:960 175 157 msgid "%d IP is currently blocked from trying to log in" 176 158 msgstr "La IP %d actualmente tiene restringido el acceso" 177 159 178 #: limit-login-attempts.php: 857160 #: limit-login-attempts.php:966 179 161 msgid "Options" 180 162 msgstr "Opciones" 181 163 182 #: limit-login-attempts.php: 861164 #: limit-login-attempts.php:971 183 165 msgid "Lockout" 184 166 msgstr "Bloqueo" 185 167 186 #: limit-login-attempts.php: 863168 #: limit-login-attempts.php:973 187 169 msgid "allowed retries" 188 170 msgstr "reintentos permitidos" 189 171 190 #: limit-login-attempts.php: 864172 #: limit-login-attempts.php:974 191 173 msgid "minutes lockout" 192 174 msgstr "minutos por bloqueo" 193 175 194 #: limit-login-attempts.php: 865176 #: limit-login-attempts.php:975 195 177 msgid "lockouts increase lockout time to" 196 178 msgstr "bloqueos incrementan el tiempo a" 197 179 198 #: limit-login-attempts.php: 865180 #: limit-login-attempts.php:975 199 181 msgid "hours" 200 182 msgstr "horas" 201 183 202 #: limit-login-attempts.php: 866184 #: limit-login-attempts.php:976 203 185 msgid "hours until retries are reset" 204 186 msgstr "horas hasta restablecer los reintentos" 205 187 206 #: limit-login-attempts.php: 870188 #: limit-login-attempts.php:980 207 189 msgid "Site connection" 208 190 msgstr "Conexión" 209 191 210 #: limit-login-attempts.php: 876192 #: limit-login-attempts.php:986 211 193 msgid "Direct connection" 212 194 msgstr "Connexión directa" 213 195 214 #: limit-login-attempts.php: 881196 #: limit-login-attempts.php:991 215 197 msgid "From behind a reversy proxy" 216 198 msgstr "Detrás de un proxy" 217 199 218 #: limit-login-attempts.php: 887200 #: limit-login-attempts.php:997 219 201 msgid "Handle cookie login" 220 202 msgstr "Gestionar cookies de login" 221 203 222 #: limit-login-attempts.php: 889204 #: limit-login-attempts.php:999 223 205 msgid "Yes" 224 206 msgstr "Sí" 225 207 226 #: limit-login-attempts.php: 889208 #: limit-login-attempts.php:999 227 209 msgid "No" 228 210 msgstr "No" 229 211 230 #: limit-login-attempts.php: 894212 #: limit-login-attempts.php:1003 231 213 msgid "Notify on lockout" 232 214 msgstr "Notificar al bloquear" 233 215 234 #: limit-login-attempts.php: 896216 #: limit-login-attempts.php:1005 235 217 msgid "Log IP" 236 218 msgstr "Registrar IP" 237 219 238 #: limit-login-attempts.php: 897220 #: limit-login-attempts.php:1006 239 221 msgid "Email to admin after" 240 222 msgstr "Enviar email al administrador cada" 241 223 242 #: limit-login-attempts.php: 897224 #: limit-login-attempts.php:1006 243 225 msgid "lockouts" 244 226 msgstr "bloqueos" 245 227 246 #: limit-login-attempts.php: 902228 #: limit-login-attempts.php:1011 247 229 msgid "Change Options" 248 230 msgstr "Cambiar opciones" 249 231 250 #: limit-login-attempts.php: 910232 #: limit-login-attempts.php:1019 251 233 msgid "Lockout log" 252 234 msgstr "Registro de bloqueos" 253 235 254 #: limit-login-attempts.php: 914236 #: limit-login-attempts.php:1024 255 237 msgid "Clear Log" 256 238 msgstr "Limpiar registro" 257 239 258 #. Plugin Name of an extension240 #. Plugin Name of the plugin/theme 259 241 msgid "Limit Login Attempts" 260 242 msgstr "Límitador de intentos de login" 261 243 262 #. Plugin URI of an extension244 #. Plugin URI of the plugin/theme 263 245 msgid "http://devel.kostdoktorn.se/limit-login-attempts" 264 246 msgstr "http://devel.kostdoktorn.se/limit-login-attempts" 265 247 266 #. Description of an extension248 #. Description of the plugin/theme 267 249 msgid "Limit rate of login attempts, including by way of cookies, for each IP." 268 250 msgstr "Limita la tasa de intentos de acceso, usando cookies por IP." 269 251 270 #. Author of an extension252 #. Author of the plugin/theme 271 253 msgid "Johan Eenfeldt" 272 254 msgstr "Johan Eenfeldt" 273 255 274 #. Author URI of an extension256 #. Author URI of the plugin/theme 275 257 msgid "http://devel.kostdoktorn.se" 276 258 msgstr "http://devel.kostdoktorn.se" 277 259 260 #~ msgid "IP|Internet address" 261 #~ msgstr "IP|Dirección de Internet" 262 #~ msgid "<strong>NOTE:</strong> Only works in Wordpress 2.7 or later" 263 #~ msgstr "" 264 #~ "<strong>NOTA:</strong> Este plugin sólo funciona en Wordpress 2.7 o " 265 #~ "superior" 266 -
limit-login-attempts/tags/1.6.2/limit-login-attempts.php
r346913 r428626 7 7 Author URI: http://devel.kostdoktorn.se 8 8 Text Domain: limit-login-attempts 9 Version: 1.6. 19 Version: 1.6.2 10 10 11 11 Copyright 2008 - 2011 Johan Eenfeldt … … 86 86 */ 87 87 88 limit_login_setup();88 add_action('init', 'limit_login_setup'); 89 89 90 90 … … 502 502 /* Logging of lockout (if configured) */ 503 503 function limit_login_notify_log($user) { 504 $log = get_option('limit_login_logged'); 504 $log = $option = get_option('limit_login_logged'); 505 if (!is_array($log)) { 506 $log = array(); 507 } 505 508 $ip = limit_login_get_address(); 506 if (!is_array($log)) { 507 $log = array($ip => array($user => 1)); 509 510 /* can be written much simpler, if you do not mind php warnings */ 511 if (isset($log[$ip])) { 512 if (isset($log[$ip][$user])) { 513 $log[$ip][$user]++; 514 } else { 515 $log[$ip][$user] = 1; 516 } 517 } else { 518 $log[$ip] = array($user => 1); 519 } 520 521 if ($option === false) { 508 522 add_option('limit_login_logged', $log, '', 'no'); /* no autoload */ 509 523 } else { 510 /* can be written much simpler, if you do not mind php warnings */511 if (isset($log[$ip])) {512 if (isset($log[$ip][$user])) {513 $log[$ip][$user]++;514 } else {515 $log[$ip][$user] = 1;516 }517 } else {518 $log[$ip] = array($user => 1);519 }520 524 update_option('limit_login_logged', $log); 521 525 } … … 856 860 /* Should we clear log? */ 857 861 if (isset($_POST['clear_log'])) { 858 update_option('limit_login_logged', '');862 delete_option('limit_login_logged'); 859 863 echo '<div id="message" class="updated fade"><p>' 860 864 . __('Cleared IP log', 'limit-login-attempts') -
limit-login-attempts/tags/1.6.2/readme.txt
r346944 r428626 3 3 Tags: login, security, authentication 4 4 Requires at least: 2.8 5 Tested up to: 3. 1-RC46 Stable tag: 1.6. 15 Tested up to: 3.2.1 6 Stable tag: 1.6.2 7 7 8 8 Limit rate of login attempts, including by way of cookies, for each IP. Fully customizable. … … 67 67 68 68 == Changelog == 69 70 = 1.6.2 = 71 * Fix bug where log would not get updated after it had been cleared 72 * Do plugin setup in 'init' action 73 * Small update to Spanish translation file, thanks to Marcelo Pedra 74 * Tested against WordPress 3.2.1 69 75 70 76 = 1.6.1 = -
limit-login-attempts/trunk/languages-old/limit-login-attempts-nl_NL.po
r272921 r428626 1 # Limit Login Attempts SwedishTranslation1 # Limit Login Attempts German Translation 2 2 # Copyright (C) 2009 Johan Eenfeldt 3 3 # This file is distributed under the same license as the Wordpress package. … … 6 6 msgid "" 7 7 msgstr "" 8 "Project-Id-Version: limit-login-attempts 1. 2\n"8 "Project-Id-Version: limit-login-attempts 1.3\n" 9 9 "Report-Msgid-Bugs-To: http://wordpress.org/tag/limit-login-attempts\n" 10 10 "POT-Creation-Date: 2009-01-28 17:17+0000\n" 11 "PO-Revision-Date: 20 09-07-15 13:14+0100\n"12 "Last-Translator: Rune G <dev@bloggs.be>\n"13 "Language-Team: DigitalHverdag <dev@bloggs.be>\n"11 "PO-Revision-Date: 2010-03-19 13:52+0100\n" 12 "Last-Translator: BjornW <burobjorn@burobjorn.nl>\n" 13 "Language-Team: German <michael@skerwiderski.de>\n" 14 14 "MIME-Version: 1.0\n" 15 15 "Content-Type: text/plain; charset=UTF-8\n" 16 16 "Content-Transfer-Encoding: 8bit\n" 17 17 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 18 "X-Poedit-Language: Norwegian Bokmal\n"19 "X-Poedit-Country: NORWAY\n"18 "X-Poedit-Language: German\n" 19 "X-Poedit-Country: GERMANY\n" 20 20 21 21 #: limit-login-attempts.php:372 … … 23 23 msgid "%d hour" 24 24 msgid_plural "%d hours" 25 msgstr[0] "%d time"26 msgstr[1] "%d timer"25 msgstr[0] "%d uur" 26 msgstr[1] "%d uren" 27 27 28 28 #: limit-login-attempts.php:378 … … 30 30 msgid "%d minute" 31 31 msgid_plural "%d minutes" 32 msgstr[0] "%d minut t"33 msgstr[1] "%d minut ter"32 msgstr[0] "%d minute" 33 msgstr[1] "%d minuten" 34 34 35 35 #: limit-login-attempts.php:381 36 36 #, php-format 37 37 msgid "[%s] Too many failed login attempts" 38 msgstr "[%s] For mange påloggingsforsøk"38 msgstr "[%s] Teveel gefaalde login pogingen" 39 39 40 40 #: limit-login-attempts.php:383 41 41 #, php-format 42 42 msgid "%d failed login attempts (%d lockout(s)) from IP: %s" 43 msgstr "%d påloggingsforsøk (stoppet %d gang(er)) fraIP: %s"43 msgstr "%d gefaalde login pogingen (%d blokkades) van IP: %s" 44 44 45 45 #: limit-login-attempts.php:387 46 46 #, php-format 47 47 msgid "Last user attempted: %s" 48 msgstr " Siste brukernavn som feilet: %s"48 msgstr "Laatste inlogpoging werd gedaan met de gebruikersnaam: %s" 49 49 50 50 #: limit-login-attempts.php:390 51 51 #, php-format 52 52 msgid "IP was blocked for %s" 53 msgstr "IP blokkert i %s"53 msgstr "IP was geblokkeerd voor %s." 54 54 55 55 #: limit-login-attempts.php:445 56 56 msgid "<strong>ERROR</strong>: Too many failed login attempts." 57 msgstr "<strong>F eil</strong>: For mange påloggingsforsøk."57 msgstr "<strong>FOUT</strong>: Teveel gefaalde inlogpogingen." 58 58 59 59 #: limit-login-attempts.php:449 60 60 msgid "Please try again later." 61 msgstr "Pr øv igjen senere"61 msgstr "Probeer het later nogmaals" 62 62 63 63 #: limit-login-attempts.php:456 … … 65 65 msgid "Please try again in %d hour." 66 66 msgid_plural "Please try again in %d hours." 67 msgstr[0] " Prøv igjen om %d time."68 msgstr[1] "Pr øv igjen om %d timer."67 msgstr[0] ".Probeer het over %d uur nogmaals." 68 msgstr[1] "Probeer het over %d uren nogmaals." 69 69 70 70 #: limit-login-attempts.php:458 … … 72 72 msgid "Please try again in %d minute." 73 73 msgid_plural "Please try again in %d minutes." 74 msgstr[0] "Pr øv igjen om %d minutt."75 msgstr[1] "Pr øv igjen om %d minutter."74 msgstr[0] "Probeer het over %d minuut nogmaals" 75 msgstr[1] "Probeer het over %d minuten nogmaals." 76 76 77 77 #: limit-login-attempts.php:487 … … 79 79 msgid "<strong>%d</strong> attempt remaining." 80 80 msgid_plural "<strong>%d</strong> attempts remaining." 81 msgstr[0] " <strong>%d</strong> forsøk gjenstår."82 msgstr[1] " <strong>%d</strong> forsøk gjenstår."81 msgstr[0] "Nog <strong>%d</strong> loginpoging mogelijk." 82 msgstr[1] "Nog <strong>%d</strong> loginpogingen mogelijk." 83 83 84 84 #: limit-login-attempts.php:551 85 85 msgid "<strong>ERROR</strong>: Incorrect username or password." 86 msgstr "<strong>F eil</strong>: Feil brukernavn eller passord."86 msgstr "<strong>FOUT</strong>: Ongeldige gebruikersnaam of wachtwoord." 87 87 88 88 #: limit-login-attempts.php:714 89 89 msgid "IP|Internet address" 90 msgstr "IP "90 msgstr "IP|Internet adres" 91 91 92 92 #: limit-login-attempts.php:714 93 93 msgid "Tried to log in as" 94 msgstr " Prøvde å logge inn som"94 msgstr "Inlogpoging als" 95 95 96 96 #: limit-login-attempts.php:719 … … 98 98 msgid "%d lockout" 99 99 msgid_plural "%d lockouts" 100 msgstr[0] "%d blokkering"101 msgstr[1] "%d blokkeringer"100 msgstr[0] "%d Blokkade" 101 msgstr[1] "%d Blokkades" 102 102 103 103 #: limit-login-attempts.php:743 104 104 msgid "Cleared IP log" 105 msgstr " Nullstill IP loggen"105 msgstr "IP log is gewist" 106 106 107 107 #: limit-login-attempts.php:751 108 108 msgid "Reset lockout count" 109 msgstr " Nullstill antall blokkeringer"109 msgstr "Reset blokkades teller" 110 110 111 111 #: limit-login-attempts.php:759 112 112 msgid "Cleared current lockouts" 113 msgstr " Fjernet gjeldende blokkeringer"113 msgstr "Actieve blokkades zijn gewist" 114 114 115 115 #: limit-login-attempts.php:788 116 116 msgid "Options changed" 117 msgstr "In nstillinger endret"117 msgstr "Instellingen zijn gewijzigd" 118 118 119 119 #: limit-login-attempts.php:799 120 120 msgid "<strong>NOTE:</strong> Only works in Wordpress 2.7 or later" 121 msgstr "<strong>NB:</strong> Du må bruker WordPress 2.7 eller nyere"121 msgstr "<strong>NB:</strong> Werkt alleen vanaf Wordpress 2.7 of hogere versie nummers" 122 122 123 123 #: limit-login-attempts.php:815 124 124 #, php-format 125 125 msgid "It appears the site is reached directly (from your IP: %s)" 126 msgstr " Det ser ut som om du kan nå bloggen direkte (fra din IP: %s)"126 msgstr "Het lijkt erop dat de site direct te bereiken is (van uw IP-adres: %s)" 127 127 128 128 #: limit-login-attempts.php:817 129 129 #, php-format 130 130 msgid "It appears the site is reached through a proxy server (proxy IP: %s, your IP: %s)" 131 msgstr " Det ser ut som om bloggen din er bak en proxy server (proxy IP: %s, din IP: %s)"131 msgstr "Het lijkt erop dat de site te bereiken is via een proxy server, (Proxy Server IP adres: %s, Uw IP-adres: %s)" 132 132 133 133 #: limit-login-attempts.php:825 134 134 #, php-format 135 135 msgid "<strong>Current setting appears to be invalid</strong>. Please make sure it is correct. Further information can be found <a href=\"%s\" title=\"FAQ\">here</a>" 136 msgstr "<strong>D ine innstillinger kan være feil</strong>. Sjekk at de er korrekte. Mer informasjon <a href=\"%s\" title=\"FAQ\">her</a>"136 msgstr "<strong>De huidige instelling lijkt ongeldig te zijn</strong>. Pas deze zo aan dat deze wel geldig is, informatie over hoe u dit kunt doen kunt u vinden in de <a href=\"%s\" title=\"FAQ\">FAQ</a> (in het Engels)." 137 137 138 138 #: limit-login-attempts.php:833 139 139 msgid "Limit Login Attempts Settings" 140 msgstr "Limit Login Attempts In nstillinger"140 msgstr "Limit Login Attempts Instellingen" 141 141 142 142 #: limit-login-attempts.php:834 143 143 msgid "Statistics" 144 msgstr "Statisti kk"144 msgstr "Statistieken" 145 145 146 146 #: limit-login-attempts.php:838 147 147 msgid "Total lockouts" 148 msgstr "Tota lt antall blokkeringer"148 msgstr "Totaal aantal blokkades" 149 149 150 150 #: limit-login-attempts.php:841 151 151 msgid "Reset Counter" 152 msgstr " Nullstill teller"152 msgstr "Teller resetten" 153 153 154 154 #: limit-login-attempts.php:842 … … 156 156 msgid "%d lockout since last reset" 157 157 msgid_plural "%d lockouts since last reset" 158 msgstr[0] "%d blokkering siden siste nullstilling"159 msgstr[1] "%d blokkeringer siden siste nullstilling"158 msgstr[0] "%d Blokkade sinds de laatste reset" 159 msgstr[1] "%d Blokkades sinds de laatste reset" 160 160 161 161 #: limit-login-attempts.php:843 162 162 msgid "No lockouts yet" 163 msgstr " Ingen blokkeringer enda"163 msgstr "Nog geen blokkades actief" 164 164 165 165 #: limit-login-attempts.php:848 166 166 msgid "Active lockouts" 167 msgstr "A ktive blokkeringer"167 msgstr "Actieve blokkades" 168 168 169 169 #: limit-login-attempts.php:850 170 170 msgid "Restore Lockouts" 171 msgstr " Fjern blokkeringer"171 msgstr "Blokkades opheffen" 172 172 173 173 #: limit-login-attempts.php:851 174 174 #, php-format 175 175 msgid "%d IP is currently blocked from trying to log in" 176 msgstr "%d IP står på blokkeringslisten"176 msgstr "%d IP is op dit moment voor inloggen geblokkeerd" 177 177 178 178 #: limit-login-attempts.php:857 179 179 msgid "Options" 180 msgstr "In nstillinger"180 msgstr "Instellingen" 181 181 182 182 #: limit-login-attempts.php:861 183 183 msgid "Lockout" 184 msgstr "Blokk ering"184 msgstr "Blokkade" 185 185 186 186 #: limit-login-attempts.php:863 187 187 msgid "allowed retries" 188 msgstr " Antall påloggingsforsøk"188 msgstr "mogelijke inlogpogingen" 189 189 190 190 #: limit-login-attempts.php:864 191 191 msgid "minutes lockout" 192 msgstr " minutters blokkering"192 msgstr "Aantal minuten geblokkeerd na een gefaalde inlogpoging" 193 193 194 194 #: limit-login-attempts.php:865 195 195 msgid "lockouts increase lockout time to" 196 msgstr "Blokk eringer øker blokkeringstiden til"196 msgstr "Blokkades verhogen de blokkade tijd naar" 197 197 198 198 #: limit-login-attempts.php:865 199 199 msgid "hours" 200 msgstr " timer"200 msgstr "uren" 201 201 202 202 #: limit-login-attempts.php:866 203 203 msgid "hours until retries are reset" 204 msgstr " timer til nullstilling"204 msgstr "aantal uren voordat het aantal ondernomen pogingen wordt gereset" 205 205 206 206 #: limit-login-attempts.php:870 207 207 msgid "Site connection" 208 msgstr " Blogg forbindelse"208 msgstr "Verbinding naar deze website" 209 209 210 210 #: limit-login-attempts.php:876 211 211 msgid "Direct connection" 212 msgstr "Dire kte forbindelse"212 msgstr "Directe verbinding" 213 213 214 214 #: limit-login-attempts.php:881 215 215 msgid "From behind a reversy proxy" 216 msgstr " Bak en omvendtproxy"216 msgstr "Via een reverse-proxy" 217 217 218 218 #: limit-login-attempts.php:887 219 219 msgid "Handle cookie login" 220 msgstr " Behandle pålogginger med cookies"220 msgstr "Omgaan met cookie loginverzoeken" 221 221 222 222 #: limit-login-attempts.php:889 … … 226 226 #: limit-login-attempts.php:889 227 227 msgid "No" 228 msgstr "Ne i"228 msgstr "Nee" 229 229 230 230 #: limit-login-attempts.php:894 231 231 msgid "Notify on lockout" 232 msgstr " Gi melding om blokkering"232 msgstr "Waarschuwen in het geval van een blokkade" 233 233 234 234 #: limit-login-attempts.php:896 235 235 msgid "Log IP" 236 msgstr "Log g IP"236 msgstr "Log IP adres" 237 237 238 238 #: limit-login-attempts.php:897 239 239 msgid "Email to admin after" 240 msgstr " Send epost til admin etter"240 msgstr "Email de beheerder na" 241 241 242 242 #: limit-login-attempts.php:897 243 243 msgid "lockouts" 244 msgstr " blokkeringer"244 msgstr "Blokkades" 245 245 246 246 #: limit-login-attempts.php:902 247 247 msgid "Change Options" 248 msgstr " Endre innstillinger"248 msgstr "Instellingen aanpassen" 249 249 250 250 #: limit-login-attempts.php:910 251 251 msgid "Lockout log" 252 msgstr " Blokkerings logg"252 msgstr "Log van blokkades" 253 253 254 254 #: limit-login-attempts.php:914 255 255 msgid "Clear Log" 256 msgstr " Nullstill loggen"256 msgstr "Log wissen" 257 257 258 258 #. Plugin Name of an extension 259 259 msgid "Limit Login Attempts" 260 msgstr " Begrense påloggingsforsøk"260 msgstr "Limit Login Attempts" 261 261 262 262 #. Plugin URI of an extension … … 266 266 #. Description of an extension 267 267 msgid "Limit rate of login attempts, including by way of cookies, for each IP." 268 msgstr "Be grenser antall påloggingsforsøk, inkludert forsøk med cookies, for alle IPer"268 msgstr "Beperkt het aantal inlogpogingen, inclusief bij het gebruik van cookies, voor elk IP adres." 269 269 270 270 #. Author of an extension -
limit-login-attempts/trunk/limit-login-attempts-admin.php
r346913 r428626 40 40 /* Level of the different roles. Used for descriptive purposes only */ 41 41 $GLOBALS['limit_login_level_role'] = 42 array(0 => __('Subscriber', 'limit-login-attempts')43 , 1 => __('Contributor', 'limit-login-attempts')44 , 2 => __('Author', 'limit-login-attempts')45 , 7 => __('Editor', 'limit-login-attempts')46 , 10 => __('Administrator', 'limit-login-attempts'));42 array(0 => __('Subscriber', 'limit-login-attempts') 43 , 1 => __('Contributor', 'limit-login-attempts') 44 , 2 => __('Author', 'limit-login-attempts') 45 , 7 => __('Editor', 'limit-login-attempts') 46 , 10 => __('Administrator', 'limit-login-attempts')); 47 47 48 48 … … 200 200 global $limit_login_option_page; 201 201 202 limit_login_cleanup();203 204 202 if (!current_user_can('manage_options')) 205 203 wp_die('Sorry, but you do not have permissions to change settings.'); 204 205 limit_login_cleanup(); 206 206 207 207 /* Make sure post was from this page */ -
limit-login-attempts/trunk/limit-login-attempts.php
r346913 r428626 37 37 * 38 38 * Future: 39 * - cookie login: need better failed attempts handling40 39 * - add logging of registration lockouts 41 40 * - add user_meta with IP when registering users to allow trace 42 * - track last login?41 * - track when last login, IP of last few successful logins 43 42 */ 44 43 … … 102 101 add_action('plugins_loaded', 'limit_login_handle_cookies', 99999); 103 102 add_action('auth_cookie_bad_hash', 'limit_login_failed_cookie'); 104 add_action('auth_cookie_bad_username', 'limit_login_failed_cookie'); 103 104 global $wp_version; 105 106 /* auth_cookie_valid action only available in WP >= 3.0 */ 107 if (version_compare($wp_version, '3.0', '>=')) { 108 add_action('auth_cookie_bad_hash', 'limit_login_failed_cookie_hash'); 109 add_action('auth_cookie_valid', 'limit_login_valid_cookie', 10, 2); 110 } else { 111 add_action('auth_cookie_bad_hash', 'limit_login_failed_cookie'); 112 } 105 113 } 106 114 … … 171 179 $error_codes[] = 'too_many_retries'; 172 180 return $error_codes; 181 } 182 183 184 /* 185 * Action: failed cookie login hash 186 * 187 * Make sure same invalid cookie doesn't get counted more than once. 188 * 189 * Requires WordPress version 3.0.0, previous versions use limit_login_failed_cookie() 190 */ 191 function limit_login_failed_cookie_hash($cookie_elements) { 192 limit_login_clear_auth_cookie(); 193 194 /* 195 * Under some conditions an invalid auth cookie will be used multiple 196 * times, which results in multiple failed attempts from that one 197 * cookie. 198 * 199 * Unfortunately I've not been able to replicate this consistently and 200 * thus have not been able to make sure what the exact cause is. 201 * 202 * Probably it is because a reload of for example the admin dashboard 203 * might result in multiple requests from the browser before the invalid 204 * cookie can be cleared. 205 * 206 * Handle this by only counting the first attempt when the exact same 207 * cookie is attempted for a user. 208 */ 209 210 extract($cookie_elements, EXTR_OVERWRITE); 211 212 // Check if cookie is for a valid user 213 $user = get_userdatabylogin($username); 214 if (!$user) { 215 // "shouldn't happen" for this action 216 limit_login_failed($username); 217 return; 218 } 219 220 $previous_cookie = get_user_meta($user->ID, 'limit_login_previous_cookie', true); 221 if ($previous_cookie && $previous_cookie == $cookie_elements) { 222 // Identical cookies, ignore this attempt 223 return; 224 } 225 226 // Store cookie 227 if ($previous_cookie) 228 update_user_meta($user->ID, 'limit_login_previous_cookie', $cookie_elements); 229 else 230 add_user_meta($user->ID, 'limit_login_previous_cookie', $cookie_elements, true); 231 232 limit_login_failed($username); 233 } 234 235 236 /* 237 * Action: successful cookie login 238 * 239 * Clear any stored cookie in user_meta. 240 * 241 * Requires WordPress version 3.0.0, not used in previous versions 242 */ 243 function limit_login_valid_cookie($cookie_elements, $user) { 244 /* 245 * As all meta values get cached on user load this should not require 246 * any extra work for the common case of no stored value. 247 */ 248 249 if (get_user_meta($user->ID, 'limit_login_previous_cookie')) 250 delete_user_meta($user->ID, 'limit_login_previous_cookie'); 173 251 } 174 252 -
limit-login-attempts/trunk/readme.txt
r346944 r428626 4 4 Requires at least: 2.8 5 5 Tested up to: 3.0.1 6 Stable tag: 1.6. 16 Stable tag: 1.6.2 7 7 8 8 Limit rate of login attempts for each IP. Also support additional security for password reset, rate limit on new user registrations, and more. … … 123 123 * Only autoload the necessary option table entries 124 124 * Log time of last lockout for each IP in log; keep track of last increase + last clear for statistics 125 * Forward-merged changes from versions 1.5 - 1. 5.2126 * Move translations to separate director ies125 * Forward-merged changes from versions 1.5 - 1.6.1 126 * Move translations to separate directory 127 127 * Updated Swedish translation 128 128 * Updated Bulgarian translation, thanks to Hristo Chakarov
Note: See TracChangeset
for help on using the changeset viewer.