Trad: Traduction des menus compta

This commit is contained in:
Laurent Destailleur 2005-01-30 00:50:47 +00:00
parent e5a094d097
commit 43b987cf26
15 changed files with 43 additions and 44 deletions

View File

@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -72,7 +72,7 @@ function llxHeader($head = "")
if ($user->rights->banque->modifier)
{
$menu->add_submenu(DOL_URL_ROOT."/compta/bank/virement.php","Virement");
$menu->add_submenu(DOL_URL_ROOT."/compta/bank/virement.php",$langs->trans("Virements"));
}
if ($user->rights->banque->configurer)

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -23,7 +24,7 @@ require("../../main.inc.php");
function llxHeader($head = "")
{
global $user, $conf;
global $user, $conf, $langs;
/*
@ -34,9 +35,9 @@ function llxHeader($head = "")
$menu = new Menu();
$menu->add("index.php","Charges");
$menu->add("index.php",$langs->trans("Charges"));
$menu->add_submenu(DOL_URL_ROOT."/compta/sociales/index.php","Prest. Sociales");
$menu->add_submenu(DOL_URL_ROOT."/compta/sociales/index.php",$langs->trans("SocialContributions"));
left_menu($menu->liste);
}

View File

@ -28,7 +28,7 @@ $deplacement_type[0] = "voiture";
//$deplacement_type[2] = "avion";
function llxHeader($head = "") {
global $user, $conf;
global $user, $conf, $langs;
/*

View File

@ -44,7 +44,7 @@ function llxHeader($head = "", $title="", $help_url='')
$menu->add(DOL_URL_ROOT."/compta/ventilation/",$langs->trans("Ventilation"));
$menu->add(DOL_URL_ROOT."/compta/export/",$langs->trans("Export"));
$menu->add_submenu(DOL_URL_ROOT."/compta/export/liste.php",$langs->trans("Liste"));
$menu->add_submenu(DOL_URL_ROOT."/compta/export/liste.php",$langs->trans("List"));
left_menu($menu->liste, $help_url);

View File

@ -32,7 +32,7 @@ require("../../main.inc.php");
require_once("../../facture.class.php");
function llxHeader($head = "", $title="", $help_url='') {
global $conf, $langs;
global $user, $conf, $langs;
$langs->load("companies");
$langs->load("bills");
/*
@ -49,7 +49,7 @@ function llxHeader($head = "", $title="", $help_url='') {
$menu->add(DOL_URL_ROOT."/compta/facture.php",$langs->trans("Bills"));
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/impayees.php",$langs->trans("Unpayed"));
$menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("Prélèvements"));
$menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("StandingOrder"));
left_menu($menu->liste, $help_url);
}

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -22,7 +23,7 @@
require("../../main.inc.php");
function llxHeader($head = "") {
global $user, $conf;
global $user, $conf, $langs;
/*
@ -33,13 +34,13 @@ function llxHeader($head = "") {
$menu = new Menu();
$menu->add("liste.php","Liste");
$menu->add("liste.php",$langs->trans("List"));
$menu->add("rapport.php","Rapports");
$menu->add("../facture.php","Factures");
$menu->add("../facture.php",$langs->trans("Bills"));
$menu->add_submenu("liste.php","Paiements");
$menu->add_submenu("liste.php",$langs->trans("Payments"));
left_menu($menu->liste);
}

View File

@ -30,7 +30,7 @@ require("../../main.inc.php");
function llxHeader($head = "", $title="", $help_url='')
{
global $user, $langs;
global $user, $conf, $langs;
$user->getrights('banque');

View File

@ -96,7 +96,7 @@ function llxHeader($head = "", $title="", $help_url='')
if ($conf->compta->enabled)
{
$menu->add(DOL_URL_ROOT."/compta/charges/index.php","Charges");
$menu->add(DOL_URL_ROOT."/compta/charges/index.php",$langs->trans("Charges"));
}
@ -107,16 +107,11 @@ function llxHeader($head = "", $title="", $help_url='')
$menu->add(DOL_URL_ROOT."/compta/bank/",$langs->trans("Bank"));
}
if ($conf->caisse->enabled)
{
$menu->add(DOL_URL_ROOT."/compta/caisse/index.php","Caisses");
}
$menu->add(DOL_URL_ROOT."/compta/stats/","CA / Résultats");
if ($conf->prelevement->enabled)
{
$menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("Withdrawls"));
$menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("StandingOrder"));
}
$menu->add(DOL_URL_ROOT."/compta/ventilation/",$langs->trans("Ventilation"));

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -40,10 +41,10 @@ function llxHeader($head = "", $title="", $help_url='')
if ($conf->prelevement->enabled)
{
$menu->add(DOL_URL_ROOT."/compta/prelevement/","Prélèvements");
$menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("StandingOrder"));
$menu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php","Bons");
$menu->add_submenu(DOL_URL_ROOT."/compta/prelevement/rejets.php","Rejets");
$menu->add_submenu(DOL_URL_ROOT."/compta/prelevement/stats.php","Statistiques");
$menu->add_submenu(DOL_URL_ROOT."/compta/prelevement/stats.php",$langs->trans("Statistics"));
$menu->add(DOL_URL_ROOT."/compta/prelevement/demandes.php","Demandes");
$menu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php","A Traiter");

View File

@ -23,7 +23,7 @@
require("../../main.inc.php");
function llxHeader($head = "") {
global $conf;
global $user, $conf, $langs;
/*
*
@ -46,8 +46,8 @@ function llxHeader($head = "") {
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/comp.php","Transformé");
}
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/exercices.php","Evolution");
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/casoc.php","Par société");
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/cabyuser.php","Par utilisateur");
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/casoc.php",$langs->trans("ByCompanies"));
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/cabyuser.php",$langs->trans("ByUsers"));
left_menu($menu->liste);
}

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -23,7 +24,7 @@ require("../../main.inc.php");
function llxHeader($head = "")
{
global $user, $conf;
global $user, $conf, $langs;
/*
@ -34,8 +35,8 @@ function llxHeader($head = "")
$menu = new Menu();
$menu->add("../charges/","Charges");
$menu->add_submenu("index.php","Prest. Sociales");
$menu->add("../charges/",$langs->trans("Charges"));
$menu->add_submenu("index.php",$langs->trans("SocialContributions"));
// $menu->add_submenu("/compta/sociales/conf.php","Conf");
left_menu($menu->liste);

View File

@ -23,7 +23,7 @@
require("../../main.inc.php");
function llxHeader($head = "") {
global $conf;
global $user, $conf, $langs;
/*
*
@ -46,8 +46,8 @@ function llxHeader($head = "") {
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/comp.php","Transformé");
}
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/exercices.php","Evolution");
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/casoc.php","Par société");
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/cabyuser.php","Par utilisateur");
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/casoc.php",$langs->trans("ByCompanies"));
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/cabyuser.php",$langs->trans("ByUsers"));
left_menu($menu->liste);
}

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -22,7 +23,7 @@
require("../../main.inc.php");
function llxHeader($head = "") {
global $user, $conf;
global $user, $conf, $langs;
/*
@ -33,10 +34,10 @@ function llxHeader($head = "") {
$menu = new Menu();
$menu->add("index.php","TVA");
$menu->add("index.php",$langs->trans("VAT"));
$menu->add_submenu("reglement.php","Réglements");
$menu->add_submenu("fiche.php?action=create","Nouveau réglement");
$menu->add_submenu("reglement.php",$langs->trans("Payments"));
$menu->add_submenu("fiche.php?action=create",$langs->trans("NewPayment"));
left_menu($menu->liste);
}

View File

@ -38,8 +38,6 @@ function llxHeader($head = "", $title="", $help_url='')
$menu = new Menu();
// Les recettes
$menu->add(DOL_URL_ROOT."/compta/clients.php", $langs->trans("Customers"));
$menu->add(DOL_URL_ROOT."/compta/ventilation/",$langs->trans("Ventilation"));

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* $Id$
* $Source$
@ -22,7 +23,7 @@
require("../../main.inc.php");
function llxHeader($head = "") {
global $user, $conf;
global $user, $conf, $langs;
/*
@ -33,16 +34,16 @@ function llxHeader($head = "") {
$menu = new Menu();
$menu->add("index.php","Voyages");
$menu->add("index.php",$langs->trans("Trips"));
$menu->add_submenu("index.php","Voyages");
$menu->add_submenu("index.php",$langs->trans("Trips"));
$menu->add_submenu("bilan.php","Bilan");
$menu->add_submenu("reduc.php","Reduc");
$menu->add_submenu("voyage.php","Voyage");
$menu->add_submenu("voyage.php",$langs->trans("Trip"));
$menu->add("/compta/facture.php","Factures");
$menu->add("/compta/facture.php",$langs->trans("Bills"));
$menu->add("/compta/bank/index.php","Bank");
$menu->add("/compta/bank/index.php",$langs->trans("Bank"));
left_menu($menu->liste);