~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/widgets/whispertab.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-05-18 21:06:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130518210629-3trtowluum0tekob
Tags: 1.3.5.12-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
void WhisperTab::handleInput(const std::string &msg)
50
50
{
51
 
//    if (msg.empty())
52
 
//    {
53
 
//        chatLog(_("Cannot send empty chat!"), BY_SERVER, false);
54
 
//        return;
55
 
//    }
56
 
 
57
51
    if (chatWindow)
58
52
    {
59
53
        Net::getChatHandler()->privateMessage(mNick,
100
94
 
101
95
void WhisperTab::showHelp()
102
96
{
 
97
    // TRANSLATORS: whisper tab help
103
98
    chatLog(_("/ignore > Ignore the other player"));
 
99
    // TRANSLATORS: whisper tab help
104
100
    chatLog(_("/unignore > Stop ignoring the other player"));
 
101
    // TRANSLATORS: whisper tab help
105
102
    chatLog(_("/close > Close the whisper tab"));
106
103
}
107
104
 
112
109
    {
113
110
        if (args == "close")
114
111
        {
 
112
            // TRANSLATORS: whisper tab help
115
113
            chatLog(_("Command: /close"));
 
114
            // TRANSLATORS: whisper tab help
116
115
            chatLog(_("This command closes the current whisper tab."));
117
116
        }
118
117
        else if (args == "ignore")
119
118
        {
 
119
            // TRANSLATORS: whisper tab help
120
120
            chatLog(_("Command: /ignore"));
 
121
            // TRANSLATORS: whisper tab help
121
122
            chatLog(_("This command ignores the other player regardless of "
122
123
                      "current relations."));
123
124
        }
124
125
        else if (args == "unignore")
125
126
        {
 
127
            // TRANSLATORS: whisper tab help
126
128
            chatLog(_("Command: /unignore <player>"));
 
129
            // TRANSLATORS: whisper tab help
127
130
            chatLog(_("This command stops ignoring the other player if they "
128
131
                      "are being ignored."));
129
132
        }