GateKeeper.cpp
branchCOM-115
changeset 434 bf1832802558
parent 432 9ed5917614f6
child 447 18a75cc8b45f
     1.1 --- a/GateKeeper.cpp	Fri Jul 03 08:04:28 2020 +0200
     1.2 +++ b/GateKeeper.cpp	Fri Jul 03 10:55:44 2020 +0200
     1.3 @@ -7,6 +7,7 @@
     1.4  using namespace std;
     1.5  
     1.6  extern CMainWindow mainWindow;
     1.7 +auto r = CMainWindow::r;
     1.8  
     1.9  // from https://msdn.microsoft.com/en-us/library/windows/desktop/dd388945(v=vs.85).aspx
    1.10  
    1.11 @@ -523,7 +524,7 @@
    1.12              InternetReadFile(hUrl, iv, sizeof(iv), &reading);
    1.13  
    1.14              if (reading)
    1.15 -                mainWindow.ShowNotificationInfo(_T("Downloading update"), _T("An update for p≡p arrived and is being downloaded."));
    1.16 +                mainWindow.ShowNotificationInfo(r(IDS_DOWNLOADTITLE), r(IDS_DOWNLOADTEXT));
    1.17  
    1.18              if (reading) do {
    1.19                  static char buffer[1024 * 1024];