Topic: update error messages too

Thanks, Google Translate!
This commit is contained in:
GLolol 2014-05-06 22:47:26 -07:00
parent ef607f62bc
commit 07b836f710
4 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ msgstr "En tällä hetkellä ole kanavalla %s."
#: plugin.py:61 #: plugin.py:61
msgid "I can't change the topic, I'm not opped and %s is +t." msgid "I can't change the topic, I'm not opped and %s is +t."
msgstr "" msgstr ""
"En voi vaihtaa aihetta, koska en ole kanavaoperaattori ja kanavalla %s on " "En voi vaihtaa aihetta, koska en ole kanavapuolioperaattori ja kanavalla %s on "
"tila +t." "tila +t."
#: plugin.py:68 #: plugin.py:68

View File

@ -94,7 +94,7 @@ msgstr "Je ne suis pas actuellement sur %s."
#: plugin.py:61 #: plugin.py:61
msgid "I can't change the topic, I'm not opped and %s is +t." msgid "I can't change the topic, I'm not opped and %s is +t."
msgstr "Je ne peux changer le topic, je ne suis pas opé, et %s a le mode +t." msgstr "Je ne peux changer le topic, je ne suis pas halfopé, et %s a le mode +t."
#: plugin.py:68 #: plugin.py:68
msgid "The topic must not include %q." msgid "The topic must not include %q."

View File

@ -75,7 +75,7 @@ msgstr "Attualmente non sono in %s."
#: plugin.py:61 #: plugin.py:61
msgid "I can't change the topic, I'm not opped and %s is +t." msgid "I can't change the topic, I'm not opped and %s is +t."
msgstr "Non posso cambiare il topic, non sono op e %s ha il mode +t." msgstr "Non posso cambiare il topic, non sono halfop e %s ha il mode +t."
#: plugin.py:68 #: plugin.py:68
msgid "The topic must not include %q." msgid "The topic must not include %q."

View File

@ -58,7 +58,7 @@ def canChangeTopic(irc, msg, args, state):
Raise=True) Raise=True)
c = irc.state.channels[state.channel] c = irc.state.channels[state.channel]
if 't' in c.modes and not c.isHalfopPlus(irc.nick): if 't' in c.modes and not c.isHalfopPlus(irc.nick):
state.error(format(_('I can\'t change the topic, I\'m not opped ' state.error(format(_('I can\'t change the topic, I\'m not (half)opped '
'and %s is +t.'), state.channel), Raise=True) 'and %s is +t.'), state.channel), Raise=True)
def getTopic(irc, msg, args, state, format=True): def getTopic(irc, msg, args, state, format=True):