[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gettext] php tests fixes
From: |
Jens Petersen |
Subject: |
Re: [gettext] php tests fixes |
Date: |
Mon, 19 Mar 2007 13:32:45 +1000 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070302) |
Sorry, here is a better patch, which should apply. -Jens
--- ./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", ".");