Translate module: add indication of more available translation
This commit is contained in:
parent
b34a73cea6
commit
7a55840aeb
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue