From 7a31a6a26d87d1061580a7466869b28ac728ddd4 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 4 May 2006 06:56:04 +0000 Subject: Relevant BUGIDs: Purpose of commit: new feature, cleanup Commit summary: --------------- To unify look of error messages remove trailing dot from 4 pam_strerror() messages and adjust translations. Convert all xml files to UTF-8. Add pam.3 and pam_sm_acct_mgmt.3. 2006-05-04 Thorsten Kukuk * libpam/pam_strerror.c: Unify error messages. * po/zh_TW.po: Adjust for last pam_strerror changes. * po/zh_CN.po: Likewise. * po/uk.po: Likewise. * po/tr.po: Likewise. * po/pt.po: Likewise. * po/pt_BR.po: Likewise. * po/pl.po: Likewise. * po/ja.po: Likewise. * po/nl.po: Likewise. * po/nb.po: Likewise. * po/it.po: Likewise. * po/hu.po: Likewise. * po/fr.po: Likewise. * po/fi.po: Likewise. * po/es.po: Likewise. * po/de.po: Likewise. * po/cs.po: Likewise. * doc/man/pam.3.xml: New. * doc/man/pam.3. New, generated from XML file. * doc/man/pam_sm_acct_mgmt.3.xml: New. * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file. * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate all manual pages. * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo. --- libpam/pam_strerror.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpam') diff --git a/libpam/pam_strerror.c b/libpam/pam_strerror.c index f7923314..17c81945 100644 --- a/libpam/pam_strerror.c +++ b/libpam/pam_strerror.c @@ -41,7 +41,7 @@ const char *pam_strerror(pam_handle_t *pamh UNUSED, int errnum) case PAM_ABORT: return _("Critical error - immediate abort"); case PAM_OPEN_ERR: - return _("dlopen() failure"); + return _("Failed to load module"); case PAM_SYMBOL_ERR: return _("Symbol not found"); case PAM_SERVICE_ERR: @@ -57,13 +57,13 @@ const char *pam_strerror(pam_handle_t *pamh UNUSED, int errnum) case PAM_CRED_INSUFFICIENT: return _("Insufficient credentials to access authentication data"); case PAM_AUTHINFO_UNAVAIL: - return _("Authentication service cannot retrieve authentication info."); + return _("Authentication service cannot retrieve authentication info"); case PAM_USER_UNKNOWN: return _("User not known to the underlying authentication module"); case PAM_MAXTRIES: - return _("Have exhausted maximum number of retries for service."); + return _("Have exhausted maximum number of retries for service"); case PAM_NEW_AUTHTOK_REQD: - return _("Authentication token is no longer valid; new one required."); + return _("Authentication token is no longer valid; new one required"); case PAM_ACCT_EXPIRED: return _("User account has expired"); case PAM_SESSION_ERR: -- cgit v1.2.3