wo52616111 / capslock-plus

An efficiency tool that provides various functions by enhancing the Caps Lock key into a modifier key.
https://capslox.com/capslock-plus/
GNU General Public License v2.0
1.14k stars 198 forks source link

翻译文本报错 Expecting JSON value(string, number, true, false, null, object or array) #118

Closed zhangta closed 2 years ago

zhangta commented 2 years ago
---------------------------
CapsLock+.ahk
---------------------------
Error in #include file "C:\Users\Administrator\Downloads\capslock-plus-master\lib\lib_ydTrans.ahk":
     Expecting JSON value(string, number, true, false, null, object or array)

Line:   0x1
Col:    0x1
Char:   0x1

Specifically: <

    Line#
    145: }
    146: Catch
    147: {
    148: MsgBoxStr := lang_yd_errorNoNet
    149: Goto,setTransText
    150: }
    152: responseStr := whr.ResponseText
--->    155: transJson := JSON.Load(responseStr)
    158: returnError := transJson.errorCode
    159: if (returnError)  
    160: {
    161: if (returnError=10)  
    162: {
    163: MsgBoxStr := lang_yd_errorTooLong
    164: }

The current thread will exit.
zhangta commented 2 years ago

resolved https://github.com/wo52616111/capslock-plus/issues/109