[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content -
i18n.py:1.1 i18nfile.py:NONE i18nimage.py:NONE
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Feb 13 22:27:16 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv31706/src/zope/app/interfaces/content
Added Files:
i18n.py
Removed Files:
i18nfile.py i18nimage.py
Log Message:
- Cleaned up some module doc strings.
- Put I18n content component interfaces together.
- Updated I18n Content Component implementation and tests.
=== Added File Zope3/src/zope/app/interfaces/content/i18n.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 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.
#
##############################################################################
"""Interfaces for internationalized versions of content components.
$Id: i18n.py,v 1.1 2004/02/14 03:27:15 srichter Exp $
"""
from zope.app.content.image import IImage
from zope.app.interfaces.content.file import IFile
from zope.i18n.interfaces import II18nAware
class II18nFile(IFile, II18nAware):
"""I18n aware file interface."""
def removeLanguage(language):
'''Remove translated content for a given language.'''
class II18nImage(II18nFile, IImage):
"""I18n aware image interface."""
=== Removed File Zope3/src/zope/app/interfaces/content/i18nfile.py ===
=== Removed File Zope3/src/zope/app/interfaces/content/i18nimage.py ===
More information about the Zope3-Checkins
mailing list