diff options
author | Yuri Chornoivan <yurchor@mageia.org> | 2013-05-25 16:42:32 +0000 |
---|---|---|
committer | Yuri Chornoivan <yurchor@mageia.org> | 2013-05-25 16:42:32 +0000 |
commit | cfe198dc6bf9f417c6f69925c255a2d96d461cb4 (patch) | |
tree | d15cf67f58869fdef841ec2955e02cabf36eafea | |
parent | 5dc850871d5bce5915e789a68d2b95c628745701 (diff) | |
download | tools-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
-rw-r--r-- | websites/translated_converter.py | 1 |
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() |