Back to index

moin  1.9.0~rc2
Functions | Variables
MoinMoin.macro.GetText Namespace Reference

Functions

def macro_GetText

Variables

list Dependencies = ["language"]

Function Documentation

def MoinMoin.macro.GetText.macro_GetText (   macro,
  text = u'' 
)
Return a translation of args, or args as is 

Definition at line 16 of file GetText.py.

00016 
00017 def macro_GetText(macro, text=u''):
00018     """ Return a translation of args, or args as is """
00019     translation = macro.request.getText(text)
00020 
00021     return macro.formatter.text(translation)
00022 

Variable Documentation

Definition at line 14 of file GetText.py.