diff --git a/htdocs/langs/en_US/propal.lang b/htdocs/langs/en_US/propal.lang index 482a325966a..aeec527b98c 100644 --- a/htdocs/langs/en_US/propal.lang +++ b/htdocs/langs/en_US/propal.lang @@ -3,7 +3,7 @@ Proposals=Commercial proposals Proposal=Commercial proposal ProposalsDraft=Draft commercial proposals ProposalDraft=Draft commercial proposal -Prop=Commercial proposal +Prop=Commercial proposals NewProp=New commercial proposal Prospect=Prospect ProspectList=Prospect list @@ -17,3 +17,5 @@ ProposalsStatistics=Commercial proposals' statistics NumberOfProposalsByMonth=Number by month NbOfProposals=Number of commercial proposals ShowPropal=Show proposal +PropalsDraft=Drafts +PropalsOpened=Opened \ No newline at end of file diff --git a/htdocs/langs/fr_FR/propal.lang b/htdocs/langs/fr_FR/propal.lang index 2077445d1da..b5eec35b1a4 100644 --- a/htdocs/langs/fr_FR/propal.lang +++ b/htdocs/langs/fr_FR/propal.lang @@ -3,7 +3,7 @@ Proposals=Propositions commerciales Proposal=Proposition commerciale ProposalsDraft=Propositions commerciales brouillons ProposalDraft=Proposition commerciale brouillon -Prop=Proposition commerciale +Prop=Propositions commerc. NewProp=Nouvelle proposition commerciale Prospect=Prospect ProspectList=Liste des prospects @@ -16,4 +16,6 @@ SearchAProposal=Rechercher une propale ProposalsStatistics=Statistiques des propositions commerciales NumberOfProposalsByMonth=Nombre par mois NbOfProposals=Nombre de propositions commerciales -ShowPropal=Afficher proposition \ No newline at end of file +ShowPropal=Afficher proposition +PropalsDraft=Brouillons +PropalsOpened=Ouvertes \ No newline at end of file diff --git a/htdocs/pre.inc.php b/htdocs/pre.inc.php index d50fe23d86e..5e7ff015537 100644 --- a/htdocs/pre.inc.php +++ b/htdocs/pre.inc.php @@ -59,8 +59,10 @@ function llxHeader($head = "") { $menu->add_submenu(DOL_URL_ROOT."/comm/prospect/prospects.php",$langs->trans("Prospects")); $menu->add_submenu(DOL_URL_ROOT."/comm/mailing.php","Mailing"); - if ($user->rights->propale->lire) - $menu->add_submenu(DOL_URL_ROOT."/comm/propal.php", "Prop. commerciales"); + if ($user->rights->propale->lire) { + $langs->load("propal"); + $menu->add_submenu(DOL_URL_ROOT."/comm/propal.php", $langs->trans("Prop")); + } } if ($conf->compta->enabled )