diff options
author | rojaro <> | 2011-04-28 10:14:58 +0000 |
---|---|---|
committer | rojaro <> | 2011-04-28 10:14:58 +0000 |
commit | 421e67292492f6ce35b46228dea0ef3b3cb3b1b4 (patch) | |
tree | bf8486de1dfa6c01a2a15128e5aad7ca6f3cbf71 | |
parent | 772aca3f6347fbf0a5ea1e9f1e7844b2909c8f9f (diff) |
fixed #134
-rw-r--r-- | framework/I18N/TGlobalization.php | 4 |
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;
}
/**
|