Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes in translation tools #1029

Merged
merged 26 commits into from
Oct 22, 2024
Merged

Changes in translation tools #1029

merged 26 commits into from
Oct 22, 2024

Conversation

psmyrek
Copy link
Contributor

@psmyrek psmyrek commented Oct 21, 2024

Suggested merge commit message (convention)

Feature (translations): Introduced moveTranslations() function to move requested translations between packages. It removes contexts and translated messages from language files ("*.po" files) from the source package and adds (or overwrites) them in the destination package.

Feature (translations): Introduced synchronizeTranslations() function to synchronize translations (stored in *.po files in packages) with context files. It validates translation contexts against the source messages and performs synchronization by removing unused entries, adding missing entries, and creating missing *.po files. If the options.validateOnly flag is set, no translation files are updated, and only validation is performed.

Other (release-tools): The verifyPackagesPublishedCorrectly() task is no longer available as its responsibility has been merged into the publishPackages() task.

MAJOR BREAKING CHANGE (transifex): Removed the @ckeditor/ckeditor5-dev-transifex package as it is no longer used.

MAJOR BREAKING CHANGE (translations): The cleanPoFileContent() and createDictionaryFromPoFileContent() functions are no longer available due to removal integration with the Transifex service.

MAJOR BREAKING CHANGE (release-tools): The verifyPackagesPublishedCorrectly() function is no longer available. Consider using the publishPackages() function, which includes its responsibility.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

psmyrek and others added 26 commits October 7, 2024 14:46
Other: The `ckeditor5-dev-transifex` package is no longer supported.

MAJOR BREAKING CHANGE (transifex): Removed the `ckeditor5-dev-transifex` package as it is no longer used.

MAJOR BREAKING CHANGE (translations): The `cleanPoFileContent()` and `createDictionaryFromPoFileContent()` functions are no longer available due to removal integration with the Transifex service.
Feature (translations): Introduced `synchronizeTranslations()` function to synchronize translations (stored in `*.po` files in packages) with context files. It validates translations contexts against the source messages and performs the synchronization by removing unused entries, adding missing entries and creating missing `*.po` files. If the `options.validateOnly` flag is set, no translation files are updated and only validation is performed.
Other (release-tools): The `verifyPackagesPublishedCorrectly()` task is no longer available as its responsibility has been merged into the `publishPackages()` task.

MAJOR BREAKING CHANGE (release-tools): The `verifyPackagesPublishedCorrectly()` function is no longer available. Consider using the `publishPackages()` function, which includes its responsibility.
Feature (translations): Introduced `moveTranslations()` function to move requested translations between packages. It removes contexts and translated messages from language files ("*.po" files) from the source package and adds (or overwrites) them in the destination package.
@coveralls
Copy link

Coverage Status

coverage: 87.841% (-0.6%) from 88.428%
when pulling a954a55 on ci/epic/3789
into 44d9ff5 on master.

@psmyrek psmyrek merged commit a53514d into master Oct 22, 2024
7 checks passed
@psmyrek psmyrek deleted the ci/epic/3789 branch October 22, 2024 08: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.

3 participants