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/propgrid/propgrid.h>
#include <wx/snglinst.h>
#include <wx/stdpaths.h>
#include <wx/sysopt.h>
#include <wx/filedlg.h>
#include <wx/ffile.h>
#include <wx/tooltip.h>
#include <advanced_config.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 <kiplatform/policy.h>
#include <lockfile.h>
#include <menus_helpers.h>
#include <paths.h>
#include <pgm_base.h>
#include <policy_keys.h>
#include <python_scripting.h>
#include <settings/common_settings.h>
#include <settings/settings_manager.h>
#include <systemdirsappend.h>
#include <thread_pool.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 N.B. Languages that are commented out have some translation existing but are not sufficiently translated to list as valid translations in KiCad for release

Definition at line 121 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 N.B. Languages that are commented out have some translation existing but are not sufficiently translated to list as valid translations in KiCad for release

Definition at line 121 of file pgm_base.cpp.

Variable Documentation

◆ LanguagesList

LANGUAGE_DESCR LanguagesList[]

An array containing all the languages that KiCad supports.

Definition at line 85 of file pgm_base.cpp.

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