KiCad PCB EDA Suite
LANGUAGE_DESCR Struct Reference

A small class to handle the list of existing translations. More...

#include <pgm_base.h>

Public Attributes

int m_WX_Lang_Identifier
 wxWidgets locale identifier (See wxWidgets doc) More...
 
int m_KI_Lang_Identifier
 KiCad identifier used in menu selection (See id.h) More...
 
wxString m_Lang_Label
 Labels used in menus. More...
 
bool m_DoNotTranslate
 Set to true if the m_Lang_Label must not be translated. More...
 

Detailed Description

A small class to handle the list of existing translations.

The locale translation is automatic. The selection of languages is mainly for maintainer's convenience. To add a support to a new translation add a new item to LanguagesList[].

Definition at line 57 of file pgm_base.h.

Member Data Documentation

◆ m_DoNotTranslate

bool LANGUAGE_DESCR::m_DoNotTranslate

Set to true if the m_Lang_Label must not be translated.

Definition at line 69 of file pgm_base.h.

◆ m_KI_Lang_Identifier

int LANGUAGE_DESCR::m_KI_Lang_Identifier

KiCad identifier used in menu selection (See id.h)

Definition at line 63 of file pgm_base.h.

Referenced by AddMenuLanguageList(), PGM_BASE::SetLanguage(), KIWAY::SetLanguage(), PGM_BASE::SetLanguageIdentifier(), and EDA_BASE_FRAME::setupUIConditions().

◆ m_Lang_Label

wxString LANGUAGE_DESCR::m_Lang_Label

Labels used in menus.

Definition at line 66 of file pgm_base.h.

Referenced by AddMenuLanguageList(), PGM_BASE::SetLanguage(), and KIWAY::SetLanguage().

◆ m_WX_Lang_Identifier

int LANGUAGE_DESCR::m_WX_Lang_Identifier

wxWidgets locale identifier (See wxWidgets doc)

Definition at line 60 of file pgm_base.h.


The documentation for this struct was generated from the following file: