From c94258fe67df6ee9b9dfcae3716ad00f907bf1e4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 6 Dec 2008 05:43:24 +0100 Subject: [PATCH] Fix translation updating in build script --- wscript | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wscript b/wscript index 44b6d4e4..35b39722 100644 --- a/wscript +++ b/wscript @@ -260,15 +260,16 @@ def shutdown (): if not Params.g_options.destdir: # update the pixmap cache directory try: - uic = subprocess.Popen (['gtk-update-icon-cache', '-q', '-f', '-t', dir], - stderr=subprocess.PIPE) + uic = subprocess.Popen (['gtk-update-icon-cache', + '-q', '-f', '-t', dir], stderr=subprocess.PIPE) if not uic.wait (): Params.pprint ('YELLOW', "Updated Gtk icon cache.") icon_cache_updated = True except: Params.pprint ('RED', "Failed to update icon cache.") if not icon_cache_updated: - Params.pprint ('YELLOW', "Icon cache not updated. After install, run this:") + Params.pprint ('YELLOW', "Icon cache not updated. " + "After install, run this:") Params.pprint ('YELLOW', "gtk-update-icon-cache -q -f -t %s" % dir) elif Params.g_commands['check']: @@ -291,8 +292,8 @@ def shutdown (): if size_new <> size_old: Params.pprint ('YELLOW', "Updated po template.") try: - intltool_update = subprocess.Popen (['intltool-update', '-r'], - stderr=subprocess.PIPE) + intltool_update = subprocess.Popen (['intltool-update', + '-r', '-g', APPNAME], stderr=subprocess.PIPE) intltool_update.wait () Params.pprint ('YELLOW', "Updated translations.") except: