Add Bulgarian language. Update translators list.

Pcbnew: prepare work on new algos for connections calculations.
This commit is contained in:
jean-pierre charras 2011-11-30 12:45:49 +01:00
parent 7a93d0b21c
commit 31bcc6eed9
11 changed files with 52 additions and 14 deletions

View File

@ -279,6 +279,7 @@ set( BMAPS_MID
label
lang_catalan
lang_chinese
lang_bg
lang_cs
lang_def
lang_de

View File

@ -0,0 +1,21 @@
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
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, 0x40, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0xfc, 0xff, 0xff, 0xff,
0x03, 0x06, 0x3a, 0x00, 0x46, 0xa0, 0x45, 0xff, 0x47, 0x2d, 0x1a, 0xb5, 0x68, 0x98, 0x5a, 0xb4,
0xff, 0xe9, 0x6d, 0xfa, 0x58, 0xc4, 0x30, 0x2d, 0x6f, 0xd4, 0xa2, 0x51, 0x8b, 0x46, 0x2d, 0xa2,
0xd0, 0xa2, 0xb6, 0x00, 0x13, 0xfa, 0x58, 0x74, 0x4d, 0x4d, 0x68, 0xd4, 0xa2, 0x51, 0x8b, 0x46,
0x2d, 0xa2, 0x0c, 0x00, 0x00, 0x86, 0xe3, 0x45, 0xe3, 0x66, 0x98, 0x1d, 0x12, 0x00, 0x00, 0x00,
0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE lang_bg_xpm[1] = {{ png, sizeof( png ), "lang_bg_xpm" }};
//EOF

View File

@ -7,9 +7,9 @@
#ifndef KICAD_BUILD_VERSION
#if defined KICAD_GOST
# define KICAD_BUILD_VERSION "(2011-nov-26 GOST)"
# define KICAD_BUILD_VERSION "(2011-nov-30 GOST)"
#else
# define KICAD_BUILD_VERSION "(2011-nov-26)"
# define KICAD_BUILD_VERSION "(2011-nov-30)"
#endif
#endif

View File

@ -248,6 +248,8 @@ static void InitKiCadAboutNew( AboutAppInfo& info )
wxT( "Portuguese (PT)" ), KiBitmapNew( lang_pt_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Igor Plyatov" ), wxT( "plyatov@gmail.com" ),
wxT( "Russian (RU)" ), KiBitmapNew( lang_ru_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Andrey Fedorushkov" ), wxT( "<andrf@mail.ru>" ),
wxT( "Russian (RU)" ), KiBitmapNew( lang_ru_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Pedro Martin del Valle" ), wxT( "pkicad@yahoo.es" ),
wxT( "Spanish (ES)" ), KiBitmapNew( lang_es_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Iñigo Zuluaga" ), wxT( "inigo_zuluaga@yahoo.es" ),
@ -264,6 +266,9 @@ static void InitKiCadAboutNew( AboutAppInfo& info )
info.AddTranslator( new Contributor( wxT( "Massimo Cioce" ),
wxT( "ciocemax@alice.it" ), wxT( "Italian (IT)" ),
KiBitmapNew( lang_it_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Evgeniy Ivanov" ),
wxT( "evgeniy_p_ivanov@yahoo.ca" ), wxT( "Bulgarian (BG)" ),
KiBitmapNew( lang_bg_xpm ) ) );
/* 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" ) ) );

View File

@ -233,7 +233,14 @@ static struct LANGUAGE_DESCR s_Language_List[] =
ID_LANGUAGE_JAPANESE,
lang_jp_xpm,
_( "Japanese" )
}
},
// Bulgarian language
{
wxLANGUAGE_BULGARIAN,
ID_LANGUAGE_BULGARIAN,
lang_bg_xpm,
_( "Bulgarian" )
}
};

View File

@ -243,6 +243,7 @@ EXTERN_BITMAP( kicad_icon_small_xpm )
EXTERN_BITMAP( label2glabel_xpm )
EXTERN_BITMAP( label2text_xpm )
EXTERN_BITMAP( label_xpm )
EXTERN_BITMAP( lang_bg_xpm )
EXTERN_BITMAP( lang_catalan_xpm )
EXTERN_BITMAP( lang_chinese_xpm )
EXTERN_BITMAP( lang_cs_xpm )

View File

@ -127,6 +127,7 @@ enum main_id
ID_LANGUAGE_CHINESE_SIMPLIFIED,
ID_LANGUAGE_DUTCH,
ID_LANGUAGE_JAPANESE,
ID_LANGUAGE_BULGARIAN,
ID_LANGUAGE_CHOICE_END,
ID_SET_REPEAT_OPTION,

View File

@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.11.26"
!define PRODUCT_VERSION "2011.11.30"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""
@ -116,8 +116,7 @@ Section $(TITLE_SEC01) SEC01
SetOverwrite try
SetOutPath "$INSTDIR"
File /nonfatal "..\AUTHORS.txt"
File /nonfatal "..\copyright.txt"
File /nonfatal "..\gpl.txt"
File /nonfatal "..\COPYRIGHT.txt"
File /nonfatal "..\licendoc.txt"
SetOutPath "$INSTDIR\share\template"
File /nonfatal /r "..\share\template\*"

View File

@ -16,6 +16,7 @@ class LINE_READER;
class EDA_3D_CANVAS;
class EDA_DRAW_PANEL;
class MODULE;
class TRACK;
/* Default layers used for pads, according to the pad type.
@ -126,10 +127,11 @@ public:
int m_LocalClearance;
// Local mask margins: when NULL, the parent footprint design values are used
int m_LocalSolderMaskMargin; // Local solder mask margin
int m_LocalSolderPasteMargin; // Local solder paste margin absolute value
double m_LocalSolderPasteMarginRatio; // Local solder mask margin ratio value of pad size
// The final margin is the sum of these 2 values
int m_LocalSolderMaskMargin; // Local solder mask margin
int m_LocalSolderPasteMargin; // Local solder paste margin absolute value
double m_LocalSolderPasteMarginRatio; // Local solder mask margin ratio value of pad size
// The final margin is the sum of these 2 values
std::vector<TRACK*> m_TracksConnected; // list of other tracks connected to me
private:
int m_SubRatsnest; // variable used in rats nest computations

View File

@ -12,7 +12,7 @@
class TRACK;
class D_PAD;
// Via attributes (m_Shape parameter)
#define VIA_THROUGH 3 /* Always a through hole via */
@ -63,7 +63,8 @@ protected:
public:
BOARD_CONNECTED_ITEM* start; // pointers to a connected item (pad or track)
BOARD_CONNECTED_ITEM* end;
std::vector<TRACK*> m_TracksConnected; // list of other tracks connected to me
std::vector<TRACK*> m_TracksConnected; // list of other tracks connected to me
std::vector<D_PAD*> m_PadsConnected; // list of pads connected to me
int m_Param; // Auxiliary variable ( used in some computations )

View File

@ -1,4 +1,4 @@
release version:
2011 nov 26
2011 nov 30
files (.zip,.tgz):
kicad-2011-11-26
kicad-2011-11-30