Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(API): autotranslate param in key creation [STRINGS-786] #713

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading