From 75983ff571f4fac63b33d58052cff00969fb67ee Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 30 Mar 2008 20:35:02 +0000 Subject: [PATCH] Some "jep" -> "xep" --- src/common/connection.py | 14 +++++++------- src/common/contacts.py | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 9764c64dc..a685fd787 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1050,8 +1050,8 @@ class Connection(ConnectionHandlers): lang = os.getenv('LANG') if lang is not None and lang != 'en': # we're not english # one in locale and one en - msgtxt = _('[This message is *encrypted* (See :JEP:`27`]') +\ - ' ([This message is *encrypted* (See :JEP:`27`])' + msgtxt = _('[This message is *encrypted* (See :XEP:`27`]') +\ + ' ([This message is *encrypted* (See :XEP:`27`])' else: # Encryption failed, do not send message tim = localtime() @@ -1077,7 +1077,7 @@ class Connection(ConnectionHandlers): if form_node: msg_iq.addChild(node=form_node) - # JEP-0172: user_nickname + # XEP-0172: user_nickname if user_nick: msg_iq.setTag('nick', namespace = common.xmpp.NS_NICK).setData( user_nick) @@ -1098,7 +1098,7 @@ class Connection(ConnectionHandlers): if not msg_id: # avoid putting 'None' in tag msg_id = '' chatstate_node.setTagData('id', msg_id) - # when msgtxt, requests JEP-0022 composing notification + # when msgtxt, requests XEP-0022 composing notification if chatstate is 'composing' or msgtxt: chatstate_node.addChild(name = 'composing') @@ -1305,7 +1305,7 @@ class Connection(ConnectionHandlers): self.connection.send(iq) def get_settings(self): - ''' Get Gajim settings as described in JEP 0049 ''' + ''' Get Gajim settings as described in XEP 0049 ''' if not self.connection: return iq = common.xmpp.Iq(typ='get') @@ -1314,7 +1314,7 @@ class Connection(ConnectionHandlers): self.connection.send(iq) def get_bookmarks(self): - '''Get Bookmarks from storage as described in JEP 0048''' + '''Get Bookmarks from storage as described in XEP 0048''' self.bookmarks = [] #avoid multiple bookmarks when re-connecting if not self.connection: return @@ -1373,7 +1373,7 @@ class Connection(ConnectionHandlers): def get_metacontacts(self): - '''Get metacontacts list from storage as described in JEP 0049''' + '''Get metacontacts list from storage as described in XEP 0049''' if not self.connection: return iq = common.xmpp.Iq(typ='get') diff --git a/src/common/contacts.py b/src/common/contacts.py index 303fe3854..216c05f53 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -47,18 +47,18 @@ class Contact: self.caps_ver = None self.caps_exts = None - # please read jep-85 http://www.jabber.org/jeps/jep-0085.html - # we keep track of jep85 support with the peer by three extra states: + # please read xep-85 http://www.xmpp.org/extensions/xep-0085.html + # we keep track of xep85 support with the peer by three extra states: # None, False and 'ask' # None if no info about peer - # False if peer does not support jep85 + # False if peer does not support xep85 # 'ask' if we sent the first 'active' chatstate and are waiting for reply # this holds what WE SEND to contact (our current chatstate) self.our_chatstate = our_chatstate self.msg_id = msg_id - # tell which JEP we're using for composing state - # None = have to ask, XEP-0022 = use this jep, - # XEP-0085 = use this jep, False = no composing support + # tell which XEP we're using for composing state + # None = have to ask, XEP-0022 = use this xep, + # XEP-0085 = use this xep, False = no composing support self.composing_xep = composing_xep # this is contact's chatstate self.chatstate = chatstate