Changeset 95950 in vbox
- Timestamp:
- Jul 29, 2022 3:52:10 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152706
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerDialog.cpp
r93115 r95950 98 98 /* Translate window title: */ 99 99 if (!m_strMachineName.isEmpty()) 100 setWindowTitle( tr("%1 - Log Viewer").arg(m_strMachineName));100 setWindowTitle(UIVMLogViewerWidget::tr("%1 - Log Viewer").arg(m_strMachineName)); 101 101 else 102 102 setWindowTitle(UIVMLogViewerWidget::tr("Log Viewer")); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIMachinePreview.cpp
r94014 r95950 70 70 if (!m_comMachine.isNull()) 71 71 m_strPreviewName = m_comMachine.GetAccessible() ? m_comMachine.GetName() : 72 QApplication::translate("UIVMListView","Inaccessible");72 tr("Inaccessible"); 73 73 74 74 /* Resume: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIShortcutConfigurationEditor.cpp
r94005 r95950 484 484 switch (iSection) 485 485 { 486 case TableColumnIndex_Description: return tr("Name");487 case TableColumnIndex_Sequence: return tr("Shortcut");486 case TableColumnIndex_Description: return UIShortcutConfigurationEditor::tr("Name"); 487 case TableColumnIndex_Sequence: return UIShortcutConfigurationEditor::tr("Shortcut"); 488 488 default: break; 489 489 } … … 517 517 const QString strScope = m_filteredShortcuts[iIndex].scope(); 518 518 const QString strDescription = m_filteredShortcuts[iIndex].description(); 519 return strScope.isNull() ? strDescription : tr("%1: %2", "scope: description").arg(strScope, strDescription);519 return strScope.isNull() ? strDescription : QString("%1: %2").arg(strScope, strDescription); 520 520 } 521 521 case TableColumnIndex_Sequence: -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBFiltersEditor.cpp
r95277 r95950 112 112 { 113 113 return checkState(0) == Qt::Checked 114 ? tr("%1, Active", "col.1 text, col.1 state").arg(text(0))115 : t r("%1", "col.1 text") .arg(text(0));114 ? UIUSBFiltersEditor::tr("%1, Active", "col.1 text, col.1 state").arg(text(0)) 115 : text(0); 116 116 } 117 117 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.cpp
r94053 r95950 346 346 { 347 347 if (m_pTitleButton) 348 m_pTitleButton->setToolTip( tr("Expands the page \"%1\"").arg(m_strTitle.remove('&')));348 m_pTitleButton->setToolTip(UIToolBox::tr("Expands the page \"%1\"").arg(m_strTitle.remove('&'))); 349 349 } 350 350
Note:
See TracChangeset
for help on using the changeset viewer.