Skip to content

feat: import translations#968

Merged
andrii-bodnar merged 9 commits intomainfrom
upload-translations-rework
Dec 18, 2025
Merged

feat: import translations#968
andrii-bodnar merged 9 commits intomainfrom
upload-translations-rework

Conversation

@yevheniyJ
Copy link
Copy Markdown
Collaborator

@yevheniyJ yevheniyJ commented Dec 11, 2025

The upload translations command now utilizes the Import Translations API, introducing an asynchronous workflow. This allows the command to track progress in real-time, provide responsive updates, and handle retries seamlessly, ensuring smoother and more efficient uploads for both file-based and strings-based projects.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 11, 2025

Codecov Report

❌ Patch coverage is 56.55738% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.45%. Comparing base (a99894d) to head (aa10af3).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/main/java/com/crowdin/cli/client/Client.java 16.67% 24 Missing and 6 partials ⚠️
...a/com/crowdin/cli/client/CrowdinProjectClient.java 46.16% 13 Missing and 1 partial ⚠️
...cli/commands/actions/UploadTranslationsAction.java 83.34% 5 Missing ⚠️
.../commands/actions/FileUploadTranslationAction.java 87.50% 3 Missing ⚠️
.../com/crowdin/cli/utils/console/ConsoleSpinner.java 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #968      +/-   ##
============================================
- Coverage     65.59%   65.45%   -0.14%     
- Complexity     1663     1671       +8     
============================================
  Files           243      244       +1     
  Lines          6771     6836      +65     
  Branches       1017     1031      +14     
============================================
+ Hits           4441     4474      +33     
- Misses         1751     1776      +25     
- Partials        579      586       +7     

☔ 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.

@yevheniyJ yevheniyJ marked this pull request as ready for review December 13, 2025 11:01
@andrii-bodnar andrii-bodnar merged commit c90d2e5 into main Dec 18, 2025
16 checks passed
@andrii-bodnar andrii-bodnar deleted the upload-translations-rework branch December 18, 2025 13:03
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.

2 participants