Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/l10n
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-06-06 02:11:45 +0400
committerRobin Appelman <icewind@owncloud.com>2012-06-06 02:11:45 +0400
commit549889d3cbc75e184f27973d7e020b7985189af1 (patch)
tree651d1cb8e0bf47b09ef4df04a01563ae4bced7e8 /l10n
parente6c4e53486b7c1a2f9da7b3ebca3b2581406fb92 (diff)
update l10n script to better read js files
Diffstat (limited to 'l10n')
-rw-r--r--l10n/l10n.pl2
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"`;