Merge pull request #951 from GLolol/aka-1

Aka: Fix typo and help for 'show'
This commit is contained in:
Valentin Lorentz 2014-12-17 08:07:06 +01:00
commit 88f6496ac2
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:169 plugin.py:181 plugin.py:195 plugin.py:291 plugin.py:308
#: plugin.py:325 #: plugin.py:325
msgid "This Aka does not exist" msgid "This Aka does not exist."
msgstr "Tätä Akaa ei ole olemassakaan" msgstr "Tätä Akaa ei ole olemassakaan."
#: plugin.py:293 #: plugin.py:293
msgid "This Aka is already locked." msgid "This Aka is already locked."

View File

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