Add Unique Top Menu Translation
Add unique top menu translation for products/services so it can be better translated separately from other words/links using the same text.
This commit is contained in:
parent
056b76a831
commit
86d195fa81
@ -109,13 +109,13 @@ function print_eldy_menu($db,$atarget,$type_user,&$tabMenu,&$menu,$noout=0,$mode
|
|||||||
|
|
||||||
$chaine="";
|
$chaine="";
|
||||||
if (! empty($conf->product->enabled)) {
|
if (! empty($conf->product->enabled)) {
|
||||||
$chaine.=$langs->trans("Products");
|
$chaine.=$langs->trans("TMenuProducts");
|
||||||
}
|
}
|
||||||
if (! empty($conf->product->enabled) && ! empty($conf->service->enabled)) {
|
if (! empty($conf->product->enabled) && ! empty($conf->service->enabled)) {
|
||||||
$chaine.=" | ";
|
$chaine.=" | ";
|
||||||
}
|
}
|
||||||
if (! empty($conf->service->enabled)) {
|
if (! empty($conf->service->enabled)) {
|
||||||
$chaine.=$langs->trans("Services");
|
$chaine.=$langs->trans("TMenuServices");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($noout)) print_start_menu_entry($idsel,$classname,$showmode);
|
if (empty($noout)) print_start_menu_entry($idsel,$classname,$showmode);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user