Fixed bug #8509: Some labels in Module About are hardcoded, credits Christopher Stelm...
authorIngo Renner <ingo.renner@typo3.org>
Mon, 9 Jun 2008 15:12:56 +0000 (15:12 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Mon, 9 Jun 2008 15:12:56 +0000 (15:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3773 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/help/about/index.php
typo3/sysext/lang/locallang_mod_help_about.xml

index 289fa9d..b2a5618 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-09  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed bug #8509: Some labels in Module About are hardcoded, credits Christopher Stelmaszyk
+
 2008-06-09  Ernesto Baschny  <ernst@cron-it.de>
 
        * Fixed bug #8637: Parameter $deleteUnused of parsehtml::substituteMarkerArray was deleting too much if no $wrap was set (thanks to Francois Suter)
index 4f7e925..e59a7e4 100755 (executable)
@@ -105,22 +105,22 @@ class SC_mod_help_about_index {
 
                $content='
                        <div id="typo3-mod-help-about-index-php-outer">
-                               <img src="'.$BACK_PATH.'gfx/typo3logo.gif" width="123" height="34" vspace="10" alt="TYPO3 logo" />
+                               <img src="'.$BACK_PATH.'gfx/typo3logo.gif" width="123" height="34" vspace="10" alt="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:typo3_logo', true).'" />
                                <div class="typo3-mod-help-about-index-php-inner">
-                                       <h2>TYPO3 Information</h2>
+                                       <h2>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:information', true).'</h2>
                                        <h3>'.$LANG->getLL('welcome',1).'</h3>
                                        <p>'.$minorText.'</p>
                                </div>
 
                                <div class="typo3-mod-help-about-index-php-inner">
-                                       <h2>Community Credits</h2>
-                                       <p>Visit <a href="http://typo3.org/community/" target="_blank">typo3.org/community</a> if you want to know why TYPO3 rocks.</p>
+                                       <h2>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:community_credits', true).'</h2>
+                                       <p>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:information_detail').'</p>
                                </div>
 
                                <div class="typo3-mod-help-about-index-php-inner">
-                                       <h2>Extension Authors</h2>
-                                       <p>This is a list of the people who contributed to the extensions you\'re using in your installation.</p>
-                                       <p><br />'.$this->getExtensionAuthors().'</p>
+                                       <h2>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_authors', true).'</h2>
+                                       <p>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_list_info', true).'</p>
+                                       <br />'.$this->getExtensionAuthors().'
                                </div>
                        </div>
                ';
@@ -143,7 +143,7 @@ class SC_mod_help_about_index {
         * @return      string  list of extensions authors and their e-mail
         */
        function getExtensionAuthors() {
-               $content = '<table border="0" cellspacing="2" cellpadding="1"><tr><th>Extension</th><th>Author</th></tr>';
+               $content = '<table border="0" cellspacing="2" cellpadding="1"><tr><th>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension', true).'</th><th>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_author', true).'</th></tr>';
 
                $loadedExtensions = $GLOBALS['TYPO3_LOADED_EXT'];
                foreach ($loadedExtensions as $extensionKey => $extension) {
@@ -184,4 +184,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/h
 $SOBE = t3lib_div::makeInstance('SC_mod_help_about_index');
 $SOBE->main();
 $SOBE->printContent();
-?>
+?>
\ No newline at end of file
index 89be906..21ebc9c 100755 (executable)
@@ -6,8 +6,16 @@
        </meta>
        <data type="array">
                <languageKey index="default" type="array">
+                       <label index="typo3_logo">TYPO3 logo</label>
+                       <label index="information">TYPO3 Information</label>
                        <label index="welcome">TYPO3 Professional Web Content Management System</label>
                        <label index="minor">TYPO3 is a flexible and professional Open Source Web-CMS based on PHP and MySQL.&lt;br /&gt;&lt;br /&gt;TYPO3 is &lt;b&gt;freely available&lt;/b&gt; under the &lt;a href=&quot;http://typo3.com/1316.0.html&quot; target=&quot;_blank&quot;&gt;TYPO3-license (GNU/GPL)&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;%s %s&lt;br /&gt;</label>
+                       <label index="community_credits">Community Credits</label>
+                       <label index="information_detail">Visit &lt;a href=&quot;http://typo3.com/community&quot; target=&quot;_blank&quot;&gt;typo3.org/community&lt;/a&gt; if you want to know why TYPO3 rocks.</label>
+                       <label index="extension_authors">Extension Authors</label>
+                       <label index="extension_list_info">This is a list of the people who contributed to the extensions you're using in your installation.</label>
+                       <label index="extension">Extension</label>
+                       <label index="extension_author">Author</label>
                        <label index="mlang_labels_tablabel">About TYPO3</label>
                        <label index="mlang_labels_tabdescr">Displays the basic facts about the TYPO3 application, version and licensing terms.</label>
                        <label index="mlang_tabs_tab">About</label>