From 2983057ad91ccdef1fef86a85fe8e888350c3384 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 16 Apr 2006 14:43:51 +0000 Subject: Fixed a few issues with using Globalization. --- framework/I18N/TTranslate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/I18N/TTranslate.php') diff --git a/framework/I18N/TTranslate.php b/framework/I18N/TTranslate.php index 0a03b506..6a30f3a6 100644 --- a/framework/I18N/TTranslate.php +++ b/framework/I18N/TTranslate.php @@ -168,7 +168,7 @@ class TTranslate extends TI18NControl */ protected function translateText($text, $subs) { - $app = $this->Application->getGlobalization(); + $app = $this->getApplication()->getGlobalization(); //no translation handler provided if(is_null($config = $app->getTranslationConfiguration())) -- cgit v1.2.3