VirtualBox

Changeset 47895 in vbox


Ignore:
Timestamp:
Aug 20, 2013 11:49:00 AM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Settings Dialog: Validation NLS tags update.

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  
    309309    else
    310310    {
    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));
    312312        LogRel(("Settings Dialog:  Page validation FAILED: {%s}\n",
    313313                pValidator->lastMessage().toUtf8().constData()));
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp

    r47573 r47895  
    167167    {
    168168        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.");
    170170        return false;
    171171    }
     
    173173    {
    174174        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.");
    176176        return false;
    177177    }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp

    r47573 r47895  
    6767             QHostAddress(m_data.m_interface.m_strInterfaceAddress).protocol() != QAbstractSocket::IPv4Protocol))
    6868        {
    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));
    7070            return false;
    7171        }
     
    7474             QHostAddress(m_data.m_interface.m_strInterfaceMask).protocol() != QAbstractSocket::IPv4Protocol))
    7575        {
    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));
    7777            return false;
    7878        }
     
    8383                 QHostAddress(m_data.m_interface.m_strInterfaceAddress6).protocol() != QAbstractSocket::IPv6Protocol))
    8484            {
    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));
    8686                return false;
    8787            }
     
    9595            QHostAddress(m_data.m_dhcpserver.m_strDhcpServerAddress).protocol() != QAbstractSocket::IPv4Protocol)
    9696        {
    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));
    9898            return false;
    9999        }
     
    101101            QHostAddress(m_data.m_dhcpserver.m_strDhcpServerMask).protocol() != QAbstractSocket::IPv4Protocol)
    102102        {
    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));
    104104            return false;
    105105        }
     
    107107            QHostAddress(m_data.m_dhcpserver.m_strDhcpLowerAddress).protocol() != QAbstractSocket::IPv4Protocol)
    108108        {
    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));
    110110            return false;
    111111        }
     
    113113            QHostAddress(m_data.m_dhcpserver.m_strDhcpUpperAddress).protocol() != QAbstractSocket::IPv4Protocol)
    114114        {
    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));
    116116            return false;
    117117        }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp

    r47573 r47895  
    111111    if (m_pHostEditor->text().trimmed().isEmpty())
    112112    {
    113         strWarning = tr("host is not specified.");
     113        strWarning = tr("No proxy host is currently specified.");
    114114        return false;
    115115    }
    116116    else if (m_pPortEditor->text().trimmed().isEmpty())
    117117    {
    118         strWarning = tr("port is not specified.");
     118        strWarning = tr("No proxy port is currently specified.");
    119119        return false;
    120120    }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r47573 r47895  
    308308    if (m_pCheckbox3D->isChecked() && !vboxGlobal().is3DAvailable())
    309309    {
    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                         "start 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.");
    313313        return true;
    314314    }
     
    322322        if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes)
    323323        {
    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.")
    327326                            .arg(vboxGlobal().formatSize(uNeedBytes, 0, FormatSize_RoundUp));
    328327            return true;
     
    335334            if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes)
    336335            {
    337                 strWarning = tr("you have assigned less than <b>%1</b> of video memory which is "
    338                                 "the minimum amount required for HD Video 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.")
    339338                                .arg(vboxGlobal().formatSize(uNeedBytes, 0, FormatSize_RoundUp));
    340339                return true;
     
    352351            if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes)
    353352            {
    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>.")
    356356                                .arg(vboxGlobal().formatSize(uNeedBytes, 0, FormatSize_RoundUp));
    357357                return true;
     
    367367    if (m_pCheckbox2DVideo->isChecked() && !m_f2DVideoAccelerationSupported)
    368368    {
    369         strWarning = tr("you have 2D Video Acceleration enabled. As 2D Video Acceleration "
    370                         "is supported for Windows guests only, this feature will 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.");
    371371        return true;
    372372    }
     
    376376    if (m_pEditorRemoteDisplayPort->text().trimmed().isEmpty())
    377377    {
    378         strWarning = tr("server port value was not specified.");
     378        strWarning = tr("The VRDE server port value is not currently specified.");
    379379        return false;
    380380    }
     
    383383    if (m_pEditorRemoteDisplayTimeout->text().trimmed().isEmpty())
    384384    {
    385         strWarning = tr("authentication timeout value was not specified.");
     385        strWarning = tr("The VRDE authentication timeout value is not currently specified.");
    386386        return false;
    387387    }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp

    r47573 r47895  
    229229    if (m_pNameAndSystemEditor->name().trimmed().isEmpty())
    230230    {
    231         strWarning = tr("you have not specified name for this VM.");
     231        strWarning = tr("No name specified for the virtual machine.");
    232232        return false;
    233233    }
     
    236236    if (is64BitOSTypeSelected() && !m_fHWVirtExEnabled)
    237237    {
    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.");
    241241        return true;
    242242    }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp

    r47573 r47895  
    177177            if (alternativeName().isNull())
    178178            {
    179                 strWarning = tr("no bridged network adapter is selected");
     179                strWarning = tr("No bridged network adapter is currently selected.");
    180180                fValid = false;
    181181            }
     
    186186            if (alternativeName().isNull())
    187187            {
    188                 strWarning = tr("no internal network name is specified");
     188                strWarning = tr("No internal network name is currently specified.");
    189189                fValid = false;
    190190            }
     
    195195            if (alternativeName().isNull())
    196196            {
    197                 strWarning = tr("no host-only network adapter is selected");
     197                strWarning = tr("No host-only network adapter is currently selected.");
    198198                fValid = false;
    199199            }
     
    204204            if (alternativeName().isNull())
    205205            {
    206                 strWarning = tr("no generic driver is selected");
     206                strWarning = tr("No generic driver is currently selected.");
    207207                fValid = false;
    208208            }
     
    216216    if (fValid && m_pMACEditor->text().size() < 12)
    217217    {
    218         strWarning = tr("the MAC address must be 12 hexadecimal digits long.");
     218        strWarning = tr("The MAC address must be 12 hexadecimal digits long.");
    219219        fValid = false;
    220220    }
     
    225225        if (validator.indexIn(m_pMACEditor->text()) != 0)
    226226        {
    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.");
    229228            fValid = false;
    230229        }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsParallel.cpp

    r47573 r47895  
    350350            {
    351351                if (strIRQ.isEmpty())
    352                     strWarning = tr("IRC not specified.");
     352                    strWarning = tr("No IRQ is currently specified.");
    353353                else if (strIOPort.isEmpty())
    354                     strWarning = tr("IO port not specified.");
     354                    strWarning = tr("No I/O port is currently specified.");
    355355                else
    356                     strWarning = tr ("duplicate port attributes specified.");
     356                    strWarning = tr("Two or more ports have the same settings.");
    357357                strTitle += ": " +
    358358                    vboxGlobal().removeAccelMark(mTabWidget->tabText(mTabWidget->indexOf(tab)));
     
    368368            {
    369369                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.");
    372372                strTitle += ": " +
    373373                    vboxGlobal().removeAccelMark (mTabWidget->tabText (mTabWidget->indexOf (tab)));
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSerial.cpp

    r47573 r47895  
    393393            {
    394394                if (strIRQ.isEmpty())
    395                     strWarning = tr("IRC not specified.");
     395                    strWarning = tr("No IRQ is currently specified.");
    396396                else if (strIOPort.isEmpty())
    397                     strWarning = tr("IO port not specified.");
     397                    strWarning = tr("No I/O port is currently specified.");
    398398                else
    399                     strWarning = tr ("duplicate port attributes specified.");
     399                    strWarning = tr("Two or more ports have the same settings.");
    400400                strTitle += ": " +
    401401                    vboxGlobal().removeAccelMark(mTabWidget->tabText(mTabWidget->indexOf(tab)));
     
    418418                {
    419419                    strWarning = path.isEmpty() ?
    420                         tr ("port path not specified.") :
    421                         tr ("duplicate port path entered.");
     420                        tr("No port path is currently specified.") :
     421                        tr("There are currently duplicate port paths specified.");
    422422                    strTitle += ": " +
    423423                        vboxGlobal().removeAccelMark (mTabWidget->tabText (mTabWidget->indexOf (tab)));
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp

    r47831 r47895  
    21192119        if (ctrName.isEmpty())
    21202120        {
    2121             strWarning = tr("no name specified for controller 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);
    21222122            return false;
    21232123        }
     
    21252125        if (names.values().contains(ctrName))
    21262126        {
    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);
    21302129            return false;
    21312130        }
     
    21422141            if (vboxGlobal().findMedium (key).isNull() && attDevice == KDeviceType_HardDisk)
    21432142            {
    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);
    21452144                return false;
    21462145            }
     
    21482147            if (!vboxGlobal().findMedium (key).isNull() && config.contains (key))
    21492148            {
    2150                 strWarning = tr ("<i>%1</i> uses a medium that 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]);
    21522151                return false;
    21532152            }
     
    21742173    if (!excessiveList.isEmpty())
    21752174    {
    2176         strWarning = tr("you are currently using more storage controllers than a %1 chipset supports. "
     2175        strWarning = tr("The machine currently has more storage controllers assigned than a %1 chipset supports. "
    21772176                        "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")
    21792178                        .arg(gpConverter->toString(mStorageModel->chipsetType()))
    21802179                        .arg(excessiveList.join(", "));
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp

    r47573 r47895  
    292292    {
    293293        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.")
    297296            .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMAlw() / uFullSize * 100.0))
    298297            .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M));
     
    302301    {
    303302        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.")
    307305            .arg((unsigned)qRound((double)m_pSliderMemorySize->maxRAMOpt() / uFullSize * 100.0))
    308306            .arg(vboxGlobal().formatSize((uint64_t)uFullSize * _1M));
     
    315313    {
    316314        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.")
    320317            .arg(cTotalCPUs);
    321318        return false;
     
    324321    {
    325322        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.")
    330325            .arg(cTotalCPUs);
    331326        return true;
     
    336331    {
    337332        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.");
    342335        return true;
    343336    }
     
    347340    {
    348341        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.");
    353344        return true;
    354345    }
     
    358349    {
    359350        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.");
    362352        return true;
    363353    }
     
    367357    {
    368358        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.");
    373361        return true;
    374362    }
     
    378366    {
    379367        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.");
    384370        return true;
    385371    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette