comment a string on which xgettext fails. see #4166

This commit is contained in:
Yann Leboulanger 2008-08-02 07:54:28 +00:00
parent b558388db4
commit aae57c2990
1 changed files with 3 additions and 1 deletions

View File

@ -2455,7 +2455,9 @@ class Interface:
self.sth_at_sth_dot_sth_re = re.compile(r'\S+@\S+\.\S*[^\s)?]') self.sth_at_sth_dot_sth_re = re.compile(r'\S+@\S+\.\S*[^\s)?]')
# Invalid XML chars # Invalid XML chars
invalid_XML_chars = u'[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x19]|[\ud800-\udfff]|[\ufffe-\uffff]' # invalid_XML_chars = u'[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x19]|[\ud800-\udfff]|[\ufffe-\uffff]'
#FIXME: xgettext fails with \udfff char ... see #http://trac.gajim.org/ticket/4166
invalid_XML_chars = u'[\x00-\x08]|[\x0b-\x0c]|[\x0e-\x19]|[\ufffe-\uffff]'
self.invalid_XML_chars_re = re.compile(invalid_XML_chars) self.invalid_XML_chars_re = re.compile(invalid_XML_chars)
re.purge() # clear the regular expression cache re.purge() # clear the regular expression cache