From dcede7bfbcb1583795ac7d1059514c23298e3224 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 24 May 2020 21:54:06 +0200 Subject: [PATCH] #1798 French calendar --- html/js/lang/calendar-fr.js | 18 +++++++++--------- include/lib/ac_common.php | 14 ++++++++++++-- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/html/js/lang/calendar-fr.js b/html/js/lang/calendar-fr.js index 2a9e0b20b..1bfdc94a8 100644 --- a/html/js/lang/calendar-fr.js +++ b/html/js/lang/calendar-fr.js @@ -48,17 +48,17 @@ Calendar._SDN = new Array // full month names Calendar._MN = new Array ("Janvier", - "Février", + "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", - "Août", + "Août", "Septembre", "Octobre", "Novembre", - "Décembre"); + "Décembre"); // short month names Calendar._SMN = new Array @@ -83,7 +83,7 @@ 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é par GNU LGPL. Voir http://gnu.org/licenses/lgpl.html pour les details." + +"Distribué 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" + @@ -95,13 +95,13 @@ Calendar._TT["ABOUT_TIME"] = "\n\n" + "- ou Maj-clic pour decrementer\n" + "- ou clic et glisser-deplacer pour une selection plus rapide"; -Calendar._TT["PREV_YEAR"] = "Année préc. (maintenir pour menu)"; -Calendar._TT["PREV_MONTH"] = "Mois préc. (maintenir pour menu)"; +Calendar._TT["PREV_YEAR"] = "Année préc. (maintenir pour menu)"; +Calendar._TT["PREV_MONTH"] = "Mois préc. (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ée suiv. (maintenir pour menu)"; -Calendar._TT["SEL_DATE"] = "Sélectionner une date"; -Calendar._TT["DRAG_TO_MOVE"] = "Déplacer"; +Calendar._TT["NEXT_YEAR"] = "Année suiv. (maintenir pour menu)"; +Calendar._TT["SEL_DATE"] = "Sélectionner une date"; +Calendar._TT["DRAG_TO_MOVE"] = "Déplacer"; Calendar._TT["PART_TODAY"] = " (Aujourd'hui)"; // the following is to inform that "%s" is to be the first day of week diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php index df4ae72e8..39c65de90 100644 --- a/include/lib/ac_common.php +++ b/include/lib/ac_common.php @@ -342,7 +342,17 @@ function html_page_start($p_theme="", $p_script="", $p_script2="") $p_script2 . " "; echo ' - + '; + + if (isset($_SESSION['g_lang']) && $_SESSION['g_lang']=='fr_FR.utf8' ) + { + echo ''; + } + if (isset($_SESSION['g_lang']) && $_SESSION['g_lang']=='nl_NL.utf8' ) + { + echo ''; + } + echo ' '; @@ -1365,4 +1375,4 @@ function convert_to_rtf($p_string) } } return $result; -} \ No newline at end of file +}