Skip to content
Snippets Groups Projects
Commit a70fdcd2 authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

fr: switch to one line

parent 143d52a5
Branches
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -5,7 +5,7 @@ import re
import sys
def main (f):
po = polib.pofile(f)
po = polib.pofile(f, wrapwidth=0)
for entry in po:
if (re.fullmatch(r'-[-a-z0-9[\]]+', entry.msgid)) \
......@@ -19,6 +19,7 @@ def main (f):
if 'fuzzy' in entry.flags:
entry.flags.remove('fuzzy')
entry.previous_msgid = None
po.save(f)
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment