Translate module: add indication of more available translation

This commit is contained in:
nemunaire 2014-08-06 16:02:10 +02:00
parent b34a73cea6
commit 7a55840aeb

View File

@ -71,6 +71,7 @@ def cmd_translate(msg):
else:
res = Response(msg.sender, channel=msg.channel,
count=" (%d more meanings)",
nomore="No more translation")
for k, t in wres.items():
if len(k) > 4 and k[:4] == "term":