From 94dbde9cfd04ebf90a2b1ef4e0a771f8122b9581 Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Tue, 12 Mar 2024 15:28:35 +0100 Subject: [PATCH 01/45] fix default current user as commercial for the thirdparty --- htdocs/societe/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index a88aec05618..c1cdb053f5b 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1652,7 +1652,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { print ''; $userlist = $form->select_dolusers('', '', 0, null, 0, '', '', 0, 0, 0, 'AND u.statut = 1', 0, '', '', 0, 1); // Note: If user has no right to "see all thirdparties", we force selection of sale representative to him, so after creation he can see the record. - $selected = (count(GETPOST('commercial', 'array')) > 0 ? GETPOST('commercial', 'array') : (GETPOST('commercial', 'int') > 0 ? array(GETPOST('commercial', 'int')) : (empty($user->rights->societe->client->voir) ? array($user->id) : array()))); + $selected = (count(GETPOST('commercial', 'array')) > 0 ? GETPOST('commercial', 'array') : (GETPOST('commercial', 'int') > 0 ? array(GETPOST('commercial', 'int')) : (!empty($user->rights->societe->client->voir) ? array($user->id) : array()))); print img_picto('', 'user').$form->multiselectarray('commercial', $userlist, $selected, null, null, 'quatrevingtpercent widthcentpercentminusx', 0, 0); print ''; From 71442efa030276a1f77d8de01c575c39e23a2695 Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Wed, 13 Mar 2024 12:19:01 +0100 Subject: [PATCH 02/45] remove check againts read access (and if that user create a thirdpart read access is implicit) --- htdocs/societe/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index c1cdb053f5b..65c194ee50f 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1652,7 +1652,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { print ''; $userlist = $form->select_dolusers('', '', 0, null, 0, '', '', 0, 0, 0, 'AND u.statut = 1', 0, '', '', 0, 1); // Note: If user has no right to "see all thirdparties", we force selection of sale representative to him, so after creation he can see the record. - $selected = (count(GETPOST('commercial', 'array')) > 0 ? GETPOST('commercial', 'array') : (GETPOST('commercial', 'int') > 0 ? array(GETPOST('commercial', 'int')) : (!empty($user->rights->societe->client->voir) ? array($user->id) : array()))); + $selected = (count(GETPOST('commercial', 'array')) > 0 ? GETPOST('commercial', 'array') : (GETPOST('commercial', 'int') > 0 ? array(GETPOST('commercial', 'int')) : array($user->id))); print img_picto('', 'user').$form->multiselectarray('commercial', $userlist, $selected, null, null, 'quatrevingtpercent widthcentpercentminusx', 0, 0); print ''; From 049beb9bf8b7c85b4c83a324e35bffe38deb3eb8 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Tue, 26 Mar 2024 17:28:26 +0100 Subject: [PATCH 03/45] NEW Constant to select if typent helps define whether the thirdparty is a company --- htdocs/societe/class/societe.class.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 3e42c0ddbdb..914c416c924 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -4082,12 +4082,16 @@ class Societe extends CommonObject $isacompany = 1; } elseif (!empty($this->idprof1) || !empty($this->idprof2) || !empty($this->idprof3) || !empty($this->idprof4) || !empty($this->idprof5) || !empty($this->idprof6)) { $isacompany = 1; - } elseif (!empty($this->typent_code) && $this->typent_code != 'TE_UNKNOWN') { - // TODO Add a field is_a_company into dictionary - if (preg_match('/^TE_PRIVATE/', $this->typent_code)) { - $isacompany = 0; + } else { + if (!empty($conf->global->DEFINE_CUSTOMERS_ARE_COMPANIES_BY_TYPE_COMPANY)) { + // TODO Add a field is_a_company into dictionary + if (preg_match('/^TE_PRIVATE/', $this->typent_code)) { + $isacompany = 0; + } else { + $isacompany = 1; + } } else { - $isacompany = 1; + $isacompany = 0; } } From a8771d03bd028f06125d216032141c72d6ca6977 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Tue, 26 Mar 2024 17:30:02 +0100 Subject: [PATCH 04/45] Use getDolGlobalString --- htdocs/societe/class/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 914c416c924..bc784236649 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -4083,7 +4083,7 @@ class Societe extends CommonObject } elseif (!empty($this->idprof1) || !empty($this->idprof2) || !empty($this->idprof3) || !empty($this->idprof4) || !empty($this->idprof5) || !empty($this->idprof6)) { $isacompany = 1; } else { - if (!empty($conf->global->DEFINE_CUSTOMERS_ARE_COMPANIES_BY_TYPE_COMPANY)) { + if (getDolGlobalString('DEFINE_CUSTOMERS_ARE_COMPANIES_BY_TYPE_COMPANY')) { // TODO Add a field is_a_company into dictionary if (preg_match('/^TE_PRIVATE/', $this->typent_code)) { $isacompany = 0; From 48bcc07bc6314b85736851da732c4416daec79d8 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Sat, 30 Mar 2024 07:51:57 +0100 Subject: [PATCH 05/45] FIX #29114 Missing contact term in intervention --- htdocs/langs/en_US/interventions.lang | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/interventions.lang b/htdocs/langs/en_US/interventions.lang index b92474e7f91..f638dd26835 100644 --- a/htdocs/langs/en_US/interventions.lang +++ b/htdocs/langs/en_US/interventions.lang @@ -69,4 +69,9 @@ GenerateInter=Generate intervention FichinterNoContractLinked=Intervention %s has been created without a linked contract. ErrorFicheinterCompanyDoesNotExist=Company does not exist. Intervention has not been created. NextDateToIntervention=Date for next intervention generation -NoIntervention=No intervention \ No newline at end of file +NoIntervention=No intervention +##### Contact types ##### +TypeContact_fichinter_internal_INTERREPFOLL=Responsible for intervention follow-up +TypeContact_fichinter_internal_INTERVENING=Intervenant +TypeContact_fichinter_external_BILLING=Contact customer invoicing intervention +TypeContact_fichinter_external_CUSTOMER=Customer contact of intervention follow-up From ef4a1bef3bbe248797560e14ca01d918eb7719fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 30 Mar 2024 19:59:47 +0100 Subject: [PATCH 06/45] Update interventions.lang --- htdocs/langs/en_US/interventions.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/interventions.lang b/htdocs/langs/en_US/interventions.lang index f638dd26835..570fdcc8a5f 100644 --- a/htdocs/langs/en_US/interventions.lang +++ b/htdocs/langs/en_US/interventions.lang @@ -73,5 +73,5 @@ NoIntervention=No intervention ##### Contact types ##### TypeContact_fichinter_internal_INTERREPFOLL=Responsible for intervention follow-up TypeContact_fichinter_internal_INTERVENING=Intervenant -TypeContact_fichinter_external_BILLING=Contact customer invoicing intervention +TypeContact_fichinter_external_BILLING=Contact customer of intervention billing TypeContact_fichinter_external_CUSTOMER=Customer contact of intervention follow-up From cbf1014ab961197909c5442cd8d6ca0bcb99eb15 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 31 Mar 2024 13:56:44 +0200 Subject: [PATCH 07/45] FIX multiple problems with multicompany --- htdocs/takepos/invoice.php | 14 ++++++++------ htdocs/takepos/pay.php | 4 +++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 9aecffa35bc..64688ef537a 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -197,8 +197,9 @@ if (empty($reshook)) { if ($invoice->total_ttc < 0) { $invoice->type = $invoice::TYPE_CREDIT_NOTE; - $sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."facture WHERE"; - $sql .= " fk_soc = ".((int) $invoice->socid); + $sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."facture"; + $sql .= " WHERE entity IN (".getEntity('invoice').")"; + $sql .= " AND fk_soc = ".((int) $invoice->socid); $sql .= " AND type <> ".Facture::TYPE_CREDIT_NOTE; $sql .= " AND fk_statut >= ".$invoice::STATUS_VALIDATED; $sql .= " ORDER BY rowid DESC"; @@ -670,7 +671,8 @@ if (empty($reshook)) { $varforconst = 'CASHDESK_ID_THIRDPARTY'.$_SESSION["takeposterminal"]; $sql .= " SET fk_soc = ".((int) $conf->global->$varforconst).", "; $sql .= " datec = '".$db->idate(dol_now())."'"; - $sql .= " WHERE ref = '(PROV-POS".$db->escape($_SESSION["takeposterminal"]."-".$place).")'"; + $sql .= " WHERE entity IN (".getEntity('invoice').")"; + $sql .= " AND ref = '(PROV-POS".$db->escape($_SESSION["takeposterminal"]."-".$place).")'"; $resql1 = $db->query($sql); if ($resdeletelines && $resql1) { @@ -1160,14 +1162,14 @@ $( document ).ready(function() { global->TAKEPOS_CAN_EDIT_IF_ALREADY_VALIDATED)) { // By default, only invoices with a ref not already defined can in list of open invoice we can edit. - $sql .= " WHERE ref LIKE '(PROV-POS".$db->escape(isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '')."-0%' AND entity IN (".getEntity('invoice').")"; + $sql .= " AND ref LIKE '(PROV-POS".$db->escape(isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '')."-0%'"; } else { // If TAKEPOS_CAN_EDIT_IF_ALREADY_VALIDATED set, we show also draft invoice that already has a reference defined - $sql .= " WHERE pos_source = '".$db->escape($_SESSION["takeposterminal"])."'"; + $sql .= " AND pos_source = '".$db->escape($_SESSION["takeposterminal"])."'"; $sql .= " AND module_source = 'takepos'"; - $sql .= " AND entity IN (".getEntity('invoice').")"; } $sql .= $db->order('datec', 'ASC'); diff --git a/htdocs/takepos/pay.php b/htdocs/takepos/pay.php index fdc2a4f319d..5fd2055f885 100644 --- a/htdocs/takepos/pay.php +++ b/htdocs/takepos/pay.php @@ -147,7 +147,9 @@ $invoice = new Facture($db); if ($invoiceid > 0) { $invoice->fetch($invoiceid); } else { - $sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."facture where ref='(PROV-POS".$_SESSION["takeposterminal"]."-".$place.")'"; + $sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."facture"; + $sql .= " WHERE entity IN (".getEntity('invoice').")"; + $sql .= " AND ref='(PROV-POS".$_SESSION["takeposterminal"]."-".$place.")'"; $resql = $db->query($sql); $obj = $db->fetch_object($resql); if ($obj) { From 2ed6ae079961c96c59bfab40260e1fddbcd991ad Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 31 Mar 2024 19:14:02 +0200 Subject: [PATCH 08/45] Fix #29031 Fix #29059 --- htdocs/core/lib/functions.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 181825a689e..244593e5b4a 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -971,6 +971,9 @@ function sanitizeVal($out = '', $check = 'alphanohtml', $filter = null, $options } break; case 'intcomma': + if (is_array($out)) { + $out = implode(',', $out); + } if (preg_match('/[^0-9,-]+/i', $out)) { $out = ''; } From 85a08a9288981cfb165a1989ad3c40982310aa11 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 31 Mar 2024 19:17:58 +0200 Subject: [PATCH 09/45] FIX sometimes a string type instead integer is return, why ? --- htdocs/comm/propal/class/api_proposals.class.php | 2 +- htdocs/commande/class/api_orders.class.php | 2 +- htdocs/compta/facture/class/api_invoices.class.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/propal/class/api_proposals.class.php b/htdocs/comm/propal/class/api_proposals.class.php index 2d59bb1ac65..a2ff96ec37d 100644 --- a/htdocs/comm/propal/class/api_proposals.class.php +++ b/htdocs/comm/propal/class/api_proposals.class.php @@ -278,7 +278,7 @@ class Proposals extends DolibarrApi throw new RestException(500, "Error creating order", array_merge(array($this->propal->error), $this->propal->errors)); } - return $this->propal->id; + return ((int) $this->propal->id); } /** diff --git a/htdocs/commande/class/api_orders.class.php b/htdocs/commande/class/api_orders.class.php index 66e8c2ee957..5498f22a3c8 100644 --- a/htdocs/commande/class/api_orders.class.php +++ b/htdocs/commande/class/api_orders.class.php @@ -297,7 +297,7 @@ class Orders extends DolibarrApi throw new RestException(500, "Error creating order", array_merge(array($this->commande->error), $this->commande->errors)); } - return $this->commande->id; + return ((int) $this->commande->id); } /** diff --git a/htdocs/compta/facture/class/api_invoices.class.php b/htdocs/compta/facture/class/api_invoices.class.php index d48740ea68d..72c392816eb 100644 --- a/htdocs/compta/facture/class/api_invoices.class.php +++ b/htdocs/compta/facture/class/api_invoices.class.php @@ -318,7 +318,7 @@ class Invoices extends DolibarrApi if ($this->invoice->create(DolibarrApiAccess::$user, 0, (empty($request_data["date_lim_reglement"]) ? 0 : $request_data["date_lim_reglement"])) < 0) { throw new RestException(500, "Error creating invoice", array_merge(array($this->invoice->error), $this->invoice->errors)); } - return $this->invoice->id; + return ((int) $this->invoice->id); } /** From a001d4825275d78a86cd953521ac4153b21ee5af Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 31 Mar 2024 21:17:20 +0200 Subject: [PATCH 10/45] Clean duplicate comment --- htdocs/core/modules/expedition/doc/pdf_espadon.modules.php | 6 ------ htdocs/core/modules/expedition/doc/pdf_rouget.modules.php | 6 ------ htdocs/core/modules/reception/doc/pdf_squille.modules.php | 6 ------ htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php | 6 ------ 4 files changed, 24 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php index acd8bf1e262..fdd8809fba9 100644 --- a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php @@ -996,12 +996,6 @@ class pdf_espadon extends ModelePdfExpedition } $pdf->SetDrawColor(128, 128, 128); - if (isModEnabled('barcode')) { - // TODO Build code bar with function writeBarCode of barcode module for sending ref $object->ref - //$pdf->SetXY($this->marge_gauche+3, $this->marge_haute+3); - //$pdf->Image($logo,10, 5, 0, 24); - } - $posx = $this->page_largeur - $w - $this->marge_droite; $posy = $this->marge_haute; diff --git a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php index 9258a1fb58c..5ef1c8d04de 100644 --- a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php @@ -906,12 +906,6 @@ class pdf_rouget extends ModelePdfExpedition } $pdf->SetDrawColor(128, 128, 128); - if (isModEnabled('barcode')) { - // TODO Build code bar with function writeBarCode of barcode module for sending ref $object->ref - //$pdf->SetXY($this->marge_gauche+3, $this->marge_haute+3); - //$pdf->Image($logo,10, 5, 0, 24); - } - $posx = $this->page_largeur - $w - $this->marge_droite; $posy = $this->marge_haute; diff --git a/htdocs/core/modules/reception/doc/pdf_squille.modules.php b/htdocs/core/modules/reception/doc/pdf_squille.modules.php index e7e91dbfd89..fc47c858dc7 100644 --- a/htdocs/core/modules/reception/doc/pdf_squille.modules.php +++ b/htdocs/core/modules/reception/doc/pdf_squille.modules.php @@ -906,12 +906,6 @@ class pdf_squille extends ModelePdfReception } $pdf->SetDrawColor(128, 128, 128); - if (isModEnabled('barcode')) { - // TODO Build code bar with function writeBarCode of barcode module for reception ref $object->ref - //$pdf->SetXY($this->marge_gauche+3, $this->marge_haute+3); - //$pdf->Image($logo,10, 5, 0, 24); - } - $posx = $this->page_largeur - $w - $this->marge_droite; $posy = $this->marge_haute; diff --git a/htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php b/htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php index 7f42f2e83c2..8a6ad2e17c0 100644 --- a/htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php +++ b/htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php @@ -992,12 +992,6 @@ class pdf_eagle extends ModelePDFStockTransfer } $pdf->SetDrawColor(128, 128, 128); - if (isModEnabled('barcode')) { - // TODO Build code bar with function writeBarCode of barcode module for sending ref $object->ref - //$pdf->SetXY($this->marge_gauche+3, $this->marge_haute+3); - //$pdf->Image($logo,10, 5, 0, 24); - } - $posx = $this->page_largeur - $w - $this->marge_droite; $posy = $this->marge_haute; From c664ed75654f2c770a01fd97cf51f373f99e9e49 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Mon, 1 Apr 2024 08:06:48 +0200 Subject: [PATCH 11/45] FIX Accountancy - Not trunc id_import --- htdocs/accountancy/bookkeeping/list.php | 6 +++--- htdocs/accountancy/bookkeeping/listbyaccount.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/accountancy/bookkeeping/list.php b/htdocs/accountancy/bookkeeping/list.php index b6d468fe023..45967025a99 100644 --- a/htdocs/accountancy/bookkeeping/list.php +++ b/htdocs/accountancy/bookkeeping/list.php @@ -1,8 +1,8 @@ * Copyright (C) 2013-2016 Florian Henry - * Copyright (C) 2013-2023 Alexandre Spangaro - * Copyright (C) 2022 Lionel Vessiller + * Copyright (C) 2013-2024 Alexandre Spangaro + * Copyright (C) 2022 Lionel Vessiller * Copyright (C) 2016-2017 Laurent Destailleur * Copyright (C) 2018-2021 Frédéric France * Copyright (C) 2022 Progiseize @@ -1293,7 +1293,7 @@ while ($i < min($num, $limit)) { } if (!empty($arrayfields['t.import_key']['checked'])) { - print ''.$obj->import_key."\n"; + print ''.$obj->import_key."\n"; if (!$i) { $totalarray['nbfield']++; } diff --git a/htdocs/accountancy/bookkeeping/listbyaccount.php b/htdocs/accountancy/bookkeeping/listbyaccount.php index dc13b47b4af..abdf358ccfc 100644 --- a/htdocs/accountancy/bookkeeping/listbyaccount.php +++ b/htdocs/accountancy/bookkeeping/listbyaccount.php @@ -2,7 +2,7 @@ /* Copyright (C) 2016 Neil Orley * Copyright (C) 2013-2016 Olivier Geffroy * Copyright (C) 2013-2020 Florian Henry - * Copyright (C) 2013-2022 Alexandre Spangaro + * Copyright (C) 2013-2024 Alexandre Spangaro * Copyright (C) 2018 Frédéric France * * This program is free software; you can redistribute it and/or modify @@ -1207,7 +1207,7 @@ while ($i < min($num, $limit)) { } if (!empty($arrayfields['t.import_key']['checked'])) { - print ''.$line->import_key."\n"; + print ''.$line->import_key."\n"; if (!$i) { $totalarray['nbfield']++; } From e1e8e45a5294bd8cc98e2dc0d35fcaeb14fb0bfd Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Tue, 2 Apr 2024 18:47:28 +0200 Subject: [PATCH 12/45] Fix cronjob.class.php --- htdocs/cron/class/cronjob.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/cron/class/cronjob.class.php b/htdocs/cron/class/cronjob.class.php index 266909fe17b..1c5ed95a7df 100644 --- a/htdocs/cron/class/cronjob.class.php +++ b/htdocs/cron/class/cronjob.class.php @@ -1295,11 +1295,10 @@ class Cronjob extends CommonObject } else { $result = call_user_func_array(array($object, $this->methodename), $params_arr); } - + $errmsg = ''; if ($result === false || (!is_bool($result) && $result != 0)) { $langs->load("errors"); - $errmsg = ''; if (!is_array($object->errors) || !in_array($object->error, $object->errors)) { $errmsg .= $object->error; } From 000234c85328208b296965aab5e7800c4d973acc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Apr 2024 12:05:33 +0200 Subject: [PATCH 13/45] FIX css of background of modules that was black --- htdocs/theme/md/style.css.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 9dabc46d53f..f4d2e6caa37 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -361,7 +361,7 @@ print '*/'."\n"; --amountremaintopaybackcolor:none; --productlinestockod: #002200; --productlinestocktoolow: #884400; - --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #2b2d2f, #2b2d2f, #2b2d2f, #e4efe8); + --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8); --tablevalidbgcolor: rgb(252, 248, 227); --butactionbg : #; --textbutaction : #; From c349d3889793a7b312d906eeafb5c372e25ee78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 3 Apr 2024 14:46:46 +0200 Subject: [PATCH 14/45] add translations of errors --- dev/translation/dynamic_translation_keys.lst | 2 ++ htdocs/core/class/CMailFile.class.php | 14 +++++++------- htdocs/langs/en_US/errors.lang | 2 ++ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/dev/translation/dynamic_translation_keys.lst b/dev/translation/dynamic_translation_keys.lst index 41220044fe9..cea77bc9ea9 100644 --- a/dev/translation/dynamic_translation_keys.lst +++ b/dev/translation/dynamic_translation_keys.lst @@ -1019,6 +1019,8 @@ ErrorFeatureNeedJavascript ErrorFicheinterCompanyDoesNotExist ErrorFieldMustHaveXChar ErrorFileAlreadyExists +ErrorInAddAttachmentsImageBaseIsSrcData +ErrorInAddAttachmentsImageBaseOnMedia ErrorInvalidSubtype ErrorInvoiceLoadThirdParty ErrorInvoiceLoadThirdPartyKey diff --git a/htdocs/core/class/CMailFile.class.php b/htdocs/core/class/CMailFile.class.php index 9d73998e151..8c565e1602f 100644 --- a/htdocs/core/class/CMailFile.class.php +++ b/htdocs/core/class/CMailFile.class.php @@ -2,11 +2,11 @@ /** * Copyright (C) Dan Potter * Copyright (C) Eric Seigne - * Copyright (C) 2000-2005 Rodolphe Quiedeville - * Copyright (C) 2003 Jean-Louis Bergamo - * Copyright (C) 2004-2015 Laurent Destailleur - * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2019-2023 Frédéric France + * Copyright (C) 2000-2005 Rodolphe Quiedeville + * Copyright (C) 2003 Jean-Louis Bergamo + * Copyright (C) 2004-2015 Laurent Destailleur + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2019-2024 Frédéric France * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -283,7 +283,7 @@ class CMailFile $findimg = $this->findHtmlImages($dolibarr_main_data_root.'/medias'); if ($findimg < 0) { dol_syslog("CMailFile::CMailfile: Error on findHtmlImages"); - $this->error = 'ErrorInAddAttachementsImageBaseOnMedia'; + $this->error = 'ErrorInAddAttachmentsImageBaseOnMedia'; return; } } @@ -294,7 +294,7 @@ class CMailFile $resultImageData = $this->findHtmlImagesIsSrcData($upload_dir_tmp); if ($resultImageData < 0) { dol_syslog("CMailFile::CMailfile: Error on findHtmlImagesInSrcData code=".$resultImageData." upload_dir_tmp=".$upload_dir_tmp); - $this->error = 'ErrorInAddAttachementsImageBaseOnMedia'; + $this->error = 'ErrorInAddAttachmentsImageBaseIsSrcData'; return; } $findimg += $resultImageData; diff --git a/htdocs/langs/en_US/errors.lang b/htdocs/langs/en_US/errors.lang index d8ebfa352e5..0c5881caf05 100644 --- a/htdocs/langs/en_US/errors.lang +++ b/htdocs/langs/en_US/errors.lang @@ -55,6 +55,8 @@ ErrorFoundBadEmailInFile=Found incorrect email syntax for %s lines in file (exam ErrorUserCannotBeDelete=User cannot be deleted. Maybe it is associated to Dolibarr entities. ErrorFieldsRequired=Some required fields have been left blank. ErrorSubjectIsRequired=The email subject is required +ErrorInAddAttachmentsImageBaseOnMedia=Error in add attachments image base in on media +ErrorInAddAttachmentsImageBaseIsSrcData=Error in add attachments image base source is in data ErrorFailedToCreateDir=Failed to create a directory. Check that Web server user has permissions to write into Dolibarr documents directory. If parameter safe_mode is enabled on this PHP, check that Dolibarr php files owns to web server user (or group). ErrorNoMailDefinedForThisUser=No mail defined for this user ErrorSetupOfEmailsNotComplete=Setup of emails is not complete From 81adb15eb0d74a4e28ba13cb281af7393f036d77 Mon Sep 17 00:00:00 2001 From: x Date: Wed, 3 Apr 2024 15:04:30 +0200 Subject: [PATCH 15/45] FIX PDF Translations Extrafields --- .../core/class/commondocgenerator.class.php | 2 +- htdocs/core/class/extrafields.class.php | 40 ++++++++++--------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 2278a1de8dc..ddd35a96c0d 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -1294,7 +1294,7 @@ abstract class CommonDocGenerator $extrafields = $this->extrafieldsCache; $extrafieldOutputContent = ''; - if (isset($object->array_options[$extrafieldOptionsKey])) $extrafieldOutputContent = $extrafields->showOutputField($extrafieldKey, $object->array_options[$extrafieldOptionsKey], '', $object->table_element); + if (isset($object->array_options[$extrafieldOptionsKey])) $extrafieldOutputContent = $extrafields->showOutputField($extrafieldKey, $object->array_options[$extrafieldOptionsKey], '', $object->table_element, $outputlangs); // TODO : allow showOutputField to be pdf public friendly, ex: in a link to object, clean getNomUrl to remove link and images... like a getName methode ... if ($extrafields->attributes[$object->table_element]['type'][$extrafieldKey] == 'link') { diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index d457db3ab31..d3f50d53f20 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -1575,12 +1575,17 @@ class ExtraFields * @param string $value Value to show * @param string $moreparam To add more parameters on html input tag (only checkbox use html input for output rendering) * @param string $extrafieldsobjectkey Required (for example $object->table_element). + * @param Translate $outputlangs Output language * @return string Formated value */ - public function showOutputField($key, $value, $moreparam = '', $extrafieldsobjectkey = '') + public function showOutputField($key, $value, $moreparam = '', $extrafieldsobjectkey = '', $outputlangs = null) { global $conf, $langs; + if (is_null($outputlangs) || !is_object($outputlangs)) { + $outputlangs = $langs; + } + if (empty($extrafieldsobjectkey)) { dol_syslog(get_class($this).'::showOutputField extrafieldsobjectkey required', LOG_ERR); return 'BadValueForParamExtraFieldsObjectKey'; @@ -1624,7 +1629,7 @@ class ExtraFields //$value=price($value); $sizeparts = explode(",", $size); $number_decimals = array_key_exists(1, $sizeparts) ? $sizeparts[1] : 0; - $value = price($value, 0, $langs, 0, 0, $number_decimals, ''); + $value = price($value, 0, $outputlangs, 0, 0, $number_decimals, ''); } } elseif ($type == 'boolean') { $checked = ''; @@ -1643,7 +1648,7 @@ class ExtraFields } elseif ($type == 'price') { //$value = price($value, 0, $langs, 0, 0, -1, $conf->currency); if ($value || $value == '0') { - $value = price($value, 0, $langs, 0, $conf->global->MAIN_MAX_DECIMALS_TOT, -1).' '.$langs->getCurrencySymbol($conf->currency); + $value = price($value, 0, $outputlangs, 0, $conf->global->MAIN_MAX_DECIMALS_TOT, -1).' '.$outputlangs->getCurrencySymbol($conf->currency); } } elseif ($type == 'pricecy') { $currency = $conf->currency; @@ -1654,7 +1659,7 @@ class ExtraFields $value = $pricetmp[0]; } if ($value || $value == '0') { - $value = price($value, 0, $langs, 0, $conf->global->MAIN_MAX_DECIMALS_TOT, -1, $currency); + $value = price($value, 0, $outputlangs, 0, $conf->global->MAIN_MAX_DECIMALS_TOT, -1, $currency); } } elseif ($type == 'select') { $valstr = (!empty($param['options'][$value]) ? $param['options'][$value] : ''); @@ -1662,7 +1667,7 @@ class ExtraFields $valstr = substr($valstr, 0, $pos); } if ($langfile && $valstr) { - $value = $langs->trans($valstr); + $value = $outputlangs->trans($valstr); } else { $value = $valstr; } @@ -1721,13 +1726,12 @@ class ExtraFields foreach ($fields_label as $field_toshow) { $translabel = ''; if (!empty($obj->$field_toshow)) { - $translabel = $langs->trans($obj->$field_toshow); - - if ($translabel != $obj->$field_toshow) { - $value .= dol_trunc($translabel, 24).' '; - } else { - $value .= $obj->$field_toshow.' '; - } + $translabel = $outputlangs->trans($obj->$field_toshow); + } + if ($translabel != $obj->$field_toshow) { + $value .= dol_trunc($translabel, 24).' '; + } else { + $value .= $obj->$field_toshow.' '; } } } else { @@ -1735,7 +1739,7 @@ class ExtraFields $tmppropname = $InfoFieldList[1]; //$obj->$tmppropname = ''; if (!empty(isset($obj->$tmppropname) ? $obj->$tmppropname : '')) { - $translabel = $langs->trans($obj->$tmppropname); + $translabel = $outputlangs->trans($obj->$tmppropname); } if ($translabel != (isset($obj->$tmppropname) ? $obj->$tmppropname : '')) { $value = dol_trunc($translabel, 18); @@ -1764,10 +1768,10 @@ class ExtraFields } } elseif ($type == 'radio') { if (!isset($param['options'][$value])) { - $langs->load('errors'); - $value = $langs->trans('ErrorNoValueForRadioType'); + $outputlangs->load('errors'); + $value = $outputlangs->trans('ErrorNoValueForRadioType'); } else { - $value = $langs->trans($param['options'][$value]); + $value = $outputlangs->trans($param['options'][$value]); } } elseif ($type == 'checkbox') { $value_arr = explode(',', $value); @@ -1831,7 +1835,7 @@ class ExtraFields foreach ($fields_label as $field_toshow) { $translabel = ''; if (!empty($obj->$field_toshow)) { - $translabel = $langs->trans($obj->$field_toshow); + $translabel = $outputlangs->trans($obj->$field_toshow); } if ($translabel != $field_toshow) { $label .= ' '.dol_trunc($translabel, 18); @@ -1844,7 +1848,7 @@ class ExtraFields } else { $translabel = ''; if (!empty($obj->{$InfoFieldList[1]})) { - $translabel = $langs->trans($obj->{$InfoFieldList[1]}); + $translabel = $outputlangs->trans($obj->{$InfoFieldList[1]}); } if ($translabel != $obj->{$InfoFieldList[1]}) { $toprint[] = '
  • '.dol_trunc($translabel, 18).'
  • '; From c583102364dfedae776ef555491c73fdfaa8db9c Mon Sep 17 00:00:00 2001 From: x Date: Wed, 3 Apr 2024 15:19:53 +0200 Subject: [PATCH 16/45] FIX Accolad --- htdocs/core/class/extrafields.class.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index d3f50d53f20..6959ca44a36 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -1727,11 +1727,12 @@ class ExtraFields $translabel = ''; if (!empty($obj->$field_toshow)) { $translabel = $outputlangs->trans($obj->$field_toshow); - } - if ($translabel != $obj->$field_toshow) { - $value .= dol_trunc($translabel, 24).' '; - } else { - $value .= $obj->$field_toshow.' '; + + if ($translabel != $obj->$field_toshow) { + $value .= dol_trunc($translabel, 24) . ' '; + } else { + $value .= $obj->$field_toshow . ' '; + } } } } else { From a0ecc3ce534b59cd1020e983a92b666f18113ade Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Wed, 3 Apr 2024 15:38:58 +0200 Subject: [PATCH 17/45] fix simple report : use untaxed amounts --- htdocs/compta/stats/index.php | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index 927b5760979..183f5eaa32f 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -4,6 +4,7 @@ * Copyright (C) 2005-2009 Regis Houssin * Copyright (C) 2017 Olivier Geffroy * Copyright (C) 2018-2020 Frédéric France + * Copyright (C) 2024 Benjamin B. * * 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 @@ -461,22 +462,22 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { //var_dump($annee.' '.$year_end.' '.$mois.' '.$month_end); if ($annee < $year_end || ($annee == $year_end && $mois <= $month_end)) { if ($annee_decalage > $minyear && $case <= $casenow) { - if (!empty($cum[$caseprev]) && !empty($cum[$case])) { - $percent = (round(($cum[$case] - $cum[$caseprev]) / $cum[$caseprev], 4) * 100); - //print "X $cum[$case] - $cum[$caseprev] - $cum[$caseprev] - $percent X"; + if (!empty($cum_ht[$caseprev]) && !empty($cum_ht[$case])) { + $percent = (round(($cum_ht[$case] - $cum_ht[$caseprev]) / $cum_ht[$caseprev], 4) * 100); + //print "X $cum_ht[$case] - $cum_ht[$caseprev] - $cum_ht[$caseprev] - $percent X"; print($percent >= 0 ? "+$percent" : "$percent").'%'; } - if (!empty($cum[$caseprev]) && empty($cum[$case])) { + if (!empty($cum_ht[$caseprev]) && empty($cum_ht[$case])) { print '-100%'; } - if (empty($cum[$caseprev]) && !empty($cum[$case])) { + if (empty($cum_ht[$caseprev]) && !empty($cum_ht[$case])) { //print '+Inf%'; print '-'; } - if (isset($cum[$caseprev]) && empty($cum[$caseprev]) && empty($cum[$case])) { + if (isset($cum_ht[$caseprev]) && empty($cum_ht[$caseprev]) && empty($cum_ht[$case])) { print '+0%'; } - if (!isset($cum[$caseprev]) && empty($cum[$case])) { + if (!isset($cum_ht[$caseprev]) && empty($cum_ht[$case])) { print '-'; } } else { @@ -501,9 +502,9 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { $total_ht[$annee] += (empty($cum_ht[$case]) ? 0 : $cum_ht[$case]); } if (empty($total[$annee])) { - $total[$annee] = empty($cum[$case]) ? 0 : $cum[$case]; + $total[$annee] = empty($cum_ht[$case]) ? 0 : $cum_ht[$case]; } else { - $total[$annee] += empty($cum[$case]) ? 0 : $cum[$case]; + $total[$annee] += empty($cum_ht[$case]) ? 0 : $cum_ht[$case]; } } } @@ -601,24 +602,24 @@ for ($annee = $year_start; $annee <= $year_end; $annee++) { // Pourcentage total if ($annee > $minyear && $annee <= max($nowyear, $maxyear)) { - if (!empty($total[$annee - 1]) && !empty($total[$annee])) { - $percent = (round(($total[$annee] - $total[$annee - 1]) / $total[$annee - 1], 4) * 100); + if (!empty($total_ht[$annee - 1]) && !empty($total_ht[$annee])) { + $percent = (round(($total_ht[$annee] - $total_ht[$annee - 1]) / $total_ht[$annee - 1], 4) * 100); print ''; print($percent >= 0 ? "+$percent" : "$percent").'%'; print ''; } - if (!empty($total[$annee - 1]) && empty($total[$annee])) { + if (!empty($total_ht[$annee - 1]) && empty($total_ht[$annee])) { print '-100%'; } - if (empty($total[$annee - 1]) && !empty($total[$annee])) { + if (empty($total_ht[$annee - 1]) && !empty($total_ht[$annee])) { print '+'.$langs->trans('Inf').'%'; } - if (empty($total[$annee - 1]) && empty($total[$annee])) { + if (empty($total_ht[$annee - 1]) && empty($total_ht[$annee])) { print '+0%'; } } else { print ''; - if (!empty($total[$annee]) || ($minyear <= $annee && $annee <= max($nowyear, $maxyear))) { + if (!empty($total_ht[$annee]) || ($minyear <= $annee && $annee <= max($nowyear, $maxyear))) { print '-'; } else { print ' '; From f6cd58bf50ec412346ba007a61e71229e4a5440f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Apr 2024 18:51:46 +0200 Subject: [PATCH 18/45] Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 --- htdocs/main.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 34be2bd8fe8..612f1000c12 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -2674,7 +2674,7 @@ function top_menu_quickadd() // Key map shortcut $(document).keydown(function(event){ - var ostype = "'.$conf->browser->os.'"; + var ostype = \''.dol_escape_js($conf->browser->os).'\'; if (ostype === "macintosh") { if ( event.which === 65 && event.ctrlKey ) { console.log(\'control + a : trigger open quick add dropdown\'); @@ -2946,7 +2946,7 @@ function top_menu_bookmark() // Key map shortcut jQuery(document).keydown(function(event) { - var ostype = "'.$conf->browser->os.'"; + var ostype = \''.dol_escape_js($conf->browser->os).'\'; if (ostype === "macintosh") { if ( event.which === 66 && event.ctrlKey ) { console.log("Click on control + b : trigger open bookmark dropdown"); From 6bf4b28d46dbb22da5a104ad1e8667e864af4487 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 3 Apr 2024 19:32:46 +0200 Subject: [PATCH 19/45] FIX phan error function isModEnabled can have value "proposal" --- htdocs/comm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index dca5587bfbb..7039a97a59e 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -710,7 +710,7 @@ if (isModEnabled("societe") && $user->hasRight('societe', 'lire')) { * Last modified proposals */ -if (isModEnabled('proposal')) { +if (isModEnabled('propal')) { $sql = "SELECT c.rowid, c.entity, c.ref, c.fk_statut as status, date_cloture as datec, c.tms as datem,"; $sql .= " s.nom as socname, s.rowid as socid, s.canvas, s.client, s.email, s.code_compta"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as c,"; From addccfd2731fead74fe82fc8fbbfeafec39bab14 Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Wed, 3 Apr 2024 22:18:53 +0200 Subject: [PATCH 20/45] rename cum to cumulative --- htdocs/compta/stats/index.php | 62 +++++++++++------------ htdocs/compta/stats/supplier_turnover.php | 38 +++++++------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index 183f5eaa32f..6189e0deb6e 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -265,8 +265,8 @@ $sql .= " ORDER BY dm"; $minyearmonth = $maxyearmonth = 0; -$cum = array(); -$cum_ht = array(); +$cumulative = array(); +$cumulative_ht = array(); $total_ht = array(); $total = array(); @@ -276,8 +276,8 @@ if ($result) { $i = 0; while ($i < $num) { $obj = $db->fetch_object($result); - $cum_ht[$obj->dm] = empty($obj->amount) ? 0 : $obj->amount; - $cum[$obj->dm] = empty($obj->amount_ttc) ? 0 : $obj->amount_ttc; + $cumulative_ht[$obj->dm] = empty($obj->amount) ? 0 : $obj->amount; + $cumulative[$obj->dm] = empty($obj->amount_ttc) ? 0 : $obj->amount_ttc; if ($obj->amount_ttc) { $minyearmonth = ($minyearmonth ? min($minyearmonth, $obj->dm) : $obj->dm); $maxyearmonth = max($maxyearmonth, $obj->dm); @@ -309,10 +309,10 @@ if ($modecompta == 'RECETTES-DEPENSES') { $i = 0; while ($i < $num) { $obj = $db->fetch_object($result); - if (empty($cum[$obj->dm])) { - $cum[$obj->dm] = $obj->amount_ttc; + if (empty($cumulative[$obj->dm])) { + $cumulative[$obj->dm] = $obj->amount_ttc; } else { - $cum[$obj->dm] += $obj->amount_ttc; + $cumulative[$obj->dm] += $obj->amount_ttc; } if ($obj->amount_ttc) { $minyearmonth = ($minyearmonth ? min($minyearmonth, $obj->dm) : $obj->dm); @@ -421,9 +421,9 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { // Value turnover of month w/o VAT print ''; if ($annee < $year_end || ($annee == $year_end && $mois <= $month_end)) { - if (!empty($cum_ht[$case])) { + if (!empty($cumulative_ht[$case])) { $now_show_delta = 1; // On a trouve le premier mois de la premiere annee generant du chiffre. - print ''.price($cum_ht[$case], 1).''; + print ''.price($cumulative_ht[$case], 1).''; } else { if ($minyearmonth < $case && $case <= max($maxyearmonth, $nowyearmonth)) { print '0'; @@ -438,12 +438,12 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { // Value turnover of month print ''; if ($annee < $year_end || ($annee == $year_end && $mois <= $month_end)) { - if (!empty($cum[$case])) { + if (!empty($cumulative[$case])) { $now_show_delta = 1; // On a trouve le premier mois de la premiere annee generant du chiffre. if ($modecompta != 'BOOKKEEPING') { print ''; } - print price($cum[$case], 1); + print price($cumulative[$case], 1); if ($modecompta != 'BOOKKEEPING') { print ''; } @@ -462,22 +462,22 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { //var_dump($annee.' '.$year_end.' '.$mois.' '.$month_end); if ($annee < $year_end || ($annee == $year_end && $mois <= $month_end)) { if ($annee_decalage > $minyear && $case <= $casenow) { - if (!empty($cum_ht[$caseprev]) && !empty($cum_ht[$case])) { - $percent = (round(($cum_ht[$case] - $cum_ht[$caseprev]) / $cum_ht[$caseprev], 4) * 100); - //print "X $cum_ht[$case] - $cum_ht[$caseprev] - $cum_ht[$caseprev] - $percent X"; + if (!empty($cumulative_ht[$caseprev]) && !empty($cumulative_ht[$case])) { + $percent = (round(($cumulative_ht[$case] - $cumulative_ht[$caseprev]) / $cumulative_ht[$caseprev], 4) * 100); + //print "X $cumulative_ht[$case] - $cumulative_ht[$caseprev] - $cumulative_ht[$caseprev] - $percent X"; print($percent >= 0 ? "+$percent" : "$percent").'%'; } - if (!empty($cum_ht[$caseprev]) && empty($cum_ht[$case])) { + if (!empty($cumulative_ht[$caseprev]) && empty($cumulative_ht[$case])) { print '-100%'; } - if (empty($cum_ht[$caseprev]) && !empty($cum_ht[$case])) { + if (empty($cumulative_ht[$caseprev]) && !empty($cumulative_ht[$case])) { //print '+Inf%'; print '-'; } - if (isset($cum_ht[$caseprev]) && empty($cum_ht[$caseprev]) && empty($cum_ht[$case])) { + if (isset($cumulative_ht[$caseprev]) && empty($cumulative_ht[$caseprev]) && empty($cumulative_ht[$case])) { print '+0%'; } - if (!isset($cum_ht[$caseprev]) && empty($cum_ht[$case])) { + if (!isset($cumulative_ht[$caseprev]) && empty($cumulative_ht[$case])) { print '-'; } } else { @@ -497,14 +497,14 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { if ($annee < $year_end || ($annee == $year_end && $mois <= $month_end)) { if (empty($total_ht[$annee])) { - $total_ht[$annee] = (empty($cum_ht[$case]) ? 0 : $cum_ht[$case]); + $total_ht[$annee] = (empty($cumulative_ht[$case]) ? 0 : $cumulative_ht[$case]); } else { - $total_ht[$annee] += (empty($cum_ht[$case]) ? 0 : $cum_ht[$case]); + $total_ht[$annee] += (empty($cumulative_ht[$case]) ? 0 : $cumulative_ht[$case]); } if (empty($total[$annee])) { - $total[$annee] = empty($cum_ht[$case]) ? 0 : $cum_ht[$case]; + $total[$annee] = empty($cumulative_ht[$case]) ? 0 : $cumulative_ht[$case]; } else { - $total[$annee] += empty($cum_ht[$case]) ? 0 : $cum_ht[$case]; + $total[$annee] += empty($cumulative_ht[$case]) ? 0 : $cumulative_ht[$case]; } } } @@ -527,10 +527,10 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { // Valeur CA du mois print ''; - if ($cum[$case]) + if ($cumulative[$case]) { $now_show_delta=1; // On a trouve le premier mois de la premiere annee generant du chiffre. - print ''.price($cum[$case],1).''; + print ''.price($cumulative[$case],1).''; } else { @@ -541,22 +541,22 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { // Pourcentage du mois if ($annee > $minyear && $case <= $casenow) { - if ($cum[$caseprev] && $cum[$case]) + if ($cumulative[$caseprev] && $cumulative[$case]) { - $percent=(round(($cum[$case]-$cum[$caseprev])/$cum[$caseprev],4)*100); - //print "X $cum[$case] - $cum[$caseprev] - $cum[$caseprev] - $percent X"; + $percent=(round(($cumulative[$case]-$cumulative[$caseprev])/$cumulative[$caseprev],4)*100); + //print "X $cumulative[$case] - $cumulative[$caseprev] - $cumulative[$caseprev] - $percent X"; print ''.($percent>=0?"+$percent":"$percent").'%'; } - if ($cum[$caseprev] && ! $cum[$case]) + if ($cumulative[$caseprev] && ! $cumulative[$case]) { print '-100%'; } - if (! $cum[$caseprev] && $cum[$case]) + if (! $cumulative[$caseprev] && $cumulative[$case]) { print '+Inf%'; } - if (! $cum[$caseprev] && ! $cum[$case]) + if (! $cumulative[$caseprev] && ! $cumulative[$case]) { print '+0%'; } @@ -569,7 +569,7 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { print ''; } - $total[$annee]+=$cum[$case]; + $total[$annee]+=$cumulative[$case]; if ($annee != $year_end) print ' '; } diff --git a/htdocs/compta/stats/supplier_turnover.php b/htdocs/compta/stats/supplier_turnover.php index 2b819e74fa6..18992d846ec 100644 --- a/htdocs/compta/stats/supplier_turnover.php +++ b/htdocs/compta/stats/supplier_turnover.php @@ -251,8 +251,8 @@ $sql .= " ORDER BY dm"; $minyearmonth = $maxyearmonth = 0; -$cum = array(); -$cum_ht = array(); +$cumulative = array(); +$cumulative_ht = array(); $total_ht = array(); $total = array(); @@ -262,8 +262,8 @@ if ($result) { $i = 0; while ($i < $num) { $obj = $db->fetch_object($result); - $cum_ht[$obj->dm] = empty($obj->amount) ? 0 : $obj->amount; - $cum[$obj->dm] = empty($obj->amount_ttc) ? 0 : $obj->amount_ttc; + $cumulative_ht[$obj->dm] = empty($obj->amount) ? 0 : $obj->amount; + $cumulative[$obj->dm] = empty($obj->amount_ttc) ? 0 : $obj->amount_ttc; if ($obj->amount_ttc) { $minyearmonth = ($minyearmonth ? min($minyearmonth, $obj->dm) : $obj->dm); $maxyearmonth = max($maxyearmonth, $obj->dm); @@ -365,9 +365,9 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { if ($modecompta == 'CREANCES-DETTES') { // Value turnover of month w/o VAT print ''; - if (!empty($cum_ht[$case])) { + if (!empty($cumulative_ht[$case])) { $now_show_delta = 1; // On a trouve le premier mois de la premiere annee generant du chiffre. - print ''.price($cum_ht[$case], 1).''; + print ''.price($cumulative_ht[$case], 1).''; } else { if ($minyearmonth < $case && $case <= max($maxyearmonth, $nowyearmonth)) { print '0'; @@ -380,12 +380,12 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { // Value turnover of month print ''; - if (!empty($cum[$case])) { + if (!empty($cumulative[$case])) { $now_show_delta = 1; // On a trouve le premier mois de la premiere annee generant du chiffre. if ($modecompta != 'BOOKKEEPING') { print ''; } - print price($cum[$case], 1); + print price($cumulative[$case], 1); if ($modecompta != 'BOOKKEEPING') { print ''; } @@ -400,22 +400,22 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { // Percentage of month if ($annee_decalage > $minyear && $case <= $casenow) { - if (!empty($cum[$caseprev]) && !empty($cum[$case])) { - $percent = (round(($cum[$case] - $cum[$caseprev]) / $cum[$caseprev], 4) * 100); - //print "X $cum[$case] - $cum[$caseprev] - $cum[$caseprev] - $percent X"; + if (!empty($cumulative[$caseprev]) && !empty($cumulative[$case])) { + $percent = (round(($cumulative[$case] - $cumulative[$caseprev]) / $cumulative[$caseprev], 4) * 100); + //print "X $cumulative[$case] - $cumulative[$caseprev] - $cumulative[$caseprev] - $percent X"; print ''.($percent >= 0 ? "+$percent" : "$percent").'%'; } - if (!empty($cum[$caseprev]) && empty($cum[$case])) { + if (!empty($cumulative[$caseprev]) && empty($cumulative[$case])) { print '-100%'; } - if (empty($cum[$caseprev]) && !empty($cum[$case])) { + if (empty($cumulative[$caseprev]) && !empty($cumulative[$case])) { //print '+Inf%'; print '-'; } - if (isset($cum[$caseprev]) && empty($cum[$caseprev]) && empty($cum[$case])) { + if (isset($cumulative[$caseprev]) && empty($cumulative[$caseprev]) && empty($cumulative[$case])) { print '+0%'; } - if (!isset($cum[$caseprev]) && empty($cum[$case])) { + if (!isset($cumulative[$caseprev]) && empty($cumulative[$case])) { print '-'; } } else { @@ -434,14 +434,14 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { } if (empty($total_ht[$annee])) { - $total_ht[$annee] = ((!empty($cum_ht[$case])) ? $cum_ht[$case] : 0); + $total_ht[$annee] = ((!empty($cumulative_ht[$case])) ? $cumulative_ht[$case] : 0); } else { - $total_ht[$annee] += ((!empty($cum_ht[$case])) ? $cum_ht[$case] : 0); + $total_ht[$annee] += ((!empty($cumulative_ht[$case])) ? $cumulative_ht[$case] : 0); } if (empty($total[$annee])) { - $total[$annee] = (empty($cum[$case]) ? 0 : $cum[$case]); + $total[$annee] = (empty($cumulative[$case]) ? 0 : $cumulative[$case]); } else { - $total[$annee] += (empty($cum[$case]) ? 0 : $cum[$case]); + $total[$annee] += (empty($cumulative[$case]) ? 0 : $cumulative[$case]); } } From 56f9ec41c025c8f34cde2d5b6c5af08c7d525842 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Apr 2024 22:34:59 +0200 Subject: [PATCH 21/45] FIX regression. A lot of broken feature and corruption of data du to deprecation management. --- htdocs/core/class/conf.class.php | 25 ------------------- .../asset/doc/pdf_standard_asset.modules.php | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 711a0bb499d..d07e28ab172 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -395,31 +395,6 @@ class Conf extends stdClass $this->productbatch = new stdClass(); } - /** - * Provide list of deprecated properties and replacements - * - * @return array - */ - protected function deprecatedProperties() - { - return MODULE_MAPPING - + array( - // Previously detected module names, already in mapping - //'adherent' => 'member', - //'banque' => 'bank', - //'categorie' => 'category', - //'commande' => 'order', - //'contrat' => 'contract', - //'expedition' => 'delivery_note', - //'facture' => 'invoice', - //'projet' => 'project', - - // Other, not deprecated module names - 'produit' => 'product', - 'supplierproposal' => 'supplier_proposal', - ); - } - /** * Load setup values into conf object (read llx_const) for a specified entity diff --git a/htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php b/htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php index f1185ea072b..dfb378a6a8e 100644 --- a/htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php +++ b/htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php @@ -787,7 +787,7 @@ class pdf_standard_asset extends ModelePDFAsset return 0; } } else { - $this->error = $langs->transnoentities("ErrorConstantNotDefined", "FAC_OUTPUTDIR"); + $this->error = $langs->transnoentities("ErrorConstantNotDefined", "ASSET_OUTPUTDIR"); return 0; } } From 8eb93c9f2a1914e3bcf9fff313ef9ec6813de00f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Apr 2024 22:52:57 +0200 Subject: [PATCH 22/45] Revert to restore stability --- htdocs/core/class/conf.class.php | 268 ++++++++++--------------------- 1 file changed, 86 insertions(+), 182 deletions(-) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index d07e28ab172..3b0bae9546c 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -4,7 +4,6 @@ * Copyright (C) 2004-2020 Laurent Destailleur * Copyright (C) 2005-2017 Regis Houssin * Copyright (C) 2006 Jean Heimburger - * 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 @@ -20,8 +19,6 @@ * along with this program. If not, see . */ -require_once DOL_DOCUMENT_ROOT.'/core/class/doldeprecationhandler.class.php'; - /** * \file htdocs/core/class/conf.class.php * \ingroup core @@ -31,17 +28,9 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/doldeprecationhandler.class.php'; /** * Class to stock current configuration - * */ class Conf extends stdClass { - use DolDeprecationHandler; - /** - * When true, indicates to the DeprecationHandler that this - * class supports dynamic properties. - */ - protected $enableDynamicProperties = true; - /** * @var Object Associative array with properties found in conf file */ @@ -95,6 +84,7 @@ class Conf extends stdClass //! Used to store current menu handler public $standard_menu; + /** * @var array List of activated modules */ @@ -163,173 +153,50 @@ class Conf extends stdClass public $fournisseur; /** - * @var stdClass + * @var stdClass Product */ public $product; /** - * @var stdClass - * @deprecated Use $product - * @see $product - */ - private $produit; - - /** - * @var stdClass + * @deprecated Use product */ + public $produit; public $service; - /** - * @var stdClass - * @deprecated Use $contract - * @see $contract - */ - private $contrat; - - /** - * @var stdClass + * @deprecated Use contract */ + public $contrat; public $contract; - - /** - * @var stdClass - */ public $actions; - - /** - * @var stdClass - */ public $agenda; - - /** - * @var stdClass - * @deprecated Use $order - * @see $order - */ - private $commande; - - /** - * @var stdClass - */ + public $commande; public $propal; - - /** - * @var stdClass - */ public $order; - /** - * @var stdClass - * @deprecated Use $invoice - * @see $invoice - */ - private $facture; - - - /** - * @var stdClass + * @deprecated Use invoice */ + public $facture; public $invoice; - - /** - * @var stdClass - */ public $user; - /** - * @var stdClass - * @deprecated Use $member - * @see $member - */ - private $adherent; - - - /** - * @var stdClass + * @deprecated Use member */ + public $adherent; public $member; - - /** - * @var stdClass - */ public $bank; - - /** - * @var stdClass - */ public $notification; - - /** - * @var stdClass - */ public $expensereport; - - /** - * @var stdClass - */ public $productbatch; - /** - * @var stdClass - * @deprecated Use $project - * @see $project - */ - private $projet; - - - /** - * @var stdClass + * @deprecated Use project */ + public $projet; public $project; - - /** - * @var stdClass - */ public $supplier_proposal; - - /** - * @var stdClass - */ public $supplier_order; - - /** - * @var stdClass - */ public $supplier_invoice; - - /** - * @var stdClass - */ public $category; - /** - * @var stdClass - * @deprecated Use $category - * @see $category - */ - private $categorie; - - /** - * @var stdClass - * @deprecated Use $supplier_proposal - * @see $supplier_proposal - */ - private $supplierproposal; - - /** - * @var stdClass - * @deprecated Use $delivery_note - * @see $delivery_note - */ - private $expedition; - - /** - * @var stdClass - * @deprecated Use $bank - * @see $bank - */ - private $banque; - /** * Constructor @@ -381,14 +248,14 @@ class Conf extends stdClass $this->fournisseur = new stdClass(); $this->product = new stdClass(); $this->service = new stdClass(); - $this->contract = new stdClass(); + $this->contrat = new stdClass(); $this->actions = new stdClass(); $this->agenda = new stdClass(); - $this->order = new stdClass(); + $this->commande = new stdClass(); $this->propal = new stdClass(); - $this->invoice = new stdClass(); + $this->facture = new stdClass(); $this->user = new stdClass(); - $this->member = new stdClass(); + $this->adherent = new stdClass(); $this->bank = new stdClass(); $this->notification = new stdClass(); $this->expensereport = new stdClass(); @@ -449,14 +316,14 @@ class Conf extends stdClass $this->fournisseur = new stdClass(); $this->product = new stdClass(); $this->service = new stdClass(); - $this->contract = new stdClass(); + $this->contrat = new stdClass(); $this->actions = new stdClass(); $this->agenda = new stdClass(); - $this->order = new stdClass(); + $this->commande = new stdClass(); $this->propal = new stdClass(); - $this->invoice = new stdClass(); + $this->facture = new stdClass(); $this->user = new stdClass(); - $this->member = new stdClass(); + $this->adherent = new stdClass(); $this->bank = new stdClass(); $this->notification = new stdClass(); $this->expensereport = new stdClass(); @@ -557,6 +424,12 @@ class Conf extends stdClass } elseif (preg_match('/^MAIN_MODULE_([0-9A-Z_]+)$/i', $key, $reg)) { // If this is a module constant (must be at end) $modulename = strtolower($reg[1]); + if ($modulename == 'propale') { + $modulename = 'propal'; + } + if ($modulename == 'supplierproposal') { + $modulename = 'supplier_proposal'; + } $this->modules[$modulename] = $modulename; // Add this module in list of enabled modules // deprecated in php 8.2 @@ -567,6 +440,7 @@ class Conf extends stdClass $this->$modulename->enabled = true; // TODO Remove this // Duplicate entry with the new name + /* $mapping = $this->deprecatedProperties(); if (array_key_exists($modulename, $mapping)) { $newmodulename = $mapping[$modulename]; @@ -577,6 +451,7 @@ class Conf extends stdClass } $this->$newmodulename->enabled = true; // TODO Remove this } + */ } } } @@ -796,12 +671,12 @@ class Conf extends stdClass $this->productbatch->multidir_output = array($this->entity => $rootfordata."/productlot"); $this->productbatch->multidir_temp = array($this->entity => $rootfortemp."/productlot/temp"); - // Module contract - $this->contract->multidir_output = array($this->entity => $rootfordata."/contract"); - $this->contract->multidir_temp = array($this->entity => $rootfortemp."/contract/temp"); + // Module contrat + $this->contrat->multidir_output = array($this->entity => $rootfordata."/contract"); + $this->contrat->multidir_temp = array($this->entity => $rootfortemp."/contract/temp"); // For backward compatibility - $this->contract->dir_output = $rootfordata."/contract"; - $this->contract->dir_temp = $rootfortemp."/contract/temp"; + $this->contrat->dir_output = $rootfordata."/contract"; + $this->contrat->dir_temp = $rootfortemp."/contract/temp"; // Module bank $this->bank->multidir_output = array($this->entity => $rootfordata."/bank"); @@ -1084,23 +959,23 @@ class Conf extends stdClass // Delay before warnings // Avoid strict errors. TODO: Replace xxx->warning_delay with a property ->warning_delay_xxx if (isset($this->agenda)) { - $this->member->subscription = new stdClass(); - $this->member->subscription->warning_delay = (isset($this->global->MAIN_DELAY_MEMBERS) ? (int) $this->global->MAIN_DELAY_MEMBERS : 0) * 86400; + $this->adherent->subscription = new stdClass(); + $this->adherent->subscription->warning_delay = (isset($this->global->MAIN_DELAY_MEMBERS) ? (int) $this->global->MAIN_DELAY_MEMBERS : 0) * 86400; } if (isset($this->agenda)) { $this->agenda->warning_delay = (isset($this->global->MAIN_DELAY_ACTIONS_TODO) ? (int) $this->global->MAIN_DELAY_ACTIONS_TODO : 7) * 86400; } - if (isset($this->project)) { - $this->project->warning_delay = (getDolGlobalInt('MAIN_DELAY_PROJECT_TO_CLOSE', 7) * 86400); - $this->project->task = new StdClass(); - $this->project->task->warning_delay = (getDolGlobalInt('MAIN_DELAY_TASKS_TODO', 7) * 86400); + if (isset($this->projet)) { + $this->projet->warning_delay = (getDolGlobalInt('MAIN_DELAY_PROJECT_TO_CLOSE', 7) * 86400); + $this->projet->task = new StdClass(); + $this->projet->task->warning_delay = (getDolGlobalInt('MAIN_DELAY_TASKS_TODO', 7) * 86400); } - if (isset($this->order)) { - $this->order->client = new stdClass(); - $this->order->fournisseur = new stdClass(); - $this->order->client->warning_delay = (isset($this->global->MAIN_DELAY_ORDERS_TO_PROCESS) ? (int) $this->global->MAIN_DELAY_ORDERS_TO_PROCESS : 2) * 86400; - $this->order->fournisseur->warning_delay = (isset($this->global->MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS) ? (int) $this->global->MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS : 7) * 86400; + if (isset($this->commande)) { + $this->commande->client = new stdClass(); + $this->commande->fournisseur = new stdClass(); + $this->commande->client->warning_delay = (isset($this->global->MAIN_DELAY_ORDERS_TO_PROCESS) ? (int) $this->global->MAIN_DELAY_ORDERS_TO_PROCESS : 2) * 86400; + $this->commande->fournisseur->warning_delay = (isset($this->global->MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS) ? (int) $this->global->MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS : 7) * 86400; } if (isset($this->propal)) { $this->propal->cloture = new stdClass(); @@ -1108,20 +983,20 @@ class Conf extends stdClass $this->propal->cloture->warning_delay = (isset($this->global->MAIN_DELAY_PROPALS_TO_CLOSE) ? (int) $this->global->MAIN_DELAY_PROPALS_TO_CLOSE : 0) * 86400; $this->propal->facturation->warning_delay = (isset($this->global->MAIN_DELAY_PROPALS_TO_BILL) ? (int) $this->global->MAIN_DELAY_PROPALS_TO_BILL : 0) * 86400; } - if (isset($this->invoice)) { - $this->invoice->client = new stdClass(); - $this->invoice->fournisseur = new stdClass(); - $this->invoice->client->warning_delay = (isset($this->global->MAIN_DELAY_CUSTOMER_BILLS_UNPAYED) ? (int) $this->global->MAIN_DELAY_CUSTOMER_BILLS_UNPAYED : 0) * 86400; - $this->invoice->fournisseur->warning_delay = (isset($this->global->MAIN_DELAY_SUPPLIER_BILLS_TO_PAY) ? (int) $this->global->MAIN_DELAY_SUPPLIER_BILLS_TO_PAY : 0) * 86400; + if (isset($this->facture)) { + $this->facture->client = new stdClass(); + $this->facture->fournisseur = new stdClass(); + $this->facture->client->warning_delay = (isset($this->global->MAIN_DELAY_CUSTOMER_BILLS_UNPAYED) ? (int) $this->global->MAIN_DELAY_CUSTOMER_BILLS_UNPAYED : 0) * 86400; + $this->facture->fournisseur->warning_delay = (isset($this->global->MAIN_DELAY_SUPPLIER_BILLS_TO_PAY) ? (int) $this->global->MAIN_DELAY_SUPPLIER_BILLS_TO_PAY : 0) * 86400; } - if (isset($this->contract)) { - $this->contract->services = new stdClass(); - $this->contract->services->inactifs = new stdClass(); - $this->contract->services->expires = new stdClass(); - $this->contract->services->inactifs->warning_delay = (isset($this->global->MAIN_DELAY_NOT_ACTIVATED_SERVICES) ? (int) $this->global->MAIN_DELAY_NOT_ACTIVATED_SERVICES : 0) * 86400; - $this->contract->services->expires->warning_delay = (isset($this->global->MAIN_DELAY_RUNNING_SERVICES) ? (int) $this->global->MAIN_DELAY_RUNNING_SERVICES : 0) * 86400; + if (isset($this->contrat)) { + $this->contrat->services = new stdClass(); + $this->contrat->services->inactifs = new stdClass(); + $this->contrat->services->expires = new stdClass(); + $this->contrat->services->inactifs->warning_delay = (isset($this->global->MAIN_DELAY_NOT_ACTIVATED_SERVICES) ? (int) $this->global->MAIN_DELAY_NOT_ACTIVATED_SERVICES : 0) * 86400; + $this->contrat->services->expires->warning_delay = (isset($this->global->MAIN_DELAY_RUNNING_SERVICES) ? (int) $this->global->MAIN_DELAY_RUNNING_SERVICES : 0) * 86400; } - if (isset($this->order)) { + if (isset($this->commande)) { $this->bank->rappro = new stdClass(); $this->bank->cheque = new stdClass(); $this->bank->rappro->warning_delay = (isset($this->global->MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE) ? (int) $this->global->MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE : 0) * 86400; @@ -1223,6 +1098,35 @@ class Conf extends stdClass unset($this->global->MAIN_NO_CONCAT_DESCRIPTION); } + // product is new use + if (isset($this->product)) { + // For backward compatibility + $this->produit = $this->product; + } + // invoice is new use, facture is old use still initialised + if (isset($this->facture)) { + $this->invoice = $this->facture; + } + // order is new use, commande is old use still initialised + if (isset($this->commande)) { + $this->order = $this->commande; + } + // contract is new use, contrat is old use still initialised + if (isset($this->contrat)) { + $this->contract = $this->contrat; + } + // category is new use, categorie is old use still initialised + if (isset($this->categorie)) { + $this->category = $this->categorie; + } + // project is new use, projet is old use still initialised + if (isset($this->projet) && !isset($this->project)) { + $this->project = $this->projet; + } + // member is new use, adherent is old use still initialised + if (isset($this->adherent) && !isset($this->member)) { + $this->member = $this->adherent; + } // Object $mc if (!defined('NOREQUIREMC') && isModEnabled('multicompany')) { From 8d1efd29164dc694bd865a29f9ea01af9093d2d8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Apr 2024 23:14:11 +0200 Subject: [PATCH 23/45] Clean code --- htdocs/core/class/conf.class.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 3b0bae9546c..94611852d22 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -19,6 +19,7 @@ * along with this program. If not, see . */ + /** * \file htdocs/core/class/conf.class.php * \ingroup core @@ -169,8 +170,11 @@ class Conf extends stdClass public $contract; public $actions; public $agenda; - public $commande; public $propal; + /** + * @deprecated Use order + */ + public $commande; public $order; /** * @deprecated Use invoice @@ -1098,6 +1102,8 @@ class Conf extends stdClass unset($this->global->MAIN_NO_CONCAT_DESCRIPTION); } + // Simple deprecation management. We do not use DolDeprecationHandlet for $conf. + // product is new use if (isset($this->product)) { // For backward compatibility From 40165541d9ff83f91647a933b14e34846f4085ef Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 01:35:36 +0200 Subject: [PATCH 24/45] Look and feel v20 --- htdocs/core/class/html.formcron.class.php | 13 ++++-------- htdocs/core/lib/functions.lib.php | 2 +- htdocs/cron/card.php | 2 +- htdocs/cron/list.php | 24 +++++++++++++---------- 4 files changed, 20 insertions(+), 21 deletions(-) diff --git a/htdocs/core/class/html.formcron.class.php b/htdocs/core/class/html.formcron.class.php index a4484a49dd6..69730aaca51 100644 --- a/htdocs/core/class/html.formcron.class.php +++ b/htdocs/core/class/html.formcron.class.php @@ -63,19 +63,14 @@ class FormCron extends Form // phpcs:enable global $langs; - $langs->load('cron@cron'); + $langs->load('cron'); + $out = ''; if (!empty($readonly)) { if ($selected == 'command') { - $out = $langs->trans('CronType_command'); - $out .= ''; + $out = img_picto('', 'terminal', 'class="pictofixedwidth marginrightonly"').''.$langs->trans('CronType_command').''; } elseif ($selected == 'method') { - $out = $langs->trans('CronType_method'); - $out .= ''; + $out = img_picto('', 'code', 'class="pictofixedwidth marginrightonly"').''.$langs->trans('CronType_method').''; } } else { $out = ''; +print ''; print ''; print ' '; print ''; @@ -493,11 +493,11 @@ print_liste_field_titre("Ref", $_SERVER["PHP_SELF"], "t.rowid", "", $param, '', print_liste_field_titre("CronLabel", $_SERVER["PHP_SELF"], "t.label", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("Priority", $_SERVER["PHP_SELF"], "t.priority", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("CronModule", $_SERVER["PHP_SELF"], "t.module_name", "", $param, '', $sortfield, $sortorder); -print_liste_field_titre("CronType", '', '', "", $param, '', $sortfield, $sortorder, 'tdoverflowmax100 '); +print_liste_field_titre("", '', '', "", $param, '', $sortfield, $sortorder, 'tdoverflowmax50 '); print_liste_field_titre("CronFrequency", '', "", "", $param, '', $sortfield, $sortorder); //print_liste_field_titre("CronDtStart", $_SERVER["PHP_SELF"], "t.datestart", "", $param, 'align="center"', $sortfield, $sortorder); //print_liste_field_titre("CronDtEnd", $_SERVER["PHP_SELF"], "t.dateend", "", $param, 'align="center"', $sortfield, $sortorder); -print_liste_field_titre("CronNbRun", $_SERVER["PHP_SELF"], "t.nbrun", "", $param, '', $sortfield, $sortorder, 'right tdoverflowmax50 '); +print_liste_field_titre("CronNbRun", $_SERVER["PHP_SELF"], "t.nbrun", "", $param, '', $sortfield, $sortorder, 'right tdoverflowmax50 maxwidth50imp '); print_liste_field_titre("CronDtLastLaunch", $_SERVER["PHP_SELF"], "t.datelastrun", "", $param, '', $sortfield, $sortorder, 'center tdoverflowmax100 '); print_liste_field_titre("Duration", $_SERVER["PHP_SELF"], "", "", $param, '', $sortfield, $sortorder, 'center '); print_liste_field_titre("CronLastResult", $_SERVER["PHP_SELF"], "t.lastresult", "", $param, '', $sortfield, $sortorder, 'center '); @@ -567,10 +567,12 @@ if ($num > 0) { print ''; // Label - print ''; + print ''; if (!empty($object->label)) { $object->ref = $langs->trans($object->label); - print ''.$object->getNomUrl(0, '', 1).''; + print '
    '; + print $object->getNomUrl(0, '', 1); + print '
    '; $object->ref = $obj->rowid; } else { //print $langs->trans('CronNone'); @@ -590,20 +592,22 @@ if ($num > 0) { // Class/Method print ''; if ($obj->jobtype == 'method') { - $text = $langs->trans("CronClass"); - $texttoshow = $langs->trans('CronModule').': '.$obj->module_name.'
    '; + $text = img_picto('', 'code'); + $texttoshow = ''.$langs->trans("CronType_method").'

    '; + $texttoshow .= $langs->trans('CronModule').': '.$obj->module_name.'
    '; $texttoshow .= $langs->trans('CronClass').': '.$obj->classesname.'
    '; $texttoshow .= $langs->trans('CronObject').': '.$obj->objectname.'
    '; $texttoshow .= $langs->trans('CronMethod').': '.$obj->methodename; $texttoshow .= '
    '.$langs->trans('CronArgs').': '.$obj->params; $texttoshow .= '
    '.$langs->trans('Comment').': '.$langs->trans($obj->note); } elseif ($obj->jobtype == 'command') { - $text = $langs->trans('CronCommand'); - $texttoshow = $langs->trans('CronCommand').': '.dol_trunc($obj->command); + $text = img_picto('', 'terminal'); + $texttoshow = ''.$langs->trans('CronType_command').'

    '; + $texttoshow .= $langs->trans('CronCommand').': '.dol_trunc($obj->command); $texttoshow .= '
    '.$langs->trans('CronArgs').': '.$obj->params; $texttoshow .= '
    '.$langs->trans('Comment').': '.$langs->trans($obj->note); } - print $form->textwithpicto($text, $texttoshow, 1); + print ''.$text.''; print ''; // Frequency From 4887c9db0fe0a6d97f496ea4b71bf25a090ad73d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 01:49:23 +0200 Subject: [PATCH 25/45] Look and feel v20 --- htdocs/cron/card.php | 6 +++--- htdocs/cron/list.php | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/cron/card.php b/htdocs/cron/card.php index c8d0d3c5ed5..15c6b847166 100644 --- a/htdocs/cron/card.php +++ b/htdocs/cron/card.php @@ -593,7 +593,7 @@ if (($action == "create") || ($action == "edit")) { print "".$langs->trans($object->label); print "";*/ - print ''; + print ''; print $langs->trans('CronType').""; print $formCron->select_typejob('jobtype', $object->jobtype, 1); print ""; @@ -660,7 +660,7 @@ if (($action == "create") || ($action == "edit")) { print '
    '; print ''; - print '"; print "
    '; + print '
    '; print $langs->trans('CronEvery').""; if ($object->unitfrequency == "60") { @@ -741,7 +741,7 @@ if (($action == "create") || ($action == "edit")) { print '
    '; print ''; - print ''; print ''; -print ''; +//print ''; print ''; print ''; print ''; @@ -491,7 +491,7 @@ if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { } print_liste_field_titre("Ref", $_SERVER["PHP_SELF"], "t.rowid", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("CronLabel", $_SERVER["PHP_SELF"], "t.label", "", $param, '', $sortfield, $sortorder); -print_liste_field_titre("Priority", $_SERVER["PHP_SELF"], "t.priority", "", $param, '', $sortfield, $sortorder); +//print_liste_field_titre("Priority", $_SERVER["PHP_SELF"], "t.priority", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("CronModule", $_SERVER["PHP_SELF"], "t.module_name", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("", '', '', "", $param, '', $sortfield, $sortorder, 'tdoverflowmax50 '); print_liste_field_titre("CronFrequency", '', "", "", $param, '', $sortfield, $sortorder); @@ -567,7 +567,7 @@ if ($num > 0) { print ''; // Label - print ''; // Priority - print ''; + print '';*/ // Module print ''; } // Weight @@ -1109,7 +1109,7 @@ while ($i < $imaxinloop) { // Tracking number if (!empty($arrayfields['e.tracking_number']['checked'])) { $shipment->getUrlTrackingStatus($obj->tracking_number); - print '\n"; + print '\n"; //print $form->editfieldval("TrackingNumber", 'tracking_number', $obj->tracking_url, $obj, $user->rights->expedition->creer, 'string', $obj->tracking_number); if (!$i) { $totalarray['nbfield']++; @@ -1125,7 +1125,7 @@ while ($i < $imaxinloop) { if (!empty($arrayfields['l.ref']['checked'])) { // Ref - print ''; } From 0284ee2ee1f9856feb5e858dee6b1a647980a5e2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 13:05:58 +0200 Subject: [PATCH 32/45] Fix position of description of product on left on espadon template --- htdocs/core/modules/expedition/doc/pdf_espadon.modules.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php index d9ce20cf877..86862b9519b 100644 --- a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php @@ -1262,6 +1262,7 @@ class pdf_espadon extends ModelePdfExpedition ), 'content' => array( 'padding' => array(1, 0.5, 1, 1.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left + 'align' => 'L', ), ); From 05042722dbab1c9b957da9a7f2671823723db6b7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 13:12:12 +0200 Subject: [PATCH 33/45] Fix transifex --- htdocs/langs/fr_FR/deliveries.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/langs/fr_FR/deliveries.lang b/htdocs/langs/fr_FR/deliveries.lang index be7a7729122..79b0a5d7735 100644 --- a/htdocs/langs/fr_FR/deliveries.lang +++ b/htdocs/langs/fr_FR/deliveries.lang @@ -1,7 +1,7 @@ # Dolibarr language file - Source file is en_US - deliveries Delivery=Livraison DeliveryRef=Référence de livraison -DeliveryCard=Réception de stock +DeliveryCard=Bon de réception DeliveryOrder=Bon de réception DeliveryDate=Date de livraison CreateDeliveryOrder=Générer bon de réception From 389857fdf1aeda222c37f6a9416c689f6cee0639 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 13:16:32 +0200 Subject: [PATCH 34/45] FIX missing trans on VolumeUnitcm3 --- htdocs/core/lib/signature.lib.php | 2 +- htdocs/core/modules/expedition/doc/pdf_espadon.modules.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/signature.lib.php b/htdocs/core/lib/signature.lib.php index 8c59225d325..1cd92a21d53 100644 --- a/htdocs/core/lib/signature.lib.php +++ b/htdocs/core/lib/signature.lib.php @@ -61,7 +61,7 @@ function showOnlineSignatureUrl($type, $ref, $obj = null) */ function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1, $obj = null) { - global $conf, $dolibarr_main_url_root; + global $dolibarr_main_url_root; if (empty($obj)) { // For compatibility with 15.0 -> 19.0 diff --git a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php index 86862b9519b..dce2d2484e6 100644 --- a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php @@ -139,7 +139,7 @@ class pdf_espadon extends ModelePdfExpedition } // Load traductions files required by page - $outputlangs->loadLangs(array("main", "bills", "orders", "products", "dict", "companies", "propal", "deliveries", "sendings", "productbatch")); + $outputlangs->loadLangs(array("main", "bills", "orders", "products", "dict", "companies", "other", "propal", "deliveries", "sendings", "productbatch")); // Show Draft Watermark if ($object->statut == $object::STATUS_DRAFT && (getDolGlobalString('SHIPPING_DRAFT_WATERMARK'))) { From f9baf3993632a0e8e3749a6aaca3eb214020b807 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 4 Apr 2024 13:47:10 +0200 Subject: [PATCH 35/45] FIX phan error PhanTypeMismatchReturnNullable --- htdocs/core/class/html.formaccounting.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formaccounting.class.php b/htdocs/core/class/html.formaccounting.class.php index c0a093e7244..18dbb8f04b5 100644 --- a/htdocs/core/class/html.formaccounting.class.php +++ b/htdocs/core/class/html.formaccounting.class.php @@ -238,7 +238,7 @@ class FormAccounting extends Form * @param int $maxlen Max length of text in combo box * @param int $help Add or not the admin help picto * @param int $allcountries All countries - * @return string HTML component with the select + * @return void|string HTML component with the select */ public function select_accounting_category($selected = 0, $htmlname = 'account_category', $useempty = 0, $maxlen = 0, $help = 1, $allcountries = 0) { @@ -250,6 +250,8 @@ class FormAccounting extends Form exit; } + $out = ''; + if (!empty($mysoc->country_id)) { $sql = "SELECT c.rowid, c.label as type, c.range_account"; $sql .= " FROM ".$this->db->prefix()."c_accounting_category as c"; @@ -280,7 +282,7 @@ class FormAccounting extends Form if ($num) { $this->nbaccounts_category = $num; - $out = ''; $i = 0; if ($useempty) { @@ -308,7 +310,7 @@ class FormAccounting extends Form $out .= ajax_combobox($htmlname, array()); } else { - $out = ''.$langs->trans("ErrorNoAccountingCategoryForThisCountry", $mysoc->country_code, $langs->transnoentitiesnoconv("Accounting"), $langs->transnoentitiesnoconv("Setup"), $langs->transnoentitiesnoconv("AccountingCategories")).''; + $out .= ''.$langs->trans("ErrorNoAccountingCategoryForThisCountry", $mysoc->country_code, $langs->transnoentitiesnoconv("Accounting"), $langs->transnoentitiesnoconv("Setup"), $langs->transnoentitiesnoconv("AccountingCategories")).''; } } else { dol_print_error($this->db); From 08f45f20dfebf207c5fcac96d2c80054e279b8d4 Mon Sep 17 00:00:00 2001 From: Hystepik Date: Thu, 4 Apr 2024 13:58:05 +0200 Subject: [PATCH 36/45] Fix #29099 add thirdparty name to title --- htdocs/ticket/list.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/htdocs/ticket/list.php b/htdocs/ticket/list.php index cc385982c9d..f48dc44639c 100644 --- a/htdocs/ticket/list.php +++ b/htdocs/ticket/list.php @@ -342,7 +342,17 @@ $user_temp = new User($db); $socstatic = new Societe($db); $help_url = ''; -$title = $langs->trans('Tickets'); + +$moretitle = ''; +if ($socid > 0) { + $socstatic->fetch($socid); + $moretitle = $langs->trans("ThirdParty") . ' - '; + if (getDolGlobalString('MAIN_HTML_TITLE') && preg_match('/thirdpartynameonly/', $conf->global->MAIN_HTML_TITLE) && $socstatic->name) { + $moretitle = $socstatic->name . ' - '; + } +} + +$title = $moretitle . $langs->trans('Tickets'); $morejs = array(); $morecss = array(); From 1551d024492d18b87d3c154670d225477c30016e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 15:05:13 +0200 Subject: [PATCH 37/45] Trans --- htdocs/langs/en_US/mails.lang | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/langs/en_US/mails.lang b/htdocs/langs/en_US/mails.lang index 4c1a5a08f0a..8704735f1ac 100644 --- a/htdocs/langs/en_US/mails.lang +++ b/htdocs/langs/en_US/mails.lang @@ -9,6 +9,7 @@ MailRecipients=Recipients MailRecipient=Recipient MailTitle=Label MailFrom=From +ForceEmailFrom=Default email From PhoneFrom=From MailErrorsTo=Errors to MailReply=Reply to From 0fc08e8926bca036e53ed19aea2b1f48ad3faf83 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 15:15:04 +0200 Subject: [PATCH 38/45] Clean translation files --- dev/translation/ignore_translation_keys.lst | 4 ---- htdocs/core/class/fiscalyear.class.php | 2 +- htdocs/langs/en_US/admin.lang | 1 + htdocs/modulebuilder/index.php | 4 ++-- htdocs/ticket/class/ticket.class.php | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 1f6bbe80e59..908b56407cc 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -436,9 +436,7 @@ FileDidAlreadyExist FileIsNotCorrect Filename FilteredFrom -FiscalYear Flashy -ForceEmailFrom ForcedByGlobalSetup Form for public lead registration has not been enabled Free @@ -1143,8 +1141,6 @@ XSubsriptionError centimes email id -leftmenu -message multicurrency_buyPriceInCurrency multicurrency_modifyRateApplication ref diff --git a/htdocs/core/class/fiscalyear.class.php b/htdocs/core/class/fiscalyear.class.php index 4b6f6f60939..fae363c13e2 100644 --- a/htdocs/core/class/fiscalyear.class.php +++ b/htdocs/core/class/fiscalyear.class.php @@ -360,7 +360,7 @@ class Fiscalyear extends CommonObject $linkclose = ''; if (empty($notooltip) && $user->hasRight('accounting', 'fiscalyear', 'write')) { if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { - $label = $langs->trans("FiscalYear"); + $label = $langs->trans("FiscalPeriod"); $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; } $linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"'; diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index a9d4bde40ae..93a234564aa 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -1992,6 +1992,7 @@ BackgroundColor=Background color TopMenuBackgroundColor=Background color for Top menu TopMenuDisableImages=Icon or Text in Top menu LeftMenuBackgroundColor=Background color for Left menu +LeftmenuId=Left menu ID BackgroundTableTitleColor=Background color for Table title line BackgroundTableTitleTextColor=Text color for Table title line BackgroundTableTitleTextlinkColor=Text color for Table title link line diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index f2261034547..2f555335c2d 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -2766,7 +2766,7 @@ if ($dirins && $action == 'addmenu' && empty($cancel)) { if (GETPOST('type', 'alpha') == 'left' && !empty(GETPOST('lefmenu', 'alpha'))) { if (!str_contains(GETPOST('leftmenu'), strtolower($module))) { $error++; - setEventMessages($langs->trans("WarningFieldsMustContains", $langs->transnoentities("leftmenu")), null, 'errors'); + setEventMessages($langs->trans("WarningFieldsMustContains", $langs->transnoentities("LeftmenuId")), null, 'errors'); } } $dirins = $listofmodules[strtolower($module)]['moduledescriptorrootpath']; @@ -2776,7 +2776,7 @@ if ($dirins && $action == 'addmenu' && empty($cancel)) { if (GETPOST('type', 'alpha') == 'left') { if (empty(GETPOST('leftmenu')) && count($objects) > 0) { $error++; - setEventMessages($langs->trans("ErrorCoherenceMenu", $langs->transnoentities("leftmenu"), $langs->transnoentities("type")), null, 'errors'); + setEventMessages($langs->trans("ErrorCoherenceMenu", $langs->transnoentities("LeftmenuId"), $langs->transnoentities("type")), null, 'errors'); } } if (GETPOST('type', 'alpha') == 'top') { diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index 70d607c9633..9163ecb38a8 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -2630,7 +2630,7 @@ class Ticket extends CommonObject if (!GETPOST("message")) { $error++; - array_push($this->errors, $langs->trans("ErrorFieldRequired", $langs->transnoentities("message"))); + array_push($this->errors, $langs->trans("ErrorFieldRequired", $langs->transnoentities("Message"))); $action = 'add_message'; } From ddacb21a44b81e79525236a64261d7ec5dfab3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Fali=C3=A8re?= Date: Thu, 4 Apr 2024 15:41:08 +0200 Subject: [PATCH 39/45] NEW: constant MAIN_DISCARD_CLOSED_PROJECTS_IN_SELECT --- htdocs/core/class/html.formprojet.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index b6f50754c6b..95920477d92 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -4,6 +4,7 @@ * Copyright (C) 2018 Charlene Benke * Copyright (C) 2024 Frédéric France * Copyright (C) 2024 MDW + * Copyright (C) 2024 Benjamin Falière * * 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 @@ -169,6 +170,10 @@ class FormProjets extends Form $hideunselectables = true; } + if (getDolGlobalInt('MAIN_DISCARD_CLOSED_PROJECTS_IN_SELECT')) { + $discard_closed = 1; + } + $projectsListId = false; if (!$user->hasRight('projet', 'all', 'lire')) { $projectstatic = new Project($this->db); From e27cf045b8b5a56e46c0b23cbc8bc2e13e9d8f4e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 15:55:08 +0200 Subject: [PATCH 40/45] Trans --- htdocs/langs/en_US/admin.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 93a234564aa..78158e26c2c 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -343,7 +343,7 @@ MenuHandlers=Menu handlers MenuAdmin=Menu editor DoNotUseInProduction=Do not use in production ThisIsProcessToFollow=Upgrade procedure: -ThisIsAlternativeProcessToFollow=This is an alternative setup to process manually: +ThisIsAlternativeProcessToFollow=This is an alternative deployment process you can run manually: StepNb=Step %s FindPackageFromWebSite=Find a package that provides the features you need (for example on the official web site %s). DownloadPackageFromWebSite=Download package (for example from the official web site %s). From c24bbe225966140970c728a58e5d536131f8cde8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 16:06:21 +0200 Subject: [PATCH 41/45] SEC Add a protection against installation of external module bypassing installmodules.lock --- htdocs/admin/modules.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 24dc394d0f8..90a8a8f71fd 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -123,6 +123,13 @@ if ($max_time && $max_time < $max_execution_time_for_deploy) { @ini_set("max_execution_time", $max_execution_time_for_deploy); // This work only if safe mode is off. also web servers has timeout of 300 } +$dolibarrdataroot = preg_replace('/([\\/]+)$/i', '', DOL_DATA_ROOT); +$allowonlineinstall = true; +$allowfromweb = 1; +if (dol_is_file($dolibarrdataroot.'/installmodules.lock')) { + $allowonlineinstall = false; +} + /* * Actions @@ -143,7 +150,7 @@ if (GETPOST('buttonreset', 'alpha')) { $search_version = ''; } -if ($action == 'install') { +if ($action == 'install' && $allowonlineinstall) { $error = 0; // $original_file should match format module_modulename-x.y[.z].zip @@ -264,6 +271,8 @@ if ($action == 'install') { if (!$error) { setEventMessages($langs->trans("SetupIsReadyForUse", DOL_URL_ROOT.'/admin/modules.php?mainmenu=home', $langs->transnoentitiesnoconv("Home").' - '.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("Modules")), null, 'warnings'); } +} elseif ($action == 'install' && !$allowonlineinstall) { + httponly_accessforbidden("You try to bypass the protection to disallow deployment of an external module. Hack attempt ?"); } if ($action == 'set' && $user->admin) { @@ -1191,13 +1200,6 @@ if ($mode == 'marketplace') { if ($mode == 'deploy') { print dol_get_fiche_head($head, $mode, '', -1); - $dolibarrdataroot = preg_replace('/([\\/]+)$/i', '', DOL_DATA_ROOT); - $allowonlineinstall = true; - $allowfromweb = 1; - if (dol_is_file($dolibarrdataroot.'/installmodules.lock')) { - $allowonlineinstall = false; - } - $fullurl = ''.$urldolibarrmodules.''; $message = ''; if ($allowonlineinstall) { From 0fec23f43790a026a91b4f9421beca4a538ac23b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 16:09:19 +0200 Subject: [PATCH 42/45] Update html.formprojet.class.php --- htdocs/core/class/html.formprojet.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index 95920477d92..0ad1bf1d643 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -169,8 +169,7 @@ class FormProjets extends Form if (getDolGlobalString('PROJECT_HIDE_UNSELECTABLES')) { $hideunselectables = true; } - - if (getDolGlobalInt('MAIN_DISCARD_CLOSED_PROJECTS_IN_SELECT')) { + if (getDolGlobalInt('PROJECT_ALWAYS_DISCARD_CLOSED_PROJECTS_IN_SELECT')) { $discard_closed = 1; } From f2c70d952a5145d42d1e062b94ba85c72d7dde66 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 16:06:21 +0200 Subject: [PATCH 43/45] SEC Add a protection against installation of external module bypassing installmodules.lock --- htdocs/admin/modules.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 39200ecfe8f..8e0a8bb66ce 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -122,6 +122,13 @@ if ($max_time && $max_time < $max_execution_time_for_deploy) { @ini_set("max_execution_time", $max_execution_time_for_deploy); // This work only if safe mode is off. also web servers has timeout of 300 } +$dolibarrdataroot = preg_replace('/([\\/]+)$/i', '', DOL_DATA_ROOT); +$allowonlineinstall = true; +$allowfromweb = 1; +if (dol_is_file($dolibarrdataroot.'/installmodules.lock')) { + $allowonlineinstall = false; +} + /* * Actions @@ -142,7 +149,7 @@ if (GETPOST('buttonreset', 'alpha')) { $search_version = ''; } -if ($action == 'install') { +if ($action == 'install' && $allowonlineinstall) { $error = 0; // $original_file should match format module_modulename-x.y[.z].zip @@ -263,6 +270,8 @@ if ($action == 'install') { if (!$error) { setEventMessages($langs->trans("SetupIsReadyForUse", DOL_URL_ROOT.'/admin/modules.php?mainmenu=home', $langs->transnoentitiesnoconv("Home").' - '.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("Modules")), null, 'warnings'); } +} elseif ($action == 'install' && !$allowonlineinstall) { + httponly_accessforbidden("You try to bypass the protection to disallow deployment of an external module. Hack attempt ?"); } if ($action == 'set' && $user->admin) { @@ -1175,13 +1184,6 @@ if ($mode == 'marketplace') { if ($mode == 'deploy') { print dol_get_fiche_head($head, $mode, '', -1); - $dolibarrdataroot = preg_replace('/([\\/]+)$/i', '', DOL_DATA_ROOT); - $allowonlineinstall = true; - $allowfromweb = 1; - if (dol_is_file($dolibarrdataroot.'/installmodules.lock')) { - $allowonlineinstall = false; - } - $fullurl = ''.$urldolibarrmodules.''; $message = ''; if ($allowonlineinstall) { From 5cd0456e9e0c2a78ea32d7429915ad2760cb5f82 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 16:35:21 +0200 Subject: [PATCH 44/45] Fix doxygen --- htdocs/core/class/html.formaccounting.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formaccounting.class.php b/htdocs/core/class/html.formaccounting.class.php index b8b6cabe6c1..767ba003cf5 100644 --- a/htdocs/core/class/html.formaccounting.class.php +++ b/htdocs/core/class/html.formaccounting.class.php @@ -317,9 +317,9 @@ class FormAccounting extends Form /** * Return select filter with date of transaction * - * @param string $htmlname Name of select field - * @param string $selectedkey Value - * @return string HTML edit field + * @param string $htmlname Name of select field + * @param string $selectedkey Value + * @return string|int HTML edit field */ public function select_bookkeeping_importkey($htmlname = 'importkey', $selectedkey = '') { From 60bc60db48b1fa6fc36a9dc1de6f9835a216850f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 16:48:27 +0200 Subject: [PATCH 45/45] FIX #29225 --- htdocs/hrm/class/skill.class.php | 4 +--- htdocs/hrm/class/skilldet.class.php | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/htdocs/hrm/class/skill.class.php b/htdocs/hrm/class/skill.class.php index 01861a6b185..d957fbc92f0 100644 --- a/htdocs/hrm/class/skill.class.php +++ b/htdocs/hrm/class/skill.class.php @@ -408,7 +408,7 @@ class Skill extends CommonObject $this->lines = array(); require_once __DIR__ . '/skilldet.class.php'; $skilldet = new Skilldet($this->db); - $this->lines = $skilldet->fetchAll('ASC', '', '', '', array('fk_skill' => $this->id), ''); + $this->lines = $skilldet->fetchAll('ASC', '', 0, 0, array('fk_skill' => $this->id)); if (is_array($this->lines)) { return (count($this->lines) > 0) ? $this->lines : array(); @@ -434,8 +434,6 @@ class Skill extends CommonObject */ public function fetchAll($sortorder = '', $sortfield = '', $limit = 0, $offset = 0, array $filter = array(), $filtermode = 'AND') { - global $conf; - dol_syslog(__METHOD__, LOG_DEBUG); $records = array(); diff --git a/htdocs/hrm/class/skilldet.class.php b/htdocs/hrm/class/skilldet.class.php index b9df29a9daf..29e2e92c2e8 100644 --- a/htdocs/hrm/class/skilldet.class.php +++ b/htdocs/hrm/class/skilldet.class.php @@ -356,8 +356,6 @@ class Skilldet extends CommonObjectLine */ public function fetchAll($sortorder = '', $sortfield = '', $limit = 0, $offset = 0, array $filter = array(), $filtermode = 'AND') { - global $conf; - dol_syslog(__METHOD__, LOG_DEBUG); $records = array();
    '; + print '
    '; print $langs->trans('CronDtLastLaunch').""; if (!empty($object->datelastrun)) { print $form->textwithpicto(dol_print_date($object->datelastrun, 'dayhoursec'), $langs->trans("CurrentTimeZone")); diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index b2b9a2b3bad..892f770f7ab 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -459,7 +459,7 @@ print ' '; print ''; print '    '; + print ''; if (!empty($object->label)) { $object->ref = $langs->trans($object->label); print '
    '; @@ -580,9 +580,9 @@ if ($num > 0) { print '
    '; + /*print ''; print dol_escape_htmltag($object->priority); - print ''; @@ -694,7 +694,7 @@ if ($num > 0) { if (!empty($obj->datenextrun)) { $datenextrun = $db->jdate($obj->datenextrun); if (empty($obj->status)) { - print ''; + print ''; } print dol_print_date($datenextrun, 'dayhoursec'); if ($obj->status == Cronjob::STATUS_ENABLED) { From dba5f4bdbc6283824933526404600266f3095996 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 01:51:26 +0200 Subject: [PATCH 26/45] css --- htdocs/cron/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index 892f770f7ab..be06b652cad 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -570,7 +570,7 @@ if ($num > 0) { print ''; if (!empty($object->label)) { $object->ref = $langs->trans($object->label); - print '
    '; + print '
    '; print $object->getNomUrl(0, '', 1); print '
    '; $object->ref = $obj->rowid; From 00b105806eb9b2eec58bf14e994a6aa8efd06776 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 01:59:33 +0200 Subject: [PATCH 27/45] Fix phpunit --- htdocs/comm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index dca5587bfbb..7039a97a59e 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -710,7 +710,7 @@ if (isModEnabled("societe") && $user->hasRight('societe', 'lire')) { * Last modified proposals */ -if (isModEnabled('proposal')) { +if (isModEnabled('propal')) { $sql = "SELECT c.rowid, c.entity, c.ref, c.fk_statut as status, date_cloture as datec, c.tms as datem,"; $sql .= " s.nom as socname, s.rowid as socid, s.canvas, s.client, s.email, s.code_compta"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as c,"; From ad79acf63ce51a89da0c0baacc62f1e5911cfc94 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 11:00:35 +0200 Subject: [PATCH 28/45] QUAL removed duplicate language file --- .../duplicate_translation_keys.lst | 199 ------------------ htdocs/accountancy/admin/defaultaccounts.php | 2 +- htdocs/core/lib/payments.lib.php | 2 +- htdocs/core/lib/signature.lib.php | 4 +- .../class/expensereport.class.php | 2 +- htdocs/expensereport/payment/list.php | 2 +- htdocs/langs/en_US/expensereports.lang | 169 --------------- htdocs/langs/en_US/paybox.lang | 14 -- htdocs/langs/en_US/trips.lang | 12 +- htdocs/langs/eu_ES/expensereports.lang | 2 - htdocs/langs/fr_FR/expensereports.lang | 2 - htdocs/public/onlinesign/newonlinesign.php | 2 +- htdocs/public/payment/paymentko.php | 4 +- htdocs/public/payment/paymentok.php | 6 +- 14 files changed, 22 insertions(+), 400 deletions(-) delete mode 100644 htdocs/langs/en_US/expensereports.lang delete mode 100644 htdocs/langs/eu_ES/expensereports.lang delete mode 100644 htdocs/langs/fr_FR/expensereports.lang diff --git a/dev/translation/duplicate_translation_keys.lst b/dev/translation/duplicate_translation_keys.lst index 4e2c4f3b7a8..cf2ca11565e 100644 --- a/dev/translation/duplicate_translation_keys.lst +++ b/dev/translation/duplicate_translation_keys.lst @@ -1,204 +1,5 @@ -# File with duplicate translation keys that are ignored for -# reporting duplicates. -# FYI: Headers generated on https://manytools.org/hacker-tools/ascii-banner/ - DOS Rebel or ANSI Shadow -# Can also use 'figlet' tool (installable with `apt-get install figlet`) -# -# ██████████ -# ░░███░░░░░█ -# ░███ █ ░ █████ █████ ████████ ██████ ████████ █████ ██████ █████ -# ░██████ ░░███ ░░███ ░░███░░███ ███░░███░░███░░███ ███░░ ███░░███ ███░░ -# ░███░░█ ░░░█████░ ░███ ░███░███████ ░███ ░███ ░░█████ ░███████ ░░█████ -# ░███ ░ █ ███░░░███ ░███ ░███░███░░░ ░███ ░███ ░░░░███░███░░░ ░░░░███ -# ██████████ █████ █████ ░███████ ░░██████ ████ █████ ██████ ░░██████ ██████ -# ░░░░░░░░░░ ░░░░░ ░░░░░ ░███░░░ ░░░░░░ ░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░░ -# ░███ -# █████ -# ░░░░░ -# Expenses and trips overlap quite a bit, which is by design -# -AUTHOR -AUTHORPAIEMENT -AddTrip -AllExpenseReport -AllExpenseReports -AnyOtherInThisListCanValidate -AttachTheNewLineToTheDocument -AucuneLigne -BrouillonnerTrip -CANCEL_USER -CarCategory -ClassifyRefunded -CompanyVisited -ConfirmBrouillonnerTrip -ConfirmCancelTrip -ConfirmCloneExpenseReport -ConfirmDeleteTrip -ConfirmPaidTrip -ConfirmRefuseTrip -ConfirmSaveTrip -ConfirmValideTrip -DATE_CANCEL -DATE_PAIEMENT -DATE_REFUS -DATE_SAVE -DefaultCategoryCar -DefaultRangeNumber -DeleteTrip -EX_BRE -EX_CAM -EX_CAM_VP -EX_CAR -EX_CUR -EX_DOC -EX_EMM -EX_FUE -EX_FUE_VP -EX_GUM -EX_HOT -EX_IND -EX_KME -EX_OTR -EX_PAR -EX_PAR_VP -EX_POS -EX_SUM -EX_SUO -EX_TAX -EX_TOL -EX_TOL_VP -ErrorBadValueForParameter -ErrorDoubleDeclaration -ErrorRecordNotFound -Error_EXPENSEREPORT_ADDON_NotDefined -ExpenseRangeOffset -ExpenseReportApplyTo -ExpenseReportApproved -ExpenseReportApprovedMessage -ExpenseReportCanceled -ExpenseReportCanceledMessage -ExpenseReportConstraintViolationError -ExpenseReportConstraintViolationWarning -ExpenseReportDateEnd -ExpenseReportDateStart -ExpenseReportDomain -ExpenseReportIkDesc -ExpenseReportLimitAmount -ExpenseReportLimitOn -ExpenseReportLine -ExpenseReportPaid -ExpenseReportPaidMessage -ExpenseReportPayment -ExpenseReportRef -ExpenseReportRefused -ExpenseReportRefusedMessage -ExpenseReportRestrictive -ExpenseReportRuleErrorOnSave -ExpenseReportRuleSave -ExpenseReportRulesDesc -ExpenseReportWaitingForApproval -ExpenseReportWaitingForApprovalMessage -ExpenseReportWaitingForReApproval -ExpenseReportWaitingForReApprovalMessage -ExpenseReportsIk -ExpenseReportsRules -ExpenseReportsToApprove -ExpenseReportsToPay -ExpensesArea -FeesKilometersOrAmout -LastExpenseReports -ListOfFees -ListOfTrips -ListToApprove -ListTripsAndExpenses -MOTIF_CANCEL -MOTIF_REFUS -ModePaiement -NOT_AUTHOR -NewTrip -NoTripsToExportCSV -OnExpense -PDFStandardExpenseReports -PaidTrip -REFUSEUR -RangeIk -RangeNum -SaveTrip -ShowExpenseReport -ShowTrip -TF_BUS -TF_CAR -TF_ESSENCE -TF_HOTEL -TF_LUNCH -TF_METRO -TF_OTHER -TF_PEAGE -TF_TAXI -TF_TRAIN -TF_TRIP -TripCard -TripId -TripNDF -TripSociete -Trips -TripsAndExpenses -TripsAndExpensesStatistics -TypeFees -UploadANewFileNow -VALIDATOR -VALIDOR -ValidateAndSubmit -ValidatedWaitingApproval -ValideTrip -byEX_DAY -byEX_EXP -byEX_MON -byEX_YEA -expenseReportCatDisabled -expenseReportCoef -expenseReportCoefUndefined -expenseReportOffset -expenseReportPrintExample -expenseReportRangeDisabled -expenseReportRangeFromTo -expenseReportRangeMoreThan -expenseReportTotalForFive -nolimitbyEX_DAY -nolimitbyEX_EXP -nolimitbyEX_MON -nolimitbyEX_YEA -# -# █████████ █████ ███ -# ███░░░░░███ ░░███ ░░░ -# ░███ ░░░ ███████ ████████ ████ ████████ ██████ -# ░░█████████ ░░░███░ ░░███░░███░░███ ░░███░░███ ███░░███ -# ░░░░░░░░███ ░███ ░███ ░░░ ░███ ░███ ░███░███████ -# ███ ░███ ░███ ███ ░███ ░███ ░███ ░███░███░░░ -# ░░█████████ ░░█████ █████ █████ ░███████ ░░██████ -# ░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░███░░░ ░░░░░░ -# ░███ -# █████ -# ░░░░░ -# Stripe is similar to Paybox and has some keys in common -# -AccountParameter -CSSUrlForPaymentForm -Continue -Creditor -FollowingUrlAreAvailableToMakePayments -InformationToFindParameters -PaymentCode -PaymentForm -ThisIsInformationOnPayment -ThisScreenAllowsYouToPay -ToComplete -UsageParameter -WelcomeOnPaymentPage -YourEMail - -############################################################# ############################################################# AccountancyCode AffectedTo diff --git a/htdocs/accountancy/admin/defaultaccounts.php b/htdocs/accountancy/admin/defaultaccounts.php index 4d4d86ccf8a..d22c384e276 100644 --- a/htdocs/accountancy/admin/defaultaccounts.php +++ b/htdocs/accountancy/admin/defaultaccounts.php @@ -36,7 +36,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formaccounting.class.php'; // Load translation files required by the page -$langs->loadLangs(array("compta", "bills", "admin", "accountancy", "salaries", "expensereports", "loan")); +$langs->loadLangs(array("compta", "bills", "admin", "accountancy", "salaries", "trips", "loan")); // Security check if (!$user->hasRight('accounting', 'chartofaccount')) { diff --git a/htdocs/core/lib/payments.lib.php b/htdocs/core/lib/payments.lib.php index e8532129b53..16f7c627770 100644 --- a/htdocs/core/lib/payments.lib.php +++ b/htdocs/core/lib/payments.lib.php @@ -155,7 +155,7 @@ function getValidOnlinePaymentMethods($paymentmethod = '') $validpaymentmethod['paypal'] = 'valid'; } if ((empty($paymentmethod) || $paymentmethod == 'paybox') && isModEnabled('paybox')) { - $langs->load("paybox"); + $langs->loadLangs(array("paybox", "stripe")); $validpaymentmethod['paybox'] = 'valid'; } if ((empty($paymentmethod) || $paymentmethod == 'stripe') && isModEnabled('stripe')) { diff --git a/htdocs/core/lib/signature.lib.php b/htdocs/core/lib/signature.lib.php index d56cd662e9d..8c59225d325 100644 --- a/htdocs/core/lib/signature.lib.php +++ b/htdocs/core/lib/signature.lib.php @@ -27,10 +27,10 @@ */ function showOnlineSignatureUrl($type, $ref, $obj = null) { - global $conf, $langs; + global $langs; // Load translation files required by the page - $langs->loadLangs(array("payment", "paybox")); + $langs->loadLangs(array("payment", "paybox", "stripe")); $servicename = 'Online'; diff --git a/htdocs/expensereport/class/expensereport.class.php b/htdocs/expensereport/class/expensereport.class.php index 162f5cdb3d2..758d5639f4e 100644 --- a/htdocs/expensereport/class/expensereport.class.php +++ b/htdocs/expensereport/class/expensereport.class.php @@ -1765,7 +1765,7 @@ class ExpenseReport extends CommonObject { global $conf, $langs; - $langs->load('expensereport'); + $langs->load('trips'); $nofetch = !empty($params['nofetch']); $moretitle = $params['moretitle'] ?? ''; diff --git a/htdocs/expensereport/payment/list.php b/htdocs/expensereport/payment/list.php index 88431f01682..6048e5e50d0 100644 --- a/htdocs/expensereport/payment/list.php +++ b/htdocs/expensereport/payment/list.php @@ -43,7 +43,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountingjournal.class.php'; // Load translation files required by the page -$langs->loadLangs(array('expensereports', 'bills', 'banks', 'compta')); +$langs->loadLangs(array('trips', 'bills', 'banks', 'compta')); $action = GETPOST('action', 'alpha'); $massaction = GETPOST('massaction', 'alpha'); diff --git a/htdocs/langs/en_US/expensereports.lang b/htdocs/langs/en_US/expensereports.lang deleted file mode 100644 index 514b9d3ae87..00000000000 --- a/htdocs/langs/en_US/expensereports.lang +++ /dev/null @@ -1,169 +0,0 @@ -# Dolibarr language file - Source file is en_US - expensereports.lang -# copied from trips.lang - -AUTHOR=Recorded by -AUTHORPAIEMENT=Paid by -AddTrip=Create expense report -AllExpenseReport=All type of expense report -AllExpenseReports=All expense reports -AnyOtherInThisListCanValidate=Person to be informed for validating the request. -AttachTheNewLineToTheDocument=Attach the line to an uploaded document -AucuneLigne=There is no expense report declared yet -BrouillonnerTrip=Move back expense report to status "Draft" -byEX_DAY=by day (limitation to %s) -byEX_EXP=by line (limitation to %s) -byEX_MON=by month (limitation to %s) -byEX_YEA=by year (limitation to %s) -CANCEL_USER=Deleted by -ACCOUNTING_ACCOUNT_EXPENSEREPORT=Account (from the Chart of Account) used by default for "users" on expensereport -ACCOUNTING_ACCOUNT_EXPENSEREPORT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, and also as the default value of Subledger accounting if no dedicated accounting account is not defined on the user. -CarCategory=Vehicle category -ClassifyRefunded=Classify 'Refunded' -CompanyVisited=Company/organization visited -ConfirmBrouillonnerTrip=Are you sure you want to move this expense report to status "Draft"? -ConfirmCancelTrip=Are you sure you want to cancel this expense report? -ConfirmCloneExpenseReport=Are you sure you want to clone this expense report ? -ConfirmDeleteTrip=Are you sure you want to delete this expense report? -ConfirmPaidTrip=Are you sure you want to change status of this expense report to "Paid"? -ConfirmRefuseTrip=Are you sure you want to deny this expense report? -ConfirmSaveTrip=Are you sure you want to validate this expense report? -ConfirmValideTrip=Are you sure you want to approve this expense report? -DATE_CANCEL=Cancellation date -DATE_PAIEMENT=Payment date -DATE_REFUS=Deny date -DATE_SAVE=Validation date -DefaultCategoryCar=Default transportation mode -DefaultRangeNumber=Default range number -DeleteTrip=Delete expense report -ErrorDoubleDeclaration=You have declared another expense report into a similar date range. -Error_EXPENSEREPORT_ADDON_NotDefined=Error, the rule for expense report numbering ref was not defined into setup of module 'Expense Report' -ExpenseRangeOffset=Offset amount: %s -expenseReportCatDisabled=Category disabled - see the c_exp_tax_cat dictionary -expenseReportCoef=Coefficient -expenseReportCoefUndefined=(value not defined) -expenseReportOffset=Offset -expenseReportPrintExample=offset + (d x coef) = %s -expenseReportRangeDisabled=Range disabled - see the c_exp_tax_range dictionary -expenseReportRangeFromTo=from %d to %d -expenseReportRangeMoreThan=more than %d -expenseReportTotalForFive=Example with d = 5 -ExpenseReportApplyTo=Apply to -ExpenseReportApproved=An expense report was approved -ExpenseReportApprovedMessage=The expense report %s was approved.
    - User: %s
    - Approved by: %s
    Click here to show the expense report: %s -ExpenseReportCanceled=An expense report was canceled -ExpenseReportCanceledMessage=The expense report %s was canceled.
    - User: %s
    - Canceled by: %s
    - Motive for cancellation: %s
    Click here to show the expense report: %s -ExpenseReportConstraintViolationError=Max amount exceeded (rule %s): %s is higher than %s (Exceeding forbidden) -ExpenseReportConstraintViolationWarning=Max amount exceeded (rule %s): %s is higher than %s (Exceeding authorized) -ExpenseReportDateEnd=Date end -ExpenseReportDateStart=Date start -ExpenseReportDomain=Domain to apply -ExpenseReportIkDesc=You can modify the calculation of kilometers expense by category and range who they are previously defined. d is the distance in kilometers -ExpenseReportLimitAmount=Max amount -ExpenseReportLimitOn=Limit on -ExpenseReportLine=Expense report line -ExpenseReportPaid=An expense report was paid -ExpenseReportPaidMessage=The expense report %s was paid.
    - User: %s
    - Paid by: %s
    Click here to show the expense report: %s -ExpenseReportPayment=Expense report payment -ExpenseReportRef=Ref. expense report -ExpenseReportRefused=An expense report was refused -ExpenseReportRefusedMessage=The expense report %s was refused.
    - User: %s
    - Refused by: %s
    - Motive for refusal: %s
    Click here to show the expense report: %s -ExpenseReportRestrictive=Exceeding forbidden -ExpenseReportRuleErrorOnSave=Error: %s -ExpenseReportRuleSave=Expense report rule saved -ExpenseReportRulesDesc=You can define max amount rules for expense reports. These rules will be applied when a new expense is added to an expense report -ExpenseReportWaitingForApproval=A new expense report has been submitted for approval -ExpenseReportWaitingForApprovalMessage=A new expense report has been submitted and is waiting for approval.
    - User: %s
    - Period: %s
    Click here to validate: %s -ExpenseReportWaitingForReApproval=An expense report has been submitted for re-approval -ExpenseReportWaitingForReApprovalMessage=An expense report has been submitted and is waiting for re-approval.
    The %s, you refused to approve the expense report for this reason: %s.
    A new version has been proposed and waiting for your approval.
    - User: %s
    - Period: %s
    Click here to validate: %s -ExpenseReportsIk=Configuration of mileage charges -ExpenseReportsRules=Expense report rules -ExpenseReportsToApprove=Expense reports to approve -ExpenseReportsToPay=Expense reports to pay -ExpensesArea=Expense reports area -FeesKilometersOrAmout=Amount or kilometers -LastExpenseReports=Latest %s expense reports -ListOfFees=List of fees -ListOfTrips=List of expense reports -ListToApprove=Waiting for approval -ListTripsAndExpenses=List of expense reports -MOTIF_CANCEL=Reason -MOTIF_REFUS=Reason -ModePaiement=Payment mode -NewTrip=New expense report -nolimitbyEX_DAY=by day (no limitation) -nolimitbyEX_EXP=by line (no limitation) -nolimitbyEX_MON=by month (no limitation) -nolimitbyEX_YEA=by year (no limitation) -NoTripsToExportCSV=No expense report to export for this period. -NOT_AUTHOR=You are not the author of this expense report. Operation canceled. -OnExpense=Expense line -PDFStandardExpenseReports=Standard template to generate a PDF document for expense report -PaidTrip=Pay an expense report -REFUSEUR=Denied by -RangeIk=Mileage range -RangeNum=Range %d -SaveTrip=Validate expense report -ShowExpenseReport=Show expense report -ShowTrip=Show expense report -TripCard=Expense report card -TripId=Id expense report -TripNDF=Information expense report -TripSociete=Information company -Trips=Expense reports -TripsAndExpenses=Expense reports -TripsAndExpensesStatistics=Expense reports statistics -TypeFees=Types of fees -UploadANewFileNow=Upload a new document now -VALIDATOR=User responsible for approval -VALIDOR=Approved by -ValidateAndSubmit=Validate and submit for approval -ValidatedWaitingApproval=Validated (waiting for approval) -ValideTrip=Approve expense report - -## Dictionary -EX_BRE=Breakfast -EX_CAM=CV maintenance and repair -EX_CAM_VP=PV maintenance and repair -EX_CAR=Car rental -EX_CUR=Customers receiving -EX_DOC=Documentation -EX_EMM=Employees meal -EX_FUE=Fuel CV -EX_FUE_VP=Fuel PV -EX_GUM=Guests meal -EX_HOT=Hotel -EX_IND=Indemnity transportation subscription -EX_KME=Mileage costs -EX_OTR=Other receiving -EX_PAR=Parking CV -EX_PAR_VP=Parking PV -EX_POS=Postage -EX_SUM=Maintenance supply -EX_SUO=Office supplies -EX_TAX=Various Taxes -EX_TOL=Toll CV -EX_TOL_VP=Toll PV -TF_BUS=Bus -TF_CAR=Car -TF_ESSENCE=Fuel -TF_HOTEL=Hotel -TF_LUNCH=Lunch -TF_METRO=Metro -TF_OTHER=Other -TF_PEAGE=Toll -TF_TAXI=Taxi -TF_TRAIN=Train -TF_TRIP=Transportation - - -## add new (not from trips.lang) -ExpenseReportPayments=Expense report payments -# -# error -# - -TaxUndefinedForThisCategory = Taxe undefined for this category -ErrorRecordNotFound=Record not found -errorComputeTtcOnMileageExpense=Error on computing mileage expense -ErrorBadValueForParameter=Error bad value for parameter %s -ErrorOnlyDraftStatusCanBeDeletedInMassAction=Error only draft status can be deleted in mass action diff --git a/htdocs/langs/en_US/paybox.lang b/htdocs/langs/en_US/paybox.lang index a2bfb1773e4..e6ff61ba623 100644 --- a/htdocs/langs/en_US/paybox.lang +++ b/htdocs/langs/en_US/paybox.lang @@ -1,26 +1,12 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=PayBox module setup PayBoxDesc=This module offer pages to allow payment on Paybox by customers. This can be used for a free payment or for a payment on a particular Dolibarr object (invoice, order, ...) -FollowingUrlAreAvailableToMakePayments=Following URLs are available to offer a page to a customer to make a payment on Dolibarr objects -PaymentForm=Payment form -WelcomeOnPaymentPage=Welcome to our online payment service -ThisScreenAllowsYouToPay=This screen allow you to make an online payment to %s. -ThisIsInformationOnPayment=This is information on payment to do -ToComplete=To complete -YourEMail=Email to receive payment confirmation -Creditor=Creditor -PaymentCode=Payment code PayBoxDoPayment=Pay with Paybox YouWillBeRedirectedOnPayBox=You will be redirected on secured Paybox page to input you credit card information -Continue=Next SetupPayBoxToHavePaymentCreatedAutomatically=Setup your Paybox with url %s to have payment created automatically when validated by Paybox. YourPaymentHasBeenRecorded=This page confirms that your payment has been recorded. Thank you. YourPaymentHasNotBeenRecorded=Your payment has NOT been recorded and the transaction has been canceled. Thank you. -AccountParameter=Account parameters -UsageParameter=Usage parameters -InformationToFindParameters=Help to find your %s account information PAYBOX_CGI_URL_V2=Url of Paybox CGI module for payment -CSSUrlForPaymentForm=CSS style sheet url for payment form NewPayboxPaymentReceived=New Paybox payment received NewPayboxPaymentFailed=New Paybox payment tried but failed PAYBOX_PAYONLINE_SENDEMAIL=Email notification after payment attempt (success or fail) diff --git a/htdocs/langs/en_US/trips.lang b/htdocs/langs/en_US/trips.lang index f265f65bcc2..f40ed0ad70a 100644 --- a/htdocs/langs/en_US/trips.lang +++ b/htdocs/langs/en_US/trips.lang @@ -1,4 +1,6 @@ -# Dolibarr language file - Source file is en_US - trips +# Dolibarr language file - Source file is en_US - expensereports.lang +# copied from trips.lang + AUTHOR=Recorded by AUTHORPAIEMENT=Paid by AddTrip=Create expense report @@ -13,6 +15,8 @@ byEX_EXP=by line (limitation to %s) byEX_MON=by month (limitation to %s) byEX_YEA=by year (limitation to %s) CANCEL_USER=Deleted by +ACCOUNTING_ACCOUNT_EXPENSEREPORT=Account (from the Chart of Account) used by default for "users" on expensereport +ACCOUNTING_ACCOUNT_EXPENSEREPORT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, and also as the default value of Subledger accounting if no dedicated accounting account is not defined on the user. CarCategory=Vehicle category ClassifyRefunded=Classify 'Refunded' CompanyVisited=Company/organization visited @@ -106,7 +110,7 @@ TripId=Id expense report TripNDF=Information expense report TripSociete=Information company Trips=Expense reports -TripsAndExpenses=Expenses reports +TripsAndExpenses=Expense reports TripsAndExpensesStatistics=Expense reports statistics TypeFees=Types of fees UploadANewFileNow=Upload a new document now @@ -115,6 +119,10 @@ VALIDOR=Approved by ValidateAndSubmit=Validate and submit for approval ValidatedWaitingApproval=Validated (waiting for approval) ValideTrip=Approve expense report +ExpenseReportPayments=Expense report payments +TaxUndefinedForThisCategory = Taxe undefined for this category +errorComputeTtcOnMileageExpense=Error on computing mileage expense +ErrorOnlyDraftStatusCanBeDeletedInMassAction=Error only draft status can be deleted in mass action ## Dictionary EX_BRE=Breakfast diff --git a/htdocs/langs/eu_ES/expensereports.lang b/htdocs/langs/eu_ES/expensereports.lang deleted file mode 100644 index b378b12060d..00000000000 --- a/htdocs/langs/eu_ES/expensereports.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - expensereports -RelatedExpenseReports=associated expense reports \ No newline at end of file diff --git a/htdocs/langs/fr_FR/expensereports.lang b/htdocs/langs/fr_FR/expensereports.lang deleted file mode 100644 index e08723322e2..00000000000 --- a/htdocs/langs/fr_FR/expensereports.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - expensereports -RelatedExpenseReports=Notes de frais associées \ No newline at end of file diff --git a/htdocs/public/onlinesign/newonlinesign.php b/htdocs/public/onlinesign/newonlinesign.php index 9f09c6a3f4d..ea96b993db3 100644 --- a/htdocs/public/onlinesign/newonlinesign.php +++ b/htdocs/public/onlinesign/newonlinesign.php @@ -55,7 +55,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; // Load translation files -$langs->loadLangs(array("main", "other", "dict", "bills", "companies", "errors", "members", "paybox", "propal", "commercial")); +$langs->loadLangs(array("main", "other", "dict", "bills", "companies", "errors", "members", "paybox", "stripe", "propal", "commercial")); // Security check // No check on module enabled. Done later according to $validpaymentmethod diff --git a/htdocs/public/payment/paymentko.php b/htdocs/public/payment/paymentko.php index dcb89788136..46dbedbc533 100644 --- a/htdocs/public/payment/paymentko.php +++ b/htdocs/public/payment/paymentko.php @@ -178,9 +178,9 @@ if (!empty($_SESSION['ipaddress'])) { // To avoid to make action twice if ($sendemail) { $companylangs = new Translate('', $conf); $companylangs->setDefaultLang($mysoc->default_lang); - $companylangs->loadLangs(array('main', 'members', 'bills', 'paypal', 'paybox')); + $companylangs->loadLangs(array('main', 'members', 'bills', 'paypal', 'paybox', 'stripe')); - $from = getDolGlobalString('MAILING_EMAIL_FROM') ? $conf->global->MAILING_EMAIL_FROM : getDolGlobalString("MAIN_MAIL_EMAIL_FROM"); + $from = getDolGlobalString('MAILING_EMAIL_FROM', getDolGlobalString("MAIN_MAIL_EMAIL_FROM")); $sendto = $sendemail; $urlback = $_SERVER["REQUEST_URI"]; diff --git a/htdocs/public/payment/paymentok.php b/htdocs/public/payment/paymentok.php index 87c49592c93..e3be4aeace0 100644 --- a/htdocs/public/payment/paymentok.php +++ b/htdocs/public/payment/paymentok.php @@ -64,7 +64,7 @@ $hookmanager = new HookManager($db); $hookmanager->initHooks(array('newpayment')); -$langs->loadLangs(array("main", "other", "dict", "bills", "companies", "paybox", "paypal")); +$langs->loadLangs(array("main", "other", "dict", "bills", "companies", "paybox", "paypal", "stripe")); // Clean parameters if (isModEnabled('paypal')) { @@ -1892,7 +1892,7 @@ if ($ispaymentok) { if ($sendemail) { $companylangs = new Translate('', $conf); $companylangs->setDefaultLang($mysoc->default_lang); - $companylangs->loadLangs(array('main', 'members', 'bills', 'paypal', 'paybox')); + $companylangs->loadLangs(array('main', 'members', 'bills', 'paypal', 'paybox', 'stripe')); $sendto = $sendemail; $from = getDolGlobalString('MAILING_EMAIL_FROM') ? $conf->global->MAILING_EMAIL_FROM : getDolGlobalString("MAIN_MAIL_EMAIL_FROM"); @@ -2000,7 +2000,7 @@ if ($ispaymentok) { if ($sendemail) { $companylangs = new Translate('', $conf); $companylangs->setDefaultLang($mysoc->default_lang); - $companylangs->loadLangs(array('main', 'members', 'bills', 'paypal', 'paybox')); + $companylangs->loadLangs(array('main', 'members', 'bills', 'paypal', 'paybox', 'stripe')); $sendto = $sendemail; $from = getDolGlobalString('MAILING_EMAIL_FROM') ? $conf->global->MAILING_EMAIL_FROM : getDolGlobalString("MAIN_MAIL_EMAIL_FROM"); From 893eff03badcd417687ff5ae25063b783cfb4aa4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 11:21:15 +0200 Subject: [PATCH 29/45] Fix escape js --- htdocs/compta/facture/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index 00765962c66..c8927e87326 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -2057,7 +2057,7 @@ if ($num > 0) { if (strpos($obj->ref, 'PROV') !== false) { //If is a draft invoice, load var to be able to add products $place = str_replace(")", "", str_replace("(PROV-POS".$_SESSION["takeposterminal"]."-", "", $obj->ref)); - print 'parent.place=\''.$place.'\''; + print 'parent.place=\''.dol_escape_js($place).'\''; } print '});"'; } From 2620cd9ca7c8a3e37d2c13f1bf7fda58d229aad9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 12:04:00 +0200 Subject: [PATCH 30/45] Transifex sync --- dev/translation/dynamic_translation_keys.lst | 3 +++ htdocs/langs/ar_EG/salaries.lang | 2 ++ htdocs/langs/ar_EG/trips.lang | 2 ++ htdocs/langs/ar_IQ/companies.lang | 3 +++ htdocs/langs/ar_IQ/salaries.lang | 2 ++ htdocs/langs/ar_IQ/trips.lang | 2 ++ htdocs/langs/de_AT/main.lang | 1 - htdocs/langs/de_AT/paybox.lang | 1 - htdocs/langs/de_AT/salaries.lang | 2 ++ htdocs/langs/de_CH/companies.lang | 11 ----------- htdocs/langs/de_CH/main.lang | 1 - htdocs/langs/de_CH/paybox.lang | 2 -- htdocs/langs/el_CY/salaries.lang | 2 ++ htdocs/langs/el_CY/trips.lang | 2 ++ htdocs/langs/en_AE/cashdesk.lang | 2 ++ htdocs/langs/en_AE/errors.lang | 2 ++ htdocs/langs/en_AE/help.lang | 2 ++ htdocs/langs/en_AE/salaries.lang | 2 ++ htdocs/langs/en_AE/stocks.lang | 3 +++ htdocs/langs/en_AE/trips.lang | 2 ++ htdocs/langs/en_AU/errors.lang | 2 ++ htdocs/langs/en_AU/help.lang | 2 ++ htdocs/langs/en_AU/salaries.lang | 2 ++ htdocs/langs/en_AU/stocks.lang | 3 +++ htdocs/langs/en_AU/trips.lang | 2 ++ htdocs/langs/en_CA/cashdesk.lang | 2 ++ htdocs/langs/en_CA/errors.lang | 2 ++ htdocs/langs/en_CA/help.lang | 2 ++ htdocs/langs/en_CA/salaries.lang | 2 ++ htdocs/langs/en_CA/stocks.lang | 3 +++ htdocs/langs/en_CA/trips.lang | 2 ++ htdocs/langs/en_GB/errors.lang | 2 ++ htdocs/langs/en_GB/help.lang | 2 ++ htdocs/langs/en_IN/cashdesk.lang | 2 ++ htdocs/langs/en_IN/errors.lang | 2 ++ htdocs/langs/en_IN/help.lang | 2 ++ htdocs/langs/en_IN/salaries.lang | 2 ++ htdocs/langs/en_IN/stocks.lang | 3 +++ htdocs/langs/en_IN/trips.lang | 2 ++ htdocs/langs/en_SG/assets.lang | 12 ++++++++++++ htdocs/langs/en_SG/cashdesk.lang | 4 ++++ htdocs/langs/en_SG/errors.lang | 3 +++ htdocs/langs/en_SG/help.lang | 2 ++ htdocs/langs/en_SG/members.lang | 3 +++ htdocs/langs/en_SG/salaries.lang | 2 ++ htdocs/langs/en_SG/stocks.lang | 3 +++ htdocs/langs/en_SG/trips.lang | 2 ++ htdocs/langs/en_US/interventions.lang | 1 - htdocs/langs/en_US/trips.lang | 4 +--- htdocs/langs/en_ZA/cashdesk.lang | 2 ++ htdocs/langs/en_ZA/errors.lang | 2 ++ htdocs/langs/en_ZA/help.lang | 2 ++ htdocs/langs/en_ZA/salaries.lang | 2 ++ htdocs/langs/en_ZA/stocks.lang | 3 +++ htdocs/langs/en_ZA/trips.lang | 2 ++ htdocs/langs/es_AR/agenda.lang | 1 - htdocs/langs/es_AR/commercial.lang | 1 - htdocs/langs/es_AR/datapolicy.lang | 1 - htdocs/langs/es_AR/mails.lang | 1 - htdocs/langs/es_AR/main.lang | 1 - htdocs/langs/es_AR/paybox.lang | 10 ---------- htdocs/langs/es_BO/cashdesk.lang | 2 ++ htdocs/langs/es_BO/salaries.lang | 2 ++ htdocs/langs/es_BO/trips.lang | 2 ++ htdocs/langs/es_CL/agenda.lang | 1 - htdocs/langs/es_CL/commercial.lang | 1 - htdocs/langs/es_CL/mails.lang | 1 - htdocs/langs/es_CL/main.lang | 1 - htdocs/langs/es_CL/paybox.lang | 11 ----------- htdocs/langs/es_CO/commercial.lang | 1 - htdocs/langs/es_CO/companies.lang | 2 -- htdocs/langs/es_CO/datapolicy.lang | 2 -- htdocs/langs/es_CO/mails.lang | 1 - htdocs/langs/es_CO/paybox.lang | 11 ----------- htdocs/langs/es_CR/agenda.lang | 1 - htdocs/langs/es_CR/commercial.lang | 1 - htdocs/langs/es_CR/datapolicy.lang | 1 - htdocs/langs/es_CR/eventorganization.lang | 2 -- htdocs/langs/es_CR/mails.lang | 1 - htdocs/langs/es_CR/main.lang | 1 - htdocs/langs/es_CR/paybox.lang | 10 ---------- htdocs/langs/es_CU/commercial.lang | 1 - htdocs/langs/es_CU/datapolicy.lang | 2 -- htdocs/langs/es_CU/mails.lang | 1 - htdocs/langs/es_CU/main.lang | 1 - htdocs/langs/es_CU/paybox.lang | 10 ---------- htdocs/langs/es_DO/cashdesk.lang | 2 ++ htdocs/langs/es_DO/salaries.lang | 2 ++ htdocs/langs/es_DO/trips.lang | 2 ++ htdocs/langs/es_EC/commercial.lang | 1 - htdocs/langs/es_EC/mails.lang | 1 - htdocs/langs/es_EC/main.lang | 1 - htdocs/langs/es_EC/paybox.lang | 10 ---------- htdocs/langs/es_GT/cashdesk.lang | 2 ++ htdocs/langs/es_GT/salaries.lang | 2 ++ htdocs/langs/es_GT/trips.lang | 2 ++ htdocs/langs/es_HN/cashdesk.lang | 2 ++ htdocs/langs/es_HN/salaries.lang | 2 ++ htdocs/langs/es_HN/trips.lang | 2 ++ htdocs/langs/es_MX/agenda.lang | 1 - htdocs/langs/es_MX/commercial.lang | 1 - htdocs/langs/es_MX/main.lang | 1 - htdocs/langs/es_MX/paybox.lang | 2 -- htdocs/langs/es_PA/cashdesk.lang | 2 ++ htdocs/langs/es_PA/salaries.lang | 2 ++ htdocs/langs/es_PA/trips.lang | 2 ++ htdocs/langs/es_PE/salaries.lang | 2 ++ htdocs/langs/es_PY/cashdesk.lang | 2 ++ htdocs/langs/es_PY/salaries.lang | 2 ++ htdocs/langs/es_PY/trips.lang | 2 ++ htdocs/langs/es_US/cashdesk.lang | 2 ++ htdocs/langs/es_US/salaries.lang | 2 ++ htdocs/langs/es_US/trips.lang | 2 ++ htdocs/langs/es_UY/cashdesk.lang | 2 ++ htdocs/langs/es_UY/salaries.lang | 2 ++ htdocs/langs/es_UY/trips.lang | 2 ++ htdocs/langs/es_VE/cashdesk.lang | 2 ++ htdocs/langs/es_VE/salaries.lang | 2 ++ htdocs/langs/fr_BE/agenda.lang | 1 - htdocs/langs/fr_BE/cashdesk.lang | 2 ++ htdocs/langs/fr_BE/salaries.lang | 2 ++ htdocs/langs/fr_BE/trips.lang | 2 ++ htdocs/langs/fr_CA/mails.lang | 1 - htdocs/langs/fr_CA/paybox.lang | 9 --------- htdocs/langs/fr_CH/cashdesk.lang | 2 ++ htdocs/langs/fr_CH/salaries.lang | 2 ++ htdocs/langs/fr_CH/trips.lang | 2 ++ htdocs/langs/fr_CI/cashdesk.lang | 2 ++ htdocs/langs/fr_CI/salaries.lang | 2 ++ htdocs/langs/fr_CI/trips.lang | 2 ++ htdocs/langs/fr_CM/cashdesk.lang | 2 ++ htdocs/langs/fr_CM/salaries.lang | 2 ++ htdocs/langs/fr_CM/trips.lang | 2 ++ htdocs/langs/fr_FR/accountancy.lang | 13 +++++++------ htdocs/langs/fr_FR/salaries.lang | 4 ++-- htdocs/langs/fr_GA/cashdesk.lang | 2 ++ htdocs/langs/fr_GA/salaries.lang | 2 ++ htdocs/langs/fr_GA/trips.lang | 2 ++ htdocs/langs/it_CH/salaries.lang | 2 ++ htdocs/langs/it_CH/trips.lang | 2 ++ htdocs/langs/nl_BE/blockedlog.lang | 2 ++ htdocs/langs/nl_BE/mails.lang | 1 - htdocs/langs/pt_AO/cashdesk.lang | 2 ++ htdocs/langs/pt_AO/companies.lang | 3 +++ htdocs/langs/pt_AO/salaries.lang | 2 ++ htdocs/langs/pt_AO/trips.lang | 2 ++ htdocs/langs/pt_BR/agenda.lang | 1 - htdocs/langs/pt_BR/commercial.lang | 1 - htdocs/langs/pt_BR/main.lang | 1 - htdocs/langs/pt_BR/paybox.lang | 9 --------- htdocs/langs/pt_MZ/agenda.lang | 1 - htdocs/langs/pt_MZ/commercial.lang | 1 - htdocs/langs/pt_MZ/main.lang | 1 - htdocs/langs/pt_MZ/paybox.lang | 9 --------- htdocs/langs/ru_UA/salaries.lang | 2 ++ htdocs/langs/ru_UA/trips.lang | 2 ++ 156 files changed, 231 insertions(+), 161 deletions(-) create mode 100644 htdocs/langs/ar_EG/salaries.lang create mode 100644 htdocs/langs/ar_EG/trips.lang create mode 100644 htdocs/langs/ar_IQ/companies.lang create mode 100644 htdocs/langs/ar_IQ/salaries.lang create mode 100644 htdocs/langs/ar_IQ/trips.lang create mode 100644 htdocs/langs/de_AT/salaries.lang create mode 100644 htdocs/langs/el_CY/salaries.lang create mode 100644 htdocs/langs/el_CY/trips.lang create mode 100644 htdocs/langs/en_AE/cashdesk.lang create mode 100644 htdocs/langs/en_AE/errors.lang create mode 100644 htdocs/langs/en_AE/help.lang create mode 100644 htdocs/langs/en_AE/salaries.lang create mode 100644 htdocs/langs/en_AE/stocks.lang create mode 100644 htdocs/langs/en_AE/trips.lang create mode 100644 htdocs/langs/en_AU/errors.lang create mode 100644 htdocs/langs/en_AU/help.lang create mode 100644 htdocs/langs/en_AU/salaries.lang create mode 100644 htdocs/langs/en_AU/stocks.lang create mode 100644 htdocs/langs/en_AU/trips.lang create mode 100644 htdocs/langs/en_CA/cashdesk.lang create mode 100644 htdocs/langs/en_CA/errors.lang create mode 100644 htdocs/langs/en_CA/help.lang create mode 100644 htdocs/langs/en_CA/salaries.lang create mode 100644 htdocs/langs/en_CA/stocks.lang create mode 100644 htdocs/langs/en_CA/trips.lang create mode 100644 htdocs/langs/en_GB/errors.lang create mode 100644 htdocs/langs/en_GB/help.lang create mode 100644 htdocs/langs/en_IN/cashdesk.lang create mode 100644 htdocs/langs/en_IN/errors.lang create mode 100644 htdocs/langs/en_IN/help.lang create mode 100644 htdocs/langs/en_IN/salaries.lang create mode 100644 htdocs/langs/en_IN/stocks.lang create mode 100644 htdocs/langs/en_IN/trips.lang create mode 100644 htdocs/langs/en_SG/assets.lang create mode 100644 htdocs/langs/en_SG/cashdesk.lang create mode 100644 htdocs/langs/en_SG/errors.lang create mode 100644 htdocs/langs/en_SG/help.lang create mode 100644 htdocs/langs/en_SG/members.lang create mode 100644 htdocs/langs/en_SG/salaries.lang create mode 100644 htdocs/langs/en_SG/stocks.lang create mode 100644 htdocs/langs/en_SG/trips.lang create mode 100644 htdocs/langs/en_ZA/cashdesk.lang create mode 100644 htdocs/langs/en_ZA/errors.lang create mode 100644 htdocs/langs/en_ZA/help.lang create mode 100644 htdocs/langs/en_ZA/salaries.lang create mode 100644 htdocs/langs/en_ZA/stocks.lang create mode 100644 htdocs/langs/en_ZA/trips.lang create mode 100644 htdocs/langs/es_BO/cashdesk.lang create mode 100644 htdocs/langs/es_BO/salaries.lang create mode 100644 htdocs/langs/es_BO/trips.lang create mode 100644 htdocs/langs/es_DO/cashdesk.lang create mode 100644 htdocs/langs/es_DO/salaries.lang create mode 100644 htdocs/langs/es_DO/trips.lang create mode 100644 htdocs/langs/es_GT/cashdesk.lang create mode 100644 htdocs/langs/es_GT/salaries.lang create mode 100644 htdocs/langs/es_GT/trips.lang create mode 100644 htdocs/langs/es_HN/cashdesk.lang create mode 100644 htdocs/langs/es_HN/salaries.lang create mode 100644 htdocs/langs/es_HN/trips.lang delete mode 100644 htdocs/langs/es_MX/paybox.lang create mode 100644 htdocs/langs/es_PA/cashdesk.lang create mode 100644 htdocs/langs/es_PA/salaries.lang create mode 100644 htdocs/langs/es_PA/trips.lang create mode 100644 htdocs/langs/es_PE/salaries.lang create mode 100644 htdocs/langs/es_PY/cashdesk.lang create mode 100644 htdocs/langs/es_PY/salaries.lang create mode 100644 htdocs/langs/es_PY/trips.lang create mode 100644 htdocs/langs/es_US/cashdesk.lang create mode 100644 htdocs/langs/es_US/salaries.lang create mode 100644 htdocs/langs/es_US/trips.lang create mode 100644 htdocs/langs/es_UY/cashdesk.lang create mode 100644 htdocs/langs/es_UY/salaries.lang create mode 100644 htdocs/langs/es_UY/trips.lang create mode 100644 htdocs/langs/es_VE/cashdesk.lang create mode 100644 htdocs/langs/es_VE/salaries.lang create mode 100644 htdocs/langs/fr_BE/cashdesk.lang create mode 100644 htdocs/langs/fr_BE/salaries.lang create mode 100644 htdocs/langs/fr_BE/trips.lang create mode 100644 htdocs/langs/fr_CH/cashdesk.lang create mode 100644 htdocs/langs/fr_CH/salaries.lang create mode 100644 htdocs/langs/fr_CH/trips.lang create mode 100644 htdocs/langs/fr_CI/cashdesk.lang create mode 100644 htdocs/langs/fr_CI/salaries.lang create mode 100644 htdocs/langs/fr_CI/trips.lang create mode 100644 htdocs/langs/fr_CM/cashdesk.lang create mode 100644 htdocs/langs/fr_CM/salaries.lang create mode 100644 htdocs/langs/fr_CM/trips.lang create mode 100644 htdocs/langs/fr_GA/cashdesk.lang create mode 100644 htdocs/langs/fr_GA/salaries.lang create mode 100644 htdocs/langs/fr_GA/trips.lang create mode 100644 htdocs/langs/it_CH/salaries.lang create mode 100644 htdocs/langs/it_CH/trips.lang create mode 100644 htdocs/langs/nl_BE/blockedlog.lang create mode 100644 htdocs/langs/pt_AO/cashdesk.lang create mode 100644 htdocs/langs/pt_AO/companies.lang create mode 100644 htdocs/langs/pt_AO/salaries.lang create mode 100644 htdocs/langs/pt_AO/trips.lang create mode 100644 htdocs/langs/ru_UA/salaries.lang create mode 100644 htdocs/langs/ru_UA/trips.lang diff --git a/dev/translation/dynamic_translation_keys.lst b/dev/translation/dynamic_translation_keys.lst index 56acbe41810..f483894bfb2 100644 --- a/dev/translation/dynamic_translation_keys.lst +++ b/dev/translation/dynamic_translation_keys.lst @@ -3256,7 +3256,10 @@ TypeContact_facture_external_BILLING TypeContact_facture_external_SERVICE TypeContact_facture_external_SHIPPING TypeContact_facture_internal_SALESREPFOLL +TypeContact_fichinter_external_BILLING TypeContact_fichinter_external_CUSTOMER +TypeContact_fichinter_internal_INTERREPFOLL +TypeContact_fichinter_internal_INTERVENING TypeContact_invoice_supplier_external_BILLING TypeContact_invoice_supplier_external_SERVICE TypeContact_invoice_supplier_external_SHIPPING diff --git a/htdocs/langs/ar_EG/salaries.lang b/htdocs/langs/ar_EG/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/ar_EG/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/ar_EG/trips.lang b/htdocs/langs/ar_EG/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/ar_EG/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/ar_IQ/companies.lang b/htdocs/langs/ar_IQ/companies.lang new file mode 100644 index 00000000000..5cb50736018 --- /dev/null +++ b/htdocs/langs/ar_IQ/companies.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - companies +AllocateCommercial=Assigned to sales representative +LastModifiedThirdParties=Latest %s Third Parties which were modified diff --git a/htdocs/langs/ar_IQ/salaries.lang b/htdocs/langs/ar_IQ/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/ar_IQ/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/ar_IQ/trips.lang b/htdocs/langs/ar_IQ/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/ar_IQ/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/de_AT/main.lang b/htdocs/langs/de_AT/main.lang index 8e7f356a1cb..ec0b2c3c731 100644 --- a/htdocs/langs/de_AT/main.lang +++ b/htdocs/langs/de_AT/main.lang @@ -54,7 +54,6 @@ January=Jänner Month01=Jänner ReportName=Berichtname RefCustomer=Kunden Nr. -MailSentBy=E-Mail-Absender TextUsedInTheMessageBody=E-Mail-Text Offered=Angeboten Receive=Erhalte diff --git a/htdocs/langs/de_AT/paybox.lang b/htdocs/langs/de_AT/paybox.lang index beae154072f..12339557005 100644 --- a/htdocs/langs/de_AT/paybox.lang +++ b/htdocs/langs/de_AT/paybox.lang @@ -1,3 +1,2 @@ # Dolibarr language file - Source file is en_US - paybox YourPaymentHasBeenRecorded=Diese Seite wird bestätigt, dass Ihre Zahlung aufgezeichnet wurde. Danke. -AccountParameter=Konto-Parameter diff --git a/htdocs/langs/de_AT/salaries.lang b/htdocs/langs/de_AT/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/de_AT/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/de_CH/companies.lang b/htdocs/langs/de_CH/companies.lang index 074c9fb606a..784de05def9 100644 --- a/htdocs/langs/de_CH/companies.lang +++ b/htdocs/langs/de_CH/companies.lang @@ -46,15 +46,12 @@ SupplierCodeModel=Lieferanten - Code Format ProfId1AR=Prof Id 1 (CUIT) ProfId2AR=Prof Id 2 (Revenu Bestien) ProfId1AT=Prof Id 1 -ProfId4AT=Prof Id 4 ProfId1BE=Prof Id 1 (Anzahl Professionnel) -ProfId1BR=CNPJ ProfId2BR=IE (Staatliche Behörde) ProfId3BR=IM (kommunale Behörde) ProfId3CH=Prof Id 1 (Bundes-Nummer) ProfId4CH=Prof Id 2 (Commercial Record-Nummer) ProfId1DE=Umsatzsteuer-Identifikationsnummer -ProfId4DE=Steuernummer ProfId1ES=Prof Id 1 (CIF / NIF) ProfId2ES=Prof Id 2 (Social Security Number) ProfId4ES=Prof Id 4 (Collegiate Anzahl) @@ -66,9 +63,6 @@ ProfId2IN=Prof Id 2 ProfId3IN=Prof Id 3 ProfId1LU=Id prof. 1 (R.C.S. Luxemburg) ProfId2LU=Id. Prof. 2 -ProfId3LU=Id. Prof. 3 -ProfId4LU=Id. Prof. 4 -ProfId6LU=Id. Prof. 6 ProfId4NL=- ProfId2PT=Prof Id 2 (Social Security Number) ProfId3PT=Prof Id 3 (Commercial Record-Nummer) @@ -76,11 +70,6 @@ ProfId4PT=Prof Id 4 (Konservatorium) ProfId2TN=Prof Id 2 (Geschäftsjahr matricule) ProfId3TN=Prof Id 3 (Douane-Code) ProfId1US=Employer Identification Number (FEIN) -ProfId2US=Id. Prof. 6 -ProfId3US=Id. Prof. 6 -ProfId4US=Id. Prof. 6 -ProfId5US=Id. Prof. 6 -ProfId6US=Id. Prof. 6 ProfId1RO=Firmennummer CUI ProfId2RO=Firmennummer (Nr. Înmatriculare) ProfId3RO=Firmennummer CAEN diff --git a/htdocs/langs/de_CH/main.lang b/htdocs/langs/de_CH/main.lang index 2fb4b1cf440..1dca21634a3 100644 --- a/htdocs/langs/de_CH/main.lang +++ b/htdocs/langs/de_CH/main.lang @@ -224,7 +224,6 @@ UndoExpandAll=Ausklappen rückgängig machen SeeAll=Zeige alles an CloseWindow=Fenster schliessen Priority=Wichtigkeit -MailSentBy=E-Mail Absender NotSent=Nicht gesendet SendAcknowledgementByMail=Bestätigungsemail senden SendMail=sende E-Mail diff --git a/htdocs/langs/de_CH/paybox.lang b/htdocs/langs/de_CH/paybox.lang index cf8cd91b2e0..2fa44ffc490 100644 --- a/htdocs/langs/de_CH/paybox.lang +++ b/htdocs/langs/de_CH/paybox.lang @@ -1,6 +1,4 @@ # Dolibarr language file - Source file is en_US - paybox -WelcomeOnPaymentPage=Willkommen auf der Online - Bezahlseite -ThisIsInformationOnPayment=Informationen zu der vorzunehmenden Zahlunge PayBoxDoPayment=Mit Paybox bezahlen SetupPayBoxToHavePaymentCreatedAutomatically=Paybox mit der URL %s einrichten, um die Zahlung automatisch auszuführen, sobald von Paybox frei gegeben. YourPaymentHasBeenRecorded=Diese Seite bestätigt, dass Ihre Zahlung erfasst wurde. Vielen Dank. diff --git a/htdocs/langs/el_CY/salaries.lang b/htdocs/langs/el_CY/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/el_CY/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/el_CY/trips.lang b/htdocs/langs/el_CY/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/el_CY/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_AE/cashdesk.lang b/htdocs/langs/en_AE/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/en_AE/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/en_AE/errors.lang b/htdocs/langs/en_AE/errors.lang new file mode 100644 index 00000000000..72c26d8ae21 --- /dev/null +++ b/htdocs/langs/en_AE/errors.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - errors +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_AE/help.lang b/htdocs/langs/en_AE/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_AE/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_AE/salaries.lang b/htdocs/langs/en_AE/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/en_AE/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/en_AE/stocks.lang b/htdocs/langs/en_AE/stocks.lang new file mode 100644 index 00000000000..9058791a569 --- /dev/null +++ b/htdocs/langs/en_AE/stocks.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - stocks +QtyCurrentlyKnownInStock=The quantity the system think you have in stock. As long as the inventory is not closed, this is a realtime value and it may change if you continue to make stock movement during the inventory (not recommended). +QtyInStockWhenInventoryWasValidated=The quantity the system think you had in stock when the inventory was validated (before the stock correction) diff --git a/htdocs/langs/en_AE/trips.lang b/htdocs/langs/en_AE/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/en_AE/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_AU/errors.lang b/htdocs/langs/en_AU/errors.lang new file mode 100644 index 00000000000..72c26d8ae21 --- /dev/null +++ b/htdocs/langs/en_AU/errors.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - errors +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_AU/help.lang b/htdocs/langs/en_AU/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_AU/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_AU/salaries.lang b/htdocs/langs/en_AU/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/en_AU/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/en_AU/stocks.lang b/htdocs/langs/en_AU/stocks.lang new file mode 100644 index 00000000000..9058791a569 --- /dev/null +++ b/htdocs/langs/en_AU/stocks.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - stocks +QtyCurrentlyKnownInStock=The quantity the system think you have in stock. As long as the inventory is not closed, this is a realtime value and it may change if you continue to make stock movement during the inventory (not recommended). +QtyInStockWhenInventoryWasValidated=The quantity the system think you had in stock when the inventory was validated (before the stock correction) diff --git a/htdocs/langs/en_AU/trips.lang b/htdocs/langs/en_AU/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/en_AU/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_CA/cashdesk.lang b/htdocs/langs/en_CA/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/en_CA/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/en_CA/errors.lang b/htdocs/langs/en_CA/errors.lang new file mode 100644 index 00000000000..72c26d8ae21 --- /dev/null +++ b/htdocs/langs/en_CA/errors.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - errors +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_CA/help.lang b/htdocs/langs/en_CA/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_CA/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_CA/salaries.lang b/htdocs/langs/en_CA/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/en_CA/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/en_CA/stocks.lang b/htdocs/langs/en_CA/stocks.lang new file mode 100644 index 00000000000..9058791a569 --- /dev/null +++ b/htdocs/langs/en_CA/stocks.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - stocks +QtyCurrentlyKnownInStock=The quantity the system think you have in stock. As long as the inventory is not closed, this is a realtime value and it may change if you continue to make stock movement during the inventory (not recommended). +QtyInStockWhenInventoryWasValidated=The quantity the system think you had in stock when the inventory was validated (before the stock correction) diff --git a/htdocs/langs/en_CA/trips.lang b/htdocs/langs/en_CA/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/en_CA/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_GB/errors.lang b/htdocs/langs/en_GB/errors.lang new file mode 100644 index 00000000000..72c26d8ae21 --- /dev/null +++ b/htdocs/langs/en_GB/errors.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - errors +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_GB/help.lang b/htdocs/langs/en_GB/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_GB/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_IN/cashdesk.lang b/htdocs/langs/en_IN/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/en_IN/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/en_IN/errors.lang b/htdocs/langs/en_IN/errors.lang new file mode 100644 index 00000000000..72c26d8ae21 --- /dev/null +++ b/htdocs/langs/en_IN/errors.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - errors +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_IN/help.lang b/htdocs/langs/en_IN/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_IN/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_IN/salaries.lang b/htdocs/langs/en_IN/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/en_IN/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/en_IN/stocks.lang b/htdocs/langs/en_IN/stocks.lang new file mode 100644 index 00000000000..9058791a569 --- /dev/null +++ b/htdocs/langs/en_IN/stocks.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - stocks +QtyCurrentlyKnownInStock=The quantity the system think you have in stock. As long as the inventory is not closed, this is a realtime value and it may change if you continue to make stock movement during the inventory (not recommended). +QtyInStockWhenInventoryWasValidated=The quantity the system think you had in stock when the inventory was validated (before the stock correction) diff --git a/htdocs/langs/en_IN/trips.lang b/htdocs/langs/en_IN/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/en_IN/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_SG/assets.lang b/htdocs/langs/en_SG/assets.lang new file mode 100644 index 00000000000..05e09a549c8 --- /dev/null +++ b/htdocs/langs/en_SG/assets.lang @@ -0,0 +1,12 @@ +# Dolibarr language file - Source file is en_US - assets +AssetRecoveredVAT=Recovered GST +AssetDisposalSubjectToVat=Disposal subject to GST +AssetDepreciationOptionAmountBaseDepreciationHT=Depreciation base (excl. GST) +AssetDepreciationOptionAmountBaseDeductibleHT=Deductible base (excl. GST) +AssetDepreciationOptionTotalAmountLastDepreciationHT=Total amount last depreciation (excl. GST) +AssetAccountancyCodeVatCollected=Collected GST +AssetAccountancyCodeVatDeductible=Recovered GST on assets +AssetBaseDepreciationHT=Depreciation basis (excl. GST) +AssetDepreciationHT=Depreciation (excl. GST) +AssetCumulativeDepreciationHT=Cumulative depreciation (excl. GST) +AssetResidualHT=Residual value (excl. GST) diff --git a/htdocs/langs/en_SG/cashdesk.lang b/htdocs/langs/en_SG/cashdesk.lang new file mode 100644 index 00000000000..549058925f4 --- /dev/null +++ b/htdocs/langs/en_SG/cashdesk.lang @@ -0,0 +1,4 @@ +# Dolibarr language file - Source file is en_US - cashdesk +NoVAT=No GST for this sale +TicketVatGrouped=Group GST by rate in tickets|receipts +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/en_SG/errors.lang b/htdocs/langs/en_SG/errors.lang new file mode 100644 index 00000000000..c4c745d1898 --- /dev/null +++ b/htdocs/langs/en_SG/errors.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - errors +ErrorLinesCantBeNegativeForOneVATRate=Total of lines (net of tax) can't be negative for a given not null GST rate (Found a negative total for GST rate %s%%). +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_SG/help.lang b/htdocs/langs/en_SG/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_SG/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_SG/members.lang b/htdocs/langs/en_SG/members.lang new file mode 100644 index 00000000000..10e7071d915 --- /dev/null +++ b/htdocs/langs/en_SG/members.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - members +VATToUseForSubscriptions=GST rate to use for contributions +NoVatOnSubscription=No GST for contributions diff --git a/htdocs/langs/en_SG/salaries.lang b/htdocs/langs/en_SG/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/en_SG/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/en_SG/stocks.lang b/htdocs/langs/en_SG/stocks.lang new file mode 100644 index 00000000000..9058791a569 --- /dev/null +++ b/htdocs/langs/en_SG/stocks.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - stocks +QtyCurrentlyKnownInStock=The quantity the system think you have in stock. As long as the inventory is not closed, this is a realtime value and it may change if you continue to make stock movement during the inventory (not recommended). +QtyInStockWhenInventoryWasValidated=The quantity the system think you had in stock when the inventory was validated (before the stock correction) diff --git a/htdocs/langs/en_SG/trips.lang b/htdocs/langs/en_SG/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/en_SG/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_US/interventions.lang b/htdocs/langs/en_US/interventions.lang index 4a51d7afac3..6de7a8f617e 100644 --- a/htdocs/langs/en_US/interventions.lang +++ b/htdocs/langs/en_US/interventions.lang @@ -44,7 +44,6 @@ InterventionsArea=Interventions area DraftFichinter=Draft interventions LastModifiedInterventions=Latest %s modified interventions FichinterToProcess=Interventions to process -TypeContact_fichinter_external_CUSTOMER=Following-up customer contact PrintProductsOnFichinter=Print also lines of type "product" (not only services) on intervention card PrintProductsOnFichinterDetails=interventions generated from orders UseServicesDurationOnFichinter=Use services duration for interventions generated from orders diff --git a/htdocs/langs/en_US/trips.lang b/htdocs/langs/en_US/trips.lang index f40ed0ad70a..6439a8e8bf9 100644 --- a/htdocs/langs/en_US/trips.lang +++ b/htdocs/langs/en_US/trips.lang @@ -1,6 +1,4 @@ -# Dolibarr language file - Source file is en_US - expensereports.lang -# copied from trips.lang - +# Dolibarr language file - Source file is en_US - trips.lang AUTHOR=Recorded by AUTHORPAIEMENT=Paid by AddTrip=Create expense report diff --git a/htdocs/langs/en_ZA/cashdesk.lang b/htdocs/langs/en_ZA/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/en_ZA/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/en_ZA/errors.lang b/htdocs/langs/en_ZA/errors.lang new file mode 100644 index 00000000000..72c26d8ae21 --- /dev/null +++ b/htdocs/langs/en_ZA/errors.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - errors +EmptyMessageNotAllowedError=Empty Message Not Allowed Error diff --git a/htdocs/langs/en_ZA/help.lang b/htdocs/langs/en_ZA/help.lang new file mode 100644 index 00000000000..3fa32c05c8d --- /dev/null +++ b/htdocs/langs/en_ZA/help.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - help +AIProcessingPleaseWait=AI interrogation in progress, please wait... diff --git a/htdocs/langs/en_ZA/salaries.lang b/htdocs/langs/en_ZA/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/en_ZA/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/en_ZA/stocks.lang b/htdocs/langs/en_ZA/stocks.lang new file mode 100644 index 00000000000..9058791a569 --- /dev/null +++ b/htdocs/langs/en_ZA/stocks.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - stocks +QtyCurrentlyKnownInStock=The quantity the system think you have in stock. As long as the inventory is not closed, this is a realtime value and it may change if you continue to make stock movement during the inventory (not recommended). +QtyInStockWhenInventoryWasValidated=The quantity the system think you had in stock when the inventory was validated (before the stock correction) diff --git a/htdocs/langs/en_ZA/trips.lang b/htdocs/langs/en_ZA/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/en_ZA/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_AR/agenda.lang b/htdocs/langs/es_AR/agenda.lang index 23c17e0ae61..871319b9fab 100644 --- a/htdocs/langs/es_AR/agenda.lang +++ b/htdocs/langs/es_AR/agenda.lang @@ -7,7 +7,6 @@ EventOnFullDay=Evento de todo(s) el(los) día(s) MenuToDoActions=Todos los eventos incompletos MenuDoneActions=Todos los eventos terminados ActionsAskedBy=Eventos informados por -ActionsDoneBy=Eventos terminados por ViewCal=Vista del mes ViewDay=Vista del día ViewWeek=Vista de la semana diff --git a/htdocs/langs/es_AR/commercial.lang b/htdocs/langs/es_AR/commercial.lang index 2c73f302d59..f29af10a1f7 100644 --- a/htdocs/langs/es_AR/commercial.lang +++ b/htdocs/langs/es_AR/commercial.lang @@ -36,7 +36,6 @@ TasksHistoryForThisContact=Eventos para este contacto LastProspectNeverContacted=Nunca contactado LastProspectToContact=Contactar LastProspectContactDone=Contacto realizado -ActionDoneBy=Evento realizado por ActionAC_FAX=Enviar fax ActionAC_PROP=Enviar presupuesto por correo ActionAC_EMAIL=Enviar correo diff --git a/htdocs/langs/es_AR/datapolicy.lang b/htdocs/langs/es_AR/datapolicy.lang index 83835053213..6176202b29e 100644 --- a/htdocs/langs/es_AR/datapolicy.lang +++ b/htdocs/langs/es_AR/datapolicy.lang @@ -5,4 +5,3 @@ DATAPOLICY_TIERS_NIPROSPECT_NICLIENT =Ni cliente potencial/ni cliente DATAPOLICY_CONTACT_PROSPECT =Cliente Potencial DATAPOLICY_CONTACT_PROSPECT_CLIENT =Cliente Potencial/Cliente DATAPOLICY_CONTACT_NIPROSPECT_NICLIENT =Ni cliente potencial/ni cliente -DATAPOLICYMail =Configuración de correos electrónicos diff --git a/htdocs/langs/es_AR/mails.lang b/htdocs/langs/es_AR/mails.lang index 34c18dfabce..36573ef159f 100644 --- a/htdocs/langs/es_AR/mails.lang +++ b/htdocs/langs/es_AR/mails.lang @@ -19,7 +19,6 @@ NewMailing=Nuevo correo EditMailing=Editar correo ResetMailing=Reenviar correo DeleteMailing=Eliminar correo -DeleteAMailing=Eliminar un correo PreviewMailing=Previsualizar correo CreateMailing=Crear correo ValidMailing=Validar correo diff --git a/htdocs/langs/es_AR/main.lang b/htdocs/langs/es_AR/main.lang index 7f9275bb75b..f9f071a07b3 100644 --- a/htdocs/langs/es_AR/main.lang +++ b/htdocs/langs/es_AR/main.lang @@ -376,7 +376,6 @@ Reason=Motivo FeatureNotYetSupported=Característica todavía sin soportar Response=Responder SendByMail=Enviar por email -MailSentBy=Email enviado por TextUsedInTheMessageBody=Cuerpo del mensaje SendMail=Enviar email NoEMail=Sin email diff --git a/htdocs/langs/es_AR/paybox.lang b/htdocs/langs/es_AR/paybox.lang index 54d629f8cee..298b91ba05b 100644 --- a/htdocs/langs/es_AR/paybox.lang +++ b/htdocs/langs/es_AR/paybox.lang @@ -1,22 +1,12 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuración del módulo PayBox PayBoxDesc=Este módulo ofrece páginas para permitir el pago en Paybox a los clientes. Esto se puede utilizar para un pago gratuito o para un pago en un objeto Dolibarr en particular (factura, orden, ...) -FollowingUrlAreAvailableToMakePayments=Las siguientes URL están disponibles para ofrecer a un cliente una página para realizar un pago para elementos de Dolibarr -WelcomeOnPaymentPage=Bienvenido a nuestro servicio de pago en línea. -ThisScreenAllowsYouToPay=Esta pantalla le permite realizar un pago en línea a %s. -ThisIsInformationOnPayment=Esta es información sobre el pago a realizar -ToComplete=Para completar -YourEMail=Correo electrónico para recibir confirmación de pago -Creditor=Acreedor PayBoxDoPayment=Pagar con Paybox YouWillBeRedirectedOnPayBox=Serás redirigido al sitio seguro de Paybox para ingresar la información de su tarjeta de crédito -Continue=Siguiente SetupPayBoxToHavePaymentCreatedAutomatically=Configure su Paybox con la URL %s para que el pago se cree automáticamente cuando Paybox lo valide. YourPaymentHasBeenRecorded=Esta página confirma que su pago ha sido registrado. Gracias. YourPaymentHasNotBeenRecorded=Su pago NO ha sido registrado y la transacción ha sido cancelada. Gracias. -InformationToFindParameters=Ayuda para encontrar la información de su cuenta %s PAYBOX_CGI_URL_V2=URL del módulo CGI para pago con Paybox -CSSUrlForPaymentForm=URL de hoja de estilo CSS para formulario de pago NewPayboxPaymentReceived=Nuevo pago de Paybox recibido NewPayboxPaymentFailed=Se intentó un nuevo pago de Paybox pero falló PAYBOX_PAYONLINE_SENDEMAIL=Notificación por correo luego del intento de pago (exitoso o fallido) diff --git a/htdocs/langs/es_BO/cashdesk.lang b/htdocs/langs/es_BO/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_BO/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_BO/salaries.lang b/htdocs/langs/es_BO/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_BO/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_BO/trips.lang b/htdocs/langs/es_BO/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_BO/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_CL/agenda.lang b/htdocs/langs/es_CL/agenda.lang index aec85ebdf1b..87f3b70c50f 100644 --- a/htdocs/langs/es_CL/agenda.lang +++ b/htdocs/langs/es_CL/agenda.lang @@ -7,7 +7,6 @@ EventOnFullDay=Evento todo el día (s) MenuToDoActions=Todos los eventos incompletos MenuDoneActions=Todos los eventos terminados ActionsAskedBy=Eventos reportados por -ActionsDoneBy=Eventos hechos por ViewCal=Vista del mes ViewDay=Vista del día ViewWeek=Vista de la semana diff --git a/htdocs/langs/es_CL/commercial.lang b/htdocs/langs/es_CL/commercial.lang index 2c0fdab5e36..4a55b2e18e9 100644 --- a/htdocs/langs/es_CL/commercial.lang +++ b/htdocs/langs/es_CL/commercial.lang @@ -35,7 +35,6 @@ LastProspectNeverContacted=Nunca contactado LastProspectToContact=Contactar LastProspectContactInProcess=Contacto en proceso LastProspectContactDone=Contacto hecho -ActionDoneBy=Evento hecho por ActionAC_FAX=Enviar fax ActionAC_PROP=Envío cotización por correo ActionAC_EMAIL=Enviar correo electrónico diff --git a/htdocs/langs/es_CL/mails.lang b/htdocs/langs/es_CL/mails.lang index 5db0ce79b06..aa500dc1ebe 100644 --- a/htdocs/langs/es_CL/mails.lang +++ b/htdocs/langs/es_CL/mails.lang @@ -18,7 +18,6 @@ NewMailing=Nuevo correo electrónico EditMailing=Edite el correo electrónico ResetMailing=Reenviar correos electrónicos DeleteMailing=Eliminar correo electrónico -DeleteAMailing=Eliminar un correo electrónico PreviewMailing=Enviar un correo electrónico CreateMailing=Crear correos electrónicos ValidMailing=Correo electrónico válido diff --git a/htdocs/langs/es_CL/main.lang b/htdocs/langs/es_CL/main.lang index 8de90100578..1a728c1355b 100644 --- a/htdocs/langs/es_CL/main.lang +++ b/htdocs/langs/es_CL/main.lang @@ -328,7 +328,6 @@ Undo=Deshacer UndoExpandAll=Deshacer expandir FeatureNotYetSupported=Característica aún no compatible SendByMail=Enviar por correo electrónico -MailSentBy=Correo electrónico enviado por TextUsedInTheMessageBody=Cuerpo del correo electronico SendAcknowledgementByMail=Enviar correo electrónico de confirmación SendMail=Enviar correo electrónico diff --git a/htdocs/langs/es_CL/paybox.lang b/htdocs/langs/es_CL/paybox.lang index 3049702c5a7..0f69e855593 100644 --- a/htdocs/langs/es_CL/paybox.lang +++ b/htdocs/langs/es_CL/paybox.lang @@ -1,22 +1,11 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuración del módulo PayBox PayBoxDesc=Este módulo ofrece páginas para permitir el pago en Paybox por parte de los clientes. Esto se puede utilizar para un pago gratuito o para un pago en un objeto Dolibarr particular (factura, orden, ...) -FollowingUrlAreAvailableToMakePayments=Las siguientes URL están disponibles para ofrecer una página a un cliente para realizar un pago en objetos Dolibarr -WelcomeOnPaymentPage=Bienvenido a nuestro servicio de pago en línea. -ThisScreenAllowsYouToPay=Esta pantalla le permite realizar un pago en línea a %s. -ThisIsInformationOnPayment=Esta es información sobre el pago a hacer -ToComplete=Completar -YourEMail=Correo electrónico para recibir la confirmación del pago -Creditor=Acreedor YouWillBeRedirectedOnPayBox=Será redirigido a la página segura de Paybox para ingresar su información de tarjeta de crédito -Continue=Siguiente SetupPayBoxToHavePaymentCreatedAutomatically=Configure su Paybox con url %s para que el pago se cree automáticamente cuando sea validado por Paybox. YourPaymentHasBeenRecorded=Esta página confirma que su pago ha sido registrado. Gracias. YourPaymentHasNotBeenRecorded=Su pago NO ha sido registrado y la transacción ha sido cancelada. Gracias. -AccountParameter=Parámetros de cuenta -InformationToFindParameters=Ayuda para encontrar su información de cuenta %s PAYBOX_CGI_URL_V2=Url del módulo de pago CGI para el pago -CSSUrlForPaymentForm=URL de hoja de estilo CSS para formulario de pago NewPayboxPaymentReceived=Nuevo pago de Paybox recibido NewPayboxPaymentFailed=El nuevo pago de Paybox intentó pero falló PAYBOX_PAYONLINE_SENDEMAIL=Notificación por correo electrónico después del intento de pago (éxito o falla) diff --git a/htdocs/langs/es_CO/commercial.lang b/htdocs/langs/es_CO/commercial.lang index bcb93d32bdc..62f3818aeaa 100644 --- a/htdocs/langs/es_CO/commercial.lang +++ b/htdocs/langs/es_CO/commercial.lang @@ -30,7 +30,6 @@ StatusActionInProcess=En proceso TasksHistoryForThisContact=Eventos para este contacto LastProspectNeverContacted=Nunca contactado LastProspectContactDone=Contacto realizado -ActionDoneBy=Evento realizado por ActionAC_FAX=Enviar fax ActionAC_PROP=Enviar propuesta por correo ActionAC_EMAIL=Enviar correo electrónico diff --git a/htdocs/langs/es_CO/companies.lang b/htdocs/langs/es_CO/companies.lang index 6c98425efe6..afc22290f6d 100644 --- a/htdocs/langs/es_CO/companies.lang +++ b/htdocs/langs/es_CO/companies.lang @@ -45,8 +45,6 @@ ProfId3AT=Id prof. 3 (Handelsregister-Nr.) ProfId1CM=Prueba de ID 1 (Registro de Comercio) ProfId2CM=Prueba de ID 2 (Nº de Contribuyente) ProfId2ShortCM=Contribuyente No. -ProfId2CO=Identificación (CC, NIT, CE) -ProfId3CO=CIIU ProfId1ShortFR=SIRENA ProfId1LU=Identificación. profe. 1 (R.C.S. Luxemburgo) ProfId2LU=Identificación. profe. 2 (permiso comercial) diff --git a/htdocs/langs/es_CO/datapolicy.lang b/htdocs/langs/es_CO/datapolicy.lang index 7c294832731..c978fde3d3d 100644 --- a/htdocs/langs/es_CO/datapolicy.lang +++ b/htdocs/langs/es_CO/datapolicy.lang @@ -4,6 +4,4 @@ DATAPOLICY_TIERS_PROSPECT_CLIENT =Prospecto/Cliente DATAPOLICY_TIERS_NIPROSPECT_NICLIENT =Ni prospecto/ni cliente DATAPOLICY_CONTACT_PROSPECT_CLIENT =Prospecto/Cliente DATAPOLICY_CONTACT_NIPROSPECT_NICLIENT =Ni prospecto/ni cliente -DATAPOLICYMail =Configuración de correos electrónicos -DATAPOLICY_POPUP_ANONYME_TEXTE =No puede eliminar este contacto de Dolibarr porque hay elementos relacionados. De acuerdo con el RGPD, harás anónimos todos estos datos para respetar tus obligaciones. Te gustaria continuar ? DATAPOLICY_PORTABILITE_CONFIRMATION =Quiere exportar los datos personales de este contacto. Está seguro ? diff --git a/htdocs/langs/es_CO/mails.lang b/htdocs/langs/es_CO/mails.lang index 56b0702b08d..7693ddbb5c5 100644 --- a/htdocs/langs/es_CO/mails.lang +++ b/htdocs/langs/es_CO/mails.lang @@ -18,7 +18,6 @@ NewMailing=Nuevo e-mailing EditMailing=Editar e-mailing ResetMailing=Reenviar e-mailing DeleteMailing=Eliminar e-mailing -DeleteAMailing=Eliminar un e-mailing PreviewMailing=Vista previa del envío de e-mailing CreateMailing=Crear e-mailing ValidMailing=Envío de e-mailing válido diff --git a/htdocs/langs/es_CO/paybox.lang b/htdocs/langs/es_CO/paybox.lang index 8f962f29896..e99c8e2031e 100644 --- a/htdocs/langs/es_CO/paybox.lang +++ b/htdocs/langs/es_CO/paybox.lang @@ -1,22 +1,11 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuración del módulo PayBox -FollowingUrlAreAvailableToMakePayments=Las siguientes URL están disponibles para ofrecer una página a un cliente para realizar un pago en objetos Dolibarr -WelcomeOnPaymentPage=Bienvenido a nuestro servicio de pago online -ThisScreenAllowsYouToPay=Esta pantalla le permite realizar un pago en línea a %s. -ThisIsInformationOnPayment=Esta es la información sobre el pago a realizar -ToComplete=Completar -YourEMail=Correo electrónico para recibir la confirmación del pago -Creditor=Acreedor PayBoxDoPayment=Pagar con Paybox YouWillBeRedirectedOnPayBox=Será redirigido a la página segura de Paybox para ingresar la información de su tarjeta de crédito -Continue=Siguiente SetupPayBoxToHavePaymentCreatedAutomatically=Configure su Paybox con la URL %s para que el pago se cree automáticamente cuando lo valide Paybox. YourPaymentHasBeenRecorded=Esta página confirma que su pago ha sido registrado. Gracias. YourPaymentHasNotBeenRecorded=Su pago NO ha sido registrado y la transacción ha sido cancelada. Gracias. -AccountParameter=Parámetros de cuenta -InformationToFindParameters=Ayuda para encontrar la información de su cuenta %s PAYBOX_CGI_URL_V2=Url del módulo CGI de Paybox para pago -CSSUrlForPaymentForm=URL de la hoja de estilo CSS para el formulario de pago NewPayboxPaymentReceived=Nuevo pago recibido de Paybox NewPayboxPaymentFailed=Nuevo pago de Paybox intentado pero fallido PAYBOX_PAYONLINE_SENDEMAIL=Notificación por correo electrónico después del intento de pago (éxito o fracaso) diff --git a/htdocs/langs/es_CR/agenda.lang b/htdocs/langs/es_CR/agenda.lang index c2c2ada904c..c1acf49bd4b 100644 --- a/htdocs/langs/es_CR/agenda.lang +++ b/htdocs/langs/es_CR/agenda.lang @@ -9,7 +9,6 @@ MenuToDoActions=Todos los eventos incompletos MenuDoneActions=Todos los eventos finalizados MenuDoneMyActions=Mis eventos finalizados ActionsAskedBy=Eventos reportados por -ActionsDoneBy=Eventos terminados por ViewCal=Vista del mes ViewDay=Vista del día ViewWeek=Vista de la semana diff --git a/htdocs/langs/es_CR/commercial.lang b/htdocs/langs/es_CR/commercial.lang index 41b22e597c8..5f3640eb45d 100644 --- a/htdocs/langs/es_CR/commercial.lang +++ b/htdocs/langs/es_CR/commercial.lang @@ -34,7 +34,6 @@ TasksHistoryForThisContact=Eventos para este contacto LastProspectNeverContacted=Nunca contactado LastProspectContactInProcess=Contacto en proceso LastProspectContactDone=Contacto realizado -ActionDoneBy=Evento realizado por ActionAC_FAX=Enviar fax ActionAC_PROP=Enviar cotizacion por email ActionAC_EMAIL=Enviar correo diff --git a/htdocs/langs/es_CR/datapolicy.lang b/htdocs/langs/es_CR/datapolicy.lang index d71d763ba4b..91b85d35c8a 100644 --- a/htdocs/langs/es_CR/datapolicy.lang +++ b/htdocs/langs/es_CR/datapolicy.lang @@ -3,4 +3,3 @@ DATAPOLICY_TIERS_PROSPECT_CLIENT =Cliente Potencial/Cliente DATAPOLICY_TIERS_NIPROSPECT_NICLIENT =Ni cliente potencial/ni cliente DATAPOLICY_CONTACT_PROSPECT_CLIENT =Cliente Potencial/Cliente DATAPOLICY_CONTACT_NIPROSPECT_NICLIENT =Ni cliente potencial/ni cliente -DATAPOLICYMail =Configuración de correos electrónicos diff --git a/htdocs/langs/es_CR/eventorganization.lang b/htdocs/langs/es_CR/eventorganization.lang index 574aabcd460..1b9912678b8 100644 --- a/htdocs/langs/es_CR/eventorganization.lang +++ b/htdocs/langs/es_CR/eventorganization.lang @@ -8,5 +8,3 @@ EvntOrgCancelled =Cancelado EmailCompanyForInvoice=E-mail de la empresa (para la factura, si es diferente del e-mail del asistente) ConfirmModifyStatus=Confirmar el estado de modificación ConfirmModifyStatusQuestion=¿Está seguro de que quiere modificar el %s registro(s) seleccionado? -RecordsUpdated =%s Registros actualizados -NoRecordUpdated =Registro no actualizado diff --git a/htdocs/langs/es_CR/mails.lang b/htdocs/langs/es_CR/mails.lang index 02958a26a08..5fe2b066541 100644 --- a/htdocs/langs/es_CR/mails.lang +++ b/htdocs/langs/es_CR/mails.lang @@ -19,7 +19,6 @@ NewMailing=Nuevo correo EditMailing=Editar correo ResetMailing=Reenviar correo DeleteMailing=Eliminar correo electrónico -DeleteAMailing=Eliminar un correo electrónico PreviewMailing=Previsualizar correo CreateMailing=Crear correo ValidMailing=Validar correo diff --git a/htdocs/langs/es_CR/main.lang b/htdocs/langs/es_CR/main.lang index fc043c3de54..bcfcaa98c50 100644 --- a/htdocs/langs/es_CR/main.lang +++ b/htdocs/langs/es_CR/main.lang @@ -374,7 +374,6 @@ UndoExpandAll=Deshacer expandir Reason=Motivo FeatureNotYetSupported=Característica aún no admitida SendByMail=Enviar por email -MailSentBy=Email enviado por TextUsedInTheMessageBody=Cuerpo del email SendAcknowledgementByMail=Enviar correo electrónico de confirmación SendMail=Enviar correo electrónico diff --git a/htdocs/langs/es_CR/paybox.lang b/htdocs/langs/es_CR/paybox.lang index 39a25bb0023..be7c201cd55 100644 --- a/htdocs/langs/es_CR/paybox.lang +++ b/htdocs/langs/es_CR/paybox.lang @@ -1,21 +1,11 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuración del módulo PayBox -FollowingUrlAreAvailableToMakePayments=Las siguientes URL están disponibles para ofrecer a un cliente una página para realizar un pago para elementos de Dolibarr -WelcomeOnPaymentPage=Bienvenido a nuestro servicio de pago en línea -ThisScreenAllowsYouToPay=Esta pantalla le permite realizar un pago en línea a %s. -ThisIsInformationOnPayment=Esta es la información sobre el pago a realizar -ToComplete=Para completar -YourEMail=Correo electrónico para recibir confirmación de pago -Creditor=Acreedor PayBoxDoPayment=Pagar con Paybox YouWillBeRedirectedOnPayBox=Serás redirigido al sitio seguro de Paybox para ingresar la información de su tarjeta de crédito -Continue=Siguiente SetupPayBoxToHavePaymentCreatedAutomatically=Configure su Paybox con la URL %s para que el pago se cree automáticamente cuando Paybox lo valide. YourPaymentHasBeenRecorded=Esta página confirma que su pago ha sido registrado. Gracias. YourPaymentHasNotBeenRecorded=Su pago NO ha sido registrado y la transacción ha sido cancelada. Gracias. -InformationToFindParameters=Ayuda para encontrar la información de su cuenta %s PAYBOX_CGI_URL_V2=URL del módulo CGI para pago con Paybox -CSSUrlForPaymentForm=URL de hoja de estilo CSS para formulario de pago NewPayboxPaymentReceived=Nuevo pago de Paybox recibido NewPayboxPaymentFailed=Se intentó un nuevo pago de Paybox pero falló PAYBOX_PAYONLINE_SENDEMAIL=Notificación por correo luego del intento de pago (exitoso o fallido) diff --git a/htdocs/langs/es_CU/commercial.lang b/htdocs/langs/es_CU/commercial.lang index 574f751ac54..95ed4a6932e 100644 --- a/htdocs/langs/es_CU/commercial.lang +++ b/htdocs/langs/es_CU/commercial.lang @@ -36,7 +36,6 @@ LastProspectNeverContacted=Nunca contactado LastProspectToContact=Contactar LastProspectContactInProcess=Contacto en proceso LastProspectContactDone=Contacto hecho -ActionDoneBy=Evento realizado por ActionAC_FAX=Enviar fax ActionAC_PROP=Enviar propuesta por correo ActionAC_EMAIL=Enviar correo electrónico diff --git a/htdocs/langs/es_CU/datapolicy.lang b/htdocs/langs/es_CU/datapolicy.lang index 61feb2fe8a6..be9693dabcb 100644 --- a/htdocs/langs/es_CU/datapolicy.lang +++ b/htdocs/langs/es_CU/datapolicy.lang @@ -6,6 +6,4 @@ DATAPOLICY_TIERS_NIPROSPECT_NICLIENT =Ni prospecto/ni cliente DATAPOLICY_CONTACT_PROSPECT =Prospecto DATAPOLICY_CONTACT_PROSPECT_CLIENT =Prospecto/Cliente DATAPOLICY_CONTACT_NIPROSPECT_NICLIENT =Ni prospecto/ni cliente -DATAPOLICYMail =Configuración de correos electrónicos -DATAPOLICY_POPUP_ANONYME_TEXTE =No puede eliminar este contacto de Dolibarr porque hay elementos relacionados. De acuerdo con el RGPD, harás anónimos todos estos datos para respetar tus obligaciones. Te gustaria continuar ? DATAPOLICY_PORTABILITE_CONFIRMATION =Quiere exportar los datos personales de este contacto. Está seguro ? diff --git a/htdocs/langs/es_CU/mails.lang b/htdocs/langs/es_CU/mails.lang index ddc7ce58700..7322c930fff 100644 --- a/htdocs/langs/es_CU/mails.lang +++ b/htdocs/langs/es_CU/mails.lang @@ -20,7 +20,6 @@ NewMailing=Nuevo correo electrónico EditMailing=Editar correo electrónico ResetMailing=reenviar correo electrónico DeleteMailing=Eliminar correo electrónico -DeleteAMailing=Eliminar un correo electrónico PreviewMailing=Vista previa de correo electrónico CreateMailing=Crear correo electrónico ValidMailing=Correo electrónico válido diff --git a/htdocs/langs/es_CU/main.lang b/htdocs/langs/es_CU/main.lang index f2a34287095..f292743644d 100644 --- a/htdocs/langs/es_CU/main.lang +++ b/htdocs/langs/es_CU/main.lang @@ -381,7 +381,6 @@ Undo=Deshacer UndoExpandAll=Deshacer expandir FeatureNotYetSupported=Característica aún no admitida SendByMail=Enviar por correo electrónico -MailSentBy=Correo electrónico enviado por TextUsedInTheMessageBody=Cuerpo del correo electronico SendAcknowledgementByMail=Enviar correo electrónico de confirmación SendMail=Enviar correo electrónico diff --git a/htdocs/langs/es_CU/paybox.lang b/htdocs/langs/es_CU/paybox.lang index a18a5e1a708..e3505009fdc 100644 --- a/htdocs/langs/es_CU/paybox.lang +++ b/htdocs/langs/es_CU/paybox.lang @@ -1,22 +1,12 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuración del módulo PayBox PayBoxDesc=Este módulo ofrece páginas para permitir el pago en Paybox por parte de los clientes. Esto se puede utilizar para un pago gratuito o para un pago en un objeto particular de Dolibarr (factura, pedido, ...) -FollowingUrlAreAvailableToMakePayments=Las siguientes URL están disponibles para ofrecer una página a un cliente para realizar un pago en objetos Dolibarr -WelcomeOnPaymentPage=Bienvenido a nuestro servicio de pago en línea -ThisScreenAllowsYouToPay=Esta pantalla le permite realizar un pago en línea a %s. -ThisIsInformationOnPayment=Esta es la información sobre el pago a hacer -ToComplete=Completar -YourEMail=Email para recibir confirmación de pago -Creditor=Acreedor PayBoxDoPayment=Paga con Pay Box YouWillBeRedirectedOnPayBox=Será redirigido a la página segura de Paybox para ingresar la información de su tarjeta de crédito -Continue=Próximo SetupPayBoxToHavePaymentCreatedAutomatically=Configure su Paybox con la url %s para que el pago se cree automáticamente cuando lo valide Paybox. YourPaymentHasBeenRecorded=Esta página confirma que su pago ha sido registrado. Gracias. YourPaymentHasNotBeenRecorded=Su pago NO ha sido registrado y la transacción ha sido cancelada. Gracias. -InformationToFindParameters=Ayuda para encontrar la información de su cuenta %s PAYBOX_CGI_URL_V2=URL del módulo CGI de Paybox para pago -CSSUrlForPaymentForm=URL de hoja de estilo CSS para formulario de pago NewPayboxPaymentReceived=Nuevo pago de Paybox recibido NewPayboxPaymentFailed=Nuevo pago de Paybox intentado pero fallido PAYBOX_PAYONLINE_SENDEMAIL=Notificación por correo electrónico después del intento de pago (éxito o falla) diff --git a/htdocs/langs/es_DO/cashdesk.lang b/htdocs/langs/es_DO/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_DO/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_DO/salaries.lang b/htdocs/langs/es_DO/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_DO/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_DO/trips.lang b/htdocs/langs/es_DO/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_DO/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_EC/commercial.lang b/htdocs/langs/es_EC/commercial.lang index 4820d13cd6a..f78862fdacd 100644 --- a/htdocs/langs/es_EC/commercial.lang +++ b/htdocs/langs/es_EC/commercial.lang @@ -37,7 +37,6 @@ LastProspectNeverContacted=Nunca contactado LastProspectToContact=Contactar LastProspectContactInProcess=Contacto en proceso LastProspectContactDone=Contacto hecho -ActionDoneBy=Evento realizado por ActionAC_FAX=Enviar fax ActionAC_PROP=Enviar propuesta por correo ActionAC_EMAIL=Enviar correo electrónico diff --git a/htdocs/langs/es_EC/mails.lang b/htdocs/langs/es_EC/mails.lang index f9ff75a5a3f..f3104bd4a3e 100644 --- a/htdocs/langs/es_EC/mails.lang +++ b/htdocs/langs/es_EC/mails.lang @@ -15,7 +15,6 @@ NewMailing=Nuevo correo electrónico EditMailing=Editar correos electrónicos ResetMailing=Reenviar correo electrónico DeleteMailing=Eliminar correo electrónico -DeleteAMailing=Eliminar un correo electrónico PreviewMailing=Previsualizar correo electrónico CreateMailing=Crear correo electrónico ValidMailing=Correo electrónico válido diff --git a/htdocs/langs/es_EC/main.lang b/htdocs/langs/es_EC/main.lang index c5978aef380..a21923c6718 100644 --- a/htdocs/langs/es_EC/main.lang +++ b/htdocs/langs/es_EC/main.lang @@ -360,7 +360,6 @@ Undo=Deshacer UndoExpandAll=Deshacer expandir FeatureNotYetSupported=Característica aún no soportado SendByMail=Enviar por correo electrónico -MailSentBy=Correo electrónico enviado por TextUsedInTheMessageBody=Cuerpo del correo electronico SendAcknowledgementByMail=Enviar correo electrónico de confirmación SendMail=Enviar correo electrónico diff --git a/htdocs/langs/es_EC/paybox.lang b/htdocs/langs/es_EC/paybox.lang index 4e13080316d..3746e59a94e 100644 --- a/htdocs/langs/es_EC/paybox.lang +++ b/htdocs/langs/es_EC/paybox.lang @@ -1,22 +1,12 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuración del módulo PayBox PayBoxDesc=Este módulo ofrece páginas para permitir el pago en Paybox por los clientes. Esto se puede utilizar para un pago gratuito o para un pago en un objeto particular Dolibarr (factura, pedido, ...) -FollowingUrlAreAvailableToMakePayments=Las siguientes URL están disponibles para ofrecer una página a un cliente para realizar un pago en objetos de Dolibarr -WelcomeOnPaymentPage=Bienvenido a nuestro servicio de pago en línea. -ThisScreenAllowsYouToPay=Esta pantalla le permite realizar un pago en línea a%s. -ThisIsInformationOnPayment=Esta es información sobre el pago a hacer -ToComplete=Completar -YourEMail=Correo electrónico para recibir confirmación de pago -Creditor=Acreedor PayBoxDoPayment=Paga con Paybox YouWillBeRedirectedOnPayBox=Se le redirigirá a la página segura de Paybox para ingresar su información de tarjeta de crédito. -Continue=Siguiente SetupPayBoxToHavePaymentCreatedAutomatically=Configure su Paybox con url %s para que el pago se cree automáticamente cuando sea validado por Paybox. YourPaymentHasBeenRecorded=Esta página confirma que se ha registrado su pago. YourPaymentHasNotBeenRecorded=Su pago NO ha sido registrado y la transacción ha sido cancelada. Gracias. -InformationToFindParameters=Ayuda para encontrar la información de tu cuenta de%s PAYBOX_CGI_URL_V2=URL del módulo CGI de Paybox para el pago -CSSUrlForPaymentForm=URL de estilo de hoja CSS para el formulario de pago NewPayboxPaymentReceived=Nuevo pago de Paybox recibido NewPayboxPaymentFailed=Nuevo pago de Paybox probado pero fallido PAYBOX_PAYONLINE_SENDEMAIL=Notificación por correo electrónico después del intento de pago (exitoso o fallido) diff --git a/htdocs/langs/es_GT/cashdesk.lang b/htdocs/langs/es_GT/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_GT/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_GT/salaries.lang b/htdocs/langs/es_GT/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_GT/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_GT/trips.lang b/htdocs/langs/es_GT/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_GT/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_HN/cashdesk.lang b/htdocs/langs/es_HN/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_HN/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_HN/salaries.lang b/htdocs/langs/es_HN/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_HN/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_HN/trips.lang b/htdocs/langs/es_HN/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_HN/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_MX/agenda.lang b/htdocs/langs/es_MX/agenda.lang index d26cbf57761..ac5697fc4f7 100644 --- a/htdocs/langs/es_MX/agenda.lang +++ b/htdocs/langs/es_MX/agenda.lang @@ -8,7 +8,6 @@ MenuToDoActions=Todos los eventos incompletos MenuDoneActions=Todos los eventos finalizados MenuDoneMyActions=Mis eventos finalizados ActionsAskedBy=Eventos reportados por -ActionsDoneBy=Eventos realizado por ViewCal=Vista del mes ViewDay=Vista de día ViewWeek=Vista de la semana diff --git a/htdocs/langs/es_MX/commercial.lang b/htdocs/langs/es_MX/commercial.lang index 66727fc0e50..3e4e6dc40cb 100644 --- a/htdocs/langs/es_MX/commercial.lang +++ b/htdocs/langs/es_MX/commercial.lang @@ -35,7 +35,6 @@ LastProspectNeverContacted=Nunca contactado LastProspectToContact=Para contactar LastProspectContactInProcess=Contacto en proceso LastProspectContactDone=Contacto realizado -ActionDoneBy=Evento realizado por ActionAC_FAX=Enviar fax ActionAC_PROP=Enviar cotizacion por email ActionAC_EMAIL=Enviar email diff --git a/htdocs/langs/es_MX/main.lang b/htdocs/langs/es_MX/main.lang index 0685533d69d..138f954d774 100644 --- a/htdocs/langs/es_MX/main.lang +++ b/htdocs/langs/es_MX/main.lang @@ -223,7 +223,6 @@ Currency=Moneda Undo=Deshacer UndoExpandAll=Deshacer ampliar FeatureNotYetSupported=Característica aún no soportada -MailSentBy=Correo electrónico enviado por TextUsedInTheMessageBody=Cuerpo del correo electronico NoEMail=Sin correo electrónico FollowingConstantsWillBeSubstituted=Las siguientes constantes serán reemplazadas con el valor correspondiente. diff --git a/htdocs/langs/es_MX/paybox.lang b/htdocs/langs/es_MX/paybox.lang deleted file mode 100644 index b5e026cdced..00000000000 --- a/htdocs/langs/es_MX/paybox.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - paybox -Continue=Siguiente diff --git a/htdocs/langs/es_PA/cashdesk.lang b/htdocs/langs/es_PA/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_PA/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_PA/salaries.lang b/htdocs/langs/es_PA/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_PA/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_PA/trips.lang b/htdocs/langs/es_PA/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_PA/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_PE/salaries.lang b/htdocs/langs/es_PE/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_PE/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_PY/cashdesk.lang b/htdocs/langs/es_PY/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_PY/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_PY/salaries.lang b/htdocs/langs/es_PY/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_PY/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_PY/trips.lang b/htdocs/langs/es_PY/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_PY/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_US/cashdesk.lang b/htdocs/langs/es_US/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_US/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_US/salaries.lang b/htdocs/langs/es_US/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_US/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_US/trips.lang b/htdocs/langs/es_US/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_US/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_UY/cashdesk.lang b/htdocs/langs/es_UY/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_UY/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_UY/salaries.lang b/htdocs/langs/es_UY/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_UY/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/es_UY/trips.lang b/htdocs/langs/es_UY/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/es_UY/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/es_VE/cashdesk.lang b/htdocs/langs/es_VE/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/es_VE/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/es_VE/salaries.lang b/htdocs/langs/es_VE/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/es_VE/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/fr_BE/agenda.lang b/htdocs/langs/fr_BE/agenda.lang index 54f6b109b08..6475e98330e 100644 --- a/htdocs/langs/fr_BE/agenda.lang +++ b/htdocs/langs/fr_BE/agenda.lang @@ -6,7 +6,6 @@ MenuToDoMyActions=Mes événements incomplets MenuDoneMyActions=Mes événements terminés ActionsAskedBy=Événements rapportés par ActionsToDoBy=Événements assignés à -ActionsDoneBy=Événements faits par ViewCal=Vue mensuelle ViewDay=Vue quotidienne ViewWeek=Vue hebdomadaire diff --git a/htdocs/langs/fr_BE/cashdesk.lang b/htdocs/langs/fr_BE/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/fr_BE/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/fr_BE/salaries.lang b/htdocs/langs/fr_BE/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/fr_BE/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/fr_BE/trips.lang b/htdocs/langs/fr_BE/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/fr_BE/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/fr_CA/mails.lang b/htdocs/langs/fr_CA/mails.lang index 4123dab25ab..aa2b8625c32 100644 --- a/htdocs/langs/fr_CA/mails.lang +++ b/htdocs/langs/fr_CA/mails.lang @@ -15,7 +15,6 @@ NewMailing=Nouveau courrier électronique EditMailing=Modifier le courrier électronique ResetMailing=Renvoyer l'envoi par courrier électronique DeleteMailing=Supprimer l'envoi par courrier électronique -DeleteAMailing=Supprimer un courrier électronique PreviewMailing=Aperçu de l'envoi par courrier électronique CreateMailing=Créer un email ValidMailing=Courrier électronique valide diff --git a/htdocs/langs/fr_CA/paybox.lang b/htdocs/langs/fr_CA/paybox.lang index 651c4f393b1..291a0e68801 100644 --- a/htdocs/langs/fr_CA/paybox.lang +++ b/htdocs/langs/fr_CA/paybox.lang @@ -1,18 +1,9 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuration du module PayBox PayBoxDesc=Ce module offre des pages pour permettre le paiement sur Paybox par les clients. Cela peut être utilisé pour un paiement gratuit ou pour un paiement sur un objet Dolibarr particulier (facture, commande, ...) -FollowingUrlAreAvailableToMakePayments=Les URL suivantes sont disponibles pour offrir une page à un client pour effectuer un paiement sur les objets Dolibarr -ThisScreenAllowsYouToPay=Cet écran vous permet de faire un paiement en ligne à %s. -ThisIsInformationOnPayment=Il s'agit d'informations sur le paiement à effectuer -ToComplete=Compléter -YourEMail=Email pour recevoir la confirmation de paiement -Creditor=Créancier YouWillBeRedirectedOnPayBox=Vous serez redirigé sur la page Paybox sécurisée pour vous inscrire les informations de votre carte de crédit -Continue=Suivant YourPaymentHasBeenRecorded=Cette page confirme que votre paiement a été enregistré. Je vous remercie. -InformationToFindParameters=Aidez-nous à trouver vos informations sur le compte %s PAYBOX_CGI_URL_V2=Url de Paybox CGI module de paiement -CSSUrlForPaymentForm=URL de la feuille de style CSS pour le formulaire de paiement NewPayboxPaymentFailed=Le nouveau paiement Paybox a échoué PAYBOX_PBX_SITE=Valeur pour PBX SITE PAYBOX_PBX_RANG=Valeur pour PBX Rang diff --git a/htdocs/langs/fr_CH/cashdesk.lang b/htdocs/langs/fr_CH/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/fr_CH/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/fr_CH/salaries.lang b/htdocs/langs/fr_CH/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/fr_CH/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/fr_CH/trips.lang b/htdocs/langs/fr_CH/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/fr_CH/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/fr_CI/cashdesk.lang b/htdocs/langs/fr_CI/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/fr_CI/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/fr_CI/salaries.lang b/htdocs/langs/fr_CI/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/fr_CI/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/fr_CI/trips.lang b/htdocs/langs/fr_CI/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/fr_CI/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/fr_CM/cashdesk.lang b/htdocs/langs/fr_CM/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/fr_CM/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/fr_CM/salaries.lang b/htdocs/langs/fr_CM/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/fr_CM/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/fr_CM/trips.lang b/htdocs/langs/fr_CM/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/fr_CM/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/fr_FR/accountancy.lang b/htdocs/langs/fr_FR/accountancy.lang index c5b1a476e07..d217e9b8b62 100644 --- a/htdocs/langs/fr_FR/accountancy.lang +++ b/htdocs/langs/fr_FR/accountancy.lang @@ -68,14 +68,14 @@ UserAccountNotDefined=Compte comptable pour l'utilisateur non défini dans la co AccountancyArea=Espace comptabilité AccountancyAreaDescIntro=L'utilisation du module de comptabilité se fait en plusieurs étapes: AccountancyAreaDescActionOnce=Les actions suivantes sont habituellement exécutées une seule fois, ou une fois par an ... -AccountancyAreaDescActionOnceBis=Les prochaines étapes doivent être faites pour vous faire gagner du temps à l'avenir en vous proposant automatiquement le bon compte comptable par défaut lors de la ventilation (écrire des enregistrements dans les journaux et grand livre) +AccountancyAreaDescActionOnceBis=Les prochaines étapes doivent être faites pour vous faire gagner du temps à l'avenir en vous proposant automatiquement le bon compte comptable par défaut lors du transfert en comptabilité AccountancyAreaDescActionFreq=Les actions suivantes sont habituellement exécutées chaque mois, semaine, ou jour pour les très grandes entreprises ... AccountancyAreaDescJournalSetup=Étape %s : Créer ou vérifier le contenu de la liste des journaux depuis le menu %s AccountancyAreaDescChartModel=Étape %s : Vérifiez qu'il existe un modèle de plan comptable ou créez-en un à partir du menu %s AccountancyAreaDescChart=Étape %s : Sélectionnez et | ou complétez votre plan de compte dans le menu %s -AccountancyAreaDescFiscalPeriod=Étape %s: Définissez un exercice par défaut sur lequel intégrer vos entrées en comptabilité. Pour cela, utilisez l'entrée de menu %s. +AccountancyAreaDescFiscalPeriod=Étape %s : Définissez un exercice par défaut sur lequel intégrer vos entrées en comptabilité. Pour cela, utilisez l'entrée de menu %s. AccountancyAreaDescVat=Étape %s : Définissez les comptes comptables de chaque taux de TVA utilisé. Pour cela, suivez le menu suivant %s. AccountancyAreaDescDefault=Étape %s : Définir les comptes de comptabilité par défaut. Pour cela, utilisez l'entrée de menu %s. AccountancyAreaDescExpenseReport=Étape %s : Définissez les comptes comptables par défaut des dépenses des notes de frais. Pour cela, suivez le menu %s. @@ -90,8 +90,8 @@ AccountancyAreaDescProd=Étape %s : Définissez les comptes comptables sur vos p AccountancyAreaDescBind=Étape %s : Vérifier que la liaison entre les %s lignes existantes et le compte comptable est faite, ainsi l'application sera capable d'inscrire les transaction dans le grand livre en un seul clic. Compléter les liaisons manquantes. Pour cela, suivez le menu suivant %s. AccountancyAreaDescWriteRecords=Étape %s: Ecrire les transactions dans le grand livre. Pour cela, suivez le menu %s, et cliquer sur le bouton %s. -AccountancyAreaDescAnalyze=STEP %s : lire les rapports ou générer des fichiers d'exportation pour d'autres comptables. -AccountancyAreaDescClosePeriod=ÉTAPE %s : Fermer la période afin que nous ne puissions plus transférer de données au cours de la même période dans le futur. +AccountancyAreaDescAnalyze=Étape %s : Lire les rapports ou générer des fichiers d'exportation pour d'autres comptables. +AccountancyAreaDescClosePeriod=Étape %s : Fermer la période afin que nous ne puissions plus transférer de données au cours de la même période dans le futur. TheFiscalPeriodIsNotDefined=Une étape obligatoire de configuration n'a pas été complétée (l'exercice fiscal n'est pas défini) TheJournalCodeIsNotDefinedOnSomeBankAccount=Une étape obligatoire dans la configuration n'a pas été terminée (journal de code de comptabilité non défini pour tous les comptes bancaires) @@ -178,6 +178,7 @@ ACCOUNTING_SELL_JOURNAL=Ventes ACCOUNTING_PURCHASE_JOURNAL=Achats ACCOUNTING_BANK_JOURNAL=Banque ACCOUNTING_EXPENSEREPORT_JOURNAL=Notes de frais + ACCOUNTING_MISCELLANEOUS_JOURNAL=Opérations diverses ACCOUNTING_HAS_NEW_JOURNAL=A-nouveaux ACCOUNTING_INVENTORY_JOURNAL=Inventaire @@ -328,7 +329,7 @@ WarningRecordWithoutSubledgerAreExcluded=Attention, toutes les lignes sans compt AccountRemovedFromCurrentChartOfAccount=Compte comptable qui n'existe pas dans le plan comptable actuel ## Admin -BindingOptions=Options de liaisons avec les codes comptables +BindingOptions=Options de l'outil permettant de lier des lignes avec des produits ApplyMassCategories=Application en masse des catégories AddAccountFromBookKeepingWithNoCategories=Comptes disponibles pas encore dans le groupe personnalisé CategoryDeleted=Le groupe de comptes comptables a été supprimé @@ -467,7 +468,7 @@ AccountancyClosureConfirmAccountingReversal=Êtes-vous sûr de vouloir enregistr ## Error SomeMandatoryStepsOfSetupWereNotDone=Certaines étapes obligatoires de la configuration n'ont pas été réalisées, merci de compléter cette dernière -ErrorNoAccountingCategoryForThisCountry=Pas de catégories de regroupement comptable disponibles pour le pays %s (Voir %s - %s - %s) +ErrorNoAccountingCategoryForThisCountry=Pas de groupes de comptes personnalisés disponibles pour le pays %s (Voir %s - %s - %s) ErrorInvoiceContainsLinesNotYetBounded=Vous essayez de journaliser certaines lignes de la facture %s , mais certaines autres lignes ne sont pas encore liées au compte de comptabilité. La journalisation de toutes les lignes de facture pour cette facture est refusée. ErrorInvoiceContainsLinesNotYetBoundedShort=Certaines lignes sur la facture ne sont pas liées au compte comptable. ExportNotSupported=Le format de l'export n'est pas supporté par cette page diff --git a/htdocs/langs/fr_FR/salaries.lang b/htdocs/langs/fr_FR/salaries.lang index 8da1def9309..ea95262f6bf 100644 --- a/htdocs/langs/fr_FR/salaries.lang +++ b/htdocs/langs/fr_FR/salaries.lang @@ -1,6 +1,6 @@ # Dolibarr language file - Source file is en_US - salaries -SALARIES_ACCOUNTING_ACCOUNT_PAYMENT=Compte comptable par défaut pour les tiers "salariés" -SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=Le compte dédié défini sur la fiche utilisateur sera utilisé en tant que compte comptable de tiers (Compte auxiliaire). +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT=Compte comptable par défaut pour les salaires "utilisateurs" +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=Le compte dédié défini sur la fiche utilisateur sera utilisé pour le compte auxiliaire uniquement. Celui-ci sera utilisé pour le compte général, mais également comme valeur par défaut du compte auxiliaire s'il n'y a pas de compte comptable défini sur l'utilisateur. SALARIES_ACCOUNTING_ACCOUNT_CHARGE=Compte comptable par défaut pour les paiements de salaires CREATE_NEW_SALARY_WITHOUT_AUTO_PAYMENT=Par défaut, laissez vide l’option "Créer automatiquement un paiement complet" lors de la création d’un salaire Salary=Salaire diff --git a/htdocs/langs/fr_GA/cashdesk.lang b/htdocs/langs/fr_GA/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/fr_GA/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/fr_GA/salaries.lang b/htdocs/langs/fr_GA/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/fr_GA/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/fr_GA/trips.lang b/htdocs/langs/fr_GA/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/fr_GA/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/it_CH/salaries.lang b/htdocs/langs/it_CH/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/it_CH/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/it_CH/trips.lang b/htdocs/langs/it_CH/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/it_CH/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/nl_BE/blockedlog.lang b/htdocs/langs/nl_BE/blockedlog.lang new file mode 100644 index 00000000000..9e82b56b544 --- /dev/null +++ b/htdocs/langs/nl_BE/blockedlog.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - blockedlog +logBILL_PAYED=Klantfactuur betaald diff --git a/htdocs/langs/nl_BE/mails.lang b/htdocs/langs/nl_BE/mails.lang index c8b3a5a4da9..fc7f7a85860 100644 --- a/htdocs/langs/nl_BE/mails.lang +++ b/htdocs/langs/nl_BE/mails.lang @@ -11,7 +11,6 @@ NewMailing=Nieuwe EMailing EditMailing=Bewerk EMailing ResetMailing=EMailing opnieuw verzenden DeleteMailing=Verwijder EMailing -DeleteAMailing=Verwijder een EMailing PreviewMailing=Voorbeeldweergave EMailing CreateMailing=Creëer EMailing ValidMailing=Geldige EMailing diff --git a/htdocs/langs/pt_AO/cashdesk.lang b/htdocs/langs/pt_AO/cashdesk.lang new file mode 100644 index 00000000000..50bcc1dad32 --- /dev/null +++ b/htdocs/langs/pt_AO/cashdesk.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - cashdesk +MainPrinterToUseMore=empty means the browser printer system diff --git a/htdocs/langs/pt_AO/companies.lang b/htdocs/langs/pt_AO/companies.lang new file mode 100644 index 00000000000..5cb50736018 --- /dev/null +++ b/htdocs/langs/pt_AO/companies.lang @@ -0,0 +1,3 @@ +# Dolibarr language file - Source file is en_US - companies +AllocateCommercial=Assigned to sales representative +LastModifiedThirdParties=Latest %s Third Parties which were modified diff --git a/htdocs/langs/pt_AO/salaries.lang b/htdocs/langs/pt_AO/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/pt_AO/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/pt_AO/trips.lang b/htdocs/langs/pt_AO/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/pt_AO/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/pt_BR/agenda.lang b/htdocs/langs/pt_BR/agenda.lang index 140f08a27b0..5f94a41c98b 100644 --- a/htdocs/langs/pt_BR/agenda.lang +++ b/htdocs/langs/pt_BR/agenda.lang @@ -10,7 +10,6 @@ MenuToDoMyActions=Meus eventos incompletos MenuDoneMyActions=Meus eventos terminados ListOfEvents=Lista de eventos (calendário padrão) ActionsAskedBy=Eventos relatados pelo -ActionsDoneBy=Eventos feito por ViewCal=Ver Mês ViewDay=Ver dia ViewWeek=ver semana diff --git a/htdocs/langs/pt_BR/commercial.lang b/htdocs/langs/pt_BR/commercial.lang index aee8a797292..6a24386f1c3 100644 --- a/htdocs/langs/pt_BR/commercial.lang +++ b/htdocs/langs/pt_BR/commercial.lang @@ -37,7 +37,6 @@ LastProspectNeverContacted=Nunca contactado LastProspectContactInProcess=Contato em andamento LastProspectContactDone=Contato feito ActionAffectedTo=Evento atribuído para -ActionDoneBy=Evento feito por ActionAC_TEL=Chamada telefônica ActionAC_PROP=Enviar proposta por correio ActionAC_EMAIL=Enviar e-mail diff --git a/htdocs/langs/pt_BR/main.lang b/htdocs/langs/pt_BR/main.lang index 61762810022..9a00c3bd00a 100644 --- a/htdocs/langs/pt_BR/main.lang +++ b/htdocs/langs/pt_BR/main.lang @@ -327,7 +327,6 @@ SupplierPreview=Visualização do fornecedor ShowCustomerPreview=Ver Historico Cliente SeeAll=Ver tudo SendByMail=Envio por e-mail -MailSentBy=Mail enviado por Email=E-mail NotRead=Não lido NoMobilePhone=Sem celular diff --git a/htdocs/langs/pt_BR/paybox.lang b/htdocs/langs/pt_BR/paybox.lang index 4f849db5f2c..d385bc4020a 100644 --- a/htdocs/langs/pt_BR/paybox.lang +++ b/htdocs/langs/pt_BR/paybox.lang @@ -1,20 +1,11 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuração do módulo PayBox PayBoxDesc=Este módulo oferece uma página de pagamento atravé do fornecedor %s para que o pagamento seja criado automaticamente quando validado pelo Paybox. YourPaymentHasBeenRecorded=Esta pagina confirma que o seu pagamento foi registrado com suçesso. Obrigado. -AccountParameter=Parametros da conta -UsageParameter=Parametros de uso -InformationToFindParameters=Ajuda a buscar suas %s informaçoes da conta PAYBOX_CGI_URL_V2=URL do Paybox CGI modulo para pagamento -CSSUrlForPaymentForm=CSS style sheet URL para modelo de pagamento NewPayboxPaymentReceived=Novo pagamento recebido Paybox NewPayboxPaymentFailed=Novo pagamento Paybox tentou, mas não conseguiu PAYBOX_PAYONLINE_SENDEMAIL=Aviso por e-mail depois de uma tentativa de pagamento (sucesso ou falha) diff --git a/htdocs/langs/pt_MZ/agenda.lang b/htdocs/langs/pt_MZ/agenda.lang index 7b4ce5a5b33..9de9dde9862 100644 --- a/htdocs/langs/pt_MZ/agenda.lang +++ b/htdocs/langs/pt_MZ/agenda.lang @@ -10,7 +10,6 @@ MenuToDoMyActions=Meus eventos incompletos MenuDoneMyActions=Meus eventos terminados ListOfEvents=Lista de eventos (calendário padrão) ActionsAskedBy=Eventos relatados pelo -ActionsDoneBy=Eventos feito por ActionAssignedTo=Evento atribuído para ViewCal=Ver Mês ViewDay=Ver dia diff --git a/htdocs/langs/pt_MZ/commercial.lang b/htdocs/langs/pt_MZ/commercial.lang index 4e15f6d6895..1ac6d8509b5 100644 --- a/htdocs/langs/pt_MZ/commercial.lang +++ b/htdocs/langs/pt_MZ/commercial.lang @@ -38,7 +38,6 @@ LastProspectNeverContacted=Nunca contactado LastProspectContactInProcess=Contato em andamento LastProspectContactDone=Contato feito ActionAffectedTo=Evento atribuído para -ActionDoneBy=Evento feito por ActionAC_TEL=Chamada telefônica ActionAC_PROP=Enviar proposta por correio ActionAC_EMAIL=Enviar e-mail diff --git a/htdocs/langs/pt_MZ/main.lang b/htdocs/langs/pt_MZ/main.lang index f21762b8d88..b69fd5e4398 100644 --- a/htdocs/langs/pt_MZ/main.lang +++ b/htdocs/langs/pt_MZ/main.lang @@ -326,7 +326,6 @@ SupplierPreview=Visualização do fornecedor ShowCustomerPreview=Ver Historico Cliente SeeAll=Ver tudo SendByMail=Envio por e-mail -MailSentBy=Mail enviado por Email=E-mail NotRead=Não lido NoMobilePhone=Sem celular diff --git a/htdocs/langs/pt_MZ/paybox.lang b/htdocs/langs/pt_MZ/paybox.lang index 4f849db5f2c..d385bc4020a 100644 --- a/htdocs/langs/pt_MZ/paybox.lang +++ b/htdocs/langs/pt_MZ/paybox.lang @@ -1,20 +1,11 @@ # Dolibarr language file - Source file is en_US - paybox PayBoxSetup=Configuração do módulo PayBox PayBoxDesc=Este módulo oferece uma página de pagamento atravé do fornecedor %s para que o pagamento seja criado automaticamente quando validado pelo Paybox. YourPaymentHasBeenRecorded=Esta pagina confirma que o seu pagamento foi registrado com suçesso. Obrigado. -AccountParameter=Parametros da conta -UsageParameter=Parametros de uso -InformationToFindParameters=Ajuda a buscar suas %s informaçoes da conta PAYBOX_CGI_URL_V2=URL do Paybox CGI modulo para pagamento -CSSUrlForPaymentForm=CSS style sheet URL para modelo de pagamento NewPayboxPaymentReceived=Novo pagamento recebido Paybox NewPayboxPaymentFailed=Novo pagamento Paybox tentou, mas não conseguiu PAYBOX_PAYONLINE_SENDEMAIL=Aviso por e-mail depois de uma tentativa de pagamento (sucesso ou falha) diff --git a/htdocs/langs/ru_UA/salaries.lang b/htdocs/langs/ru_UA/salaries.lang new file mode 100644 index 00000000000..bc0559cc8b6 --- /dev/null +++ b/htdocs/langs/ru_UA/salaries.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - salaries +SALARIES_ACCOUNTING_ACCOUNT_PAYMENT_Desc=The dedicated account defined on the user card will be used for Subledger accounting only. This one will be used for General Ledger, bt also as the default value of Subledger accounting if no dedicated user accounting account is defined on the user. diff --git a/htdocs/langs/ru_UA/trips.lang b/htdocs/langs/ru_UA/trips.lang new file mode 100644 index 00000000000..28e05069da5 --- /dev/null +++ b/htdocs/langs/ru_UA/trips.lang @@ -0,0 +1,2 @@ +# Dolibarr language file - Source file is en_US - trips +TripsAndExpenses=Expenses reports From 60fe8325605064a5f347461b3699f5e40a21ba8f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Apr 2024 13:03:06 +0200 Subject: [PATCH 31/45] css --- htdocs/expedition/list.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php index 31de74cd43e..0c30741910b 100644 --- a/htdocs/expedition/list.php +++ b/htdocs/expedition/list.php @@ -748,7 +748,7 @@ if (!empty($arrayfields['country.code_iso']['checked'])) { // Company type if (!empty($arrayfields['typent.code']['checked'])) { print '
    '; - print $form->selectarray("search_type_thirdparty", $formcompany->typent_array(0), $search_type_thirdparty, 1, 0, 0, '', 0, 0, 0, (!getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT), '', 1); + print $form->selectarray("search_type_thirdparty", $formcompany->typent_array(0), $search_type_thirdparty, 1, 0, 0, '', 0, 0, 0, getDolGlobalString('SOCIETE_SORT_ON_TYPEENT', 'ASC'), 'maxwidth75', 1); print ''.$shipment->tracking_url."'.dol_escape_htmltag($shipment->tracking_url)."'; + print ''; print !empty($receiving) ? $receiving->getNomUrl($db) : ''; print '