Skip to content

Commit

Permalink
wmlxgettext: fix #3469: lua plural strings not recognized in some con…
Browse files Browse the repository at this point in the history
…text (#3481)

* bugfix: #3469

* wmlxgettext: removed a debug comment forgotten on the previous bugfix
  • Loading branch information
AncientLich authored and jyrkive committed Aug 22, 2018
1 parent c589e39 commit 4b79c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/pywmlx/state/lua_states.py
Expand Up @@ -77,7 +77,7 @@ def run(self, xline, lineno, match):

class LuaStr00:
def __init__(self):
self.regex = re.compile(r'((?:_)|(?:.*?\s+_))\s*\(')
self.regex = re.compile(r'\b_\b\s*\(')
self.iffail = 'lua_str01'

def run(self, xline, lineno, match):
Expand Down

0 comments on commit 4b79c26

Please sign in to comment.