diff --git a/watcher/common/exception.py b/watcher/common/exception.py index 6df955a3c..53cab5209 100644 --- a/watcher/common/exception.py +++ b/watcher/common/exception.py @@ -179,7 +179,7 @@ class AuditReferenced(Invalid): class ActionPlanNotFound(ResourceNotFound): - msg_fmt = _("ActionPlan %(action plan)s could not be found") + msg_fmt = _("ActionPlan %(action_plan)s could not be found") class ActionPlanAlreadyExists(Conflict): diff --git a/watcher/locale/fr/LC_MESSAGES/watcher.po b/watcher/locale/fr/LC_MESSAGES/watcher.po index 5cd95efee..cf0b29c85 100644 --- a/watcher/locale/fr/LC_MESSAGES/watcher.po +++ b/watcher/locale/fr/LC_MESSAGES/watcher.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: python-watcher 0.21.1.dev32\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-01-19 17:54+0100\n" +"POT-Creation-Date: 2016-01-26 11:26+0100\n" "PO-Revision-Date: 2015-12-11 15:42+0100\n" "Last-Translator: FULL NAME \n" "Language: fr\n" @@ -24,25 +24,29 @@ msgstr "" msgid "Invalid state: %(state)s" msgstr "État invalide : %(state)s" -#: watcher/api/controllers/v1/action_plan.py:418 +#: watcher/api/controllers/v1/action_plan.py:420 #, python-format msgid "State transition not allowed: (%(initial_state)s -> %(new_state)s)" msgstr "Transition d'état non autorisée : (%(initial_state)s -> %(new_state)s)" +#: watcher/api/controllers/v1/audit.py:359 +msgid "The audit template UUID or name specified is invalid" +msgstr "Le nom ou UUID de l'audit template est invalide" + #: watcher/api/controllers/v1/types.py:148 #, python-format msgid "%s is not JSON serializable" -msgstr "" +msgstr "%s n'est pas sérialisable en JSON" #: watcher/api/controllers/v1/types.py:184 #, python-format msgid "Wrong type. Expected '%(type)s', got '%(value)s'" -msgstr "" +msgstr "Type incorrect. '%(type)s' attendu, '%(value)s' obtenu" #: watcher/api/controllers/v1/types.py:223 #, python-format msgid "'%s' is an internal attribute and can not be updated" -msgstr "" +msgstr "'%s' wat un attribut interne et ne peut pas être modifié" #: watcher/api/controllers/v1/types.py:227 #, python-format @@ -60,7 +64,7 @@ msgstr "Limit doit être positif" #: watcher/api/controllers/v1/utils.py:47 #, python-format msgid "Invalid sort direction: %s. Acceptable values are 'asc' or 'desc'" -msgstr "" +msgstr "Ordre de tri invalide : %s. Les valeurs acceptées sont 'asc' or 'desc'" #: watcher/api/controllers/v1/utils.py:57 #, python-format @@ -69,14 +73,14 @@ msgstr "" #: watcher/api/middleware/auth_token.py:45 msgid "Cannot compile public API routes" -msgstr "" +msgstr "Ne peut pas compiler les chemins d'API publique" #: watcher/api/middleware/parsable_error.py:52 #, python-format msgid "ErrorDocumentMiddleware received an invalid status %s" msgstr "" -#: watcher/api/middleware/parsable_error.py:80 +#: watcher/api/middleware/parsable_error.py:79 #, python-format msgid "Error parsing HTTP response: %s" msgstr "" @@ -85,17 +89,17 @@ msgstr "" msgid "The target state is not defined" msgstr "" -#: watcher/applier/workflow_engine/default.py:69 +#: watcher/applier/workflow_engine/default.py:126 #, python-format msgid "The WorkFlow Engine has failed to execute the action %s" msgstr "Le moteur de workflow a echoué lors de l'éxécution de l'action %s" -#: watcher/applier/workflow_engine/default.py:77 +#: watcher/applier/workflow_engine/default.py:144 #, python-format msgid "Revert action %s" msgstr "Annulation de l'action %s" -#: watcher/applier/workflow_engine/default.py:83 +#: watcher/applier/workflow_engine/default.py:150 msgid "Oops! We need disaster recover plan" msgstr "Oops! Nous avons besoin d'un plan de reprise d'activité" @@ -115,185 +119,178 @@ msgstr "Sert sur 0.0.0.0:%(port)s, accessible à http://127.0.0.1:%(port)s" msgid "serving on http://%(host)s:%(port)s" msgstr "Sert sur http://%(host)s:%(port)s" -#: watcher/common/exception.py:56 +#: watcher/common/exception.py:51 msgid "An unknown exception occurred" msgstr "" -#: watcher/common/exception.py:77 +#: watcher/common/exception.py:71 msgid "Exception in string format operation" msgstr "" -#: watcher/common/exception.py:107 +#: watcher/common/exception.py:101 msgid "Not authorized" msgstr "" -#: watcher/common/exception.py:112 +#: watcher/common/exception.py:106 msgid "Operation not permitted" msgstr "" -#: watcher/common/exception.py:116 +#: watcher/common/exception.py:110 msgid "Unacceptable parameters" msgstr "" -#: watcher/common/exception.py:121 +#: watcher/common/exception.py:115 #, python-format msgid "The %(name)s %(id)s could not be found" msgstr "" -#: watcher/common/exception.py:125 +#: watcher/common/exception.py:119 #, fuzzy msgid "Conflict" -msgstr "Conflit." +msgstr "Conflit" -#: watcher/common/exception.py:130 +#: watcher/common/exception.py:124 #, python-format msgid "The %(name)s resource %(id)s could not be found" -msgstr "" +msgstr "La ressource %(name)s / %(id)s est introuvable" -#: watcher/common/exception.py:135 +#: watcher/common/exception.py:129 #, python-format msgid "Expected an uuid or int but received %(identity)s" msgstr "" -#: watcher/common/exception.py:139 +#: watcher/common/exception.py:133 #, python-format msgid "Goal %(goal)s is not defined in Watcher configuration file" msgstr "" -#: watcher/common/exception.py:145 +#: watcher/common/exception.py:139 #, python-format msgid "%(err)s" -msgstr "" +msgstr "%(err)s" -#: watcher/common/exception.py:149 +#: watcher/common/exception.py:143 #, python-format msgid "Expected a uuid but received %(uuid)s" msgstr "" -#: watcher/common/exception.py:153 +#: watcher/common/exception.py:147 #, python-format msgid "Expected a logical name but received %(name)s" msgstr "" -#: watcher/common/exception.py:157 +#: watcher/common/exception.py:151 #, python-format msgid "Expected a logical name or uuid but received %(name)s" msgstr "" -#: watcher/common/exception.py:161 +#: watcher/common/exception.py:155 #, python-format msgid "AuditTemplate %(audit_template)s could not be found" msgstr "" -#: watcher/common/exception.py:165 +#: watcher/common/exception.py:159 #, python-format msgid "An audit_template with UUID %(uuid)s or name %(name)s already exists" msgstr "" -#: watcher/common/exception.py:170 +#: watcher/common/exception.py:164 #, python-format msgid "AuditTemplate %(audit_template)s is referenced by one or multiple audit" msgstr "" -#: watcher/common/exception.py:175 +#: watcher/common/exception.py:169 #, python-format msgid "Audit %(audit)s could not be found" msgstr "" -#: watcher/common/exception.py:179 +#: watcher/common/exception.py:173 #, python-format msgid "An audit with UUID %(uuid)s already exists" msgstr "" -#: watcher/common/exception.py:183 +#: watcher/common/exception.py:177 #, python-format msgid "Audit %(audit)s is referenced by one or multiple action plans" msgstr "" -#: watcher/common/exception.py:188 -msgid "ActionPlan %(action plan)s could not be found" +#: watcher/common/exception.py:182 +#, python-format +msgid "ActionPlan %(action_plan)s could not be found" msgstr "" -#: watcher/common/exception.py:192 +#: watcher/common/exception.py:186 #, python-format msgid "An action plan with UUID %(uuid)s already exists" msgstr "" -#: watcher/common/exception.py:196 +#: watcher/common/exception.py:190 #, python-format msgid "Action Plan %(action_plan)s is referenced by one or multiple actions" msgstr "" -#: watcher/common/exception.py:201 +#: watcher/common/exception.py:195 #, python-format msgid "Action %(action)s could not be found" msgstr "" -#: watcher/common/exception.py:205 +#: watcher/common/exception.py:199 #, python-format msgid "An action with UUID %(uuid)s already exists" msgstr "" -#: watcher/common/exception.py:209 +#: watcher/common/exception.py:203 #, python-format msgid "Action plan %(action_plan)s is referenced by one or multiple goals" msgstr "" -#: watcher/common/exception.py:214 +#: watcher/common/exception.py:208 msgid "Filtering actions on both audit and action-plan is prohibited" msgstr "" -#: watcher/common/exception.py:223 +#: watcher/common/exception.py:217 #, python-format msgid "Couldn't apply patch '%(patch)s'. Reason: %(reason)s" msgstr "" -#: watcher/common/exception.py:233 -msgid "Description must be an instance of str" +#: watcher/common/exception.py:224 +msgid "Illegal argument" msgstr "" -#: watcher/common/exception.py:243 -msgid "An exception occurred without a description" -msgstr "" - -#: watcher/common/exception.py:251 -msgid "Description cannot be empty" -msgstr "" - -#: watcher/common/exception.py:260 +#: watcher/common/exception.py:228 msgid "No such metric" msgstr "" -#: watcher/common/exception.py:269 +#: watcher/common/exception.py:232 msgid "No rows were returned" msgstr "" -#: watcher/common/exception.py:277 +#: watcher/common/exception.py:236 msgid "'Keystone API endpoint is missing''" msgstr "" -#: watcher/common/exception.py:281 +#: watcher/common/exception.py:240 msgid "The list of hypervisor(s) in the cluster is empty" msgstr "" -#: watcher/common/exception.py:285 +#: watcher/common/exception.py:244 msgid "The metrics resource collector is not defined" msgstr "" -#: watcher/common/exception.py:289 +#: watcher/common/exception.py:248 msgid "the cluster state is not defined" msgstr "" -#: watcher/common/exception.py:295 +#: watcher/common/exception.py:254 #, python-format msgid "The instance '%(name)s' is not found" msgstr "L'instance '%(name)s' n'a pas été trouvée" -#: watcher/common/exception.py:299 +#: watcher/common/exception.py:258 msgid "The hypervisor is not found" msgstr "" -#: watcher/common/exception.py:303 +#: watcher/common/exception.py:262 #, fuzzy, python-format msgid "Error loading plugin '%(name)s'" msgstr "Erreur lors du chargement du module '%(name)s'" @@ -332,7 +329,7 @@ msgstr "" #: watcher/common/utils.py:53 #, python-format msgid "" -"Failed to remove trailing character. Returning original object. Supplied " +"Failed to remove trailing character. Returning original object.Supplied " "object is not a string: %s," msgstr "" @@ -373,7 +370,7 @@ msgstr "" msgid "'obj' argument type is not valid" msgstr "" -#: watcher/decision_engine/planner/default.py:75 +#: watcher/decision_engine/planner/default.py:76 msgid "The action plan is empty" msgstr "" @@ -388,11 +385,11 @@ msgstr "" msgid "No values returned by %(resource_id)s for %(metric_name)s" msgstr "" -#: watcher/decision_engine/strategy/strategies/basic_consolidation.py:349 +#: watcher/decision_engine/strategy/strategies/basic_consolidation.py:424 msgid "Initializing Sercon Consolidation" msgstr "" -#: watcher/decision_engine/strategy/strategies/basic_consolidation.py:406 +#: watcher/decision_engine/strategy/strategies/basic_consolidation.py:468 msgid "The workloads of the compute nodes of the cluster is zero" msgstr "" @@ -573,3 +570,21 @@ msgstr "" #~ msgid "The WorkFlow Engine has failedto execute the action %s" #~ msgstr "" +#~ msgid "ActionPlan %(action plan)s could not be found" +#~ msgstr "" + +#~ msgid "Description must be an instance of str" +#~ msgstr "" + +#~ msgid "An exception occurred without a description" +#~ msgstr "" + +#~ msgid "Description cannot be empty" +#~ msgstr "" + +#~ msgid "" +#~ "Failed to remove trailing character. " +#~ "Returning original object. Supplied object " +#~ "is not a string: %s," +#~ msgstr "" + diff --git a/watcher/locale/watcher.pot b/watcher/locale/watcher.pot index e609152a6..79c7800ce 100644 --- a/watcher/locale/watcher.pot +++ b/watcher/locale/watcher.pot @@ -7,9 +7,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: python-watcher 0.22.1.dev49\n" +"Project-Id-Version: python-watcher 0.23.2.dev1\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2016-01-22 10:43+0100\n" +"POT-Creation-Date: 2016-01-26 11:26+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,7 +23,7 @@ msgstr "" msgid "Invalid state: %(state)s" msgstr "" -#: watcher/api/controllers/v1/action_plan.py:416 +#: watcher/api/controllers/v1/action_plan.py:420 #, python-format msgid "State transition not allowed: (%(initial_state)s -> %(new_state)s)" msgstr "" @@ -213,7 +213,8 @@ msgid "Audit %(audit)s is referenced by one or multiple action plans" msgstr "" #: watcher/common/exception.py:182 -msgid "ActionPlan %(action plan)s could not be found" +#, python-format +msgid "ActionPlan %(action_plan)s could not be found" msgstr "" #: watcher/common/exception.py:186