[PATCH] Made indexing string better for translation.

Jaak Ristioja ristioja at gmail.com
Fri Apr 17 10:26:29 MST 2009


---
 src/frontend/cmoduleindexdialog.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontend/cmoduleindexdialog.cpp b/src/frontend/cmoduleindexdialog.cpp
index fea84c2..4d7e090 100644
--- a/src/frontend/cmoduleindexdialog.cpp
+++ b/src/frontend/cmoduleindexdialog.cpp
@@ -54,7 +54,7 @@ void CModuleIndexDialog::indexAllModules( const QList<CSwordModuleInfo*>& module
 			connect(info, SIGNAL(indexingFinished()), this, SLOT(slotFinished()));
 			connect(info, SIGNAL(indexingProgress(int)), this, SLOT(slotModuleProgress(int)) );
 			QString modname(info->name());
-			const QString labelText = tr("Creating index for work: ").append(modname);
+			const QString labelText = tr("Creating index for work: %1").arg(modname);
 			m_progress->setLabelText(labelText);
 			//todo: if we want to cancel indexing from
 			info->buildIndex(); //waits until this module is finished
-- 
1.6.0.6


--------------020907090403070604080604
Content-Type: text/plain;
 name="0009-Fixed-Created-by-string-for-translation.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="0009-Fixed-Created-by-string-for-translation.patch"



More information about the bt-devel mailing list