KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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)
 
int m_KI_Lang_Identifier
 KiCad identifier used in menu selection (See id.h)
 
wxString m_Lang_Label
 Labels used in menus.
 
bool m_DoNotTranslate
 Set to true if the m_Lang_Label must not be translated.
 

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 67 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 79 of file pgm_base.h.

◆ m_KI_Lang_Identifier

int LANGUAGE_DESCR::m_KI_Lang_Identifier

◆ m_Lang_Label

wxString LANGUAGE_DESCR::m_Lang_Label

Labels used in menus.

Definition at line 76 of file pgm_base.h.

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

◆ m_WX_Lang_Identifier

int LANGUAGE_DESCR::m_WX_Lang_Identifier

wxWidgets locale identifier (See wxWidgets doc)

Definition at line 70 of file pgm_base.h.


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