tvaLib
Public Member Functions | Public Attributes | List of all members
include.local.LocalText Class Reference

Localisation Library. More...

Public Member Functions

def __init__ (self, value)
 
def __str__ (self)
 
def __len__ (self)
 
def __getitem__ (self, i)
 

Public Attributes

 text
 

Detailed Description

Localisation Library.

Definition at line 9 of file local.py.

Constructor & Destructor Documentation

◆ __init__()

def include.local.LocalText.__init__ (   self,
  value 
)

Definition at line 10 of file local.py.

10  def __init__(self, value):
11  self.text = value
12  return
13 

Member Function Documentation

◆ __getitem__()

def include.local.LocalText.__getitem__ (   self,
  i 
)

Definition at line 16 of file local.py.

16  def __getitem__(self,i): return self.text[i]
17 
18 

◆ __len__()

def include.local.LocalText.__len__ (   self)

Definition at line 15 of file local.py.

15  def __len__(self): return len(self.text)

◆ __str__()

def include.local.LocalText.__str__ (   self)

Definition at line 14 of file local.py.

14  def __str__(self): return self.text['en']

Member Data Documentation

◆ text

include.local.LocalText.text

Definition at line 11 of file local.py.


The documentation for this class was generated from the following file: