author | Bernt Hansen <bernt@norang.ca> | |
Mon, 2 Nov 2009 12:41:00 +0000 (07:41 -0500) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Tue, 3 Nov 2009 11:28:42 +0000 (22:28 +1100) | ||
commit | 8d849957d81fc0480a52570d66cc3c2a688ecb1b | |
tree | 294e800c37569568ca52a8ff17a2ea60ac9c7256 | tree | snapshot |
parent | d40bc70ab88ab0d8fde20650c6ca132d3ca3cd2c | commit | diff |
gitk: Skip translation of "wrong Tcl version" message
We check the required Tcl version number before we setup msgcat for
language translation. If the Tcl version is too old just display the
untranslated error text.
The caller of show_error can now pass an alternative function for mc.
The Tcl list function turns the translation into a no-op.
This fixes the error:
Error in startup script: invalid command name "mc"
when attempting to start gitk with Tcl 8.3.
Tested with both Tcl 8.3 and 8.4.
Signed-off-by: Bernt Hansen <bernt@norang.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
We check the required Tcl version number before we setup msgcat for
language translation. If the Tcl version is too old just display the
untranslated error text.
The caller of show_error can now pass an alternative function for mc.
The Tcl list function turns the translation into a no-op.
This fixes the error:
Error in startup script: invalid command name "mc"
when attempting to start gitk with Tcl 8.3.
Tested with both Tcl 8.3 and 8.4.
Signed-off-by: Bernt Hansen <bernt@norang.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |