summaryrefslogtreecommitdiff
path: root/trove/configuration
diff options
context:
space:
mode:
authorTrevor McCasland <TM2086@att.com>2016-12-05 07:47:42 -0600
committeramrith <amrith@tesora.com>2016-12-20 12:15:19 +0000
commit845851245a41241c617e7eac5a70e45baae9b131 (patch)
tree69ae21a1f9a10aa88025047d84e3f457f3cee277 /trove/configuration
parent4f9c538f682c0f7234110ec5d1abe933e4ab5bde (diff)
downloadtrove-845851245a41241c617e7eac5a70e45baae9b131.tar.gz
Add i18n translation to extenstions 1/3
This is 1 of 3 patches to add translation to the extensions directory and some other files. Custom hacking rules will be added later to enforce this style. Change-Id: Iddd738c2d9a7c9a57fcd445650d087123dbccfc4
Diffstat (limited to 'trove/configuration')
-rw-r--r--trove/configuration/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trove/configuration/models.py b/trove/configuration/models.py
index 5935f34a..7a240cb5 100644
--- a/trove/configuration/models.py
+++ b/trove/configuration/models.py
@@ -39,9 +39,9 @@ class Configurations(object):
@staticmethod
def load(context):
if context is None:
- raise TypeError("Argument context not defined.")
+ raise TypeError(_("Argument context not defined."))
elif id is None:
- raise TypeError("Argument is not defined.")
+ raise TypeError(_("Argument is not defined."))
if context.is_admin:
db_info = DBConfiguration.find_all(deleted=False)