changeset 561:6a0ea7cf7c43

extensions.macro.DictColumns: i18n for Comments
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 29 Mar 2011 16:46:44 +0200
parents f502d6e75c07
children 0a13d4186fa0
files data/plugin/macro/DictColumns.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/DictColumns.py	Tue Mar 29 16:38:07 2011 +0200
+++ b/data/plugin/macro/DictColumns.py	Tue Mar 29 16:46:44 2011 +0200
@@ -187,6 +187,7 @@
         @param names: column names
         @param selected_pages: pages to read key value pairs from
         """
+        _ = self.request.getText
         assert isinstance(selected_pages, list)
         request = self.request
         hide_columns = self.hide
@@ -250,7 +251,7 @@
                         col.hidden = True
                     data.columns.extend([col])
             if self.comments:
-                col = Column("Comment", label="Comment")
+                col = Column("Comment", label=_("Comment:"))
                 data.columns.extend([col])
         return data