Merge pull request #1649 from owncloud/fixing-l10n-master
fixing issues with UTF8 characters in translatable strings
This commit is contained in:
commit
ba1ab38e7f
|
@ -104,7 +104,7 @@ if( $task eq 'read' ){
|
||||||
my $language = ( $file =~ /\.js$/ ? 'Python' : 'PHP');
|
my $language = ( $file =~ /\.js$/ ? 'Python' : 'PHP');
|
||||||
my $joinexisting = ( -e $output ? '--join-existing' : '');
|
my $joinexisting = ( -e $output ? '--join-existing' : '');
|
||||||
print " Reading $file\n";
|
print " Reading $file\n";
|
||||||
`xgettext --output="$output" $joinexisting --keyword=$keyword --language=$language "$file"`;
|
`xgettext --output="$output" $joinexisting --keyword=$keyword --language=$language "$file" --from-code=UTF-8 --package-version="5.0.0" --package-name="ownCloud Core" --msgid-bugs-address="translations\@owncloud.org"`;
|
||||||
}
|
}
|
||||||
chdir( $whereami );
|
chdir( $whereami );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue