From 91700d84a65c5d42d20127d5193629bef34ddaa7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 Aug 2013 03:56:59 +0200 Subject: [PATCH] Fix: lang file --- htdocs/core/modules/modCron.class.php | 4 ++-- htdocs/langs/en_US/cron.lang | 3 --- htdocs/langs/fr_FR/admin.lang | 4 ++-- htdocs/langs/fr_FR/cron.lang | 3 --- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/htdocs/core/modules/modCron.class.php b/htdocs/core/modules/modCron.class.php index f8e10c858a9..33260e9c496 100644 --- a/htdocs/core/modules/modCron.class.php +++ b/htdocs/core/modules/modCron.class.php @@ -40,7 +40,7 @@ class modCron extends DolibarrModules function __construct($db) { global $langs,$conf; - + $this->db = $db; $this->numero = 2300; @@ -71,7 +71,7 @@ class modCron extends DolibarrModules $this->depends = array(); // List of modules id that must be enabled if this module is enabled $this->requiredby = array(); // List of modules id to disable if this one is disabled $this->conflictwith = array(); // List of modules id this module is in conflict with - $this->langfiles = array("cron@cron"); + $this->langfiles = array("cron"); // Constantes //----------- diff --git a/htdocs/langs/en_US/cron.lang b/htdocs/langs/en_US/cron.lang index b24339f0b5f..070a7ef36b6 100644 --- a/htdocs/langs/en_US/cron.lang +++ b/htdocs/langs/en_US/cron.lang @@ -1,8 +1,5 @@ # Dolibarr language file - Source file is en_US - cron CHARSET=UTF-8 -Module2310Name=Cron -Module2310Desc=Scheduled task management - # # About page # diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index 28245235f01..bb1e4a7f69d 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -474,8 +474,8 @@ Module1780Name=Catégories Module1780Desc=Gestion des catégories (produits, fournisseurs, clients et adhérents) Module2000Name=Éditeur WYSIWYG Module2000Desc=Permet la saisie de certaines zones de textes grace à un éditeur avancé -Module2300Name=Cron -Module2300Desc=Gestionnaire de tâches programmées +Module2300Name=Travaux programmés +Module2300Desc=Gestionnaire de travaux programmés (Cron) Module2400Name=Agenda Module2400Desc=Gestion des actions (événements et tâches) et de l'agenda Module2500Name=Gestion électronique de documents diff --git a/htdocs/langs/fr_FR/cron.lang b/htdocs/langs/fr_FR/cron.lang index d24295049bb..1b09e670e5d 100644 --- a/htdocs/langs/fr_FR/cron.lang +++ b/htdocs/langs/fr_FR/cron.lang @@ -1,8 +1,5 @@ # Dolibarr language file - Source file is en_US - cron CHARSET=UTF-8 -Module2310Name=Cron -Module2310Desc=Gestion des travaux programmées - # # About page #