Trad: Traduction libell gnrique
This commit is contained in:
parent
58ae857255
commit
b87d5886de
@ -45,16 +45,16 @@ if ($account > 0)
|
||||
$acct = new Account($db);
|
||||
$acct->fetch($account);
|
||||
|
||||
print_fiche_titre("Journal de trésorerie du compte : " .$acct->label,$mesg);
|
||||
print_fiche_titre("Journal de trésorerie du compte: " .$acct->getNomUrl(0),$mesg);
|
||||
|
||||
print '<table class="notopnoleftnoright" width="100%">';
|
||||
print '<tr><td>';
|
||||
$file = "solde.$account.$year.png";
|
||||
|
||||
/* Bug
|
||||
if (! file_exists($file))
|
||||
if (! file_exists($conf->$file))
|
||||
{
|
||||
print "Pour générer ou regénérer les graphiques, lancer le script scripts/banque/graph-solde.php en ligne de commande.<br>";
|
||||
print "Pour générer ou regénérer les graphiques, lancer le script ./scripts/banque/graph-solde.php en ligne de commande.<br>";
|
||||
print '<br>';
|
||||
}
|
||||
else
|
||||
|
||||
@ -166,9 +166,14 @@ if ($result)
|
||||
$var=!$var;
|
||||
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td>".dolibarr_print_date($objp->do,"%d %b %y")."</td>\n";
|
||||
print '<td align="center">'.dolibarr_print_date($objp->do,"%d %b %y")."</td>\n";
|
||||
|
||||
print "<td><a href=\"ligne.php?rowid=$objp->rowid&account=$objp->fk_account\">$objp->label</a> ";
|
||||
print "<td><a href=\"ligne.php?rowid=$objp->rowid&account=$objp->fk_account\">";
|
||||
$reg=array();
|
||||
eregi('\((.+)\)',$objp->label,$reg); // Si texte entouré de parenthèe on tente recherche de traduction
|
||||
if ($reg[1] && $langs->trans($reg[1])!=$reg[1]) print $langs->trans($reg[1]);
|
||||
else print $objp->label;
|
||||
print "</a> ";
|
||||
|
||||
if ($objp->amount < 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user