summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-09-26 14:38:36 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-09-26 14:38:36 +0000
commit165cd7666e27b90150c35447aa806662468cd57d (patch)
tree79204783cb8af17e5b1500daf93e71198739cc66 /modules
parentf0f9c4479303b5a9c37667cf07f58426dc081676 (diff)
Relevant BUGIDs: none
Purpose of commit: bugfix Commit summary: --------------- Mark missing strings for translation
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_mail/pam_mail.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/pam_mail/pam_mail.c b/modules/pam_mail/pam_mail.c
index b745edfa..caa58eae 100644
--- a/modules/pam_mail/pam_mail.c
+++ b/modules/pam_mail/pam_mail.c
@@ -241,7 +241,7 @@ get_mail_status(pam_handle_t *pamh, int ctrl, const char *folder)
goto get_mail_status_cleanup;
}
}
- type = (i > 2) ? "new" : NULL;
+ type = (i > 2) ? _("new") : NULL;
while (--i >= 0)
_pam_drop(namelist[i]);
_pam_drop(namelist);
@@ -263,9 +263,9 @@ get_mail_status(pam_handle_t *pamh, int ctrl, const char *folder)
}
}
if (i > 2)
- type = "old";
+ type = _("old");
else
- type = (ctrl & PAM_EMPTY_TOO) ? "no" : NULL;
+ type = (ctrl & PAM_EMPTY_TOO) ? _("no") : NULL;
while (--i >= 0)
_pam_drop(namelist[i]);
_pam_drop(namelist);
@@ -273,11 +273,11 @@ get_mail_status(pam_handle_t *pamh, int ctrl, const char *folder)
} else {
if (mail_st.st_size > 0) {
if (mail_st.st_atime < mail_st.st_mtime) /* new */
- type = (ctrl & PAM_STANDARD_MAIL) ? "new " : "new";
+ type = (ctrl & PAM_STANDARD_MAIL) ? _("new ") : _("new");
else /* old */
- type = (ctrl & PAM_STANDARD_MAIL) ? "" : "old";
+ type = (ctrl & PAM_STANDARD_MAIL) ? "" : _("old");
} else if (ctrl & PAM_EMPTY_TOO) {
- type = "no";
+ type = _("no");
} else {
type = NULL;
}
@@ -295,10 +295,10 @@ report_mail(pam_handle_t *pamh, int ctrl, const char *type, const char *folder)
int retval;
if (!(ctrl & PAM_MAIL_SILENT) ||
- ((ctrl & PAM_QUIET_MAIL) && strcmp(type, "new")))
+ ((ctrl & PAM_QUIET_MAIL) && strcmp(type, _("new"))))
{
if (ctrl & PAM_STANDARD_MAIL)
- if (!strcmp(type, "no"))
+ if (!strcmp(type, _("no")))
retval = pam_info (pamh, "%s", _("No mail."));
else
retval = pam_info (pamh, _("You have %smail."), type);