From 42180e5056f72ae1440a484aaa5c19eb15a11902 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Aug 2004 16:11:37 +0000 Subject: [PATCH] Trad: Traduction de toutes les chaines "Enregistrer" et "Annuler". --- htdocs/adherents/edit.php | 6 +++--- htdocs/adherents/fiche.php | 2 +- htdocs/adherents/options.php | 12 ++++++------ htdocs/adherents/type.php | 12 ++++++------ htdocs/admin/index.php | 2 +- htdocs/boutique/auteur/fiche.php | 2 +- htdocs/boutique/editeur/fiche.php | 2 +- htdocs/boutique/livre/fiche.php | 4 ++-- htdocs/boutique/newsletter/fiche.php | 2 +- htdocs/boutique/notification/fiche.php | 2 +- htdocs/comm/addpropal.php | 2 +- htdocs/comm/propal/document.php | 2 +- htdocs/comm/propal/note.php | 2 +- htdocs/commande/fiche.php | 4 ++-- htdocs/compta/deplacement/fiche.php | 12 ++++++------ htdocs/compta/dons/edit.php | 2 +- htdocs/compta/dons/fiche.php | 4 ++-- htdocs/compta/facture.php | 2 +- htdocs/compta/facture/note.php | 2 +- htdocs/compta/paiement.php | 2 +- htdocs/compta/paiement_charge.php | 2 +- htdocs/compta/tva/fiche.php | 6 +++--- htdocs/contact/fiche.php | 2 +- htdocs/contact/perso.php | 2 +- htdocs/contrat/fiche.php | 2 +- htdocs/expedition/fiche.php | 2 +- htdocs/fichinter/fiche.php | 2 +- htdocs/langs/en_US/main.lang | 8 ++++++-- htdocs/langs/en_US/products.lang | 4 +++- htdocs/langs/fr_FR/main.lang | 6 +++++- htdocs/langs/fr_FR/products.lang | 4 +++- htdocs/postnuke/articles/fiche.php | 2 +- htdocs/product/album/fiche.php | 2 +- htdocs/product/categorie/fiche.php | 2 +- htdocs/product/concert/fichelieu.php | 2 +- htdocs/product/fiche.php | 20 ++++++++++---------- htdocs/product/groupart/fiche.php | 2 +- htdocs/product/stock/fiche.php | 8 ++++---- htdocs/product/stock/product.php | 2 +- htdocs/projet/fiche.php | 2 +- htdocs/public/adherents/new.php | 2 +- htdocs/public/adherents/priv_edit.php | 6 +++--- htdocs/user/fiche.php | 2 +- 43 files changed, 92 insertions(+), 80 deletions(-) diff --git a/htdocs/adherents/edit.php b/htdocs/adherents/edit.php index c2749fa4f4d..10b1d52c0ba 100644 --- a/htdocs/adherents/edit.php +++ b/htdocs/adherents/edit.php @@ -43,7 +43,7 @@ $rowid=isset($_GET["rowid"])?$_GET["rowid"]:$_POST["rowid"]; if ($action == 'update') { - if ($_POST["bouton"] == "Enregistrer") + if ($_POST["bouton"] == $langs->trans("Save")) { $adh = new Adherent($db); @@ -174,8 +174,8 @@ if ($rowid) print "$valuearray_options["options_$key"]."\">\n"; } print ''; - print ' '; - print ''; + print ' '; + print ''; print ''; print ''; print ''; diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index a87facc308b..b37db3ece0d 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -719,7 +719,7 @@ if ($user->admin) defined("ADHERENT_BANK_USE_AUTO") && ADHERENT_BANK_USE_AUTO !=0){ print 'Libelledatefin).'" >'; } - print ''; + print ''; print "\n"; } diff --git a/htdocs/adherents/options.php b/htdocs/adherents/options.php index ab62ea19526..1631a90af07 100644 --- a/htdocs/adherents/options.php +++ b/htdocs/adherents/options.php @@ -36,7 +36,7 @@ $form = new Form($db); if ($_POST["action"] == 'add' && $user->admin) { - if ($_POST["button"] != "Annuler") { + if ($_POST["button"] != $langs->trans("Cancel")) { // Type et taille non encore pris en compte => varchar(255) if (isset($_POST["attrname"]) && preg_match("/^\w[a-zA-Z0-9-]*$/",$_POST['attrname'])){ $adho->create($_POST['attrname'],$_POST['type'],$_POST['size']); @@ -50,7 +50,7 @@ if ($_POST["action"] == 'add' && $user->admin) if ($_POST["action"] == 'update' && $user->admin) { - if ($_POST["button"] != "Annuler") { + if ($_POST["button"] != $langs->trans("Cancel")) { if (isset($_POST["attrname"]) && preg_match("/^\w[a-zA-Z0-9-]*$/",$_POST['attrname'])){ $adho->update($_POST['attrname'],$_POST['type'],$_POST['size']); } @@ -150,8 +150,8 @@ if ($_GET["action"] == 'create') { print ''; print 'Taille'; - print '   '; - print ''; + print '   '; + print ''; print "\n"; print "\n"; @@ -188,8 +188,8 @@ if ($_GET["attrname"] && $_GET["action"] == 'edit') print ''; // print 'Type (non pris en compte)'; print 'Taille'; - print '   '; - print ''; + print '   '; + print ''; print ''; print ""; diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 7d4b1b27dfd..08d15cfe494 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -34,7 +34,7 @@ require(DOL_DOCUMENT_ROOT."/adherents/adherent_type.class.php"); if ($_POST["action"] == 'add' && $user->admin) { - if ($_POST["button"] != "Annuler") { + if ($_POST["button"] != $langs->trans("Cancel")) { $adht = new AdherentType($db); $adht->libelle = $_POST["libelle"]; @@ -50,7 +50,7 @@ if ($_POST["action"] == 'add' && $user->admin) if ($_POST["action"] == 'update' && $user->admin) { - if ($_POST["button"] != "Annuler") { + if ($_POST["button"] != $langs->trans("Cancel")) { $adht = new AdherentType($db); $adht->id = $_POST["rowid"];; $adht->libelle = $_POST["libelle"]; @@ -175,8 +175,8 @@ if ($_GET["action"] == 'create') { print 'Mail d\'accueil :'; print ""; - print '  '; - print ''; + print '  '; + print ''; print "\n"; print "\n"; @@ -226,8 +226,8 @@ if ($_GET["rowid"] > 0 && $_GET["action"] == 'edit') print 'Mail d\'accueil :'; print ""; - print '  '; - print ''; + print '  '; + print ''; print ''; print ""; diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index 4b73bf8d8f5..718e88be596 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -83,7 +83,7 @@ if ($_GET["action"] == 'edit') print ''; print ''; - print ''; + print ''; print ''; } else diff --git a/htdocs/boutique/auteur/fiche.php b/htdocs/boutique/auteur/fiche.php index 719a73fe6f0..44e0d0a9b5b 100644 --- a/htdocs/boutique/auteur/fiche.php +++ b/htdocs/boutique/auteur/fiche.php @@ -135,7 +135,7 @@ else print 'Nom'; - print ' '; + print ' '; print ''; diff --git a/htdocs/boutique/editeur/fiche.php b/htdocs/boutique/editeur/fiche.php index 995cf7928a8..de1df3b50e4 100644 --- a/htdocs/boutique/editeur/fiche.php +++ b/htdocs/boutique/editeur/fiche.php @@ -132,7 +132,7 @@ else print 'Nom'; - print ' '; + print ' '; print ''; diff --git a/htdocs/boutique/livre/fiche.php b/htdocs/boutique/livre/fiche.php index 6debd0e5c6a..c6aa77729f8 100644 --- a/htdocs/boutique/livre/fiche.php +++ b/htdocs/boutique/livre/fiche.php @@ -303,7 +303,7 @@ else print ""; - print ' '; + print ' '; print ""; print ''; @@ -333,7 +333,7 @@ else print ''; print '
'; print ''; - print '
'; + print '
'; print ''; print "\n"; diff --git a/htdocs/boutique/newsletter/fiche.php b/htdocs/boutique/newsletter/fiche.php index af278037f24..a7b34149c61 100644 --- a/htdocs/boutique/newsletter/fiche.php +++ b/htdocs/boutique/newsletter/fiche.php @@ -199,7 +199,7 @@ else print 'Texte'; - print ' '; + print ' '; print ''; diff --git a/htdocs/boutique/notification/fiche.php b/htdocs/boutique/notification/fiche.php index 995037caf2d..b95709967a0 100644 --- a/htdocs/boutique/notification/fiche.php +++ b/htdocs/boutique/notification/fiche.php @@ -91,7 +91,7 @@ else print 'Nom'; - print ' '; + print ' '; print ''; diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php index bf1aa5d042b..be458b400e0 100644 --- a/htdocs/comm/addpropal.php +++ b/htdocs/comm/addpropal.php @@ -226,7 +226,7 @@ if ($_GET["action"] == 'create') */ if ($numdest > 0) { - print ''; + print ''; } print ""; } diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 9b08b05e9bb..ec535b6c98c 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -94,7 +94,7 @@ if ($id > 0) print ''; print '
'; print ''; - print '
'; + print '
'; print ''; clearstatcache(); diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php index e3c33fdd4ef..0241c86cc76 100644 --- a/htdocs/comm/propal/note.php +++ b/htdocs/comm/propal/note.php @@ -117,7 +117,7 @@ if ($_GET["propalid"]) print '
'; print ''; print '"; - print ''; + print ''; print '
'; } diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 79cd922f7c6..86cc6a7d596 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -445,7 +445,7 @@ else */ if ($_GET["action"] == 'annuler') { - $html->form_confirm("fiche.php?id=$id","Annuler la commande","Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel"); + $html->form_confirm("fiche.php?id=$id",$langs->trans("Cancel"),"Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel"); } /* @@ -605,7 +605,7 @@ else print ''; print ' %'; print ''; - print ''; + print ''; print '' . "\n"; print "\n"; } diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php index d3a6715fe80..4f66841285a 100644 --- a/htdocs/compta/deplacement/fiche.php +++ b/htdocs/compta/deplacement/fiche.php @@ -32,7 +32,7 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == "yes") } -if ($_POST["action"] == 'add' && $_POST["cancel"] <> 'Annuler') +if ($_POST["action"] == 'add' && $_POST["cancel"] <> $langs->trans("Cancel")) { $deplacement = new Deplacement($db); @@ -56,7 +56,7 @@ if ($_POST["action"] == 'add' && $_POST["cancel"] <> 'Annuler') } } -if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler') +if ($_POST["action"] == 'update' && $_POST["cancel"] <> $langs->trans("Cancel")) { $deplacement = new Deplacement($db); $result = $deplacement->fetch($_POST["id"]); @@ -109,8 +109,8 @@ if ($_GET["action"] == 'create') print ''; print 'Kilomètres'; - print '  '; - print ''; + print '  '; + print ''; print ''; print ''; } @@ -165,8 +165,8 @@ else print ''; print 'Kilomètres'; - print '  '; - print ''; + print '  '; + print ''; print ''; print ''; } diff --git a/htdocs/compta/dons/edit.php b/htdocs/compta/dons/edit.php index 37ebf4e9028..dae9e525f7a 100644 --- a/htdocs/compta/dons/edit.php +++ b/htdocs/compta/dons/edit.php @@ -155,7 +155,7 @@ if ($rowid) print 'Pays'; print 'Email'; print 'Montant euros'; - print ''; + print ''; print "\n"; print "\n"; diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php index 3c563fd49b0..a1f71a3249e 100644 --- a/htdocs/compta/dons/fiche.php +++ b/htdocs/compta/dons/fiche.php @@ -182,7 +182,7 @@ if ($action == 'create') { print "".'Pays'; print "".'Email'; print "".'Montant euros'; - print "".''; + print "".''; print "\n"; print "\n"; @@ -321,7 +321,7 @@ if ($rowid > 0 && $action == 'edit') print ''; print "".''; print "".''; - print "".''; + print "".''; print '
Commentaires
'; } diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 05ffc602276..ec3aba63aae 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -996,7 +996,7 @@ else print ''; print ''; print ' %'; - print ''; + print ''; print '' . "\n"; if ($conf->service->enabled) { print ""; diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php index 43a65f03eb7..39d9e4c1939 100644 --- a/htdocs/compta/facture/note.php +++ b/htdocs/compta/facture/note.php @@ -121,7 +121,7 @@ if ($_GET["facid"]) print '
'; print ''; print '"; - print ''; + print ''; print '
'; } diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 82545a894c2..f7da80d55b4 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -319,7 +319,7 @@ if ($_GET["action"] == 'create') print ''.$fiche_erreur_message.''; } - print ''; + print ''; print ""; print "\n"; } diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index b7d162ce971..f8a5e080262 100755 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -334,7 +334,7 @@ if ($_GET["action"] == 'create') * */ - print ''; + print ''; print ""; print "\n"; // } diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php index ae03fcc8b9f..71c9482c03d 100644 --- a/htdocs/compta/tva/fiche.php +++ b/htdocs/compta/tva/fiche.php @@ -26,7 +26,7 @@ require("../../tva.class.php"); $mesg = ''; -if ($_POST["action"] == 'add' && $_POST["cancel"] <> 'Annuler') +if ($_POST["action"] == 'add' && $_POST["cancel"] <> $langs->trans("Cancel")) { $tva = new Tva($db); @@ -68,8 +68,8 @@ if ($action == 'create') print $html->select_date("","datep"); print ''; print 'Montant'; - print '  '; - print ''; + print '  '; + print ''; print ''; print ''; } diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index 952952eec19..24709aaad1b 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -267,7 +267,7 @@ elseif ($_GET["action"] == 'edit') print ''; - print ''; + print ''; print ""; print ""; diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php index 6bc82cd7702..080315aecbe 100644 --- a/htdocs/contact/perso.php +++ b/htdocs/contact/perso.php @@ -105,7 +105,7 @@ if ($_GET["action"] == 'edit') print ""; - print '
'; + print '
'; print ""; } diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 3f2faac34af..9bd25f58ba2 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -213,7 +213,7 @@ if ($id) print ''; print ''; - print ''; + print ''; print ''; print ''; } diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 1ff5503632d..b23e811dfd1 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -316,7 +316,7 @@ else */ if ($_GET["action"] == 'annuler') { - $html->form_confirm("fiche.php?id=$expedition->id","Annuler la commande","Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel"); + $html->form_confirm("fiche.php?id=$expedition->id",$langs->trans("Cancel"),"Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel"); } /* diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 9a70d03c6a2..ac770ddf0ff 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -238,7 +238,7 @@ if ($_GET["action"] == 'create') print ''; print ''; - print ""; + print "trans("Save").'\">"; print ''; print ''; print ''; diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 27189a60ab6..703504eaf5c 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -1,8 +1,9 @@ # Dolibarr language file - en_US - main charset="iso-8859-1" Error=Fout -ErrorForbidden=De toegang is verboden -ErrorFileDoesNotExists=Dien %s niet bestaat in +ErrorForbidden=Access forbidden +ErrorFileDoesNotExists=File %s does not exists +ErrorCanNotCreateDir=Can not create dir %s yes=yes Yes=Yes no=no @@ -60,6 +61,7 @@ Alert=Alert Previous=Previous Next=Next Cards=Cards +Card=Card Date=Date Year=Year Month=Month @@ -90,3 +92,5 @@ ActionsDone=Actions Done ActionsToDo=Actions To Do Filter=Filter RemoveFilter=Remove filter +ChartGenerated=Chart generated +ChartNotGenerated=Chart not generated diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang index 02780a5f5cb..f2101cb6743 100644 --- a/htdocs/langs/en_US/products.lang +++ b/htdocs/langs/en_US/products.lang @@ -10,4 +10,6 @@ ProductsOnSell=Products on sell ProductsNotOnSell=Products out of sell ServicesOnSell=Services on sell ServicesNotOnSell=Services out of sell -LastRecorded=Last products/services on sell recorded \ No newline at end of file +LastRecorded=Last products/services on sell recorded +CardProduct0=Product card +CardProduct1=Service card \ No newline at end of file diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 34d17491049..c801b592055 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -3,6 +3,7 @@ charset="iso-8859-1" Error=Erreur ErrorForbidden=Accès non autorisé ErrorFileDoesNotExists=Le fichier %s n'existe pas +ErrorCanNotCreateDir=Impossible de créer le répertoire %s yes=oui Yes=Oui no=non @@ -60,6 +61,7 @@ Alert=Alerte Previous=Précédent Next=Suivant Cards=Fiches +Card=Fiche Date=Date Year=Année Month=Mois @@ -89,4 +91,6 @@ Comments=Commentaires ActionsDone=Actions effectuées ActionsToDo=Actions à faire Filter=Filtre -RemoveFilter=Supprimer filtre \ No newline at end of file +RemoveFilter=Supprimer filtre +ChartGenerated=Graphiques générés +ChartNotGenerated=Graphique non généré \ No newline at end of file diff --git a/htdocs/langs/fr_FR/products.lang b/htdocs/langs/fr_FR/products.lang index 3a51eb07012..1daae8d441a 100644 --- a/htdocs/langs/fr_FR/products.lang +++ b/htdocs/langs/fr_FR/products.lang @@ -10,4 +10,6 @@ ProductsOnSell=Produits en vente ProductsNotOnSell=Produits hors vente ServicesOnSell=Services en vente ServicesNotOnSell=Services hors vente -LastRecorded=Derniers produits/services en vente enregistrés \ No newline at end of file +LastRecorded=Derniers produits/services en vente enregistrés +CardProduct0=Fiche produit +CardProduct1=Fiche service diff --git a/htdocs/postnuke/articles/fiche.php b/htdocs/postnuke/articles/fiche.php index 875ad71dbe1..0e9ca1add0c 100644 --- a/htdocs/postnuke/articles/fiche.php +++ b/htdocs/postnuke/articles/fiche.php @@ -79,7 +79,7 @@ if ($id) print str_replace("
","",$article->body); print ""; - print ' '; + print ' '; print ""; diff --git a/htdocs/product/album/fiche.php b/htdocs/product/album/fiche.php index 29609eadb97..518246bfd87 100644 --- a/htdocs/product/album/fiche.php +++ b/htdocs/product/album/fiche.php @@ -143,7 +143,7 @@ else print 'Année'; print ''.$langs->trans("Price").''; - print ' '; + print ' '; print ''; diff --git a/htdocs/product/categorie/fiche.php b/htdocs/product/categorie/fiche.php index c2f2f3e5c7a..12589639ab5 100644 --- a/htdocs/product/categorie/fiche.php +++ b/htdocs/product/categorie/fiche.php @@ -129,7 +129,7 @@ else print '"; - print ' '; + print ' '; print ''; diff --git a/htdocs/product/concert/fichelieu.php b/htdocs/product/concert/fichelieu.php index 6fd594d072c..3003a9a5514 100644 --- a/htdocs/product/concert/fichelieu.php +++ b/htdocs/product/concert/fichelieu.php @@ -112,7 +112,7 @@ else print '"; - print ' '; + print ' '; print ''; print ''; diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 44768fdbd6f..7d4fefb0603 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -84,7 +84,7 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer) } if ($_POST["action"] == 'update' && - $_POST["cancel"] <> 'Annuler' && + $_POST["cancel"] <> $langs->trans("Cancel") && ( $user->rights->produit->modifier || $user->rights->produit->creer)) { $product = new Product($db); @@ -157,7 +157,7 @@ if ($_POST["action"] == 'addinfacture' && } -if ($_POST["action"] == 'add_fourn' && $_POST["cancel"] <> 'Annuler') +if ($_POST["action"] == 'add_fourn' && $_POST["cancel"] <> $langs->trans("Cancel")) { $product = new Product($db); @@ -193,7 +193,7 @@ if ($_GET["action"] == 'remove_fourn') if ($_POST["action"] == 'update_price' && - $_POST["cancel"] <> 'Annuler' && + $_POST["cancel"] <> $langs->trans("Cancel") && ( $user->rights->produit->modifier || $user->rights->produit->creer)) { $product = new Product($db); @@ -216,7 +216,7 @@ if ($_POST["action"] == 'update_price' && } -if ($_POST["cancel"] == 'Annuler') +if ($_POST["cancel"] == $langs->trans("Cancel")) { $action = ''; Header("Location: fiche.php?id=".$_POST["id"]); @@ -467,8 +467,8 @@ else print ''; print ''; print ''; - print ''; + print ''; print '
Prix de vente
 '; - print '
 '; + print '
'; print ''; } @@ -502,8 +502,8 @@ else } print ''.$langs->trans("Ref").''; - print ' '; - print ''; + print ' '; + print ''; print ''; print ''; } @@ -598,8 +598,8 @@ else print ''; } - print "".' '; - print ''; + print "".' '; + print ''; print ''; print ''; } diff --git a/htdocs/product/groupart/fiche.php b/htdocs/product/groupart/fiche.php index 83a8904d8fc..89d45252d5f 100644 --- a/htdocs/product/groupart/fiche.php +++ b/htdocs/product/groupart/fiche.php @@ -125,7 +125,7 @@ else print '"; - print ' '; + print ' '; print ''; print ''; } diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 263f59d4369..4feb5079071 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -41,7 +41,7 @@ if ($_POST["action"] == 'add') Header("Location: fiche.php?id=$id"); } -if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler') +if ($_POST["action"] == 'update' && $_POST["cancel"] <> $langs->trans("Cancel")) { $entrepot = new Entrepot($db); if ($entrepot->fetch($_GET["id"])) @@ -71,7 +71,7 @@ if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler') llxHeader("","","Fiche entrepôt"); -if ($cancel == 'Annuler') +if ($cancel == $langs->trans("Cancel")) { $action = ''; } @@ -157,8 +157,8 @@ else } print ''; - print "".' '; - print ''; + print "".' '; + print ''; print ''; print ''; } diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 760e22d8f67..45df97c3b58 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -54,7 +54,7 @@ if ($_POST["action"] == "create_stock") $product->create_stock($_POST["id_entrepot"], $_POST["nbpiece"]); } -if ($_POST["action"] == "correct_stock" && $_POST["cancel"] <> "Annuler") +if ($_POST["action"] == "correct_stock" && $_POST["cancel"] <> $langs->trans("Cancel")) { if (is_numeric($_POST["nbpiece"])) { diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index 4362fa773c6..f85206fb2d1 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -117,7 +117,7 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer) ?> trans("Ref") ?> Titre - + "> Profil public ?attribute_label as $key=>$value){ print "$value\n"; } -print ''; +print ''; print "\n"; print "\n"; diff --git a/htdocs/public/adherents/priv_edit.php b/htdocs/public/adherents/priv_edit.php index e0ee6469820..72c763fcd4c 100644 --- a/htdocs/public/adherents/priv_edit.php +++ b/htdocs/public/adherents/priv_edit.php @@ -36,7 +36,7 @@ $error=0; if ($action == 'update') { - if ($_POST["bouton"] == "Enregistrer") + if ($_POST["bouton"] == $langs->trans("Save")) { if (isset($user->login)){ $adh = new Adherent($db); @@ -254,8 +254,8 @@ if (isset($user->login)){ print "$valuearray_options["options_$key"]."\">\n"; } print ''; - print ' '; - print ''; + print ' '; + print ''; print ''; print ''; print ''; diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 5dfa0e416ec..ebe322cd603 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -459,7 +459,7 @@ else print "".''.$langs->trans("LoginWebcal").''; print ''; - print "".''; + print "".''; print ''; print '';