[Libreoffice-commits] .: l10ntools/scripts
Miklos Vajna
vmiklos at kemper.freedesktop.org
Thu Oct 13 01:12:04 PDT 2011
l10ntools/scripts/po2lo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4456143b68c5093ca558579e9bc90cd3dd49cab1
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Thu Oct 13 10:11:30 2011 +0200
po2lo: the po parser should be reset before starting a new file
diff --git a/l10ntools/scripts/po2lo b/l10ntools/scripts/po2lo
index a815739..9fc93d6 100755
--- a/l10ntools/scripts/po2lo
+++ b/l10ntools/scripts/po2lo
@@ -103,12 +103,12 @@ class Translations:
"""Represents a set of .po files, containing translations."""
def __init__(self):
- key = None
self.data = {}
for root, dirs, files in os.walk(options.input):
for file in files:
path = "%s/%s" % (root, file)
sock = xopen(path, "r", encoding='utf-8')
+ key = None
buf = []
multiline = False
fuzzy = False
More information about the Libreoffice-commits
mailing list