<div dir="ltr">Hi EJ,<div><br></div><div>In the database, "Approved" is represented in the table "HTextFlowTarget", by the column "state" with a value of 3 (ContentState.Approved as a Java enum). The existing "Translated" entries should have a value of 2.</div><div><br></div><div>Just in case you want to see it, the ContentState enum is defined here: <a href="https://github.com/zanata/zanata-api/blob/api-3.8.3/zanata-common-api/src/main/java/org/zanata/common/ContentState.java#L17">https://github.com/zanata/zanata-api/blob/api-3.8.3/zanata-common-api/src/main/java/org/zanata/common/ContentState.java#L17</a> The values New, NeedReview, Translated, Approved, Rejected are assigned in order: 0, 1, 2, 3, 4.</div><div><br></div><div>Regards,</div><div><br></div><div>Sean.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 November 2015 at 21:01, EJ <span dir="ltr"><<a href="mailto:ejaekoi@gmail.com" target="_blank">ejaekoi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We're looking to migrate an existing, reviewed translation to Zanata. The Approved status is something we want in our workflow, but there doesn't seem to be a way to mass-Approve a set of existing translations.<br>
<br>
This wouldn't be an issue if I could figure out where the 'Approved' state is stored per entry, but its placement isn't obvious in the database and it doesn't seem to exist in the po file like 'Fuzzy' does.<br>
<br>
Can anyone give me an indication as to where state information is stored for Zanata's Approval ? Thanks<br>
<br>
_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com" target="_blank">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sean Flanigan<br><br>Principal Software Engineer<br>Globalisation Tools Engineering<br>Red Hat</div></div></div></div>
</div>