wmlxgettext: fix #4275: not handle objectives.lua's turn counter + typefix
(cherry picked from commite1c7c84957
) (cherry picked from commit0cf8da9357
)
This commit is contained in:
parent
c5213a2886
commit
da3c4c0afa
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class LuaCommentState:
|
|||
|
||||
class LuaStr00:
|
||||
def __init__(self):
|
||||
self.regex = re.compile(r'\b_\b\s*\(')
|
||||
self.regex = re.compile(r'((?:_)|(?:.*?\(_)|(?:.*?\s+_))\s*\(')
|
||||
self.iffail = 'lua_str01'
|
||||
|
||||
def run(self, xline, lineno, match):
|
||||
|
|
|
@ -54,7 +54,7 @@ def commandline(args):
|
|||
parser.add_argument(
|
||||
'--version',
|
||||
action='version',
|
||||
version='wmlxgettext 2018.03.10.py3'
|
||||
version='wmlxgettext 2019.09.03.py3'
|
||||
)
|
||||
parser.add_argument(
|
||||
'-o',
|
||||
|
|
Loading…
Add table
Reference in a new issue