Skip to content
Snippets Groups Projects
Commit 0951042d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: no need of translation tab if multilang was disabled.

parent b8b84c67
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,14 @@ function categories_prepare_head($object,$type)
$head[$h][2] = 'photos';
$h++;
$head[$h][0] = DOL_URL_ROOT.'/categories/traduction.php?id='.$object->id.'&type='.$type;
$head[$h][1] = $langs->trans("Translation");
$head[$h][2] = 'translation';
$h++;
if (! empty($conf->global->MAIN_MULTILANGS))
{
$head[$h][0] = DOL_URL_ROOT.'/categories/traduction.php?id='.$object->id.'&type='.$type;
$head[$h][1] = $langs->trans("Translation");
$head[$h][2] = 'translation';
$h++;
}
// Show more tabs from modules
// Entries must be declared in modules descriptor with line
// $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab
......
......@@ -24,6 +24,7 @@ FormatDateHourSecShort=%d/%m/%Y %H:%M:%S
FormatDateHourTextShort=%d %b %Y %H:%M
FormatDateHourText=%d %B %Y %H:%M
DatabaseConnection=Connexion à la base
Translation=Traduction
NoTranslation=Pas de traduction
NoRecordFound=Aucun enregistrement trouvé
NoError=Aucune erreur
......
......@@ -133,7 +133,6 @@ ParentProductsNumber=Nbre de produits virtuels/packages parent
IfZeroItIsNotAVirtualProduct=Si 0, ce produit n'est pas utilisé par un produit package
IfZeroItIsNotUsedByVirtualProduct=Si 0, ce produit n'est pas un produit package
EditAssociate=Composer comme produit virtuel
Translation=Traduction
KeywordFilter=Filtre par mot-clé
CategoryFilter=Filtre par catégorie
ProductToAddSearch=Recherche des produits à ajouter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment