add a not to not translate an example string
This commit is contained in:
parent
8dd4730240
commit
bc5eb7a5d4
1 changed files with 2 additions and 1 deletions
|
@ -102,6 +102,7 @@ class CustomPrivateChatCommands(CommandContainer):
|
|||
HOSTS = PrivateChatCommands,
|
||||
|
||||
@command
|
||||
#Example string. Do not translate
|
||||
@doc(_("The same as using a doc-string, except it supports translation"))
|
||||
def make_coffee(self):
|
||||
return "I'm not a coffee machine!"
|
||||
|
@ -118,4 +119,4 @@ class CustomGroupChatCommands(CommandContainer):
|
|||
|
||||
@command
|
||||
def fetch(self):
|
||||
return "Buy yourself a dog."
|
||||
return "Buy yourself a dog."
|
||||
|
|
Loading…
Add table
Reference in a new issue