https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4b8f53c9e9c08d0b52671…
commit 4b8f53c9e9c08d0b52671989190027ddac752089
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Feb 24 18:38:08 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Feb 24 18:38:08 2018 +0100
[SERVMAN] Add an accelerator for the F5 (refresh) key
CORE-14389
---
base/applications/mscutils/servman/lang/bg-BG.rc | 7 ++++++-
base/applications/mscutils/servman/lang/cs-CZ.rc | 7 ++++++-
base/applications/mscutils/servman/lang/de-DE.rc | 9 +++++++--
base/applications/mscutils/servman/lang/el-GR.rc | 7 ++++++-
base/applications/mscutils/servman/lang/en-US.rc | 7 ++++++-
base/applications/mscutils/servman/lang/es-ES.rc | 7 ++++++-
base/applications/mscutils/servman/lang/fr-FR.rc | 7 ++++++-
base/applications/mscutils/servman/lang/he-IL.rc | 7 ++++++-
base/applications/mscutils/servman/lang/id-ID.rc | 7 ++++++-
base/applications/mscutils/servman/lang/it-IT.rc | 7 ++++++-
base/applications/mscutils/servman/lang/ja-JP.rc | 7 ++++++-
base/applications/mscutils/servman/lang/ko-KR.rc | 7 ++++++-
base/applications/mscutils/servman/lang/no-NO.rc | 7 ++++++-
base/applications/mscutils/servman/lang/pl-PL.rc | 7 ++++++-
base/applications/mscutils/servman/lang/ro-RO.rc | 7 ++++++-
base/applications/mscutils/servman/lang/ru-RU.rc | 7 ++++++-
base/applications/mscutils/servman/lang/sk-SK.rc | 7 ++++++-
base/applications/mscutils/servman/lang/sq-AL.rc | 7 ++++++-
base/applications/mscutils/servman/lang/sv-SE.rc | 7 ++++++-
base/applications/mscutils/servman/lang/th-TH.rc | 7 ++++++-
base/applications/mscutils/servman/lang/tr-TR.rc | 7 ++++++-
base/applications/mscutils/servman/lang/uk-UA.rc | 7 ++++++-
base/applications/mscutils/servman/lang/zh-CN.rc | 7 ++++++-
base/applications/mscutils/servman/lang/zh-TW.rc | 7 ++++++-
base/applications/mscutils/servman/resource.h | 2 ++
base/applications/mscutils/servman/servman.c | 5 +++++
26 files changed, 152 insertions(+), 25 deletions(-)
diff --git a/base/applications/mscutils/servman/lang/bg-BG.rc
b/base/applications/mscutils/servman/lang/bg-BG.rc
index 112f0930b8..d0f7186ab9 100644
--- a/base/applications/mscutils/servman/lang/bg-BG.rc
+++ b/base/applications/mscutils/servman/lang/bg-BG.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Продължаване", ID_RESUME, GRAYED
MENUITEM "Презапуск", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Опресняване", ID_REFRESH
+ MENUITEM "Опресняване\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Обработка...", ID_EDIT, GRAYED
MENUITEM "Създаване...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "За управителя на устройствата"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/cs-CZ.rc
b/base/applications/mscutils/servman/lang/cs-CZ.rc
index d9ef503852..2dcc41b969 100644
--- a/base/applications/mscutils/servman/lang/cs-CZ.rc
+++ b/base/applications/mscutils/servman/lang/cs-CZ.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Pokračovat", ID_RESUME, GRAYED
MENUITEM "Restartovat", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Obnovit", ID_REFRESH
+ MENUITEM "Obnovit\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Upravit...", ID_EDIT, GRAYED
MENUITEM "Vytvořit...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "O správci služeb"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/de-DE.rc
b/base/applications/mscutils/servman/lang/de-DE.rc
index 3aa7303aaa..cd6a85fc6a 100644
--- a/base/applications/mscutils/servman/lang/de-DE.rc
+++ b/base/applications/mscutils/servman/lang/de-DE.rc
@@ -1,4 +1,4 @@
-LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
+LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
IDR_MAINMENU MENU
BEGIN
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Fortsetzen", ID_RESUME, GRAYED
MENUITEM "Neu starten", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Aktualisieren", ID_REFRESH
+ MENUITEM "Aktualisieren\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Bearbeiten...", ID_EDIT, GRAYED
MENUITEM "Erstellen...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Info über Dienst-Manager"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/el-GR.rc
b/base/applications/mscutils/servman/lang/el-GR.rc
index 4e700e9cb2..2a1b0848c6 100644
--- a/base/applications/mscutils/servman/lang/el-GR.rc
+++ b/base/applications/mscutils/servman/lang/el-GR.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Συνέχιση", ID_RESUME, GRAYED
MENUITEM "Επανεκκίνηση", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Ανανέωση", ID_REFRESH
+ MENUITEM "Ανανέωση\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Επεξεργασία...", ID_EDIT, GRAYED
MENUITEM "Δημιουργία...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Σχετικά με το Διαχειριστή Υπηρεσιών"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/en-US.rc
b/base/applications/mscutils/servman/lang/en-US.rc
index 0adf899b3f..ba30644939 100644
--- a/base/applications/mscutils/servman/lang/en-US.rc
+++ b/base/applications/mscutils/servman/lang/en-US.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Resu&me", ID_RESUME, GRAYED
MENUITEM "Rest&art", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Re&fresh", ID_REFRESH
+ MENUITEM "Re&fresh\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "&Edit...", ID_EDIT, GRAYED
MENUITEM "Crea&te...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "About Service Manager"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/es-ES.rc
b/base/applications/mscutils/servman/lang/es-ES.rc
index 5a964aabe1..cb36859fae 100644
--- a/base/applications/mscutils/servman/lang/es-ES.rc
+++ b/base/applications/mscutils/servman/lang/es-ES.rc
@@ -21,7 +21,7 @@ BEGIN
MENUITEM "Reanudar", ID_RESUME, GRAYED
MENUITEM "Reiniciar", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Actualizar", ID_REFRESH
+ MENUITEM "Actualizar\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Editar...", ID_EDIT, GRAYED
MENUITEM "Crear...", ID_CREATE, GRAYED
@@ -66,6 +66,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Acerca del Administrador de servicios"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/fr-FR.rc
b/base/applications/mscutils/servman/lang/fr-FR.rc
index ad22a6cd50..4640f9df83 100644
--- a/base/applications/mscutils/servman/lang/fr-FR.rc
+++ b/base/applications/mscutils/servman/lang/fr-FR.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Reprendre", ID_RESUME, GRAYED
MENUITEM "Redémarrer", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Rafraîchir", ID_REFRESH
+ MENUITEM "Rafraîchir\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Éditer...", ID_EDIT, GRAYED
MENUITEM "Créer...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "À Propos du gestionnaire de services"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/he-IL.rc
b/base/applications/mscutils/servman/lang/he-IL.rc
index 2d6f4218ac..15c42e7cfa 100644
--- a/base/applications/mscutils/servman/lang/he-IL.rc
+++ b/base/applications/mscutils/servman/lang/he-IL.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "חדש", ID_RESUME, GRAYED
MENUITEM "הפעל מחדש", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "רענן", ID_REFRESH
+ MENUITEM "רענן\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "עריכה...", ID_EDIT, GRAYED
MENUITEM "יצירה...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "אודות מנהל השירותים"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/id-ID.rc
b/base/applications/mscutils/servman/lang/id-ID.rc
index 0407f5beb3..f83c0bf98e 100644
--- a/base/applications/mscutils/servman/lang/id-ID.rc
+++ b/base/applications/mscutils/servman/lang/id-ID.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Lanjutkan", ID_RESUME, GRAYED
MENUITEM "Mulai lagi", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Segarkan", ID_REFRESH
+ MENUITEM "Segarkan\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Edit...", ID_EDIT, GRAYED
MENUITEM "Buat...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Tentang Manajer Layanan"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/it-IT.rc
b/base/applications/mscutils/servman/lang/it-IT.rc
index 31485e6be2..bd87ad6bcf 100644
--- a/base/applications/mscutils/servman/lang/it-IT.rc
+++ b/base/applications/mscutils/servman/lang/it-IT.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Ripristina", ID_RESUME, GRAYED
MENUITEM "Riavvia", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Aggiorna", ID_REFRESH
+ MENUITEM "Aggiorna\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Modifica...", ID_EDIT, GRAYED
MENUITEM "Crea...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Informazioni su Gestione Servizi"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/ja-JP.rc
b/base/applications/mscutils/servman/lang/ja-JP.rc
index 36affab1d3..6d65aa7df4 100644
--- a/base/applications/mscutils/servman/lang/ja-JP.rc
+++ b/base/applications/mscutils/servman/lang/ja-JP.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "再開", ID_RESUME, GRAYED
MENUITEM "再起動", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "更新", ID_REFRESH
+ MENUITEM "更新\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "編集...", ID_EDIT, GRAYED
MENUITEM "作成...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "サービス マネージャについて"
FONT 9, "MS UI Gothic", 0, 0
diff --git a/base/applications/mscutils/servman/lang/ko-KR.rc
b/base/applications/mscutils/servman/lang/ko-KR.rc
index 927e846c7f..8e6d426e80 100644
--- a/base/applications/mscutils/servman/lang/ko-KR.rc
+++ b/base/applications/mscutils/servman/lang/ko-KR.rc
@@ -20,7 +20,7 @@ BEGIN
MENUITEM "계속", ID_RESUME, GRAYED
MENUITEM "다시 시작", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "새로 고침", ID_REFRESH
+ MENUITEM "새로 고침\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "편집...", ID_EDIT, GRAYED
MENUITEM "추가...", ID_CREATE, GRAYED
@@ -65,6 +65,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "서비스 매니저에 대하여"
FONT 9, "굴림", 0, 0
diff --git a/base/applications/mscutils/servman/lang/no-NO.rc
b/base/applications/mscutils/servman/lang/no-NO.rc
index 707c21516a..ad317a6fac 100644
--- a/base/applications/mscutils/servman/lang/no-NO.rc
+++ b/base/applications/mscutils/servman/lang/no-NO.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Fortsett", ID_RESUME, GRAYED
MENUITEM "Restart", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Oppdater", ID_REFRESH
+ MENUITEM "Oppdater\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Rediger...", ID_EDIT, GRAYED
MENUITEM "Opprett...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Om Tjenestebehandler"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/pl-PL.rc
b/base/applications/mscutils/servman/lang/pl-PL.rc
index 30a564436c..0d01e9793f 100644
--- a/base/applications/mscutils/servman/lang/pl-PL.rc
+++ b/base/applications/mscutils/servman/lang/pl-PL.rc
@@ -28,7 +28,7 @@ BEGIN
MENUITEM "Wznów", ID_RESUME, GRAYED
MENUITEM "Uruchom ponownie", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Odśwież", ID_REFRESH
+ MENUITEM "Odśwież\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Edycja...", ID_EDIT, GRAYED
MENUITEM "Utwórz...", ID_CREATE, GRAYED
@@ -73,6 +73,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Menedżer usług - informacje"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/ro-RO.rc
b/base/applications/mscutils/servman/lang/ro-RO.rc
index bae0603296..7458a81684 100644
--- a/base/applications/mscutils/servman/lang/ro-RO.rc
+++ b/base/applications/mscutils/servman/lang/ro-RO.rc
@@ -23,7 +23,7 @@ BEGIN
MENUITEM "R&eia", ID_RESUME, GRAYED
MENUITEM "&Repornește", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Împrospătea&ză", ID_REFRESH
+ MENUITEM "Împrospătea&ză\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Mo&dificare…", ID_EDIT, GRAYED
MENUITEM "&Creare…", ID_CREATE, GRAYED
@@ -68,6 +68,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Despre Gestionar de servicii"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/ru-RU.rc
b/base/applications/mscutils/servman/lang/ru-RU.rc
index a8a4d4aa41..30bcba0e9d 100644
--- a/base/applications/mscutils/servman/lang/ru-RU.rc
+++ b/base/applications/mscutils/servman/lang/ru-RU.rc
@@ -18,7 +18,7 @@ BEGIN
MENUITEM "Продол&жить", ID_RESUME, GRAYED
MENUITEM "Пере&запустить", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "О&бновить", ID_REFRESH
+ MENUITEM "О&бновить\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "&Изменить...", ID_EDIT, GRAYED
MENUITEM "С&оздать...", ID_CREATE, GRAYED
@@ -63,6 +63,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "О Диспетчере служб"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/sk-SK.rc
b/base/applications/mscutils/servman/lang/sk-SK.rc
index cbdfa10f32..42dc5676f8 100644
--- a/base/applications/mscutils/servman/lang/sk-SK.rc
+++ b/base/applications/mscutils/servman/lang/sk-SK.rc
@@ -23,7 +23,7 @@ BEGIN
MENUITEM "Pokračovať", ID_RESUME, GRAYED
MENUITEM "Reštartovať", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Obnoviť", ID_REFRESH
+ MENUITEM "Obnoviť\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Upraviť...", ID_EDIT, GRAYED
MENUITEM "Vytvoriť...", ID_CREATE, GRAYED
@@ -68,6 +68,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Čo je Manažér služieb"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/sq-AL.rc
b/base/applications/mscutils/servman/lang/sq-AL.rc
index 261f292d45..7cd17ef0ee 100644
--- a/base/applications/mscutils/servman/lang/sq-AL.rc
+++ b/base/applications/mscutils/servman/lang/sq-AL.rc
@@ -23,7 +23,7 @@ BEGIN
MENUITEM "Rifillo", ID_RESUME, GRAYED
MENUITEM "Rifillo", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Rifesko", ID_REFRESH
+ MENUITEM "Rifesko\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Modifiko...", ID_EDIT, GRAYED
MENUITEM "Krijo...", ID_CREATE, GRAYED
@@ -68,6 +68,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Rreth Menaxherit të Shërbimeve"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/sv-SE.rc
b/base/applications/mscutils/servman/lang/sv-SE.rc
index c0de6d638c..e7b4a8de3b 100644
--- a/base/applications/mscutils/servman/lang/sv-SE.rc
+++ b/base/applications/mscutils/servman/lang/sv-SE.rc
@@ -25,7 +25,7 @@ BEGIN
MENUITEM "Fortsätta", ID_RESUME, GRAYED
MENUITEM "Starta om", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Uppdatera", ID_REFRESH
+ MENUITEM "Uppdatera\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Redigera...", ID_EDIT, GRAYED
MENUITEM "Skapa...", ID_CREATE, GRAYED
@@ -70,6 +70,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Om Tjänster"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/th-TH.rc
b/base/applications/mscutils/servman/lang/th-TH.rc
index 9547045aab..c86154ed45 100644
--- a/base/applications/mscutils/servman/lang/th-TH.rc
+++ b/base/applications/mscutils/servman/lang/th-TH.rc
@@ -26,7 +26,7 @@ BEGIN
MENUITEM "เริ่มทำต่อ", ID_RESUME, GRAYED
MENUITEM "เริ่มใหม่", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "ฟื้นฟู", ID_REFRESH
+ MENUITEM "ฟื้นฟู\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "แก้ไข...", ID_EDIT, GRAYED
MENUITEM "สร้าง...", ID_CREATE, GRAYED
@@ -71,6 +71,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "เกี่ยวกับการบริการจัดการ"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/tr-TR.rc
b/base/applications/mscutils/servman/lang/tr-TR.rc
index 33c7591b7b..3fb0eae4c9 100644
--- a/base/applications/mscutils/servman/lang/tr-TR.rc
+++ b/base/applications/mscutils/servman/lang/tr-TR.rc
@@ -20,7 +20,7 @@ BEGIN
MENUITEM "&Sürdür", ID_RESUME, GRAYED
MENUITEM "&Yeniden Başlat", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Y&enile", ID_REFRESH
+ MENUITEM "Y&enile\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "De&ğiştir...", ID_EDIT, GRAYED
MENUITEM "&Oluştur...", ID_CREATE, GRAYED
@@ -65,6 +65,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Himet Yöneticisi Üzerine"
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/uk-UA.rc
b/base/applications/mscutils/servman/lang/uk-UA.rc
index 30bc170a60..93ac6bdee6 100644
--- a/base/applications/mscutils/servman/lang/uk-UA.rc
+++ b/base/applications/mscutils/servman/lang/uk-UA.rc
@@ -26,7 +26,7 @@ BEGIN
MENUITEM "Продовжити", ID_RESUME, GRAYED
MENUITEM "Перезапуск", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "Оновити", ID_REFRESH
+ MENUITEM "Оновити\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Правка...", ID_EDIT, GRAYED
MENUITEM "Створити...", ID_CREATE, GRAYED
@@ -71,6 +71,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "Про програму ""Диспетчер керування службами"""
FONT 8, "MS Shell Dlg", 0, 0
diff --git a/base/applications/mscutils/servman/lang/zh-CN.rc
b/base/applications/mscutils/servman/lang/zh-CN.rc
index f1db1cf321..3f956b9857 100644
--- a/base/applications/mscutils/servman/lang/zh-CN.rc
+++ b/base/applications/mscutils/servman/lang/zh-CN.rc
@@ -20,7 +20,7 @@ BEGIN
MENUITEM "恢复", ID_RESUME, GRAYED
MENUITEM "重新启动", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "刷新", ID_REFRESH
+ MENUITEM "刷新\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "编辑...", ID_EDIT, GRAYED
MENUITEM "创建...", ID_CREATE, GRAYED
@@ -65,6 +65,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "关于服务管理器"
FONT 9, "宋体", 0, 0
diff --git a/base/applications/mscutils/servman/lang/zh-TW.rc
b/base/applications/mscutils/servman/lang/zh-TW.rc
index a13edc7d80..c1b782a6f3 100644
--- a/base/applications/mscutils/servman/lang/zh-TW.rc
+++ b/base/applications/mscutils/servman/lang/zh-TW.rc
@@ -20,7 +20,7 @@ BEGIN
MENUITEM "恢復", ID_RESUME, GRAYED
MENUITEM "重新開機", ID_RESTART, GRAYED
MENUITEM SEPARATOR
- MENUITEM "刷新", ID_REFRESH
+ MENUITEM "刷新\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "編輯...", ID_EDIT, GRAYED
MENUITEM "創建...", ID_CREATE, GRAYED
@@ -65,6 +65,11 @@ BEGIN
END
END
+IDA_SERVMAN ACCELERATORS
+BEGIN
+ VK_F5, ID_REFRESH, VIRTKEY
+END
+
IDD_ABOUTBOX DIALOGEX 22, 16, 190, 182
CAPTION "關於服務管理員"
FONT 9, "新細明體", 0, 0
diff --git a/base/applications/mscutils/servman/resource.h
b/base/applications/mscutils/servman/resource.h
index 35e9406ffd..76f0e1e0e7 100644
--- a/base/applications/mscutils/servman/resource.h
+++ b/base/applications/mscutils/servman/resource.h
@@ -2,6 +2,8 @@
#define IDC_STATIC -1
+#define IDA_SERVMAN 20
+
/* about box info */
#define IDD_ABOUTBOX 200
#define IDC_LICENSE_EDIT 201
diff --git a/base/applications/mscutils/servman/servman.c
b/base/applications/mscutils/servman/servman.c
index d1a2dddebd..1c893798b2 100644
--- a/base/applications/mscutils/servman/servman.c
+++ b/base/applications/mscutils/servman/servman.c
@@ -23,6 +23,7 @@ wWinMain(HINSTANCE hThisInstance,
{
LPWSTR lpAppName;
HWND hMainWnd;
+ HACCEL hAccelTable;
MSG Msg;
int Ret = 1;
INITCOMMONCONTROLSEX icex;
@@ -51,6 +52,9 @@ wWinMain(HINSTANCE hThisInstance,
return 1;
}
+ hAccelTable = LoadAcceleratorsW(hInstance,
+ MAKEINTRESOURCEW(IDA_SERVMAN));
+
if (InitMainWindowImpl())
{
hMainWnd = CreateMainWindow(lpAppName,
@@ -62,6 +66,7 @@ wWinMain(HINSTANCE hThisInstance,
{
//if ( !hProgDlg || !IsWindow(hProgDlg) || !IsDialogMessage(hProgDlg,
&Msg) )
//if (!IsDialogMessage(g_hProgDlg, &Msg))
+ if (!TranslateAcceleratorW(hMainWnd, hAccelTable, &Msg))
{
TranslateMessage(&Msg);
DispatchMessageW(&Msg);