Show
Ignore:
Timestamp:
11/16/09 09:19:00 (4 months ago)
Author:
auno
Message:

Fixed not to get new phrase that already has translations.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/greyhound/build/l10n/trans.pl

    r4988 r5064  
    223223                $args{phrase} = $1; 
    224224                $args{phrase} =~ s/(^'+|'+$)//; 
    225                 $args{phrase} =~ s/'/\\'/g; 
    226225                if ($trans eq '' && $conv{$args{phrase}}) { 
    227226                     $trans = $conv{$args{phrase}}; 
    228227                     $is_used{$args{phrase}} = 1; 
    229228                } 
     229                $args{phrase} =~ s/'/\\'/g; 
    230230                $trans =~ s/([^\\]?)'/$1\\'/g; 
    231231                next if ($phrase{$args{phrase}}); 
     
    252252                $args{phrase} = $1; 
    253253                $args{phrase} =~ s/(^'+|'+$)//g; 
    254                 $args{phrase} =~ s/'/\\'/g; 
    255254                if ($trans eq '' && $conv{$args{phrase}}) { 
    256255                     $trans = $conv{$args{phrase}}; 
    257256                     $is_used{$args{phrase}} = 1; 
    258257                } 
     258                $args{phrase} =~ s/'/\\'/g; 
    259259                $trans =~ s/([^\\]?)'/$1\\'/g; 
    260260                next if ($phrase{$args{phrase}});