From: Bruno Haible Date: Thu, 16 May 2002 11:56:13 +0000 (+0000) Subject: Avoid relying on too new features of the msgcat package. X-Git-Tag: v0.11.3~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abaaf8ab0c3a00701b37af0af5e7d8da14bef310;p=thirdparty%2Fgettext.git Avoid relying on too new features of the msgcat package. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 57320cb18..e2d6a995b 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2002-05-16 Bruno Haible + + * lang-tcl: Explicitly invoke 'format', don't assume that ::msgcat::mc + does it when given more than one argument. + 2002-05-04 Bruno Haible * lang-c++: Use instead of to avoid g++ 3.1 diff --git a/tests/lang-tcl b/tests/lang-tcl index d061b455b..d0171ce5c 100755 --- a/tests/lang-tcl +++ b/tests/lang-tcl @@ -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"