Skip to content

Commit

Permalink
feat(API): autotranslate param in key creation [STRINGS-786] (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
jablan authored Nov 15, 2024
1 parent 8250335 commit 581d0ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -21257,6 +21257,11 @@
"type": "string",
"example": "Default translation content"
},
"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.",
"type": "boolean",
Expand Down
4 changes: 4 additions & 0 deletions paths/keys/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ requestBody:
description: Creates a translation in the default locale with the specified content
type: string
example: Default translation content
autotranslate:
description: Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`.
type: boolean
example:
xml_space_preserve:
description: Indicates whether the key should be exported with "xml:space=preserve". Supported by several XML-based formats.
type: boolean
Expand Down

0 comments on commit 581d0ff

Please sign in to comment.