From d5dcfc10a1a571b5d7136f861ac49e860e150487 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Thu, 20 Jan 2005 14:48:07 +0000
Subject: [PATCH] Export only the message catalog erp5_ui.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2256 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BusinessTemplate.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 8415893669..769eb7345b 100755
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -836,8 +836,8 @@ class MessageTranslationTemplateItem(BaseTemplateItem):
     localizer = context.getPortalObject().Localizer
     for lang in self._archive.keys():
       self._archive[lang] = PersistentMapping()
-      # Is it a good idea to include erp5_content?
-      for catalog in ('erp5_ui', 'erp5_content'):
+      # Export only erp5_ui at the moment. This is safer against information leak.
+      for catalog in ('erp5_ui', ):
         LOG('MessageTranslationTemplateItem build', 0, 'catalog = %r' % (catalog,))
         mc = localizer._getOb(catalog)
         LOG('MessageTranslationTemplateItem build', 0, 'mc = %r' % (mc,))
-- 
2.30.9