Merge pull request #688 from Mkaysi/user.identify

Make user.whoami more clear to unidentified users.
This commit is contained in:
Valentin Lorentz 2014-05-29 00:30:21 +02:00
commit c799bb2931
3 changed files with 16 additions and 7 deletions

View File

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2014-03-25 16:53+EET\n"
"PO-Revision-Date: 2014-03-25 16:56+0200\n"
"POT-Creation-Date: 2014-05-28 19:48+EEST\n"
"PO-Revision-Date: 2014-05-28 19:49+0200\n"
"Last-Translator: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>\n"
"Language-Team: suomi <>\n"
"MIME-Version: 1.0\n"
@ -572,8 +572,14 @@ msgstr ""
" "
#: plugin.py:606
msgid "I don't recognize you."
msgstr "Minä en tunnista sinua."
msgid ""
"I don't recognize you. You can messsage me either of these two commands: "
"\"user identify <username> <password>\" to log in or \"user register "
"<username> <password>\" to register."
msgstr ""
"Et ole tunnistautunut. Voit lähettää minulle kumman tahansa näistä kahdesta "
"komennoista: \"user identify <username> <password>\" kirjautuaksesi sisään "
"tai rekisteröityäksesi \"user register <username> <password>\"."
#: plugin.py:611
msgid ""
@ -593,6 +599,9 @@ msgstr ""
"Minulla on %s rekisteröityä käyttäjää %s rekisteröidyllä hostmaskilla; %n ja "
"%n."
#~ msgid "I don't recognize you."
#~ msgstr "Minä en tunnista sinua."
#~ msgid ""
#~ "<name> <hostmask> [<password>]\n"
#~ "\n"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2014-03-25 16:53+EET\n"
"POT-Creation-Date: 2014-05-28 19:48+EEST\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -381,7 +381,7 @@ msgid ""
msgstr ""
#: plugin.py:606
msgid "I don't recognize you."
msgid "I don't recognize you. You can messsage me either of these two commands: \"user identify <username> <password>\" to log in or \"user register <username> <password>\" to register."
msgstr ""
#: plugin.py:611

View File

@ -603,7 +603,7 @@ class User(callbacks.Plugin):
user = ircdb.users.getUser(msg.prefix)
irc.reply(user.name)
except KeyError:
irc.reply(_('I don\'t recognize you.'))
irc.reply(_('I don\'t recognize you. You can messsage me either of these two commands: "user identify <username> <password>" to log in or "user register <username> <password>" to register.'))
whoami = wrap(whoami)
@internationalizeDocstring