diff --git a/htdocs/core/modules/modAi.class.php b/htdocs/core/modules/modAi.class.php index e59b44d5de6..491c8506a83 100644 --- a/htdocs/core/modules/modAi.class.php +++ b/htdocs/core/modules/modAi.class.php @@ -198,7 +198,7 @@ class modAi extends DolibarrModules /* Example: $this->dictionaries=array( 'langs'=>'ai@ai', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname'=>array("table1", "table2", "table3"), // Label of tables 'tablib'=>array("Table1", "Table2", "Table3"), diff --git a/htdocs/core/modules/modBookCal.class.php b/htdocs/core/modules/modBookCal.class.php index 55837ef34ee..43210e6dfe9 100644 --- a/htdocs/core/modules/modBookCal.class.php +++ b/htdocs/core/modules/modBookCal.class.php @@ -195,7 +195,7 @@ class modBookCal extends DolibarrModules /* Example: $this->dictionaries=array( 'langs'=>'bookcal@bookcal', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname'=>array("table1", "table2", "table3"), // Label of tables 'tablib'=>array("Table1", "Table2", "Table3"), diff --git a/htdocs/core/modules/modIncoterm.class.php b/htdocs/core/modules/modIncoterm.class.php index 3584a9f9db1..fe0c2e3fecf 100644 --- a/htdocs/core/modules/modIncoterm.class.php +++ b/htdocs/core/modules/modIncoterm.class.php @@ -86,7 +86,7 @@ class modIncoterm extends DolibarrModules } $this->dictionaries = array( 'langs' => 'incoterm', - 'tabname' => array("c_incoterms"), // List of tables we want to see into dictonnary editor + 'tabname' => array("c_incoterms"), // List of tables we want to see into dictionary editor 'tablib' => array("Incoterms"), // Label of tables 'tabsql' => array('SELECT rowid, code, libelle, active FROM '.MAIN_DB_PREFIX.'c_incoterms'), // Request to select fields 'tabsqlsort' => array("rowid ASC"), // Sort order diff --git a/htdocs/core/modules/modPartnership.class.php b/htdocs/core/modules/modPartnership.class.php index fabe977c849..e9d1d465e60 100644 --- a/htdocs/core/modules/modPartnership.class.php +++ b/htdocs/core/modules/modPartnership.class.php @@ -214,7 +214,7 @@ class modPartnership extends DolibarrModules // Dictionaries $this->dictionaries = array( 'langs' => 'partnership', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname' => array("c_partnership_type"), // Label of tables 'tablib' => array("PartnershipType"), diff --git a/htdocs/core/modules/modStockTransfer.class.php b/htdocs/core/modules/modStockTransfer.class.php index bf41a6f036d..c797136b335 100644 --- a/htdocs/core/modules/modStockTransfer.class.php +++ b/htdocs/core/modules/modStockTransfer.class.php @@ -176,7 +176,7 @@ class modStockTransfer extends DolibarrModules /* Example: $this->dictionaries=array( 'langs'=>'stocktransfer@stocktransfer', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname'=>array(MAIN_DB_PREFIX."table1", MAIN_DB_PREFIX."table2", MAIN_DB_PREFIX."table3"), // Label of tables 'tablib'=>array("Table1", "Table2", "Table3"), diff --git a/htdocs/core/modules/modWebPortal.class.php b/htdocs/core/modules/modWebPortal.class.php index d0cdcf2e68b..7059e92fc0b 100644 --- a/htdocs/core/modules/modWebPortal.class.php +++ b/htdocs/core/modules/modWebPortal.class.php @@ -205,7 +205,7 @@ class modWebPortal extends DolibarrModules /* Example: $this->dictionaries=array( 'langs'=>'website', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname'=>array("table1", "table2", "table3"), // Label of tables 'tablib'=>array("Table1", "Table2", "Table3"), diff --git a/htdocs/core/modules/modWebhook.class.php b/htdocs/core/modules/modWebhook.class.php index 071b3cd6466..26ffcb1044b 100644 --- a/htdocs/core/modules/modWebhook.class.php +++ b/htdocs/core/modules/modWebhook.class.php @@ -2,6 +2,7 @@ /* Copyright (C) 2004-2022 Laurent Destailleur * Copyright (C) 2018-2019 Nicolas ZABOURI * Copyright (C) 2019-2020 Frédéric France + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -199,7 +200,7 @@ class modWebhook extends DolibarrModules /* Example: $this->dictionaries=array( 'langs'=>'', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname'=>array(MAIN_DB_PREFIX."table1", MAIN_DB_PREFIX."table2", MAIN_DB_PREFIX."table3"), // Label of tables 'tablib'=>array("Table1", "Table2", "Table3"), diff --git a/htdocs/expedition/dispatch.php b/htdocs/expedition/dispatch.php index f29fd4d2c86..a34c5dddc83 100644 --- a/htdocs/expedition/dispatch.php +++ b/htdocs/expedition/dispatch.php @@ -9,6 +9,7 @@ * Copyright (C) 2017-2022 Ferran Marcet * Copyright (C) 2018-2022 Frédéric France * Copyright (C) 2019-2020 Christophe Battarel + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -675,7 +676,7 @@ if ($object->id > 0 || !empty($object->ref)) { print "\n"; } - $nbfreeproduct = 0; // Nb of lins of free products/services + $nbfreeproduct = 0; // Nb of lines of free products/services $nbproduct = 0; // Nb of predefined product lines to dispatch (already done or not) if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is off (default) // or nb of line that remain to dispatch if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is on. diff --git a/htdocs/modulebuilder/template/core/modules/modMyModule.class.php b/htdocs/modulebuilder/template/core/modules/modMyModule.class.php index fa752615ad2..ab99b57ec2c 100644 --- a/htdocs/modulebuilder/template/core/modules/modMyModule.class.php +++ b/htdocs/modulebuilder/template/core/modules/modMyModule.class.php @@ -221,7 +221,7 @@ class modMyModule extends DolibarrModules /* Example: $this->dictionaries=array( 'langs' => 'mymodule@mymodule', - // List of tables we want to see into dictonnary editor + // List of tables we want to see into dictionary editor 'tabname' => array("table1", "table2", "table3"), // Label of tables 'tablib' => array("Table1", "Table2", "Table3"), diff --git a/htdocs/reception/dispatch.php b/htdocs/reception/dispatch.php index e3a0266cf2f..e53b525be55 100644 --- a/htdocs/reception/dispatch.php +++ b/htdocs/reception/dispatch.php @@ -586,7 +586,7 @@ if ($id > 0 || !empty($ref)) { print "\n"; } - $nbfreeproduct = 0; // Nb of lins of free products/services + $nbfreeproduct = 0; // Nb of lines of free products/services $nbproduct = 0; // Nb of predefined product lines to dispatch (already done or not) if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is off (default) // or nb of line that remain to dispatch if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is on.