2 # Example for use of GNU gettext.
3 # Copyright (C) 2003 Free Software Foundation, Inc.
4 # This file is in the public domain.
6 # Source code of the Tcl/Tk program.
9 ::msgcat::mcload [file join "@pkgdatadir@" "msgs"]
10 proc _
{s
} {return [::msgcat::mc $s]}
14 -text [_
"Hello, world!"] \
17 -text [format [_
"This program is running as process number %d."] [pid]]
18 pack .my.
button -side top
19 pack .my.
label -side bottom