forked from openlp/openlp
Improve transaltion string regex.
This commit is contained in:
parent
b6289db8a8
commit
f76516f2a0
2
openlp-get-strings.py
Normal file → Executable file
2
openlp-get-strings.py
Normal file → Executable file
@ -42,7 +42,7 @@ ts_message = u""" <message>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
"""
|
||||
find_trUtf8 = re.compile(r"trUtf8\(u'([\.:;\\&\w]+)'\)", re.UNICODE)
|
||||
find_trUtf8 = re.compile(r"trUtf8\(u['\"]([^)]+)['\"]\)", re.UNICODE)
|
||||
strings = {}
|
||||
|
||||
def parse_file(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user