VirtualBox

Changeset 56128 in vbox for trunk/src


Ignore:
Timestamp:
May 28, 2015 11:29:08 AM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: VM settings: Shared Folders page: NLS consistency fix.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSF.cpp

    r55930 r56128  
    408408void UIMachineSettingsSF::retranslateUi()
    409409{
    410     /* Translate uic generated strings */
    411     Ui::UIMachineSettingsSF::retranslateUi (this);
    412 
    413     mNewAction->setText (tr ("&Add Shared Folder"));
    414     mEdtAction->setText (tr ("&Edit Shared Folder"));
    415     mDelAction->setText (tr ("&Remove Shared Folder"));
    416 
    417     mNewAction->setToolTip (mNewAction->text().remove ('&') +
    418         QString (" (%1)").arg (mNewAction->shortcut().toString()));
    419     mEdtAction->setToolTip (mEdtAction->text().remove ('&') +
    420         QString (" (%1)").arg (mEdtAction->shortcut().toString()));
    421     mDelAction->setToolTip (mDelAction->text().remove ('&') +
    422         QString (" (%1)").arg (mDelAction->shortcut().toString()));
    423 
    424     mNewAction->setWhatsThis (tr ("Adds a new shared folder definition."));
    425     mEdtAction->setWhatsThis (tr ("Edits the selected shared folder definition."));
    426     mDelAction->setWhatsThis (tr ("Removes the selected shared folder definition."));
    427 
    428     mTrFull = tr ("Full");
    429     mTrReadOnly = tr ("Read-only");
    430     mTrYes = tr ("Yes"); /** @todo Need to figure out if this string is necessary at all! */
     410    /* Translate uic generated strings: */
     411    Ui::UIMachineSettingsSF::retranslateUi(this);
     412
     413    mNewAction->setText(tr("&Add Shared Folder"));
     414    mEdtAction->setText(tr("&Edit Shared Folder"));
     415    mDelAction->setText(tr("&Remove Shared Folder"));
     416
     417    mNewAction->setWhatsThis(tr("Adds new shared folder definition."));
     418    mEdtAction->setWhatsThis(tr("Edits selected shared folder definition."));
     419    mDelAction->setWhatsThis(tr("Removes selected shared folder definition."));
     420
     421    mNewAction->setToolTip(mNewAction->whatsThis());
     422    mEdtAction->setToolTip(mEdtAction->whatsThis());
     423    mDelAction->setToolTip(mDelAction->whatsThis());
     424
     425    mTrFull = tr("Full");
     426    mTrReadOnly = tr("Read-only");
     427    mTrYes = tr("Yes");
    431428}
    432429
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSFDetails.ui

    r49342 r56128  
    7777    <widget class="QCheckBox" name="mCbPermanent" >
    7878     <property name="toolTip" >
    79       <string>If checked, this shared folder will be permanent.</string>
     79      <string>When checked, this shared folder will be permanent.</string>
    8080     </property>
    8181     <property name="text" >
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