From 6f89d2c8ecf94fbd61ee1eccd8e1660b61f82023 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sat, 26 Sep 2015 03:14:22 +0200 Subject: [PATCH] [FIX] incorrect name for the module; --- auth_brute_force/controllers/controllers.py | 2 +- auth_brute_force/data/ir_config_parameter.xml | 2 +- ...th_brut_force.pot => auth_brute_force.pot} | 74 +++++++++---------- auth_brute_force/i18n/fr.po | 64 ++++++++-------- 4 files changed, 71 insertions(+), 71 deletions(-) rename auth_brute_force/i18n/{auth_brut_force.pot => auth_brute_force.pot} (57%) diff --git a/auth_brute_force/controllers/controllers.py b/auth_brute_force/controllers/controllers.py index e1b089b49..815030960 100644 --- a/auth_brute_force/controllers/controllers.py +++ b/auth_brute_force/controllers/controllers.py @@ -47,7 +47,7 @@ class LoginController(Home): # Get Settings config_id = config_obj.search(cursor, SUPERUSER_ID, [( 'key', '=', - 'auth_brut_force.max_attempt_qty')]) + 'auth_brute_force.max_attempt_qty')]) max_attempts_qty = int(config_obj.browse( cursor, SUPERUSER_ID, config_id).value) diff --git a/auth_brute_force/data/ir_config_parameter.xml b/auth_brute_force/data/ir_config_parameter.xml index e1926feee..63a904623 100644 --- a/auth_brute_force/data/ir_config_parameter.xml +++ b/auth_brute_force/data/ir_config_parameter.xml @@ -21,7 +21,7 @@ - auth_brut_force.max_attempt_qty + auth_brute_force.max_attempt_qty 10 diff --git a/auth_brute_force/i18n/auth_brut_force.pot b/auth_brute_force/i18n/auth_brute_force.pot similarity index 57% rename from auth_brute_force/i18n/auth_brut_force.pot rename to auth_brute_force/i18n/auth_brute_force.pot index 2230e24fc..52f9bf6f4 100644 --- a/auth_brute_force/i18n/auth_brut_force.pot +++ b/auth_brute_force/i18n/auth_brute_force.pot @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * auth_brut_force +# * auth_brute_force # msgid "" msgstr "" @@ -15,136 +15,136 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_banned_remote.py:75 +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_banned_remote.py:75 #, python-format msgid "%s %s - %s %s (ISP: %s)" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,active:0 msgid "Active" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,attempt_date:0 msgid "Attempt Date" msgstr "" -#. module: auth_brut_force -#: model:ir.actions.act_window,name:auth_brut_force.action_res_authentication_attempt -#: model:ir.ui.menu,name:auth_brut_force.menu_res_authentication_attempt +#. module: auth_brute_force +#: model:ir.actions.act_window,name:auth_brute_force.action_res_authentication_attempt +#: model:ir.ui.menu,name:auth_brute_force.menu_res_authentication_attempt msgid "Authentication Attempts" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,result:0 msgid "Authentication Result" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,ban_date:0 msgid "Ban Date" msgstr "" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_authentication_attempt.py:34 -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_authentication_attempt.py:34 +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search #: selection:res.authentication.attempt,result:0 #, python-format msgid "Banned" msgstr "" -#. module: auth_brut_force -#: model:ir.actions.act_window,name:auth_brut_force.action_res_banned_remote -#: model:ir.ui.menu,name:auth_brut_force.menu_res_banned_remote +#. module: auth_brute_force +#: model:ir.actions.act_window,name:auth_brute_force.action_res_banned_remote +#: model:ir.ui.menu,name:auth_brute_force.menu_res_banned_remote msgid "Banned Remotes" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,create_uid:0 #: field:res.banned.remote,create_uid:0 msgid "Created by" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,create_date:0 #: field:res.banned.remote,create_date:0 msgid "Created on" msgstr "" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_authentication_attempt.py:33 -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_authentication_attempt.py:33 +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search #: selection:res.authentication.attempt,result:0 #, python-format msgid "Failed" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,id:0 #: field:res.banned.remote,id:0 msgid "ID" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,write_uid:0 #: field:res.banned.remote,write_uid:0 msgid "Last Updated by" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,write_date:0 #: field:res.banned.remote,write_date:0 msgid "Last Updated on" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,name:0 msgid "Name" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,description:0 msgid "Remote Description" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,remote:0 #: field:res.banned.remote,remote:0 msgid "Remote ID" msgstr "" -#. module: auth_brut_force -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search msgid "Successful" msgstr "" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_authentication_attempt.py:32 +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_authentication_attempt.py:32 #: selection:res.authentication.attempt,result:0 #, python-format msgid "Successfull" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,login:0 msgid "Tried Login" msgstr "" -#. module: auth_brut_force +#. module: auth_brute_force #: help:res.banned.remote,active:0 msgid "Uncheck this box to unban the remote" msgstr "" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_banned_remote.py:77 +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_banned_remote.py:77 #, python-format msgid "Unidentified Call from %s" msgstr "" -#. module: auth_brut_force -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search msgid "Without Success" msgstr "" diff --git a/auth_brute_force/i18n/fr.po b/auth_brute_force/i18n/fr.po index 77de25394..7e28872e4 100644 --- a/auth_brute_force/i18n/fr.po +++ b/auth_brute_force/i18n/fr.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * auth_brut_force +# * auth_brute_force # msgid "" msgstr "" @@ -15,106 +15,106 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_banned_remote.py:75 +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_banned_remote.py:75 #, python-format msgid "%s %s - %s %s (ISP: %s)" msgstr "%s %s - %s %s (FAI : %s)" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,active:0 msgid "Active" msgstr "Active" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,attempt_date:0 msgid "Attempt Date" msgstr "Date de la tentative" -#. module: auth_brut_force -#: model:ir.actions.act_window,name:auth_brut_force.action_res_authentication_attempt -#: model:ir.ui.menu,name:auth_brut_force.menu_res_authentication_attempt +#. module: auth_brute_force +#: model:ir.actions.act_window,name:auth_brute_force.action_res_authentication_attempt +#: model:ir.ui.menu,name:auth_brute_force.menu_res_authentication_attempt msgid "Authentication Attempts" msgstr "Tentative d'authentification" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,result:0 msgid "Authentication Result" msgstr "Résultat de l'authentification" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,ban_date:0 msgid "Ban Date" msgstr "Ban Date" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_authentication_attempt.py:34 -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_authentication_attempt.py:34 +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search #: selection:res.authentication.attempt,result:0 #, python-format msgid "Banned" msgstr "Banni" -#. module: auth_brut_force -#: model:ir.actions.act_window,name:auth_brut_force.action_res_banned_remote -#: model:ir.ui.menu,name:auth_brut_force.menu_res_banned_remote +#. module: auth_brute_force +#: model:ir.actions.act_window,name:auth_brute_force.action_res_banned_remote +#: model:ir.ui.menu,name:auth_brute_force.menu_res_banned_remote msgid "Banned Remotes" msgstr "Clients distants bannis" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_authentication_attempt.py:33 -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_authentication_attempt.py:33 +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search #: selection:res.authentication.attempt,result:0 #, python-format msgid "Failed" msgstr "Echoué" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,name:0 msgid "Name" msgstr "Nom" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.banned.remote,description:0 msgid "Description" msgstr "Description" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,remote:0 #: field:res.banned.remote,remote:0 msgid "Remote ID" msgstr "ID du client Distant" -#. module: auth_brut_force -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search msgid "Successful" msgstr "Réussie" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_authentication_attempt.py:32 +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_authentication_attempt.py:32 #: selection:res.authentication.attempt,result:0 #, python-format msgid "Successfull" msgstr "Réussie" -#. module: auth_brut_force +#. module: auth_brute_force #: field:res.authentication.attempt,login:0 msgid "Tried Login" msgstr "Idenfiant essayé" -#. module: auth_brut_force +#. module: auth_brute_force #: help:res.banned.remote,active:0 msgid "Uncheck this box to unban the remote" msgstr "Décochez cette case afin d'annuler l'exclusion du client distant" -#. module: auth_brut_force -#: code:addons/auth_brut_force/models/res_banned_remote.py:77 +#. module: auth_brute_force +#: code:addons/auth_brute_force/models/res_banned_remote.py:77 #, python-format msgid "Unidentified Call from %s" msgstr "Appel non identifié depuis %s" -#. module: auth_brut_force -#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search +#. module: auth_brute_force +#: view:res.authentication.attempt:auth_brute_force.view_res_authentication_attempt_search msgid "Without Success" msgstr "Sans succès"