1512 version = ( |
1512 version = ( |
1513 self.tr("unknown") |
1513 self.tr("unknown") |
1514 if impInfo["version"] == "unknown" |
1514 if impInfo["version"] == "unknown" |
1515 else impInfo["version"] |
1515 else impInfo["version"] |
1516 ) |
1516 ) |
|
1517 variant = ( |
|
1518 self.tr(" ({0})").format(impInfo["variant"]) |
|
1519 if impInfo["variant"] |
|
1520 else "" |
|
1521 ) |
1517 |
1522 |
1518 EricMessageBox.information( |
1523 EricMessageBox.information( |
1519 self, |
1524 self, |
1520 self.tr("Device Implementation Information"), |
1525 self.tr("Device Implementation Information"), |
1521 self.tr( |
1526 self.tr( |
1522 "<h3>Device Implementation Information</h3>" |
1527 "<h3>Device Implementation Information</h3>" |
1523 "<p>This device contains <b>{0} {1}</b>.</p>" |
1528 "<p>This device contains <b>{0} {1}{2}</b>.</p>" |
1524 ).format(name, version), |
1529 ).format(name, version, variant), |
1525 ) |
1530 ) |
1526 except Exception as exc: |
1531 except Exception as exc: |
1527 self.__showError("getImplementation()", str(exc)) |
1532 self.__showError("getImplementation()", str(exc)) |
1528 |
1533 |
1529 @pyqtSlot() |
1534 @pyqtSlot() |