l10ntools/scripts/po2lo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4456143b68c5093ca558579e9bc90cd3dd49cab1 Author: Miklos Vajna <vmik...@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 _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits