VirtualBox

Changeset 91391 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Sep 27, 2021 11:50:27 AM (3 years ago)
Author:
vboxsync
Message:

Main/NLS: More on same. Found bug in i_translate. bugref:1909

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/VirtualBoxTranslator.h

    r91390 r91391  
    4343    HRESULT loadLanguage(ComPtr<IVirtualBox> aVirtualBox);
    4444
     45private:
     46    /** Translator component. */
     47    struct TranslatorComponent
     48    {
     49        QMTranslator *pTranslator;
     50        /** Path to translation files. It includes file prefix, i.e '/path/to/folder/file_prefix'. */
     51        com::Utf8Str  strPath;
     52
     53        TranslatorComponent() : pTranslator(NULL) {}
     54    };
     55public:
    4556    /** Pointer to a translator component. */
    46     typedef struct TranslatorComponent *PTRCOMPONENT;
     57    typedef TranslatorComponent *PTRCOMPONENT;
    4758
    4859    /**
     
    102113    uint32_t m_cInstanceRefs;
    103114
    104     /** Translator component. */
    105     struct TranslatorComponent
    106     {
    107         QMTranslator *pTranslator;
    108         /** Path to translation files. It includes file prefix, i.e '/path/to/folder/file_prefix'. */
    109         com::Utf8Str  strPath;
    110 
    111         TranslatorComponent() : pTranslator(NULL) {}
    112     };
    113115    typedef std::list<TranslatorComponent> TranslatorList;
    114116    TranslatorList  m_lTranslators;
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