Menu

#159 Traditional field shows simplified characters in Add Entry

v1.0.3
closed-rejected
None
v1.0.2
4
2016-02-19
2014-08-13
No

Discovered and Reported by Oliver Emery (thrymgjol

#3. IME problem with converting multicharacter to simplified --> why even have multicharacter?
#3. Notice that in your screenshot, in the traditional box, it has the simplified characters. This is because the file with the simplified to traditional map only has one character entries. I fixed this by having the ime convert one character at a time, instead of searching for a multicharacter string in the simplified to traditional file.

Originally reported on: http://www.chinese-forums.com/index.php?/topic/44618-zdt-102-released/?p=344725

Discussion

  • Michael van den Berg

    Reproduction:

    • Open a Category by double clicking on it.
    • Add a new Entry with CTRL-N.
    • Make sure Auto-fill is checked (turned on).
    • Type 'dian' and choose 堤岸. Auto-fill will now fill the Traditional field, if it finds it in the selected dictionary also the Pinyin and Definition fields. The Traditional field shows the same simplified characters (堤岸) in stead of the traditional ones (隄㟁).

    Tested also with 睡觉, and there it worked fine, Traditional showing: 睡覺. And also 学校.

    Oliver: would you post the lines of codes that you changed here?

     
  • Michael van den Berg

    • status: open --> open-accepted
     
  • Michael van den Berg

    • assigned_to: Oliver Emery
    • Priority: 5 --> 4
     
  • Michael van den Berg

    Oliver is now in the list. Changed owner ship.

    Since this problem gives essentially the wrong character, this defeats the purpose of the software (i.e. learning). Priority 4.

     
  • Anonymous

    Anonymous - 2014-09-05

    Fixed and uploaded.

     
  • Michael van den Berg

    Verification failed. Retested, with same procedure as before:

    • Open a Category by double clicking on it.
    • Add a new Entry with CTRL-N.
    • Make sure Auto-fill is checked (turned on).
    • Type 'dian' and choose 堤岸. Auto-fill still fills the Traditional field, the simplified (堤岸) in stead of the traditional ones (隄㟁).

    Please, would you let us know which files were exactly changed for this fix, and in which .jar would these have been included.

    FYI: Tested with: rebuild (by kaya) "Flashcard Plug-in version 1.0.3" and "zdt.jar" - replaced these files in respectively 'zdt\plugins\net.sourceforge.zdt.core_1.0.2' and 'zdt\'. This supposedly up to build 1241. So if the fix is contained in another jar, then obviously the verification will fail. Any advice welcome.

     
  • Michael van den Berg

    • status: open-accepted --> pending-fixing
     
  • Michael van den Berg

    • status: pending-fixing --> closed-rejected
     
  • Michael van den Berg

    Retested in v1.0.3 beta (v1.03v2). Problem persist.
    Tested also with 堤 only (without 岸). Then the traditional version (隄) is found.

    Looking a little further revealed that ZDT's autofill uses the values of the current dictionary to decided what characters to use the in the Traditional field (and also in the pinyin and definition fields).

    The CEdict and Adso do not list the Traditional character, hence autofill doesn't fill it in. (HanDeDict doesn't have 堤岸). This also explains why some words do show the behavior,and other's don't.

    This is not a bug, since ZDT is supposed to use the dictionary for the auto-fill function. In Fact for the word 堤岸 the Traditional is the same as the Simplfied, unlike some other words that use the same character.

     

Log in to post a comment.