| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 1540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1551 std::wstring upToDateText = dictionary->Lookup("updater", "update-already-
up-to-date-text"); | 1551 std::wstring upToDateText = dictionary->Lookup("updater", "update-already-
up-to-date-text"); |
| 1552 std::wstring upToDateTitle = dictionary->Lookup("updater", "update-already
-up-to-date-title"); | 1552 std::wstring upToDateTitle = dictionary->Lookup("updater", "update-already
-up-to-date-title"); |
| 1553 pClass->notificationMessage.SetTextAndIcon(upToDateText, upToDateTitle, TT
I_INFO); | 1553 pClass->notificationMessage.SetTextAndIcon(upToDateText, upToDateTitle, TT
I_INFO); |
| 1554 } | 1554 } |
| 1555 break; | 1555 break; |
| 1556 case WM_UPDATE_CHECK_ERROR: | 1556 case WM_UPDATE_CHECK_ERROR: |
| 1557 { | 1557 { |
| 1558 Dictionary* dictionary = Dictionary::GetInstance(); | 1558 Dictionary* dictionary = Dictionary::GetInstance(); |
| 1559 std::wstring errorText = dictionary->Lookup("updater", "update-error-text"
); | 1559 std::wstring errorText = dictionary->Lookup("updater", "update-error-text"
); |
| 1560 std::wstring errorTitle = dictionary->Lookup("updater", "update-error-titl
e"); | 1560 std::wstring errorTitle = dictionary->Lookup("updater", "update-error-titl
e"); |
| 1561 pClass->notificationMessage.SetTextAndIcon(errorText, errorText, TTI_ERROR
); | 1561 pClass->notificationMessage.SetTextAndIcon(errorText, errorTitle, TTI_ERRO
R); |
| 1562 } | 1562 } |
| 1563 break; | 1563 break; |
| 1564 case WM_DOWNLOADING_UPDATE: | 1564 case WM_DOWNLOADING_UPDATE: |
| 1565 { | 1565 { |
| 1566 Dictionary* dictionary = Dictionary::GetInstance(); | 1566 Dictionary* dictionary = Dictionary::GetInstance(); |
| 1567 std::wstring downloadingText = dictionary->Lookup("updater", "downloading-
update-text"); | 1567 std::wstring downloadingText = dictionary->Lookup("updater", "downloading-
update-text"); |
| 1568 std::wstring downloadingTitle = dictionary->Lookup("updater", "downloading
-update-title"); | 1568 std::wstring downloadingTitle = dictionary->Lookup("updater", "downloading
-update-title"); |
| 1569 pClass->notificationMessage.SetTextAndIcon(downloadingText, downloadingTit
le, TTI_INFO); | 1569 pClass->notificationMessage.SetTextAndIcon(downloadingText, downloadingTit
le, TTI_INFO); |
| 1570 } | 1570 } |
| 1571 break; | 1571 break; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1633 s_criticalSectionLocal.Unlock(); | 1633 s_criticalSectionLocal.Unlock(); |
| 1634 | 1634 |
| 1635 return icon; | 1635 return icon; |
| 1636 } | 1636 } |
| 1637 | 1637 |
| 1638 ATOM CPluginClass::GetAtomPaneClass() | 1638 ATOM CPluginClass::GetAtomPaneClass() |
| 1639 { | 1639 { |
| 1640 return s_atomPaneClass; | 1640 return s_atomPaneClass; |
| 1641 } | 1641 } |
| 1642 | 1642 |
| OLD | NEW |