Skip to content

Commit 3351b9e

Browse files
author
Phrase
committed
1 parent 6d13b68 commit 3351b9e

24 files changed

+188
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Phrase is a translation management platform for software projects. You can colla
55
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 2.0.0
8-
- Package version: 1.4.1
8+
- Package version: 1.4.2
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/)
1111

docs/DistributionCreateParameters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**platforms** | **list[str]** | List of platforms the distribution should support. | [optional]
99
**locale_ids** | **list[str]** | List of locale ids that will be part of distribution releases | [optional]
1010
**format_options** | **dict(str, str)** | Additional formatting and render options. Only <code>enclose_in_cdata</code> is available for platform <code>android</code>. | [optional]
11+
**fallback_locales_enabled** | **bool** | Use fallback locale if there is no translation in the current locale. | [optional]
1112
**fallback_to_non_regional_locale** | **bool** | Indicates whether to fallback to non regional locale when locale can not be found | [optional]
1213
**fallback_to_default_locale** | **bool** | Indicates whether to fallback to projects default locale when locale can not be found | [optional]
1314
**use_last_reviewed_version** | **bool** | Use last reviewed instead of latest translation in a project | [optional]

docs/DistributionUpdateParameters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**platforms** | **list[str]** | List of platforms the distribution should support. | [optional]
99
**locale_ids** | **list[str]** | List of locale ids that will be part of distribution releases | [optional]
1010
**format_options** | **dict(str, str)** | Additional formatting and render options. Only <code>enclose_in_cdata</code> is available for platform <code>android</code>. | [optional]
11+
**fallback_locales_enabled** | **bool** | Use fallback locale if there is no translation in the current locale. | [optional]
1112
**fallback_to_non_regional_locale** | **bool** | Indicates whether to fallback to non regional locale when locale can not be found | [optional]
1213
**fallback_to_default_locale** | **bool** | Indicates whether to fallback to projects default locale when locale can not be found | [optional]
1314
**use_last_reviewed_version** | **bool** | Use last reviewed instead of latest translation in a project | [optional]

docs/Locale.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**rtl** | **bool** | | [optional]
1212
**plural_forms** | **list[str]** | | [optional]
1313
**source_locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
14+
**fallback_locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
1415
**created_at** | **datetime** | | [optional]
1516
**updated_at** | **datetime** | | [optional]
1617

docs/LocaleCreateParameters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**main** | **bool** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Verification System</a> feature. | [optional]
1111
**rtl** | **bool** | Indicates whether locale is a RTL (Right-to-Left) locale. | [optional]
1212
**source_locale_id** | **str** | Source locale. Can be the name or public id of the locale. Preferred is the public id. | [optional]
13+
**fallback_locale_id** | **str** | Fallback locale for empty translations. Can be a locale name or id. | [optional]
1314
**unverify_new_translations** | **bool** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
1415
**unverify_updated_translations** | **bool** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
1516
**autotranslate** | **bool** | If set, translations for this locale will be fetched automatically, right after creation. | [optional]

docs/LocaleDetails.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**rtl** | **bool** | | [optional]
1212
**plural_forms** | **list[str]** | | [optional]
1313
**source_locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
14+
**fallback_locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
1415
**created_at** | **datetime** | | [optional]
1516
**updated_at** | **datetime** | | [optional]
1617
**statistics** | [**LocaleStatistics**](LocaleStatistics.md) | | [optional]

docs/LocaleUpdateParameters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**main** | **bool** | Indicates whether locale is a main locale. Main locales are part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Verification System</a> feature. | [optional]
1111
**rtl** | **bool** | Indicates whether locale is a RTL (Right-to-Left) locale. | [optional]
1212
**source_locale_id** | **str** | Source locale. Can be the name or public id of the locale. Preferred is the public id. | [optional]
13+
**fallback_locale_id** | **str** | Fallback locale for empty translations. Can be a locale name or id. | [optional]
1314
**unverify_new_translations** | **bool** | Indicates that new translations for this locale should be marked as unverified. Part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
1415
**unverify_updated_translations** | **bool** | Indicates that updated translations for this locale should be marked as unverified. Part of the <a href=\"https://help.phrase.com/help/verification-and-proofreading\" target=\"_blank\">Advanced Workflows</a> feature. | [optional]
1516
**autotranslate** | **bool** | If set, translations for this locale will be fetched automatically, right after creation. | [optional]

phrase_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from __future__ import absolute_import
1515

16-
__version__ = "1.4.1"
16+
__version__ = "1.4.2"
1717

1818
# import apis into sdk package
1919
from phrase_api.api.accounts_api import AccountsApi

phrase_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7777
self.default_headers[header_name] = header_value
7878
self.cookie = cookie
7979
# Set default User-Agent.
80-
self.user_agent = 'OpenAPI-Generator/1.4.1/python'
80+
self.user_agent = 'OpenAPI-Generator/1.4.2/python'
8181
self.client_side_validation = configuration.client_side_validation
8282

8383
def __enter__(self):

phrase_api/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def to_debug_report(self):
370370
"OS: {env}\n"\
371371
"Python Version: {pyversion}\n"\
372372
"Version of the API: 2.0.0\n"\
373-
"SDK Package Version: 1.4.1".\
373+
"SDK Package Version: 1.4.2".\
374374
format(env=sys.platform, pyversion=sys.version)
375375

376376
def get_host_settings(self):

0 commit comments

Comments
 (0)