When the cursor is hovering over an underlined term in the editor, the source term appears followed by matching glossary entries.
A right-click on the source term brings up a list of matching glossary entries that can be selected for insertion. However the corresponding source terms are not shown.
It would be useful to have the option of including the source terms in the right-click list that appears.
This might be a problem specific to Japanese, but I often find that not all possible glossary entries are listed when I simply hover over a term, whereas more terms are listed if I do a right-click. However, as the source term isn't listed with a right click, it can be difficult to know which exact source term is being referenced for each option.
For example, the four characters 支援装置 appear six times in various combinations in my glossary.
However, if I hover anywhere over the four characters, only the first two target terms are displayed, as follows:
If I right-click, I get the following list of options if I click within the first two characters:
or the following list if I click within the last two characters:
There are therefore two enhancements I would like.
Firstly, when hovering above a term, I would like to see all the possible target terms for the term I am currently hovering over, not just the longest one.
Secondly, when I right-click, I would like to see the source terms listed as well as the target terms.
Thank you for the update. I will check as soon as I have some spare time,
probably later this week, and will report back.
Julian
On Mon, 9 Jan 2023 at 03:02, Jean-Christophe Helary brandelune@users.sourceforge.net wrote:
Related
Feature Requests: #1493
We've a number of glossary improvements in the recent code. Would you mind checking the nightly build to see if they address your requests?
I have tried using the most recent nightly build (OmegaT 5.8.0 beta downloaded on 1st March 2023), but unfortunately can't get it to run properly.
I opened OT and loaded a recent project from 5.7.1. Although OT opens OK and loads the project, it appears to be continuously accessing the hard disk, and even after around 15 minutes was still unresponsive, so I had to give up.
From a very brief window of opportunity when I could actually click on a term, I don't think the change I have requested has been made yet, but I can't be sure.
The screenshot shows the source term in the glossary hint.
Thanks JC
The issue is that if I hover, I get a source term, but only one of several
possible source terms. If I right-click on a term, I get a list of all the
possibilities but no source term.
This matters in Japanese, as there are no spaces between words so there can
be different possible translations depending on how many characters are
being selected.
It would be better if the source term could also be included in the
right-click list.
My explanation in the Feature Request shows an example of what I mean in
more detail.
Thanks.
Julian
On Thu, 2 Mar 2023 at 13:07, Jean-Christophe Helary brandelune@users.sourceforge.net wrote:
Related
Feature Requests: #1493
@miurahr9 it looks like an open-fixed item. Can you confirm?
Sorry. It's late here...
I have managed to make a solution for this that works for me.
In \src\org\omegat\gui\glossary\TransTipsPopup.java
I have changed line 79 from
to
This achieves what I want, i.e. including the source term in the right-click context menu, as per the attached screenshot.
I realise that others may not want this, so having it as an option would be great.