Re: [PATCH 1/2] gitk: Import msgcat for translation support
- From
Paul Mackerras <paulus@samba.org>
- Date
- Jul 27, 2007, 23:53 UTC
- Message-ID
- <18090.34168.705811.872887@cargo.ozlabs.ibm.com>
- In-Reply-To
- <20070727165318.e96b1yxxwsooo884@webmail.tu-harburg.de>
Christian Stimming writes:
> Import tcl's msgcat package to have the [mc...] procedure for > translation available.
I would prefer
if {[catch {
package require msgcat
# rest of your new stuff
}]} {
proc mc {str} {
return $str
}
}so that everything still works if msgcat isn't available. In other words I don't want to introduce a possible regression by increasing gitk's requirements.
Paul.