~ubuntu-branches/debian/experimental/intltool/experimental

« back to all changes in this revision

Viewing changes to intltool-update.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge, Josselin Mouette, Sebastian Dröge
  • Date: 2008-07-27 11:46:44 UTC
  • mfrom: (1.3.2 upstream) (4.1.19 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080727114644-emlk8gm2hrzv1xo9
Tags: 0.40.3-1
[ Josselin Mouette ]
* Depend on automake instead of automake1.7. Closes: #491360.

[ Sebastian Dröge ]
* New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
                last;
458
458
            }
459
459
 
460
 
            ## C_ N_ Q_ and _ are the macros defined in gi8n.h
461
 
            if (/[CNQ]?_ *\(QUOTEDTEXT/)
 
460
            ## C_ N_ NC_ Q_ and _ are the macros defined in gi8n.h
 
461
            if (/(NC|[CNQ]?)_ *\(QUOTEDTEXT/)
462
462
            {
463
463
                if (defined isNotValidMissing (unpack("x3 A*", $file))) {
464
464
                    ## Remove the first 3 chars and add newline
627
627
{
628
628
    my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract";
629
629
 
 
630
    $EXTRACT = "$^X $EXTRACT" if ($^O eq 'MSWin32' && !($EXTRACT =~ /perl/));
 
631
 
630
632
    ## Generate the .h header files, so we can allow glade and
631
633
    ## xml translation support
632
634
    if (! isProgramInPath ("$EXTRACT"))
1137
1139
sub FindPOTKeywords
1138
1140
{
1139
1141
 
1140
 
    my $keywords = "--keyword\=\_ --keyword\=N\_ --keyword\=U\_ --keyword\=Q\_";
 
1142
    my $keywords = "--keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=Q_";
1141
1143
    my $varname = "XGETTEXT_OPTIONS";
1142
1144
    my $make_source; {
1143
1145
        local (*IN);