]> source.dussan.org Git - nextcloud-server.git/commitdiff
update l10n script to better read js files
authorRobin Appelman <icewind@owncloud.com>
Tue, 5 Jun 2012 22:11:45 +0000 (00:11 +0200)
committerRobin Appelman <icewind@owncloud.com>
Tue, 5 Jun 2012 22:11:45 +0000 (00:11 +0200)
l10n/l10n.pl

index 27b14c41bef90970a74263a2b35921d9d93ccf32..0f75cc5c7e97d1837f0595c4dd4ee2e8e3aec08e 100644 (file)
@@ -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"`;