Menu

#1493 Include source terms in right-click glossary match list

future
open
nobody
None
5
2024-09-25
2020-05-20
JDR
No

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.

Related

Feature Requests: #1493

Discussion

  • JDR

    JDR - 2020-12-21

    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.

    支援装置  assistance device
    支援装置  support device  
    支援      assist
    支援      support  
    装置      device
    装置      apparatus
    

    However, if I hover anywhere over the four characters, only the first two target terms are displayed, as follows:

    支援装置  = assistance device, support device
    

    If I right-click, I get the following list of options if I click within the first two characters:

    assistance device
    support device  
    assist
    support
    

    or the following list if I click within the last two characters:

    assistance device
    support device
    device
    apparatus
    

    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.

     
  • Jean-Christophe Helary

    • Group: 5.3 --> future
     
    • JDR

      JDR - 2023-01-09

      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:

      • Group: 5.3 --> future
      • Comment:

      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?


      Status: open
      Group: future
      Created: Wed May 20, 2020 10:41 PM UTC by JDR
      Last Updated: Wed Dec 23, 2020 03:45 PM UTC
      Owner: nobody

      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.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/omegat/feature-requests/1493/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #1493

  • Jean-Christophe Helary

    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?

     
  • JDR

    JDR - 2023-03-02

    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.

     
    • Jean-Christophe Helary

      The screenshot shows the source term in the glossary hint.

       
      • JDR

        JDR - 2023-03-02

        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:

        The screenshot shows the source term in the glossary hint.

        Attachments:


        Status: open
        Group: future
        Created: Wed May 20, 2020 10:41 PM UTC by JDR
        Last Updated: Thu Mar 02, 2023 01:06 PM UTC
        Owner: nobody

        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.


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/omegat/feature-requests/1493/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Feature Requests: #1493

  • Jean-Christophe Helary

    • Group: future --> 5.8
     
  • Jean-Christophe Helary

    @miurahr9 it looks like an open-fixed item. Can you confirm?

     
  • Jean-Christophe Helary

    • status: open --> open-fixed
    • assigned_to: Hiroshi Miura
     
  • Jean-Christophe Helary

    • status: open-fixed --> open
    • assigned_to: Hiroshi Miura --> nobody
    • Group: 5.8 --> future
     
  • Jean-Christophe Helary

    Sorry. It's late here...

     
  • JDR

    JDR - 2024-09-25

    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

    JMenuItem it = pager.add(new JMenuItem(s));
    

    to

    JMenuItem it = pager.add(new JMenuItem(ge.getSrcText()+" = "+s));
    

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB