From 1de2af42b4b6821be53b0d5ad99897364f511f01 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Wed, 15 Feb 2012 21:10:33 +0100 Subject: [PATCH] Fix: Translation --- htdocs/product/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index dc8d08243ae..a81069d21dd 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -1071,7 +1071,7 @@ else print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; print $langs->trans("BarcodeType"); print '<td>'; - if (($_GET['action'] != 'editbarcodetype') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcodetype&id='.$object->id.'">'.img_edit($langs->trans('SetBarcodeType'),1).'</a></td>'; + if (($_GET['action'] != 'editbarcodetype') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcodetype&id='.$object->id.'">'.img_edit($langs->trans('Edit'),1).'</a></td>'; print '</tr></table>'; print '</td><td colspan="2">'; if ($_GET['action'] == 'editbarcodetype') @@ -1092,7 +1092,7 @@ else print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; print $langs->trans("BarcodeValue"); print '<td>'; - if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$object->id.'">'.img_edit($langs->trans('SetBarcode'),1).'</a></td>'; + if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$object->id.'">'.img_edit($langs->trans('Edit'),1).'</a></td>'; print '</tr></table>'; print '</td><td colspan="2">'; if ($_GET['action'] == 'editbarcode') -- GitLab