Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 14:09:45 GMT
From:      Mathieu <freebsd@breatheless.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/148792: Case of French days in timedef files
Message-ID:  <201007201409.o6KE9j8u076257@www.freebsd.org>
Resent-Message-ID: <201007201410.o6KEA5ld035182@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148792
>Category:       misc
>Synopsis:       Case of French days in timedef files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 20 14:10:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD analord.breatheless.net 8.0-STABLE FreeBSD 8.0-STABLE #1: Tue Dec  1 17:14:23 CET 2009     root@analord.breatheless.net:/usr/obj/usr/src/sys/ANALORD i386

>Description:
FreeBSD uses capitalized words for day names, whereas « L'académie Française » (and French grammar rules) says they do not take a capital.

c.f. http://www.academie-francaise.fr/langue/questions.html#jourdelasemaine (FR)

The patch attached corrects this problem.
>How-To-Repeat:
% LANG=fr_FR.ISO8859-1 date
Mar 20 jul 2010 16:01:26 CEST
% LANG=fr_FR.UTF-8 date    
Mar 20 jul 2010 16:01:32 CEST

with a vanilla FreeBSD installation.
>Fix:
Using the patch attached:

cd /usr/src ; patch -p0 < /path/to/the/patch/fr_FR.patch
cd share/timedef ; make ; make install

 

Patch attached with submission follows:

--- share/timedef/fr_FR.UTF-8.src.old	2010-07-20 15:28:41.000000000 +0200
+++ share/timedef/fr_FR.UTF-8.src	2010-07-20 15:29:52.000000000 +0200
@@ -35,23 +35,23 @@
 #
 # Short weekday names
 #
-Dim
-Lun
-Mar
-Mer
-Jeu
-Ven
-Sam
+dim
+lun
+mar
+mer
+jeu
+ven
+sam
 #
 # Long weekday names
 #
-Dimanche
-Lundi
-Mardi
-Mercredi
-Jeudi
-Vendredi
-Samedi
+dimanche
+lundi
+mardi
+mercredi
+jeudi
+vendredi
+samedi
 #
 # X_fmt
 #
--- share/timedef/fr_FR.ISO8859-1.src.old	2010-07-20 15:28:29.000000000 +0200
+++ share/timedef/fr_FR.ISO8859-1.src	2010-07-20 15:29:21.000000000 +0200
@@ -35,23 +35,23 @@
 #
 # Short weekday names
 #
-Dim
-Lun
-Mar
-Mer
-Jeu
-Ven
-Sam
+dim
+lun
+mar
+mer
+jeu
+ven
+sam
 #
 # Long weekday names
 #
-Dimanche
-Lundi
-Mardi
-Mercredi
-Jeudi
-Vendredi
-Samedi
+dimanche
+lundi
+mardi
+mercredi
+jeudi
+vendredi
+samedi
 #
 # X_fmt
 #


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007201409.o6KE9j8u076257>