-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Link between glossary term and source key gets lost #6193
Comments
Why is it Other suggestions: |
Thank you for your report; the issue you have reported has just been fixed.
|
I have noticed that even with Weblate 4.7.2, when using "Add term to glossary" from the sidebar of a translation component, the term and it's translation are added to the glossary with an empty key. Then when I try to "Add term to glossary" again, it fails, because it is trying to create a new term with, again, an empty key, however an empty key already exists in the glossary. So there is a conflict of "two identical keys" (which are both empty). Is this the issue that was fixed? Or should I open a new issue? |
@JohnRDOrazio This should be fixed in 4.8 (and one more fix for glossary adding is in place for 4.8.1.). |
I just tried it with v4.8.1 - the problem still exists. |
I just tried in v4.8.1, and I see that the first term added using the sidebar of a translation component seems to have an empty key, whereas the next terms added have numbered keys starting from 1. I am not getting an error when adding new glossary terms from the sidebar of a translation component. |
Yes, the source / key combination has to be unique, so if the source already exists, unique key is automatically generated. But we're getting off-topic here... |
Ok, so what does that mean? Do you still consider this as closed? Because for me this issue still exists the way it initially was described. |
The glossary sidebar shows matching terms. If the term is not present in the translated string, it won't be shown. There is no other linking of glossary terms to strings. |
Describe the issue
When adding a new term to the glossary using the 'Add term to glossary' function in the translation section, the added term does not remain linked to the source key it was added to.
I already tried
Different types of glossary configurations, respectively the file type configuration were tried.
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
The glossary component shows the term as described in Step 3
Actual behavior
No term is shown, however the glossary contains the new term. Furthermore the fields do not match together and seem to be inconsistent as can be seen in the screenshot:
The text was updated successfully, but these errors were encountered: