gettext/gettext-php-headers.patch

34 lines
973 B
Diff

--- ./gettext-tools/tests/xgettext-php-1.orig 2006-11-27 18:02:11.000000000 +0100
+++ ./gettext-tools/tests/xgettext-php-1 2007-03-18 16:03:40.000000000 +0100
@@ -7,7 +7,7 @@
tmpfiles="$tmpfiles xg-ph-1.php"
cat <<EOF > xg-ph-1.php
-<?
+<?php
// This comment will not be extracted.
echo _("help");
// TRANSLATORS: This is an extracted comment.
--- ./gettext-tools/tests/xgettext-php-2.orig 2006-05-15 14:23:49.000000000 +0200
+++ ./gettext-tools/tests/xgettext-php-2 2007-03-18 16:03:52.000000000 +0100
@@ -7,7 +7,7 @@
tmpfiles="$tmpfiles xg-ph-2.php"
cat <<EOF > xg-ph-2.php
-<?
+<?php
echo _("Egyptians");
echo <<<EOTMARKER
Ramses
--- ./gettext-tools/tests/lang-php.orig 2006-11-27 18:02:08.000000000 +0100
+++ ./gettext-tools/tests/lang-php 2007-03-18 16:04:42.000000000 +0100
@@ -9,7 +9,7 @@
tmpfiles="$tmpfiles prog.php"
cat <<\EOF > prog.php
-<?
+<?php
setlocale (LC_ALL, "");
textdomain ("prog");
bindtextdomain ("prog", ".");