[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4364-g3310dea
Günther Deschner
gd at samba.org
Thu Nov 13 16:31:42 GMT 2008
The branch, v3-3-test has been updated
via 3310deac11bb579ba364dabd59e149fdd68360ed (commit)
from 1ec66e9db4b8b8c928d48aa3aa5c1cf618c722c1 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 3310deac11bb579ba364dabd59e149fdd68360ed
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 13 17:30:00 2008 +0100
pam_winbind: translate some more string.
boyang, please check.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/nsswitch/pam_winbind.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c
index 17e8c95..cc6bf22 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/nsswitch/pam_winbind.c
@@ -552,13 +552,13 @@ static const struct ntstatus_errors {
{"NT_STATUS_INVALID_LOGON_HOURS",
N_("You are not allowed to logon at this time")},
{"NT_STATUS_ACCOUNT_EXPIRED",
- "Your account has expired. "
+ N_("Your account has expired. ")
N_("Please contact your System administrator")}, /* SCNR */
{"NT_STATUS_ACCOUNT_DISABLED",
- "Your account is disabled. "
+ N_("Your account is disabled. ")
N_("Please contact your System administrator")}, /* SCNR */
{"NT_STATUS_ACCOUNT_LOCKED_OUT",
- "Your account has been locked. "
+ N_("Your account has been locked. ")
N_("Please contact your System administrator")}, /* SCNR */
{"NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT",
N_("Invalid Trust Account")},
@@ -2400,7 +2400,7 @@ int pam_sm_close_session(pam_handle_t *pamh, int flags,
ZERO_STRUCT(request);
ZERO_STRUCT(response);
- retval = pam_get_user(pamh, &user, "Username: ");
+ retval = pam_get_user(pamh, &user, _("Username: "));
if (retval) {
_pam_log(ctx, LOG_ERR,
"could not identify user");
@@ -2549,7 +2549,7 @@ int pam_sm_chauthtok(pam_handle_t * pamh, int flags,
/*
* First get the name of a user
*/
- ret = pam_get_user(pamh, &user, "Username: ");
+ ret = pam_get_user(pamh, &user, _("Username: "));
if (ret) {
_pam_log(ctx, LOG_ERR,
"password - could not identify user");
--
Samba Shared Repository
More information about the samba-cvs
mailing list