summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorrojaro <>2011-04-28 10:14:58 +0000
committerrojaro <>2011-04-28 10:14:58 +0000
commit421e67292492f6ce35b46228dea0ef3b3cb3b1b4 (patch)
treebf8486de1dfa6c01a2a15128e5aad7ca6f3cbf71 /framework
parent772aca3f6347fbf0a5ea1e9f1e7844b2909c8f9f (diff)
fixed #134
Diffstat (limited to 'framework')
-rw-r--r--framework/I18N/TGlobalization.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php
index 2201f4e5..1280b6d5 100644
--- a/framework/I18N/TGlobalization.php
+++ b/framework/I18N/TGlobalization.php
@@ -155,7 +155,9 @@ class TGlobalization extends TModule
*/
public function getTranslationConfiguration()
{
- return $this->_translation;
+ return ($this->getDefaultCulture() == $this->getCulture())
+ ? null
+ : $this->_translation;
}
/**