VirtualBox

Changeset 105192 in vbox


Ignore:
Timestamp:
Jul 8, 2024 3:54:46 PM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163835
Message:

FE/Qt: bugref:10672: Runtime UI: Improve accessibility for hard, optical and floppy disks indicators; S.a. r163519.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r105120 r105192  
    230230
    231231        /* Append description with more info: */
    232         m_strDescription = tr("%1, %2 disks attached.", "%Name, %Description")
    233                               .arg(m_strDescription).arg(m_cAttachmentsCount);
     232        const QString strAttachmentStatus = tr("%1 disks attached").arg(m_cAttachmentsCount);
     233        m_strDescription = QString("%1, %2").arg(m_strDescription, strAttachmentStatus);
    234234    }
    235235
     
    300300
    301301        /* Append description with more info: */
    302         m_strDescription = tr("%1, %2 drives attached, %3 images mounted.", "%Name, %Description")
    303                               .arg(m_strDescription).arg(m_cAttachmentsCount).arg(m_cAttachmentsMountedCount);
     302        const QString strAttachmentStatus = tr("%1 drives attached").arg(m_cAttachmentsCount);
     303        const QString strMountingStatus = tr("%1 images mounted").arg(m_cAttachmentsMountedCount);
     304        m_strDescription = QString("%1, %2, %3").arg(m_strDescription, strAttachmentStatus, strMountingStatus);
    304305    }
    305306
     
    372373
    373374        /* Append description with more info: */
    374         m_strDescription = tr("%1, %2 drives attached, %3 images mounted.", "%Name, %Description")
    375                               .arg(m_strDescription).arg(m_cAttachmentsCount).arg(m_cAttachmentsMountedCount);
     375        const QString strAttachmentStatus = tr("%1 drives attached").arg(m_cAttachmentsCount);
     376        const QString strMountingStatus = tr("%1 images mounted").arg(m_cAttachmentsMountedCount);
     377        m_strDescription = QString("%1, %2, %3").arg(m_strDescription, strAttachmentStatus, strMountingStatus);
    376378    }
    377379
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