-
Notifications
You must be signed in to change notification settings - Fork 9
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
fix: refactoring translations to rely on readalong DOM instead of state #330
Conversation
|
45c8e32
to
ad9ef75
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @deltork - I'm just reviewing this but I"m noticing that the "remove" 🗑️ button on the translation tiers doesn't work for removing tiers that exist in an uploaded readalong in the editor. Can you confirm?
Fixed, pushed a work-around for version <1.1 with translation tiers without id |
94f0875
to
d52b764
Compare
d52b764
to
9225d2b
Compare
@joanise I need translation help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: OK with changing "annotation title" to "annotation layer" in the menu/widget to edit the layers?
"edit-layer": "Rename annotation title", | ||
"delete-layer": "Remove annotation title", | ||
"save-layer": "Save annotation title", | ||
"create-layer": "Create an annotation title" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not intuitive to me. I would change all of them to "annotation layer" instead of "annotation title".
"edit-layer": "Renommer le titre de l'annotation", | ||
"delete-layer": "Supprimer le titre de l'annotation", | ||
"save-layer": "Enregistrer le titre de l'annotation", | ||
"create-layer": "Créer un titre d'annotation" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here "la/une couche d'annotation" instead of "le titre".
This is consistent with the translations I did for the tour.
"edit-layer": "Cambiar el nombre del título de la anotación", | ||
"delete-layer": "Eliminar el título de la anotación", | ||
"save-layer": "Guardar el título de la anotación", | ||
"create-layer": "Crear un título de anotación" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And "la/una capa de anotación".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now ready to merge as far as I'm concerned.
*fix: refactoring translations to rely on readalong DOM instead of state (#330) * fix: refactoring translations to rely on readalong DOM instead of state * test: fix test for editing readalong * feat: es and fr translations for layers messages * fix: refine some translations and text strings --------- Co-authored-by: Eric Joanis <[email protected]>
PR Goal?
Rewrite of the translation tier to accomodate the creation of annotation layers
Fixes?
#328
Feedback sought?
sanity check
Priority?
high
Tests added?
How to test?
test with the following files
ej-fra.readalong
,ej-fra-annotated.readalong
,ej-fra-translated.readalong
found in packages/web-component/test-data/ej-fraConfidence?
high
Version change?
minor
TODO: