add a not to not translate an example string

This commit is contained in:
Yann Leboulanger 2014-05-29 23:28:25 +02:00
parent 8dd4730240
commit bc5eb7a5d4
1 changed files with 2 additions and 1 deletions

View File

@ -102,6 +102,7 @@ class CustomPrivateChatCommands(CommandContainer):
HOSTS = PrivateChatCommands, HOSTS = PrivateChatCommands,
@command @command
#Example string. Do not translate
@doc(_("The same as using a doc-string, except it supports translation")) @doc(_("The same as using a doc-string, except it supports translation"))
def make_coffee(self): def make_coffee(self):
return "I'm not a coffee machine!" return "I'm not a coffee machine!"
@ -118,4 +119,4 @@ class CustomGroupChatCommands(CommandContainer):
@command @command
def fetch(self): def fetch(self):
return "Buy yourself a dog." return "Buy yourself a dog."