From d902c2716a0067c4308b8508f5a2a5a62dc487b7 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 11 Feb 2016 20:12:37 +0100 Subject: [PATCH] Add Slovak entry in language menu. --- bitmaps_png/CMakeLists.txt | 1 + bitmaps_png/cpp_26/lang_sk.cpp | 42 ++++++++++++ bitmaps_png/sources/lang_sk.svg | 116 ++++++++++++++++++++++++++++++++ common/pgm_base.cpp | 8 +++ include/bitmaps.h | 1 + include/id.h | 1 + 6 files changed, 169 insertions(+) create mode 100644 bitmaps_png/cpp_26/lang_sk.cpp create mode 100644 bitmaps_png/sources/lang_sk.svg diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 1053e13ea3..bb556ab703 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -324,6 +324,7 @@ set( BMAPS_MID lang_pl lang_pt lang_ru + lang_sk lang_sl language layers_manager diff --git a/bitmaps_png/cpp_26/lang_sk.cpp b/bitmaps_png/cpp_26/lang_sk.cpp new file mode 100644 index 0000000000..04c10f5074 --- /dev/null +++ b/bitmaps_png/cpp_26/lang_sk.cpp @@ -0,0 +1,42 @@ + +/* 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, 0x01, 0x97, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0xf8, 0xff, 0xff, 0x3f, + 0x03, 0x3d, 0x30, 0x03, 0xdd, 0x2c, 0xda, 0xb9, 0xf1, 0xd4, 0x53, 0x5a, 0xe3, 0xed, 0x6b, 0x8e,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 0xa9, 0x54, 0xd0, 0x1a, 0xbf, + 0x97, 0x56, 0x29, 0x60, 0x18, 0x7e, 0xcd, 0x2d, 0x7a, 0x59, 0x04, 0x00, 0x52, 0x8a, 0x41, 0x42, + 0x9b, 0x64, 0x20, 0x50, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, +}; + +const BITMAP_OPAQUE lang_sk_xpm[1] = {{ png, sizeof( png ), "lang_sk_xpm" }}; + +//EOF diff --git a/bitmaps_png/sources/lang_sk.svg b/bitmaps_png/sources/lang_sk.svg new file mode 100644 index 0000000000..f11e9f3044 --- /dev/null +++ b/bitmaps_png/sources/lang_sk.svg @@ -0,0 +1,116 @@ + + + + + + image/svg+xml + + Flag of Slovakia + + + + + + + + + + + + + + Flag of Slovakia + + + + + + + + + + + + diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 473f83a93c..fe6890ef8c 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -181,6 +181,14 @@ static LANGUAGE_DESCR s_Languages[] = _( "Slovenian" ) }, + // Slovenian language + { + wxLANGUAGE_SLOVAK, + ID_LANGUAGE_SLOVAK, + lang_sk_xpm, + _( "Slovak" ) + }, + // Hungarian language { wxLANGUAGE_HUNGARIAN, diff --git a/include/bitmaps.h b/include/bitmaps.h index 67373b581e..b00b533c0e 100644 --- a/include/bitmaps.h +++ b/include/bitmaps.h @@ -291,6 +291,7 @@ EXTERN_BITMAP( lang_nl_xpm ) EXTERN_BITMAP( lang_pl_xpm ) EXTERN_BITMAP( lang_pt_xpm ) EXTERN_BITMAP( lang_ru_xpm ) +EXTERN_BITMAP( lang_sk_xpm ) EXTERN_BITMAP( lang_sl_xpm ) EXTERN_BITMAP( language_xpm ) EXTERN_BITMAP( layers_manager_xpm ) diff --git a/include/id.h b/include/id.h index a50a950901..ef2803700b 100644 --- a/include/id.h +++ b/include/id.h @@ -138,6 +138,7 @@ enum main_id ID_LANGUAGE_PORTUGUESE, ID_LANGUAGE_ITALIAN, ID_LANGUAGE_SLOVENIAN, + ID_LANGUAGE_SLOVAK, ID_LANGUAGE_HUNGARIAN, ID_LANGUAGE_POLISH, ID_LANGUAGE_CZECH,