Skip to content

Commit 5f72cb4

Browse files
author
Phrase
committed
1 parent c1ef7f0 commit 5f72cb4

10 files changed

Lines changed: 13 additions & 13 deletions

docs/LocaleDownloadCreateParameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**fallback_locale_id** | **str** | If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to `true`. | [optional]
1919
**source_locale_id** | **str** | Provides the source language of a corresponding job as the source language of the generated locale file. This parameter will be ignored unless used in combination with a `tag` parameter indicating a specific job. | [optional]
2020
**custom_metadata_filters** | **object** | Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download. | [optional]
21-
**updated_since** | **str** | Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). | [optional]
21+
**updated_since** | **str** | Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). | [optional]
2222

2323
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2424

docs/LocalesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ with phrase_api.ApiClient(configuration) as api_client:
269269
filter_by_prefix = True # bool | Only download translation keys containing the specified prefix, and remove the prefix from the generated file.
270270
custom_metadata_filters = None # object | Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download.
271271
locale_ids = ['[\"de\",\"en\"]'] # List[str] | Locale IDs or locale names
272-
updated_since = '2023-01-01T00:00:00Z' # str | Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`).
272+
updated_since = '2023-01-01T00:00:00Z' # str | Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`).
273273

274274
try:
275275
# Download a locale
@@ -309,7 +309,7 @@ Name | Type | Description | Notes
309309
**filter_by_prefix** | **bool**| Only download translation keys containing the specified prefix, and remove the prefix from the generated file. | [optional]
310310
**custom_metadata_filters** | [**object**](.md)| Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download. | [optional]
311311
**locale_ids** | [**List[str]**](str.md)| Locale IDs or locale names | [optional]
312-
**updated_since** | **str**| Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). | [optional]
312+
**updated_since** | **str**| Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). | [optional]
313313

314314
### Return type
315315

phrase_api/api/locales_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def locale_download(self, project_id, id, **kwargs): # noqa: E501
460460
:param bool filter_by_prefix: Only download translation keys containing the specified prefix, and remove the prefix from the generated file.
461461
:param object custom_metadata_filters: Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download.
462462
:param List[str] locale_ids: Locale IDs or locale names
463-
:param str updated_since: Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`).
463+
:param str updated_since: Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`).
464464
:param _preload_content: if False, the urllib3.HTTPResponse object will
465465
be returned without reading/decoding response
466466
data. Default is True.
@@ -510,7 +510,7 @@ def locale_download_with_http_info(self, project_id, id, **kwargs): # noqa: E50
510510
:param bool filter_by_prefix: Only download translation keys containing the specified prefix, and remove the prefix from the generated file.
511511
:param object custom_metadata_filters: Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download.
512512
:param List[str] locale_ids: Locale IDs or locale names
513-
:param str updated_since: Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`).
513+
:param str updated_since: Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`).
514514
:param _return_http_data_only: response data without head status code
515515
and headers
516516
:param _preload_content: if False, the urllib3.HTTPResponse object will

phrase_api/models/locale_download_create_parameters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def custom_metadata_filters(self, custom_metadata_filters):
476476
def updated_since(self):
477477
"""Gets the updated_since of this LocaleDownloadCreateParameters. # noqa: E501
478478
479-
Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). # noqa: E501
479+
Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). # noqa: E501
480480
481481
:return: The updated_since of this LocaleDownloadCreateParameters. # noqa: E501
482482
:rtype: str
@@ -487,7 +487,7 @@ def updated_since(self):
487487
def updated_since(self, updated_since):
488488
"""Sets the updated_since of this LocaleDownloadCreateParameters.
489489
490-
Only include keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). # noqa: E501
490+
Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). # noqa: E501
491491
492492
:param updated_since: The updated_since of this LocaleDownloadCreateParameters. # noqa: E501
493493
:type: str

test/test_key_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def make_instance(self, include_optional):
4545
data_type = 'number',
4646
tags = 'awesome-feature,needs-proofreading',
4747
max_characters_allowed = 140,
48-
screenshot = '[B@58f6dab9',
48+
screenshot = '[B@23bc69a1',
4949
remove_screenshot = True,
5050
unformatted = True,
5151
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
@@ -45,7 +45,7 @@ def make_instance(self, include_optional):
4545
data_type = 'number',
4646
tags = 'awesome-feature,needs-proofreading',
4747
max_characters_allowed = 140,
48-
screenshot = '[B@68d21554',
48+
screenshot = '[B@463e413b',
4949
remove_screenshot = True,
5050
unformatted = True,
5151
xml_space_preserve = True,

test/test_locale_download_create_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def make_instance(self, include_optional):
5252
fallback_locale_id = 'abcd1234abcd1234abcd1234abcd1234',
5353
source_locale_id = 'abcd1234abcd1234abcd1234abcd1234',
5454
custom_metadata_filters = None,
55-
updated_since = ''
55+
updated_since = '2023-01-01T00:00:00Z'
5656
)
5757
else :
5858
return LocaleDownloadCreateParameters(

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@4694dfd',
44+
project_image = '[B@4bc01cab',
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@1ad55833',
46+
project_image = '[B@16be6b36',
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@16be6b36'
43+
filename = '[B@68d21554'
4444
)
4545
else :
4646
return ScreenshotUpdateParameters(

0 commit comments

Comments
 (0)