*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -251,7 +252,7 @@ if ($rowid > 0 && $action == 'edit')
* Case 1
*/
- print '| [Editer] | ';
+ print '['.$langs->trans('Edit').'] | ';
/*
* Case 2
diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php
index b094396b35a..eca37697f0f 100644
--- a/htdocs/compta/facture/note.php
+++ b/htdocs/compta/facture/note.php
@@ -136,7 +136,7 @@ if ($_GET["facid"])
if ($user->rights->facture->creer && $_GET["action"] <> 'edit')
{
- print "id&action=edit\">Editer";
+ print "id&action=edit\">".$langs->trans('Edit')."";
}
print "";
diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php
index 9deb696e7a4..e6066e6e820 100644
--- a/htdocs/compta/sociales/index.php
+++ b/htdocs/compta/sociales/index.php
@@ -170,7 +170,7 @@ if ( $db->query($sql) )
print 'Impayé | ';
print '';
if ($user->rights->compta->charges->creer) {
- print ''.img_edit().'';
+ print ''.img_edit().'';
}
if ($user->rights->compta->charges->supprimer) {
print ' '.img_delete().'';
diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php
index 0fffd00604b..f5ca1417d88 100644
--- a/htdocs/contact/fiche.php
+++ b/htdocs/contact/fiche.php
@@ -331,14 +331,14 @@ else
print "";
+ // Barre d'actions
if ($user->societe_id == 0)
{
print '';
- print ' Editer';
-
- print ' Supprimer';
+ print ' '.$langs->trans('Edit').'';
+ print ' '.$langs->trans('Delete').'';
if ($contact->user_id == 0 && $user->admin)
{
diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php
index 8a2e14f942b..6bc82cd7702 100644
--- a/htdocs/contact/perso.php
+++ b/htdocs/contact/perso.php
@@ -141,13 +141,14 @@ else
print " ";
+ // Barre d'actions
if ($user->societe_id == 0)
{
print '";
}
diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index b9640d72d8c..0b9e80f5761 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -548,13 +548,13 @@ else
}
else
{
- print 'Editer';
+ print ''.$langs->trans('Edit').'';
}
}
if ($fac->statut == 1 && price($resteapayer) <= 0 && $fac->paye == 0 && $user->societe_id == 0)
{
- print "id&action=payed\">Classer 'Payée'";
+ print "id&action=payed\">".$langs->trans('ClassifyPayed')."";
}
if ($user->societe_id == 0)
@@ -562,11 +562,11 @@ else
if ($fac->statut == 0)
{
if ($_GET["action"] <> "edit")
- print "id&action=valid\">Valider";
+ print "id&action=valid\">".$langs->trans('Valid')."";
}
else
{
- print "id&action=copy&socid=$fac->socidp\">Copier";
+ print "id&action=copy&socid=$fac->socidp\">".$langs->trans('Copy')."";
}
}
diff --git a/htdocs/postnuke/articles/fiche.php b/htdocs/postnuke/articles/fiche.php
index 0ae83906c52..875ad71dbe1 100644
--- a/htdocs/postnuke/articles/fiche.php
+++ b/htdocs/postnuke/articles/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -119,22 +120,12 @@ if ($id)
/* */
/* ************************************************************************** */
-print '
';
-
-if ($action == 'create')
+print '';
+if ($action != 'create')
{
- print ' - | ';
+ print ' '.$langs->trans('Edit').'';
}
-else
-{
- print ' [Editer] | ';
-}
-
-print ' - | ';
-print ' - | ';
-print ' - | ';
-print ' - | ';
-print ' ';
+print '';
$db->close();
diff --git a/htdocs/product/album/fiche.php b/htdocs/product/album/fiche.php
index 2eac495fb26..7c96a566fa8 100644
--- a/htdocs/product/album/fiche.php
+++ b/htdocs/product/album/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -200,7 +201,7 @@ if ($action == 'create')
}
else
{
- print '[Editer] | ';
+ print '['.$langs->trans("Edit").'] | ';
}
print '- | ';
print ' ';
diff --git a/htdocs/product/categorie/fiche.php b/htdocs/product/categorie/fiche.php
index a7ed8808718..a20f7553698 100644
--- a/htdocs/product/categorie/fiche.php
+++ b/htdocs/product/categorie/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -178,7 +179,7 @@ if ($action == 'create')
}
else
{
- print '[Editer] | ';
+ print '['.$langs->trans("Edit").'] | ';
}
print '- | ';
print ' ';
diff --git a/htdocs/product/concert/fiche.php b/htdocs/product/concert/fiche.php
index f9b246f4143..fb0b5fd418f 100644
--- a/htdocs/product/concert/fiche.php
+++ b/htdocs/product/concert/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -172,7 +173,7 @@ if ($action == 'create')
}
else
{
- print '[Editer] | ';
+ print '['.$langs->trans("Edit").'] | ';
}
print '- | ';
print ' ';
diff --git a/htdocs/product/concert/fichelieu.php b/htdocs/product/concert/fichelieu.php
index 0e8dd83b4d9..6fd594d072c 100644
--- a/htdocs/product/concert/fichelieu.php
+++ b/htdocs/product/concert/fichelieu.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -140,7 +141,7 @@ if ($action == 'create')
}
else
{
- print '[Editer] | ';
+ print '['.$langs->trans("Edit").'] | ';
}
print '- | ';
print ' ';
diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index 4ac562c6384..227e1ba8fa6 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -583,7 +584,7 @@ if ($_GET["action"] == '')
{
if ($user->rights->produit->modifier || $user->rights->produit->creer)
{
- print 'Editer';
+ print ''.$langs->trans("Edit").'';
}
}
if ($product->type == 0 && defined("MAIN_MODULE_STOCK"))
diff --git a/htdocs/product/groupart/fiche.php b/htdocs/product/groupart/fiche.php
index ab78bc4b5ef..83a8904d8fc 100644
--- a/htdocs/product/groupart/fiche.php
+++ b/htdocs/product/groupart/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -152,7 +153,7 @@ if ($action == 'create')
}
else
{
- print '[Editer] | ';
+ print '['.$langs->trans("Edit").'] | ';
}
print '- | ';
print ' ';
diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php
index dbc7c29784a..da9c63e97df 100644
--- a/htdocs/product/stock/fiche.php
+++ b/htdocs/product/stock/fiche.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004 Laurent Destailleur
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -182,7 +182,7 @@ if ($action == '' && ($user->rights->produit->modifier || $user->rights->produit
if ($action == '')
{
- print "id\">Editer";
+ print "id\">".$langs->trans("Edit")."";
}
print "";
diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php
index 5c69369b808..51fb1e243ed 100644
--- a/htdocs/projet/fiche.php
+++ b/htdocs/projet/fiche.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -164,10 +165,10 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
}
else
{
- print 'Editer';
+ print ''.$langs->trans("Edit").'';
}
- print 'Supprimer';
+ print ''.$langs->trans("Delete").'';
print "";
}
diff --git a/htdocs/soc.php b/htdocs/soc.php
index d519983b8bf..c24520961e8 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -332,7 +332,7 @@ else
*/
print ' |