Translate module: add indication of more available translation
This commit is contained in:
parent
b34a73cea6
commit
7a55840aeb
@ -71,6 +71,7 @@ def cmd_translate(msg):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
res = Response(msg.sender, channel=msg.channel,
|
res = Response(msg.sender, channel=msg.channel,
|
||||||
|
count=" (%d more meanings)",
|
||||||
nomore="No more translation")
|
nomore="No more translation")
|
||||||
for k, t in wres.items():
|
for k, t in wres.items():
|
||||||
if len(k) > 4 and k[:4] == "term":
|
if len(k) > 4 and k[:4] == "term":
|
||||||
|
Loading…
Reference in New Issue
Block a user