git-gui: Initialize Tcl's msgcat library for internationalization
commitd4b0ccd931cc29f35e8f8493445af27ea72ed03e
authorShawn O. Pearce <spearce@spearce.org>
Sun, 2 Sep 2007 02:22:42 +0000 (1 22:22 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 2 Sep 2007 02:22:42 +0000 (1 22:22 -0400)
treec09db773da8574437cca45467ce9d45063226a9b
parentfc703c209d415fe20ad5551465b5b68b8ab8b046
git-gui: Initialize Tcl's msgcat library for internationalization

Tcl's msgcat library and corresponding mc procedure can locate a
translated string for any user message, provided that it is first
given a directory where the *.msg files are located containing the
translations.

During installation we will place the translations in lib/msgs/,
so we need to inform msgcat of this location once we determine it
during startup.  Our source code tree however will store all of
the translations within the po/ directory, so we need to special
case this variant.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh