Skip to content

Commit

Permalink
Backport rev26612-13.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Aug 11, 2004
1 parent 444fca0 commit 15eebdc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions metadirectives.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
##############################################################################
#
# Copyright (c) 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""``i18n`` ZCML namespace directive interfaces
$Id$
"""
__docformat__ = 'restructuredtext'
from zope.interface import Interface
from zope.configuration.fields import Path

class IRegisterTranslationsDirective(Interface):
"""Register translations with the global Translation Service."""

directory = Path(
title=u"Directory",
description=u"Directory containing the translations",
required=True
)

0 comments on commit 15eebdc

Please sign in to comment.