changeset 28781:dc2a0cf401ab

(french-calendar-multibyte-special-days-array) (french-calendar-special-days-array): Change French text. (calendar-french-date-string): Change output. (calendar-goto-french-date): Likewise.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 02 May 2000 13:43:45 +0000
parents 6bc5854eef8b
children ce352ebe4a71
files lisp/calendar/cal-french.el
diffstat 1 files changed, 7 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-french.el	Tue May 02 13:42:46 2000 +0000
+++ b/lisp/calendar/cal-french.el	Tue May 02 13:43:45 2000 +0000
@@ -69,11 +69,11 @@
    "Octidi" "Nonidi" "Decadi"])
 
 (defconst french-calendar-multibyte-special-days-array
-  ["de la Vertu" "du Génie" "du Labour" "de la Raison" "de la Récompense"
+  ["de la Vertu" "du Génie" "du Travail" "de la Raison" "des Récompenses"
    "de la Révolution"])
 
 (defconst french-calendar-special-days-array
-  ["de la Vertu" "du Ge'nie" "du Labour" "de la Raison" "de la Re'compense"
+  ["de la Vertu" "du Ge'nie" "du Travail" "de la Raison" "des Re'compenses"
    "de la Re'volution"])
 
 (defun french-calendar-month-name-array ()
@@ -180,10 +180,9 @@
                        y))
      (t (format
          (if (french-calendar-accents)
-             "Décade %s, %s de %s de l'Année %d de la Révolution"
-           "De'cade %s, %s de %s de l'Anne'e %d de la Re'volution")
-         (make-string (1+ (/ (1- d) 10)) ?I)
-         (aref (french-calendar-day-name-array) (% (1- d) 10))
+             "%d %s an %d de la Révolution"
+           "%d %s an %d de la Re'volution")
+         d
          (aref (french-calendar-month-name-array) (1- m))
          y)))))
 
@@ -235,20 +234,12 @@
                           month-list
                           nil t)
 			 (calendar-make-alist month-list 1 'car))))
-	    (decade (if (> month 12)
-			1
-		      (calendar-read
-		       (if accents
-			   "Décade (1-3): "
-			 "De'cade (1-3): ")
-		       '(lambda (x) (memq x '(1 2 3))))))
 	    (day (if (> month 12)
 		     (- month 12)
 		   (calendar-read
 		    "Jour (1-10): "
-		    '(lambda (x) (and (<= 1 x) (<= x 10))))))
-	    (month (if (> month 12) 13 month))
-	    (day (+ day (* 10 (1- decade)))))
+		    '(lambda (x) (and (<= 1 x) (<= x 30))))))
+	    (month (if (> month 12) 13 month)))
        (list (list month day year)))))
   (calendar-goto-date (calendar-gregorian-from-absolute
                        (calendar-absolute-from-french date)))