VirtualBox

Ignore:
Timestamp:
Jul 9, 2024 3:09:33 PM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163888
Message:

FE/Qt: NLS stuff: Make sure indicator pool tags are properly distributed across existing contexts; Sync generator code as well.

File:
1 edited

Legend:

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

    r105241 r105242  
    13611361            /* Append adapter data: */
    13621362            strInfo += e_strTableRow1
    1363                 .arg(QApplication::translate("UIIndicatorsPool", "Adapter %1 (%2)", "Network tooltip")
     1363                .arg(QApplication::translate("UIIndicatorNetwork", "Adapter %1 (%2)")
    13641364                        .arg(uSlot + 1).arg(gpConverter->toString(comAdapter.GetAttachmentType())));
    13651365            if (!strGuestIp.isEmpty())
    13661366                strInfo += e_strTableRow3
    1367                     .arg(QApplication::translate("UIIndicatorsPool", "IP", "Network tooltip"), strGuestIp);
     1367                    .arg(QApplication::translate("UIIndicatorNetwork", "IP"), strGuestIp);
    13681368            strInfo += e_strTableRow3
    1369                 .arg(QApplication::translate("UIIndicatorsPool", "Cable", "Network tooltip"))
     1369                .arg(QApplication::translate("UIIndicatorNetwork", "Cable"))
    13701370                .arg(fCableConnected ?
    1371                      QApplication::translate("UIIndicatorsPool", "Connected", "cable (Network tooltip)") :
    1372                      QApplication::translate("UIIndicatorsPool", "Disconnected", "cable (Network tooltip)"));
     1371                     QApplication::translate("UIIndicatorNetwork", "Connected", "cable") :
     1372                     QApplication::translate("UIIndicatorNetwork", "Disconnected", "cable"));
    13731373        }
    13741374    }
     
    13931393        if (strInfo.isNull())
    13941394            strInfo = e_strTableRow1
    1395                 .arg(QApplication::translate("UIIndicatorsPool", "No USB devices attached", "USB tooltip"));
     1395                .arg(QApplication::translate("UIIndicatorUSB", "No USB devices attached"));
    13961396    }
    13971397}
     
    14211421    if (!fFoldersPresent)
    14221422        strInfo = e_strTableRow1
    1423             .arg(QApplication::translate("UIIndicatorsPool", "No shared folders", "Shared folders tooltip"));
     1423            .arg(QApplication::translate("UIIndicatorSharedFolders", "No shared folders"));
    14241424}
    14251425
     
    14341434    const QString strVRAMSize = QApplication::translate("UICommon", "<nobr>%1 MB</nobr>", "details report").arg(uVRAMSize);
    14351435    strInfo += e_strTableRow2
    1436         .arg(QApplication::translate("UIIndicatorsPool", "Video memory", "Display tooltip"), strVRAMSize);
     1436        .arg(QApplication::translate("UIIndicatorDisplay", "Video memory"), strVRAMSize);
    14371437
    14381438    /* Monitor Count: */
     
    14421442        const QString strMonitorCount = QString::number(uMonitorCount);
    14431443        strInfo += e_strTableRow2
    1444             .arg(QApplication::translate("UIIndicatorsPool", "Screens", "Display tooltip"), strMonitorCount);
     1444            .arg(QApplication::translate("UIIndicatorDisplay", "Screens"), strMonitorCount);
    14451445    }
    14461446
     
    14531453            : QApplication::translate("UICommon", "Disabled", "details report (3D Acceleration)");
    14541454        strInfo += e_strTableRow2
    1455             .arg(QApplication::translate("UIIndicatorsPool", "3D acceleration", "Display tooltip"), strAcceleration3D);
     1455            .arg(QApplication::translate("UIIndicatorDisplay", "3D acceleration"), strAcceleration3D);
    14561456    }
    14571457}
     
    14731473        QString strToolTip;
    14741474        if (fVideoEnabled && fAudioEnabled)
    1475             strToolTip = QApplication::translate("UIIndicatorsPool", "Video/audio recording file", "Recording tooltip");
     1475            strToolTip = QApplication::translate("UIIndicatorRecording", "Video/audio recording file");
    14761476        else if (fAudioEnabled)
    1477             strToolTip = QApplication::translate("UIIndicatorsPool", "Audio recording file", "Recording tooltip");
     1477            strToolTip = QApplication::translate("UIIndicatorRecording", "Audio recording file");
    14781478        else if (fVideoEnabled)
    1479             strToolTip = QApplication::translate("UIIndicatorsPool", "Video recording file", "Recording tooltip");
     1479            strToolTip = QApplication::translate("UIIndicatorRecording", "Video recording file");
    14801480        strInfo += e_strTableRow2
    14811481            .arg(strToolTip)
     
    14861486    {
    14871487        strInfo += e_strTableRow1
    1488             .arg(QApplication::translate("UIIndicatorsPool", "Recording disabled", "Recording tooltip"));
     1488            .arg(QApplication::translate("UIIndicatorRecording", "Recording disabled"));
    14891489    }
    14901490}
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