chewing/chewing-editor

Invalid message of adding a existed phrase

Opened this issue · 0 comments

  • OS version
    ubuntu 16.04.2

when I add an existed phrase, the notification is that adding the last userphrase successfully.

example:
i add "重新" which is existed in userphrase.
but the notification is "成功新增「解釋」"

Debug: Get userphrase: 整理 ㄓㄥˇ ㄌㄧˇ ((null) :0)
Debug: [chewingio.c:1889 chewing_userphrase_has_next] API call:  ((null) :0)
Debug: [chewingio.c:1938 chewing_userphrase_get] API call:  ((null) :0)
Debug: Get userphrase: 因此 ㄧㄣ ㄘˇ ((null) :0)
Debug: [chewingio.c:1889 chewing_userphrase_has_next] API call:  ((null) :0)
Debug: [chewingio.c:1938 chewing_userphrase_get] API call:  ((null) :0)
Debug: Get userphrase: 解釋 ㄐㄧㄝˇ ㄕˋ ((null) :0)
Debug: [chewingio.c:1889 chewing_userphrase_has_next] API call:  ((null) :0)
Debug: Total userphrase 17 ((null) :0)
Debug: 17 ((null) :0)
Debug: Add "重新" ( "ㄔㄨㄥˊ ㄒㄧㄣ" ) ((null) :0)
Debug: [chewingio.c:1998 chewing_userphrase_add] API call:  ((null) :0)
Debug: [userphrase-sql.c:179 LogUserPhrase] userphrase 重新, phone = 0x2162 0x1cd0 , orig_freq = 6371, max_freq = 6371, user_freq = 6372, recent_time = 23341 ((null) :0)
Debug: Duplicate phrase: "重新" bopomofo: "ㄔㄨㄥˊ ㄒㄧㄣ" ((null) :0)
Debug: "解釋 (ㄐㄧㄝˇ ㄕˋ)" ((null) :0)