Translation

This commit is contained in:
Laurent Destailleur 2008-12-04 17:13:43 +00:00
parent 525402eb7a
commit 25d53161d7
8 changed files with 93 additions and 89 deletions

View File

@ -265,7 +265,7 @@ function formCategory($db,$object,$type,$typeid)
if ($typeid == 0) $title = $langs->trans("ProductsCategoriesShort");
if ($typeid == 1) $title = $langs->trans("SuppliersCategoriesShort");
if ($typeid == 2) $title = $langs->trans("CustomersCategoriesShort");
if ($typeid == 2) $title = $langs->trans("CustomersProspectsCategoriesShort");
if ($type == 'societe' || $type == 'fournisseur')
{
$nameId = 'socid';
@ -277,7 +277,7 @@ function formCategory($db,$object,$type,$typeid)
// Formulaire ajout dans une categorie
print '<br>';
print_fiche_titre($title);
print_fiche_titre($title,'','');
print '<form method="post" action="'.DOL_URL_ROOT.'/categories/categorie.php?'.$nameId.'='.$object->id.'">';
print '<input type="hidden" name="typeid" value="'.$typeid.'">';
print '<table class="noborder" width="100%">';

View File

@ -44,7 +44,7 @@ $html = new Form($db);
if (! $type) $title=$langs->trans("ProductsCategoriesArea");
if ($type == 1) $title=$langs->trans("SuppliersCategoriesArea");
if ($type == 2) $title=$langs->trans("ThirdPartyCategoriesArea");
if ($type == 2) $title=$langs->trans("CustomersCategoriesArea");
llxHeader("","",$title);

View File

@ -55,7 +55,7 @@ function llxHeader ($head = "", $urlp = "", $title="")
{
$menu->add_submenu(DOL_URL_ROOT."/categories/fiche.php?action=create&amp;type=1", $langs->trans("NewCat"));
}
$menu->add(DOL_URL_ROOT."/categories/index.php?type=2", $langs->trans("CustomersCategoriesShort"));
$menu->add(DOL_URL_ROOT."/categories/index.php?type=2", $langs->trans("CustomersProspectsCategoriesShort"));
$menu->add_submenu(DOL_URL_ROOT."/categories/liste.php?type=2", $langs->trans("List"));
if ($user->rights->categorie->creer)
{

View File

@ -239,11 +239,11 @@ class MenuLeft {
$newmenu->add_submenu(DOL_URL_ROOT."/contact/index.php?leftmenu=contacts&type=o", $langs->trans("Others"), 2, $user->rights->societe->contact->lire);
//$newmenu->add_submenu(DOL_URL_ROOT."/contact/index.php?userid=$user->id", $langs->trans("MyContacts"), 1, $user->rights->societe->contact->lire);
// Catégories
// Categories
if ($conf->categorie->enabled)
{
$langs->load("categories");
// Catégories fournisseurs
// Categories suppliers
if ($conf->fournisseur->enabled)
{
$newmenu->add(DOL_URL_ROOT."/categories/index.php?leftmenu=cat&amp;type=1", $langs->trans("SuppliersCategoriesShort"), 0, $user->rights->categorie->lire);
@ -252,8 +252,8 @@ class MenuLeft {
$newmenu->add_submenu(DOL_URL_ROOT."/categories/fiche.php?action=create&amp;type=1", $langs->trans("NewCat"), 1, $user->rights->categorie->creer);
}
}
// Catégories clients
$newmenu->add(DOL_URL_ROOT."/categories/index.php?leftmenu=cat&amp;type=2", $langs->trans("CustomersCategoriesShort"), 0, $user->rights->categorie->lire);
// Categories prospects/customers
$newmenu->add(DOL_URL_ROOT."/categories/index.php?leftmenu=cat&amp;type=2", $langs->trans("CustomersProspectsCategoriesShort"), 0, $user->rights->categorie->lire);
if ($user->societe_id == 0)
{
$newmenu->add_submenu(DOL_URL_ROOT."/categories/fiche.php?action=create&amp;type=2", $langs->trans("NewCat"), 1, $user->rights->categorie->creer);

View File

@ -42,7 +42,7 @@ ObjectAlreadyLinkedToCategory=Element is already linked to this category.
CategorySuccessfullyCreated=This category %s has been added with success.
ProductIsInCategories=Product/service owns to following categories
SupplierIsInCategories=Third party owns to following suppliers categories
CompanyIsInCustomersCategories=This third party owns to following customers categories
CompanyIsInCustomersCategories=This third party owns to following customers/prospects categories
CompanyIsInSuppliersCategories=This third party owns to following suppliers categories
ProductHasNoCategory=This product/service is not in any categories
SupplierHasNoCategory=This supplier is not in any categories
@ -67,6 +67,7 @@ CustomersCategoryShort=Customers category
ProductsCategoryShort=Products category
SuppliersCategoriesShort=Suppliers categories
CustomersCategoriesShort=Customers categories
CustomersProspectsCategoriesShort=Custo./Prosp. categories
ProductsCategoriesShort=Products categories
ThisCategoryHasNoProduct=This category does not contain any product.
ThisCategoryHasNoSupplier=This category does not contain any supplier.

View File

@ -67,6 +67,7 @@ CustomersCategoryShort=Categor
ProductsCategoryShort=Categoría productos
SuppliersCategoriesShort=Categorías proveedores
CustomersCategoriesShort=Categorías clientes
CustomersProspectsCategoriesShort=Categorías clientes
ProductsCategoriesShort=Categorías productos
ThisCategoryHasNoProduct=Esta categoría no contiene ningún producto.
ThisCategoryHasNoSupplier=Esta categoría no contiene a ningún proveedor.

View File

@ -9,8 +9,8 @@ modify=modifier
Classify=Classer
CategoriesArea=Espace catégories
ProductsCategoriesArea=Espace des catégories de produits et services
SuppliersCategoriesArea=Espace des catégories fournisseurs
CustomersCategoriesArea=Espace des catégories clients
SuppliersCategoriesArea=Espace des catégories de tiers fournisseurs
CustomersCategoriesArea=Espace des catégories de tiers clients ou prospects
ThirdPartyCategoriesArea=Espace des catégories de tiers
MainCats=Catégories principales
SubCats=Sous-catégories
@ -42,7 +42,7 @@ ObjectAlreadyLinkedToCategory=L'
CategorySuccessfullyCreated=La catégorie %s a été ajouté avec succès.
ProductIsInCategories=Ce produit/service est dans les catégories suivantes
SupplierIsInCategories=Ce fournisseur est dans les catégories suivantes
CompanyIsInCustomersCategories=Cette societé est dans les catégories clients suivantes
CompanyIsInCustomersCategories=Cette societé est dans les catégories clients/prospets suivantes
CompanyIsInSuppliersCategories=Cette societé est dans les catégories fournisseurs suivantes
ProductHasNoCategory=Ce produit/service n'est dans aucune catégorie en particulier
SupplierHasNoCategory=Ce fournisseur n'est dans aucune catégorie en particulier
@ -67,6 +67,7 @@ CustomersCategoryShort=Cat
ProductsCategoryShort=Catégorie produits
SuppliersCategoriesShort=Catégories fournisseurs
CustomersCategoriesShort=Catégories clients
CustomersProspectsCategoriesShort=Catégories clients/prospets
ProductsCategoriesShort=Catégories produits
ThisCategoryHasNoProduct=Cette catégorie ne contient aucun produit.
ThisCategoryHasNoSupplier=Cette catégorie ne contient aucun fournisseur.

View File

@ -67,6 +67,7 @@ CustomersCategoryShort =Categoria clienti
ProductsCategoryShort =Categorie prodotti
SuppliersCategoriesShort =Categorie fornitori
CustomersCategoriesShort =Categorie clienti
CustomersProspectsCategoriesShort =Categorie clienti
ProductsCategoriesShort =Categorie prodotti
ThisCategoryHasNoProduct =Questa categoria non contiene alcun prodotto.
ThisCategoryHasNoSupplier =Questa categoria non contiene alcun fornitore.