Skip to content

Commit

Permalink
solved message "" not found
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanliang committed Dec 28, 2020
1 parent 10a604f commit c1351e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion Aria2.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func ariaDisconnectionMonitoring() {
log.Printf(locText("connectSuccess"), version.Version)
timeout = 1
}

}
}

Expand Down
4 changes: 3 additions & 1 deletion i18n/active.zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,7 @@
"oneDriveOAuthFileCreateSuccess": "OneDrive OAuth2檔創建成功,保存至:",
"noOneDriveInfo": "沒有OneDrive上傳配置,是否需要新建配置",
"accountsAreCurrentlyLogin": "目前登錄的帳號如下:\n",
"selectAccount": "請選擇要上傳到的帳戶"
"selectAccount": "請選擇要上傳到的帳戶",
"ariaDisconnect": "監測到aria2斷線,準備重連",
"reconnectionFailed": "第%d次重連失敗,等待%d秒後重連"
}
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func CopyFiles(srcFiles []string) {
newMsg := sendAutoUpdateMessage()
for _, srcPath := range srcFiles {
if srcPath != info.DownloadFolder && srcPath != info.DownloadFolder+"/" {
newMsg(fmt.Sprintf(locText(""), srcPath, destPath+path.Base(srcPath)))
newMsg(fmt.Sprintf(locText("copyingTo"), srcPath, destPath+path.Base(srcPath)))
//log.Println(srcPath)
file1, err := os.Open(srcPath)
dropErr(err)
Expand Down

0 comments on commit c1351e7

Please sign in to comment.