Changeset 105192 in vbox
- Timestamp:
- Jul 8, 2024 3:54:46 PM (8 months ago)
- svn:sync-xref-src-repo-rev:
- 163835
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r105120 r105192 230 230 231 231 /* 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); 234 234 } 235 235 … … 300 300 301 301 /* 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); 304 305 } 305 306 … … 372 373 373 374 /* 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); 376 378 } 377 379
Note:
See TracChangeset
for help on using the changeset viewer.