VirtualBox

Changeset 55180 in vbox


Ignore:
Timestamp:
Apr 10, 2015 10:29:54 AM (9 years ago)
Author:
vboxsync
Message:

s/drag'n'drop/drag and drop/

Location:
trunk/src/VBox
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp

    r55091 r55180  
    11/* $Id$ */
    22/** @file
    3  * VBoxDnD.cpp - Windows-specific bits of the drag'n drop service.
     3 * VBoxDnD.cpp - Windows-specific bits of the drag and drop service.
    44 */
    55
     
    413413                    hide();
    414414
    415                     LogFlowThisFunc(("Starting drag'n drop: uAllActions=0x%x, dwOKEffects=0x%x ...\n",
     415                    LogFlowThisFunc(("Starting drag and drop: uAllActions=0x%x, dwOKEffects=0x%x ...\n",
    416416                                     uAllActions, startupInfo.dwOKEffects));
    417417
     
    433433
    434434                        default:
    435                             LogFlowThisFunc(("Drag'n drop failed with %Rhrc\n", hr));
     435                            LogFlowThisFunc(("Drag and drop failed with %Rhrc\n", hr));
    436436                            mState = Canceled;
    437437                            rc = VERR_GENERAL_FAILURE; /** @todo Find a better status code. */
     
    778778     */
    779779    if (!this->lstFormats.size())
    780         LogRel(("DnD: Warning: No supported drag'n drop formats on the guest found!\n"));
     780        LogRel(("DnD: Warning: No supported drag and drop formats on the guest found!\n"));
    781781
    782782    /*
     
    874874
    875875    LogFlowThisFunc(("mMode=%ld, mState=%RU32\n", mMode, mState));
    876     LogRel(("DnD: Drag'n drop operation aborted\n"));
     876    LogRel(("DnD: Drag and drop operation aborted\n"));
    877877
    878878    reset();
     
    881881
    882882    /* Post ESC to our window to officially abort the
    883      * drag'n drop operation. */
     883     * drag and drop operation. */
    884884    PostMessage(hWnd, WM_KEYDOWN, VK_ESCAPE, 0 /* lParam */);
    885885
     
    11301130
    11311131            /** @todo Add some i18l tr() macros here. */
    1132             RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions Drag'n Drop");
    1133             RTStrPrintf(szMsg, sizeof(szMsg), "Drag'n drop to the host either is not supported or disabled. "
    1134                                               "Please enable Guest to Host or Bidirectional drag'n drop mode "
     1132            RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions Drag and Drop");
     1133            RTStrPrintf(szMsg, sizeof(szMsg), "Drag and drop to the host either is not supported or disabled. "
     1134                                              "Please enable Guest to Host or Bidirectional drag and drop mode "
    11351135                                              "or re-install the VirtualBox Guest Additions.");
    11361136            switch (rc)
     
    14981498
    14991499/**
    1500  * Initializes drag'n drop.
     1500 * Initializes drag and drop.
    15011501 *
    15021502 * @return  IPRT status code.
     
    15291529    if (!fSupportedOS)
    15301530    {
    1531         LogRel(("DnD: Not supported Windows version, disabling drag'n drop support\n"));
     1531        LogRel(("DnD: Not supported Windows version, disabling drag and drop support\n"));
    15321532        rc = VERR_NOT_SUPPORTED;
    15331533    }
     
    15651565        *pfStartThread = true;
    15661566
    1567         LogRel(("DnD: Drag'n drop service successfully started\n"));
     1567        LogRel(("DnD: Drag and drop service successfully started\n"));
    15681568        return VINF_SUCCESS;
    15691569    }
    15701570
    1571     LogRel(("DnD: Initializing drag'n drop service failed with rc=%Rrc\n", rc));
     1571    LogRel(("DnD: Initializing drag and drop service failed with rc=%Rrc\n", rc));
    15721572    return rc;
    15731573}
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp

    r51469 r55180  
    180180            case ERROR_INVALID_FUNCTION:
    181181            {
    182                 LogRel(("DnD: Drag'n drop format is not supported by VBoxTray\n"));
     182                LogRel(("DnD: Drag and drop format is not supported by VBoxTray\n"));
    183183
    184184                /* Enumerate supported source formats. This shouldn't happen too often
  • trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp

    r54859 r55180  
    22552255    int rc = VbglR3DnDConnect(&uClientID);
    22562256    if (RT_FAILURE(rc))
    2257         LogRel(("DnD: Unable to connect to drag'n drop service, rc=%Rrc\n", rc));
     2257        LogRel(("DnD: Unable to connect to drag and drop service, rc=%Rrc\n", rc));
    22582258    /* Not RT_FAILURE: VINF_PERMISSION_DENIED is host service not present. */
    22592259    if (rc != VINF_SUCCESS)
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp

    r54591 r55180  
    197197            if (a->argc <= 1 + 1)
    198198            {
    199                 errorArgument("Missing argument to '%s'. Expected drag'n'drop mode.", a->argv[1]);
     199                errorArgument("Missing argument to '%s'. Expected drag and drop mode.", a->argv[1]);
    200200                rc = E_FAIL;
    201201                break;
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r54911 r55180  
    16181618    }
    16191619
    1620     /* Drag'n'drop */
     1620    /* Drag and drop */
    16211621    {
    16221622        const char *psz = "Unknown";
     
    16571657            RTPrintf("draganddrop=\"%s\"\n", psz);
    16581658        else
    1659             RTPrintf("Drag'n'drop Mode: %s\n", psz);
     1659            RTPrintf("Drag and drop Mode: %s\n", psz);
    16601660    }
    16611661
  • trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp

    r54505 r55180  
    671671        strResult += formatValue(tr("VM Uptime"), strUptime, iMaxLength);
    672672        strResult += formatValue(tr("Clipboard Mode"), strClipboardMode, iMaxLength);
    673         strResult += formatValue(tr("Drag'n'Drop Mode"), strDnDMode, iMaxLength);
     673        strResult += formatValue(tr("Drag and Drop Mode"), strDnDMode, iMaxLength);
    674674        strResult += formatValue(VBoxGlobal::tr("VT-x/AMD-V", "details report"), strVirtualization, iMaxLength);
    675675        strResult += formatValue(VBoxGlobal::tr("Nested Paging", "details report"), strNestedPaging, iMaxLength);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp

    r55170 r55180  
    15071507    void retranslateUi()
    15081508    {
    1509         setName(QApplication::translate("UIActionPool", "Drag'n'Drop"));
     1509        setName(QApplication::translate("UIActionPool", "Drag and Drop"));
    15101510    }
    15111511};
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp

    r52730 r55180  
    223223                if (static_cast<QKeyEvent*>(pEvent)->key() == Qt::Key_Escape)
    224224                {
    225                     LogFlowFunc(("ESC pressed, cancelling drag'n drop operation\n"));
     225                    LogFlowFunc(("ESC pressed, cancelling drag and drop operation\n"));
    226226                    m_enmState = Canceled;
    227227                }
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r54994 r55180  
    54805480    HRESULT rc = S_OK;
    54815481
    5482     /* don't trigger the drag'n'drop mode change if the VM isn't running */
     5482    /* don't trigger the drag and drop mode change if the VM isn't running */
    54835483    SafeVMPtrQuiet ptrVM(this);
    54845484    if (ptrVM.isOk())
     
    87488748
    87498749/**
    8750  * Changes the drag'n_drop mode.
    8751  *
    8752  * @param aDnDMode  new drag'n'drop mode.
     8750 * Changes the drag and drop mode.
     8751 *
     8752 * @param aDnDMode  new drag and drop mode.
    87538753 */
    87548754int Console::i_changeDnDMode(DnDMode_T aDnDMode)
     
    87658765        default:
    87668766        case DnDMode_Disabled:
    8767             LogRel(("Changed drag'n drop mode to: Off\n"));
     8767            LogRel(("Changed drag and drop mode to: Off\n"));
    87688768            parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_OFF;
    87698769            break;
    87708770        case DnDMode_GuestToHost:
    8771             LogRel(("Changed drag'n drop mode to: Guest to Host\n"));
     8771            LogRel(("Changed drag and drop mode to: Guest to Host\n"));
    87728772            parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_GUEST_TO_HOST;
    87738773            break;
    87748774        case DnDMode_HostToGuest:
    8775             LogRel(("Changed drag'n drop mode to: Host to Guest\n"));
     8775            LogRel(("Changed drag and drop mode to: Host to Guest\n"));
    87768776            parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_HOST_TO_GUEST;
    87778777            break;
    87788778        case DnDMode_Bidirectional:
    8779             LogRel(("Changed drag'n drop mode to: Bidirectional\n"));
     8779            LogRel(("Changed drag and drop mode to: Bidirectional\n"));
    87808780            parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_BIDIRECTIONAL;
    87818781            break;
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r55122 r55180  
    28492849#ifdef VBOX_WITH_DRAG_AND_DROP
    28502850        /*
    2851          * Drag'n Drop.
     2851         * Drag and Drop.
    28522852         */
    28532853        {
     
    28592859            if (RT_FAILURE(rc))
    28602860            {
    2861                 LogRel(("Drag'n drop service is not available, rc=%Rrc\n", rc));
     2861                LogRel(("Drag and drop service is not available, rc=%Rrc\n", rc));
    28622862                /* That is not a fatal failure. */
    28632863                rc = VINF_SUCCESS;
     
    28732873                else
    28742874                {
    2875                     LogRel(("Drag'n drop service loaded\n"));
     2875                    LogRel(("Drag and drop service loaded\n"));
    28762876                    rc = i_changeDnDMode(enmMode);
    28772877                }
  • trunk/src/VBox/Main/src-client/GuestDnDPrivate.cpp

    r52978 r55180  
    225225            strError += Utf8StrFmt(pGuest->tr("One or more guest files or directories selected for transferring to the host were not"
    226226                                              "found on the guest anymore. This can be the case if the guest files were moved and/or"
    227                                               "altered while the drag'n drop operation was in progress."));
     227                                              "altered while the drag and drop operation was in progress."));
    228228            break;
    229229
     
    235235
    236236        default:
    237             strError += Utf8StrFmt("Drag'n drop guest error (%Rrc)", guestRc);
     237            strError += Utf8StrFmt("Drag and drop guest error (%Rrc)", guestRc);
    238238            break;
    239239    }
  • trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp

    r51799 r55180  
    11/* $Id$ */
    22/** @file
    3  * VBox Console COM Class implementation - Guest drag'n drop source.
     3 * VBox Console COM Class implementation - Guest drag and drop source.
    44 */
    55
     
    261261            if (RT_FAILURE(rc))
    262262                return setError(VBOX_E_IPRT_ERROR,
    263                                 tr("Unable to create the temporary drag'n drop directory \"%s\" (%Rrc)\n"),
     263                                tr("Unable to create the temporary drag and drop directory \"%s\" (%Rrc)\n"),
    264264                                szDropDir, rc);
    265265
  • trunk/src/VBox/Main/src-client/GuestImpl.cpp

    r53528 r55180  
    131131        }
    132132
    133         LogFlowFunc(("Drag'n drop initializied with hr=%Rhrc\n", hr));
     133        LogFlowFunc(("Drag and drop initializied with hr=%Rhrc\n", hr));
    134134    }
    135135    catch (std::bad_alloc &)
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