Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] [sympa-commits] sympa[11890] branches/sympa-6.2-branch/po/sympa/xgettext.pl: [-dev] Now xgettext.pl supports extended chomping flags in tt2.

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] [sympa-commits] sympa[11890] branches/sympa-6.2-branch/po/sympa/xgettext.pl: [-dev] Now xgettext.pl supports extended chomping flags in tt2.
  • Date: Wed, 28 Jan 2015 17:06:24 +0100

Hi Soji,

This one does not look like it is working. I still have extended chomping flags in the internationalization catalogues... As if Sympa did not recognize them, despite the new regexp.
Do you know what's wrong?

Best regards,

David

Le 28/01/15 08:00, address@concealed a écrit :
sympa[11890] branches/sympa-6.2-branch/po/sympa/xgettext.pl: [-dev] Now xgettext.pl supports extended chomping flags in tt2.
Revision
11890
Author
sikeda
Date
2015-01-28 08:00:56 +0100 (mer. 28 janv. 2015)

Log Message

[-dev] Now xgettext.pl supports extended chomping flags in tt2.

Modified Paths

  • branches/sympa-6.2-branch/po/sympa/xgettext.pl

Diff

Modified: branches/sympa-6.2-branch/po/sympa/xgettext.pl (11889 => 11890)


--- branches/sympa-6.2-branch/po/sympa/xgettext.pl	2015-01-27 17:12:11 UTC (rev 11889)
+++ branches/sympa-6.2-branch/po/sympa/xgettext.pl	2015-01-28 07:00:56 UTC (rev 11890)
@@ -302,7 +302,7 @@
     $line = 1;
     pos($_) = 0;
     while (
-        m!\G.*?\[%\s*\|($available_tags)(.*?)\s*%\](.*?)\[%\-?\s*END\s*\-?%\]!sg
+        m!\G.*?\[%\s*\|($available_tags)(.*?)\s*%\](.*?)\[%[-=~+]?\s*END\s*[-=~+]?%\]!sg
         ) {
         my ($this_tag, $vars, $str) = ($1, $2, $3);
         $line += (() = ($& =~ /\n/g));    # cryptocontext!
@@ -323,7 +323,7 @@
     $line = 1;
     pos($_) = 0;
     while (
-        m!\G.*?\(\$tag\$%\s*\|($available_tags)(.*?)\s*%\$tag\$\)(.*?)\(\$tag\$%\s*END\s*%\$tag\$\)!sg
+        m!\G.*?\(\$tag\$%\s*\|($available_tags)(.*?)\s*%\$tag\$\)(.*?)\(\$tag\$%[-=~+]?\s*END\s*[-=~+]?%\$tag\$\)!sg
         ) {
         my ($this_tag, $vars, $str) = ($1, $2, $3);
         $line += (() = ($& =~ /\n/g));    # cryptocontext!

--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page