mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
Avoid relying on too new features of the msgcat package.
This commit is contained in:
parent
e897752640
commit
abaaf8ab0c
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user