From: Bruno Haible Date: Mon, 30 Apr 2007 08:53:21 +0000 (+0000) Subject: Fix test failure with newer versions of PHP. X-Git-Tag: v0.17~419 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20b835dec5a18954e7e4d05dfad405c0260f99c3;p=thirdparty%2Fgettext.git Fix test failure with newer versions of PHP. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index fa0156ba2..b3a2f1bab 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2007-04-30 Bruno Haible + + * lang-php: Remove 'echo' of printf result. + Patch by Jens Petersen . + 2007-03-27 Bruno Haible * tstgettext.c (usage): Ask translators to specify a translation bug diff --git a/gettext-tools/tests/lang-php b/gettext-tools/tests/lang-php index 9460680aa..6b5b7ee2b 100755 --- a/gettext-tools/tests/lang-php +++ b/gettext-tools/tests/lang-php @@ -15,7 +15,7 @@ cat <<\EOF > prog.php bindtextdomain ("prog", "."); echo _("'Your command, please?', asked the waiter."); echo "\n"; - echo printf(_("%s is replaced by %s."), "FF", "EUR"); + printf(_("%s is replaced by %s."), "FF", "EUR"); echo "\n"; ?> EOF