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);