From 4145874d34881804e93429019f2a94ffd0d3d2c8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sat, 26 Mar 2016 12:29:13 +0100 Subject: [PATCH] Better tranlsation message --- htdocs/core/boxes/modules_boxes.php | 2 +- htdocs/langs/en_US/main.lang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/boxes/modules_boxes.php b/htdocs/core/boxes/modules_boxes.php index 359384b5c4d..bfe427db708 100644 --- a/htdocs/core/boxes/modules_boxes.php +++ b/htdocs/core/boxes/modules_boxes.php @@ -260,7 +260,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" $out.= '</td><td class="nocellnopadd boxclose nowrap">'; // The image must have the class 'boxhandle' beause it's value used in DOM draggable objects to define the area used to catch the full object $out.= img_picto($langs->trans("MoveBox",$this->box_id),'grip_title','class="boxhandle hideonsmartphone" style="cursor:move;"'); - $out.= img_picto($langs->trans("Close2",$this->box_id),'close_title','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"'); + $out.= img_picto($langs->trans("CloseBox",$this->box_id),'close_title','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"'); $label=$head['text']; if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')'; $out.= '<input type="hidden" id="boxlabelentry'.$this->box_id.'" value="'.dol_escape_htmltag($label).'">'; diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 36aa814dc57..5ed164ace14 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -139,7 +139,7 @@ Update=Update AddActionToDo=Add event to do AddActionDone=Add event done Close=Close -Close2=Close +CloseBox=Remove box of your dashboard Confirm=Confirm ConfirmSendCardByMail=Do you really want to send content of this card by mail to <b>%s</b> ? Delete=Delete -- GitLab