VirtualBox

Changeset 95950 in vbox


Ignore:
Timestamp:
Jul 29, 2022 3:52:10 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152706
Message:

FE/Qt/Ds: Few more widespread NLS context fixes across whole the GUI.

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  
    9898    /* Translate window title: */
    9999    if (!m_strMachineName.isEmpty())
    100         setWindowTitle(tr("%1 - Log Viewer").arg(m_strMachineName));
     100        setWindowTitle(UIVMLogViewerWidget::tr("%1 - Log Viewer").arg(m_strMachineName));
    101101    else
    102102        setWindowTitle(UIVMLogViewerWidget::tr("Log Viewer"));
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIMachinePreview.cpp

    r94014 r95950  
    7070    if (!m_comMachine.isNull())
    7171        m_strPreviewName = m_comMachine.GetAccessible() ? m_comMachine.GetName() :
    72                            QApplication::translate("UIVMListView", "Inaccessible");
     72                           tr("Inaccessible");
    7373
    7474    /* Resume: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIShortcutConfigurationEditor.cpp

    r94005 r95950  
    484484            switch (iSection)
    485485            {
    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");
    488488                default: break;
    489489            }
     
    517517                    const QString strScope = m_filteredShortcuts[iIndex].scope();
    518518                    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);
    520520                }
    521521                case TableColumnIndex_Sequence:
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBFiltersEditor.cpp

    r95277 r95950  
    112112{
    113113    return   checkState(0) == Qt::Checked
    114            ? tr("%1, Active", "col.1 text, col.1 state").arg(text(0))
    115            : tr("%1",         "col.1 text")             .arg(text(0));
     114           ? UIUSBFiltersEditor::tr("%1, Active", "col.1 text, col.1 state").arg(text(0))
     115           : text(0);
    116116}
    117117
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.cpp

    r94053 r95950  
    346346{
    347347    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('&')));
    349349}
    350350
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