From e82456a57c9b8c2782e8acdcfdf9e69952272264 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 26 Aug 2005 13:49:21 +0000 Subject: Relevant BUGIDs: none Purpose of commit: bugfix Commit summary: --------------- Mark missing strings for translations (login and password) Fix \a problem with pot/po files --- modules/pam_unix/pam_unix_auth.c | 2 +- modules/pam_unix/pam_unix_passwd.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/pam_unix') diff --git a/modules/pam_unix/pam_unix_auth.c b/modules/pam_unix/pam_unix_auth.c index 1a89a4b2..41b55c27 100644 --- a/modules/pam_unix/pam_unix_auth.c +++ b/modules/pam_unix/pam_unix_auth.c @@ -159,7 +159,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh, int flags } /* get this user's authentication token */ - retval = _unix_read_password(pamh, ctrl, NULL, "Password: ", NULL + retval = _unix_read_password(pamh, ctrl, NULL, _("Password: "), NULL ,_UNIX_AUTHTOK, &p); if (retval != PAM_SUCCESS) { if (retval != PAM_CONV_AGAIN) { diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c index 838eb0a7..7eb9bc73 100644 --- a/modules/pam_unix/pam_unix_passwd.c +++ b/modules/pam_unix/pam_unix_passwd.c @@ -1109,7 +1109,7 @@ PAM_EXTERN int pam_sm_chauthtok(pam_handle_t * pamh, int flags, set(UNIX__OLD_PASSWD, lctrl); retval = _unix_read_password(pamh, lctrl ,Announce - ,"(current) UNIX password: " + ,_("(current) UNIX password: ") ,NULL ,_UNIX_OLD_AUTHTOK ,&pass_old); @@ -1204,8 +1204,8 @@ PAM_EXTERN int pam_sm_chauthtok(pam_handle_t * pamh, int flags, retval = _unix_read_password(pamh, lctrl ,NULL - ,"Enter new UNIX password: " - ,"Retype new UNIX password: " + ,_("Enter new UNIX password: ") + ,_("Retype new UNIX password: ") ,_UNIX_NEW_AUTHTOK ,&pass_new); -- cgit v1.2.3