Changeset 47895 in vbox
- Timestamp:
- Aug 20, 2013 11:49:00 AM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.cpp
r47846 r47895 309 309 else 310 310 { 311 pValidator->setLastMessage(tr(" On the <b>%1</b> page,%2").arg(strPageTitle, strMessageText));311 pValidator->setLastMessage(tr("<b>%1</b> page:<br><br>%2").arg(strPageTitle, strMessageText)); 312 312 LogRel(("Settings Dialog: Page validation FAILED: {%s}\n", 313 313 pValidator->lastMessage().toUtf8().constData())); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
r47573 r47895 167 167 { 168 168 strTitle += ": " + VBoxGlobal::removeAccelMark(m_pTabWidget->tabText(UIHotKeyTableIndex_Selector)); 169 strWarning = tr(" there are duplicated shortcuts.");169 strWarning = tr("Some items have the same shortcuts assigned."); 170 170 return false; 171 171 } … … 173 173 { 174 174 strTitle += ": " + VBoxGlobal::removeAccelMark(m_pTabWidget->tabText(UIHotKeyTableIndex_Machine)); 175 strWarning = tr(" there are duplicated shortcuts.");175 strWarning = tr("Some items have the same shortcuts assigned."); 176 176 return false; 177 177 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r47573 r47895 67 67 QHostAddress(m_data.m_interface.m_strInterfaceAddress).protocol() != QAbstractSocket::IPv4Protocol)) 68 68 { 69 strWarning = UIGlobalSettingsNetwork::tr(" host IPv4 address of <b>%1</b> is wrong").arg(text(0));69 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid IPv4 address.").arg(text(0)); 70 70 return false; 71 71 } … … 74 74 QHostAddress(m_data.m_interface.m_strInterfaceMask).protocol() != QAbstractSocket::IPv4Protocol)) 75 75 { 76 strWarning = UIGlobalSettingsNetwork::tr(" host IPv4 network mask of <b>%1</b> is wrong").arg(text(0));76 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid IPv4 network mask.").arg(text(0)); 77 77 return false; 78 78 } … … 83 83 QHostAddress(m_data.m_interface.m_strInterfaceAddress6).protocol() != QAbstractSocket::IPv6Protocol)) 84 84 { 85 strWarning = UIGlobalSettingsNetwork::tr(" host IPv6 address of <b>%1</b> is wrong").arg(text(0));85 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid IPv6 address.").arg(text(0)); 86 86 return false; 87 87 } … … 95 95 QHostAddress(m_data.m_dhcpserver.m_strDhcpServerAddress).protocol() != QAbstractSocket::IPv4Protocol) 96 96 { 97 strWarning = UIGlobalSettingsNetwork::tr(" DHCP server address of <b>%1</b> is wrong").arg(text(0));97 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid DHCP server address.").arg(text(0)); 98 98 return false; 99 99 } … … 101 101 QHostAddress(m_data.m_dhcpserver.m_strDhcpServerMask).protocol() != QAbstractSocket::IPv4Protocol) 102 102 { 103 strWarning = UIGlobalSettingsNetwork::tr(" DHCP server network mask of <b>%1</b> is wrong").arg(text(0));103 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid DHCP server mask.").arg(text(0)); 104 104 return false; 105 105 } … … 107 107 QHostAddress(m_data.m_dhcpserver.m_strDhcpLowerAddress).protocol() != QAbstractSocket::IPv4Protocol) 108 108 { 109 strWarning = UIGlobalSettingsNetwork::tr(" DHCP lower address bound of <b>%1</b> is wrong").arg(text(0));109 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid DHCP server lower address bound.").arg(text(0)); 110 110 return false; 111 111 } … … 113 113 QHostAddress(m_data.m_dhcpserver.m_strDhcpUpperAddress).protocol() != QAbstractSocket::IPv4Protocol) 114 114 { 115 strWarning = UIGlobalSettingsNetwork::tr(" DHCP upper address bound of <b>%1</b> is wrong").arg(text(0));115 strWarning = UIGlobalSettingsNetwork::tr("The host interface <b>%1</b> does not currently have a valid DHCP server upper address bound.").arg(text(0)); 116 116 return false; 117 117 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp
r47573 r47895 111 111 if (m_pHostEditor->text().trimmed().isEmpty()) 112 112 { 113 strWarning = tr(" host is notspecified.");113 strWarning = tr("No proxy host is currently specified."); 114 114 return false; 115 115 } 116 116 else if (m_pPortEditor->text().trimmed().isEmpty()) 117 117 { 118 strWarning = tr(" port is notspecified.");118 strWarning = tr("No proxy port is currently specified."); 119 119 return false; 120 120 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r47573 r47895 308 308 if (m_pCheckbox3D->isChecked() && !vboxGlobal().is3DAvailable()) 309 309 { 310 strWarning = tr(" you enabled 3D acceleration. However, 3D acceleration is not"311 " working on the current host setup so you will not be able to"312 "s tart the VM.");310 strWarning = tr("The virtual machine is set to use hardware graphics acceleration. " 311 "However the host system does not currently provide this, " 312 "so you will not be able to start the machine."); 313 313 return true; 314 314 } … … 322 322 if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes) 323 323 { 324 strWarning = tr("you have assigned less than <b>%1</b> of video memory which is " 325 "the minimum amount required to switch the virtual machine to " 326 "fullscreen or seamless mode.") 324 strWarning = tr("The virtual machine is currently assigned less than <b>%1</b> of video memory " 325 "which is the minimum amount required to switch to fullscreen or seamless mode.") 327 326 .arg(vboxGlobal().formatSize(uNeedBytes, 0, FormatSize_RoundUp)); 328 327 return true; … … 335 334 if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes) 336 335 { 337 strWarning = tr(" you have assigned less than <b>%1</b> of video memory which is"338 " the minimum amount required for HDVideo to be played efficiently.")336 strWarning = tr("The virtual machine is currently assigned less than <b>%1</b> of video memory " 337 "which is the minimum amount required for High Definition Video to be played efficiently.") 339 338 .arg(vboxGlobal().formatSize(uNeedBytes, 0, FormatSize_RoundUp)); 340 339 return true; … … 352 351 if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes) 353 352 { 354 strWarning = tr("you have 3D Acceleration enabled for a operation system which uses the WDDM video driver. " 355 "For maximal performance set the guest VRAM to at least <b>%1</b>.") 353 strWarning = tr("The virtual machine is set to use hardware graphics acceleration " 354 "and the operating system hint is set to Windows Vista or later. " 355 "For best performance you should set the machine's video memory to at least b>%1</b>.") 356 356 .arg(vboxGlobal().formatSize(uNeedBytes, 0, FormatSize_RoundUp)); 357 357 return true; … … 367 367 if (m_pCheckbox2DVideo->isChecked() && !m_f2DVideoAccelerationSupported) 368 368 { 369 strWarning = tr(" you have 2D Video Acceleration enabled. As 2D Video Acceleration"370 " is supported for Windows guests only, this featurewill be disabled.");369 strWarning = tr("The virtual machine is set to use Video Stream Acceleration. " 370 "As this feature only works with Windows guest systems it will be disabled."); 371 371 return true; 372 372 } … … 376 376 if (m_pEditorRemoteDisplayPort->text().trimmed().isEmpty()) 377 377 { 378 strWarning = tr(" server port value was notspecified.");378 strWarning = tr("The VRDE server port value is not currently specified."); 379 379 return false; 380 380 } … … 383 383 if (m_pEditorRemoteDisplayTimeout->text().trimmed().isEmpty()) 384 384 { 385 strWarning = tr(" authentication timeout value was notspecified.");385 strWarning = tr("The VRDE authentication timeout value is not currently specified."); 386 386 return false; 387 387 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
r47573 r47895 229 229 if (m_pNameAndSystemEditor->name().trimmed().isEmpty()) 230 230 { 231 strWarning = tr(" you have not specified name for this VM.");231 strWarning = tr("No name specified for the virtual machine."); 232 232 return false; 233 233 } … … 236 236 if (is64BitOSTypeSelected() && !m_fHWVirtExEnabled) 237 237 { 238 strWarning = tr(" you have selected a 64-bit guest OS type for this VM. As such guests"239 " require hardware virtualization (VT-x/AMD-V), this feature will be enabled"240 " automatically.");238 strWarning = tr("The virtual machine operating system hint is set to a 64-bit type. " 239 "64-bit guest systems require hardware virtualization, " 240 "so this will be enabled automatically if you confirm the changes."); 241 241 return true; 242 242 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp
r47573 r47895 177 177 if (alternativeName().isNull()) 178 178 { 179 strWarning = tr(" no bridged network adapter is selected");179 strWarning = tr("No bridged network adapter is currently selected."); 180 180 fValid = false; 181 181 } … … 186 186 if (alternativeName().isNull()) 187 187 { 188 strWarning = tr(" no internal network name is specified");188 strWarning = tr("No internal network name is currently specified."); 189 189 fValid = false; 190 190 } … … 195 195 if (alternativeName().isNull()) 196 196 { 197 strWarning = tr(" no host-only network adapter is selected");197 strWarning = tr("No host-only network adapter is currently selected."); 198 198 fValid = false; 199 199 } … … 204 204 if (alternativeName().isNull()) 205 205 { 206 strWarning = tr(" no generic driver is selected");206 strWarning = tr("No generic driver is currently selected."); 207 207 fValid = false; 208 208 } … … 216 216 if (fValid && m_pMACEditor->text().size() < 12) 217 217 { 218 strWarning = tr(" the MAC address must be 12 hexadecimal digits long.");218 strWarning = tr("The MAC address must be 12 hexadecimal digits long."); 219 219 fValid = false; 220 220 } … … 225 225 if (validator.indexIn(m_pMACEditor->text()) != 0) 226 226 { 227 strWarning = tr("the second digit in the MAC address may not be odd " 228 "as only unicast addresses are allowed."); 227 strWarning = tr("The second digit in the MAC address may not be odd as only unicast addresses are allowed."); 229 228 fValid = false; 230 229 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsParallel.cpp
r47573 r47895 350 350 { 351 351 if (strIRQ.isEmpty()) 352 strWarning = tr(" IRC notspecified.");352 strWarning = tr("No IRQ is currently specified."); 353 353 else if (strIOPort.isEmpty()) 354 strWarning = tr(" IO port notspecified.");354 strWarning = tr("No I/O port is currently specified."); 355 355 else 356 strWarning = tr ("duplicate port attributes specified.");356 strWarning = tr("Two or more ports have the same settings."); 357 357 strTitle += ": " + 358 358 vboxGlobal().removeAccelMark(mTabWidget->tabText(mTabWidget->indexOf(tab))); … … 368 368 { 369 369 strWarning = path.isEmpty() ? 370 tr ("Port path not specified") :371 tr ("Duplicate port path entered");370 tr("No port path is currently specified.") : 371 tr("There are currently duplicate port paths specified."); 372 372 strTitle += ": " + 373 373 vboxGlobal().removeAccelMark (mTabWidget->tabText (mTabWidget->indexOf (tab))); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSerial.cpp
r47573 r47895 393 393 { 394 394 if (strIRQ.isEmpty()) 395 strWarning = tr(" IRC notspecified.");395 strWarning = tr("No IRQ is currently specified."); 396 396 else if (strIOPort.isEmpty()) 397 strWarning = tr(" IO port notspecified.");397 strWarning = tr("No I/O port is currently specified."); 398 398 else 399 strWarning = tr ("duplicate port attributes specified.");399 strWarning = tr("Two or more ports have the same settings."); 400 400 strTitle += ": " + 401 401 vboxGlobal().removeAccelMark(mTabWidget->tabText(mTabWidget->indexOf(tab))); … … 418 418 { 419 419 strWarning = path.isEmpty() ? 420 tr ("port path notspecified.") :421 tr ("duplicate port path entered.");420 tr("No port path is currently specified.") : 421 tr("There are currently duplicate port paths specified."); 422 422 strTitle += ": " + 423 423 vboxGlobal().removeAccelMark (mTabWidget->tabText (mTabWidget->indexOf (tab))); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r47831 r47895 2119 2119 if (ctrName.isEmpty()) 2120 2120 { 2121 strWarning = tr(" no name specified forcontroller at position <b>%1</b>.").arg(i + 1);2121 strWarning = tr("No name is currently specified for the controller at position <b>%1</b>.").arg(i + 1); 2122 2122 return false; 2123 2123 } … … 2125 2125 if (names.values().contains(ctrName)) 2126 2126 { 2127 strWarning = tr("controller at position <b>%1</b> uses the name that is " 2128 "already used by controller at position <b>%2</b>.") 2129 .arg(i + 1).arg(names.key(ctrName) + 1); 2127 strWarning = tr("The controller at position <b>%1</b> has the same name as the controller at position <b>%2</b>.") 2128 .arg(i + 1).arg(names.key(ctrName) + 1); 2130 2129 return false; 2131 2130 } … … 2142 2141 if (vboxGlobal().findMedium (key).isNull() && attDevice == KDeviceType_HardDisk) 2143 2142 { 2144 strWarning = tr ("no hard disk is selected for <i>%1</i>.").arg (value);2143 strWarning = tr("No hard disk is selected for <i>%1</i>.").arg (value); 2145 2144 return false; 2146 2145 } … … 2148 2147 if (!vboxGlobal().findMedium (key).isNull() && config.contains (key)) 2149 2148 { 2150 strWarning = tr ("<i>%1</i> uses a mediumthat is already attached to <i>%2</i>.")2151 .arg (value).arg (config [key]);2149 strWarning = tr("<i>%1</i> is using a disk that is already attached to <i>%2</i>.") 2150 .arg (value).arg (config [key]); 2152 2151 return false; 2153 2152 } … … 2174 2173 if (!excessiveList.isEmpty()) 2175 2174 { 2176 strWarning = tr(" you are currently using more storage controllersthan a %1 chipset supports. "2175 strWarning = tr("The machine currently has more storage controllers assigned than a %1 chipset supports. " 2177 2176 "Please change the chipset type on the System settings page or reduce the number " 2178 "of the following storage controllers on the Storage settings page: %2 .")2177 "of the following storage controllers on the Storage settings page: %2") 2179 2178 .arg(gpConverter->toString(mStorageModel->chipsetType())) 2180 2179 .arg(excessiveList.join(", ")); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r47573 r47895 292 292 { 293 293 strWarning = tr( 294 "you have assigned more than <b>%1%</b> of your computer's memory " 295 "(<b>%2</b>) to the virtual machine. Not enough memory is left " 296 "for your host operating system. Please select a smaller amount.") 294 "More than <b>%1%</b> of the host computer's memory (<b>%2</b>) is assigned to the virtual machine. " 295 "Not enough memory is left for the host operating system. Please select a smaller amount.") 297 296 .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMAlw() / uFullSize * 100.0)) 298 297 .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M)); … … 302 301 { 303 302 strWarning = tr( 304 "you have assigned more than <b>%1%</b> of your computer's memory " 305 "(<b>%2</b>) to the virtual machine. There might not be enough memory " 306 "left for your host operating system. Continue at your own risk.") 303 "More than <b>%1%</b> of the host computer's memory (<b>%2</b>) is assigned to the virtual machine. " 304 "There might not be enough memory left for the host operating system. Please consider selecting a smaller amount.") 307 305 .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMOpt() / uFullSize * 100.0)) 308 306 .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M)); … … 315 313 { 316 314 strWarning = tr( 317 "for performance reasons, the number of virtual CPUs attached to the " 318 "virtual machine may not be more than twice the number of physical " 319 "CPUs on the host (<b>%1</b>). Please reduce the number of virtual CPUs.") 315 "For performance reasons, the number of virtual CPUs attached to the virtual machine may not be more than twice the number " 316 "of physical CPUs on the host (<b>%1</b>). Please reduce the number of virtual CPUs.") 320 317 .arg(cTotalCPUs); 321 318 return false; … … 324 321 { 325 322 strWarning = tr( 326 "you have assigned more virtual CPUs to the virtual machine than " 327 "the number of physical CPUs on your host system (<b>%1</b>). " 328 "This is likely to degrade the performance of your virtual machine. " 329 "Please consider reducing the number of virtual CPUs.") 323 "More virtual CPUs are assigned to the virtual machine than the number of physical CPUs on the host system (<b>%1</b>). " 324 "This is likely to degrade the performance of your virtual machine. Please consider reducing the number of virtual CPUs.") 330 325 .arg(cTotalCPUs); 331 326 return true; … … 336 331 { 337 332 strWarning = tr( 338 "you have assigned more than one virtual CPU to this VM. " 339 "This will not work unless the IO-APIC feature is also enabled. " 340 "This will be done automatically when you accept the VM Settings " 341 "by pressing the OK button."); 333 "An IO-APIC is required to support more than one virtual CPU assigned to a virtual machine. " 334 "This will be done automatically if you confirm your changes."); 342 335 return true; 343 336 } … … 347 340 { 348 341 strWarning = tr( 349 "you have assigned more than one virtual CPU to this VM. " 350 "This will not work unless hardware virtualization (VT-x/AMD-V) is also enabled. " 351 "This will be done automatically when you accept the VM Settings " 352 "by pressing the OK button."); 342 "A hardware virtualization is required to support more than one virtual CPU assigned to a virtual machine. " 343 "This will be done automatically if you confirm your changes."); 353 344 return true; 354 345 } … … 358 349 { 359 350 strWarning = tr( 360 "you have set the processor execution cap to a low value. " 361 "This can make the machine feel slow to respond."); 351 "The processor execution cap is set to a low value. This may make the machine feel slow to respond."); 362 352 return true; 363 353 } … … 367 357 { 368 358 strWarning = tr( 369 "you have assigned ICH9 chipset type to this VM. " 370 "It will not work properly unless the IO-APIC feature is also enabled. " 371 "This will be done automatically when you accept the VM Settings " 372 "by pressing the OK button."); 359 "An IO-APIC is required to support chip set of type ICH9 assigned to a virtual machine. " 360 "This will be done automatically if you confirm your changes."); 373 361 return true; 374 362 } … … 378 366 { 379 367 strWarning = tr( 380 "you have enabled a USB HID (Human Interface Device). " 381 "This will not work unless USB emulation is also enabled. " 382 "This will be done automatically when you accept the VM Settings " 383 "by pressing the OK button."); 368 "A USB emulation is required to support USB mouse/tablet device attached to a virtual machine. " 369 "This will be done automatically if you confirm your changes."); 384 370 return true; 385 371 }
Note:
See TracChangeset
for help on using the changeset viewer.