Improve readability choices...

This commit is contained in:
Jon Tibble 2009-09-21 19:49:06 +01:00
parent c18594c7ef
commit 9c6ddbf109

View File

@ -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')