comment a string on which xgettext fails. see #4166
This commit is contained in:
parent
b558388db4
commit
aae57c2990
|
@ -2455,7 +2455,9 @@ class Interface:
|
|||
self.sth_at_sth_dot_sth_re = re.compile(r'\S+@\S+\.\S*[^\s)?]')
|
||||
|
||||
# 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)
|
||||
|
||||
re.purge() # clear the regular expression cache
|
||||
|
|
Loading…
Reference in New Issue