Browse Source

Better tranlsation message

Laurent Destailleur 9 years ago
parent
commit
4145874d34
2 changed files with 2 additions and 2 deletions
  1. 1 1
      htdocs/core/boxes/modules_boxes.php
  2. 1 1
      htdocs/langs/en_US/main.lang

+ 1 - 1
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).'">';

+ 1 - 1
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