[PATCH] Fixed "Search in" string in CBookShelfIndex.

Jaak Ristioja ristioja at gmail.com
Fri Apr 17 09:34:04 MST 2009


---
 .../mainindex/bookshelf/cbookshelfindex.cpp        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontend/mainindex/bookshelf/cbookshelfindex.cpp b/src/frontend/mainindex/bookshelf/cbookshelfindex.cpp
index c3495c9..f563db3 100644
--- a/src/frontend/mainindex/bookshelf/cbookshelfindex.cpp
+++ b/src/frontend/mainindex/bookshelf/cbookshelfindex.cpp
@@ -515,7 +515,7 @@ void CBookshelfIndex::contextMenu(const QPoint& p) {
 					BTIndexModule* modItem = dynamic_cast<BTIndexModule*>(btItem);
 					if (modItem) {
 						CSwordModuleInfo* info = modItem->moduleInfo();
-						action->setText(QString(tr("Search in")).append(QString(" ").append(info->name()).append("...")));
+						action->setText(tr("Search in %1...").arg(info->name()));
 					}
 				}
 				else {
-- 
1.6.0.6


--------------020907090403070604080604
Content-Type: text/plain;
 name="0007-Remove-useless-QString-around-tr.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="0007-Remove-useless-QString-around-tr.patch"



More information about the bt-devel mailing list