diff src/core/xmpp.py @ 2527:a201194fc461

component file sharing: comments handling first draft: comments use a minimal pubsub service which create virtual nodes for each files. A pubsub request to org.salut-a-toi.file_comments/[FILE_ID] allow to handle comments in classic way. Permissions are the same as for files (i.e. if an entity can see a file, she can comment it).
author Goffi <goffi@goffi.org>
date Fri, 16 Mar 2018 17:06:35 +0100
parents d485e9416493
children 60758de1c227
line wrap: on
line diff
--- a/src/core/xmpp.py	Fri Mar 16 17:03:46 2018 +0100
+++ b/src/core/xmpp.py	Fri Mar 16 17:06:35 2018 +0100
@@ -629,7 +629,7 @@
             if not required:
                 return
             else:
-                log.error(_(u"Plugin {current_name} if needed for {entry_name}, but it doesn't handle component mode").format(
+                log.error(_(u"Plugin {current_name} is needed for {entry_name}, but it doesn't handle component mode").format(
                     current_name = current._info[u'import_name'],
                     entry_name = self.entry_plugin._info[u'import_name']
                     ))