aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--websites/langpo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/websites/langpo.py b/websites/langpo.py
index 703635b6..052c4d5a 100644
--- a/websites/langpo.py
+++ b/websites/langpo.py
@@ -33,7 +33,7 @@ for langfile in glob.glob('*.en.lang'):
}
# Parse contents and add them to POT
- messagetemplate='\n\n#\ .*?\n\n'
+ messagetemplate='\n\n#\ .*?\n\;.*?\n.*?\n'
mpattern=re.compile(messagetemplate,re.DOTALL)
for mblock in mpattern.findall(text):
mblock_stripped = mblock.strip('\n')