Skip to content

Commit e821a3b

Browse files
author
Phrase
committed
Deploying from phrase/openapi@93fbdd76
1 parent b1d6305 commit e821a3b

8 files changed

+401
-9
lines changed

docs/ProjectDetails.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ Name | Type | Description | Notes
1515
**created_at** | **datetime** | | [optional]
1616
**updated_at** | **datetime** | | [optional]
1717
**shares_translation_memory** | **bool** | | [optional]
18+
**machine_translation_enabled** | **bool** | | [optional]
19+
**zero_plural_form_enabled** | **bool** | | [optional]
20+
**enable_all_data_type_translation_keys_for_translators** | **bool** | | [optional]
21+
**enable_icu_message_format** | **bool** | | [optional]
22+
**enable_branching** | **bool** | | [optional]
23+
**protect_master_branch** | **bool** | | [optional]
24+
**autotranslate_enabled** | **bool** | | [optional]
25+
**autotranslate_check_new_translation_keys** | **bool** | | [optional]
26+
**autotranslate_check_new_uploads** | **bool** | | [optional]
27+
**autotranslate_check_new_locales** | **bool** | | [optional]
28+
**autotranslate_mark_as_unverified** | **bool** | | [optional]
29+
**autotranslate_use_machine_translation** | **bool** | | [optional]
30+
**autotranslate_use_translation_memory** | **bool** | | [optional]
31+
**default_encoding** | **str** | | [optional]
1832

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

phrase_api/models/project_details.py

Lines changed: 367 additions & 3 deletions
Large diffs are not rendered by default.

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@5bf3298f',
49+
screenshot = '[B@4193b8a5',
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@67e321e0',
49+
screenshot = '[B@2de1a93d',
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@7c96ee9e',
44+
project_image = '[B@2540ad71',
4545
remove_project_image = True,
4646
account_id = 'abcd1234',
4747
point_of_contact = 'abcd1234',

test/test_project_details.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,21 @@ def make_instance(self, include_optional):
5252
gravatar_uid = '', ),
5353
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
5454
updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
55-
shares_translation_memory = True
55+
shares_translation_memory = True,
56+
machine_translation_enabled = True,
57+
zero_plural_form_enabled = True,
58+
enable_all_data_type_translation_keys_for_translators = False,
59+
enable_icu_message_format = False,
60+
enable_branching = False,
61+
protect_master_branch = False,
62+
autotranslate_enabled = False,
63+
autotranslate_check_new_translation_keys = False,
64+
autotranslate_check_new_uploads = False,
65+
autotranslate_check_new_locales = False,
66+
autotranslate_mark_as_unverified = False,
67+
autotranslate_use_machine_translation = False,
68+
autotranslate_use_translation_memory = True,
69+
default_encoding = 'UTF-8'
5670
)
5771
else :
5872
return ProjectDetails(

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@16554f2e',
46+
project_image = '[B@53e7ef2d',
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@10dad714'
43+
filename = '[B@6198bac2'
4444
)
4545
else :
4646
return ScreenshotUpdateParameters(

0 commit comments

Comments
 (0)