Browse Source

! Add a nice title to the info div on the Add Languages page (fixes the rest of #955)

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 11 years ago
parent
commit
308c4dbdea

+ 1 - 1
Themes/default/ManageLanguages.template.php

@@ -462,7 +462,7 @@ function template_add_language()
 	if (!empty($context['smf_languages']['rows']))
 	{
 		echo '
-			<div class="information">', $txt['add_language_smf_found'], '</div>';
+			<div class="cat_bar"><h3 class="catbg">', $txt['add_language_found_title'], '</div><div class="information">', $txt['add_language_smf_found'], '</div>';
 
 		template_show_list('smf_languages');
 	}

+ 1 - 0
Themes/default/languages/ManageSettings.english.php

@@ -301,6 +301,7 @@ $txt['add_language'] = 'Add Language';
 $txt['add_language_smf'] = 'Download from Simple Machines';
 $txt['add_language_smf_browse'] = 'Type name of language to search for or leave blank to search for all.';
 $txt['add_language_smf_install'] = 'Install';
+$txt['add_language_found_title'] = 'Found Languages';
 $txt['add_language_smf_found'] = 'The following languages were found. Click the install link next to the language you wish to install. You will then be taken to the package manager to install.';
 $txt['add_language_error_no_response'] = 'The Simple Machines site is not responding. Please try again later.';
 $txt['add_language_error_no_files'] = 'No files could be found.';