Changeset 40864 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 11, 2012 8:36:28 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77401
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r40003 r40864 2384 2384 { 2385 2385 return messageOkCancel(pParent ? pParent : mainWindowShown(), Warning, 2386 tr("<p>The virtual machine(s) <b>%1</b> are currently in a saved state.</p>"2386 tr("<p>The %n following virtual machine(s) are currently in a saved state: <b>%1</b></p>" 2387 2387 "<p>If you continue the runtime state of the exported machine(s) " 2388 "will be discarded. Note that the existing machine(s) are not " 2389 "changed.</p>", "", 2388 "will be discarded. The other machine(s) will not be changed.</p>", "", 2390 2389 strMachineNames.size()).arg(VBoxGlobal::toHumanReadableList(strMachineNames)), 2391 2390 0 /* pcszAutoConfirmId */, -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r40845 r40864 3674 3674 { 3675 3675 QString strList; 3676 if (list.size() == 1) 3677 strList = list.at(0); 3678 else if (list.size() > 1) 3679 { 3680 for (int i = 0; i < list.size() - 1; ++i) 3681 { 3682 strList += list.at(i); 3683 if (i < list.size() - 2) 3684 strList += + ", "; 3685 } 3686 strList += " " + tr("and") + " " + list.at(list.size() - 1); 3676 for (int i = 0; i < list.size(); ++i) 3677 { 3678 strList += list.at(i); 3679 if (i < list.size() - 1) 3680 strList += + " "; 3687 3681 } 3688 3682 return strList;
Note:
See TracChangeset
for help on using the changeset viewer.