gitk: Remove mc parameter from proc show_error
commitef87a4801a8732bd60b4f96ce1f8d66ca2bdf2f1
authorAlex Henrie <alexhenrie24@gmail.com>
Mon, 11 May 2015 19:26:41 +0000 (11 13:26 -0600)
committerPaul Mackerras <paulus@samba.org>
Sun, 17 May 2015 00:45:55 +0000 (17 10:45 +1000)
treefeea0c639f2bef20d7432b01d573e51c95e63efa
parenteb859df85e480ae4aa76a0d8358054b10d91749c
gitk: Remove mc parameter from proc show_error

This is a better fix for 8d849957d81fc0480a52570d66cc3c2a688ecb1b.

This new fix makes the strings "Sorry, gitk cannot run..." and "OK"
translatable and the string "mc" not translatable. It will take effect
the next time `make update-po` is run.

msgcat is now imported before the Tcl/Tk version check so that the mc
function is available even if the version check fails. This should not
be a problem because msgcat and ::msgcat::mc were officially added in
Tcl 8.1 (released April 29, 1999) and we are not trying to support
versions of Tcl older than that.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk