From 948647f3f98a2baf19bdcdf97511fd376cd7b3d4 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 4 Aug 2018 14:17:51 +0200 Subject: [PATCH] comment translation --- htdocs/adherents/document.php | 2 +- htdocs/asset/document.php | 2 +- htdocs/comm/action/document.php | 2 +- htdocs/comm/propal/document.php | 2 +- htdocs/commande/document.php | 2 +- htdocs/compta/bank/document.php | 2 +- htdocs/compta/bank/various_payment/document.php | 2 +- htdocs/compta/deplacement/document.php | 2 +- htdocs/compta/facture/document.php | 2 +- htdocs/compta/salaries/document.php | 2 +- htdocs/compta/sociales/document.php | 2 +- htdocs/compta/tva/document.php | 2 +- htdocs/contact/document.php | 2 +- htdocs/contrat/document.php | 2 +- htdocs/don/document.php | 2 +- htdocs/expedition/document.php | 2 +- htdocs/expensereport/document.php | 2 +- htdocs/fichinter/document.php | 2 +- htdocs/fourn/commande/document.php | 2 +- htdocs/fourn/facture/document.php | 2 +- htdocs/holiday/document.php | 2 +- htdocs/loan/document.php | 2 +- htdocs/modulebuilder/template/myobject_document.php | 2 +- htdocs/product/document.php | 2 +- htdocs/product/stock/productlot_document.php | 2 +- htdocs/resource/document.php | 2 +- htdocs/societe/document.php | 2 +- htdocs/supplier_proposal/document.php | 2 +- htdocs/ticket/document.php | 2 +- htdocs/user/document.php | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/htdocs/adherents/document.php b/htdocs/adherents/document.php index 4c91efc265c..46b2b827d73 100644 --- a/htdocs/adherents/document.php +++ b/htdocs/adherents/document.php @@ -91,7 +91,7 @@ if ($id > 0) if ($result > 0) { - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/asset/document.php b/htdocs/asset/document.php index 6427befd03e..92efa8918ee 100644 --- a/htdocs/asset/document.php +++ b/htdocs/asset/document.php @@ -100,7 +100,7 @@ if ($object->id) dol_fiche_head($head, 'document', $langs->trans("Asset"), -1, 'generic'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 7fc12129cc5..a5998e220f7 100644 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -239,7 +239,7 @@ if ($object->id > 0) print ''; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 2f16cd54864..cbdfd44383c 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -94,7 +94,7 @@ if ($object->id > 0) $head = propal_prepare_head($object); dol_fiche_head($head, 'document', $langs->trans('Proposal'), -1, 'propal'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/commande/document.php b/htdocs/commande/document.php index e7d0514a022..fc8192f7edb 100644 --- a/htdocs/commande/document.php +++ b/htdocs/commande/document.php @@ -97,7 +97,7 @@ if ($id > 0 || ! empty($ref)) $head = commande_prepare_head($object); dol_fiche_head($head, 'documents', $langs->trans('CustomerOrder'), -1, 'order'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/compta/bank/document.php b/htdocs/compta/bank/document.php index d41bbd77bbe..f908b68b35c 100644 --- a/htdocs/compta/bank/document.php +++ b/htdocs/compta/bank/document.php @@ -105,7 +105,7 @@ if ($id > 0 || !empty($ref)) { dol_fiche_head($head, 'document', $langs->trans("FinancialAccount"), -1, 'account'); - // Construit liste des fichiers + // Build file list $filearray = dol_dir_list($upload_dir, "files", 0, '', '\.meta$', $sortfield, (strtolower($sortorder) == 'desc' ? SORT_DESC : SORT_ASC), 1); diff --git a/htdocs/compta/bank/various_payment/document.php b/htdocs/compta/bank/various_payment/document.php index e11a608c7d0..faa9a8ed199 100644 --- a/htdocs/compta/bank/various_payment/document.php +++ b/htdocs/compta/bank/various_payment/document.php @@ -124,7 +124,7 @@ if ($object->id) print '
'; print '
'; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/compta/deplacement/document.php b/htdocs/compta/deplacement/document.php index c2b3595b476..e34a2aedb21 100644 --- a/htdocs/compta/deplacement/document.php +++ b/htdocs/compta/deplacement/document.php @@ -91,7 +91,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("TripCard"), 0, 'trip'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php index 1fd8c40bf1f..0ce8ad7eb92 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -104,7 +104,7 @@ if ($id > 0 || ! empty($ref)) $totalpaye = $object->getSommePaiement(); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/compta/salaries/document.php b/htdocs/compta/salaries/document.php index 99c34f60815..b40fef80a51 100644 --- a/htdocs/compta/salaries/document.php +++ b/htdocs/compta/salaries/document.php @@ -90,7 +90,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("SalaryPayment"), -1, 'payment'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/compta/sociales/document.php b/htdocs/compta/sociales/document.php index 5f3fc5aa4eb..6c2bbd22a83 100644 --- a/htdocs/compta/sociales/document.php +++ b/htdocs/compta/sociales/document.php @@ -136,7 +136,7 @@ if ($object->id) print '
'; print '
'; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/compta/tva/document.php b/htdocs/compta/tva/document.php index b83cad80bdd..790058c20a9 100644 --- a/htdocs/compta/tva/document.php +++ b/htdocs/compta/tva/document.php @@ -122,7 +122,7 @@ if ($object->id) print '
'; print '
'; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/contact/document.php b/htdocs/contact/document.php index 1a60ddaaccb..07795da30d0 100644 --- a/htdocs/contact/document.php +++ b/htdocs/contact/document.php @@ -97,7 +97,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $title, -1, 'contact'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php index 20a70830952..4b7a9b4faf5 100644 --- a/htdocs/contrat/document.php +++ b/htdocs/contrat/document.php @@ -103,7 +103,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("Contract"), -1, 'contract'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/don/document.php b/htdocs/don/document.php index 020272d5bae..7459bf82453 100644 --- a/htdocs/don/document.php +++ b/htdocs/don/document.php @@ -107,7 +107,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("Donation"), -1, 'generic'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/expedition/document.php b/htdocs/expedition/document.php index 5d76a5f4918..2be84cf26b7 100644 --- a/htdocs/expedition/document.php +++ b/htdocs/expedition/document.php @@ -96,7 +96,7 @@ if ($id > 0 || ! empty($ref)){ dol_fiche_head($head, 'documents', $langs->trans("Shipment"), -1, 'sending'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file){ diff --git a/htdocs/expensereport/document.php b/htdocs/expensereport/document.php index 0ac498ca775..16db5311028 100644 --- a/htdocs/expensereport/document.php +++ b/htdocs/expensereport/document.php @@ -103,7 +103,7 @@ if ($object->id) dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/fichinter/document.php b/htdocs/fichinter/document.php index 6e84f457eb1..d52ed81da48 100644 --- a/htdocs/fichinter/document.php +++ b/htdocs/fichinter/document.php @@ -94,7 +94,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("InterventionCard"), -1, 'intervention'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/fourn/commande/document.php b/htdocs/fourn/commande/document.php index 59358279e31..19a084cde86 100644 --- a/htdocs/fourn/commande/document.php +++ b/htdocs/fourn/commande/document.php @@ -107,7 +107,7 @@ if ($object->id > 0) dol_fiche_head($head, 'documents', $langs->trans('SupplierOrder'), -1, 'order'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 1f0c9f86739..9c111ebe773 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -145,7 +145,7 @@ if ($object->id > 0) print '
'; print '
'; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/holiday/document.php b/htdocs/holiday/document.php index 9d5618f3a2a..cec638a769b 100644 --- a/htdocs/holiday/document.php +++ b/htdocs/holiday/document.php @@ -99,7 +99,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("CPTitreMenu"), -1,'holiday'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/loan/document.php b/htdocs/loan/document.php index f9d17c563fa..b90144ea8f8 100644 --- a/htdocs/loan/document.php +++ b/htdocs/loan/document.php @@ -134,7 +134,7 @@ if ($object->id) print '
'; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/modulebuilder/template/myobject_document.php b/htdocs/modulebuilder/template/myobject_document.php index f005fbf8354..9dd021326b0 100644 --- a/htdocs/modulebuilder/template/myobject_document.php +++ b/htdocs/modulebuilder/template/myobject_document.php @@ -113,7 +113,7 @@ if ($object->id) dol_fiche_head($head, 'document', $langs->trans("MyObject"), -1, 'myobject@mymodule'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/product/document.php b/htdocs/product/document.php index 83d59a26a90..4f6ec9cf403 100644 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -197,7 +197,7 @@ if ($object->id) print $hookmanager->resPrint; if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); if (! empty($conf->global->PRODUCT_USE_OLD_PATH_FOR_PHOTO)) // For backward compatiblity, we scan also old dirs diff --git a/htdocs/product/stock/productlot_document.php b/htdocs/product/stock/productlot_document.php index f79a0d74d98..6a3925c4a55 100644 --- a/htdocs/product/stock/productlot_document.php +++ b/htdocs/product/stock/productlot_document.php @@ -122,7 +122,7 @@ if ($object->id) print $hookmanager->resPrint; if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; diff --git a/htdocs/resource/document.php b/htdocs/resource/document.php index edaf52baba3..eaee074189b 100644 --- a/htdocs/resource/document.php +++ b/htdocs/resource/document.php @@ -91,7 +91,7 @@ if ($object->id) dol_fiche_head($head, 'documents', $langs->trans("ResourceSingular"), -1, 'resource'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php index e393fa64a2c..edceeb255c1 100644 --- a/htdocs/societe/document.php +++ b/htdocs/societe/document.php @@ -105,7 +105,7 @@ if ($object->id) dol_fiche_head($head, 'document', $langs->trans("ThirdParty"), -1, 'company'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/supplier_proposal/document.php b/htdocs/supplier_proposal/document.php index 12de448829e..99125e25b26 100644 --- a/htdocs/supplier_proposal/document.php +++ b/htdocs/supplier_proposal/document.php @@ -87,7 +87,7 @@ if ($object->id > 0) $head = supplier_proposal_prepare_head($object); dol_fiche_head($head, 'document', $langs->trans('CommRequest'), -1, 'supplier_proposal'); - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file) diff --git a/htdocs/ticket/document.php b/htdocs/ticket/document.php index e31cd98912d..7189cc1321c 100644 --- a/htdocs/ticket/document.php +++ b/htdocs/ticket/document.php @@ -138,7 +138,7 @@ if ($object->id) dol_fiche_end(); - // Construit liste des fichiers + // Build file list $filearray = dol_dir_list($upload_dir, "files", 0, '', '\.meta$', $sortfield, (strtolower($sortorder) == 'desc' ? SORT_DESC : SORT_ASC), 1); $totalsize = 0; foreach ($filearray as $key => $file) { diff --git a/htdocs/user/document.php b/htdocs/user/document.php index a917a972ddc..8f1d634431f 100644 --- a/htdocs/user/document.php +++ b/htdocs/user/document.php @@ -141,7 +141,7 @@ if ($object->id) print '
'; print '
'; - // Construit liste des fichiers + // Build file list $filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview.*\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1); $totalsize=0; foreach($filearray as $key => $file)