Skip to content

Commit

Permalink
solve #8, thanks @luyiwind
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanliang committed Apr 13, 2021
1 parent 598b2a0 commit 470ae0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TMSelectMessage(bot *tgBotApi.BotAPI) {
if b[1] == "Start" {
setTMDownloadFilesAndStart(gid, lastFilesInfo)
bot.Send(tgBotApi.NewDeleteMessage(myID, MessageID))
break
continue
}
for i := 0; i < len(lastFilesInfo); i++ {
if lastFilesInfo[i][2] == "true" {
Expand Down
6 changes: 3 additions & 3 deletions i18n/active.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@
"startUploadOneDrive": "Start uploading to OneDrive",
"uploadOneDriveComplete": "DownloadFolder upload to OneDrive complete",
"oneDriveBigFile": "File: `%s` Start upload to OneDrive\nAccounts:`%s`\nFile over 4MB, go to large file channel",
"oneDriveSmallFile": "File: `%s` Start upload to OneDrive\nAccounts:`%s`\nFile less than 4MB, go to small file channel, uploading in progress......",
"oneDriveSmallFile": "File: `%s` Start upload to OneDrive\nAccounts:`%s`\nFile less than 4MB, go to small file channel, uploading in progress",
"oneDriveGetAccess": "Please open the URL below, log in to your OneDrive account, copy the URL after the jump and send it to this Bot\nNote: This program does not involve your private information, please feel free to use it.",
"oneDriveOAuthFileCreateSuccess": "OneDrive OAuth2 file created successfully, save to:",
"noOneDriveInfo": "No OneDrive upload configuration, do you need to create a new one?",
"accountsAreCurrentlyLogin": "The following accounts are currently logged in:\n",
"selectAccount": "Please select the account to which you want to upload",
"ariaDisconnect": "Monitoring of aria2 disconnection, ready to reconnect",
"reconnectionFailed": "Failed to reconnect for the %d time, wait %d seconds to reconnect",
"oneDriveUploadTip1": "OneDrive account `%s` \n Uploading `%s` *[%d/%d]* Speed:%s/s Time: %d s",
"oneDriveUploadTip2": "OneDrive account `%s` \n Uploading `%s` *[%d/%d]* Speed:---- Time: %d s",
"oneDriveUploadTip1": "OneDrive account `%s` \n Uploading `%s` *[%d/%d]* Speed:`%s/s` Time: `%d s`",
"oneDriveUploadTip2": "OneDrive account `%s` \n Uploading `%s` *[%d/%d]* Speed:`----` Time: `%d s`",
"createNewAcc": "New",
"googleDriveGetAccess": "Please open the following URL, log in to your google account and follow the instructions on the page to copy the code and send it to this Bot\nNote: This program does not involve your private information, please feel free to use it.",
"noGoogleDriveInfo": "No Google Drive upload configuration, do I need to create a new one?",
Expand Down
2 changes: 1 addition & 1 deletion i18n/active.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"startUploadOneDrive": "开始上传至OneDrive",
"uploadOneDriveComplete": "DownloadFolder上传至OneDrive完成",
"oneDriveBigFile": "文件: `%s` 开始上传至OneDrive\n账户:`%s`\n文件超过4MB,进入大文件通道",
"oneDriveSmallFile": "文件: `%s` 开始上传至OneDrive\n账户:`%s`\n文件小于4MB,进入小文件通道,上传中......",
"oneDriveSmallFile": "文件: `%s` 开始上传至OneDrive\n账户:`%s`\n文件小于4MB,进入小文件通道,上传中",
"oneDriveGetAccess": "请打开下面的网址,登录OneDrive账户后,将跳转后的网址复制后,发送给本Bot\n注意:本程序不会涉及您的隐私信息,请放心使用",
"oneDriveOAuthFileCreateSuccess": "OneDrive OAuth2文件创建成功,保存至:",
"noOneDriveInfo": "没有OneDrive上传配置,是否需要新建配置",
Expand Down

0 comments on commit 470ae0d

Please sign in to comment.