From 2cb7f72874c2cd3e2135683c7fe828b86a72d28f Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 25 Jun 2011 13:06:06 +0200 Subject: [PATCH] User: fix typo. Closes GH-32. --- plugins/User/locale/fr.po | 2 +- plugins/User/messages.pot | 2 +- plugins/User/plugin.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/User/locale/fr.po b/plugins/User/locale/fr.po index 0ca1e4e61..70569a97b 100644 --- a/plugins/User/locale/fr.po +++ b/plugins/User/locale/fr.po @@ -185,7 +185,7 @@ msgid "%s has no registered hostmasks." msgstr "%s n'a pas de masque d'hôte enregistré." #: plugin.py:283 -msgid "You may only retrieve your own (hostmasks." +msgid "You may only retrieve your own hostmasks." msgstr "Vous ne pouvez récupérer que vos propres masques d'hôte." #: plugin.py:299 diff --git a/plugins/User/messages.pot b/plugins/User/messages.pot index 4f2171590..1fafd28e1 100644 --- a/plugins/User/messages.pot +++ b/plugins/User/messages.pot @@ -169,7 +169,7 @@ msgid "%s has no registered hostmasks." msgstr "" #: plugin.py:283 -msgid "You may only retrieve your own (hostmasks." +msgid "You may only retrieve your own hostmasks." msgstr "" #: plugin.py:299 diff --git a/plugins/User/plugin.py b/plugins/User/plugin.py index 562c143ab..a1e98f512 100644 --- a/plugins/User/plugin.py +++ b/plugins/User/plugin.py @@ -281,7 +281,7 @@ class User(callbacks.Plugin): if name != user.name and \ not ircdb.checkCapability(msg.prefix, 'owner'): irc.error(_('You may only retrieve your own ' - '(hostmasks.'), Raise=True) + 'hostmasks.'), Raise=True) else: try: user = ircdb.users.getUser(name)