commit patch from Kenta Yonekura (adding Japanese language) and add Kenta Yonekura to translator list in about dialog

This commit is contained in:
Kenta Yonekura 2011-01-16 18:11:26 +01:00 committed by jean-pierre charras
parent f7a2283eae
commit 4a11862e0b
5 changed files with 16 additions and 2 deletions

View File

@ -189,6 +189,7 @@ set(BITMAP_SRCS
Lang_Fi.xpm Lang_Fi.xpm
Lang_Hu.xpm Lang_Hu.xpm
Lang_It.xpm Lang_It.xpm
Lang_Jp.xpm
Lang_Ko.xpm Lang_Ko.xpm
Lang_Nl.xpm Lang_Nl.xpm
Lang_Pl.xpm Lang_Pl.xpm

View File

@ -249,6 +249,9 @@ static void InitKiCadAboutNew( AboutAppInfo& info )
info.AddTranslator( new Contributor( wxT( "Rafael Sokolowski" ), info.AddTranslator( new Contributor( wxT( "Rafael Sokolowski" ),
wxT( "rafael.sokolowski@web.de" ), wxT( "German (DE)" ), wxT( "rafael.sokolowski@web.de" ), wxT( "German (DE)" ),
new wxBitmap( lang_de_xpm ) ) ); new wxBitmap( lang_de_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Kenta Yonekura" ),
wxT( "midpika@hotmail.com" ), wxT( "Japanese (JP)" ),
new wxBitmap( lang_jp_xpm ) ) );
/* TODO: are these all russian translators, placed them here now, or else align them below other language maintainer with mail adress */ /* TODO: are these all russian translators, placed them here now, or else align them below other language maintainer with mail adress */
info.AddTranslator( new Contributor( wxT( "Remy Halvick" ), wxEmptyString, wxT( "Others" ) ) ); info.AddTranslator( new Contributor( wxT( "Remy Halvick" ), wxEmptyString, wxT( "Others" ) ) );

View File

@ -212,13 +212,21 @@ static struct LANGUAGE_DESCR s_Language_List[] =
_( "Catalan" ) _( "Catalan" )
}, },
/* Dutch language */ // Dutch language
{ {
wxLANGUAGE_DUTCH, wxLANGUAGE_DUTCH,
ID_LANGUAGE_DUTCH, ID_LANGUAGE_DUTCH,
lang_nl_xpm, lang_nl_xpm,
_( "Dutch" ) _( "Dutch" )
} },
// Japanese language
{
wxLANGUAGE_JAPANESE,
ID_LANGUAGE_JAPANESE,
lang_jp_xpm,
_( "Japanese" )
}
}; };

View File

@ -182,6 +182,7 @@ extern const char* lang_fr_xpm[];
extern const char* lang_fi_xpm[]; extern const char* lang_fi_xpm[];
extern const char* lang_hu_xpm[]; extern const char* lang_hu_xpm[];
extern const char* lang_it_xpm[]; extern const char* lang_it_xpm[];
extern const char* lang_jp_xpm[];
extern const char* lang_ko_xpm[]; extern const char* lang_ko_xpm[];
extern const char* lang_nl_xpm[]; extern const char* lang_nl_xpm[];
extern const char* lang_pl_xpm[]; extern const char* lang_pl_xpm[];

View File

@ -99,6 +99,7 @@ enum main_id
ID_LANGUAGE_CATALAN, ID_LANGUAGE_CATALAN,
ID_LANGUAGE_CHINESE_SIMPLIFIED, ID_LANGUAGE_CHINESE_SIMPLIFIED,
ID_LANGUAGE_DUTCH, ID_LANGUAGE_DUTCH,
ID_LANGUAGE_JAPANESE,
ID_LANGUAGE_CHOICE_END, ID_LANGUAGE_CHOICE_END,
ID_SET_REPEAT_OPTION, ID_SET_REPEAT_OPTION,