Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit dcf0429

Browse files
committed
添加好繁体的,并且去掉了自动检查更新相关入口
1 parent 7ea1cee commit dcf0429

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

src/FastCopy.rc

822 Bytes
Binary file not shown.

src/cfg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ BOOL Cfg::ReadIni(WCHAR *user_dir, WCHAR *virtual_dir)
605605
dlsvtMode = ini.GetInt(DLSVT_KEY, 0);
606606
largeFetch = ini.GetInt(LARGE_FETCH_KEY, 1);
607607
dirSel = ini.GetInt(DIRSEL_KEY, 0);
608-
updCheck = ini.GetInt(UPDCHECK_KEY, 1);
608+
updCheck = ini.GetInt(UPDCHECK_KEY, 0); //设置0,启动时不检查更新
609609
lastUpdCheck = ini.GetInt64(LASTUPDCHECK_KEY, 0);
610610

611611
infoSpan = ini.GetInt(INFOSPAN_KEY, DEFAULT_INFOSPAN);

src/fastcopy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5154,7 +5154,7 @@ void FastCopy::Aborting(BOOL is_auto)
51545154
{
51555155
isAbort = TRUE;
51565156
WCHAR err_msg[256];
5157-
swprintf(err_msg, L"%s%s", LoadStrW(IDS_Err_Aborting), is_auto ? L" (automatic)" : L"");//L" Aborted by User"
5157+
swprintf(err_msg, L"%s%s", LoadStrW(IDS_Err_Aborting), is_auto ? LoadStrW(IDS_Err_Aborting_Automatic) : L"");//L" Aborted by User"
51585158
WriteErrLog(err_msg);
51595159
if (isExec && isListing) {
51605160
PutList(err_msg, PL_ERRMSG);

src/mainwin.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ BOOL TMainDlg::EvCreate(LPARAM lParam)
658658
}
659659
else {
660660
Show();
661-
661+
/* //去除自动检查更新
662662
if (cfg.updCheck) { // 最新版確認
663663
time_t now = time(NULL);
664664
@@ -668,6 +668,7 @@ BOOL TMainDlg::EvCreate(LPARAM lParam)
668668
UpdateCheck(TRUE);
669669
}
670670
}
671+
*/
671672
}
672673

673674
return TRUE;

src/resource.h

86 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)