#NEWLINE# def gettext( string ) : #NEWLINE# #INDENT# 'Translate a given string to the language of the application.' #NEWLINE# translations = get_translations ( ) #NEWLINE# if ( translations is None ) : #NEWLINE# #INDENT# return unicode ( string ) #NEWLINE# #UNINDENT# return translations . gettext ( string )