From: foobar Date: Tue, 23 Sep 2003 10:00:23 +0000 (+0000) Subject: Added simple test for gettext X-Git-Tag: RELEASE_1_3b2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fea9fec5330ec4f8f21d97c7057b9da830d399f;p=php Added simple test for gettext --- diff --git a/ext/gettext/tests/gettext_basic.phpt b/ext/gettext/tests/gettext_basic.phpt new file mode 100644 index 0000000000..734cc814ad --- /dev/null +++ b/ext/gettext/tests/gettext_basic.phpt @@ -0,0 +1,18 @@ +--TEST-- +Gettext basic test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +Perustesti +Perustesti diff --git a/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.mo b/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..55f4d1a341 Binary files /dev/null and b/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.mo differ diff --git a/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.po b/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..3505156f74 --- /dev/null +++ b/ext/gettext/tests/locale/fi/LC_MESSAGES/messages.po @@ -0,0 +1,15 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: gettext_basic.phpt:11 +msgid "Basic test" +msgstr "Perustesti"