Avoid relying on too new features of the msgcat package.

This commit is contained in:
Bruno Haible 2002-05-16 11:56:13 +00:00
parent e897752640
commit abaaf8ab0c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-16 Bruno Haible <bruno@clisp.org>
* lang-tcl: Explicitly invoke 'format', don't assume that ::msgcat::mc
does it when given more than one argument.
2002-05-04 Bruno Haible <bruno@clisp.org>
* lang-c++: Use <iostream> instead of <iostream.h> to avoid g++ 3.1

View File

@ -14,7 +14,7 @@ package require msgcat
::msgcat::mcload [file join [file dirname [info script]] msgs]
proc _ {s} {return [::msgcat::mc $s]}
puts [_ "'Your command, please?', asked the waiter."]
puts [::msgcat::mc "%s is replaced by %s." "FF" "EUR"]
puts [format [::msgcat::mc "%s is replaced by %s."] "FF" "EUR"]
EOF
tmpfiles="$tmpfiles prog.pot"