chewing / chewing-editor

Cross platform chewing user phrase editor
https://chewing.im/
GNU General Public License v2.0
30 stars 52 forks source link

Invalid message of adding a existed phrase #225

Open kintaxxs opened 7 years ago

kintaxxs commented 7 years ago

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)