From d0dd7c7c49c2e0aace7f960e875e97eb9efe2030 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 13 Jun 2015 09:03:17 +0200 Subject: [PATCH] translation --- include/class_fiche.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/class_fiche.php b/include/class_fiche.php index c265cc8a9..1a2654055 100644 --- a/include/class_fiche.php +++ b/include/class_fiche.php @@ -427,7 +427,7 @@ class Fiche $f=new Fiche_Def($this->cn,$p_fiche_def); $f->get(); $array=$f->getAttribut(); - $r=h2('Catégorie '.$f->label,""); + $r=h2(_('Catégorie').' '.$f->label,""); $r.=''; foreach ($array as $attr) { @@ -528,7 +528,7 @@ class Fiche { $bulle=HtmlInput::infobulle(21); } - $r.="" . td($w->label." $bulle", ' class="input_text" ') . td($w->input()." $msg")." "; + $r.="" . td(_($w->label)." $bulle", ' class="input_text" ') . td($w->input()." $msg")." "; } $r.= '
'; return $r; @@ -550,7 +550,7 @@ class Fiche /* show card type here */ $type_card = $this->cn->get_value('select fd_label from fiche_def join fiche using (fd_id) where f_id=$1', array($this->id)); $ret = ""; - $ret.=h2( "Catégorie ".$type_card, 'style="display:inline"'); + $ret.=h2( _("Catégorie")." ".$type_card, 'style="display:inline"'); $ret.=' id fiche:' . $this->id . ""; $ret.=""; if (empty($attr)) @@ -699,7 +699,7 @@ class Fiche { $bulle=HtmlInput::infobulle(21); } - $ret.="" . td($r->ad_text . $bulle) . td($w->input()." ". $msg) . " "; + $ret.="" . td(_($r->ad_text) . $bulle) . td($w->input()." ". $msg) . " "; } $ret.="
";