diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang index fdce437f9d3..355d4e57564 100644 --- a/htdocs/langs/en_US/companies.lang +++ b/htdocs/langs/en_US/companies.lang @@ -40,6 +40,7 @@ ProfId3=Professional ID 3 TVAIntra=Intracommunautary VAT ProspectCustomer=Prospect / Customer Prospect=Prospect +CustomerCard=Customer Card Customer=Customer CustomerDiscount=Customer Discount Supplier=Supplier diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang index 00853631c41..6056057be06 100644 --- a/htdocs/langs/en_US/products.lang +++ b/htdocs/langs/en_US/products.lang @@ -46,4 +46,9 @@ ErrorProductAlreadyExists=A product with reference %s already exists. ErrorProductBadRefOrLabel=Wrong value for reference or label. ShowProduct=Show product ShowService=Show service -ProductsAndServicesArea=Product and Services area \ No newline at end of file +ProductsAndServicesArea=Product and Services area +AddToMyProposals=Add to my proposals +AddToOtherProposals=Add to other proposals +AddToMyBills=Add to my bills +AddToOtherBills=Add to other bills +CorrectStock=Correct stock \ No newline at end of file diff --git a/htdocs/langs/fr_FR/products.lang b/htdocs/langs/fr_FR/products.lang index a5f11560f17..9374dbe6a59 100644 --- a/htdocs/langs/fr_FR/products.lang +++ b/htdocs/langs/fr_FR/products.lang @@ -49,4 +49,9 @@ ErrorProductBadRefOrLabel=La valeur de la reference ou du libell Suppliers=Fournisseurs ShowProduct=Afficher produit ShowService=Afficher service -ProductsAndServicesArea=Espace Produit et Services \ No newline at end of file +ProductsAndServicesArea=Espace Produit et Services +AddToMyProposals=Ajouter à mes propositions +AddToOtherProposals=Ajouter aux autres propositions +AddToMyBills=Ajouter à mes factures +AddToOtherBills=Ajouter aux autres factures +CorrectStock=Corriger stock \ No newline at end of file diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 6417c5df86d..4851d5e09df 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -236,6 +236,7 @@ if ($_POST["cancel"] == $langs->trans("Cancel")) //llxHeader("","",$langs->trans("CardProduct".$product->type)); llxHeader("","",$langs->trans("CardProduct0")); + /* * Création du produit * @@ -346,7 +347,7 @@ else if ($conf->stock->enabled) { $head[$h][0] = DOL_URL_ROOT."/product/stock/product.php?id=".$product->id; - $head[$h][1] = 'Stock'; + $head[$h][1] = $langs->trans("Stock"); $h++; } @@ -484,7 +485,8 @@ else print ''; print ''; } - + + /* * Ajouter un fournisseur * @@ -603,6 +605,7 @@ else } } + /* ************************************************************************** */ /* */ /* Barre d'action */ @@ -615,7 +618,7 @@ if ($_GET["action"] == '') { if ($product->type == 0 && $user->rights->produit->commander && $num_fournisseur == 1) { - print ''.$langs->trans("Commander").''; + print ''.$langs->trans("Order").''; } if ( $user->rights->produit->creer) { @@ -627,7 +630,7 @@ if ($_GET["action"] == '') } if ($product->type == 0 && $conf->stock->enabled) { - print 'Correction stock'; + print ''.$langs->trans("CorrectStock").''; } } @@ -644,9 +647,9 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente) if($user->rights->propale->creer) { print "".''; - print_titre("AddToMyProposals") . ''; + print_titre($langs->trans("AddToMyProposals")) . ''; print ''; - print_titre("AddToOtherProposals") . ''; + print_titre($langs->trans("AddToOtherProposals")) . ''; print ''; print "".''; @@ -714,9 +717,9 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente) $langs->load("bills"); print "".''; - print_titre("AddToMyBills"); + print_titre($langs->trans("AddToMyBills")); print ''; - print_titre("AddToOtherBills"); + print_titre($langs->trans("AddToOtherBills")); print ''; print "".'';