Package elisa :: Package extern :: Module translation :: Class TranslatablePlural
[hide private]
[frames] | no frames]

Class TranslatablePlural

source code


I represent a translatable gettext msg in the plural form.

Instance Methods [hide private]
 
__init__(self, domain, format, *args) source code
 
__str__(self) source code

Inherited from twisted.spread.flavors.Copyable: getStateToCopy, getStateToCopyFor, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.spread.flavors.RemoteCopy: setCopyableState, unjellyFor

Inherited from twisted.spread.jelly.Unjellyable: setStateFor

Inherited from twisted.python.util.FancyEqMixin: __eq__, __ne__

Class Variables [hide private]
  compareAttributes = ['domain', 'singular', 'plural', 'count', ...

Inherited from Translatable: domain

Inherited from twisted.spread.flavors.Serializable: __implemented__, __provides__

Method Details [hide private]

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

source code 
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 [hide private]

compareAttributes

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