From 52094ec9101623e3e135823d5dbe520d7250dfdd Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 30 Oct 2010 11:23:56 +0200 Subject: [PATCH] User: internationalize a string --- plugins/User/messages.pot | 6 +++++- plugins/User/plugin.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/User/messages.pot b/plugins/User/messages.pot index faaf3ad96..6ddaeff76 100644 --- a/plugins/User/messages.pot +++ b/plugins/User/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2010-10-16 13:50+CEST\n" +"POT-Creation-Date: 2010-10-30 11:23+CEST\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -260,6 +260,10 @@ msgid "" " " msgstr "" +#: plugin.py:438 +msgid "If you remain recognized after giving this command, you're being recognized by hostmask, rather than by password. You must remove whatever hostmask is causing you to be recognized in order not to be recognized." +msgstr "" + #: plugin.py:447 #, docstring msgid "" diff --git a/plugins/User/plugin.py b/plugins/User/plugin.py index f949ac14a..562c143ab 100644 --- a/plugins/User/plugin.py +++ b/plugins/User/plugin.py @@ -435,11 +435,11 @@ class User(callbacks.Plugin): """ user.clearAuth() ircdb.users.setUser(user) - irc.replySuccess('If you remain recognized after giving this command, ' + irc.replySuccess(_('If you remain recognized after giving this command, ' 'you\'re being recognized by hostmask, rather than ' 'by password. You must remove whatever hostmask is ' 'causing you to be recognized in order not to be ' - 'recognized.') + 'recognized.')) unidentify = wrap(unidentify, ['user']) @internationalizeDocstring