Function: gnus-diary-delay-format-french
gnus-diary-delay-format-french is a byte-compiled function defined in
gnus-diary.el.gz.
Signature
(gnus-diary-delay-format-french PAST DELAY)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-diary.el.gz
;; Summary line format ======================================================
(defun gnus-diary-delay-format-french (past delay)
(if (null delay)
"maintenant!"
;; Keep only a precision of two degrees
(and (> (length delay) 1) (setcdr (cdr delay) nil))
(concat (if past "il y a " "dans ")
(let ((str "")
del)
(while (setq del (pop delay))
(setq str (concat str
(int-to-string (car del)) " "
(cond ((eq (cdr del) 'year)
"an")
((eq (cdr del) 'month)
"mois")
((eq (cdr del) 'week)
"semaine")
((eq (cdr del) 'day)
"jour")
((eq (cdr del) 'hour)
"heure")
((eq (cdr del) 'minute)
"minute"))
(unless (or (eq (cdr del) 'month)
(= (car del) 1))
"s")
(if delay ", "))))
str))))