aboutsummaryrefslogtreecommitdiffstats
path: root/websites
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@mageia.org>2013-05-25 16:42:32 +0000
committerYuri Chornoivan <yurchor@mageia.org>2013-05-25 16:42:32 +0000
commitcfe198dc6bf9f417c6f69925c255a2d96d461cb4 (patch)
treed15cf67f58869fdef841ec2955e02cabf36eafea /websites
parent5dc850871d5bce5915e789a68d2b95c628745701 (diff)
downloadtools-cfe198dc6bf9f417c6f69925c255a2d96d461cb4.tar
tools-cfe198dc6bf9f417c6f69925c255a2d96d461cb4.tar.gz
tools-cfe198dc6bf9f417c6f69925c255a2d96d461cb4.tar.bz2
tools-cfe198dc6bf9f417c6f69925c255a2d96d461cb4.tar.xz
tools-cfe198dc6bf9f417c6f69925c255a2d96d461cb4.zip
Fix bug with checker extraction and last mesage skipping
Diffstat (limited to 'websites')
-rw-r--r--websites/translated_converter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/websites/translated_converter.py b/websites/translated_converter.py
index 57116c29..2a717df5 100644
--- a/websites/translated_converter.py
+++ b/websites/translated_converter.py
@@ -43,6 +43,7 @@ for langfile in glob.glob(file_mask):
spattern=re.compile(spaces,re.DOTALL)
for emptyline in spattern.findall(text):
text = text.replace(emptyline,'\n')
+ text = text.replace('\n\n','\n\n\n')+'\n'
# Write PO file
po = polib.POFile()