Author: ekohl
Date: Tue Jan 21 23:31:13 2014
New Revision: 61750

URL: http://svn.reactos.org/svn/reactos?rev=61750&view=rev
Log:
[MSGINA]
Move the unlock code to a separate function and display error messages if user 
name or password do not match.

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

Modified: trunk/reactos/dll/win32/msgina/gui.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/gui.c?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/gui.c        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/gui.c        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -604,6 +604,59 @@
 
 
 static
+BOOL
+DoUnlock(
+    IN HWND hwndDlg,
+    IN PGINA_CONTEXT pgContext,
+    OUT LPINT Action)
+{
+    WCHAR Buffer1[256];
+    WCHAR Buffer2[256];
+    LPWSTR UserName = NULL;
+    LPWSTR Password = NULL;
+    BOOL res = FALSE;
+
+    if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && *UserName == '\0')
+        return FALSE;
+
+    if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
+    {
+        if (UserName != NULL && Password != NULL &&
+            wcscmp(UserName, pgContext->UserName) == 0 &&
+            wcscmp(Password, pgContext->Password) == 0)
+        {
+            *Action = WLX_SAS_ACTION_UNLOCK_WKSTA;
+            res = TRUE;
+        }
+        else if (wcscmp(UserName, pgContext->UserName) == 0 &&
+                 wcscmp(Password, pgContext->Password) != 0)
+        {
+            /* Wrong Password */
+            LoadStringW(pgContext->hDllInstance, IDS_LOCKEDWRONGPASSWORD, 
Buffer2, 256);
+            LoadStringW(pgContext->hDllInstance, IDS_COMPUTERLOCKED, Buffer1, 
256);
+            MessageBoxW(hwndDlg, Buffer2, Buffer1, MB_OK | MB_ICONERROR);
+        }
+        else
+        {
+            /* Wrong user name */
+            LoadStringW(pgContext->hDllInstance, IDS_LOCKEDWRONGUSER, Buffer1, 
256);
+            wsprintfW(Buffer2, Buffer1, pgContext->Domain, 
pgContext->UserName);
+            LoadStringW(pgContext->hDllInstance, IDS_COMPUTERLOCKED, Buffer1, 
256);
+            MessageBoxW(hwndDlg, Buffer2, Buffer1, MB_OK | MB_ICONERROR);
+        }
+    }
+
+    if (UserName != NULL)
+        HeapFree(GetProcessHeap(), 0, UserName);
+
+    if (Password != NULL)
+        HeapFree(GetProcessHeap(), 0, Password);
+
+    return res;
+}
+
+
+static
 INT_PTR
 CALLBACK
 UnlockWindowProc(
@@ -613,6 +666,7 @@
     IN LPARAM lParam)
 {
     PGINA_CONTEXT pgContext;
+    INT result = WLX_SAS_ACTION_NONE;
 
     pgContext = (PGINA_CONTEXT)GetWindowLongPtr(hwndDlg, GWL_USERDATA);
 
@@ -653,26 +707,9 @@
             switch (LOWORD(wParam))
             {
                 case IDOK:
-                {
-                    LPWSTR UserName = NULL, Password = NULL;
-                    INT result = WLX_SAS_ACTION_NONE;
-
-                    if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && 
*UserName == '\0')
-                        break;
-                    if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
-                    {
-                        if (UserName != NULL && Password != NULL &&
-                            wcscmp(UserName, pgContext->UserName) == 0 &&
-                            wcscmp(Password, pgContext->Password) == 0)
-                        {
-                            result = WLX_SAS_ACTION_UNLOCK_WKSTA;
-                        }
-                    }
-                    HeapFree(GetProcessHeap(), 0, UserName);
-                    HeapFree(GetProcessHeap(), 0, Password);
-                    EndDialog(hwndDlg, result);
-                    return TRUE;
-                }
+                    if (DoUnlock(hwndDlg, pgContext, &result))
+                        EndDialog(hwndDlg, result);
+                    return TRUE;
 
                 case IDCANCEL:
                     EndDialog(hwndDlg, WLX_SAS_ACTION_NONE);

Modified: trunk/reactos/dll/win32/msgina/lang/bg-BG.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/bg-BG.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/bg-BG.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/bg-BG.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/cs-CZ.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/cs-CZ.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/cs-CZ.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/cs-CZ.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -127,4 +127,7 @@
     IDS_LOCKMSG "Pouze %s nebo Administrátor může odemknout tento 
počítač."
     IDS_LOGONMSG "Jste přihlášeni jako %s."
     IDS_LOGONDATE "Datum přihlášení: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/de-DE.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/de-DE.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/de-DE.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/de-DE.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "Nur %s oder ein Administrator kann den Computer entsperren."
     IDS_LOGONMSG "Sie sind angemeldet als %s."
     IDS_LOGONDATE "Anmeldedatum: %s %s"
+    IDS_COMPUTERLOCKED "Computer ist gesperrt"
+    IDS_LOCKEDWRONGPASSWORD "Das Kennwort ist falsch.  Bitte geben Sie das 
Kennwort erneut ein.  Bei Buchstaben des Kennworts wird Groß- und 
Kleinschreibung unterschieden."
+    IDS_LOCKEDWRONGUSER "Der Computer ist gesperrt.  Nur %s\\%s oder ein 
Administrator kann den Computer entsperren."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/en-US.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/en-US.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/en-US.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/en-US.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -46,7 +46,7 @@
     PUSHBUTTON "Lock computer", IDC_LOCK, 10, 135, 76, 14
     PUSHBUTTON "Log off...", IDC_LOGOFF, 100, 135, 75, 14
     PUSHBUTTON "Shutdown", IDC_SHUTDOWN, 189, 135, 76, 14
-    PUSHBUTTON "Change Password", IDC_CHANGEPWD, 10, 154, 76, 14, WS_DISABLED
+    PUSHBUTTON "Change Password", IDC_CHANGEPWD, 10, 154, 76, 14
     PUSHBUTTON "Task manager", IDC_TASKMGR, 100, 154, 75, 14
     PUSHBUTTON "Cancel", IDCANCEL, 189, 154, 76, 14
 END
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/es-ES.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/es-ES.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/es-ES.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/es-ES.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -124,4 +124,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/fr-FR.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/fr-FR.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/fr-FR.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/fr-FR.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "Seulement %s ou bien un Administrateur peut déverrouiller 
cet ordinateur."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/he-IL.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/he-IL.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/he-IL.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/he-IL.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "רק %s או מנהל יכולים לשחרר את המחשב 
הזה."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "תאריך כניסה: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/id-ID.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/id-ID.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/id-ID.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/id-ID.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -121,4 +121,7 @@
     IDS_FORCELOGOFF "Ini akan mengeluarkan pengguna saat ini dan kehilangan 
data yang belum disimpan.  Lanjutkan?"
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/it-IT.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/it-IT.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/it-IT.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/it-IT.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -130,4 +130,7 @@
     IDS_LOCKMSG "Solo %s o un Amministratore possono sbloccare questo 
computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Dati di accesso: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/ja-JP.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/ja-JP.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/ja-JP.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/ja-JP.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/no-NO.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/no-NO.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/no-NO.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/no-NO.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -122,4 +122,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/pl-PL.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/pl-PL.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/pl-PL.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/pl-PL.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -131,4 +131,7 @@
     IDS_LOCKMSG "Tylko %s lub Administrator może odblokować ten komputer."
     IDS_LOGONMSG "Jesteś zalogowany jako %s."
     IDS_LOGONDATE "Data logowania: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/ro-RO.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/ro-RO.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/ro-RO.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/ro-RO.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -124,4 +124,7 @@
     IDS_LOCKMSG "Doar %s sau un Administrator poate debloca acest calculator."
     IDS_LOGONMSG "Sunteți autentificat ca %s."
     IDS_LOGONDATE "Data autentificării: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/ru-RU.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/ru-RU.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/ru-RU.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/ru-RU.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -124,4 +124,7 @@
     IDS_LOCKMSG "Только %s или Администратор могут 
разблокировать этот компьютер."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Дата входа: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/sk-SK.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/sk-SK.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/sk-SK.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/sk-SK.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -127,4 +127,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/tr-TR.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/tr-TR.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/tr-TR.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/tr-TR.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -124,4 +124,7 @@
     IDS_LOCKMSG "Yalnızca %s ve bir yönetici bu bilgisayarı kilitleyebilir."
     IDS_LOGONMSG "%s olarak oturum açtınız."
     IDS_LOGONDATE "Oturum Açma Zamânı: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/lang/uk-UA.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/uk-UA.rc?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/lang/uk-UA.rc        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/lang/uk-UA.rc        [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -130,4 +130,7 @@
     IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
     IDS_LOGONMSG "You are logged on as %s."
     IDS_LOGONDATE "Logon date: %s %s"
+    IDS_COMPUTERLOCKED "Computer locked"
+    IDS_LOCKEDWRONGPASSWORD "The password is wrong.  Please enter your 
password again.  Letters in passwords must be typed using the correct case."
+    IDS_LOCKEDWRONGUSER "This computer is locked.  Only %s\\%s or an 
Administrator can unlock this computer."
 END

Modified: trunk/reactos/dll/win32/msgina/resource.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/resource.h?rev=61750&r1=61749&r2=61750&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msgina/resource.h   [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/resource.h   [iso-8859-1] Tue Jan 21 
23:31:13 2014
@@ -34,12 +34,15 @@
 
 #define IDI_LOCKICON 21
 
-#define IDS_LOGGEDOUTSAS       40000
-#define IDS_LOCKEDSAS          40001
-#define IDS_PRESSCTRLALTDELETE 40002
-#define IDS_ASKFORUSER         40003
-#define IDS_ASKFORPASSWORD     40004
-#define IDS_FORCELOGOFF        40005
-#define IDS_LOCKMSG            40006
-#define IDS_LOGONMSG           40007
-#define IDS_LOGONDATE          40008
+#define IDS_LOGGEDOUTSAS        40000
+#define IDS_LOCKEDSAS           40001
+#define IDS_PRESSCTRLALTDELETE  40002
+#define IDS_ASKFORUSER          40003
+#define IDS_ASKFORPASSWORD      40004
+#define IDS_FORCELOGOFF         40005
+#define IDS_LOCKMSG             40006
+#define IDS_LOGONMSG            40007
+#define IDS_LOGONDATE           40008
+#define IDS_COMPUTERLOCKED      40009
+#define IDS_LOCKEDWRONGPASSWORD 40010
+#define IDS_LOCKEDWRONGUSER     40011


Reply via email to