Qual: Fix spelling (#31515)

# Qual: Fix spelling

Fix some typos in the comments (codespell).
This commit is contained in:
MDW
2024-10-23 20:23:07 +02:00
committed by GitHub
parent 80171b5fe5
commit cb9ad5c259
10 changed files with 12 additions and 10 deletions

View File

@@ -198,7 +198,7 @@ class modAi extends DolibarrModules
/* Example: /* Example:
$this->dictionaries=array( $this->dictionaries=array(
'langs'=>'ai@ai', '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"), 'tabname'=>array("table1", "table2", "table3"),
// Label of tables // Label of tables
'tablib'=>array("Table1", "Table2", "Table3"), 'tablib'=>array("Table1", "Table2", "Table3"),

View File

@@ -195,7 +195,7 @@ class modBookCal extends DolibarrModules
/* Example: /* Example:
$this->dictionaries=array( $this->dictionaries=array(
'langs'=>'bookcal@bookcal', '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"), 'tabname'=>array("table1", "table2", "table3"),
// Label of tables // Label of tables
'tablib'=>array("Table1", "Table2", "Table3"), 'tablib'=>array("Table1", "Table2", "Table3"),

View File

@@ -86,7 +86,7 @@ class modIncoterm extends DolibarrModules
} }
$this->dictionaries = array( $this->dictionaries = array(
'langs' => 'incoterm', '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 'tablib' => array("Incoterms"), // Label of tables
'tabsql' => array('SELECT rowid, code, libelle, active FROM '.MAIN_DB_PREFIX.'c_incoterms'), // Request to select fields 'tabsql' => array('SELECT rowid, code, libelle, active FROM '.MAIN_DB_PREFIX.'c_incoterms'), // Request to select fields
'tabsqlsort' => array("rowid ASC"), // Sort order 'tabsqlsort' => array("rowid ASC"), // Sort order

View File

@@ -214,7 +214,7 @@ class modPartnership extends DolibarrModules
// Dictionaries // Dictionaries
$this->dictionaries = array( $this->dictionaries = array(
'langs' => 'partnership', '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"), 'tabname' => array("c_partnership_type"),
// Label of tables // Label of tables
'tablib' => array("PartnershipType"), 'tablib' => array("PartnershipType"),

View File

@@ -176,7 +176,7 @@ class modStockTransfer extends DolibarrModules
/* Example: /* Example:
$this->dictionaries=array( $this->dictionaries=array(
'langs'=>'stocktransfer@stocktransfer', '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"), 'tabname'=>array(MAIN_DB_PREFIX."table1", MAIN_DB_PREFIX."table2", MAIN_DB_PREFIX."table3"),
// Label of tables // Label of tables
'tablib'=>array("Table1", "Table2", "Table3"), 'tablib'=>array("Table1", "Table2", "Table3"),

View File

@@ -205,7 +205,7 @@ class modWebPortal extends DolibarrModules
/* Example: /* Example:
$this->dictionaries=array( $this->dictionaries=array(
'langs'=>'website', '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"), 'tabname'=>array("table1", "table2", "table3"),
// Label of tables // Label of tables
'tablib'=>array("Table1", "Table2", "Table3"), 'tablib'=>array("Table1", "Table2", "Table3"),

View File

@@ -2,6 +2,7 @@
/* Copyright (C) 2004-2022 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2004-2022 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2018-2019 Nicolas ZABOURI <info@inovea-conseil.com> * Copyright (C) 2018-2019 Nicolas ZABOURI <info@inovea-conseil.com>
* Copyright (C) 2019-2020 Frédéric France <frederic.france@netlogic.fr> * Copyright (C) 2019-2020 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -199,7 +200,7 @@ class modWebhook extends DolibarrModules
/* Example: /* Example:
$this->dictionaries=array( $this->dictionaries=array(
'langs'=>'', '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"), 'tabname'=>array(MAIN_DB_PREFIX."table1", MAIN_DB_PREFIX."table2", MAIN_DB_PREFIX."table3"),
// Label of tables // Label of tables
'tablib'=>array("Table1", "Table2", "Table3"), 'tablib'=>array("Table1", "Table2", "Table3"),

View File

@@ -9,6 +9,7 @@
* Copyright (C) 2017-2022 Ferran Marcet <fmarcet@2byte.es> * Copyright (C) 2017-2022 Ferran Marcet <fmarcet@2byte.es>
* Copyright (C) 2018-2022 Frédéric France <frederic.france@netlogic.fr> * Copyright (C) 2018-2022 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2019-2020 Christophe Battarel <christophe@altairis.fr> * Copyright (C) 2019-2020 Christophe Battarel <christophe@altairis.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* *
* This program is free software; you can redistribute it and/or modify * 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 * 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 "</tr>\n"; print "</tr>\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) $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. // or nb of line that remain to dispatch if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is on.

View File

@@ -221,7 +221,7 @@ class modMyModule extends DolibarrModules
/* Example: /* Example:
$this->dictionaries=array( $this->dictionaries=array(
'langs' => 'mymodule@mymodule', '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"), 'tabname' => array("table1", "table2", "table3"),
// Label of tables // Label of tables
'tablib' => array("Table1", "Table2", "Table3"), 'tablib' => array("Table1", "Table2", "Table3"),

View File

@@ -586,7 +586,7 @@ if ($id > 0 || !empty($ref)) {
print "</tr>\n"; print "</tr>\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) $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. // or nb of line that remain to dispatch if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is on.