Skip to content

Commit c25d5fe

Browse files
author
Phrase
committed
1 parent ac00fe3 commit c25d5fe

9 files changed

+11
-9
lines changed

docs/UploadSummary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
**locales_created** | **int** | | [optional]
77
**translation_keys_created** | **int** | | [optional]
88
**translation_keys_updated** | **int** | | [optional]
9-
**translation_keys_unmentioned** | **int** | | [optional]
9+
**translation_keys_unmentioned** | **int** | The number of translation keys in the project that were not mentioned in the upload. Note: this field is not calculated (and shows 0) if the upload contains more than 10,000 keys. | [optional]
1010
**translations_created** | **int** | | [optional]
1111
**translations_updated** | **int** | | [optional]
1212
**tags_created** | **int** | | [optional]

docs/UploadsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414
1515
Upload a new file
1616

17-
Upload a new language file. Creates necessary resources in your project.
17+
Upload a new language file. Creates necessary resources in your project. Note: be aware of [upload limits](https://support.phrase.com/hc/en-us/articles/8548271212188-Phrase-Strings-Limits#file-size-upload-limits-0-0).
1818

1919
### Example
2020

phrase_api/api/uploads_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self, api_client=None):
3838
def upload_create(self, project_id, file, file_format, locale_id, **kwargs): # noqa: E501
3939
"""Upload a new file # noqa: E501
4040
41-
Upload a new language file. Creates necessary resources in your project. # noqa: E501
41+
Upload a new language file. Creates necessary resources in your project. Note: be aware of [upload limits](https://support.phrase.com/hc/en-us/articles/8548271212188-Phrase-Strings-Limits#file-size-upload-limits-0-0). # noqa: E501
4242
This method makes a synchronous HTTP request by default. To make an
4343
asynchronous HTTP request, please pass async_req=True
4444
>>> thread = api.upload_create(project_id, file, file_format, locale_id, async_req=True)
@@ -86,7 +86,7 @@ def upload_create(self, project_id, file, file_format, locale_id, **kwargs): #
8686
def upload_create_with_http_info(self, project_id, file, file_format, locale_id, **kwargs): # noqa: E501
8787
"""Upload a new file # noqa: E501
8888
89-
Upload a new language file. Creates necessary resources in your project. # noqa: E501
89+
Upload a new language file. Creates necessary resources in your project. Note: be aware of [upload limits](https://support.phrase.com/hc/en-us/articles/8548271212188-Phrase-Strings-Limits#file-size-upload-limits-0-0). # noqa: E501
9090
This method makes a synchronous HTTP request by default. To make an
9191
asynchronous HTTP request, please pass async_req=True
9292
>>> thread = api.upload_create_with_http_info(project_id, file, file_format, locale_id, async_req=True)

phrase_api/models/upload_summary.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def translation_keys_updated(self, translation_keys_updated):
163163
def translation_keys_unmentioned(self):
164164
"""Gets the translation_keys_unmentioned of this UploadSummary. # noqa: E501
165165
166+
The number of translation keys in the project that were not mentioned in the upload. Note: this field is not calculated (and shows 0) if the upload contains more than 10,000 keys. # noqa: E501
166167
167168
:return: The translation_keys_unmentioned of this UploadSummary. # noqa: E501
168169
:rtype: int
@@ -173,6 +174,7 @@ def translation_keys_unmentioned(self):
173174
def translation_keys_unmentioned(self, translation_keys_unmentioned):
174175
"""Sets the translation_keys_unmentioned of this UploadSummary.
175176
177+
The number of translation keys in the project that were not mentioned in the upload. Note: this field is not calculated (and shows 0) if the upload contains more than 10,000 keys. # noqa: E501
176178
177179
:param translation_keys_unmentioned: The translation_keys_unmentioned of this UploadSummary. # noqa: E501
178180
:type: int

test/test_key_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def make_instance(self, include_optional):
4646
data_type = 'number',
4747
tags = 'awesome-feature,needs-proofreading',
4848
max_characters_allowed = 140,
49-
screenshot = '[B@1963b057',
49+
screenshot = '[B@5b936410',
5050
remove_screenshot = True,
5151
unformatted = True,
5252
default_translation_content = 'Default translation content',

test/test_key_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def make_instance(self, include_optional):
4646
data_type = 'number',
4747
tags = 'awesome-feature,needs-proofreading',
4848
max_characters_allowed = 140,
49-
screenshot = '[B@5fcf9bff',
49+
screenshot = '[B@70143ee4',
5050
remove_screenshot = True,
5151
unformatted = True,
5252
xml_space_preserve = True,

test/test_project_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def make_instance(self, include_optional):
4141
main_format = 'yml',
4242
media = 'Python',
4343
shares_translation_memory = True,
44-
project_image = '[B@700fec90',
44+
project_image = '[B@6b3decaa',
4545
remove_project_image = True,
4646
account_id = 'abcd1234',
4747
point_of_contact = 'abcd1234',

test/test_project_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def make_instance(self, include_optional):
4343
main_format = 'yml',
4444
media = 'Python',
4545
shares_translation_memory = True,
46-
project_image = '[B@25fc72c6',
46+
project_image = '[B@1607b56b',
4747
remove_project_image = False,
4848
workflow = 'review',
4949
machine_translation_enabled = True,

test/test_screenshot_update_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def make_instance(self, include_optional):
4040
branch = 'my-feature-branch',
4141
name = 'A screenshot name',
4242
description = 'A screenshot description',
43-
filename = '[B@1607b56b'
43+
filename = '[B@5fcf9bff'
4444
)
4545
else :
4646
return ScreenshotUpdateParameters(

0 commit comments

Comments
 (0)