KiCad PCB EDA Suite
pgm_base.cpp File Reference

For the main application: init functions, and language selection (locale handling) More...

#include <wx/html/htmlwin.h>
#include <wx/fs_zip.h>
#include <wx/dir.h>
#include <wx/filename.h>
#include <wx/snglinst.h>
#include <wx/stdpaths.h>
#include <wx/sysopt.h>
#include <wx/filedlg.h>
#include <wx/tooltip.h>
#include <common.h>
#include <config_params.h>
#include <confirm.h>
#include <core/arraydim.h>
#include <eda_base_frame.h>
#include <eda_draw_frame.h>
#include <gestfich.h>
#include <id.h>
#include <lockfile.h>
#include <menus_helpers.h>
#include <pgm_base.h>
#include <python_scripting.h>
#include <settings/common_settings.h>
#include <settings/settings_manager.h>
#include <systemdirsappend.h>
#include <trace_helpers.h>

Go to the source code of this file.

Macros

#define _(s)   s
 Current list of languages supported by KiCad. More...
 
#define _(s)   wxGetTranslation((s))
 Current list of languages supported by KiCad. More...
 

Variables

LANGUAGE_DESCR LanguagesList []
 An array containing all the languages that KiCad supports. More...
 

Detailed Description

For the main application: init functions, and language selection (locale handling)

Definition in file pgm_base.cpp.

Macro Definition Documentation

◆ _ [1/2]

#define _ (   s)    s

Current list of languages supported by KiCad.

Note
Because this list is not created on the fly, wxTranslation must be called when a language name must be displayed after translation. Do not change this behavior, because m_Lang_Label is also used as key in config

Definition at line 102 of file pgm_base.cpp.

◆ _ [2/2]

#define _ (   s)    wxGetTranslation((s))

Current list of languages supported by KiCad.

Note
Because this list is not created on the fly, wxTranslation must be called when a language name must be displayed after translation. Do not change this behavior, because m_Lang_Label is also used as key in config

Definition at line 102 of file pgm_base.cpp.

Variable Documentation

◆ LanguagesList

LANGUAGE_DESCR LanguagesList[]

An array containing all the languages that KiCad supports.

Definition at line 70 of file pgm_base.cpp.

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