diff options
| author | Adam <Adam@anope.org> | 2011-02-04 15:30:31 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-02-04 15:30:31 -0500 |
| commit | 08583dc107974252312fb7c87532c9deb68e7f63 (patch) | |
| tree | 0c42ec7422752cabd8352b49be976b4dc100c56c /src/channels.cpp | |
| parent | c362a1e077d5ede9eadbe79483f2a755b5883e9a (diff) | |
Moved the language strings which are only used once
out of the core and into the modules that use them.
Diffstat (limited to 'src/channels.cpp')
| -rw-r--r-- | src/channels.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index a4c920227..72b09ae1e 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -133,9 +133,9 @@ void Channel::JoinUser(User *user) if (this->ci && check_access(user, this->ci, CA_MEMO) && this->ci->memos.memos.size() > 0) { if (this->ci->memos.memos.size() == 1) - user->SendMessage(MemoServ, MEMO_X_ONE_NOTICE, this->ci->memos.memos.size(), this->ci->name.c_str()); + user->SendMessage(MemoServ, _("There is \002%d\002 memo on channel %s."), this->ci->memos.memos.size(), this->ci->name.c_str()); else - user->SendMessage(MemoServ, MEMO_X_MANY_NOTICE, this->ci->memos.memos.size(), this->ci->name.c_str()); + user->SendMessage(MemoServ, _("There are \002%d\002 memos on channel %s."), this->ci->memos.memos.size(), this->ci->name.c_str()); } if (!Config->s_BotServ.empty() && this->ci && this->ci->bi) |
