forked from Wavyzz/dolibarr
Trad: Traduction suppression categorie
This commit is contained in:
@@ -63,11 +63,15 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer)
|
||||
if($_POST['catMere'] != "-1")
|
||||
$categorie->id_mere = $_POST['catMere'];
|
||||
|
||||
|
||||
if (!$categorie->label || !$categorie->description)
|
||||
if (! $categorie->label)
|
||||
{
|
||||
$categorie->error = $langs->trans("ErrorFieldRequired",$langs->transnoentities("Ref"));
|
||||
$_GET["action"] = 'create';
|
||||
}
|
||||
if (! $categorie->description)
|
||||
{
|
||||
$categorie->error = $langs->trans("ErrorFieldRequired",$langs->transnoentities("Description"));
|
||||
$_GET["action"] = 'create';
|
||||
$categorie->error = $langs->trans("ErrForgotField");
|
||||
}
|
||||
if ($categorie->error =="")
|
||||
{
|
||||
|
||||
@@ -45,4 +45,6 @@ ReturnInProduct=Back to product/service card
|
||||
ContentsVisibleByAll=The contents will be visible by all
|
||||
ContentsVisibleByAllShort=Contents visible by all
|
||||
ContentsNotVisibleByAllShort=Contents not visible by all
|
||||
CategoriesTree=Categories tree
|
||||
CategoriesTree=Categories tree
|
||||
DeleteCategory=Delete category
|
||||
ConfirmDeleteCategory=Are you sure you want to delete this category ?
|
||||
@@ -45,4 +45,6 @@ ReturnInProduct=Retour sur la fiche produit/service
|
||||
ContentsVisibleByAll=Le contenu sera visible par tous
|
||||
ContentsVisibleByAllShort=Contenu visible par tous
|
||||
ContentsNotVisibleByAllShort=Contenu non visible par tous
|
||||
CategoriesTree=Arbre des cat<61>gories
|
||||
CategoriesTree=Arbre des cat<61>gories
|
||||
DeleteCategory=Supprimer categorie
|
||||
ConfirmDeleteCategory=Etes vous sur de vouloir supprimer cette cat<61>gorie ?
|
||||
Reference in New Issue
Block a user