VirtualBox

Changeset 55284 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 15, 2015 1:41:03 PM (10 years ago)
Author:
vboxsync
Message:

Main/Medium: Clarify progress description when decrypting a medium

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r55182 r55284  
    31773177        }
    31783178
     3179        const char *pszAction = "Encrypting";
     3180        if (   aCurrentPassword.isNotEmpty()
     3181            && aCipher.isEmpty())
     3182            pszAction = "Decrypting";
     3183
    31793184        pProgress.createObject();
    31803185        rc = pProgress->init(m->pVirtualBox,
    31813186                             static_cast <IMedium *>(this),
    3182                              BstrFmt(tr("Encrypting medium '%s'"), m->strLocationFull.c_str()).raw(),
     3187                             BstrFmt(tr("%s medium '%s'"), pszAction, m->strLocationFull.c_str()).raw(),
    31833188                             TRUE /* aCancelable */);
    31843189        if (FAILED(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette