From d82c36d992922b2de5b4c943bff5f550a2e0fe61 Mon Sep 17 00:00:00 2001 From: Phrase Date: Tue, 4 Jun 2024 13:47:13 +0000 Subject: [PATCH] Deploying from phrase/openapi@79da87b1 --- api/openapi.yaml | 16 ++++++++-------- docs/LocaleReport.md | 8 ++++---- model_locale_report.go | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index b70a1bc..40909d0 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -29605,9 +29605,9 @@ components: locale_report: example: completed_translations_count: 2 - translated_translations_percentage: 6 + translated_translations_percentage: 6.027456183070403 word_count_missing: 1 - reviewed_translations_percentage: 5 + reviewed_translations_percentage: 5.962133916683182 locale: id: abcd1234cdef1234abcd1234cdef1234 name: English @@ -29616,22 +29616,22 @@ components: word_count_unverified: 7 word_count: 4 keys_count: 0 - unverified_translations_percentage: 1 + unverified_translations_percentage: 1.4658129805029452 untranslated_keys_count: 7 - untranslated_keys_percentage: 5 + untranslated_keys_percentage: 5.637376656633329 reviewed_translations_count: 3 source_word_count: 2 properties: keys_count: type: integer translated_translations_percentage: - type: integer + type: number unverified_translations_percentage: - type: integer + type: number reviewed_translations_percentage: - type: integer + type: number untranslated_keys_percentage: - type: integer + type: number completed_translations_count: type: integer untranslated_keys_count: diff --git a/docs/LocaleReport.md b/docs/LocaleReport.md index badccbe..246bb76 100644 --- a/docs/LocaleReport.md +++ b/docs/LocaleReport.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **KeysCount** | **int32** | | [optional] -**TranslatedTranslationsPercentage** | **int32** | | [optional] -**UnverifiedTranslationsPercentage** | **int32** | | [optional] -**ReviewedTranslationsPercentage** | **int32** | | [optional] -**UntranslatedKeysPercentage** | **int32** | | [optional] +**TranslatedTranslationsPercentage** | **float32** | | [optional] +**UnverifiedTranslationsPercentage** | **float32** | | [optional] +**ReviewedTranslationsPercentage** | **float32** | | [optional] +**UntranslatedKeysPercentage** | **float32** | | [optional] **CompletedTranslationsCount** | **int32** | | [optional] **UntranslatedKeysCount** | **int32** | | [optional] **UnverifiedTranslationsCount** | **int32** | | [optional] diff --git a/model_locale_report.go b/model_locale_report.go index bc06416..cc7e071 100644 --- a/model_locale_report.go +++ b/model_locale_report.go @@ -3,10 +3,10 @@ package phrase // LocaleReport struct for LocaleReport type LocaleReport struct { KeysCount int32 `json:"keys_count,omitempty"` - TranslatedTranslationsPercentage int32 `json:"translated_translations_percentage,omitempty"` - UnverifiedTranslationsPercentage int32 `json:"unverified_translations_percentage,omitempty"` - ReviewedTranslationsPercentage int32 `json:"reviewed_translations_percentage,omitempty"` - UntranslatedKeysPercentage int32 `json:"untranslated_keys_percentage,omitempty"` + TranslatedTranslationsPercentage float32 `json:"translated_translations_percentage,omitempty"` + UnverifiedTranslationsPercentage float32 `json:"unverified_translations_percentage,omitempty"` + ReviewedTranslationsPercentage float32 `json:"reviewed_translations_percentage,omitempty"` + UntranslatedKeysPercentage float32 `json:"untranslated_keys_percentage,omitempty"` CompletedTranslationsCount int32 `json:"completed_translations_count,omitempty"` UntranslatedKeysCount int32 `json:"untranslated_keys_count,omitempty"` UnverifiedTranslationsCount int32 `json:"unverified_translations_count,omitempty"`