[BUGFIX] Add missing CSH for sys_file_reference 06/44106/2
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Fri, 16 Oct 2015 13:20:51 +0000 (15:20 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 16 Oct 2015 13:51:34 +0000 (15:51 +0200)
Resolves: #15875
Releases: master
Change-Id: I73256f2e16bb9b77fcec959e202ff786f81380c0
Reviewed-on: http://review.typo3.org/44106
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/context_help/Resources/Private/Language/locallang_csh_sysfilereference.xlf [new file with mode: 0644]
typo3/sysext/context_help/ext_tables.php

diff --git a/typo3/sysext/context_help/Resources/Private/Language/locallang_csh_sysfilereference.xlf b/typo3/sysext/context_help/Resources/Private/Language/locallang_csh_sysfilereference.xlf
new file mode 100644 (file)
index 0000000..e2c7d1c
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
+       <file t3:id="1445000814" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:32Z" product-name="context_help">
+               <header/>
+               <body>
+                       <trans-unit id="alternative.description">
+                               <source>Sets the alternative text of this asset.</source>
+                       </trans-unit>
+                       <trans-unit id="alternative.details">
+                               <source>When using the img element, specify a short text alternative with the alt attribute. Note. The value of this attribute is referred to as "alt text".
+When an image contains words that are important to understanding the content, the alt text should include those words. This will allow the alt text to play the same function on the page as the image. Note that it does not necessarily describe the visual characteristics of the image itself but must convey the same meaning as the image.</source>
+                       </trans-unit>
+                       <trans-unit id="link.description">
+                               <source>Sets a link on this asset.</source>
+                       </trans-unit>
+                       <trans-unit id="link.details">
+                               <source>Use the wizard next to the field to specify a link that a user can follow by clicking the image.</source>
+                       </trans-unit>
+                       <trans-unit id="title.description">
+                               <source>Sets the title text of this asset.</source>
+                       </trans-unit>
+                       <trans-unit id="title.details">
+                               <source>The title attribute is used to provide additional information to help clarify or further describe the purpose of a link.
+If the supplementary information provided through the title attribute is something the user should know before following the link, such as a warning, then it should be provided in the link text rather than in the title attribute.</source>
+                       </trans-unit>
+                       <trans-unit id="description.description">
+                               <source>Sets the image-caption-text of this asset.</source>
+                       </trans-unit>
+                       <trans-unit id="description.details">
+                               <source>This text will be displayed underneath your asset and can be used to supply additional context to the image.
+Depending on local laws you might have to use this to supply proper copyright information on your assets.</source>
+                       </trans-unit>
+                       <trans-unit id="crop.description">
+                               <source>Click "Open Editor" to start up the image editor.</source>
+                       </trans-unit>
+                       <trans-unit id="autoplay.description">
+                               <source>Check to let embedded media play once loaded.</source>
+                       </trans-unit>
+               </body>
+       </file>
+</xliff>
index 9ea3934..20bcbd3 100644 (file)
@@ -10,6 +10,7 @@ defined('TYPO3_MODE') or die();
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_storage', 'EXT:context_help/Resources/Private/Language/locallang_csh_sysfilestorage.xlf');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_template', 'EXT:context_help/Resources/Private/Language/locallang_csh_systmpl.xlf');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tt_content', 'EXT:context_help/Resources/Private/Language/locallang_csh_ttcontent.xlf');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_reference', 'EXT:context_help/Resources/Private/Language/locallang_csh_sysfilereference.xlf');
 // Labels for TYPO3 4.5 and greater.  These labels override the ones set above, while still falling back to the original labels if no translation is available.
 $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:context_help/Resources/Private/Language/locallang_csh_pages.xlf'][] = 'EXT:context_help/Resources/Private/Language/4.5/locallang_csh_pages.xlf';
 $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:context_help/Resources/Private/Language/locallang_csh_ttcontent.xlf'][] = 'EXT:context_help/Resources/Private/Language/4.5/locallang_csh_ttcontent.xlf';