diff --git a/htdocs/compta/accounting-files.php b/htdocs/compta/accounting-files.php
index edfe20bce00..c26a10cec34 100644
--- a/htdocs/compta/accounting-files.php
+++ b/htdocs/compta/accounting-files.php
@@ -727,7 +727,7 @@ if (!empty($date_start) && !empty($date_stop)) {
print '
';
- print '
| '.$langs->trans("Month").' | '; @@ -334,7 +334,7 @@ if ($result < 0) { dol_print_error($db); } } - // Chargement de labels et data_xxx pour tableau 4 Mouvements + // Chargement de labels et data_xxx pour tableau 4 Movements $labels = array(); $data_year_0 = array(); $data_year_1 = array(); @@ -416,7 +416,7 @@ if ($result < 0) { dol_print_error($db); } } - // Chargement de labels et data_xxx pour tableau 4 Mouvements + // Chargement de labels et data_xxx pour tableau 4 Movements $labels = array(); $data_year_0 = array(); $data_year_1 = array(); diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php index 038663e4dc5..5689bde28ff 100644 --- a/htdocs/compta/bank/bankentries_list.php +++ b/htdocs/compta/bank/bankentries_list.php @@ -250,7 +250,7 @@ if ((GETPOST('confirm_savestatement', 'alpha') || GETPOST('confirm_reconcile', ' && (!GETPOSTISSET('pageplusone') || (GETPOST('pageplusone') == GETPOST('pageplusoneold')))) { $error = 0; - // Definition, nettoyage parametres + // Definition, nettoyage parameters $num_releve = GETPOST("num_releve", "alpha"); if ($num_releve) { @@ -722,7 +722,7 @@ if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { } if (($id > 0 || !empty($ref)) && ((string) $page == '')) { - // We open a list of transaction of a dedicated account and no page was set by defaut + // We open a list of transaction of a dedicated account and no page was set by default // We force on last page. $page = ($nbtotalofpages - 1); $offset = $limit * $page; diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 2ef03285cd4..6c575936eb4 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -808,7 +808,7 @@ if ($action == 'create') { } print '
| '.$langs->trans("Ref").' | '.$langs->trans("Label").' | '; diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index c7be1b6b8c7..7609c4018df 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -266,7 +266,7 @@ class Account extends CommonObject public $balance; /** - * Creditor Identifier CI. Some banks use different ICS for direct debit and bank tranfer + * Creditor Identifier CI. Some banks use different ICS for direct debit and bank transfer * @var string */ public $ics; @@ -289,7 +289,7 @@ class Account extends CommonObject * 'noteditable' says if field is not editable (1 or 0) * 'default' is a default value for creation (can still be overwrote by the Setup of Default Values if field is editable in creation form). Note: If default is set to '(PROV)' and field is 'ref', the default value will be set to '(PROVid)' where id is rowid when a new record is created. * 'index' if we want an index in database. - * 'foreignkey'=>'tablename.field' if the field is a foreign key (it is recommanded to name the field fk_...). + * 'foreignkey'=>'tablename.field' if the field is a foreign key (it is recommended to name the field fk_...). * 'searchall' is 1 if we want to search in this field when making a search from the quick search button. * 'isameasure' must be set to 1 if you want to have a total on list for this field. Field type must be summable like integer or double(24,8). * 'css' is the CSS style to use on field. For example: 'maxwidth200' @@ -466,7 +466,7 @@ class Account extends CommonObject $sql .= ") VALUES ("; $sql .= " ".((int) $line_id); $sql .= ", ".((int) $url_id); - $sql .= ", '".$this->db->escape($url)."'"; // dperecated + $sql .= ", '".$this->db->escape($url)."'"; // deprecated $sql .= ", '".$this->db->escape($label)."'"; $sql .= ", '".$this->db->escape($type)."'"; $sql .= ")"; @@ -543,10 +543,10 @@ class Account extends CommonObject * * @param int $date Date operation * @param string $oper 'VIR','PRE','LIQ','VAD','CB','CHQ'... - * @param string $label Descripton + * @param string $label Description * @param float $amount Amount * @param string $num_chq Numero cheque or transfer - * @param int $categorie Category id (optionnal) + * @param int $categorie Category id (optional) * @param User $user User that create * @param string $emetteur Name of cheque writer * @param string $banque Bank of cheque writer @@ -700,7 +700,7 @@ class Account extends CommonObject return -1; } - // Load librairies to check BAN + // Load libraries to check BAN $balance = $this->balance; if (empty($balance) && !empty($this->solde)) { $balance = $this->solde; @@ -1218,9 +1218,9 @@ class Account extends CommonObject // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Renvoi si un compte peut etre supprimer ou non (sans mouvements) + * Indicates if an account can be deleted or not (without movements) * - * @return boolean vrai si peut etre supprime, faux sinon + * @return boolean True is the deletion is ok, false if not */ public function can_be_deleted() { @@ -1292,7 +1292,7 @@ class Account extends CommonObject /** * Load indicators for dashboard (this->nbtodo and this->nbtodolate) * - * @param User $user Objet user + * @param User $user Object user * @param int $filteraccountid To get info for a particular account id * @return WorkboardResponse|int Return integer <0 if KO, WorkboardResponse if OK */ @@ -1348,7 +1348,7 @@ class Account extends CommonObject // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Charge indicateurs this->nb de tableau de bord + * Load the indicators this->nb for the state board * * @param int $filteraccountid To get info for a particular account id * @return int Return integer <0 if KO, >0 if OK @@ -2339,7 +2339,7 @@ class AccountLine extends CommonObjectLine /** * Update conciliation field * - * @param User $user Objet user making update + * @param User $user Object user making update * @param int $cat Category id * @param int $conciliated 1=Set transaction to conciliated, 0=Keep transaction non conciliated * @return int Return integer <0 if KO, >0 if OK diff --git a/htdocs/compta/bank/class/api_bankaccounts.class.php b/htdocs/compta/bank/class/api_bankaccounts.class.php index 4be3f7dee2d..570eae80e46 100644 --- a/htdocs/compta/bank/class/api_bankaccounts.class.php +++ b/htdocs/compta/bank/class/api_bankaccounts.class.php @@ -58,7 +58,7 @@ class BankAccounts extends DolibarrApi * @param int $page Page number * @param int $category Use this param to filter list by category * @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.import_key:<:'20160101')" - * @param string $properties Restrict the data returned to theses properties. Ignored if empty. Comma separated list of properties names + * @param string $properties Restrict the data returned to these properties. Ignored if empty. Comma separated list of properties names * @return array List of account objects * * @throws RestException @@ -159,7 +159,7 @@ class BankAccounts extends DolibarrApi $account = new Account($this->db); foreach ($request_data as $field => $value) { if ($field === 'caller') { - // Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller + // Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller $account->context['caller'] = $request_data['caller']; continue; } @@ -245,7 +245,7 @@ class BankAccounts extends DolibarrApi $result = 0; $user = DolibarrApiAccess::$user; - // By default, electronic transfert from bank to bank + // By default, electronic transfer from bank to bank $typefrom = 'PRE'; $typeto = 'VIR'; @@ -340,7 +340,7 @@ class BankAccounts extends DolibarrApi continue; } if ($field === 'caller') { - // Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller + // Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller $account->context['caller'] = $request_data['caller']; continue; } diff --git a/htdocs/compta/bank/class/paymentvarious.class.php b/htdocs/compta/bank/class/paymentvarious.class.php index 6332f517b8d..51e955007eb 100644 --- a/htdocs/compta/bank/class/paymentvarious.class.php +++ b/htdocs/compta/bank/class/paymentvarious.class.php @@ -153,7 +153,7 @@ class PaymentVarious extends CommonObject * 'noteditable' says if field is not editable (1 or 0) * 'default' is a default value for creation (can still be overwrote by the Setup of Default Values if field is editable in creation form). Note: If default is set to '(PROV)' and field is 'ref', the default value will be set to '(PROVid)' where id is rowid when a new record is created. * 'index' if we want an index in database. - * 'foreignkey'=>'tablename.field' if the field is a foreign key (it is recommanded to name the field fk_...). + * 'foreignkey'=>'tablename.field' if the field is a foreign key (it is recommended to name the field fk_...). * 'searchall' is 1 if we want to search in this field when making a search from the quick search button. * 'isameasure' must be set to 1 if you want to have a total on list for this field. Field type must be summable like integer or double(24,8). * 'css' is the CSS style to use on field. For example: 'maxwidth200' diff --git a/htdocs/compta/bank/graph.php b/htdocs/compta/bank/graph.php index c7be41eed61..3430799ddc6 100644 --- a/htdocs/compta/bank/graph.php +++ b/htdocs/compta/bank/graph.php @@ -600,7 +600,7 @@ if ($result < 0) { } - // Chargement de labels et data_xxx pour tableau 4 Mouvements + // Chargement de labels et data_xxx pour tableau 4 Movements $labels = array(); $data_credit = array(); $data_debit = array(); @@ -701,7 +701,7 @@ if ($result < 0) { } - // Chargement de labels et data_xxx pour tableau 4 Mouvements + // Chargement de labels et data_xxx pour tableau 4 Movements $labels = array(); $data_credit = array(); $data_debit = array(); diff --git a/htdocs/compta/bank/line.php b/htdocs/compta/bank/line.php index 449866b5e74..4373e83baf8 100644 --- a/htdocs/compta/bank/line.php +++ b/htdocs/compta/bank/line.php @@ -261,12 +261,12 @@ if ($user->hasRight('banque', 'consolidate') && ($action == 'num_releve' || $act $updatePathFile = true; $update_dir = true; - dol_syslog("line.php update bank line to set the new bank receipt nuber", LOG_DEBUG); + dol_syslog("line.php update bank line to set the new bank receipt number", LOG_DEBUG); $result = $db->query($sql); // We must not rename the directory of the bank receipt when we change 1 line of bank receipt. Other lines may share the same old ref. - // Renaming can be done when we rename globaly a bank receipt but not when changing 1 line from one receipt into another one. + // Renaming can be done when we rename globally a bank receipt but not when changing 1 line from one receipt into another one. /* if ($result) { if ($oldNum_rel) { @@ -469,7 +469,7 @@ if ($result) { print img_object($langs->trans('Donation'), 'payment').' '; print $langs->trans("DonationPayment"); print ''; - } elseif ($links[$key]['type'] == 'banktransfert') { // transfert between 1 local account and another local account + } elseif ($links[$key]['type'] == 'banktransfert') { // transfer between 1 local account and another local account print ''; print img_object($langs->trans('Transaction'), 'payment').' '; print $langs->trans("TransactionOnTheOtherAccount"); diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php index 84a3fd48b95..cc4c0216a1b 100644 --- a/htdocs/compta/bank/list.php +++ b/htdocs/compta/bank/list.php @@ -426,7 +426,7 @@ $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; $selectedfields = ($mode != 'kanban' ? $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')) : ''); // This also change content of $arrayfields $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); -print '