VirtualBox

Changeset 92815 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 8, 2021 1:57:10 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148735
Message:

FE/Qt: bugref:9871: Few NLS changes for UINotificationMessage related to make certain messages suitable for any kind of network, not only NAT or host-only.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp

    r92731 r92815  
    324324    createMessage(
    325325        QApplication::translate("UIMessageCenter", "DHCP server isn't enabled ..."),
    326         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> is set to obtain the address "
     326        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> is set to obtain the address "
    327327                                                   "automatically but the corresponding DHCP server is not enabled.")
    328328                                                   .arg(strName));
     
    334334    createMessage(
    335335        QApplication::translate("UIMessageCenter", "Invalid IPv4 address ..."),
    336         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     336        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    337337                                                   "currently have a valid IPv4 address.")
    338338                                                   .arg(strName));
     
    344344    createMessage(
    345345        QApplication::translate("UIMessageCenter", "Invalid IPv4 mask ..."),
    346         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
    347                                                    "currently have a valid IPv4 network mask.")
     346        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
     347                                                   "currently have a valid IPv4 mask.")
    348348                                                   .arg(strName));
    349349}
     
    354354    createMessage(
    355355        QApplication::translate("UIMessageCenter", "Invalid IPv6 address ..."),
    356         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     356        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    357357                                                   "currently have a valid IPv6 address.")
    358358                                                   .arg(strName));
     
    364364    createMessage(
    365365        QApplication::translate("UIMessageCenter", "Invalid IPv6 prefix length ..."),
    366         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     366        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    367367                                                   "currently have a valid IPv6 prefix length.")
    368368                                                   .arg(strName));
     
    374374    createMessage(
    375375        QApplication::translate("UIMessageCenter", "Invalid DHCP server address ..."),
    376         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     376        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    377377                                                   "currently have a valid DHCP server address.")
    378378                                                   .arg(strName));
     
    384384    createMessage(
    385385        QApplication::translate("UIMessageCenter", "Invalid DHCP server mask ..."),
    386         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     386        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    387387                                                   "currently have a valid DHCP server mask.")
    388388                                                   .arg(strName));
     
    394394    createMessage(
    395395        QApplication::translate("UIMessageCenter", "Invalid DHCP lower address ..."),
    396         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     396        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    397397                                                   "currently have a valid DHCP server lower address bound.")
    398398                                                   .arg(strName));
     
    404404    createMessage(
    405405        QApplication::translate("UIMessageCenter", "Invalid DHCP upper address ..."),
    406         QApplication::translate("UIMessageCenter", "Host interface <nobr><b>%1</b></nobr> does not "
     406        QApplication::translate("UIMessageCenter", "Network <nobr><b>%1</b></nobr> does not "
    407407                                                   "currently have a valid DHCP server upper address bound.")
    408408                                                   .arg(strName));
     
    414414    createMessage(
    415415        QApplication::translate("UIMessageCenter", "No name specified ..."),
    416         QApplication::translate("UIMessageCenter", "No new name specified for the NAT network previously called <b>%1</b>.")
     416        QApplication::translate("UIMessageCenter", "No new name specified for the network previously called <b>%1</b>.")
    417417                                                   .arg(strName));
    418418}
     
    423423    createMessage(
    424424        QApplication::translate("UIMessageCenter", "Name already busy ..."),
    425         QApplication::translate("UIMessageCenter", "The name <b>%1</b> is being used for several NAT networks.")
     425        QApplication::translate("UIMessageCenter", "The name <b>%1</b> is being used for several networks.")
    426426                                                   .arg(strName));
    427427}
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h

    r92731 r92815  
    432432        static void cannotFindCloudNetwork(const CVirtualBox &comVBox, const QString &strNetworkName);
    433433        /** Notifies about inability to find host network interface.
    434           * @param  comHost  Brings the host being search through.
     434          * @param  comHost           Brings the host being search through.
    435435          * @param  strInterfaceName  Brings interface name. */
    436436        static void cannotFindHostNetworkInterface(const CHost &comHost, const QString &strInterfaceName);
Note: See TracChangeset for help on using the changeset viewer.

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