diff --git a/modules/plugin_dbui/modifier.py b/modules/plugin_dbui/modifier.py
index a56f26e6d893df4fd303d33593a5746bb445c71b..fe876173ab815058f3ab99a8a661268fc536b631 100644
--- a/modules/plugin_dbui/modifier.py
+++ b/modules/plugin_dbui/modifier.py
@@ -8,7 +8,7 @@ from gluon.storage import Storage
 from gluon.tools import PluginManager
 
 
-MSG_INVALID_TYPE = current.T("Invalid plugin type")
+MSG_INVALID_TYPE = "Invalid plugin type"
 
 
 class Modifier(object):
@@ -87,6 +87,8 @@ class Modifier(object):
               when the keyword argument C{xtype} is used.
             
         """
+        T = current.T
+        
         if 'plugins' in extjs:
             
             plugins = extjs['plugins']
@@ -104,7 +106,7 @@ class Modifier(object):
                     elif isinstance(el, dict):
                         ptypes.append(el['ptype'])
                     else:
-                        raise TypeError(MSG_INVALID_TYPE)
+                        raise TypeError(T(MSG_INVALID_TYPE))
                 
                 # append new plugins replacing existing one 
                 for plugin in plugins:
@@ -115,7 +117,7 @@ class Modifier(object):
                     elif isinstance(plugin, dict):
                         ptype= plugin['ptype']
                     else:
-                        raise TypeError(MSG_INVALID_TYPE)
+                        raise TypeError(T(MSG_INVALID_TYPE))
                     
                     if ptype in ptypes:
                         i = ptypes.index(ptype)