From c93ef6d895dd0eee69f6dd3bc3ecbcefa8c9591e Mon Sep 17 00:00:00 2001 From: Trevor McCasland Date: Mon, 5 Dec 2016 08:04:28 -0600 Subject: Add i18n translation to extensions 3/3 This is patch 3 of 3 that aims to add i18n translation to the extenstions directory and some other files. Custom hacking rules will come later to enforce this style. Change-Id: I94a341ba1fb4178e0c358c37ea31623d48938ec6 Depends-On: I6fb2bdcc4b83457e08b24599fb4a297ef6ec6c14 --- trove/extensions/mgmt/instances/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trove/extensions/mgmt/instances/models.py b/trove/extensions/mgmt/instances/models.py index 3c0a5bbc..cd656f44 100644 --- a/trove/extensions/mgmt/instances/models.py +++ b/trove/extensions/mgmt/instances/models.py @@ -151,7 +151,7 @@ class MgmtInstances(imodels.Instances): return SimpleMgmtInstance(context, db, server, status) if context is None: - raise TypeError("Argument context not defined.") + raise TypeError(_("Argument context not defined.")) find_server = imodels.create_server_list_matcher(servers) instances = imodels.Instances._load_servers_status(load_instance, context, -- cgit v1.2.1