Package flumotion :: Package common :: Module messages :: Class TranslatablePlural
[show private | hide private]
[frames | no frames]

Class TranslatablePlural

         FancyEqMixin --+
                        |
Jellyable --+           |
            |           |
 Serializable --+       |
                |       |
         Copyable --+   |
                    |   |
  Unjellyable --+   |   |
                |   |   |
       RemoteCopy --+   |
                    |   |
         Translatable --+
                        |
                       TranslatablePlural


I represent a translatable gettext msg in the plural form.
Method Summary
  __init__(self, domain, format, *args)
    Inherited from Copyable
  getStateToCopy(self)
Gather state to send when I am serialized for a peer.
  getStateToCopyFor(self, perspective)
Gather state to send when I am serialized for a particular perspective.
  getTypeToCopy(self)
Determine what type tag to send for me.
  getTypeToCopyFor(self, perspective)
Determine what type tag to send for me.
  jellyFor(self, jellier)
Assemble type tag and state to copy for this broker.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)
    Inherited from RemoteCopy
  setCopyableState(self, state)
I will be invoked with the state to copy locally.
  unjellyFor(self, unjellier, jellyList)
    Inherited from Unjellyable
  setStateFor(self, unjellier, state)
    Inherited from FancyEqMixin
  __eq__(self, other)
  __ne__(self, other)

Class Variable Summary
list compareAttributes = ['domain', 'singular', 'plural', 'co...
    Inherited from Translatable
NoneType domain = None                                                                  
    Inherited from Copyable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

__init__(self, domain, format, *args)
(Constructor)

Parameters:
domain - the text domain for translations of this message
format - a (singular, plural, count) tuple
args - any arguments to the format string

Class Variable Details

compareAttributes

Type:
list
Value:
['domain', 'singular', 'plural', 'count', 'args']                      

Generated by Epydoc 2.1 on Sat Apr 14 13:20:43 2007 http://epydoc.sf.net