[MSGINA]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 23 Feb 2014 09:32:44 +0000 (09:32 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 23 Feb 2014 09:32:44 +0000 (09:32 +0000)
Shutdown dialog: Display the current users name in the "log off" list entry.

svn path=/trunk/; revision=62297

19 files changed:
reactos/dll/win32/msgina/gui.c
reactos/dll/win32/msgina/lang/bg-BG.rc
reactos/dll/win32/msgina/lang/cs-CZ.rc
reactos/dll/win32/msgina/lang/de-DE.rc
reactos/dll/win32/msgina/lang/en-US.rc
reactos/dll/win32/msgina/lang/es-ES.rc
reactos/dll/win32/msgina/lang/fr-FR.rc
reactos/dll/win32/msgina/lang/he-IL.rc
reactos/dll/win32/msgina/lang/id-ID.rc
reactos/dll/win32/msgina/lang/it-IT.rc
reactos/dll/win32/msgina/lang/ja-JP.rc
reactos/dll/win32/msgina/lang/no-NO.rc
reactos/dll/win32/msgina/lang/pl-PL.rc
reactos/dll/win32/msgina/lang/ro-RO.rc
reactos/dll/win32/msgina/lang/ru-RU.rc
reactos/dll/win32/msgina/lang/sk-SK.rc
reactos/dll/win32/msgina/lang/sq-AL.rc
reactos/dll/win32/msgina/lang/tr-TR.rc
reactos/dll/win32/msgina/lang/uk-UA.rc

index b14de46..4b509e6 100644 (file)
@@ -641,6 +641,7 @@ ShutDownOnInit(
     IN PGINA_CONTEXT pgContext)
 {
     WCHAR szBuffer[256];
+    WCHAR szBuffer2[256];
     HWND hwndList;
     INT idx, count, i;
 
@@ -651,7 +652,8 @@ ShutDownOnInit(
 
     /* Log off */
     LoadStringW(hDllInstance, IDS_SHUTDOWN_LOGOFF, szBuffer, sizeof(szBuffer) / sizeof(WCHAR));
-    idx = SendMessageW(hwndList, CB_ADDSTRING, 0, (LPARAM)szBuffer);
+    wsprintfW(szBuffer2, szBuffer, pgContext->UserName);
+    idx = SendMessageW(hwndList, CB_ADDSTRING, 0, (LPARAM)szBuffer2);
     if (idx != CB_ERR)
         SendMessageW(hwndList, CB_SETITEMDATA, idx, WLX_SAS_ACTION_LOGOFF);
 
index e6933af..d06701b 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index a84bfbe..00ebf87 100644 (file)
@@ -155,14 +155,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index a2e4659..79710d8 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 5f42478..e442a6a 100644 (file)
@@ -150,15 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index badf1b5..fff68d7 100644 (file)
@@ -152,14 +152,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 5bf4e50..ebe1785 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 0796163..0a36480 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index c58f863..a8c593b 100644 (file)
@@ -149,14 +149,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index f4a7571..7ab86e7 100644 (file)
@@ -158,14 +158,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index f69607e..a1731d0 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 0be753a..41b0af8 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index efe84fe..aad32ff 100644 (file)
@@ -159,14 +159,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 59db806..f63e48c 100644 (file)
@@ -152,14 +152,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index a884a19..0c69e47 100644 (file)
@@ -152,14 +152,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 20d1632..ead0f3a 100644 (file)
@@ -155,14 +155,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 00a6317..8c18c16 100644 (file)
@@ -150,14 +150,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 2ba7bb5..9eebba7 100644 (file)
@@ -152,14 +152,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
index 79b0895..34be98f 100644 (file)
@@ -158,14 +158,14 @@ END
 /* Shutdown Dialog Strings */
 STRINGTABLE
 BEGIN
+    IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
     IDS_SHUTDOWN_SHUTDOWN "Shut down"
-    IDS_SHUTDOWN_LOGOFF "Log off"
     IDS_SHUTDOWN_RESTART "Restart"
     IDS_SHUTDOWN_SLEEP "Sleep"
     IDS_SHUTDOWN_HIBERNATE "Hibernate"
     /* Shut down descriptions */
-    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
+    IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
     IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
     IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
     IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."