Skip to content

Dev.del/fix-editor-translations #368

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

Merged
merged 3 commits into from
Nov 8, 2024
Merged

Conversation

deltork
Copy link
Collaborator

@deltork deltork commented Nov 4, 2024

PR Goal?

Complete the implementation of the translation management in the editor

Fixes?

Various issues with the translations in the editor

Feedback sought?

Adding/remove/updating translations in the studio and editor. Also finding missing edge cases.

Priority?

HIGH

Tests added?

Will be part of the studio test suites

How to test?

  1. Create a read-along, add some translations.
  2. Export the single file format
  3. Upload it to the editor
  4. Edit the translations
  5. Export the translations

Confidence?

HIGH

Version change?

patch

This patch does not use the agreed upon model we discussed. It just fixes the issues so we can proceed to adding tests before the work to change the modeling is done.

Copy link

semanticdiff-com bot commented Nov 4, 2024

@deltork deltork self-assigned this Nov 4, 2024
@deltork deltork requested a review from joanise November 4, 2024 22:37
Copy link
Contributor

github-actions bot commented Nov 4, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-11-08 15:32 UTC

@deltork deltork force-pushed the dev.del/fix-editor-translations branch from d638da6 to 34816da Compare November 4, 2024 22:44
@deltork
Copy link
Collaborator Author

deltork commented Nov 8, 2024

@joanise I have streamlined the translation management as discussed.

@deltork deltork force-pushed the dev.del/fix-editor-translations branch from b2e23d7 to 34bb35c Compare November 8, 2024 14:53
Copy link
Member

@joanise joanise left a comment

Choose a reason for hiding this comment

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

This works great, thank you! I tested adding, updating, removing translations, in the editor and studio, and the other edit features, and things seem to be working correctly. This brings the Studio&Editor in much better shape!

"sentence-id",
);

translation[sentenceID] = sentence.textContent;
Copy link
Member

Choose a reason for hiding this comment

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

We maybe want to null out lastAlignedSentenceId here too, I think.

@deltork deltork merged commit ffeeedf into main Nov 8, 2024
@deltork deltork deleted the dev.del/fix-editor-translations branch November 8, 2024 15:32
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