VirtualBox

Changeset 29971 in vbox for trunk/src


Ignore:
Timestamp:
Jun 2, 2010 8:51:13 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62260
Message:

Main: cosmetical change in error messages

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r29965 r29971  
    16831683            return setError(VBOX_E_INVALID_VM_STATE, tr("Cannot power down a saved virtual machine"));
    16841684        case MachineState_Stopping:
    1685             return setError(VBOX_E_INVALID_VM_STATE, tr("Virtual machine is being powered down"));
     1685            return setError(VBOX_E_INVALID_VM_STATE, tr("The virtual machine is being powered down"));
    16861686        default:
    16871687            return setError(VBOX_E_INVALID_VM_STATE,
     
    49024902        /* powerDown() is waiting for all callers to finish */
    49034903        return aQuiet ? E_ACCESSDENIED : setError(E_ACCESSDENIED,
    4904             tr("Virtual machine is being powered down"));
     4904            tr("The virtual machine is being powered down"));
    49054905    }
    49064906
     
    49114911        /* The machine is not powered up */
    49124912        return aQuiet ? E_ACCESSDENIED : setError(E_ACCESSDENIED,
    4913             tr("Virtual machine is not powered up"));
     4913            tr("The virtual machine is not powered up"));
    49144914    }
    49154915
     
    51155115    if (Global::IsOnlineOrTransient(mMachineState))
    51165116        return setError(VBOX_E_INVALID_VM_STATE,
    5117             tr("Virtual machine is already running or busy (machine state: %s)"),
     5117            tr("The virtual machine is already running or busy (machine state: %s)"),
    51185118            Global::stringifyMachineState(mMachineState));
    51195119
  • trunk/src/VBox/Main/MachineImpl.cpp

    r29937 r29971  
    58445844     * error and finalize session spawning */
    58455845    rc = setError(E_FAIL,
    5846                   tr("Virtual machine '%ls' has terminated unexpectedly during startup"),
     5846                  tr("The virtual machine '%ls' has terminated unexpectedly during startup"),
    58475847                  getName().raw());
    58485848#else
     
    58605860        if (RT_SUCCESS(vrc) && status.enmReason == RTPROCEXITREASON_NORMAL)
    58615861            rc = setError(E_FAIL,
    5862                           tr("Virtual machine '%ls' has terminated unexpectedly during startup with exit code %d"),
     5862                          tr("The virtual machine '%ls' has terminated unexpectedly during startup with exit code %d"),
    58635863                          getName().raw(), status.iStatus);
    58645864        else if (RT_SUCCESS(vrc) && status.enmReason == RTPROCEXITREASON_SIGNAL)
    58655865            rc = setError(E_FAIL,
    5866                           tr("Virtual machine '%ls' has terminated unexpectedly during startup because of signal %d"),
     5866                          tr("The virtual machine '%ls' has terminated unexpectedly during startup because of signal %d"),
    58675867                          getName().raw(), status.iStatus);
    58685868        else if (RT_SUCCESS(vrc) && status.enmReason == RTPROCEXITREASON_ABEND)
    58695869            rc = setError(E_FAIL,
    5870                           tr("Virtual machine '%ls' has terminated abnormally"),
     5870                          tr("The virtual machine '%ls' has terminated abnormally"),
    58715871                          getName().raw(), status.iStatus);
    58725872        else
    58735873            rc = setError(E_FAIL,
    5874                           tr("Virtual machine '%ls' has terminated unexpectedly during startup (%Rrc)"),
     5874                          tr("The virtual machine '%ls' has terminated unexpectedly during startup (%Rrc)"),
    58755875                          getName().raw(), rc);
    58765876    }
Note: See TracChangeset for help on using the changeset viewer.

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