Changeset 56166 in vbox
- Timestamp:
- May 30, 2015 11:58:40 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100698
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp
r56163 r56166 483 483 void VBoxSnapshotsWgt::retranslateUi() 484 484 { 485 /* Translate uic generated strings */486 Ui::VBoxSnapshotsWgt::retranslateUi 487 488 mRestoreSnapshotAction->setText (tr("&Restore Snapshot"));489 mDeleteSnapshotAction->setText (tr("&Delete Snapshot"));490 mShowSnapshotDetailsAction->setText (tr("S&how Details"));491 mTakeSnapshotAction->setText (tr("Take &Snapshot"));485 /* Translate uic generated strings: */ 486 Ui::VBoxSnapshotsWgt::retranslateUi(this); 487 488 mRestoreSnapshotAction->setText(tr("&Restore Snapshot")); 489 mDeleteSnapshotAction->setText(tr("&Delete Snapshot")); 490 mShowSnapshotDetailsAction->setText(tr("S&how Details")); 491 mTakeSnapshotAction->setText(tr("Take &Snapshot")); 492 492 mCloneSnapshotAction->setText(tr("&Clone...")); 493 493 494 mRestoreSnapshotAction->setStatusTip (tr("Restore selected snapshot of the virtual machine"));495 mDeleteSnapshotAction->setStatusTip (tr("Delete selected snapshot of the virtual machine"));496 mShowSnapshotDetailsAction->setStatusTip (tr("Show the details of selected snapshot"));497 mTakeSnapshotAction->setStatusTip (tr("Take a snapshot of the current virtual machine state"));494 mRestoreSnapshotAction->setStatusTip(tr("Restore selected snapshot of the virtual machine")); 495 mDeleteSnapshotAction->setStatusTip(tr("Delete selected snapshot of the virtual machine")); 496 mShowSnapshotDetailsAction->setStatusTip(tr("Show the details of selected snapshot")); 497 mTakeSnapshotAction->setStatusTip(tr("Take a snapshot of the current virtual machine state")); 498 498 mCloneSnapshotAction->setStatusTip(tr("Clone selected virtual machine")); 499 499 500 mRestoreSnapshotAction->setToolTip (mRestoreSnapshotAction->text().remove ('&').remove ('.') +501 QString (" (%1)").arg(mRestoreSnapshotAction->shortcut().toString()));502 mDeleteSnapshotAction->setToolTip (mDeleteSnapshotAction->text().remove ('&').remove ('.') +503 QString (" (%1)").arg(mDeleteSnapshotAction->shortcut().toString()));504 mShowSnapshotDetailsAction->setToolTip (mShowSnapshotDetailsAction->text().remove ('&').remove ('.') +505 QString (" (%1)").arg(mShowSnapshotDetailsAction->shortcut().toString()));506 mTakeSnapshotAction->setToolTip (mTakeSnapshotAction->text().remove ('&').remove ('.') +507 QString (" (%1)").arg(mTakeSnapshotAction->shortcut().toString()));508 mCloneSnapshotAction->setToolTip(mCloneSnapshotAction-> text().remove('&').remove('.') +500 mRestoreSnapshotAction->setToolTip(mRestoreSnapshotAction->statusTip() + 501 QString(" (%1)").arg(mRestoreSnapshotAction->shortcut().toString())); 502 mDeleteSnapshotAction->setToolTip(mDeleteSnapshotAction->statusTip() + 503 QString(" (%1)").arg(mDeleteSnapshotAction->shortcut().toString())); 504 mShowSnapshotDetailsAction->setToolTip(mShowSnapshotDetailsAction->statusTip() + 505 QString(" (%1)").arg(mShowSnapshotDetailsAction->shortcut().toString())); 506 mTakeSnapshotAction->setToolTip(mTakeSnapshotAction->statusTip() + 507 QString(" (%1)").arg(mTakeSnapshotAction->shortcut().toString())); 508 mCloneSnapshotAction->setToolTip(mCloneSnapshotAction->statusTip() + 509 509 QString(" (%1)").arg(mCloneSnapshotAction->shortcut().toString())); 510 510 }
Note:
See TracChangeset
for help on using the changeset viewer.