[Bug #1095] Fixed issue using header parameter of CutyCapt to set Accept-Language.

FEA: ItEr75S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-06-20 19:04:28 +02:00
parent 3697c7f8a5
commit 4ae60ee70d

View file

@ -212,6 +212,10 @@ public class CutyPrint {
// Destination complete absolute path
captureString += " --out=" + absolutePath + filename;
// User language
captureString += " --header=Accept-Language:"
+ Locales.getCurrent().getLanguage();
try {
// CutyCapt command execution
LOG.warn(captureString);