GetText() macro

This commit is contained in:
Elan Ruusamäe 2012-09-17 00:34:39 +02:00
parent bae8b03c6a
commit 3ee3a402b4

View file

@ -277,6 +277,7 @@ class Formatter(FormatterBase):
lookup = {
'BR' : '\\\\',
'MailTo' : email,
'GetText' : args,
}[name]
except KeyError:
lookup = '/* UndefinedMacro: %s(%s) */' % (name, args)