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 4c91efc265cda..46b2b827d736b 100644 --- a/htdocs/adherents/document.php +++ b/htdocs/adherents/document.php @@ -91,7 +91,7 @@ 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 6427befd03e4f..92efa8918ee6e 100644 --- a/htdocs/asset/document.php +++ b/htdocs/asset/document.php @@ -100,7 +100,7 @@ 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 7fc12129cc51e..a5998e220f7fc 100644 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -239,7 +239,7 @@ 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 2f16cd54864df..cbdfd44383c61 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -94,7 +94,7 @@ $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 e7d0514a022b4..fc8192f7edba1 100644 --- a/htdocs/commande/document.php +++ b/htdocs/commande/document.php @@ -97,7 +97,7 @@ $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 d41bbd77bbe4c..f908b68b35cf8 100644 --- a/htdocs/compta/bank/document.php +++ b/htdocs/compta/bank/document.php @@ -105,7 +105,7 @@ 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 e11a608c7d0b3..faa9a8ed19976 100644 --- a/htdocs/compta/bank/various_payment/document.php +++ b/htdocs/compta/bank/various_payment/document.php @@ -124,7 +124,7 @@ 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 c2b3595b476d6..e34a2aedb217e 100644 --- a/htdocs/compta/deplacement/document.php +++ b/htdocs/compta/deplacement/document.php @@ -91,7 +91,7 @@ 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 1fd8c40bf1f6f..0ce8ad7eb92b9 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -104,7 +104,7 @@ $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 99c34f6081594..b40fef80a515d 100644 --- a/htdocs/compta/salaries/document.php +++ b/htdocs/compta/salaries/document.php @@ -90,7 +90,7 @@ 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 5f3fc5aa4ebbf..6c2bbd22a83ea 100644 --- a/htdocs/compta/sociales/document.php +++ b/htdocs/compta/sociales/document.php @@ -136,7 +136,7 @@ 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 b83cad80bdd29..790058c20a9e9 100644 --- a/htdocs/compta/tva/document.php +++ b/htdocs/compta/tva/document.php @@ -122,7 +122,7 @@ 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 1a60ddaaccb74..07795da30d055 100644 --- a/htdocs/contact/document.php +++ b/htdocs/contact/document.php @@ -97,7 +97,7 @@ 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 20a70830952f4..4b7a9b4faf515 100644 --- a/htdocs/contrat/document.php +++ b/htdocs/contrat/document.php @@ -103,7 +103,7 @@ 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 020272d5baeec..7459bf824534d 100644 --- a/htdocs/don/document.php +++ b/htdocs/don/document.php @@ -107,7 +107,7 @@ 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 5d76a5f491899..2be84cf26b789 100644 --- a/htdocs/expedition/document.php +++ b/htdocs/expedition/document.php @@ -96,7 +96,7 @@ 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 0ac498ca77504..16db531102845 100644 --- a/htdocs/expensereport/document.php +++ b/htdocs/expensereport/document.php @@ -103,7 +103,7 @@ 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 6e84f457eb196..d52ed81da4809 100644 --- a/htdocs/fichinter/document.php +++ b/htdocs/fichinter/document.php @@ -94,7 +94,7 @@ 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 59358279e3181..19a084cde8617 100644 --- a/htdocs/fourn/commande/document.php +++ b/htdocs/fourn/commande/document.php @@ -107,7 +107,7 @@ 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 1f0c9f8673954..9c111ebe77398 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -145,7 +145,7 @@ 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 9d5618f3a2aff..cec638a769be3 100644 --- a/htdocs/holiday/document.php +++ b/htdocs/holiday/document.php @@ -99,7 +99,7 @@ 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 f9d17c563fa21..b90144ea8f880 100644 --- a/htdocs/loan/document.php +++ b/htdocs/loan/document.php @@ -134,7 +134,7 @@ 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 f005fbf835487..9dd021326b065 100644 --- a/htdocs/modulebuilder/template/myobject_document.php +++ b/htdocs/modulebuilder/template/myobject_document.php @@ -113,7 +113,7 @@ 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 83d59a26a909d..4f6ec9cf40337 100644 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -197,7 +197,7 @@ 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 f79a0d74d98e6..6a3925c4a5582 100644 --- a/htdocs/product/stock/productlot_document.php +++ b/htdocs/product/stock/productlot_document.php @@ -122,7 +122,7 @@ 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 edaf52baba362..eaee074189bee 100644 --- a/htdocs/resource/document.php +++ b/htdocs/resource/document.php @@ -91,7 +91,7 @@ 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 e393fa64a2c1c..edceeb255c171 100644 --- a/htdocs/societe/document.php +++ b/htdocs/societe/document.php @@ -105,7 +105,7 @@ 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 12de448829ebd..99125e25b2695 100644 --- a/htdocs/supplier_proposal/document.php +++ b/htdocs/supplier_proposal/document.php @@ -87,7 +87,7 @@ $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 e31cd98912d6d..7189cc1321cac 100644 --- a/htdocs/ticket/document.php +++ b/htdocs/ticket/document.php @@ -138,7 +138,7 @@ 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 a917a972ddc86..8f1d634431fea 100644 --- a/htdocs/user/document.php +++ b/htdocs/user/document.php @@ -141,7 +141,7 @@ 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)