crowdin / crowdin/crowdin-api-client-python

Add support for updateOption parameter in string editing endpoints

オープン
#253 コメント 1 件 リアクション 0 件 担当者 1 名 @innomaxx が担当を希望しています GitHub で見る
enhancement good first issue
主要言語
Python
スター
69
フォーク
39
平均マージ
23時間 35分
マージ済み PR(30日)
8

説明

The Crowdin API adds a new optional `updateOption` query parameter to the source string editing endpoints: **Edit String** (`PATCH /projects/{projectId}/strings/{stringId}`) and **String Batch Operations** (`PATCH /projects/{projectId}/strings`).

The parameter defines whether existing translations and approvals are kept when a string is updated, and is applied only when `text` or `identifier` is changed. Allowed values:

- `keep_translations_and_approvals` (default)
- `keep_translations`
- `clear_translations_and_approvals`

API client libraries should be updated to expose `updateOption` on these endpoints so consumers can control translation/approval retention when editing strings via the SDK.

**References:**
- [Edit String](https://support.crowdin.com/developer/api/v2/#operation/api.projects.strings.patch)
- [String Batch Operations](https://support.crowdin.com/developer/api/v2/#operation/api.projects.strings.batchPatch)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。