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: IKEDA Soji <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: Thu, 29 Jan 2015 13:00:08 +0900

Hi David,

On Wed, 28 Jan 2015 17:06:24 +0100
David Verdin <address@concealed> wrote:

> 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?

Updated sympa.pot no longer includes msgstr with chomping flags,
but po files on pootle do. I guess they would be removed, e.g.

$ cd po/sympa
$ for f in *.po; do perl -00i -pe '$_ = "" if /~%[]]/' $f; done

Regards,

--- Soji

> 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
> > <#branchessympa62branchposympaxgettextpl>
> >
> >
> > 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!
> <https://sourcesup.renater.fr/tracker/?group_id=23>
> RENATER logo
> *David Verdin*
> Études et projets applicatifs
>
> Tél : +33 2 23 23 69 71
> Fax : +33 2 23 23 71 21
>
> www.renater.fr <http;//www.renater.fr>
> RENATER
> 263 Avenue du Gal Leclerc
> 35042 Rennes Cedex
>
>
>


--
株式会社 コンバージョン セキュリティ&OSSソリューション部 池田荘児
〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
e-mail address@concealed TEL 045-640-3550
http://www.conversion.co.jp/



Archive powered by MHonArc 2.6.19+.

Top of Page