VirtualBox

Ignore:
Timestamp:
Oct 1, 2021 8:57:59 AM (3 years ago)
Author:
vboxsync
Message:

Main: bugref:1909: Added missed translation marks, removed redundant ones. Expanded one macro to make the lupdate get string correctly. Removed GuestBase::setErrorExternal and changed calls from it to setErrorBoth to handle translation correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp

    r85248 r91503  
    620620    if (aIPV6NetworkMaskPrefixLength > 128)
    621621        return mVirtualBox->setErrorBoth(E_INVALIDARG, VERR_INVALID_PARAMETER,
    622                    "Invalid IPv6 prefix length");
     622                   tr("Invalid IPv6 prefix length"));
    623623
    624624    int rc;
     
    631631    if (RT_FAILURE(rc))
    632632    {
    633         return mVirtualBox->setErrorBoth(E_INVALIDARG, rc, "Invalid IPv6 address");
     633        return mVirtualBox->setErrorBoth(E_INVALIDARG, rc, tr("Invalid IPv6 address"));
    634634    }
    635635
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