Python language setting on gettext

gettext with language setting 'Python' gives better results than 'Perl'
remotes/origin/stable45
Thomas Müller 13 years ago
parent 50d7cfbbe7
commit b57cc67f60
  1. 2
      l10n/l10n.pl

@ -101,7 +101,7 @@ if( $task eq 'read' ){
foreach my $file ( @totranslate ){
next if $ignore{$file};
my $keyword = ( $file =~ /\.js$/ ? 't:2' : 't');
my $language = ( $file =~ /\.js$/ ? 'Perl' : 'PHP');
my $language = ( $file =~ /\.js$/ ? 'Python' : 'PHP');
my $joinexisting = ( -e $output ? '--join-existing' : '');
print " Reading $file\n";
`xgettext --output="$output" $joinexisting --keyword=$keyword --language=$language "$file"`;

Loading…
Cancel
Save