>From 18d783abd85e074c302c5e7979dfb242b3c6c386 Mon Sep 17 00:00:00 2001 From: Christian Stimming <chs@xxxxxxxxxxxxxxxxxx> Date: Sat, 21 Jul 2007 13:51:48 +0200 Subject: [PATCH] Initialize msgcat (gettext). Use [mc ...] as function name for translating user messages. Signed-off-by: Christian Stimming <stimming@xxxxxxx> --- This patch starts over from before the first i18n patch has been applied and takes into account all discussion with Shawn. Currently I don't quite know how to apply these patches to the "mob" branch because one would have to first revert those patches from me that have been applied there... Thanks. git-gui.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/git-gui.sh b/git-gui.sh index c5ff7c8..0c5ca46 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -108,6 +108,12 @@ if {$idx ne {}} { } unset -nocomplain oguirel idx fd +## Internationalization (i18n) through msgcat and gettext. See +## http://www.gnu.org/software/gettext/manual/html_node/Tcl.html +package require msgcat +::msgcat::mcload [file join $oguilib msgs] +namespace import ::msgcat::mc + ###################################################################### ## ## read only globals -- 1.5.2 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html