Package flumotion :: Package common :: Module messages :: Class TranslatableSingular
[hide private]

Class TranslatableSingular

source code

 twisted.spread.jelly.Jellyable --+            
                                  |            
twisted.spread.flavors.Serializable --+        
                                      |        
        twisted.spread.flavors.Copyable --+    
                                          |    
   twisted.spread.jelly.Unjellyable --+   |    
                                      |   |    
      twisted.spread.flavors.RemoteCopy --+    
                                          |    
                               Translatable --+
                                              |
           twisted.python.util.FancyEqMixin --+
                                              |
                                             TranslatableSingular

I represent a translatable gettext msg in the singular form.

Instance Methods [hide private]
 
__init__(self, domain, format, *args) 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', 'format', 'args']

Inherited from Translatable: domain

Inherited from twisted.spread.flavors.Copyable: __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 format string
  • args - any arguments to the format string