DriveSetup: Show a quick warning when formatting raw disk
* Another translation candidate :)
This commit is contained in:
parent
8fe3bba727
commit
33d23e8fed
@ -828,7 +828,13 @@ MainWindow::_Initialize(BDiskDevice* disk, partition_id selectedPartition,
|
||||
}
|
||||
|
||||
if (diskSystem.IsFileSystem()) {
|
||||
if (partition->ContentName() && strlen(partition->ContentName()) > 0) {
|
||||
if (disk->ID() == selectedPartition) {
|
||||
snprintf(message, sizeof(message), B_TRANSLATE("Are you sure you "
|
||||
"want to format a raw disk? (most people initialize the disk "
|
||||
"with a partitioning system first) You will be asked "
|
||||
"again before changes are written to the disk."));
|
||||
} else if (partition->ContentName()
|
||||
&& strlen(partition->ContentName()) > 0) {
|
||||
snprintf(message, sizeof(message), B_TRANSLATE("Are you sure you "
|
||||
"want to format the partition \"%s\"? You will be asked "
|
||||
"again before changes are written to the disk."),
|
||||
|
Loading…
x
Reference in New Issue
Block a user