Selaa lähdekoodia

Application update information window has title "Check for Updates" instead of generic "Information"

Source commit: 66ea5cf40a20264f52a3879fdd595755ad5dbfa1
Martin Prikryl 9 vuotta sitten
vanhempi
sitoutus
2b3aa2906a
3 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 1 0
      source/resource/TextsWin.h
  2. 1 0
      source/resource/TextsWin1.rc
  3. 1 0
      source/windows/Setup.cpp

+ 1 - 0
source/resource/TextsWin.h

@@ -571,6 +571,7 @@
 #define GENERATE_URL_COPY_PARAM 1969
 #define GENERATE_URL_TRANSFER_FILES 1970
 #define GENERATE_URL_FILE_SAMPLE 1971
+#define CHECK_FOR_UPDATES_TITLE 1972
 
 // 2xxx is reserved for TextsFileZilla.h
 

+ 1 - 0
source/resource/TextsWin1.rc

@@ -574,6 +574,7 @@ BEGIN
         GENERATE_URL_COPY_PARAM, "Set up transfer options"
         GENERATE_URL_TRANSFER_FILES, "Transfer files"
         GENERATE_URL_FILE_SAMPLE, "A sample file list is used only, consider using a file mask to select files for the transfer."
+        CHECK_FOR_UPDATES_TITLE, "Check for Updates"
 
         WIN_VARIABLE_STRINGS, "WIN_VARIABLE"
         WINSCP_COPYRIGHT, "Copyright © 2000-2016 Martin Prikryl"

+ 1 - 0
source/windows/Setup.cpp

@@ -1598,6 +1598,7 @@ bool __fastcall CheckForUpdates(bool CachedResults)
     Params.MoreMessagesSize = Updates.Results.NewsSize;
     // alias "ok" button to "upgrade" only if we have new version
     Params.AliasesCount = LENOF(Aliases) - (New ? 0 : 1);
+    Params.CustomCaption = LoadStr(CHECK_FOR_UPDATES_TITLE);
 
     if (New)
     {