From: Alan Knowles Date: Mon, 19 Aug 2013 03:56:45 +0000 (+0800) Subject: InterfaceTranslations.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=752e30460b48fcbc9b093e52a52bd6077aeeec5e InterfaceTranslations.php --- diff --git a/InterfaceTranslations.php b/InterfaceTranslations.php index 18ef7cb..8ae3771 100644 --- a/InterfaceTranslations.php +++ b/InterfaceTranslations.php @@ -53,7 +53,7 @@ class Pman_Admin_InterfaceTranslations extends Pman_Admin_Translations $data = $this->loadTranslateDB($lang,$module); $j = new Services_JSON(); - echo "_T.{$lang}= Roo.apply( _T.{$lang} || { }, " . $j->stringify($data, null, 4) . ");\n"; + echo "_T = _T || {} ; _T.{$lang}= Roo.apply( _T.{$lang} || { }, " . $j->stringify($data, null, 4) . ");\n"; } exit;