From c62687d19847597c61b0af15fa85bba44cb4991e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Apr 2015 12:55:00 +0200 Subject: [PATCH] Comment --- dev/translation/txpull.sh | 1 - htdocs/admin/supplier_order.php | 2 +- htdocs/product/class/product.class.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dev/translation/txpull.sh b/dev/translation/txpull.sh index 0154fb14c72..71e03cf522e 100755 --- a/dev/translation/txpull.sh +++ b/dev/translation/txpull.sh @@ -26,7 +26,6 @@ fi if [ "x$1" = "xall" ] then - cd htdocs/lang for dir in `find htdocs/langs/* -type d` do fic=`basename $dir` diff --git a/htdocs/admin/supplier_order.php b/htdocs/admin/supplier_order.php index 25f2fbb3314..5a3c3808201 100644 --- a/htdocs/admin/supplier_order.php +++ b/htdocs/admin/supplier_order.php @@ -185,7 +185,7 @@ else if ($action == 'set_SUPPLIER_ORDER_OTHER') // TODO We add/delete permission until permission can have a condition on a global var $r_id = 1190; $entity = $conf->entity; - $r_desc='Permission for second approval'; + $r_desc=$langs->trans("Permission1190"); $r_modul='fournisseur'; $r_type='w'; $r_perms='commande'; diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 8c811a57a1a..16b5a4b1e4e 100755 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -1583,7 +1583,7 @@ class Product extends CommonObject $this->db->free($resql); - // Retrieve all extrafield for thirdparty + // Retreive all extrafield for current object // fetch optionals attributes and labels require_once(DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'); $extrafields=new ExtraFields($this->db);