From 53c82522aa0848bc9280bc65aee65b92bf5942ab Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 1 Nov 2020 07:56:04 +0100 Subject: [PATCH] Localisation FR --- CHANGES.md | 1 + core/core.php | 2 +- core/layout/blank.php | 6 +++--- core/layout/light.php | 2 +- core/layout/main.php | 2 +- index.php | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 877ee977..b12c1a6d 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,7 @@ - Thème du menu : alignement inopérant. - Amélioration : - Mise en page du corps des mails de notification. + - Paramètres de localisation. - Mise à jour : - TinyMCE 4.9.11 diff --git a/core/core.php b/core/core.php index b8666d10..b9b031ea 100644 --- a/core/core.php +++ b/core/core.php @@ -39,7 +39,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.3.03'; + const ZWII_VERSION = '10.3.04'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/layout/blank.php b/core/layout/blank.php index 3627afda..5e1266fa 100644 --- a/core/layout/blank.php +++ b/core/layout/blank.php @@ -2,12 +2,12 @@ - + showMetaTitle(); ?> showMetaDescription(); ?> - showMetaType(); ?> - showMetaImage(); ?> + showMetaType(); ?> + showMetaImage(); ?> showFavicon(); ?> showVendor(); ?> showStyle(); ?> diff --git a/core/layout/light.php b/core/layout/light.php index f45709f0..c3e3d6db 100644 --- a/core/layout/light.php +++ b/core/layout/light.php @@ -2,7 +2,7 @@ - + showMetaTitle(); ?> showMetaDescription(); ?> diff --git a/core/layout/main.php b/core/layout/main.php index 2e832ae5..4590235f 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -2,7 +2,7 @@ - + showMetaTitle(); ?> showMetaDescription(); ?> diff --git a/index.php b/index.php index 868c6738..89037a8e 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) { *Localisation */ date_default_timezone_set('Europe/Paris'); -setlocale (LC_ALL, 'fr_FR.utf8','fra'); +setlocale (LC_ALL, 'fr_FR.utf8','fr_Fr'); /** * Initialisation de Zwii