Changeset 50472 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Feb 14, 2014 6:58:53 PM (11 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostImpl.cpp
r50355 r50472 1491 1491 rc = medium.queryInterfaceTo(aDrive.asOutParam()); 1492 1492 else 1493 rc = setError(rc, Medium::tr("The host DVD drive named '% ls' could not be found"), Bstr(aName).raw());1493 rc = setError(rc, Medium::tr("The host DVD drive named '%s' could not be found"), aName.c_str()); 1494 1494 return rc; 1495 1495 } … … 1505 1505 return medium.queryInterfaceTo(aDrive.asOutParam()); 1506 1506 else 1507 return setError(rc, Medium::tr("The host floppy drive named '% ls' could not be found"), Bstr(aName).raw());1507 return setError(rc, Medium::tr("The host floppy drive named '%s' could not be found"), aName.c_str()); 1508 1508 } 1509 1509 … … 1639 1639 1640 1640 return setErrorNoLog(VBOX_E_OBJECT_NOT_FOUND, 1641 tr("Could not find a USB device with address '% ls'"),1642 Bstr(aName).raw());1641 tr("Could not find a USB device with address '%s'"), 1642 aName.c_str()); 1643 1643 1644 1644 #else /* !VBOX_WITH_USB */ -
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r50355 r50472 2169 2169 if (!aName.startsWith("Special/")) 2170 2170 return setError(VBOX_E_OBJECT_NOT_FOUND, 2171 tr("Property '% ls' does not exist"), Bstr(aName).raw());2171 tr("Property '%s' does not exist"), aName.c_str()); 2172 2172 else 2173 2173 /* be more silent here */ -
trunk/src/VBox/Main/src-server/USBDeviceFilterImpl.cpp
r49961 r50472 609 609 if (!flt.isValid()) 610 610 return setError(E_INVALIDARG, 611 tr("Remote state filter string '% ls' is not valid (error at position %d)"),612 bRemote.raw(), flt.errorPosition() + 1);611 tr("Remote state filter string '%s' is not valid (error at position %d)"), 612 aRemote.c_str(), flt.errorPosition() + 1); 613 613 614 614 m_fModified = true;
Note:
See TracChangeset
for help on using the changeset viewer.