Bug #21118 ยป usersettings-language.patch

Administrator Admin, 2009-09-22 08:43

View differences:

typo3/sysext/setup/mod/index.php (working copy)
631 631
				<select id="field_lang" name="data[lang]" class="select">' .
632 632
					implode('', $languageOptions) . '
633 633
				</select>';
634
		if ($GLOBALS['BE_USER']->uc['lang'] && !@is_dir(PATH_typo3conf . 'l10n/' . $GLOBALS['BE_USER']->uc['lang'])) {
635
			$languageUnavailableWarning = 'The selected language is not available before the language pack is installed.<br />'
634
		if ( $GLOBALS['BE_USER']->uc['lang'] && !@is_dir(PATH_typo3conf . 'l10n/' . $GLOBALS['BE_USER']->uc['lang'])) {
635
			$languageUnavailableWarning = 'The selected language "' 
636
				. $GLOBALS['LANG']->getLL('lang_' . $GLOBALS['BE_USER']->uc['lang'], 1) 
637
				. '" is not available before the language pack is installed.<br />'
636 638
				. ($GLOBALS['BE_USER']->isAdmin() ?
637 639
					'You can use the Extension Manager to easily download and install new language packs.'
638 640
				:	'Please ask your system administrator to do this.');
    (1-1/1)