~noskcaj/ubuntu/trusty/gmusicbrowser/1.1.12

« back to all changes in this revision

Viewing changes to po/create_pot.pl

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 20:10:44 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20111203201044-42q2zh0yeg1qbdhl
Tags: 1.1.8-1
* New upstream release.
* Bump Standards.
* Revert gmusicbrowser.man, take the correct file from upstream's
  tarball.
* The patch spelling-errors has been forwarded upstream.
* Refresh shimmer-layouts patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
        while (m/_"([^"]+)"/g)          { $msgid{$1}.=" $file:$."; }
26
26
        while (m/_\("([^"]+)"\)/g)      { $msgid{$1}.=" $file:$."; }
27
 
        while (m/_\('([^']+)'\)/g)      { $msgid{$1}.=" $file:$."; }
 
27
        while (m/_\('([^']+)'\)/g)      { my $esc=$1; $esc=~s/"/\\"/g; $msgid{$esc}.=" $file:$."; }
28
28
 
29
 
        while (m/__\(\s*'([^']+)'\s*,\s*'([^']+)'\s*,/g)        { $msgid_p{$1}{$2}.=" $file:$."; }
 
29
        while (m/__\(\s*'([^']+)'\s*,\s*'([^']+)'\s*,/g)        { my ($esc1,$esc2)=($1,$2); $esc1=~s/"/\\"/g for $esc1,$esc2; $msgid_p{$esc1}{$esc2}.=" $file:$."; }
30
30
        while (m/__\(\s*"([^"]+)"\s*,\s*"([^"]+)"\s*,/g)        { $msgid_p{$1}{$2}.=" $file:$."; }
31
 
        while (m/__\(\s*'([^']+)'\s*,\s*"([^"]+)"\s*,/g)        { $msgid_p{$1}{$2}.=" $file:$."; }
32
 
        while (m/__\(\s*"([^"]+)"\s*,\s*'([^']+)'\s*,/g)        { $msgid_p{$1}{$2}.=" $file:$."; }
 
31
        while (m/__\(\s*'([^']+)'\s*,\s*"([^"]+)"\s*,/g)        { my $esc=$1; $esc=~s/"/\\"/g; $msgid_p{$esc}{$2}.=" $file:$."; }
 
32
        while (m/__\(\s*"([^"]+)"\s*,\s*'([^']+)'\s*,/g)        { my $esc=$2; $esc=~s/"/\\"/g; $msgid_p{$1}{$esc}.=" $file:$."; }
33
33
 
34
34
        if (m/^=gmbplugin \D\w+/)
35
35
        {       while (<$fh>)