Browse Source

[FIX] incorrect name for the module;

pull/262/head
Sylvain LE GAL 9 years ago
parent
commit
6f89d2c8ec
  1. 2
      auth_brute_force/controllers/controllers.py
  2. 2
      auth_brute_force/data/ir_config_parameter.xml
  3. 74
      auth_brute_force/i18n/auth_brute_force.pot
  4. 64
      auth_brute_force/i18n/fr.po

2
auth_brute_force/controllers/controllers.py

@ -47,7 +47,7 @@ class LoginController(Home):
# Get Settings # Get Settings
config_id = config_obj.search(cursor, SUPERUSER_ID, [( config_id = config_obj.search(cursor, SUPERUSER_ID, [(
'key', '=', 'key', '=',
'auth_brut_force.max_attempt_qty')])
'auth_brute_force.max_attempt_qty')])
max_attempts_qty = int(config_obj.browse( max_attempts_qty = int(config_obj.browse(
cursor, SUPERUSER_ID, config_id).value) cursor, SUPERUSER_ID, config_id).value)

2
auth_brute_force/data/ir_config_parameter.xml

@ -21,7 +21,7 @@
<data noupdate="1"> <data noupdate="1">
<record id="max_attempt_qty" model="ir.config_parameter"> <record id="max_attempt_qty" model="ir.config_parameter">
<field name="key">auth_brut_force.max_attempt_qty</field>
<field name="key">auth_brute_force.max_attempt_qty</field>
<field name="value">10</field> <field name="value">10</field>
</record> </record>

74
auth_brute_force/i18n/auth_brut_force.pot → auth_brute_force/i18n/auth_brute_force.pot

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * auth_brut_force
# * auth_brute_force
# #
msgid "" msgid ""
msgstr "" msgstr ""
@ -15,136 +15,136 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \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 #, python-format
msgid "%s %s - %s %s (ISP: %s)" msgid "%s %s - %s %s (ISP: %s)"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,active:0 #: field:res.banned.remote,active:0
msgid "Active" msgid "Active"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,attempt_date:0 #: field:res.authentication.attempt,attempt_date:0
msgid "Attempt Date" msgid "Attempt Date"
msgstr "" 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" msgid "Authentication Attempts"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,result:0 #: field:res.authentication.attempt,result:0
msgid "Authentication Result" msgid "Authentication Result"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,ban_date:0 #: field:res.banned.remote,ban_date:0
msgid "Ban Date" msgid "Ban Date"
msgstr "" 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 #: selection:res.authentication.attempt,result:0
#, python-format #, python-format
msgid "Banned" msgid "Banned"
msgstr "" 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" msgid "Banned Remotes"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,create_uid:0 #: field:res.authentication.attempt,create_uid:0
#: field:res.banned.remote,create_uid:0 #: field:res.banned.remote,create_uid:0
msgid "Created by" msgid "Created by"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,create_date:0 #: field:res.authentication.attempt,create_date:0
#: field:res.banned.remote,create_date:0 #: field:res.banned.remote,create_date:0
msgid "Created on" msgid "Created on"
msgstr "" 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 #: selection:res.authentication.attempt,result:0
#, python-format #, python-format
msgid "Failed" msgid "Failed"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,id:0 #: field:res.authentication.attempt,id:0
#: field:res.banned.remote,id:0 #: field:res.banned.remote,id:0
msgid "ID" msgid "ID"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,write_uid:0 #: field:res.authentication.attempt,write_uid:0
#: field:res.banned.remote,write_uid:0 #: field:res.banned.remote,write_uid:0
msgid "Last Updated by" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,write_date:0 #: field:res.authentication.attempt,write_date:0
#: field:res.banned.remote,write_date:0 #: field:res.banned.remote,write_date:0
msgid "Last Updated on" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,name:0 #: field:res.banned.remote,name:0
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,description:0 #: field:res.banned.remote,description:0
msgid "Remote Description" msgid "Remote Description"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,remote:0 #: field:res.authentication.attempt,remote:0
#: field:res.banned.remote,remote:0 #: field:res.banned.remote,remote:0
msgid "Remote ID" msgid "Remote ID"
msgstr "" 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" msgid "Successful"
msgstr "" 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 #: selection:res.authentication.attempt,result:0
#, python-format #, python-format
msgid "Successfull" msgid "Successfull"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,login:0 #: field:res.authentication.attempt,login:0
msgid "Tried Login" msgid "Tried Login"
msgstr "" msgstr ""
#. module: auth_brut_force
#. module: auth_brute_force
#: help:res.banned.remote,active:0 #: help:res.banned.remote,active:0
msgid "Uncheck this box to unban the remote" msgid "Uncheck this box to unban the remote"
msgstr "" 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 #, python-format
msgid "Unidentified Call from %s" msgid "Unidentified Call from %s"
msgstr "" 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" msgid "Without Success"
msgstr "" msgstr ""

64
auth_brute_force/i18n/fr.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * auth_brut_force
# * auth_brute_force
# #
msgid "" msgid ""
msgstr "" msgstr ""
@ -15,106 +15,106 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \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 #, python-format
msgid "%s %s - %s %s (ISP: %s)" msgid "%s %s - %s %s (ISP: %s)"
msgstr "%s %s - %s %s (FAI : %s)" msgstr "%s %s - %s %s (FAI : %s)"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,active:0 #: field:res.banned.remote,active:0
msgid "Active" msgid "Active"
msgstr "Active" msgstr "Active"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,attempt_date:0 #: field:res.authentication.attempt,attempt_date:0
msgid "Attempt Date" msgid "Attempt Date"
msgstr "Date de la tentative" 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" msgid "Authentication Attempts"
msgstr "Tentative d'authentification" msgstr "Tentative d'authentification"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,result:0 #: field:res.authentication.attempt,result:0
msgid "Authentication Result" msgid "Authentication Result"
msgstr "Résultat de l'authentification" msgstr "Résultat de l'authentification"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,ban_date:0 #: field:res.banned.remote,ban_date:0
msgid "Ban Date" msgid "Ban Date"
msgstr "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 #: selection:res.authentication.attempt,result:0
#, python-format #, python-format
msgid "Banned" msgid "Banned"
msgstr "Banni" 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" msgid "Banned Remotes"
msgstr "Clients distants bannis" 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 #: selection:res.authentication.attempt,result:0
#, python-format #, python-format
msgid "Failed" msgid "Failed"
msgstr "Echoué" msgstr "Echoué"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,name:0 #: field:res.banned.remote,name:0
msgid "Name" msgid "Name"
msgstr "Nom" msgstr "Nom"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.banned.remote,description:0 #: field:res.banned.remote,description:0
msgid "Description" msgid "Description"
msgstr "Description" msgstr "Description"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,remote:0 #: field:res.authentication.attempt,remote:0
#: field:res.banned.remote,remote:0 #: field:res.banned.remote,remote:0
msgid "Remote ID" msgid "Remote ID"
msgstr "ID du client Distant" 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" msgid "Successful"
msgstr "Réussie" 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 #: selection:res.authentication.attempt,result:0
#, python-format #, python-format
msgid "Successfull" msgid "Successfull"
msgstr "Réussie" msgstr "Réussie"
#. module: auth_brut_force
#. module: auth_brute_force
#: field:res.authentication.attempt,login:0 #: field:res.authentication.attempt,login:0
msgid "Tried Login" msgid "Tried Login"
msgstr "Idenfiant essayé" msgstr "Idenfiant essayé"
#. module: auth_brut_force
#. module: auth_brute_force
#: help:res.banned.remote,active:0 #: help:res.banned.remote,active:0
msgid "Uncheck this box to unban the remote" msgid "Uncheck this box to unban the remote"
msgstr "Décochez cette case afin d'annuler l'exclusion du client distant" 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 #, python-format
msgid "Unidentified Call from %s" msgid "Unidentified Call from %s"
msgstr "Appel non identifié depuis %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" msgid "Without Success"
msgstr "Sans succès" msgstr "Sans succès"
Loading…
Cancel
Save