diff --git a/openlp/plugins/media/lib/mediaitem.py b/openlp/plugins/media/lib/mediaitem.py index c2bfe468f..536c7294a 100644 --- a/openlp/plugins/media/lib/mediaitem.py +++ b/openlp/plugins/media/lib/mediaitem.py @@ -46,7 +46,6 @@ class MediaMediaItem(MediaManagerItem): self.PluginNameShort = u'Media' self.IconPath = u'images/image' self.ConfigSection = title - self.OnNewPrompt = self.trUtf8(u'Select Media') self.OnNewFileMasks = \ u'Videos (*.avi *.mpeg *.mpg *.mp4);;Audio (*.ogg *.mp3 *.wma);;All files (*)' # this next is a class, not an instance of a class - it will @@ -58,6 +57,9 @@ class MediaMediaItem(MediaManagerItem): def initPluginNameVisible(self): self.PluginNameVisible = self.trUtf8(u'Media') + def reTranslateUi(self): + self.OnNewPrompt = self.trUtf8(u'Select Media') + def requiredIcons(self): MediaManagerItem.requiredIcons(self) self.hasFileIcon = True diff --git a/openlp/plugins/presentations/lib/mediaitem.py b/openlp/plugins/presentations/lib/mediaitem.py index 2fb064257..be9b1089b 100644 --- a/openlp/plugins/presentations/lib/mediaitem.py +++ b/openlp/plugins/presentations/lib/mediaitem.py @@ -51,7 +51,6 @@ class PresentationMediaItem(MediaManagerItem): self.PluginNameShort = u'Presentation' self.ConfigSection = title self.IconPath = u'presentations/presentation' - self.OnNewPrompt = self.trUtf8(u'Select Presentation(s)') self.OnNewFileMasks = u'Presentations (*.ppt *.pps *.odp)' # this next is a class, not an instance of a class - it will # be instanced by the base MediaManagerItem @@ -62,6 +61,9 @@ class PresentationMediaItem(MediaManagerItem): def initPluginNameVisible(self): self.PluginNameVisible = self.trUtf8(u'Presentation') + def reTranslateUi(self): + self.OnNewPrompt = self.trUtf8(u'Select Presentation(s)') + def requiredIcons(self): MediaManagerItem.requiredIcons(self) self.hasFileIcon = True