author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 2 Sep 2007 02:22:42 +0000 (22:22 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 2 Sep 2007 02:22:42 +0000 (22:22 -0400) | ||
commit | d4b0ccd931cc29f35e8f8493445af27ea72ed03e | |
tree | c09db773da8574437cca45467ce9d45063226a9b | tree | snapshot |
parent | fc703c209d415fe20ad5551465b5b68b8ab8b046 | commit | diff |
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>
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 | diff | blob | history |