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

List:       kde-commits
Subject:    KDE/kdelibs/knewstuff/knewstuff3/ui
From:       Frederik Gladhorn <gladhorn () kde ! org>
Date:       2010-05-01 22:40:29
Message-ID: 20100501224029.C68A8AC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1121621 by gladhorn:

fix html in author text

 M  +1 -1      itemsgridviewdelegate.cpp  
 M  +1 -1      itemsviewdelegate.cpp  


--- trunk/KDE/kdelibs/knewstuff/knewstuff3/ui/itemsgridviewdelegate.cpp \
#1121620:1121621 @@ -155,7 +155,7 @@
 
         if (!authorName.isEmpty()) {
             if (!authorPage.isEmpty()) {
-                text += "<p>" + i18nc("Show the author of this item in a list", "By \
<i>%1</i>", " <a href=\"" + authorPage + "\">" + authorName + "</a></p>\n"); +        \
text += "<p>" + i18nc("Show the author of this item in a list", "By <i>%1</i>", " <a \
href=\"" + authorPage + "\">" + authorName + "</a>") + "</p>\n";  } else if \
(!email.isEmpty()) {  text += "<p>" + i18nc("Show the author of this item in a list", \
"By <i>%1</i>", authorName) + " <a href=\"mailto:" + email + "\">" + email + \
"</a></p>\n";  } else {
--- trunk/KDE/kdelibs/knewstuff/knewstuff3/ui/itemsviewdelegate.cpp #1121620:1121621
@@ -220,7 +220,7 @@
 
         if (!authorName.isEmpty()) {
             if (!authorPage.isEmpty()) {
-                text += "<p>" + i18nc("Show the author of this item in a list", "By \
<i>%1</i>", " <a href=\"" + authorPage + "\">" + authorName + "</a></p>\n"); +        \
text += "<p>" + i18nc("Show the author of this item in a list", "By <i>%1</i>", " <a \
href=\"" + authorPage + "\">" + authorName + "</a>") + "</p>\n";  } else if \
(!email.isEmpty()) {  text += "<p>" + i18nc("Show the author of this item in a list", \
"By <i>%1</i>", authorName) + " <a href=\"mailto:" + email + "\">" + email + \
"</a></p>\n";  } else {


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

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