Move messages to place where they are used.

This commit is contained in:
Michal Čihař
2010-07-21 09:54:04 +02:00
parent 7415caa4e4
commit 715f2f04f6
2 changed files with 5 additions and 4 deletions

View File

@@ -9,6 +9,11 @@ if (! defined('PHPMYADMIN')) {
exit; exit;
} }
/* Messages used in default captions */
$GLOBALS['strLatexContent'] = __('Content of table __TABLE__');
$GLOBALS['strLatexContinued'] = __('(continued)');
$GLOBALS['strLatexStructure'] = __('Structure of table __TABLE__');
/** /**
* *
*/ */

View File

@@ -480,10 +480,6 @@ $charset = 'utf-8';
/* l10n: Text direction, use either ltr or rtl */ /* l10n: Text direction, use either ltr or rtl */
$text_dir = __('ltr'); $text_dir = __('ltr');
$strLatexContent = __('Content of table __TABLE__');
$strLatexContinued = __('(continued)');
$strLatexStructure = __('Structure of table __TABLE__');
// now, that we have loaded the language strings we can send the errors // now, that we have loaded the language strings we can send the errors
if ($GLOBALS['lang_failed_cfg']) { if ($GLOBALS['lang_failed_cfg']) {
trigger_error( trigger_error(