diff MoinMoin/action/SyncPages.py @ 1352:dfed953d5e9f

Added showtags action, minor changes in SyncPages.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 20 Aug 2006 17:27:56 +0200
parents 650a2dc16b19
children 8bf6e48c6236
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Sun Aug 20 17:27:37 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Sun Aug 20 17:27:56 2006 +0200
@@ -61,7 +61,7 @@
         for line in self.status:
             macro_args = [line[1]] + list(line[2])
             table.append(table_line % {"smiley": line[0][1], "message":
-                macro_args and u"[[GetText2(|%s)]]" % (packLine(macro_args), ),
+                line[1] and (u"[[GetText2(|%s)]]" % (packLine(macro_args), )),
                 "raw_suffix": line[3]})
 
         return "\n".join(table)
@@ -141,7 +141,7 @@
         except ActionStatus, e:
             msg = u'<p class="error">%s</p>\n' % (e.args[0], )
         else:
-            msg = u"%s" % (_("Syncronisation finished."), )
+            msg = u"%s" % (_("Syncronisation finished. Look below for the status messages."), )
 
         self.page.saveText(self.page.get_raw_body() + "\n\n" + self.generate_log_table(), 0)
         # XXX release readlock on self.page