Rename "Cancel" button on update check dialog to "Skip" when displayed right after application start. Fixes issue #3584.

This commit is contained in:
Ansgar Becker
2014-06-16 16:57:52 +00:00
parent 85ec3724e0
commit f280a1f233
2 changed files with 5780 additions and 5775 deletions

View File

File diff suppressed because it is too large Load Diff

View File

@@ -1803,6 +1803,7 @@ begin
UpdatecheckInterval := AppSettings.ReadInt(asUpdatecheckInterval);
if DaysBetween(Now, LastUpdatecheck) >= UpdatecheckInterval then begin
frm := TfrmUpdateCheck.Create(Self);
frm.btnCancel.Caption := _('Skip');
try
frm.ReadCheckFile;
btnUpdateAvailable.Visible := frm.btnBuild.Enabled or frm.btnRelease.Enabled;