Author: jim++ Date: 2008-03-30 22:35:02 +0200 (Sun, 30 Mar 2008) New Revision: 9424
Modified: trunk/src/common/connection.py trunk/src/common/contacts.py Log: Some "jep" -> "xep"
Modified: trunk/src/common/connection.py =================================================================== --- trunk/src/common/connection.py 2008-03-30 12:05:04 UTC (rev 9423) +++ trunk/src/common/connection.py 2008-03-30 20:35:02 UTC (rev 9424) @@ -1050,8 +1050,8 @@ 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 @@ 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 @@ if not msg_id: # avoid putting 'None' in <id> 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 @@ 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 @@ 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 @@
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')
Modified: trunk/src/common/contacts.py =================================================================== --- trunk/src/common/contacts.py 2008-03-30 12:05:04 UTC (rev 9423) +++ trunk/src/common/contacts.py 2008-03-30 20:35:02 UTC (rev 9424) @@ -47,18 +47,18 @@ 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