Skip to content
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
48 changes: 47 additions & 1 deletion doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -2066,6 +2066,24 @@
"default_encoding": {
"type": "string",
"example": "UTF-8"
},
"cldr_version": {
"type": "string",
"example": "legacy"
},
"job_locking_enabled": {
"type": "boolean",
"example": false
},
"placeholder_styles": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"angular",
"iOS"
]
}
},
"example": {
Expand All @@ -2084,7 +2102,13 @@
"autotranslate_mark_as_unverified": false,
"autotranslate_use_machine_translation": false,
"autotranslate_use_translation_memory": true,
"default_encoding": "UTF-8"
"default_encoding": "UTF-8",
"cldr_version": "legacy",
"job_locking_enabled": false,
"placeholder_styles": [
"angular",
"iOS"
]
}
}
]
Expand Down Expand Up @@ -15953,6 +15977,17 @@
"description": "(Optional) Requires autotranslate_enabled to be true",
"type": "boolean",
"example": true
},
"placeholder_styles": {
"description": "(Optional) List of placeholder styles enabled for the project.",
"type": "array",
"items": {
"type": "string"
},
"example": [
"angular",
"iOS"
]
}
}
}
Expand Down Expand Up @@ -16209,6 +16244,17 @@
"UTF-16LE",
"ISO-8859-1"
]
},
"placeholder_styles": {
"description": "(Optional) List of placeholder styles enabled for the project.",
"type": "array",
"items": {
"type": "string"
},
"example": [
"angular",
"iOS"
]
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions paths/projects/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,12 @@ requestBody:
description: "(Optional) Requires autotranslate_enabled to be true"
type: boolean
example: true
placeholder_styles:
description: "(Optional) List of placeholder styles enabled for the project."
type: array
items:
type: string
example:
- "angular"
- "iOS"
x-cli-version: "2.6.3"
10 changes: 9 additions & 1 deletion paths/projects/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,19 @@ requestBody:
default_encoding:
description: "(Optional) Sets the default encoding for Uploads. If you leave it empty, we will try to guess it automatically for you when you Upload a file. You can still override this value by setting the [`file_encoding`](/en/api/strings/uploads/upload-a-new-file) parameter for Uploads."
type: string
example: "UTF-8"
example: "UTF-8"
enum:
- "UTF-8"
- "UTF-16"
- "UTF-16BE"
- "UTF-16LE"
- "ISO-8859-1"
placeholder_styles:
description: "(Optional) List of placeholder styles enabled for the project."
type: array
items:
type: string
example:
- "angular"
- "iOS"
x-cli-version: "2.6.3"
18 changes: 18 additions & 0 deletions schemas/project_details.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@ project_details:
default_encoding:
type: string
example: "UTF-8"
cldr_version:
type: string
example: "legacy"
job_locking_enabled:
type: boolean
example: false
placeholder_styles:
type: array
items:
type: string
example:
- "angular"
- "iOS"

example:
slug: my-android-project
Expand All @@ -69,3 +82,8 @@ project_details:
autotranslate_use_machine_translation: false
autotranslate_use_translation_memory: true
default_encoding: "UTF-8"
cldr_version: "legacy"
job_locking_enabled: false
placeholder_styles:
- "angular"
- "iOS"
Loading