Skip to content

Commit

Permalink
Add i18n of templates, requires Trac [T9763]
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Boos committed Jun 12, 2010
1 parent e9e0e46 commit 3c5b80e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions setup.py
Expand Up @@ -5,16 +5,17 @@

extra = {}

try:
import babel
from trac.util.dist import get_l10n_cmdclass
cmdclass = get_l10n_cmdclass()
if cmdclass:
extra['cmdclass'] = cmdclass
extra['message_extractors'] = {
'HudsonTrac': [
('*.py', 'python', None),
('templates/*.html', 'genshi', None),
],
}
except ImportError:
pass


setup(
name = 'HudsonTrac',
version = '0.12.0.4',
Expand Down

0 comments on commit 3c5b80e

Please sign in to comment.