diff --git a/htdocs/accountancy/admin/accountmodel.php b/htdocs/accountancy/admin/accountmodel.php index 3419eb1a020..f2087facb48 100644 --- a/htdocs/accountancy/admin/accountmodel.php +++ b/htdocs/accountancy/admin/accountmodel.php @@ -11,7 +11,7 @@ * Copyright (C) 2011-2024 Alexandre Spangaro * Copyright (C) 2015 Ferran Marcet * Copyright (C) 2016 Raphaël Doursenaud - * Copyright (C) 2024 MDW + * Copyright (C) 2024-2026 MDW * Copyright (C) 2024-2025 Frédéric France * * This program is free software; you can redistribute it and/or modify @@ -196,7 +196,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->transnoentities("Country")), null, 'errors'); } - // Si verif ok et action add, on ajoute la ligne + // In case of 'actionadd' and with valid parameters, add the line if ($ok && GETPOST('actionadd', 'alpha')) { $newid = 0; @@ -241,7 +241,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { } } - // Si verif ok et action modify, on modifie la ligne + // In case of 'actionmodify' and with valid parameters, modify the line if ($ok && GETPOST('actionmodify', 'alpha')) { // Modify entry $sql = "UPDATE ".$db->sanitize($tabname[$id])." SET "; diff --git a/htdocs/accountancy/admin/categories_list.php b/htdocs/accountancy/admin/categories_list.php index 2e4350ad643..439f9a9c8ab 100644 --- a/htdocs/accountancy/admin/categories_list.php +++ b/htdocs/accountancy/admin/categories_list.php @@ -2,7 +2,7 @@ /* Copyright (C) 2004-2023 Laurent Destailleur * Copyright (C) 2011-2025 Alexandre Spangaro * Copyright (C) 2024-2025 Frédéric France - * Copyright (C) 2024-2025 MDW + * Copyright (C) 2024-2026 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 @@ -209,7 +209,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { setEventMessages($langs->transnoentities('ErrorFieldMustBeANumeric', $langs->transnoentities("Position")), null, 'errors'); } - // Si verif ok et action add, on ajoute la ligne + // In case of 'actionadd' and with valid parameters, add the line if ($ok && GETPOST('actionadd', 'alpha')) { $newid = 0; @@ -280,7 +280,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { // Modify entry $sql = "UPDATE ".$db->sanitize($tabname[$id])." SET "; - // Modifie valeur des champs + // Modify field values if ($tabrowid[$id] && !in_array($tabrowid[$id], $listfieldmodify)) { $sql .= $db->sanitize($tabrowid[$id])." = "; $sql .= "'".$db->escape($rowid)."', "; diff --git a/htdocs/accountancy/admin/journals_list.php b/htdocs/accountancy/admin/journals_list.php index b94e7a770dc..399602cd90a 100644 --- a/htdocs/accountancy/admin/journals_list.php +++ b/htdocs/accountancy/admin/journals_list.php @@ -1,6 +1,6 @@ - * Copyright (C) 2024 MDW + * Copyright (C) 2024-2026 MDW * Copyright (C) 2024-2025 Frédéric France * * This program is free software; you can redistribute it and/or modify @@ -194,7 +194,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { $ok = 0; } - // Si verif ok et action add, on ajoute la ligne + // In case of 'actionadd' and with valid parameters, add the line if ($ok && GETPOST('actionadd', 'alpha')) { $newid = 0; // Initialise before if for static analysis if ($tabrowid[$id]) { @@ -251,7 +251,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { } } - // Si verif ok et action modify, on modifie la ligne + // If check ok and action modify, we modify the line if ($ok && GETPOST('actionmodify', 'alpha')) { if ($tabrowid[$id]) { $rowidcol = $tabrowid[$id]; @@ -261,7 +261,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { // Modify entry $sql = "UPDATE ".$db->sanitize($tabname[$id])." SET "; - // Modifie valeur des champs + // Modify the field values if ($tabrowid[$id] && !in_array($tabrowid[$id], $listfieldmodify)) { $sql .= $db->sanitize($tabrowid[$id])." = "; $sql .= "'".$db->escape($rowid)."', "; @@ -373,7 +373,7 @@ $titlepicto = 'title_accountancy'; print load_fiche_titre($titre, $linkback, $titlepicto); -// Confirmation de la suppression de la ligne +// Generate a form to confirm the deletion of the row if ($action == 'delete') { print $form->formconfirm($_SERVER["PHP_SELF"].'?'.($page ? 'page='.$page.'&' : '').'sortfield='.$sortfield.'&sortorder='.$sortorder.'&rowid='.$rowid.'&code='.$code.'&id='.$id, $langs->trans('DeleteLine'), $langs->trans('ConfirmDeleteLine'), 'confirm_delete', '', 0, 1); } @@ -382,7 +382,7 @@ if ($action == 'delete') { * Show a dictionary */ -// Complete requete recherche valeurs avec critere de tri +// Complete the search query with sort criteria $sql = $tabsql[$id]; $sql .= " WHERE a.entity = ".((int) $conf->entity); diff --git a/htdocs/accountancy/admin/report_list.php b/htdocs/accountancy/admin/report_list.php index 88258c7df5a..e9adf9d0d54 100644 --- a/htdocs/accountancy/admin/report_list.php +++ b/htdocs/accountancy/admin/report_list.php @@ -1,6 +1,7 @@ * Copyright (C) 2024-2025 Frédéric France + * Copyright (C) 2026 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 @@ -183,7 +184,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { } } - // Si verif ok et action add, on ajoute la ligne + // In case of 'actionadd' and with valid parameters, add the line if ($ok && GETPOST('actionadd', 'alpha')) { $newid = 0; @@ -254,7 +255,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) { // Modify entry $sql = "UPDATE ".$db->sanitize($tabname[$id])." SET "; - // Modifie valeur des champs + // Modify field values if ($tabrowid[$id] && !in_array($tabrowid[$id], $listfieldmodify)) { $sql .= $db->sanitize($tabrowid[$id])." = "; $sql .= "'".$db->escape($rowid)."', "; diff --git a/htdocs/accountancy/class/accountancyexport.class.php b/htdocs/accountancy/class/accountancyexport.class.php index 0fe008b059e..0e05b46d78b 100644 --- a/htdocs/accountancy/class/accountancyexport.class.php +++ b/htdocs/accountancy/class/accountancyexport.class.php @@ -14,7 +14,7 @@ * Copyright (C) 2020 Guillaume Alexandre * Copyright (C) 2022 Joachim Kueter * Copyright (C) 2022 Progiseize - * Copyright (C) 2024-2025 MDW + * Copyright (C) 2024-2026 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 @@ -1391,7 +1391,7 @@ class AccountancyExport $separator = ';'; $end_line = "\n"; - // parcours du tableau pour recuperation des numero de compte des tiers pour pouvoir les fournir dans la bonne ligne pour istea + // Extract the Third party account numbers from the table to provide the correct line for ISTEA $tiers = []; foreach ($objectLines as $line) { if ($line->subledger_account && substr($line->subledger_account, 0, 1) == '4') { @@ -2752,7 +2752,7 @@ class AccountancyExport $tab[] = substr($date, 3, 2); $tab[] = substr($date, 0, 2); $tab[] = $line->doc_ref; - //Conversion de chaine UTF8 en Latin9 + // Convert the UTF-8 string in latin9 $tab[] = mb_convert_encoding(str_replace(' - Compte auxiliaire', '', $line->label_operation), "Windows-1252", 'UTF-8'); //Calcul de la longueur des numéros de comptes diff --git a/htdocs/accountancy/class/accountingjournal.class.php b/htdocs/accountancy/class/accountingjournal.class.php index 1e0ead82205..3be964e7f21 100644 --- a/htdocs/accountancy/class/accountingjournal.class.php +++ b/htdocs/accountancy/class/accountingjournal.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2024-2025 MDW + * Copyright (C) 2024-2026 MDW * Copyright (C) 2024-2025 Frédéric France * Copyright (C) 2024 Alexandre Janniaux * Copyright (C) 2025 Alexandre Spangaro @@ -1323,7 +1323,7 @@ class AccountingJournal extends CommonObject $element['blocks'][] = $lines_book; } } else { - // si TVA = 0, pousser les 2 lignes view/bookkeeping déjà constituées + // When VAT = 0, push the 2 lines view/bookkeeping already prepared if ($type == 'view') { $element['blocks'][] = $lines_view; } elseif ($type == 'bookkeeping') { diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php index 3617fead90b..5baa13ddaba 100644 --- a/htdocs/adherents/class/adherent_type.class.php +++ b/htdocs/adherents/class/adherent_type.class.php @@ -6,7 +6,7 @@ * Copyright (C) 2018-2019 Thibault Foucart * Copyright (C) 2021 Waël Almoman * Copyright (C) 2024-2025 Frédéric France - * Copyright (C) 2024-2025 MDW + * Copyright (C) 2024-2026 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 @@ -273,7 +273,7 @@ class AdherentType extends CommonObject if ($result) { while ($obj = $this->db->fetch_object($result)) { //print 'lang='.$obj->lang.' current='.$current_lang.'
'; - if ($obj->lang == $current_lang) { // si on a les traduct. dans la langue courante on les charge en infos principales. + if ($obj->lang == $current_lang) { // if we have the translations in the current language, we load them as main information. $this->label = $obj->label; $this->description = $obj->description; $this->email = $obj->email; diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php index baafc9e45cd..e1cbb6d029c 100644 --- a/htdocs/admin/barcode.php +++ b/htdocs/admin/barcode.php @@ -3,7 +3,7 @@ * Copyright (C) 2004-2015 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2011-2013 Juanjo Menent - * Copyright (C) 2024-2025 MDW + * Copyright (C) 2024-2026 MDW * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify @@ -428,9 +428,9 @@ if (getDolGlobalString('BARCODE_USE_ON_PRODUCT') || getDolGlobalString('BARCODE_ print dol_escape_htmltag($obj->label); print "\n"; print $langs->trans('BarcodeDesc'.$obj->encoding); - //print "L'EAN se compose de 8 characters, 7 chiffres plus une cle de verification.
"; - //print "L'utilisation des symbologies EAN8 impose la souscription et l'abonnement aupres d'organismes comme GENCOD.
"; - //print "Codes numeriques utilises exclusivement a l'identification des produits susceptibles d'etre vendus au grand public."; + // print "The EAN consists of 8 characters, 7 digits plus a control digit."; + // print "The use of EAN8 symbols requires subscription to organizations such as GENCOD."; + // print "Numeric codes are used exclusively for the identification of products that are likely to be sold to the general public."; print ''; // Show example diff --git a/htdocs/admin/fediverse.php b/htdocs/admin/fediverse.php index caf6a578ea0..fb9259995cf 100644 --- a/htdocs/admin/fediverse.php +++ b/htdocs/admin/fediverse.php @@ -7,7 +7,7 @@ * Copyright (C) 2005-2011 Regis Houssin * Copyright (C) 2011 Juanjo Menent * Copyright (C) 2020 Tobias Sekan - * Copyright (C) 2024 MDW + * Copyright (C) 2024-2026 MDW * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify @@ -390,17 +390,17 @@ print '