KiCad PCB EDA Suite
LANGUAGE_DESCR Struct Reference

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

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...
 
BITMAP_DEF m_Lang_Icon
 The menu language icons. 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: create a new icon (flag of the country) (see Lang_Fr.xpm as an example) add a new item to s_Languages[].

Definition at line 80 of file pgm_base.cpp.

Member Data Documentation

bool LANGUAGE_DESCR::m_DoNotTranslate

Set to true if the m_Lang_Label must not be translated.

Definition at line 95 of file pgm_base.cpp.

int LANGUAGE_DESCR::m_KI_Lang_Identifier

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

Definition at line 86 of file pgm_base.cpp.

BITMAP_DEF LANGUAGE_DESCR::m_Lang_Icon

The menu language icons.

Definition at line 89 of file pgm_base.cpp.

wxString LANGUAGE_DESCR::m_Lang_Label

Labels used in menus.

Definition at line 92 of file pgm_base.cpp.

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

int LANGUAGE_DESCR::m_WX_Lang_Identifier

wxWidgets locale identifier (See wxWidgets doc)

Definition at line 83 of file pgm_base.cpp.


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