diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-26 14:17:12 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-26 14:17:12 +0300 |
commit | b57cc67f6069aa43b12518026e36d59cd1b56d47 (patch) | |
tree | c86ff738179c9b0d818e3a6a0bef2e95e1430dd3 /l10n/l10n.pl | |
parent | 50d7cfbbe799969dcf650774dd1af9a0bb1d6c1c (diff) | |
download | nextcloud-server-b57cc67f6069aa43b12518026e36d59cd1b56d47.tar.gz nextcloud-server-b57cc67f6069aa43b12518026e36d59cd1b56d47.zip |
Python language setting on gettext
gettext with language setting 'Python' gives better results than 'Perl'
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 0f75cc5c7e9..346a21bfef6 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$/ ? '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"`; |