File: __init__.py

package info (click to toggle)
zope-plonelanguagetool 1.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,264 kB
  • ctags: 159
  • sloc: python: 1,393; makefile: 29; sh: 2
file content (17 lines) | stat: -rw-r--r-- 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from Products.CMFCore.DirectoryView import registerDirectory
from Products.CMFCore.utils import ToolInit

ADD_CONTENT_PREMISSIONS = 'Manage Portal'
lang_globals = globals()
registerDirectory('skins', lang_globals)

PKG_NAME = 'PloneLanguageTool'

from Products.PloneLanguageTool.LanguageTool import LanguageTool
tools = (LanguageTool,)

def initialize(context):
    ToolInit('Plone Language Tool',
             tools=tools,
             icon='tool.gif',
    ).initialize(context)