crowdin / crowdin-api-client-java

Java client library for Crowdin API
https://jitpack.io/#crowdin/crowdin-api-client-java
MIT License
65 stars 44 forks source link

Translation Status: new `preTranslateAppliedTo` field in Progress API Methods' response #152

Closed andrii-bodnar closed 1 year ago

andrii-bodnar commented 1 year ago

Crowdin has recently enhanced its response for the Progress API Methods:

For example:

{
  "data": [
    {
      "data": {
        "words": {
          "total": 7249,
          "translated": 3651,
+          "preTranslateAppliedTo": 1254,
          "approved": 3637
        },
        "phrases": {
          "total": 3041,
          "translated": 2631,
+          "preTranslateAppliedTo": 1254,
          "approved": 2622
        },
        "translationProgress": 86,
        "approvalProgress": 86,
        "languageId": "af"
      }
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 25
  }
}

The response of these methods now contains a new field preTranslateAppliedTo in the words and phrases objects.

These new fields should also be reflected in this API Client.