Skip to content
Snippets Groups Projects
Commit aae57c29 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

comment a string on which xgettext fails. see #4166

parent b558388d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment