From 715f2f04f6170265d2ea9f9d0b507bc4dae40557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 21 Jul 2010 09:54:04 +0200 Subject: [PATCH] Move messages to place where they are used. --- libraries/export/latex.php | 5 +++++ libraries/select_lang.lib.php | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libraries/export/latex.php b/libraries/export/latex.php index 9e6bd88a0..ed829455c 100644 --- a/libraries/export/latex.php +++ b/libraries/export/latex.php @@ -9,6 +9,11 @@ if (! defined('PHPMYADMIN')) { exit; } +/* Messages used in default captions */ +$GLOBALS['strLatexContent'] = __('Content of table __TABLE__'); +$GLOBALS['strLatexContinued'] = __('(continued)'); +$GLOBALS['strLatexStructure'] = __('Structure of table __TABLE__'); + /** * */ diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php index f750d810f..ca8c7cc06 100644 --- a/libraries/select_lang.lib.php +++ b/libraries/select_lang.lib.php @@ -480,10 +480,6 @@ $charset = 'utf-8'; /* l10n: Text direction, use either ltr or rtl */ $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 if ($GLOBALS['lang_failed_cfg']) { trigger_error(