summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-02 08:16:58 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-02 08:16:58 +0000
commitab0bff0cb5f7d649af45d390bff57eaad77612f0 (patch)
treed1e1fac5d1679c19abdf3dea107f338d19c26224
parenteaae1f3a6e2d8a27d03b2a6090e89f060333e283 (diff)
PluginUpdater: items marked for deletion reported as "Will be deleted"
Langpack_russian: PluginUpdater.txt +1 line git-svn-id: http://svn.miranda-ng.org/main/trunk@2146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--langpacks/ru/Plugins/PluginUpdater.txt4
-rw-r--r--plugins/PluginUpdater/src/Notifications.cpp8
2 files changed, 9 insertions, 3 deletions
diff --git a/langpacks/ru/Plugins/PluginUpdater.txt b/langpacks/ru/Plugins/PluginUpdater.txt
index 88d6a6db33..49ed0acb87 100644
--- a/langpacks/ru/Plugins/PluginUpdater.txt
+++ b/langpacks/ru/Plugins/PluginUpdater.txt
@@ -86,8 +86,10 @@ HTTP подключение Plugin Updater
Завершено.
[Failed!]
Ошибка!
-[Skipped]
+[Skipped.]
Пропущено.
+[Will be deleted!]
+Удалено!
[State]
Состояние
[Files source]
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp
index e3cb3d6fb8..364f2f0af7 100644
--- a/plugins/PluginUpdater/src/Notifications.cpp
+++ b/plugins/PluginUpdater/src/Notifications.cpp
@@ -240,8 +240,12 @@ static void ApplyUpdates(void *param)
for (int i=0; i < todo.getCount(); ++i) {
ListView_EnsureVisible(hwndList, i, FALSE);
- if ( !todo[i].enabled || todo[i].bDeleteOnly) {
- SetStringText(hwndList, i, TranslateT("Skipped"));
+ if ( !todo[i].enabled ) {
+ SetStringText(hwndList, i, TranslateT("Skipped."));
+ continue;
+ }
+ if ( todo[i].bDeleteOnly) {
+ SetStringText(hwndList, i, TranslateT("Will be deleted!"));
continue;
}