-
Notifications
You must be signed in to change notification settings - Fork 27
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ations with context files.
Added tests.
…ated translation files.
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.
pomek
approved these changes
Oct 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 theoptions.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 thepublishPackages()
task.MAJOR BREAKING CHANGE (transifex): Removed the
@ckeditor/ckeditor5-dev-transifex
package as it is no longer used.MAJOR BREAKING CHANGE (translations): The
cleanPoFileContent()
andcreateDictionaryFromPoFileContent()
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 thepublishPackages()
function, which includes its responsibility.Additional information
For example – encountered issues, assumptions you had to make, other affected tickets, etc.