[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n - IInterpolationVariable.py:1.1.2.1 ITranslationService.py:1.1.2.2
Jim Fulton
jim@zope.com
Sat, 19 Jan 2002 13:19:04 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/I18n
In directory cvs.zope.org:/tmp/cvs-serv15713
Modified Files:
Tag: Zope-3x-branch
ITranslationService.py
Added Files:
Tag: Zope-3x-branch
IInterpolationVariable.py
Log Message:
Renamed IVariable to IInterpolationVariable and gave it it's own module.
=== Added File Zope3/lib/python/Zope/I18n/IInterpolationVariable.py ===
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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
#
##############################################################################
"""
Revision information: $Id: IInterpolationVariable.py,v 1.1.2.1 2002/01/19 18:19:04 jim Exp $
"""
from Interface import Interface
class IInterpolationVariable(Interface):
"""Objects that supply placeholders for interpolated data
"""
def getInterpolationName():
"""Return a string describing the data to be interpolated.
"""
=== Zope3/lib/python/Zope/I18n/ITranslationService.py 1.1.2.1 => 1.1.2.2 ===
Translated text is returned.
"""
-
-class IVariable(Interface):
- """Objects that supply placeholders for interpolated data
- """
-
- def getInterpolationName():
- """Return a string describing the data to be interpolated.
- """