Skip to content

feat: new import translations api#606

Merged
yevheniyJ merged 2 commits into
masterfrom
import-translations-api
Jan 17, 2026
Merged

feat: new import translations api#606
yevheniyJ merged 2 commits into
masterfrom
import-translations-api

Conversation

@yevheniyJ

@yevheniyJ yevheniyJ commented Jan 17, 2026

Copy link
Copy Markdown
Collaborator

Note

Introduces new translations import flow and aligns types.

  • Adds importTranslations, importTranslationsStatus, and importTranslationsReport endpoints with corresponding models (ImportTranslationsRequest/StringsRequest, status attributes, and report types)
  • Marks uploadTranslation and uploadTranslationStrings as deprecated
  • Changes PreTranslationReport.TargetLanguageFile.id from string to number
  • Updates tests to cover new import endpoints and reflect type changes

Written by Cursor Bugbot for commit 774260b. This will update automatically on new commits. Configure here.

@yevheniyJ yevheniyJ linked an issue Jan 17, 2026 that may be closed by this pull request
@codecov

codecov Bot commented Jan 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.11%. Comparing base (ded9604) to head (774260b).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #606      +/-   ##
==========================================
+ Coverage   90.06%   90.11%   +0.05%     
==========================================
  Files          40       40              
  Lines        2062     2071       +9     
  Branches      243      243              
==========================================
+ Hits         1857     1866       +9     
  Misses         82       82              
  Partials      123      123              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread src/translations/index.ts
@yevheniyJ yevheniyJ merged commit d7449fb into master Jan 17, 2026
19 checks passed
@yevheniyJ yevheniyJ deleted the import-translations-api branch January 17, 2026 11:55
Comment thread src/translations/index.ts
Comment on lines +191 to +193
/**
* @deprecated
*/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment suggesting new methods as an alternative

Comment thread src/translations/index.ts
Comment on lines +175 to +176
* @deprecated
*

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment suggesting new methods as an alternative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for new Translation Import API endpoints

2 participants