Follow-up to bug #12021: Extension Manager is not translatable (part 8) (thanks to...
authorSteffen Kamper <info@sk-typo3.de>
Thu, 24 Sep 2009 11:16:05 +0000 (11:16 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 24 Sep 2009 11:16:05 +0000 (11:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6044 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/class.em_index.php
typo3/sysext/lang/locallang_mod_tools_em.xml

index 32173bb..b457d91 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-09-24  Steffen Kamper  <info@sk-typo3.de>
 
+       * Follow-up to bug #12021: Extension Manager is not translatable (part 8) (thanks to Christopher Stelmaszyk)
        * Cleanup #12053: Cleanup of Extension Manager
        * Fixed bug #12021: Extension Manager is not translatable (part 8) (thanks to Christopher Stelmaszyk)
 
index be0d0cd..dab60d5 100644 (file)
@@ -750,7 +750,7 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                                while(list($extKey)=each($extEkeys))    {
                                        if (array_key_exists($extKey,$TYPO3_LOADED_EXT) && ($this->MOD_SETTINGS['display_shy'] || !$list[$extKey]['EM_CONF']['shy']) && $this->searchExtension($extKey,$list[$extKey])) {
                                                if (in_array($extKey, $this->requiredExt))      {
-                                                       $loadUnloadLink = '<strong>'.$GLOBALS['TBE_TEMPLATE']->rfw('Rq').'</strong>';
+                                                       $loadUnloadLink = '<strong>' . $GLOBALS['TBE_TEMPLATE']->rfw($GLOBALS['LANG']->getLL('extension_required_short')) . '</strong>';
                                                } else {
                                                        $loadUnloadLink = '<a href="'.htmlspecialchars('index.php?CMD[showExt]='.$extKey.'&CMD[remove]=1').'">'.$this->removeButton().'</a>';
                                                }
@@ -813,7 +813,7 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                                                '<a href="'.htmlspecialchars('index.php?CMD[showExt]='.$extKey.'&CMD[remove]=1&CMD[clrCmd]=1&SET[singleDetails]=info').'">'.$this->removeButton().'</a>':
                                                '<a href="'.htmlspecialchars('index.php?CMD[showExt]='.$extKey.'&CMD[load]=1&CMD[clrCmd]=1&SET[singleDetails]=info').'">'.$this->installButton().'</a>';
                                                if (in_array($extKey,$this->requiredExt))       {
-                                                       $loadUnloadLink='<strong>'.$GLOBALS['TBE_TEMPLATE']->rfw('Rq').'</strong>';
+                                                       $loadUnloadLink = '<strong>' . $GLOBALS['TBE_TEMPLATE']->rfw($GLOBALS['LANG']->getLL('extension_required_short')) . '</strong>';
                                                }
                                                $theRowClass = t3lib_extMgm::isLoaded($extKey)? 'em-listbg1' : 'em-listbg2';
                                                $extensions[]=$this->extensionListRow($extKey,$list[$extKey],array('<td class="bgColor">'.$loadUnloadLink.'</td>'),$theRowClass);
@@ -6009,7 +6009,8 @@ $EM_CONF[$_EXTKEY] = '.$this->arrayToCode($EM_CONF, 0).';
                        ) . '<br />';
                }
 
-               $content .= $GLOBALS['LANG']->getLL('note_last_update2');
+               $content .= sprintf($GLOBALS['LANG']->getLL('note_last_update2_new'),
+                       '<a href="index.php?SET[function]=2">', '</a>');
                $this->content .= $this->doc->section($LANG->sL('LLL:EXT:lang/locallang_mod_tools_em.xml:header_vers_ret'), $content, 0, 1);
        }
 
index ae25fd2..e327dec 100755 (executable)
                        <label index="ext_import_excluded_from_updates">This extension is excluded from updates! You can change this in the ext_emconf.php file in the extension folder.</label>
                        <label index="ext_import_select_command">Select command</label>
                        <label index="ext_import_remote_ext_details">Remote Extension Details</label>
-                       <label index="ext_import_list_not_updated">The mirror list was not updated, it could not be fetched from %s.</label>
+                       <label index="ext_import_list_not_updated">Error: The list could not be fetched from %s.</label>
                        <label index="ext_import_list_updated">The mirror list has been updated and now contains %s entries.</label>
                        <label index="ext_import_list_empty">The mirror list was not updated as it contained no entries.</label>
                        <label index="ext_import_md5_not_updated">Error: The extension MD5 sum could not be fetched from %s.</label>
                        <label index="ext_import_list_unchanged">The extension list has not changed remotely, it has thus not been fetched.</label>
-                       <label index="ext_import_list_not_updated">Error: The extension list could not be fetched from %s.</label>
                        <label index="ext_import_ext_already_installed_loaded">Extension already installed and loaded.</label>
                        <label index="ext_import_p_localconf">localconf.php is not writable!</label>
                        <label index="ext_import_ext_loaded">Extension was already installed, it has been loaded.</label>
                        <label index="note_last_update">Last update of the list of extensions:</label>
                        <label index="note_last_update_new">Last update of the list of extensions: %s.</label>
                        <label index="note_last_update2">To get and update the list, go to the section "Import extensions" and use the button "Retrieve/Update".</label>
+                       <label index="note_last_update2_new">To get and update the list, %sgo to the section "Import extensions" and use the button "Retrieve/Update"%s.</label>
                        <label index="double_inclusion">%1$s takes precedence over %2$s</label>
                        <label index="globalext">Globally installed extension</label>
                        <label index="localext">Locally installed extension</label>