Skip to content

Commit

Permalink
Deploying from phrase/openapi@581d0ff5
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Nov 15, 2024
1 parent 7b7890b commit adcbb51
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34683,6 +34683,11 @@ components:
content
example: Default translation content
type: string
autotranslate:
description: Indicates whether the key should be autotranslated to other
locales based on the copy provided in `default_translation_content`.
type: boolean
example: null
xml_space_preserve:
description: Indicates whether the key should be exported with "xml:space=preserve".
Supported by several XML-based formats.
Expand Down
1 change: 1 addition & 0 deletions docs/KeyCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**RemoveScreenshot** | **bool** | Indicates whether the screenshot will be deleted. This parameter is deprecated. Please use the Screenshots endpoint instead. | [optional]
**Unformatted** | **bool** | Indicates whether the key should be exported as \"unformatted\". Supported by Android XML and other formats. | [optional]
**DefaultTranslationContent** | **string** | Creates a translation in the default locale with the specified content | [optional]
**Autotranslate** | **bool** | Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`. | [optional]
**XmlSpacePreserve** | **bool** | Indicates whether the key should be exported with \"xml:space=preserve\". Supported by several XML-based formats. | [optional]
**OriginalFile** | **string** | Original file attribute. Used in some formats, e.g. XLIFF. | [optional]
**LocalizedFormatString** | **string** | NSStringLocalizedFormatKey attribute. Used in .stringsdict format. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions model_key_create_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ type KeyCreateParameters struct {
Unformatted *bool `json:"unformatted,omitempty"`
// Creates a translation in the default locale with the specified content
DefaultTranslationContent string `json:"default_translation_content,omitempty"`
// Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`.
Autotranslate *bool `json:"autotranslate,omitempty"`
// Indicates whether the key should be exported with \"xml:space=preserve\". Supported by several XML-based formats.
XmlSpacePreserve *bool `json:"xml_space_preserve,omitempty"`
// Original file attribute. Used in some formats, e.g. XLIFF.
Expand Down

0 comments on commit adcbb51

Please sign in to comment.