VirtualBox

Changeset 80012 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 26, 2019 3:43:23 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132447
Message:

OCI: tr() should only be applied to the format string.

File:
1 edited

Legend:

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

    r79597 r80012  
    22652265    hrc = mVirtualBox->COMGETTER(CloudProviderManager)(cpm.asOutParam());
    22662266    if (FAILED(hrc))
    2267         return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%: Cloud provider manager object wasn't found", __FUNCTION__));
     2267        return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%: Cloud provider manager object wasn't found"), __FUNCTION__);
    22682268
    22692269    Utf8Str strProviderName = pTask->locInfo.strProvider;
     
    22732273
    22742274    if (FAILED(hrc))
    2275         return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%s: Cloud provider object wasn't found", __FUNCTION__));
     2275        return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%s: Cloud provider object wasn't found"), __FUNCTION__);
    22762276
    22772277    ComPtr<IVirtualSystemDescription> vsd = m->virtualSystemDescriptions.front();
     
    22942294    Utf8Str profileName(aVBoxValues[0]);
    22952295    if (profileName.isEmpty())
    2296         return setErrorVrc(VBOX_E_OBJECT_NOT_FOUND, tr("%s: Cloud user profile name wasn't found", __FUNCTION__));
     2296        return setErrorVrc(VBOX_E_OBJECT_NOT_FOUND, tr("%s: Cloud user profile name wasn't found"), __FUNCTION__);
    22972297
    22982298    hrc = cloudProvider->GetProfileByName(aVBoxValues[0], cloudProfile.asOutParam());
    22992299    if (FAILED(hrc))
    2300         return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%s: Cloud profile object wasn't found", __FUNCTION__));
     2300        return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%s: Cloud profile object wasn't found"), __FUNCTION__);
    23012301
    23022302    ComObjPtr<ICloudClient> cloudClient;
    23032303    hrc = cloudProfile->CreateCloudClient(cloudClient.asOutParam());
    23042304    if (FAILED(hrc))
    2305         return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%s: Cloud client object wasn't found", __FUNCTION__));
     2305        return setErrorVrc(VERR_COM_OBJECT_NOT_FOUND, tr("%s: Cloud client object wasn't found"), __FUNCTION__);
    23062306
    23072307    if (m->virtualSystemDescriptions.size() == 1)
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