Skip to content

Commit

Permalink
Deploying from phrase/openapi@3a341b03
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Nov 19, 2024
1 parent 0338a33 commit 0baf949
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/UploadsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ opts = {
skip_unverification: true, # Boolean | Indicates whether the upload should unverify updated translations.
file_encoding: 'file_encoding_example', # String | Enforces a specific encoding on the file contents. Valid options are \\\"UTF-8\\\", \\\"UTF-16\\\" and \\\"ISO-8859-1\\\".
locale_mapping: { ... }, # Object | Mapping between locale names and translation columns. Required in some formats like CSV or XLSX.
format_options: { ... }, # Object | Additional options available for specific formats. See our format guide for complete list.
format_options: { ... }, # Object | Additional options available for specific formats. See our format guide for the [complete list](https://support.phrase.com/hc/en-us/articles/9652464547740-List-of-Supported-File-Types-Strings).
autotranslate: true, # Boolean | If set, translations for the uploaded language will be fetched automatically.
mark_reviewed: true, # Boolean | Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project.
tag_only_affected_keys: true, # Boolean | Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is `false`
Expand Down Expand Up @@ -89,7 +89,7 @@ Name | Type | Description | Notes
**skip_unverification** | **Boolean**| Indicates whether the upload should unverify updated translations. | [optional]
**file_encoding** | **String**| Enforces a specific encoding on the file contents. Valid options are \\\"UTF-8\\\", \\\"UTF-16\\\" and \\\"ISO-8859-1\\\". | [optional]
**locale_mapping** | [**Object**](Object.md)| Mapping between locale names and translation columns. Required in some formats like CSV or XLSX. | [optional]
**format_options** | [**Object**](Object.md)| Additional options available for specific formats. See our format guide for complete list. | [optional]
**format_options** | [**Object**](Object.md)| Additional options available for specific formats. See our format guide for the [complete list](https://support.phrase.com/hc/en-us/articles/9652464547740-List-of-Supported-File-Types-Strings). | [optional]
**autotranslate** | **Boolean**| If set, translations for the uploaded language will be fetched automatically. | [optional]
**mark_reviewed** | **Boolean**| Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project. | [optional]
**tag_only_affected_keys** | **Boolean**| Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is `false` | [optional] [default to false]
Expand Down
4 changes: 2 additions & 2 deletions lib/phrase/api/uploads_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(api_client = ApiClient.default)
# @option opts [Boolean] :skip_unverification Indicates whether the upload should unverify updated translations.
# @option opts [String] :file_encoding Enforces a specific encoding on the file contents. Valid options are \\\"UTF-8\\\", \\\"UTF-16\\\" and \\\"ISO-8859-1\\\".
# @option opts [Object] :locale_mapping Mapping between locale names and translation columns. Required in some formats like CSV or XLSX.
# @option opts [Object] :format_options Additional options available for specific formats. See our format guide for complete list.
# @option opts [Object] :format_options Additional options available for specific formats. See our format guide for the [complete list](https://support.phrase.com/hc/en-us/articles/9652464547740-List-of-Supported-File-Types-Strings).
# @option opts [Boolean] :autotranslate If set, translations for the uploaded language will be fetched automatically.
# @option opts [Boolean] :mark_reviewed Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project.
# @option opts [Boolean] :tag_only_affected_keys Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is `false` (default to false)
Expand Down Expand Up @@ -56,7 +56,7 @@ def upload_create(project_id, file, file_format, locale_id, opts = {})
# @option opts [Boolean] :skip_unverification Indicates whether the upload should unverify updated translations.
# @option opts [String] :file_encoding Enforces a specific encoding on the file contents. Valid options are \\\"UTF-8\\\", \\\"UTF-16\\\" and \\\"ISO-8859-1\\\".
# @option opts [Object] :locale_mapping Mapping between locale names and translation columns. Required in some formats like CSV or XLSX.
# @option opts [Object] :format_options Additional options available for specific formats. See our format guide for complete list.
# @option opts [Object] :format_options Additional options available for specific formats. See our format guide for the [complete list](https://support.phrase.com/hc/en-us/articles/9652464547740-List-of-Supported-File-Types-Strings).
# @option opts [Boolean] :autotranslate If set, translations for the uploaded language will be fetched automatically.
# @option opts [Boolean] :mark_reviewed Indicated whether the imported translations should be marked as reviewed. This setting is available if the review workflow is enabled for the project.
# @option opts [Boolean] :tag_only_affected_keys Indicates whether only keys affected (created or updated) by the upload should be tagged. The default is `false`
Expand Down

0 comments on commit 0baf949

Please sign in to comment.