← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 689: Added some extra detail to the missing codecs message in the Export window.

 

------------------------------------------------------------
revno: 689
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Wed 2012-09-05 21:39:50 +0100
message:
  Added some extra detail to the missing codecs message in the Export window.
modified:
  openshot/windows/ExportVideo.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/windows/ExportVideo.py'
--- openshot/windows/ExportVideo.py	2012-05-22 20:21:53 +0000
+++ openshot/windows/ExportVideo.py	2012-09-05 20:39:50 +0000
@@ -474,12 +474,12 @@
 			if self.invalid_codecs:
 
 				if self.use_infobar:
-					self.label.set_markup(_("The following codec(s) are missing from your system:\n\n{missing_codecs}\n<a href='https://answers.launchpad.net/openshot/+faq/1040'>Learn More</a>".format(missing_codecs = "\n".join(self.invalid_codecs))))
+					self.label.set_markup(_("The following codec(s) are missing from your system:\n\n{missing_codecs}\n\nYou may need to install packages such as libavformat-extra to enable the missing codecs.\n<a href='https://answers.launchpad.net/openshot/+faq/1040'>Learn More</a>".format(missing_codecs = "\n".join(self.invalid_codecs))))
 					self.infobar.show_all()
 				else:
 					# no infobar available (use messagebox)
 					if self.last_error != self.invalid_codecs:
-						messagebox.show(_("Error!"), _("The following codec(s) are missing from your system:\n\n{missing_codecs}\n".format(missing_codecs = "\n".join(self.invalid_codecs))))
+						messagebox.show(_("Error!"), _("The following codec(s) are missing from your system:\n\n{missing_codecs}\n\nYou may need to install packages such as libavformat-extra to enable the missing codecs.".format(missing_codecs = "\n".join(self.invalid_codecs))))
 					
 				self.last_error = self.invalid_codecs
 				self.btnExportVideo.set_sensitive(False)