summaryrefslogtreecommitdiff
path: root/packages/opie-irc/files
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-07-08 20:52:40 +0000
committerMichael Krelin <hacker@klever.net>2007-07-08 20:52:40 +0000
commit36d37c9550cdf0148c28c9e7c5e80d0a6331789e (patch)
treefc1612872faa9ad17fd9b2f50ee9eacd06667c42 /packages/opie-irc/files
parent136eb8e8ee4c5423bdb8e10159ea28995d4483ad (diff)
opie-irc: more fixes for utf-8
Diffstat (limited to 'packages/opie-irc/files')
-rw-r--r--packages/opie-irc/files/utf8-topic.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/opie-irc/files/utf8-topic.patch b/packages/opie-irc/files/utf8-topic.patch
new file mode 100644
index 0000000000..d8d9a52ca9
--- /dev/null
+++ b/packages/opie-irc/files/utf8-topic.patch
@@ -0,0 +1,18 @@
+diff --git a/ircmessageparser.cpp b/ircmessageparser.cpp
+index c449a65..ae47f69 100644
+--- a/ircmessageparser.cpp
++++ b/ircmessageparser.cpp
+@@ -667,11 +667,11 @@ void IRCMessageParser::parseNumericalNoSuchNick(IRCMessage *) {
+ void IRCMessageParser::parseNumericalTopic(IRCMessage *message) {
+ IRCChannel *channel = m_session->getChannel(message->param(1).lower());
+ if (channel) {
+- IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel " + channel->channelname() + " is \"" + message->param(2) + "\""));
++ IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel ") + channel->channelname() + tr(" is \"") + message->param(2) + "\"");
+ output.addParam(channel);
+ emit outputReady(output);
+ } else {
+- IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel " + message->param(1) + " is \"" + message->param(2) + "\""));
++ IRCOutput output(OUTPUT_TOPIC, tr("Topic for channel ") + message->param(1) + tr(" is \"") + message->param(2) + "\"");
+ output.addParam(0);
+ emit outputReady(output);
+ }