Skip to content
Snippets Groups Projects
Commit 549889d3 authored by Robin Appelman's avatar Robin Appelman
Browse files

update l10n script to better read js files

parent e6c4e534
No related branches found
No related tags found
No related merge requests found
......@@ -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$/ ? 'C' : 'PHP');
my $language = ( $file =~ /\.js$/ ? 'Perl' : 'PHP');
my $joinexisting = ( -e $output ? '--join-existing' : '');
print " Reading $file\n";
`xgettext --output="$output" $joinexisting --keyword=$keyword --language=$language "$file"`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment