diff --git a/htdocs/includes/modules/modBarcode.class.php b/htdocs/includes/modules/modBarcode.class.php index f7e106fad83..a48f2008d47 100644 --- a/htdocs/includes/modules/modBarcode.class.php +++ b/htdocs/includes/modules/modBarcode.class.php @@ -23,7 +23,7 @@ /** \defgroup barcode Module code barre - \brief Module pour gérer les codes barres des produits + \brief Module pour gérer les codes barres */ /** @@ -52,16 +52,12 @@ class modBarcode extends DolibarrModules $this->id = 'barcode'; // Same value xxx than in file modXxx.class.php file $this->numero = 55 ; - $this->family = "products"; + $this->family = "other"; $this->name = "Codes barres"; - $this->description = "Gestion des codes barres des produits"; - - //$this->revision = explode(' ','$Revision$'); - //$this->version = $this->revision[1]; + $this->description = "Gestion des codes barres"; $this->version = 'development'; // 'development' or 'experimental' or 'dolibarr' or version - $this->const_name = 'MAIN_MODULE_BARCODE'; - $this->special = 0; + $this->special = 2; $this->picto='barcode'; // Dir @@ -69,24 +65,16 @@ class modBarcode extends DolibarrModules // Dépendances $this->depends = array("modProduit"); - $this->requiredby = array(); + $this->requiredby = array(); // Config pages $this->config_page_url = array("barcode.php"); // Constantes $this->const = array(); - - $this->const[0][0] = "BARCODE_ENCODE_TYPE"; - $this->const[0][1] = "chaine"; - $this->const[0][2] = "EAN13"; // Boxes $this->boxes = array(); - // $this->boxes[0][0] = "Derniers produits/services enregistrés"; - // $this->boxes[0][1] = "box_produits.php"; - // $this->boxes[1][0] = "Derniers produits/services vendus"; - // $this->boxes[1][1] = "box_services_vendus.php"; // Permissions $this->rights = array(); diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index acbf6a6ebda..0362bd535b3 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -175,7 +175,7 @@ Module53Desc=Services' management Module54Name=Contracts Module54Desc=Contracts' management Module55Name=Barcodes -Module55Desc=Products' barcode management +Module55Desc=Barcodes' management Module56Name=Telephony Module56Desc=Telephony integration Module57Name=Standing orders diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index a2d8fe8b613..f02f23ec40a 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -175,7 +175,7 @@ Module53Desc=Gestion des services Module54Name=Contrats Module54Desc=Gestion des contrats Module55Name=Codes barres -Module55Desc=Gestion du code barre des produits +Module55Desc=Gestion des codes barres Module56Name=Téléphonie Module56Desc=Gestion de la téléphonie Module57Name=Prélèvements