git-gui: mc cannot be used before msgcat has been loaded
authorPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 2 Aug 2010 11:13:05 +0000 (12:13 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 2 Aug 2010 11:13:05 +0000 (12:13 +0100)
If someone attempts to use an older version that Tk 8.4 the error was
masked by the lack of a mc command.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh

index 88b3f8a0865170b98dbcea577d7e223627944b61..c3f6736132625427f248aa9c8624952a1d089b13 100755 (executable)
@@ -38,7 +38,7 @@ if {[catch {package require Tcl 8.4} err]
        tk_messageBox \
                -icon error \
                -type ok \
-               -title [mc "git-gui: fatal error"] \
+               -title "git-gui: fatal error" \
                -message $err
        exit 1
 }