Changeset 8197
- Timestamp:
- May 11, 2009, 9:48:05 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/trac/util/translation.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trac/util/translation.py
r8196 r8197 122 122 locale_dir = pkg_resources.resource_filename(__name__, '../locale') 123 123 t = Translations.load(locale_dir, locale) 124 if t.__class__ is NullTranslations:125 return126 124 if env_path: 127 125 self._plugin_domains_lock.acquire() … … 135 133 136 134 def deactivate(self): 137 if self.isactive: 138 del self._current.translations 135 del self._current.translations 139 136 140 137 @property
Note:
See TracChangeset
for help on using the changeset viewer.
