Changeset 54756 in vbox
- Timestamp:
- Mar 13, 2015 5:46:26 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98932
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp
r54754 r54756 269 269 break; 270 270 } 271 case Qt::ToolTipRole: 272 { 273 /* We are generating tool-tip here and not in retranslateUi() because of the tricky plural form handling, 274 * but be quiet, it's safe enough because the tool-tip being re-acquired every time on mouse-hovering. */ 275 const QStringList encryptedMediums = m_encryptedMediums.values(m_encryptionPasswords.keys().at(index.row())); 276 return tr("Used by the following %n hard-drive(s):<br>%1", 277 "This text is never used with n == 0. " 278 "Feel free to drop the %n where possible, " 279 "we only included it because of problems with Qt Linguist " 280 "(but the user can see how many hard drives are in the tool-tip " 281 "and doesn't need to be told).", 282 encryptedMediums.size()) 283 .arg(encryptedMediums.join("<br>")); 284 } 271 285 case Qt::TextAlignmentRole: 272 286 {
Note:
See TracChangeset
for help on using the changeset viewer.