~ubuntu-branches/ubuntu/karmic/gnome-backgrounds/karmic

« back to all changes in this revision

Viewing changes to intltool-extract.in

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2007-07-02 11:09:15 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20070702110915-x8g4dfrnlepqn61z
Tags: 2.18.3-1
* Add a get-orig-source target to retrieve the upstream tarball.
* Wrap build-deps.
* Add ${misc:Depends}.
* New upstream stable release; translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
## Release information
33
33
my $PROGRAM      = "intltool-extract";
34
34
my $PACKAGE      = "intltool";
35
 
my $VERSION      = "0.35.0";
 
35
my $VERSION      = "0.35.5";
36
36
 
37
37
## Loaded modules
38
38
use strict; 
114
114
sub place_normal {
115
115
    $FILE        = $ARGV[0];
116
116
    $OUTFILE     = "$FILE.h";
 
117
 
 
118
    my $dirname = dirname ($OUTFILE);
 
119
    if (! -d "$dirname" && $dirname ne "") {
 
120
        system ("mkdir -p $dirname");
 
121
    }
117
122
}   
118
123
 
119
124
sub place_local {
256
261
 
257
262
sub type_ini {
258
263
    ### For generic translatable desktop files ###
259
 
    while ($input =~ /^_.*=(.*)$/mg) {
260
 
        $messages{$1} = [];
 
264
    while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) {
 
265
        if (defined($2))  {
 
266
            $comments{$3} = $2;
 
267
        }
 
268
        $messages{$3} = [];
261
269
    }
262
270
}
263
271