Chinese translation support added.
This commit is contained in:
parent
d2b1897659
commit
eb4e6119f5
Binary file not shown.
Binary file not shown.
|
@ -475,6 +475,10 @@ void WinEDA_App::SetLanguageIdentifier( int menu_id )
|
|||
m_LanguageId = wxLANGUAGE_CATALAN;
|
||||
break;
|
||||
|
||||
case ID_LANGUAGE_CHINESE_SIMPLIFIED:
|
||||
m_LanguageId = wxLANGUAGE_CHINESE_SIMPLIFIED;
|
||||
break;
|
||||
|
||||
default:
|
||||
m_LanguageId = wxLANGUAGE_DEFAULT;
|
||||
break;
|
||||
|
@ -559,9 +563,15 @@ wxMenu* WinEDA_App::SetLanguageList( wxMenu* MasterMenu )
|
|||
_( "Catalan" ), wxEmptyString, wxITEM_CHECK );
|
||||
SETBITMAPS( lang_catalan_xpm );
|
||||
m_Language_Menu->Append( item );
|
||||
|
||||
item = new wxMenuItem( m_Language_Menu, ID_LANGUAGE_CHINESE_SIMPLIFIED,
|
||||
_( "Chinese simplified" ), wxEmptyString, wxITEM_CHECK );
|
||||
//SETBITMAPS( lang_chinese_simplified_xpm );
|
||||
m_Language_Menu->Append( item );
|
||||
}
|
||||
|
||||
m_Language_Menu->Check( ID_LANGUAGE_CATALAN, FALSE );
|
||||
m_Language_Menu->Check( ID_LANGUAGE_CHINESE_SIMPLIFIED, FALSE );
|
||||
m_Language_Menu->Check( ID_LANGUAGE_KOREAN, FALSE );
|
||||
m_Language_Menu->Check( ID_LANGUAGE_RUSSIAN, FALSE );
|
||||
m_Language_Menu->Check( ID_LANGUAGE_POLISH, FALSE );
|
||||
|
@ -581,6 +591,10 @@ wxMenu* WinEDA_App::SetLanguageList( wxMenu* MasterMenu )
|
|||
m_Language_Menu->Check( ID_LANGUAGE_CATALAN, TRUE );
|
||||
break;
|
||||
|
||||
case wxLANGUAGE_CHINESE_SIMPLIFIED:
|
||||
m_Language_Menu->Check( ID_LANGUAGE_CHINESE_SIMPLIFIED, TRUE );
|
||||
break;
|
||||
|
||||
case wxLANGUAGE_KOREAN:
|
||||
m_Language_Menu->Check( ID_LANGUAGE_KOREAN, TRUE );
|
||||
break;
|
||||
|
|
|
@ -150,7 +150,7 @@ enum main_id {
|
|||
ID_LANGUAGE_POLISH,
|
||||
ID_LANGUAGE_KOREAN,
|
||||
ID_LANGUAGE_CATALAN,
|
||||
ID_LANGUAGE_UNUSED3,
|
||||
ID_LANGUAGE_CHINESE_SIMPLIFIED,
|
||||
ID_LANGUAGE_UNUSED4,
|
||||
ID_LANGUAGE_CHOICE_END,
|
||||
|
||||
|
|
Binary file not shown.
21375
internat/ru/kicad.po
21375
internat/ru/kicad.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue