Made scons recipe invoke msgfmt instead of gmsgfmt.

This commit is contained in:
Sergey Popov 2008-03-30 22:13:56 +00:00
parent ce8f0b4a78
commit 505c03b18b

View file

@ -1028,12 +1028,12 @@ if not access(fifodir, F_OK):
env.Alias("install-campaignd", env.Clone().Install(bindir, campaignd))
#
# If we have the right tool in place, create targets to invoke gmsgfmt to
# If we have the right tool in place, create targets to invoke msgfmt to
# compile message catalogs to binary format at installation time.
# Without this step, the i18n support won't work.
#
if not env.WhereIs("gmsgfmt"):
print "Can't find gmsgfmt, i18n support won't work in this build."
if not env.WhereIs("msgfmt"):
print "Can't find msgfmt, i18n support won't work in this build."
else:
translation_dirs = os.listdir("po")
translation_dirs.remove(".svn")
@ -1052,7 +1052,7 @@ else:
env.Command(
os.path.join("translations", lingua, "LC_MESSAGES", name+".mo"),
os.path.join("po", name, lingua + ".po"),
"gmsgfmt -c --statistics -o $TARGET $SOURCE"
"msgfmt -c --statistics -o $TARGET $SOURCE"
)
#