From cb29cfed7b0d19f733de870c345cffaa57269ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Thu, 23 Aug 2012 09:43:13 +0200 Subject: [PATCH] Translations + Little refactor --- htdocs/compta/bank/ligne.php | 22 +++++++++++----------- htdocs/langs/es_ES/main.lang | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 7d18abb7de4..c60dec26960 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -221,19 +221,19 @@ if ($result) } $var=false; -$h=0; +$head = array( + array( + DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$rowid, + $langs->trans('Card') + ), + array( + DOL_URL_ROOT.'/compta/bank/info.php?rowid='.$rowid, + $langs->trans('Info') + ) +); -$head[$h][0] = $_SERVER['PHP_SELF'].'?rowid='.$rowid; -$head[$h][1] = $langs->trans('Card'); -$hselected=$h; -$h++; - -$head[$h][0] = DOL_URL_ROOT.'/compta/bank/info.php?rowid='.$rowid; -$head[$h][1] = $langs->trans("Info"); -$h++; - -dol_fiche_head($head, $hselected, $langs->trans('LineRecord'),0,'account'); +dol_fiche_head($head, 0, $langs->trans('LineRecord'), 0, 'account'); dol_htmloutput_mesg($mesg); diff --git a/htdocs/langs/es_ES/main.lang b/htdocs/langs/es_ES/main.lang index 6defc575dbb..185e6421ec4 100644 --- a/htdocs/langs/es_ES/main.lang +++ b/htdocs/langs/es_ES/main.lang @@ -388,8 +388,8 @@ Paid=Pagado Topic=Asunto ByCompanies=Por empresa ByUsers=Por usuario -Links=Links -Link=Link +Links=Enlaces +Link=Enlace Receipts=Recibos Rejects=Devoluciones Preview=Vista previa