From 6426610901b57dfba763dedbe640ec13a85a8cfc Mon Sep 17 00:00:00 2001 From: bshuttle Date: Mon, 20 Mar 2006 10:21:52 +0000 Subject: [PATCH] further i18n fixes. --- lib/templating/kt3template.inc.php | 2 ++ presentation/i18nJavascript.php | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/lib/templating/kt3template.inc.php b/lib/templating/kt3template.inc.php index f5b6c3a..7351de1 100644 --- a/lib/templating/kt3template.inc.php +++ b/lib/templating/kt3template.inc.php @@ -97,6 +97,8 @@ class KTPage { $aJS[] = 'thirdpartyjs/MochiKit/DOM.js'; $aJS[] = 'thirdpartyjs/MochiKit/Logging.js'; $aJS[] = 'resources/js/kt-utility.js'; + //$aJS[] = 'resources/js/translate.js'; + $aJS[] = 'presentation/i18nJavascript.php'; $this->requireJSResources($aJS); // this is horrid, but necessary. diff --git a/presentation/i18nJavascript.php b/presentation/i18nJavascript.php index 7303731..2b71313 100644 --- a/presentation/i18nJavascript.php +++ b/presentation/i18nJavascript.php @@ -1,4 +1,21 @@