display Language with emphasis when a non-English language is chosen

This commit is contained in:
Marc Delisle 2008-07-09 15:33:49 +00:00
parent 4025975910
commit afb3903291

View File

@ -53,7 +53,10 @@ function PMA_select_language($use_fieldset = FALSE) {
. ((int)$GLOBALS['server']) . '" />' . "\n";
}
$language_title = $GLOBALS['strLanguage'] . ($GLOBALS['strLanguage'] != 'Language' ? ' - Language' : '') . ' <a href="./translators.html" target="documentation">' .
// For non-English, display "Language" with emphasis because it's
// not a proper word in the current language; we show it to help
// people recognize the dialog
$language_title = $GLOBALS['strLanguage'] . ($GLOBALS['strLanguage'] != 'Language' ? ' - <em>Language</em>' : '') . ' <a href="./translators.html" target="documentation">' .
($cfg['ReplaceHelpImg'] ?
'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_info.png" width="11" height="11" alt="Info" />' :
'(*)') . '</a>';