Skip to content

Commit f2b9168

Browse files
author
Alexey Samlyukov
committed
Upd. mix
1 parent 7e2a3f3 commit f2b9168

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

updateex/Lng.templ

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ MLoaded
110110
"<Ok>"
111111
"<Ok>"
112112

113+
MSepInfo
114+
" %d (%d) выбрано "
115+
" %d (%d) selected "
116+
113117
MAskCancelDownload
114118
"Отменить загрузку обновлений?"
115119
"Cancel downloading updates?"
@@ -199,8 +203,8 @@ MOK
199203
"OK"
200204

201205
MTrayNotify
202-
"Found %d(%d) update(s), downloading..."
203-
"Found %d(%d) update(s), downloading..."
206+
"Found %d update(s), loaded %d, downloading..."
207+
"Found %d update(s), loaded %d, downloading..."
204208

205209
MWait
206210
"Запрос данных с веб-сайта..."

updateex/UpdateEx.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ bool MakeList(HANDLE hDlg,intptr_t SetCurPos=0)
13091309
}
13101310
wchar_t Buf[64]=L"";
13111311
if (CountUpdate)
1312-
FSF.sprintf(Buf,L" %d(%d) ",CountUpdate,CountDownload);
1312+
FSF.sprintf(Buf,MSG(MSepInfo),CountUpdate,CountDownload);
13131313
Info.SendDlgMessage(hDlg,DM_SETTEXTPTR,DlgSEP2,Buf);
13141314
return true;
13151315
}
@@ -1372,7 +1372,7 @@ bool DownloadUpdates()
13721372
{
13731373
CountDownload++;
13741374
wchar_t Buf[64]=L"";
1375-
FSF.sprintf(Buf,L" %d(%d) ",CountUpdate,CountDownload);
1375+
FSF.sprintf(Buf,MSG(MSepInfo),CountUpdate,CountDownload);
13761376
if (isMainDlg())
13771377
Info.SendDlgMessage(hDlg,DM_SETTEXTPTR,DlgSEP2,Buf);
13781378
NeedRestart=true;
@@ -1521,7 +1521,7 @@ intptr_t WINAPI ShowModulesDialogProc(HANDLE hDlg,intptr_t Msg,intptr_t Param1,v
15211521
}
15221522
wchar_t Buf[64]=L"";
15231523
if (CountUpdate)
1524-
FSF.sprintf(Buf,L" %d(%d) ",CountUpdate,CountDownload);
1524+
FSF.sprintf(Buf,MSG(MSepInfo),CountUpdate,CountDownload);
15251525
Info.SendDlgMessage(hDlg,DM_SETTEXTPTR,DlgSEP2,Buf);
15261526
return false;
15271527
}
@@ -1614,7 +1614,7 @@ intptr_t WINAPI ShowModulesDialogProc(HANDLE hDlg,intptr_t Msg,intptr_t Param1,v
16141614
Info.SendDlgMessage(hDlg,DM_LISTSETCURPOS,DlgLIST,&FLP);
16151615
wchar_t Buf[64]=L"";
16161616
if (CountUpdate)
1617-
FSF.sprintf(Buf,L" %d(%d) ",CountUpdate,CountDownload);
1617+
FSF.sprintf(Buf,MSG(MSepInfo),CountUpdate,CountDownload);
16181618
Info.SendDlgMessage(hDlg,DM_SETTEXTPTR,DlgSEP2,Buf);
16191619
return true;
16201620
}

0 commit comments

Comments
 (0)