VirtualBox

Changeset 105262 in vbox for trunk


Ignore:
Timestamp:
Jul 10, 2024 2:59:44 PM (5 months ago)
Author:
vboxsync
Message:

FE/Qt: NLS stuff: Make sure UIDetails namespace tags being reused where possible by the indicators-pool's children.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDetailsGenerator.cpp

    r105259 r105262  
    541541        }
    542542        else
    543         {
    544543            table << UITextTableLine(QApplication::translate("UIDetails", "Recording", "details (display/recording)"),
    545544                                     QApplication::translate("UIDetails", "Disabled", "details (display/recording)"));
    546         }
    547545    }
    548546
     
    14411439    /* Video Memory: */
    14421440    const ULONG uVRAMSize = comGraphics.GetVRAMSize();
    1443     const QString strVRAMSize = QApplication::translate("UICommon", "<nobr>%1 MB</nobr>", "details report").arg(uVRAMSize);
     1441    const QString strVRAMSize = QApplication::translate("UIIndicatorDisplay", "<nobr>%1 MB</nobr>").arg(uVRAMSize);
    14441442    strInfo += e_strTableRow2
    1445         .arg(QApplication::translate("UIIndicatorDisplay", "Video memory"), strVRAMSize);
     1443        .arg(QApplication::translate("UIDetails", "Video Memory", "details (display)"), strVRAMSize);
    14461444
    14471445    /* Monitor Count: */
     
    14511449        const QString strMonitorCount = QString::number(uMonitorCount);
    14521450        strInfo += e_strTableRow2
    1453             .arg(QApplication::translate("UIIndicatorDisplay", "Screens"), strMonitorCount);
     1451            .arg(QApplication::translate("UIDetails", "Screens", "details (display)"), strMonitorCount);
    14541452    }
    14551453
     
    15211519            RT_FALL_THRU();
    15221520        case KVMExecutionEngine_NotSet:
    1523             strExecutionEngine = QApplication::translate("UICommon", "not set", "details report (execution engine)");
     1521            strExecutionEngine = QApplication::translate("UIIndicatorFeatures", "not set", "Execution engine");
    15241522            break;
    15251523    }
     
    15271525    /* Nested Paging feature: */
    15281526    const QString strNestedPaging = fNestedPagingEnabled
    1529                                   ? QApplication::translate("UICommon", "Active", "details report (Nested Paging)")
    1530                                   : QApplication::translate("UICommon", "Inactive", "details report (Nested Paging)");
     1527                                  ? QApplication::translate("UIIndicatorFeatures", "Active", "Nested paging")
     1528                                  : QApplication::translate("UIIndicatorFeatures", "Inactive", "Nested paging");
    15311529
    15321530    /* Unrestricted Execution feature: */
    15331531    const QString strUnrestrictExec = fUxEnabled
    1534                                     ? QApplication::translate("UICommon", "Active", "details report (Unrestricted Execution)")
    1535                                     : QApplication::translate("UICommon", "Inactive", "details report (Unrestricted Execution)");
     1532                                    ? QApplication::translate("UIIndicatorFeatures", "Active", "Unrestricted execution")
     1533                                    : QApplication::translate("UIIndicatorFeatures", "Inactive", "Unrestricted execution");
    15361534
    15371535    /* CPU Execution Cap feature: */
     
    15421540
    15431541    /* Compose tool-tip: */
    1544     strInfo += e_strTableRow2.arg(QApplication::translate("UICommon", "Execution engine", "details report"),            strExecutionEngine);
    1545     strInfo += e_strTableRow2.arg(QApplication::translate("UICommon", "Nested Paging"),                                  strNestedPaging);
    1546     strInfo += e_strTableRow2.arg(QApplication::translate("UICommon", "Unrestricted Execution"),                        strUnrestrictExec);
    1547     strInfo += e_strTableRow2.arg(QApplication::translate("UICommon", "Execution Cap", "details report"),                strCPUExecCap);
    1548     strInfo += e_strTableRow2.arg(QApplication::translate("UICommon", "Paravirtualization Interface", "details report"), strParavirt);
     1542    strInfo += e_strTableRow2.arg(QApplication::translate("UIIndicatorFeatures", "Execution Engine"), strExecutionEngine);
     1543    strInfo += e_strTableRow2.arg(QApplication::translate("UIDetails", "Nested Paging", "details (system)"), strNestedPaging);
     1544    strInfo += e_strTableRow2.arg(QApplication::translate("UIIndicatorFeatures", "Unrestricted Execution"), strUnrestrictExec);
     1545    strInfo += e_strTableRow2.arg(QApplication::translate("UIDetails", "Execution Cap", "details (system)"), strCPUExecCap);
     1546    strInfo += e_strTableRow2.arg(QApplication::translate("UIIndicatorFeatures", "Paravirtualization Interface"), strParavirt);
    15491547
    15501548    /* Add CPU count optional info: */
    15511549    const int cCpuCount = comMachine.GetCPUCount();
    15521550    if (cCpuCount > 1)
    1553         strInfo += e_strTableRow2.arg(QApplication::translate("UICommon", "Processors", "details report"), QString::number(cCpuCount));
     1551        strInfo += e_strTableRow2.arg(QApplication::translate("UIIndicatorFeatures", "Processors", "details report"), QString::number(cCpuCount));
    15541552}
    15551553
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