From 92e96a1031e475d2a95d2cddca5fefd81ab20873 Mon Sep 17 00:00:00 2001 From: charras Date: Sun, 7 Feb 2010 16:32:51 +0000 Subject: [PATCH] added Finnish selection in language list menu --- bitmaps/CMakeLists.txt | 1 + bitmaps/Lang_Fi.xpm | 33 +++++++++++++++++++++++++++++++++ common/edaappl.cpp | 8 ++++++++ include/bitmaps.h | 1 + include/id.h | 1 + 5 files changed, 44 insertions(+) create mode 100644 bitmaps/Lang_Fi.xpm diff --git a/bitmaps/CMakeLists.txt b/bitmaps/CMakeLists.txt index b7bfbedf71..0685c284cd 100644 --- a/bitmaps/CMakeLists.txt +++ b/bitmaps/CMakeLists.txt @@ -181,6 +181,7 @@ set(BITMAP_SRCS Lang_En.xpm Lang_Es.xpm Lang_Fr.xpm + Lang_Fi.xpm Lang_Hu.xpm Lang_It.xpm Lang_Ko.xpm diff --git a/bitmaps/Lang_Fi.xpm b/bitmaps/Lang_Fi.xpm new file mode 100644 index 0000000000..abe459cf6a --- /dev/null +++ b/bitmaps/Lang_Fi.xpm @@ -0,0 +1,33 @@ +/* XPM */ +const char * lang_fi_xpm[] = { +/* columns rows colors chars-per-pixel */ +"16 16 11 1", +": c none", +" c #FFFFFF", +"X c #003580", +"@ c #ACBDD5", +"O c #B1C1D8", +"o c #F7F9FB", +"% c #95ABCB", +"# c #9AAFCD", +"+ c #466CA3", +"$ c #3D659E", +". c #6585B2", +/* pixels */ +"::::::::::::::::", +"::::::::::::::::", +"::::::::::::::::", +" .XXo ", +" .XXo ", +" .XXo ", +"OOOO+XX@OOOOOOOO", +"XXXXXXXXXXXXXXXX", +"XXXXXXXXXXXXXXXX", +"####$XX%########", +" .XXo ", +" .XXo ", +" .XXo ", +"::::::::::::::::", +"::::::::::::::::", +"::::::::::::::::" +}; diff --git a/common/edaappl.cpp b/common/edaappl.cpp index 332cf78953..c590e85c0a 100644 --- a/common/edaappl.cpp +++ b/common/edaappl.cpp @@ -112,6 +112,14 @@ static struct LANGUAGE_DESCR s_Language_List[] = _( "French" ) }, + /* Finnish language */ + { + wxLANGUAGE_FINNISH, + ID_LANGUAGE_FINNISH, + lang_fi_xpm, + _( "Finnish" ) + }, + /* Spanish language */ { wxLANGUAGE_SPANISH, diff --git a/include/bitmaps.h b/include/bitmaps.h index 11173fc5dd..59275614df 100644 --- a/include/bitmaps.h +++ b/include/bitmaps.h @@ -173,6 +173,7 @@ extern const char* lang_de_xpm[]; extern const char* lang_en_xpm[]; extern const char* lang_es_xpm[]; extern const char* lang_fr_xpm[]; +extern const char* lang_fi_xpm[]; extern const char* lang_hu_xpm[]; extern const char* lang_it_xpm[]; extern const char* lang_ko_xpm[]; diff --git a/include/id.h b/include/id.h index 463719572a..c1f592eceb 100644 --- a/include/id.h +++ b/include/id.h @@ -93,6 +93,7 @@ enum main_id ID_LANGUAGE_DEFAULT, ID_LANGUAGE_ENGLISH, ID_LANGUAGE_FRENCH, + ID_LANGUAGE_FINNISH, ID_LANGUAGE_SPANISH, ID_LANGUAGE_GERMAN, ID_LANGUAGE_RUSSIAN,