Aka: Fix typo and help for 'show'

Help for 'aka show' should now mentions the --channel argument (this
was implemented but not mentioned).
This commit is contained in:
GLolol 2014-12-16 14:25:43 -08:00
parent 1030a6bc32
commit 40df743cbf
2 changed files with 4 additions and 4 deletions

View File

@ -32,8 +32,8 @@ msgstr "Tämä Aka on jo olemassa."
#: plugin.py:169 plugin.py:181 plugin.py:195 plugin.py:291 plugin.py:308
#: plugin.py:325
msgid "This Aka does not exist"
msgstr "Tätä Akaa ei ole olemassakaan"
msgid "This Aka does not exist."
msgstr "Tätä Akaa ei ole olemassakaan."
#: plugin.py:293
msgid "This Aka is already locked."

View File

@ -671,7 +671,7 @@ class Aka(callbacks.Plugin):
}), 'user', 'something'])
def show(self, irc, msg, args, optlist, name):
"""<command>
"""[--channel <#channel>] <alias>
This command shows the content of an Aka.
"""
@ -686,7 +686,7 @@ class Aka(callbacks.Plugin):
if command:
irc.reply(command)
else:
irc.error(_('This Aka does not exist'))
irc.error(_('This Aka does not exist.'))
show = wrap(show, [getopts({'channel': 'somethingWithoutSpaces'}),
'text'])