[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdeplasma-addons/plasma/sreich/youtube-runner] runners/youtube: fix translation and compilation
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-02-29 1:13:24
Message-ID: 20120229011324.31038A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit d04f162df91fa117f545d590b4bd7264898fbb4c by Shaun Reich.
Committed on 29/02/2012 at 02:12.
Pushed by sreich into branch 'plasma/sreich/youtube-runner'.

fix translation and compilation

M  +1    -1    runners/youtube/youtube.cpp

http://commits.kde.org/kdeplasma-addons/d04f162df91fa117f545d590b4bd7264898=
fbb4c

diff --git a/runners/youtube/youtube.cpp b/runners/youtube/youtube.cpp
index a0b4740..263fbf5 100644
--- a/runners/youtube/youtube.cpp
+++ b/runners/youtube/youtube.cpp
@@ -139,7 +139,7 @@ void YouTube::parseJson(const QByteArray& data, Plasma:=
:RunnerContext &context)
         match.setIcon(icon);
 =

         match.setData(url);
-        match.setText(i18n(title + " on YouTube"));
+        match.setText(i18n("%1 on YouTube", title));
 =

         context.addMatch(term, match);
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic