mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Use a prefix-less help string, don't assume a '@' prefix (#1309)
* Use a prefix-less help string, don't assume a '@' prefix * Nickometer: follow through on plugin.py with ` -> '
This commit is contained in:
parent
71ed64e6b2
commit
76c73a57b9
@ -250,8 +250,8 @@ msgid "Error occured when importing the %n: %L"
|
||||
msgstr "Virhe komennon %n tuomisessa: %L"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Add the help for \"@plugin help Aka\" here\n"
|
||||
#~ "Add the help for 'plugin help Aka' here\n"
|
||||
#~ " This should describe *how* to use this plugin."
|
||||
#~ msgstr ""
|
||||
#~ "Lisää ohje komentoa \"@plugin help Aka\" varten tähän.\n"
|
||||
#~ "Lisää ohje komentoa 'plugin help Aka' varten tähän.\n"
|
||||
#~ " Tämän pitäisi kuvata *kuinka* tätä lisä-osaa käytetään."
|
||||
|
@ -282,8 +282,8 @@ msgstr ""
|
||||
" "
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Add the help for \"@plugin help Conditional\" here\n"
|
||||
#~ "Add the help for 'plugin help Conditional' here\n"
|
||||
#~ " This should describe *how* to use this plugin."
|
||||
#~ msgstr ""
|
||||
#~ "Lisää ohje \"@plugin help Conditional\" tähän.\n"
|
||||
#~ "Lisää ohje 'plugin help Conditional' tähän.\n"
|
||||
#~ " Tämän pitäisi kuvata *kuinka* tätä lisäosaa käytetään."
|
||||
|
@ -14,7 +14,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:57
|
||||
msgid ""
|
||||
"Add the help for \"@plugin help Conditional\" here\n"
|
||||
"Add the help for 'plugin help Conditional' here\n"
|
||||
" This should describe *how* to use this plugin."
|
||||
msgstr ""
|
||||
|
||||
|
@ -14,7 +14,7 @@ msgstr ""
|
||||
#: plugin.py:64
|
||||
#, docstring
|
||||
msgid ""
|
||||
"Add the help for \"@plugin help Conditional\" here\n"
|
||||
"Add the help for 'plugin help Conditional' here\n"
|
||||
" This should describe *how* to use this plugin."
|
||||
msgstr ""
|
||||
|
||||
|
@ -99,5 +99,5 @@ msgstr ""
|
||||
" Palauttaa IP:een heksadesimaalisen IP:een IP:lle.\n"
|
||||
" "
|
||||
|
||||
#~ msgid "Add the help for \"@help Internet\" here."
|
||||
#~ msgstr "Lisää ohje \"@help Internet:ille\" tähän."
|
||||
#~ msgid "Add the help for \"help Internet\" here."
|
||||
#~ msgstr "Lisää ohje \"help Internet:ille\" tähän."
|
||||
|
@ -14,7 +14,7 @@ msgstr ""
|
||||
"X-Poedit-SourceCharset: ASCII\n"
|
||||
|
||||
#: plugin.py:43
|
||||
msgid "Add the help for \"@help Internet\" here."
|
||||
msgid "Add the help for \"help Internet\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:47
|
||||
|
@ -12,7 +12,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:42
|
||||
#, docstring
|
||||
msgid "Add the help for \"@help Internet\" here."
|
||||
msgid "Add the help for \"help Internet\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:46
|
||||
|
@ -362,10 +362,10 @@ msgid "No factoids in the database."
|
||||
msgstr "Tietokannassa ei ole factoideja."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Add the help for \"@help MoobotFactoids\" here (assuming you don't "
|
||||
#~ "Add the help for \"help MoobotFactoids\" here (assuming you don't "
|
||||
#~ "implement a MoobotFactoids\n"
|
||||
#~ " command). This should describe *how* to use this plugin."
|
||||
#~ msgstr ""
|
||||
#~ "Lisää ohje \"@help MoobotFactoids\":lle tähän (olettaen ettet luo "
|
||||
#~ "Lisää ohje \"help MoobotFactoids\":lle tähän (olettaen ettet luo "
|
||||
#~ "MoobotFactoids\n"
|
||||
#~ " komentoa). Tämän pitäisi kertoa *kuinka* tätä laajennusta käytetään."
|
||||
|
@ -31,7 +31,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:288
|
||||
msgid ""
|
||||
"Add the help for \"@help MoobotFactoids\" here (assuming you don't implement "
|
||||
"Add the help for \"help MoobotFactoids\" here (assuming you don't implement "
|
||||
"a MoobotFactoids\n"
|
||||
" command). This should describe *how* to use this plugin."
|
||||
msgstr ""
|
||||
|
@ -28,7 +28,7 @@ msgstr "Determina quanti elementi mostrare con il comando \"most\"."
|
||||
#: plugin.py:289
|
||||
#, docstring
|
||||
msgid ""
|
||||
"Add the help for \"@help MoobotFactoids\" here (assuming you don't implement a MoobotFactoids\n"
|
||||
"Add the help for \"help MoobotFactoids\" here (assuming you don't implement a MoobotFactoids\n"
|
||||
" command). This should describe *how* to use this plugin."
|
||||
msgstr ""
|
||||
|
||||
|
@ -18,10 +18,10 @@ msgstr ""
|
||||
"X-Generator: Poedit 1.6.10\n"
|
||||
|
||||
#: plugin.py:81
|
||||
msgid "Will tell you how lame a nick is by the command `@nickometer [nick]`."
|
||||
msgid "Will tell you how lame a nick is by the command 'nickometer [nick]'."
|
||||
msgstr ""
|
||||
"Kertoo kuinka laimea nimimerkki on komennolla\n"
|
||||
" `@nickometer [nimimerkki]."
|
||||
" 'nickometer [nimimerkki]'"
|
||||
|
||||
#: plugin.py:88
|
||||
msgid ""
|
||||
|
@ -17,7 +17,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:81
|
||||
#, docstring
|
||||
msgid "Will tell you how lame a nick is by the command `@nickometer [nick]`."
|
||||
msgid "Will tell you how lame a nick is by the command `nickometer [nick]`."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:88
|
||||
|
@ -79,7 +79,7 @@ def numberShifts(s):
|
||||
return len(s)-1
|
||||
|
||||
class Nickometer(callbacks.Plugin):
|
||||
"""Will tell you how lame a nick is by the command `@nickometer [nick]`."""
|
||||
"""Will tell you how lame a nick is by the command 'nickometer [nick]'."""
|
||||
def punish(self, damage, reason):
|
||||
self.log.debug('%s lameness points awarded: %s', damage, reason)
|
||||
return damage
|
||||
|
@ -47,7 +47,7 @@ conf.registerGlobalValue(Owner, 'public',
|
||||
visible."""))
|
||||
conf.registerGlobalValue(Owner, 'announceFormat',
|
||||
registry.String('Announcement from my owner ($owner): $text',
|
||||
"""Determines the format of messages sent by the @announce command.
|
||||
"""Determines the format of messages sent by the 'announce' command.
|
||||
$owner may be used for the username of the owner calling this command,
|
||||
and $text for the announcement being made."""))
|
||||
conf.registerGlobalValue(Owner, 'quitMsg',
|
||||
|
@ -13,7 +13,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:219
|
||||
msgid ""
|
||||
"Add the help for \"@plugin help PluginDownloader\" here\n"
|
||||
"Add the help for 'plugin help PluginDownloader' here\n"
|
||||
" This should describe *how* to use this plugin."
|
||||
msgstr ""
|
||||
|
||||
|
@ -118,8 +118,8 @@ msgid "This plugin has no description."
|
||||
msgstr "Tällä lisäosalla ei ole kuvausta."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Add the help for \"@plugin help PluginDownloader\" here\n"
|
||||
#~ "Add the help for 'plugin help PluginDownloader' here\n"
|
||||
#~ " This should describe *how* to use this plugin."
|
||||
#~ msgstr ""
|
||||
#~ "Lisää ohjeteksti komennolle \"@plugin help PluginDownloader\" tähän.\n"
|
||||
#~ "Lisää ohjeteksti komennolle 'plugin help PluginDownloader' tähän.\n"
|
||||
#~ " Tämän pitäisi kuvata *kuinka* tätä lisäosaa käytetään."
|
||||
|
@ -240,5 +240,5 @@ msgstr ""
|
||||
msgid "No quotegrabs matching %s"
|
||||
msgstr "Ei %s:ään täsmääviä lainauksia"
|
||||
|
||||
#~ msgid "Add the help for \"@help QuoteGrabs\" here."
|
||||
#~ msgstr "Lisää ohje \"@help QuoteGrabs\"ille tähän."
|
||||
#~ msgid "Add the help for \"help QuoteGrabs\" here."
|
||||
#~ msgstr "Lisää ohje \"help QuoteGrabs\"ille tähän."
|
||||
|
@ -47,7 +47,7 @@ msgid "%s (Said by: %s; grabbed by %s at %t)"
|
||||
msgstr "%s (Dit par %s ; récupéré par %s à %t)"
|
||||
|
||||
#: plugin.py:210
|
||||
msgid "Add the help for \"@help QuoteGrabs\" here."
|
||||
msgid "Add the help for \"help QuoteGrabs\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:249
|
||||
|
@ -55,7 +55,7 @@ msgstr "%s (Detto da: %s; pescato da %s il %t)"
|
||||
|
||||
#: plugin.py:226
|
||||
#, docstring
|
||||
msgid "Add the help for \"@help QuoteGrabs\" here."
|
||||
msgid "Add the help for \"help QuoteGrabs\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:265
|
||||
|
@ -555,14 +555,14 @@ msgstr "Kieltäydyn vaihtamasta aiheen paikkaa sen itsensä kanssa."
|
||||
msgid ""
|
||||
"[<channel>]\n"
|
||||
"\n"
|
||||
" Saves the topic in <channel> to be restored with @topic default\n"
|
||||
" Saves the topic in <channel> to be restored with 'topic default'\n"
|
||||
" later. <channel> is only necessary if the message isn't sent in\n"
|
||||
" the channel itself.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
"[<kanava>]\n"
|
||||
"\n"
|
||||
" Tallentaa aiheen <kanavalla>, jotta se voidaan palauttaa \"@topic default\"—"
|
||||
" Tallentaa aiheen <kanavalla>, jotta se voidaan palauttaa 'topic default'—"
|
||||
"komennolla\n"
|
||||
" myöhemmin. <Kanava> on vaadittu vain, ellei viestiä lähetetä kanavalla "
|
||||
"itsellään."
|
||||
|
@ -459,14 +459,14 @@ msgstr "Je refuse d'échanger un topic avec lui-même."
|
||||
msgid ""
|
||||
"[<channel>]\n"
|
||||
"\n"
|
||||
" Saves the topic in <channel> to be restored with @topic default\n"
|
||||
" Saves the topic in <channel> to be restored with 'topic default'\n"
|
||||
" later. <channel> is only necessary if the message isn't sent in\n"
|
||||
" the channel itself.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
"[<canal>]\n"
|
||||
"\n"
|
||||
"Enregistre le topic du <canal> pour être restauré avec @topic default par la "
|
||||
"Enregistre le topic du <canal> pour être restauré avec 'topic default' par la "
|
||||
"suite. <canal> n'est nécessaire que si vous n'exécutez pas la commande dans "
|
||||
"le canal lui-même."
|
||||
|
||||
|
@ -374,7 +374,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"[<channel>]\n"
|
||||
"\n"
|
||||
" Saves the topic in <channel> to be restored with @topic default\n"
|
||||
" Saves the topic in <channel> to be restored with 'topic default'\n"
|
||||
" later. <channel> is only necessary if the message isn't sent in\n"
|
||||
" the channel itself.\n"
|
||||
" "
|
||||
|
@ -577,7 +577,7 @@ class Topic(callbacks.Plugin):
|
||||
def save(self, irc, msg, args, channel):
|
||||
"""[<channel>]
|
||||
|
||||
Saves the topic in <channel> to be restored with @topic default
|
||||
Saves the topic in <channel> to be restored with 'topic default'
|
||||
later. <channel> is only necessary if the message isn't sent in
|
||||
the channel itself.
|
||||
"""
|
||||
|
@ -37,8 +37,8 @@ msgid ""
|
||||
msgstr "Legt die maximal Anzahl an Bytes fest die der Bot über den 'fetch' Befehl herunterläd."
|
||||
|
||||
#: plugin.py:71
|
||||
msgid "Add the help for \"@help Web\" here."
|
||||
msgstr "Füge die Hilfe für \"@help Web\" hier hinzu."
|
||||
msgid "Add the help for \"help Web\" here."
|
||||
msgstr "Füge die Hilfe für \"help Web\" hier hinzu."
|
||||
|
||||
#: plugin.py:107
|
||||
msgid "Title: %s (at %s)"
|
||||
|
@ -84,8 +84,8 @@ msgid "Display a nice error instead of \"An error has occurred\"."
|
||||
msgstr "Näytä kiva virheilmoitus ilmoitukset \"Virhe on tapahtunut\" sijaan."
|
||||
|
||||
#: plugin.py:121
|
||||
msgid "Add the help for \"@help Web\" here."
|
||||
msgstr "Lisää ohje komennolle \"@help Web\" tähän."
|
||||
msgid "Add the help for \"help Web\" here."
|
||||
msgstr "Lisää ohje komennolle \"help Web\" tähän."
|
||||
|
||||
#: plugin.py:166
|
||||
msgid "Title: %s (at %s)"
|
||||
|
@ -71,7 +71,7 @@ msgid "Display a nice error instead of \"An error has occurred\"."
|
||||
msgstr "."
|
||||
|
||||
#: plugin.py:116
|
||||
msgid "Add the help for \"@help Web\" here."
|
||||
msgid "Add the help for \"help Web\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:162
|
||||
|
@ -36,7 +36,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:71
|
||||
#, docstring
|
||||
msgid "Add the help for \"@help Web\" here."
|
||||
msgid "Add the help for \"help Web\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:107
|
||||
|
@ -65,7 +65,7 @@ msgstr ""
|
||||
|
||||
#: plugin.py:121
|
||||
#, docstring
|
||||
msgid "Add the help for \"@help Web\" here."
|
||||
msgid "Add the help for \"help Web\" here."
|
||||
msgstr ""
|
||||
|
||||
#: plugin.py:166
|
||||
|
@ -138,7 +138,7 @@ def catch_web_errors(f):
|
||||
return utils.python.changeFunctionName(newf, f.__name__, f.__doc__)
|
||||
|
||||
class Web(callbacks.PluginRegexp):
|
||||
"""Add the help for "@help Web" here."""
|
||||
"""Add the help for 'help Web' here."""
|
||||
regexps = ['titleSnarfer']
|
||||
threaded = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user