From 7e81e6c93fc6b270992fe8860283ede342802aab Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 31 Jul 2012 11:19:07 -0400 Subject: [PATCH] Fixed build script's --updatepot command which was broken. --- build.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build.py b/build.py index e5c77476..395b1278 100644 --- a/build.py +++ b/build.py @@ -188,13 +188,11 @@ def build_updatepot(): print("Building qtlib.pot") loc.generate_pot(['qtlib'], op.join('qtlib', 'locale', 'qtlib.pot'), ['tr']) print("Building cocoalib.pot") - loc.allstrings2pot(op.join('cocoalib', 'en.lproj'), op.join('cocoalib', 'locale', 'cocoalib.pot')) + loc.strings2pot(op.join('cocoalib', 'en.lproj', 'cocoalib.strings'), + op.join('cocoalib', 'locale', 'cocoalib.pot')) print("Enhancing ui.pot with Cocoa's strings files") - loc.allstrings2pot(op.join('cocoa', 'base', 'en.lproj'), op.join('locale', 'ui.pot'), - excludes={'core', 'message', 'columns'}) - loc.allstrings2pot(op.join('cocoa', 'se', 'en.lproj'), op.join('locale', 'ui.pot')) - loc.allstrings2pot(op.join('cocoa', 'me', 'en.lproj'), op.join('locale', 'ui.pot')) - loc.allstrings2pot(op.join('cocoa', 'pe', 'en.lproj'), op.join('locale', 'ui.pot')) + loc.strings2pot(op.join('cocoa', 'base', 'en.lproj', 'Localizable.strings'), + op.join('locale', 'ui.pot')) def build_mergepot(): print("Updating .po files using .pot files")