fixing issues with UTF8 characters in translatable strings
This commit is contained in:
parent
2507e0da1d
commit
068595e5ac
|
@ -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