forked from openlp/openlp
Use string quotes to detect end.
This commit is contained in:
parent
b9b97174e2
commit
a9a53d9c94
@ -42,7 +42,7 @@ ts_message = u""" <message>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
"""
|
"""
|
||||||
find_trUtf8 = re.compile(r"trUtf8\(u['\"]([^)]+)['\"]\)", re.UNICODE)
|
find_trUtf8 = re.compile(r"trUtf8\(u?(['\"])([^\1]+)\1\)", re.UNICODE)
|
||||||
strings = {}
|
strings = {}
|
||||||
|
|
||||||
def parse_file(filename):
|
def parse_file(filename):
|
||||||
|
Loading…
Reference in New Issue
Block a user