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

Commit

Permalink
TS translation upload should set items as state translated
Browse files Browse the repository at this point in the history
Being a structured format, with no concept of fuzzy, uploads
should be considered as translated.
  • Loading branch information
djansen-redhat committed Mar 10, 2016
1 parent 1526aeb commit 199346a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zanata-war/src/main/java/org/zanata/adapter/TSAdapter.java
Expand Up @@ -311,7 +311,7 @@ protected TranslationsResource parseTranslationFile(RawDocument rawDoc,
TextFlowTarget tft =
new TextFlowTarget(getIdFor(tu, context.concat(content), subDocName));
// TODO: Change this
tft.setState(ContentState.NeedReview);
tft.setState(ContentState.Translated);
String resId = tft.getResId();
if (addedResources.containsKey(resId)) {
List<String> currentStrings = new ArrayList<>(addedResources.get(resId).getContents());
Expand Down

0 comments on commit 199346a

Please sign in to comment.