From 9c6ddbf109734d92053040288e173f6d1a4befb9 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Mon, 21 Sep 2009 19:49:06 +0100 Subject: [PATCH] Improve readability choices... --- openlp/core/lib/mediamanageritem.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/openlp/core/lib/mediamanageritem.py b/openlp/core/lib/mediamanageritem.py index 9773c974f..426cb6371 100644 --- a/openlp/core/lib/mediamanageritem.py +++ b/openlp/core/lib/mediamanageritem.py @@ -192,7 +192,8 @@ class MediaManagerItem(QtGui.QWidget): # Create buttons for the toolbar ## File Button ## if self.hasFileIcon: - self.addToolbarButton(translate( + self.addToolbarButton( + translate( self.TranslationContext, u'Load ' + self.PluginTextShort), translate( self.TranslationContext, @@ -201,10 +202,10 @@ class MediaManagerItem(QtGui.QWidget): self.PluginTextShort + u'FileItem') ## New Button ## if self.hasNewIcon: - self.addToolbarButton(translate( - self.TranslationContext, u'New ' + self.PluginTextShort), + self.addToolbarButton( translate( - self.TranslationContext, + self.TranslationContext, u'New ' + self.PluginTextShort), + translate(self.TranslationContext, u'Add a new ' + self.PluginTextShort), u':' + self.IconPath + u'_new.png', self.onNewClick, self.PluginTextShort + u'NewItem')