changeset 097ac847b4b7 in /home/hg/repos/gajim
author: Yann Leboulanger <asterix(a)lagaule.org>
branches:
details:http://hg.gajim.org/gajim?cmd=changeset;node=097ac847b4b7
description: add a not to not translate an example string
diffstat:
src/command_system/implementation/custom.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 2ab884979ec1 -r 097ac847b4b7 src/command_system/implementation/custom.py
--- a/src/command_system/implementation/custom.py Thu May 29 22:46:48 2014 +0200
+++ b/src/command_system/implementation/custom.py Thu May 29 23:28:25 2014 +0200
@@ -102,6 +102,7 @@
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 @@
@command
def fetch(self):
- return "Buy yourself a dog."
\ No newline at end of file
+ return "Buy yourself a dog."