[PATCH] Made items in the view menu ("Show Bookshelf/Bookmarks/Mag") better in respect of translating BibleTime, since those nouns might need a different case (accusative?).

Jaak Ristioja ristioja at gmail.com
Fri Apr 17 07:02:21 MST 2009


---
 src/bibletime_init.cpp |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/bibletime_init.cpp b/src/bibletime_init.cpp
index 594ca07..a68d714 100644
--- a/src/bibletime_init.cpp
+++ b/src/bibletime_init.cpp
@@ -144,20 +144,17 @@ void BibleTime::initActions()
 		QKeySequence(Qt::Key_F6),
 		"",
 		SLOT(slotToggleToolbar())));
-
-	//: E.g. "Show Bookshelf", "Show Mag" in View menu
-	QString showstr = tr("Show");
 	
 	QAction* action = m_dock0->toggleViewAction();
-	action->setText(showstr + " " + action->text());
+	action->setText(tr("Show Bookshelf"));
 	viewMenu->addAction(action);
 	
 	action = m_dock1->toggleViewAction();
-	action->setText(showstr + " " + action->text());
+	action->setText(tr("Show Bookmarks"));
 	viewMenu->addAction(action);
 	
 	action = m_dock2->toggleViewAction();
-	action->setText(showstr + " " + action->text());
+	action->setText(tr("Show Mag"));
 	viewMenu->addAction(action);
 	
 	m_mainToolBar->addSeparator();
-- 
1.6.0.6


--------------020907090403070604080604
Content-Type: text/plain;
 name="0005-Made-the-strings-of-the-Cl-ose-all-item-in-the-Wi.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0005-Made-the-strings-of-the-Cl-ose-all-item-in-the-Wi.patch"



More information about the bt-devel mailing list