[TASK] Remove "no elements" of clipboard 94/41494/2
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 16 Jul 2015 17:20:47 +0000 (19:20 +0200)
committerBenjamin Mack <benni@typo3.org>
Thu, 16 Jul 2015 18:29:01 +0000 (20:29 +0200)
Remove superflous information in the clipboard by removing
the message "No elements". There is no need to show this
information as it is seen anyway.

Change-Id: I01a403796015a3e6eed17e40dd0205de0ef1a932
Resolves: #68242
Releases: master
Reviewed-on: http://review.typo3.org/41494
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Clipboard/Clipboard.php
typo3/sysext/lang/locallang_core.xlf

index ef5cecb..205bd26 100644 (file)
@@ -422,13 +422,6 @@ class Clipboard {
                                }
                        }
                }
-               if (empty($lines)) {
-                       $lines[] = '
-                                                               <tr>
-                                                                       <td class="col-icon"></td>
-                                                                       <td colspan="2 nowrap="nowrap" width="95%"><em>(' . $this->clLabel('clipNoEl') . ')</em>&nbsp;</td>
-                                                               </tr>';
-               }
                $this->endClipboard();
                return $lines;
        }
index 5235700..d358098 100644 (file)
@@ -286,9 +286,6 @@ Do you want to continue WITHOUT saving?</source>
                        <trans-unit id="labels.copymode">
                                <source>Copy items instead of moving them</source>
                        </trans-unit>
-                       <trans-unit id="labels.clipNoEl">
-                               <source>No elements</source>
-                       </trans-unit>
                        <trans-unit id="labels.normal">
                                <source>Normal (single record mode)</source>
                        </trans-unit>