From f8ae42842880da191500dfb9975099a457242302 Mon Sep 17 00:00:00 2001 From: ejs-ejs Date: Sun, 22 May 2016 12:31:08 +0200 Subject: [PATCH] Add Lithuanian language to language list menu. --- bitmaps_png/CMakeLists.txt | 1 + bitmaps_png/cpp_26/lang_lt.cpp | 26 ++++++++++ bitmaps_png/sources/lang_lt.svg | 92 +++++++++++++++++++++++++++++++++ common/pgm_base.cpp | 8 +++ include/bitmaps.h | 1 + include/id.h | 1 + 6 files changed, 129 insertions(+) create mode 100644 bitmaps_png/cpp_26/lang_lt.cpp create mode 100644 bitmaps_png/sources/lang_lt.svg diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index eb22be03e6..7d210ed3ac 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -327,6 +327,7 @@ set( BMAPS_MID lang_ru lang_sk lang_sl + lang_lt language layers_manager leave_sheet diff --git a/bitmaps_png/cpp_26/lang_lt.cpp b/bitmaps_png/cpp_26/lang_lt.cpp new file mode 100644 index 0000000000..258bd48c97 --- /dev/null +++ b/bitmaps_png/cpp_26/lang_lt.cpp @@ -0,0 +1,26 @@ + +/* Do not modify this file, it was automatically generated by the + * PNG2cpp CMake script, using a *.png file as input. + */ + +#include + +static const unsigned char png[] = { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, + 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, + 0xce, 0x00, 0x00, 0x00, 0x89, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x78, 0xf6, 0xec, 0xd9, + 0x7f, 0x7a, 0x60, 0x86, 0x51, 0x8b, 0xc8, 0xb6, 0xe8, 0xd5, 0xbd, 0xc3, 0xff, 0xdf, 0xdc, 0x5a, + 0x4d, 0x53, 0xfc, 0xfa, 0xce, 0xf6, 0xff, 0x0c, 0x5f, 0x4e, 0x67, 0xfc, 0xff, 0xbb, 0x53, 0x98, + 0xa6, 0xf8, 0xc7, 0x21, 0xdb, 0x51, 0x8b, 0x86, 0x82, 0x45, 0x53, 0x36, 0x76, 0xfd, 0xcf, 0x9d, + 0x16, 0x4e, 0x53, 0x5c, 0xbf, 0x38, 0xff, 0x3f, 0x43, 0xec, 0x9c, 0xb6, 0xff, 0x0c, 0x59, 0x2e, + 0x34, 0xc5, 0x7a, 0xcd, 0x29, 0xa3, 0x16, 0x51, 0x60, 0x51, 0xf9, 0x82, 0xbe, 0xff, 0xba, 0xd5, + 0xb1, 0x34, 0xc5, 0xc1, 0x3d, 0x25, 0xff, 0x19, 0x2e, 0x94, 0x54, 0xfc, 0x3f, 0xa8, 0xae, 0x4b, + 0x53, 0x7c, 0xc2, 0x37, 0x68, 0xd4, 0xa2, 0xa1, 0x60, 0xd1, 0xfd, 0x83, 0x87, 0xff, 0xdf, 0x5a, + 0xbe, 0x92, 0xa6, 0xf8, 0xce, 0x96, 0x6d, 0xa3, 0x8d, 0x93, 0x21, 0x60, 0x11, 0x00, 0xb5, 0xb6, + 0x51, 0xc5, 0x73, 0xb9, 0x9e, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, + 0x60, 0x82, +}; + +const BITMAP_OPAQUE lang_lt_xpm[1] = {{ png, sizeof( png ), "lang_lt_xpm" }}; + +//EOF diff --git a/bitmaps_png/sources/lang_lt.svg b/bitmaps_png/sources/lang_lt.svg new file mode 100644 index 0000000000..d8db809285 --- /dev/null +++ b/bitmaps_png/sources/lang_lt.svg @@ -0,0 +1,92 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 32784f1f21..936853463f 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -267,6 +267,14 @@ static LANGUAGE_DESCR s_Languages[] = ID_LANGUAGE_BULGARIAN, lang_bg_xpm, _( "Bulgarian" ) + }, + + // Lithuanian language + { + wxLANGUAGE_LITHUANIAN, + ID_LANGUAGE_LITHUANIAN, + lang_lt_xpm, + _( "Lithuanian" ) } }; diff --git a/include/bitmaps.h b/include/bitmaps.h index 73ebb065fc..d537354fb5 100644 --- a/include/bitmaps.h +++ b/include/bitmaps.h @@ -288,6 +288,7 @@ EXTERN_BITMAP( lang_hu_xpm ) EXTERN_BITMAP( lang_it_xpm ) EXTERN_BITMAP( lang_jp_xpm ) EXTERN_BITMAP( lang_ko_xpm ) +EXTERN_BITMAP( lang_lt_xpm ) EXTERN_BITMAP( lang_nl_xpm ) EXTERN_BITMAP( lang_pl_xpm ) EXTERN_BITMAP( lang_pt_xpm ) diff --git a/include/id.h b/include/id.h index 792008f3a9..7c518ca614 100644 --- a/include/id.h +++ b/include/id.h @@ -142,6 +142,7 @@ enum main_id ID_LANGUAGE_DUTCH, ID_LANGUAGE_JAPANESE, ID_LANGUAGE_BULGARIAN, + ID_LANGUAGE_LITHUANIAN, ID_LANGUAGE_CHOICE_END, ID_SET_REPEAT_OPTION,