Chinese translation support added.

This commit is contained in:
plyatov 2008-02-18 21:45:29 +00:00
parent d2b1897659
commit eb4e6119f5
8 changed files with 10718 additions and 10673 deletions

Binary file not shown.

Binary file not shown.

View File

@ -475,6 +475,10 @@ void WinEDA_App::SetLanguageIdentifier( int menu_id )
m_LanguageId = wxLANGUAGE_CATALAN; m_LanguageId = wxLANGUAGE_CATALAN;
break; break;
case ID_LANGUAGE_CHINESE_SIMPLIFIED:
m_LanguageId = wxLANGUAGE_CHINESE_SIMPLIFIED;
break;
default: default:
m_LanguageId = wxLANGUAGE_DEFAULT; m_LanguageId = wxLANGUAGE_DEFAULT;
break; break;
@ -559,9 +563,15 @@ wxMenu* WinEDA_App::SetLanguageList( wxMenu* MasterMenu )
_( "Catalan" ), wxEmptyString, wxITEM_CHECK ); _( "Catalan" ), wxEmptyString, wxITEM_CHECK );
SETBITMAPS( lang_catalan_xpm ); SETBITMAPS( lang_catalan_xpm );
m_Language_Menu->Append( item ); 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_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_KOREAN, FALSE );
m_Language_Menu->Check( ID_LANGUAGE_RUSSIAN, FALSE ); m_Language_Menu->Check( ID_LANGUAGE_RUSSIAN, FALSE );
m_Language_Menu->Check( ID_LANGUAGE_POLISH, 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 ); m_Language_Menu->Check( ID_LANGUAGE_CATALAN, TRUE );
break; break;
case wxLANGUAGE_CHINESE_SIMPLIFIED:
m_Language_Menu->Check( ID_LANGUAGE_CHINESE_SIMPLIFIED, TRUE );
break;
case wxLANGUAGE_KOREAN: case wxLANGUAGE_KOREAN:
m_Language_Menu->Check( ID_LANGUAGE_KOREAN, TRUE ); m_Language_Menu->Check( ID_LANGUAGE_KOREAN, TRUE );
break; break;

View File

@ -150,7 +150,7 @@ enum main_id {
ID_LANGUAGE_POLISH, ID_LANGUAGE_POLISH,
ID_LANGUAGE_KOREAN, ID_LANGUAGE_KOREAN,
ID_LANGUAGE_CATALAN, ID_LANGUAGE_CATALAN,
ID_LANGUAGE_UNUSED3, ID_LANGUAGE_CHINESE_SIMPLIFIED,
ID_LANGUAGE_UNUSED4, ID_LANGUAGE_UNUSED4,
ID_LANGUAGE_CHOICE_END, ID_LANGUAGE_CHOICE_END,

Binary file not shown.

File diff suppressed because it is too large Load Diff