Changeset View
Changeset View
Standalone View
Standalone View
src/solid/devices/backends/udisks2/udisksdevice.cpp
Show First 20 Lines • Show All 567 Lines • ▼ Show 20 Line(s) | 563 | if (!size_str.isEmpty()) { | |||
---|---|---|---|---|---|
568 | } | 568 | } | ||
569 | } else { | 569 | } else { | ||
570 | if (drive_is_hotpluggable) { | 570 | if (drive_is_hotpluggable) { | ||
571 | description = tr("External Hard Drive"); | 571 | description = tr("External Hard Drive"); | ||
572 | } else { | 572 | } else { | ||
573 | description = tr("Hard Drive"); | 573 | description = tr("Hard Drive"); | ||
574 | } | 574 | } | ||
575 | } | 575 | } | ||
576 | } else if (drive_type == Solid::StorageDrive::Floppy) { | ||||
577 | description = tr("Floppy Disk"); | ||||
576 | } else { | 578 | } else { | ||
577 | if (drive_is_removable) { | 579 | if (drive_is_removable) { | ||
578 | description = tr("%1 Removable Media", "%1 is the size").arg(size_str); | 580 | description = tr("%1 Removable Media", "%1 is the size").arg(size_str); | ||
579 | } else { | 581 | } else { | ||
580 | description = tr("%1 Media", "%1 is the size").arg(size_str); | 582 | description = tr("%1 Media", "%1 is the size").arg(size_str); | ||
581 | } | 583 | } | ||
582 | } | 584 | } | ||
583 | 585 | | |||
▲ Show 20 Lines • Show All 266 Lines • Show Last 20 Lines |