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...
 
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 78 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 93 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 84 of file pgm_base.h.

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

◆ m_Lang_Icon

BITMAP_DEF LANGUAGE_DESCR::m_Lang_Icon

The menu language icons.

Definition at line 87 of file pgm_base.h.

◆ m_Lang_Label

wxString LANGUAGE_DESCR::m_Lang_Label

Labels used in menus.

Definition at line 90 of file pgm_base.h.

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

◆ m_WX_Lang_Identifier

int LANGUAGE_DESCR::m_WX_Lang_Identifier

wxWidgets locale identifier (See wxWidgets doc)

Definition at line 81 of file pgm_base.h.


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