https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f2f698587c0193c515326…
commit f2f698587c0193c515326bde163daa06084cf303
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Jun 9 22:42:10 2019 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Jun 9 22:42:10 2019 +0200
[MSGINA] Add missing logon restriction messages.
---
dll/win32/msgina/gui.c | 39 ++++++++++++++++++++++++++++-----------
dll/win32/msgina/lang/bg-BG.rc | 4 ++++
dll/win32/msgina/lang/cs-CZ.rc | 4 ++++
dll/win32/msgina/lang/de-DE.rc | 6 +++++-
dll/win32/msgina/lang/en-US.rc | 4 ++++
dll/win32/msgina/lang/es-ES.rc | 4 ++++
dll/win32/msgina/lang/fr-FR.rc | 4 ++++
dll/win32/msgina/lang/he-IL.rc | 4 ++++
dll/win32/msgina/lang/id-ID.rc | 4 ++++
dll/win32/msgina/lang/it-IT.rc | 4 ++++
dll/win32/msgina/lang/ja-JP.rc | 4 ++++
dll/win32/msgina/lang/no-NO.rc | 4 ++++
dll/win32/msgina/lang/pl-PL.rc | 4 ++++
dll/win32/msgina/lang/ro-RO.rc | 4 ++++
dll/win32/msgina/lang/ru-RU.rc | 4 ++++
dll/win32/msgina/lang/sk-SK.rc | 4 ++++
dll/win32/msgina/lang/sq-AL.rc | 4 ++++
dll/win32/msgina/lang/tr-TR.rc | 4 ++++
dll/win32/msgina/lang/uk-UA.rc | 4 ++++
dll/win32/msgina/lang/zh-CN.rc | 4 ++++
dll/win32/msgina/lang/zh-TW.rc | 4 ++++
dll/win32/msgina/resource.h | 4 ++++
22 files changed, 113 insertions(+), 12 deletions(-)
diff --git a/dll/win32/msgina/gui.c b/dll/win32/msgina/gui.c
index bf0a16057e..c542d86402 100644
--- a/dll/win32/msgina/gui.c
+++ b/dll/win32/msgina/gui.c
@@ -977,11 +977,11 @@ DoLogon(
else if (SubStatus == STATUS_ACCOUNT_LOCKED_OUT)
{
TRACE("Account locked!\n");
- pgContext->pWlxFuncs->WlxMessageBox(pgContext->hWlx,
- hwndDlg,
- L"Account locked!",
- L"Logon error",
- MB_OK | MB_ICONERROR);
+ ResourceMessageBox(pgContext,
+ hwndDlg,
+ MB_OK | MB_ICONERROR,
+ IDS_LOGONTITLE,
+ IDS_ACCOUNTLOCKED);
goto done;
}
else if ((SubStatus == STATUS_PASSWORD_MUST_CHANGE) ||
@@ -1024,14 +1024,32 @@ DoLogon(
IDS_LOGONTITLE,
IDS_ACCOUNTEXPIRED);
}
+ else if (SubStatus == STATUS_INVALID_LOGON_HOURS)
+ {
+ ResourceMessageBox(pgContext,
+ hwndDlg,
+ MB_OK | MB_ICONERROR,
+ IDS_LOGONTITLE,
+ IDS_INVALIDLOGONHOURS);
+ goto done;
+ }
+ else if (SubStatus == STATUS_INVALID_WORKSTATION)
+ {
+ ResourceMessageBox(pgContext,
+ hwndDlg,
+ MB_OK | MB_ICONERROR,
+ IDS_LOGONTITLE,
+ IDS_INVALIDWORKSTATION);
+ goto done;
+ }
else
{
TRACE("Other error!\n");
- pgContext->pWlxFuncs->WlxMessageBox(pgContext->hWlx,
- hwndDlg,
- L"Other error!",
- L"Logon error",
- MB_OK | MB_ICONERROR);
+ ResourceMessageBox(pgContext,
+ hwndDlg,
+ MB_OK | MB_ICONERROR,
+ IDS_LOGONTITLE,
+ IDS_ACCOUNTRESTRICTION);
goto done;
}
}
@@ -1041,7 +1059,6 @@ DoLogon(
goto done;
}
-
if (!CreateProfile(pgContext, UserName, Domain, Password))
{
ERR("Failed to create the profile!\n");
diff --git a/dll/win32/msgina/lang/bg-BG.rc b/dll/win32/msgina/lang/bg-BG.rc
index 3d60beef6c..9231ef9e57 100644
--- a/dll/win32/msgina/lang/bg-BG.rc
+++ b/dll/win32/msgina/lang/bg-BG.rc
@@ -203,6 +203,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/cs-CZ.rc b/dll/win32/msgina/lang/cs-CZ.rc
index ed00909155..f4e75e6c3a 100644
--- a/dll/win32/msgina/lang/cs-CZ.rc
+++ b/dll/win32/msgina/lang/cs-CZ.rc
@@ -208,6 +208,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Při prvním přihlášení je nutné změnit heslo."
IDS_PASSWORDEXPIRED "Heslu vypršela platnost a musí být změněno."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/de-DE.rc b/dll/win32/msgina/lang/de-DE.rc
index 6d622924be..a727d6dbf2 100644
--- a/dll/win32/msgina/lang/de-DE.rc
+++ b/dll/win32/msgina/lang/de-DE.rc
@@ -199,10 +199,14 @@ BEGIN
IDS_PASSWORDCHANGED "Ihr Passwort wurde geändert."
IDS_LOGONTITLE "Anmeldemeldung"
IDS_LOGONWRONGUSERORPWD "Sie konnten nicht angemeldet werden. Prüfen Sie
Benutzername und Domäne, und geben Sie das Passwort erneut ein. Bei Passworten wird Groß-
und Kleinschreibung unterschieden."
- IDS_LOGONUSERDISABLED "Ihr Konto wurde deaktiviert. Wenden Sie sich an Ihren
Systemadministrator."
+ IDS_LOGONUSERDISABLED "Ihr Konto wurde deaktiviert. Bitte wenden Sie sich an
Ihren Systemadministrator."
IDS_PASSWORDMUSTCHANGE "Sie müssen Ihr Passwort bei der ersten Anmeldung
ändern."
IDS_PASSWORDEXPIRED "Ihr Passwort ist abgelaufen und muss geändert
werden."
IDS_ACCOUNTEXPIRED "Ihr Konto ist abgelaufen. Bitte wenden Sie sich an Ihren
Systemadministrator."
+ IDS_ACCOUNTLOCKED "Sie können nicht angemeldet werden, da Ihr Konto deaktiviert
wurde. Bitte wenden Sie sich an Ihren Systemadministrator."
+ IDS_INVALIDLOGONHOURS "Ihr Konto sieht es nicht vor, dass Sie sich zu dieser
Zeit anmelden. Bitte versuchen Sie es später noch einmal."
+ IDS_INVALIDWORKSTATION "Ihr Konto sieht es nicht vor, dass Sie sich an diesem
Computer anmelden. Bitte melden Sie sich an einem anderen Computer an."
+ IDS_ACCOUNTRESTRICTION "Wegen einer Kontenbeschränkung dürfen Sie sich nicht
anmelden."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/en-US.rc b/dll/win32/msgina/lang/en-US.rc
index b043c356cd..8ef6da8293 100644
--- a/dll/win32/msgina/lang/en-US.rc
+++ b/dll/win32/msgina/lang/en-US.rc
@@ -204,6 +204,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/es-ES.rc b/dll/win32/msgina/lang/es-ES.rc
index c11e18434e..ead1e28bfe 100644
--- a/dll/win32/msgina/lang/es-ES.rc
+++ b/dll/win32/msgina/lang/es-ES.rc
@@ -211,6 +211,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Es necesario cambiar la contraseña en el primer inicio
de sesión."
IDS_PASSWORDEXPIRED "La contraseña ha expirado y debe cambiarse."
IDS_ACCOUNTEXPIRED "Su cuenta ha expirado. Contacte con su administrador del
sistema."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/fr-FR.rc b/dll/win32/msgina/lang/fr-FR.rc
index 1ad151e67b..7e89bf8edf 100644
--- a/dll/win32/msgina/lang/fr-FR.rc
+++ b/dll/win32/msgina/lang/fr-FR.rc
@@ -203,6 +203,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Vous devez changer votre mot de passe à la première
connexion."
IDS_PASSWORDEXPIRED "Votre mot de passe a expiré et doit être changé."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/he-IL.rc b/dll/win32/msgina/lang/he-IL.rc
index 1e52496ebf..17f40ef209 100644
--- a/dll/win32/msgina/lang/he-IL.rc
+++ b/dll/win32/msgina/lang/he-IL.rc
@@ -203,6 +203,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/id-ID.rc b/dll/win32/msgina/lang/id-ID.rc
index 314e145ed2..9b61c66f96 100644
--- a/dll/win32/msgina/lang/id-ID.rc
+++ b/dll/win32/msgina/lang/id-ID.rc
@@ -203,6 +203,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/it-IT.rc b/dll/win32/msgina/lang/it-IT.rc
index d2c620c419..f633ef9a12 100644
--- a/dll/win32/msgina/lang/it-IT.rc
+++ b/dll/win32/msgina/lang/it-IT.rc
@@ -212,6 +212,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Ti è chiesto di cambiare password al primo login."
IDS_PASSWORDEXPIRED "La tua password è scaduta e devi cambiarla."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/ja-JP.rc b/dll/win32/msgina/lang/ja-JP.rc
index 887e94034d..3082252bd1 100644
--- a/dll/win32/msgina/lang/ja-JP.rc
+++ b/dll/win32/msgina/lang/ja-JP.rc
@@ -203,6 +203,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/no-NO.rc b/dll/win32/msgina/lang/no-NO.rc
index 728fedd84b..34a6d3b1d4 100644
--- a/dll/win32/msgina/lang/no-NO.rc
+++ b/dll/win32/msgina/lang/no-NO.rc
@@ -203,6 +203,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/pl-PL.rc b/dll/win32/msgina/lang/pl-PL.rc
index c545cdcdc9..2c500b9c76 100644
--- a/dll/win32/msgina/lang/pl-PL.rc
+++ b/dll/win32/msgina/lang/pl-PL.rc
@@ -213,6 +213,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Jesteś zobowiązany do zmiany hasła przy pierwszym
logowaniu."
IDS_PASSWORDEXPIRED "Twoje hasło wygasło i musi zostać zmienione."
IDS_ACCOUNTEXPIRED "Twoje konto wygasło. Skontaktuj się z administratorem
systemu."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/ro-RO.rc b/dll/win32/msgina/lang/ro-RO.rc
index 7288fc10f4..a2309de539 100644
--- a/dll/win32/msgina/lang/ro-RO.rc
+++ b/dll/win32/msgina/lang/ro-RO.rc
@@ -212,6 +212,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Este imperativ să vă schimbați parola la prima
autentificare."
IDS_PASSWORDEXPIRED "Parola v-a expirat și trebuie schimbată."
IDS_ACCOUNTEXPIRED "Contul v-a expirat, adresați-vă administratorului."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/ru-RU.rc b/dll/win32/msgina/lang/ru-RU.rc
index f30ff46fac..1359dad3d6 100644
--- a/dll/win32/msgina/lang/ru-RU.rc
+++ b/dll/win32/msgina/lang/ru-RU.rc
@@ -205,6 +205,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Вы должны сменить пароль при следующем входе."
IDS_PASSWORDEXPIRED "Срок действия вашего пароля истек, необходимо его
изменить."
IDS_ACCOUNTEXPIRED "Срок действия вашего аккаунта истек. Пожалуйста, обратитесь
к системному администратору."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/sk-SK.rc b/dll/win32/msgina/lang/sk-SK.rc
index b19e3d4dd9..07c0c6093f 100644
--- a/dll/win32/msgina/lang/sk-SK.rc
+++ b/dll/win32/msgina/lang/sk-SK.rc
@@ -208,6 +208,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/sq-AL.rc b/dll/win32/msgina/lang/sq-AL.rc
index 87f81dd55d..1c763f3043 100644
--- a/dll/win32/msgina/lang/sq-AL.rc
+++ b/dll/win32/msgina/lang/sq-AL.rc
@@ -207,6 +207,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first
logon."
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/tr-TR.rc b/dll/win32/msgina/lang/tr-TR.rc
index b7bed5c32a..208462e9b5 100644
--- a/dll/win32/msgina/lang/tr-TR.rc
+++ b/dll/win32/msgina/lang/tr-TR.rc
@@ -205,6 +205,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "İlk oturum açmada şifrenizi değiştirmeniz
gerekir."
IDS_PASSWORDEXPIRED "Şifrenizin süresi doldu ve şifreniz
değiştirilmelidir."
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/uk-UA.rc b/dll/win32/msgina/lang/uk-UA.rc
index 3068bb433c..24b64beb28 100644
--- a/dll/win32/msgina/lang/uk-UA.rc
+++ b/dll/win32/msgina/lang/uk-UA.rc
@@ -211,6 +211,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "Ви повинні змінити пароль при наступному вході."
IDS_PASSWORDEXPIRED "Термін дії вашого пароля закінчився, необхідно його
змінити."
IDS_ACCOUNTEXPIRED "Термін дії вашого облікового запису минув. Будь ласка,
зверніться до системного адміністратора."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/zh-CN.rc b/dll/win32/msgina/lang/zh-CN.rc
index 6357e23b6c..373d417b1e 100644
--- a/dll/win32/msgina/lang/zh-CN.rc
+++ b/dll/win32/msgina/lang/zh-CN.rc
@@ -206,6 +206,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "您需要更改您在首次登录的密码。"
IDS_PASSWORDEXPIRED "您的密码已过期,必须更改。"
IDS_ACCOUNTEXPIRED "您的帐户已过期。请咨询您的系统管理员。"
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/lang/zh-TW.rc b/dll/win32/msgina/lang/zh-TW.rc
index d088c985ea..d833852e1c 100644
--- a/dll/win32/msgina/lang/zh-TW.rc
+++ b/dll/win32/msgina/lang/zh-TW.rc
@@ -205,6 +205,10 @@ BEGIN
IDS_PASSWORDMUSTCHANGE "您需要更改您在首次登入的密碼。"
IDS_PASSWORDEXPIRED "您的密碼已過期,必須更改。"
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system
administrator."
+ IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked
out. Please see your system administrator."
+ IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from
logging on at this time. Please try again later."
+ IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using
this computer. Please try another computer."
+ IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account
restriction."
END
/* Shutdown Dialog Strings */
diff --git a/dll/win32/msgina/resource.h b/dll/win32/msgina/resource.h
index e23da85878..c7de8014b9 100644
--- a/dll/win32/msgina/resource.h
+++ b/dll/win32/msgina/resource.h
@@ -89,6 +89,10 @@
#define IDS_PASSWORDMUSTCHANGE 40018
#define IDS_PASSWORDEXPIRED 40019
#define IDS_ACCOUNTEXPIRED 40020
+#define IDS_ACCOUNTLOCKED 40021
+#define IDS_INVALIDLOGONHOURS 40022
+#define IDS_INVALIDWORKSTATION 40023
+#define IDS_ACCOUNTRESTRICTION 40024
#define IDS_SHUTDOWN_SHUTDOWN 50000
#define IDS_SHUTDOWN_LOGOFF 50001