VirtualBox

Ignore:
Timestamp:
Oct 1, 2021 8:57:59 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147192
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/win/NetIf-win.cpp

    r85265 r91503  
    4646#include "ProgressImpl.h"
    4747#include "VirtualBoxImpl.h"
     48#include "VBoxNls.h"
    4849#include "Global.h"
    4950#include "netif.h"
    5051#include "ThreadTask.h"
     52
     53DECLARE_TRANSLATION_CONTEXT(NetIfWin);
    5154
    5255#ifdef VBOX_WITH_NETFLT
     
    11631166    {
    11641167        hrc = progress->init(pVirtualBox, host,
    1165                              Bstr(_T("Creating host only network interface")).raw(),
     1168                             Bstr(NetIfWin::tr("Creating host only network interface")).raw(),
    11661169                             FALSE /* aCancelable */);
    11671170        if (SUCCEEDED(hrc))
     
    12111214    {
    12121215        hrc = progress->init(pVirtualBox, host,
    1213                              Bstr(_T("Removing host network interface")).raw(),
     1216                             Bstr(NetIfWin::tr("Removing host network interface")).raw(),
    12141217                             FALSE /* aCancelable */);
    12151218        if (SUCCEEDED(hrc))
     
    12581261            {
    12591262                rc = progress->init(pVBox, (IHostNetworkInterface*)pIf,
    1260                                     Bstr("Enabling Dynamic Ip Configuration").raw(),
     1263                                    Bstr(NetIfWin::tr("Enabling Dynamic Ip Configuration")).raw(),
    12611264                                    FALSE /* aCancelable */);
    12621265                if (SUCCEEDED(rc))
     
    13161319            {
    13171320                rc = progress->init(pVBox, (IHostNetworkInterface*)pIf,
    1318                                     Bstr("Enabling Dynamic Ip Configuration").raw(),
     1321                                    Bstr(NetIfWin::tr("Enabling Dynamic Ip Configuration")).raw(),
    13191322                                    FALSE /* aCancelable */);
    13201323                if (SUCCEEDED(rc))
     
    13731376            {
    13741377                rc = progress->init(pVBox, (IHostNetworkInterface*)pIf,
    1375                                     Bstr("Enabling Dynamic Ip Configuration").raw(),
     1378                                    Bstr(NetIfWin::tr("Enabling Dynamic Ip Configuration")).raw(),
    13761379                                    FALSE /* aCancelable */);
    13771380                if (SUCCEEDED(rc))
     
    14281431            {
    14291432                rc = progress->init(pVBox, (IHostNetworkInterface*)pIf,
    1430                                     Bstr("Enabling Dynamic Ip Configuration").raw(),
     1433                                    Bstr(NetIfWin::tr("Enabling Dynamic Ip Configuration")).raw(),
    14311434                                    FALSE /* aCancelable */);
    14321435                if (SUCCEEDED(rc))
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