Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz1234687,ZANATA-8 fix error uploading pot file from web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Jun 23, 2015
1 parent 472925f commit 4726e0e
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -333,9 +333,8 @@ private void parsePotFile(InputStream potStream, GlobalDocumentId id,
DocumentFileUploadForm uploadForm) {
// real upload filename not available, but the service only cares about
// the suffix.
String uploadFileName = "." + uploadForm.getFileType();
Resource doc = translationFileServiceImpl.parseUpdatedPotFile(potStream,
id.getDocId(), uploadFileName,
id.getDocId(), ".pot",
useOfflinePo(id));
doc.setLang(LocaleId.EN_US);
// TODO Copy Trans values
Expand Down

0 comments on commit 4726e0e

Please sign in to comment.