diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-06 00:11:45 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-06 00:11:45 +0200 |
commit | 549889d3cbc75e184f27973d7e020b7985189af1 (patch) | |
tree | 651d1cb8e0bf47b09ef4df04a01563ae4bced7e8 /l10n/l10n.pl | |
parent | e6c4e53486b7c1a2f9da7b3ebca3b2581406fb92 (diff) | |
download | nextcloud-server-549889d3cbc75e184f27973d7e020b7985189af1.tar.gz nextcloud-server-549889d3cbc75e184f27973d7e020b7985189af1.zip |
update l10n script to better read js files
Diffstat (limited to 'l10n/l10n.pl')
-rw-r--r-- | l10n/l10n.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 27b14c41bef..0f75cc5c7e9 100644 --- a/l10n/l10n.pl +++ b/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$/ ? '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"`; |