585 EricMessageBox.warning( |
585 EricMessageBox.warning( |
586 self, |
586 self, |
587 QCoreApplication.translate("Browser", "Show Mime-Type"), |
587 QCoreApplication.translate("Browser", "Show Mime-Type"), |
588 QCoreApplication.translate( |
588 QCoreApplication.translate( |
589 "Browser", |
589 "Browser", |
590 """The mime type of the file could not be""" """ determined.""", |
590 """The mime type of the file could not be determined.""", |
591 ), |
591 ), |
592 ) |
592 ) |
593 elif mimetype.split("/")[0] == "text": |
593 elif mimetype.split("/")[0] == "text": |
594 EricMessageBox.information( |
594 EricMessageBox.information( |
595 self, |
595 self, |