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
This commit is contained in:
Trevor McCasland 2016-12-05 08:04:28 -06:00 committed by amrith
parent 4f9c538f68
commit c93ef6d895
1 changed files with 1 additions and 1 deletions

View File

@ -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,