git-gui: mc cannot be used before msgcat has been loaded

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>
This commit is contained in:
Pat Thoyts 2010-08-02 12:13:05 +01:00
parent 1fbaccad4d
commit 9cb268c426

View File

@ -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
}