View Issue Details

IDProjectCategoryView StatusLast Update
0001798NOALYSSGeneralpublic2020-07-11 19:12
ReporterCochonaBec Assigned Todanydb  
PrioritynormaleSeveritycosmétiqueReproducibilitytoujours
Status ferméResolutioncorrigé 
Product Version7.2 
Fixed in Version7.4 
Summary0001798: Calendrier en français
DescriptionPour les utilisateurs francophone.
Le calendrier dans les recherches ou ajout d'évènements est toujours en langue anglaise même avec Noalyss ou navigateur paramétrés pour langue française
Additional InformationIl faut changer dans noalyss/include/lib/ac_common.php à la ligne 344

 echo '<script language="javascript" src="js/calendar.js"></script>
    <script type="text/javascript" src="js/lang/calendar-en.js"></script>
    <script language="javascript" src="js/calendar-setup.js"></script>
    <LINK REL="stylesheet" type="text/css" href="calendar-blue.css" media="screen">
    ';

par

 echo '<script language="javascript" src="js/calendar.js"></script>
    <script type="text/javascript" src="js/lang/calendar-en.js"></script>
    <script type="text/javascript" src="js/lang/calendar-fr.js"></script>
    <script language="javascript" src="js/calendar-setup.js"></script>
    <LINK REL="stylesheet" type="text/css" href="calendar-blue.css" media="screen">
    ';
Tagsréécriture de code
Attached Files
Capture d’écran.png (20,978 bytes)   
Capture d’écran.png (20,978 bytes)   
Capture d’écran-2.png (20,731 bytes)   
Capture d’écran-2.png (20,731 bytes)   
Extension NoalyssAucun

Activities

CochonaBec

2020-05-23 20:59

reporter   ~0004379

Bug version 7.3 également

CochonaBec

2020-05-24 20:10

reporter   ~0004381

A joindre le fichier calendar-fr.js.
Les accents ont-été traduits en unicode pour une meilleure intégration.
Sans unicode les accents sont remplacés par des points d'interrogation.
calendar-fr.js (3,793 bytes)   
// ** I18N

// Calendar EN language
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
// Encoding: any
// Distributed under the same terms as the calendar itself.

// For translators: please use UTF-8 if possible.  We strongly believe that
// Unicode is the answer to a real internationalized world.  Also please
// include your contact information in the header, as can be seen above.

// Translator: David Duret, <pilgrim@mala-template.net> from previous french version

// full day names
Calendar._DN = new Array
("Dimanche",
 "Lundi",
 "Mardi",
 "Mercredi",
 "Jeudi",
 "Vendredi",
 "Samedi",
 "Dimanche");

// Please note that the following array of short day names (and the same goes
// for short month names, _SMN) isn't absolutely necessary.  We give it here
// for exemplification on how one can customize the short day names, but if
// they are simply the first N letters of the full name you can simply say:
//
//   Calendar._SDN_len = N; // short day name length
//   Calendar._SMN_len = N; // short month name length
//
// If N = 3 then this is not needed either since we assume a value of 3 if not
// present, to be compatible with translation files that were written before
// this feature.

// short day names
Calendar._SDN = new Array
("Dim",
 "Lun",
 "Mar",
 "Mer",
 "Jeu",
 "Ven",
 "Sam",
 "Dim");

// full month names
Calendar._MN = new Array
("Janvier",
 "F\u00e9vrier",
 "Mars",
 "Avril",
 "Mai",
 "Juin",
 "Juillet",
 "Ao\u00fbt",
 "Septembre",
 "Octobre",
 "Novembre",
 "D\u00e9cembre");

// short month names
Calendar._SMN = new Array
("Jan",
 "Fev",
 "Mar",
 "Avr",
 "Mai",
 "Juin",
 "Juil",
 "Aout",
 "Sep",
 "Oct",
 "Nov",
 "Dec");

// tooltips
Calendar._TT = {};
Calendar._TT["INFO"] = "A propos du calendrier";

Calendar._TT["ABOUT"] =
"DHTML Date/Heure Selecteur\n" +
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
"Pour la derniere version visitez : http://www.dynarch.com/projects/calendar/\n" +
"Distribu\u00e9 par GNU LGPL.  Voir http://gnu.org/licenses/lgpl.html pour les details." +
"\n\n" +
"Selection de la date :\n" +
"- Utiliser les bouttons \xab, \xbb  pour selectionner l\'annee\n" +
"- Utiliser les bouttons " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " pour selectionner les mois\n" +
"- Garder la souris sur n'importe quels boutons pour une selection plus rapide";
Calendar._TT["ABOUT_TIME"] = "\n\n" +
"Selection de l\'heure :\n" +
"- Cliquer sur heures ou minutes pour incrementer\n" +
"- ou Maj-clic pour decrementer\n" +
"- ou clic et glisser-deplacer pour une selection plus rapide";

Calendar._TT["PREV_YEAR"] = "Ann\u00e9e pr\u00e9c. (maintenir pour menu)";
Calendar._TT["PREV_MONTH"] = "Mois pr\u00e9c. (maintenir pour menu)";
Calendar._TT["GO_TODAY"] = "Atteindre la date du jour";
Calendar._TT["NEXT_MONTH"] = "Mois suiv. (maintenir pour menu)";
Calendar._TT["NEXT_YEAR"] = "Ann\u00e9e suiv. (maintenir pour menu)";
Calendar._TT["SEL_DATE"] = "S\u00e9lectionner une date";
Calendar._TT["DRAG_TO_MOVE"] = "D\u00e9placer";
Calendar._TT["PART_TODAY"] = " (Aujourd'hui)";

// the following is to inform that "%s" is to be the first day of week
// %s will be replaced with the day name.
Calendar._TT["DAY_FIRST"] = "Afficher %s en premier";

// This may be locale-dependent.  It specifies the week-end days, as an array
// of comma-separated numbers.  The numbers are from 0 to 6: 0 means Sunday, 1
// means Monday, etc.
Calendar._TT["WEEKEND"] = "0,6";

Calendar._TT["CLOSE"] = "Fermer";
Calendar._TT["TODAY"] = "Aujourd'hui";
Calendar._TT["TIME_PART"] = "(Maj-)Clic ou glisser pour modifier la valeur";

// date formats
Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y";
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";

Calendar._TT["WK"] = "Sem.";
Calendar._TT["TIME"] = "Heure :";
calendar-fr.js (3,793 bytes)   

Issue History

Date Modified Username Field Change
2020-05-23 20:43 CochonaBec New Issue
2020-05-23 20:43 CochonaBec Tag Attached: réécriture de code
2020-05-23 20:43 CochonaBec File Added: Capture d’écran.png
2020-05-23 20:43 CochonaBec File Added: Capture d’écran-2.png
2020-05-23 20:59 CochonaBec Note Added: 0004379
2020-05-24 20:10 CochonaBec File Added: calendar-fr.js
2020-05-24 20:10 CochonaBec Note Added: 0004381
2020-06-02 15:04 danydb Status new => resolved
2020-06-02 15:04 danydb Fixed in Version => Next Release
2020-06-02 15:04 danydb Resolution open => fixed
2020-06-02 15:04 danydb Assigned To => danydb
2020-07-11 19:12 danydb Fixed in Version Next Release => 7.4
2020-07-11 19:12 danydb Status resolved => closed